startDBCluster method
Starts an Amazon Neptune DB cluster that was stopped using the AWS console, the AWS CLI stop-db-cluster command, or the StopDBCluster API.
May throw DBClusterNotFoundFault. May throw InvalidDBClusterStateFault. May throw InvalidDBInstanceStateFault.
Parameter dBClusterIdentifier
:
The DB cluster identifier of the Neptune 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);
}