AppRegistry.Client.
tag_resource
(**kwargs)¶Assigns one or more tags (key-value pairs) to the specified resource.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.
This operation returns an empty response if the call was successful.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon resource name (ARN) that specifies the resource.
[REQUIRED]
The new or modified tags for the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
AppRegistry.Client.exceptions.ValidationException
AppRegistry.Client.exceptions.ResourceNotFoundException
AppRegistry.Client.exceptions.InternalServerException