LexModelsV2 / Client / tag_resource
tag_resource#
- LexModelsV2.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={ 'string': 'string' } )
- Parameters:
resourceARN (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.
tags (dict) –
[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.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions