HealthLake / Client / tag_resource
tag_resource#
- HealthLake.Client.tag_resource(**kwargs)#
Adds a user specified 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 AWS 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 a tag. Tag values are case sensitive.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
HealthLake.Client.exceptions.ValidationException
HealthLake.Client.exceptions.ResourceNotFoundException