LookoutMetrics / Client / list_tags_for_resource

list_tags_for_resource#

LookoutMetrics.Client.list_tags_for_resource(**kwargs)#

Gets a list of tags for a detector, dataset, or alert.

See also: AWS API Documentation

Request Syntax

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

ResourceArn (string) –

[REQUIRED]

The resource’s Amazon Resource Name (ARN).

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (dict) –

      The resource’s tags.

      • (string) –

        • (string) –

Exceptions