OpenSearchService / Client / list_domain_names
list_domain_names#
- OpenSearchService.Client.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' ) - Parameters:
- EngineType (string) – Filters the output by domain engine type. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'DomainNames': [ { 'DomainName': 'string', 'EngineType': 'OpenSearch'|'Elasticsearch' }, ] } - Response Structure- (dict) – - The results of a - ListDomainNamesoperation. Contains the names of all domains owned by this account and their respective engine types.- DomainNames (list) – - The names of all OpenSearch Service domains owned by the current user and their respective engine types. - (dict) – - Information about an OpenSearch Service domain. - DomainName (string) – - Name of the domain. 
- EngineType (string) – - The type of search engine that the domain is running. - OpenSearchfor an OpenSearch engine, or- Elasticsearchfor a legacy Elasticsearch OSS engine.
 
 
 
 
 - Exceptions- OpenSearchService.Client.exceptions.BaseException
- OpenSearchService.Client.exceptions.ValidationException