rebootCluster method

Future<RebootClusterResult> rebootCluster(
  1. {@required String clusterIdentifier}

Reboots a cluster. This action is taken as soon as possible. It results in a momentary outage to the cluster, during which the cluster status is set to rebooting. A cluster event is created when the reboot is completed. Any pending cluster modifications (see ModifyCluster) are applied at this reboot. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

May throw InvalidClusterStateFault. May throw ClusterNotFoundFault.

Parameter clusterIdentifier : The cluster identifier.


Future<RebootClusterResult> rebootCluster({
  @_s.required String clusterIdentifier,
}) async {
  ArgumentError.checkNotNull(clusterIdentifier, 'clusterIdentifier');
    isRequired: true,
  final $request = <String, dynamic>{};
  $request['ClusterIdentifier'] = clusterIdentifier;
  final $result = await _protocol.send(
    action: 'RebootCluster',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['RebootClusterMessage'],
    shapes: shapes,
    resultWrapper: 'RebootClusterResult',
  return RebootClusterResult.fromXml($result);