tag_resource
(**kwargs)¶Tag a resource by specifying its Amazon Resource Name (ARN).
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to which you want to add tags.
[REQUIRED]
A collection of labels, in the form of key:value pairs, that apply to this resource.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHubOrchestrator.Client.exceptions.ValidationException
MigrationHubOrchestrator.Client.exceptions.ResourceNotFoundException