KinesisAnalyticsV2 / Client / list_tags_for_resource

list_tags_for_resource#

KinesisAnalyticsV2.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 Amazon 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

  • KinesisAnalyticsV2.Client.exceptions.ResourceNotFoundException

  • KinesisAnalyticsV2.Client.exceptions.InvalidArgumentException

  • KinesisAnalyticsV2.Client.exceptions.ConcurrentModificationException