ApiGatewayV2.Client.
tag_resource
(**kwargs)¶Creates a new Tag resource to represent a tag.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The resource ARN for the tag.
The collection of tags. Each tag element is associated with a given resource.
A string with a length between [0-1600].
dict
Response Syntax
{}
Response Structure
(dict) --
The request has succeeded and has resulted in the creation of a resource.
Exceptions
ApiGatewayV2.Client.exceptions.NotFoundException
ApiGatewayV2.Client.exceptions.TooManyRequestsException
ApiGatewayV2.Client.exceptions.BadRequestException
ApiGatewayV2.Client.exceptions.ConflictException