IoTFleetHub.Client.
tag_resource
(**kwargs)¶Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource.
Note
Fleet Hub for AWS IoT Device Management is in public preview and is subject to change.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The ARN of the resource.
[REQUIRED]
The new or modified tags for the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
IoTFleetHub.Client.exceptions.InternalFailureException
IoTFleetHub.Client.exceptions.InvalidRequestException
IoTFleetHub.Client.exceptions.ResourceNotFoundException