Returns all tags for the given Elasticsearch domain.
See also: AWS API Documentation
Request Syntax
response = client.list_tags(
ARN='string'
)
[REQUIRED]
Specify the ARN
for the Elasticsearch domain to which the tags are attached that you want to view.
{
'TagList': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The result of a ListTags
operation. Contains tags for all requested Elasticsearch domains.
List of Tag
for the requested Elasticsearch domain.
Specifies a key value pair for a resource tag.
Specifies the TagKey
, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.
Specifies the TagValue
, the value assigned to the corresponding tag key. Tag values can be null and do not 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
Exceptions
ElasticsearchService.Client.exceptions.BaseException
ElasticsearchService.Client.exceptions.ResourceNotFoundException
ElasticsearchService.Client.exceptions.ValidationException
ElasticsearchService.Client.exceptions.InternalException