tag_resource
(**kwargs)¶Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the given Amazon Translate resource to which you want to associate the tags.
[REQUIRED]
Tags being associated with a specific Amazon Translate resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource.
A key-value pair that adds as a metadata to a resource used by Amazon Translate.
The initial part of a key-value pair that forms a tag associated with a given resource.
The second part of a key-value pair that forms a tag associated with a given resource.
dict
Response Syntax
{}
Response Structure
Exceptions
Translate.Client.exceptions.InvalidParameterValueException
Translate.Client.exceptions.ConcurrentModificationException
Translate.Client.exceptions.ResourceNotFoundException
Translate.Client.exceptions.TooManyTagsException
Translate.Client.exceptions.InternalServerException