Lists the tags assigned to a resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to list tags for.
{
'tags': [
{
'key': 'string',
'value': 'string'
},
]
}
Response Structure
A map of the key-value pairs assigned to the resource.
A map of key-value pairs.
The key to use in the tag.
The value of the tag.
Exceptions
RedshiftServerless.Client.exceptions.InternalServerException
RedshiftServerless.Client.exceptions.ResourceNotFoundException
RedshiftServerless.Client.exceptions.ValidationException
RedshiftServerless.Client.exceptions.ThrottlingException