describeCluster method

Future<DescribeClusterResponse> describeCluster({
  1. required String clusterId,
})

Get details about a 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.

Implementation

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