getCluster method

Future<GetClusterOutput> getCluster({
  1. required String identifier,
})

Retrieves information about a cluster.

May throw ResourceNotFoundException.

Parameter identifier : The ID of the cluster to retrieve.

Implementation

Future<GetClusterOutput> getCluster({
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/cluster/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetClusterOutput.fromJson(response);
}