list_domain_names
(**kwargs)¶Returns the names of all Amazon OpenSearch Service domains owned by the current user in the active Region.
See also: AWS API Documentation
Request Syntax
response = client.list_domain_names(
EngineType='OpenSearch'|'Elasticsearch'
)
{
'DomainNames': [
{
'DomainName': 'string',
'EngineType': 'OpenSearch'|'Elasticsearch'
},
]
}
Response Structure
The results of a ListDomainNames
operation. Contains the names of all domains owned by this account and their respective engine types.
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
Information about an OpenSearch Service domain.
Name of the domain.
The type of search engine that the domain is running. OpenSearch
for an OpenSearch engine, or Elasticsearch
for a legacy Elasticsearch OSS engine.
Exceptions
OpenSearchService.Client.exceptions.BaseException
OpenSearchService.Client.exceptions.ValidationException