LexModelBuildingService.Client.
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=[
{
'key': 'string',
'value': '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.
A list of key/value pairs that identify a bot, bot alias, or bot channel. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
The key for the tag. Keys are not case-sensitive and must be unique.
The value associated with a key. The value may be an empty string but it can't be null.
dict
Response Syntax
{}
Response Structure
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundException
LexModelBuildingService.Client.exceptions.BadRequestException
LexModelBuildingService.Client.exceptions.ConflictException
LexModelBuildingService.Client.exceptions.InternalFailureException
LexModelBuildingService.Client.exceptions.LimitExceededException