getCluster method

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

Returns information about a specific elastic cluster.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter clusterArn : The ARN identifier of the elastic cluster.

Implementation

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