RedshiftServerless.Client.
tag_resource
(**kwargs)¶Assigns one or more tags to a resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags=[
{
'key': 'string',
'value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to tag.
[REQUIRED]
The map of the key-value pairs used to tag the resource.
A map of key-value pairs.
The key to use in the tag.
The value of the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
RedshiftServerless.Client.exceptions.InternalServerException
RedshiftServerless.Client.exceptions.ResourceNotFoundException
RedshiftServerless.Client.exceptions.ValidationException
RedshiftServerless.Client.exceptions.TooManyTagsException
RedshiftServerless.Client.exceptions.ThrottlingException