:doc:`ControlTower <../../controltower>` / Client / list_tags_for_resource

**********************
list_tags_for_resource
**********************



.. py:method:: ControlTower.Client.list_tags_for_resource(**kwargs)

  

  Returns a list of tags associated with the resource. For usage examples, see the `Controls Reference Guide <https://docs.aws.amazon.com/controltower/latest/controlreference/control-api-examples-short.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListTagsForResource>`_  


  **Request Syntax**
  ::

    response = client.list_tags_for_resource(
        resourceArn='string'
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The ARN of the resource.

    

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

    
    ::

      {
          'tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **tags** *(dict) --* 

        A list of tags, as ``key:value`` strings.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`ControlTower.Client.exceptions.ValidationException`

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

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

  