:doc:`IoTTwinMaker <../../iottwinmaker>` / Client / list_tags_for_resource

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



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

  

  Lists all tags associated with a resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListTagsForResource>`_  


  **Request Syntax**
  ::

    response = client.list_tags_for_resource(
        resourceARN='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type resourceARN: string
  :param resourceARN: **[REQUIRED]** 

    The ARN of the resource.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return at one time. The default is 25.

     

    Valid Range: Minimum value of 1. Maximum value of 250.

    

  
  :type nextToken: string
  :param nextToken: 

    The string that specifies the next page of results.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        Metadata that you can use to manage a resource.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **nextToken** *(string) --* 

        The string that specifies the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`IoTTwinMaker.Client.exceptions.AccessDeniedException`

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

  