describeNode method

Future<DescribeNodeResponse> describeNode({
  1. required String clusterId,
  2. required String nodeId,
})

Get details about a Node in the specified Cluster.

May throw BadGatewayException. May throw BadRequestException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter clusterId : The ID of the cluster

Parameter nodeId : The ID of the node.

Implementation

Future<DescribeNodeResponse> describeNode({
  required String clusterId,
  required String nodeId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/prod/clusters/${Uri.encodeComponent(clusterId)}/nodes/${Uri.encodeComponent(nodeId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeNodeResponse.fromJson(response);
}