AppSync / Client / tag_resource
tag_resource#
- AppSync.Client.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' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
The
GraphqlApi
Amazon Resource Name (ARN).tags (dict) –
[REQUIRED]
A
TagMap
object.(string) –
The key for the tag.
(string) –
The value for the tag.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
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