Attaches tags to an existing Amazon OpenSearch Service domain. Tags are a set of case-sensitive key-value pairs. A domain can have up to 10 tags. For more information, see Tagging Amazon OpenSearch Service domains.
See also: AWS API Documentation
Request Syntax
response = client.add_tags(
ARN='string',
TagList=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
[REQUIRED]
List of resource tags.
A tag (key-value pair) for an Amazon OpenSearch Service resource.
The tag key. Tag keys must be unique for the domain to which they are attached.
The value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key value pair in a tag set of project : Trinity
and cost-center : Trinity
None
Exceptions
OpenSearchService.Client.exceptions.BaseException
OpenSearchService.Client.exceptions.LimitExceededException
OpenSearchService.Client.exceptions.ValidationException
OpenSearchService.Client.exceptions.InternalException