:doc:`PartnerCentralAccountAPI <../../partnercentral-account>` / Client / list_tags_for_resource

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



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

  

  Lists all tags associated with a specific AWS Partner Central Account resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/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 to list tags for.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The Amazon Resource Name (ARN) of the resource that the tags are associated with.

        
      

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

        A list of tags associated with the specified resource.

        
        

        - *(dict) --* 

          A key-value pair used to associate metadata with AWS Partner Central Account resources.

          
          

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

            The key name of the tag. Tag keys are case-sensitive.

            
          

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

            The value associated with the tag key. Tag values are case-sensitive.

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

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

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

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

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

  