Amplify / Client / list_tags_for_resource

list_tags_for_resource#

Amplify.Client.list_tags_for_resource(**kwargs)#

Returns a list of tags for a specified Amazon Resource Name (ARN).

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) to use to list tags.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    The response for the list tags for resource request.

    • tags (dict) –

      A list of tags for the specified The Amazon Resource Name (ARN).

      • (string) –

        • (string) –

Exceptions

  • Amplify.Client.exceptions.InternalFailureException

  • Amplify.Client.exceptions.BadRequestException

  • Amplify.Client.exceptions.ResourceNotFoundException