:doc:`SystemsManagerQuickSetup <../../ssm-quicksetup>` / Client / list_tags_for_resource

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



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

  

  Returns tags assigned to the resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-quicksetup-2018-05-10/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    The ARN of the resource the tag is assigned to.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        Key-value pairs of metadata assigned to the resource.

        
        

        - *(dict) --* 

          Key-value pairs of metadata.

          
          

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

            The key for the tag.

            
          

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

            The value for the tag.

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

  
  *   :py:class:`SystemsManagerQuickSetup.Client.exceptions.ConflictException`

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

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

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

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

  