:doc:`Translate <../../translate>` / Client / list_tags_for_resource

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



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

  

  Lists all tags associated with a given Amazon Translate resource. For more information, see `Tagging your resources <https://docs.aws.amazon.com/translate/latest/dg/tagging.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the given Amazon Translate resource you are querying.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **Tags** *(list) --* 

        Tags associated with the Amazon Translate resource being queried. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Translate. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

        
        

        - *(dict) --* 

          A key-value pair that adds as a metadata to a resource used by Amazon Translate.

          
          

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

            The initial part of a key-value pair that forms a tag associated with a given resource.

            
          

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

            The second part of a key-value pair that forms a tag associated with a given resource.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Translate.Client.exceptions.InvalidParameterValueException`

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

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

  