tag_resource

HealthLake.Client.tag_resource(**kwargs)

Adds a user specifed key and value tag to a Data Store.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    ResourceARN='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters
  • ResourceARN (string) --

    [REQUIRED]

    The Amazon Resource Name(ARN)that gives Amazon HealthLake access to the Data Store which tags are being added to.

  • Tags (list) --

    [REQUIRED]

    The user specified key and value pair tags being added to 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) -- [REQUIRED]

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

      • Value (string) -- [REQUIRED]

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

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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