:doc:`AppRunner <../../apprunner>` / Client / list_tags_for_resource

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



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

  

  List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/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 that a tag list is requested for.

     

    It must be the ARN of an App Runner resource.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        A list of the tag key-value pairs that are associated with the resource.

        
        

        - *(dict) --* 

          Describes a tag that is applied to an App Runner resource. A tag is a metadata item consisting of a key-value pair.

          
          

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

            The key of the tag.

            
          

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

            The value of the tag.

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

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

  
  *   :py:class:`AppRunner.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`AppRunner.Client.exceptions.InvalidStateException`

  