AppRunner / Client / list_tags_for_resource

list_tags_for_resource#

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

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters:

ResourceArn (string) –

[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.

Return type:

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