list_tags_for_resource

HealthLake.Client.list_tags_for_resource(**kwargs)

Returns a list of all existing tags associated with a Data Store.

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 Data Store for which tags are being added.

Return type
dict
Returns
Response Syntax
{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --
    • Tags (list) --

      Returns a list of tags associated with a Data Store.

      • (dict) --

        A tag is a label consisting of a user-defined key and value. The form for tags is {"Key", "Value"}

        • Key (string) --

          The key portion of a tag. Tag keys are case sensitive.

        • Value (string) --

          The value portion of tag. Tag values are case sensitive.

Exceptions

  • HealthLake.Client.exceptions.ValidationException
  • HealthLake.Client.exceptions.ResourceNotFoundException