list_tags_for_resource

CloudWatchInternetMonitor.Client.list_tags_for_resource(**kwargs)

Lists the tags for a resource. Tags are supported only for monitors in Amazon CloudWatch Internet Monitor.

See also: AWS API Documentation

Request Syntax

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

[REQUIRED]

The Amazon Resource Name (ARN) for a resource.

Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • Tags (dict) --

      Tags for a resource.

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

Exceptions

  • CloudWatchInternetMonitor.Client.exceptions.TooManyRequestsException
  • CloudWatchInternetMonitor.Client.exceptions.AccessDeniedException
  • CloudWatchInternetMonitor.Client.exceptions.NotFoundException
  • CloudWatchInternetMonitor.Client.exceptions.BadRequestException
  • CloudWatchInternetMonitor.Client.exceptions.InternalServerErrorException