startCluster method

Future<StartClusterOutput> startCluster({
  1. required String clusterArn,
})

Restarts the stopped elastic cluster that is specified by clusterARN.

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<StartClusterOutput> startCluster({
  required String clusterArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/cluster/${Uri.encodeComponent(clusterArn)}/start',
    exceptionFnMap: _exceptionFns,
  );
  return StartClusterOutput.fromJson(response);
}