AlexaForBusiness / Client / tag_resource
tag_resource#
- AlexaForBusiness.Client.tag_resource(**kwargs)#
Adds metadata tags to a specified resource.
Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( Arn='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
Arn (string) –
[REQUIRED]
The ARN of the resource to which to add metadata tags. Required.
Tags (list) –
[REQUIRED]
The tags to be added to the specified resource. Do not provide system tags. Required.
(dict) –
A key-value pair that can be associated with a resource.
Key (string) – [REQUIRED]
The key of a tag. Tag keys are case-sensitive.
Value (string) – [REQUIRED]
The value of a tag. Tag values are case sensitive and can be null.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
AlexaForBusiness.Client.exceptions.NotFoundException