CloudWatchEvidently / Client / list_tags_for_resource

list_tags_for_resource

CloudWatchEvidently.Client.list_tags_for_resource(**kwargs)

Displays the tags associated with an Evidently resource.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The ARN of the resource that you want to see the tags of.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

      The list of tag keys and values associated with the resource you specified.

      • (string) –

        • (string) –

Exceptions

  • CloudWatchEvidently.Client.exceptions.ValidationException

  • CloudWatchEvidently.Client.exceptions.ConflictException

  • CloudWatchEvidently.Client.exceptions.ResourceNotFoundException