Glue / Client / get_tags

get_tags#

Glue.Client.get_tags(**kwargs)#

Retrieves a list of tags associated with a resource.

See also: AWS API Documentation

Request Syntax

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

ResourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the resource for which to retrieve tags.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      The requested tags.

      • (string) –

        • (string) –

Exceptions

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.OperationTimeoutException

  • Glue.Client.exceptions.EntityNotFoundException