describeElasticsearchDomains method
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
May throw BaseException. May throw InternalException. May throw ValidationException.
Parameter domainNames
:
The Elasticsearch domains for which you want information.
Implementation
Future<DescribeElasticsearchDomainsResponse> describeElasticsearchDomains({
required List<String> domainNames,
}) async {
ArgumentError.checkNotNull(domainNames, 'domainNames');
final $payload = <String, dynamic>{
'DomainNames': domainNames,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/2015-01-01/es/domain-info',
exceptionFnMap: _exceptionFns,
);
return DescribeElasticsearchDomainsResponse.fromJson(response);
}