KinesisAnalytics / Client / list_tags_for_resource

list_tags_for_resource#

KinesisAnalytics.Client.list_tags_for_resource(**kwargs)#

Retrieves the list of key-value tags assigned to the application. For more information, see Using Tagging.

See also: AWS API Documentation

Request Syntax

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

ResourceARN (string) –

[REQUIRED]

The ARN of the application for which to retrieve tags.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Tags (list) –

      The key-value tags assigned to the application.

      • (dict) –

        A key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.

        • Key (string) –

          The key of the key-value tag.

        • Value (string) –

          The value of the key-value tag. The value is optional.

Exceptions

  • KinesisAnalytics.Client.exceptions.ResourceNotFoundException

  • KinesisAnalytics.Client.exceptions.InvalidArgumentException

  • KinesisAnalytics.Client.exceptions.ConcurrentModificationException