listDomainNames method

Future<ListDomainNamesResponse> listDomainNames()

Returns the name of all Elasticsearch domains owned by the current user's account.

May throw BaseException. May throw ValidationException.

Implementation

Future<ListDomainNamesResponse> listDomainNames() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/2015-01-01/domain',
    exceptionFnMap: _exceptionFns,
  );
  return ListDomainNamesResponse.fromJson(response);
}