get_tags

ApiGatewayV2.Client.get_tags(**kwargs)

Gets a collection of Tag resources.

See also: AWS API Documentation

Request Syntax

response = client.get_tags(
    ResourceArn='string'
)
Parameters
ResourceArn (string) --

[REQUIRED]

The resource ARN for the tag.

Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    Success

    • Tags (dict) --

      Represents a collection of tags associated with the resource.

      • (string) --
        • (string) --

          A string with a length between [0-1600].

Exceptions

  • ApiGatewayV2.Client.exceptions.NotFoundException
  • ApiGatewayV2.Client.exceptions.TooManyRequestsException
  • ApiGatewayV2.Client.exceptions.BadRequestException
  • ApiGatewayV2.Client.exceptions.ConflictException