startDBCluster method

Future<StartDBClusterResult> startDBCluster({
  1. required String dBClusterIdentifier,
})

Starts an Amazon Aurora DB cluster that was stopped using the AWS console, the stop-db-cluster AWS CLI command, or the StopDBCluster action.

For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.

May throw DBClusterNotFoundFault. May throw InvalidDBClusterStateFault. May throw InvalidDBInstanceStateFault.

Parameter dBClusterIdentifier : The DB cluster identifier of the Amazon Aurora DB cluster to be started. This parameter is stored as a lowercase string.

Implementation

Future<StartDBClusterResult> startDBCluster({
  required String dBClusterIdentifier,
}) async {
  ArgumentError.checkNotNull(dBClusterIdentifier, 'dBClusterIdentifier');
  final $request = <String, dynamic>{};
  $request['DBClusterIdentifier'] = dBClusterIdentifier;
  final $result = await _protocol.send(
    $request,
    action: 'StartDBCluster',
    version: '2014-10-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['StartDBClusterMessage'],
    shapes: shapes,
    resultWrapper: 'StartDBClusterResult',
  );
  return StartDBClusterResult.fromXml($result);
}