ElasticsearchService.Client.
list_domain_names
(**kwargs)¶Returns the name of all Elasticsearch domains owned by the current user's account.
See also: AWS API Documentation
Request Syntax
response = client.list_domain_names(
EngineType='OpenSearch'|'Elasticsearch'
)
{
'DomainNames': [
{
'DomainName': 'string',
'EngineType': 'OpenSearch'|'Elasticsearch'
},
]
}
Response Structure
The result of a ListDomainNames
operation. Contains the names of all domains owned by this account and their respective engine types.
List of domain names and respective engine types.
Specifies the DomainName
.
Specifies the EngineType
of the domain.
Exceptions
ElasticsearchService.Client.exceptions.BaseException
ElasticsearchService.Client.exceptions.ValidationException