:doc:`ChimeSDKMessaging <../../chime-sdk-messaging>` / Client / tag_resource

************
tag_resource
************



.. py:method:: ChimeSDKMessaging.Client.tag_resource(**kwargs)

  

  Applies the specified tags to the specified Amazon Chime SDK messaging resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/TagResource>`_  


  **Request Syntax**
  ::

    response = client.tag_resource(
        ResourceARN='string',
        Tags=[
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    )
    
  :type ResourceARN: string
  :param ResourceARN: **[REQUIRED]** 

    The resource ARN.

    

  
  :type Tags: list
  :param Tags: **[REQUIRED]** 

    The tag key-value pairs.

    

  
    - *(dict) --* 

      A tag object containing a key-value pair.

      

    
      - **Key** *(string) --* **[REQUIRED]** 

        The key in a tag.

        

      
      - **Value** *(string) --* **[REQUIRED]** 

        The value in a tag.

        

      
    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.BadRequestException`

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.ResourceLimitExceededException`

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.ServiceFailureException`

  