tag_resource
(**kwargs)¶Adds a tag to a resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The ARN of the resource to add tags to.
[REQUIRED]
Adds to or modifies the tags of the given resource. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
dict
Response Syntax
{}
Response Structure
Exceptions
IoTWireless.Client.exceptions.ValidationException
IoTWireless.Client.exceptions.ResourceNotFoundException
IoTWireless.Client.exceptions.ConflictException
IoTWireless.Client.exceptions.InternalServerException
IoTWireless.Client.exceptions.ThrottlingException
IoTWireless.Client.exceptions.TooManyTagsException