DLM / Client / list_tags_for_resource

list_tags_for_resource#

DLM.Client.list_tags_for_resource(**kwargs)#

Lists the tags for the specified resource.

See also: AWS API Documentation

Request Syntax

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

ResourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the resource.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (dict) –

      Information about the tags.

      • (string) –

        • (string) –

Exceptions

  • DLM.Client.exceptions.InternalServerException

  • DLM.Client.exceptions.InvalidRequestException

  • DLM.Client.exceptions.ResourceNotFoundException