:doc:`MarketplaceCatalog <../../marketplace-catalog>` / Client / list_tags_for_resource

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



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

  

  Lists all tags that have been added to a resource (either an `entity <https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#catalog-api-entities>`__ or `change set <https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets>`__).

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListTagsForResource>`_  


  **Request Syntax**
  ::

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

    Required. The Amazon Resource Name (ARN) associated with the resource you want to list tags on.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **ResourceArn** *(string) --* 

        Required. The ARN associated with the resource you want to list tags on.

        
      

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

        Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.

        
        

        - *(dict) --* 

          A list of objects specifying each key name and value.

          
          

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

            The key associated with the tag.

            
          

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

            The value associated with the tag.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`MarketplaceCatalog.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`MarketplaceCatalog.Client.exceptions.InternalServiceException`

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

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

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

  