:doc:`QConnect <../../qconnect>` / Client / tag_resource

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



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

  

  Adds the specified tags to the specified resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/TagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource.

    

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

    The tags used to organize, track, or control access for this resource.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`QConnect.Client.exceptions.TooManyTagsException`

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

  