TimestreamWrite / Client / list_tags_for_resource
list_tags_for_resource#
- TimestreamWrite.Client.list_tags_for_resource(**kwargs)#
Lists all tags on a Timestream resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceARN='string' )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The Timestream resource with tags to be listed. This value is an Amazon Resource Name (ARN).
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': '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. With tags, you can 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.
Exceptions
TimestreamWrite.Client.exceptions.ResourceNotFoundException
TimestreamWrite.Client.exceptions.ThrottlingException
TimestreamWrite.Client.exceptions.ValidationException
TimestreamWrite.Client.exceptions.InvalidEndpointException