describeDomainNodes method

Future<DescribeDomainNodesResponse> describeDomainNodes({
  1. required String domainName,
})

Returns information about domain and nodes, including data nodes, master nodes, ultrawarm nodes, Availability Zone(s), standby nodes, node configurations, and node states.

May throw BaseException. May throw DependencyFailureException. May throw DisabledOperationException. May throw InternalException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter domainName : The name of the domain.

Implementation

Future<DescribeDomainNodesResponse> describeDomainNodes({
  required String domainName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2021-01-01/opensearch/domain/${Uri.encodeComponent(domainName)}/nodes',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDomainNodesResponse.fromJson(response);
}