APIGateway / Client / get_tags

get_tags#

APIGateway.Client.get_tags(**kwargs)#

Gets the Tags collection for a given resource.

See also: AWS API Documentation

Request Syntax

response = client.get_tags(
    resourceArn='string',
    position='string',
    limit=123
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The ARN of a resource that can be tagged.

  • position (string) – (Not currently supported) The current pagination position in the paged result set.

  • limit (integer) – (Not currently supported) The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    The collection of tags. Each tag element is associated with a given resource.

    • tags (dict) –

      The collection of tags. Each tag element is associated with a given resource.

      • (string) –

        • (string) –

Exceptions

  • APIGateway.Client.exceptions.BadRequestException

  • APIGateway.Client.exceptions.NotFoundException

  • APIGateway.Client.exceptions.UnauthorizedException

  • APIGateway.Client.exceptions.TooManyRequestsException