IoTEvents.Client.
tag_resource
(**kwargs)¶Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage 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.
[REQUIRED]
The new or modified tags for the resource.
Metadata that can be used to manage the resource.
The tag's key.
The tag's value.
dict
Response Syntax
{}
Response Structure
Exceptions
IoTEvents.Client.exceptions.InvalidRequestException
IoTEvents.Client.exceptions.ResourceNotFoundException
IoTEvents.Client.exceptions.ResourceInUseException
IoTEvents.Client.exceptions.ThrottlingException
IoTEvents.Client.exceptions.LimitExceededException
IoTEvents.Client.exceptions.InternalFailureException