tag_resource
(**kwargs)¶Tags a resource with user-supplied tags.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The GraphqlApi
Amazon Resource Name (ARN).
[REQUIRED]
A TagMap
object.
The key for the tag.
The value for the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
AppSync.Client.exceptions.BadRequestException
AppSync.Client.exceptions.NotFoundException
AppSync.Client.exceptions.LimitExceededException
AppSync.Client.exceptions.UnauthorizedException
AppSync.Client.exceptions.InternalFailureException
AppSync.Client.exceptions.AccessDeniedException