:doc:`GlobalAccelerator <../../globalaccelerator>` / Client / list_tags_for_resource

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



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

  

  List all tags for an accelerator.

   

  For more information, see `Tagging in Global Accelerator <https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html>`__ in the *Global Accelerator Developer Guide*.

  

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


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the accelerator to list tags for. An ARN uniquely identifies an accelerator.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        Root level tag for the Tags parameters.

        
        

        - *(dict) --* 

          A complex type that contains a ``Tag`` key and ``Tag`` value.

          
          

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

            A string that contains a ``Tag`` key.

            
          

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

            A string that contains a ``Tag`` value.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`GlobalAccelerator.Client.exceptions.AcceleratorNotFoundException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.AttachmentNotFoundException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.EndpointGroupNotFoundException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.ListenerNotFoundException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.InternalServiceErrorException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.InvalidArgumentException`

  