tag_resource
(**kwargs)¶Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceARN='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.
[REQUIRED]
A list of tag keys to add to the resource. If a tag key already exists, the existing value is replaced with the new value.
dict
Response Syntax
{}
Response Structure
Exceptions
LexModelsV2.Client.exceptions.InternalServerException
LexModelsV2.Client.exceptions.ThrottlingException
LexModelsV2.Client.exceptions.ResourceNotFoundException
LexModelsV2.Client.exceptions.ValidationException