list_tags_for_resource

AppSync.Client.list_tags_for_resource(**kwargs)

Lists the tags for a resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    resourceArn='string'
)
Parameters
resourceArn (string) --

[REQUIRED]

The GraphqlApi Amazon Resource Name (ARN).

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

Response Structure

  • (dict) --
    • tags (dict) --

      A TagMap object.

      • (string) --

        The key for the tag.

        • (string) --

          The value for the tag.

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