Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can have tags associated with them.
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 get a list of tags for.
{
'tags': [
{
'key': 'string',
'value': 'string'
},
]
}
Response Structure
The tags associated with a resource.
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.
Exceptions
LexModelBuildingService.Client.exceptions.NotFoundException
LexModelBuildingService.Client.exceptions.BadRequestException
LexModelBuildingService.Client.exceptions.InternalFailureException
LexModelBuildingService.Client.exceptions.LimitExceededException