Amplify.Client.
tag_resource
(**kwargs)¶Tags the resource with a tag key and value.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) to use to tag a resource.
[REQUIRED]
The tags used to tag the resource.
dict
Response Syntax
{}
Response Structure
(dict) --
The response for the tag resource request.
Exceptions
Amplify.Client.exceptions.InternalFailureException
Amplify.Client.exceptions.BadRequestException
Amplify.Client.exceptions.ResourceNotFoundException