:doc:`NetworkManager <../../networkmanager>` / Client / list_tags_for_resource

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



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

  

  Lists the tags for a specified resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource.

    

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

    
    ::

      {
          'TagList': [
              {
                  'Key': 'string',
                  'Value': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **TagList** *(list) --* 

        The list of tags.

        
        

        - *(dict) --* 

          Describes a tag.

          
          

          - **Key** *(string) --* 

            The tag key.

             

            Constraints: Maximum length of 128 characters.

            
          

          - **Value** *(string) --* 

            The tag value.

             

            Constraints: Maximum length of 256 characters.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

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

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

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

  