Modifies the settings for a cluster.         For example, you can add
            another security or parameter group,         update the preferred maintenance window,
            or change the master user password.          Resetting a cluster password or modifying
            the security groups associated         with a cluster do not need a reboot. However,
            modifying a parameter group         requires a reboot for parameters to take effect.
                           For more information about managing clusters, go to Amazon
            Redshift Clusters in the Amazon Redshift Management Guide
You can also change node type and the number of nodes to scale up or down the cluster. When resizing a cluster, you must specify both the number of nodes and the node type even if one of the parameters does not change. If you specify the same number of nodes and node type that are already configured for the cluster, an error is returned.
 Declaration Syntax
 Declaration Syntax| C# | 
public ModifyClusterResponse ModifyCluster( ModifyClusterRequest request )
 Parameters
 Parameters- request (ModifyClusterRequest)
- Container for the necessary parameters to execute the ModifyCluster service method.
 Return Value
 Return ValueThe response from the ModifyCluster service method, as returned by Redshift.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ClusterAlreadyExistsException | The account already has a cluster with the given identifier. | 
| ClusterNotFoundException | The ClusterIdentifier parameter does not refer to an existing cluster. | 
| ClusterParameterGroupNotFoundException | The parameter group name does not refer to an        existing parameter group. | 
| ClusterSecurityGroupNotFoundException | The cluster security group name does not refer to an existing cluster
            security group. | 
| HsmClientCertificateNotFoundException | There is no Amazon Redshift HSM client certificate with the specified identifier. | 
| HsmConfigurationNotFoundException | There is no Amazon Redshift HSM configuration with the specified identifier. | 
| InsufficientClusterCapacityException | The number of nodes specified exceeds the allotted capacity of the cluster. | 
| InvalidClusterSecurityGroupStateException | The state of the cluster security group is not  CopyC# available | 
| InvalidClusterStateException | The specified cluster is not in the  CopyC# available | 
| NumberOfNodesQuotaExceededException | The operation would exceed the number of nodes allotted to the account. For information
            about increasing your quota, go to Limits
            in Amazon Redshift in the Amazon Redshift Management Guide. | 
| UnauthorizedOperationException | Your account is not authorized to perform the requested operation. | 
| UnsupportedOptionException | A request option was specified that is not supported. |