HealthLake / Client / tag_resource
tag_resource¶
- HealthLake.Client.tag_resource(**kwargs)¶
Add 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 grants access to the data store tags are being added to.
Tags (list) –
[REQUIRED]
The user-specified key and value pair tags being added to a data store.
(dict) –
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.ValidationExceptionHealthLake.Client.exceptions.ResourceNotFoundException