list_tags_for_resource

CloudWatchRUM.Client.list_tags_for_resource(**kwargs)

Displays the tags associated with a CloudWatch RUM resource.

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
{
    'ResourceArn': 'string',
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • ResourceArn (string) --

      The ARN of the resource that you are viewing.

    • Tags (dict) --

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

      • (string) --
        • (string) --

Exceptions

  • CloudWatchRUM.Client.exceptions.ResourceNotFoundException
  • CloudWatchRUM.Client.exceptions.InternalServerException
  • CloudWatchRUM.Client.exceptions.ValidationException