LookoutEquipment / Client / list_tags_for_resource

list_tags_for_resource

LookoutEquipment.Client.list_tags_for_resource(**kwargs)

Lists all the tags for a specified resource, including key and value.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

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 (such as the dataset or model) that is the focus of the ListTagsForResource operation.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • Tags (list) –

      Any tags associated with the resource.

      • (dict) –

        A tag is a key-value pair that can be added to a resource as metadata.

        • Key (string) –

          The key for the specified tag.

        • Value (string) –

          The value for the specified tag.

Exceptions