:doc:`AmplifyUIBuilder <../../amplifyuibuilder>` / Client / tag_resource

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



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

  

  Tags the resource with a tag key and value.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/TagResource>`_  


  **Request Syntax**
  ::

    response = client.tag_resource(
        resourceArn='string',
        tags={
            'string': 'string'
        }
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) to use to tag a resource.

    

  
  :type tags: dict
  :param tags: **[REQUIRED]** 

    A list of tag key value pairs for a specified Amazon Resource Name (ARN).

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.InternalServerException`

  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AmplifyUIBuilder.Client.exceptions.ResourceNotFoundException`

  