tag_resource
(**kwargs)¶Adds or edits tags for a AWS RoboMaker resource.
Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty strings.
For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide .
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.
[REQUIRED]
A map that contains tag keys and tag values that are attached to the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
RoboMaker.Client.exceptions.InternalServerException
RoboMaker.Client.exceptions.ResourceNotFoundException
RoboMaker.Client.exceptions.InvalidParameterException
RoboMaker.Client.exceptions.ThrottlingException