List all tags on a Timestream query resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceARN='string',
MaxResults=123,
NextToken='string'
)
[REQUIRED]
The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).
dict
Response Syntax
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Tags (list) --
The tags currently associated with the Timestream resource.
(dict) --
A tag is a label that you assign to a Timestream database and/or table. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize databases and/or tables, for example, by purpose, owner, or environment.
Key (string) --
The key of the tag. Tag keys are case sensitive.
Value (string) --
The value of the tag. Tag values are case sensitive and can be null.
NextToken (string) --
A pagination token to resume pagination with a subsequent call to ListTagsForResourceResponse
.
Exceptions
TimestreamQuery.Client.exceptions.ResourceNotFoundException
TimestreamQuery.Client.exceptions.ThrottlingException
TimestreamQuery.Client.exceptions.ValidationException
TimestreamQuery.Client.exceptions.InvalidEndpointException