:doc:`LocationService <../../location>` / Client / list_tags_for_resource

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



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

  

  Returns a list of tags that are applied to the specified Amazon Location resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/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 whose tags you want to retrieve.

     

    
    * Format example: ``arn:aws:geo:region:account-id:resourcetype/ExampleResource``
    

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **Tags** *(dict) --* 

        Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value: ``"TagKey" : "TagValue"``.

         

        
        * Format example: ``{"tag1" : "value1", "tag2" : "value2"}``
        

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`LocationService.Client.exceptions.InternalServerException`

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

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

  
  *   :py:class:`LocationService.Client.exceptions.ValidationException`

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

  