ElasticsearchService / Client / list_tags
list_tags¶
- ElasticsearchService.Client.list_tags(**kwargs)¶
Returns all tags for the given Elasticsearch domain.
See also: AWS API Documentation
Request Syntax
response = client.list_tags( ARN='string' )
- Parameters:
ARN (string) –
[REQUIRED]
Specify the
ARNfor the Elasticsearch domain to which the tags are attached that you want to view.- Return type:
dict
- Returns:
Response Syntax
{ 'TagList': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
The result of a
ListTagsoperation. Contains tags for all requested Elasticsearch domains.TagList (list) –
List of
Tagfor the requested Elasticsearch domain.(dict) –
Specifies a key value pair for a resource tag.
Key (string) –
Specifies the
TagKey, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.Value (string) –
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 ofproject : Trinityandcost-center : Trinity
Exceptions
ElasticsearchService.Client.exceptions.BaseExceptionElasticsearchService.Client.exceptions.ResourceNotFoundExceptionElasticsearchService.Client.exceptions.ValidationExceptionElasticsearchService.Client.exceptions.InternalException