Displays the tags associated with a canary or group.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
The ARN of the canary or group that you want to view tags for.
The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name
.
The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name
{
'Tags': {
'string': 'string'
}
}
Response Structure
The list of tag keys and values associated with the resource that you specified.
Exceptions
Synthetics.Client.exceptions.BadRequestException
Synthetics.Client.exceptions.NotFoundException
Synthetics.Client.exceptions.TooManyRequestsException
Synthetics.Client.exceptions.ConflictException
Synthetics.Client.exceptions.InternalFailureException