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.
You can add another security or
parameter group, or change the admin 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 Cluster Management Guide.
Example
Use a bare-bones client and the command you need to make an API call.
Modifies the settings for a cluster.
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.
You can add another security or parameter group, or change the admin 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 Cluster Management Guide.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ModifyClusterCommandInput
Returns
ModifyClusterCommandOutput
See
input
shape.response
shape.config
shape.Throws
ClusterAlreadyExistsFault (client fault)
The account already has a cluster with the given identifier.
Throws
ClusterNotFoundFault (client fault)
The
ClusterIdentifier
parameter does not refer to an existing cluster.Throws
ClusterParameterGroupNotFoundFault (client fault)
The parameter group name does not refer to an existing parameter group.
Throws
ClusterSecurityGroupNotFoundFault (client fault)
The cluster security group name does not refer to an existing cluster security group.
Throws
CustomCnameAssociationFault (client fault)
An error occurred when an attempt was made to change the custom domain association.
Throws
DependentServiceRequestThrottlingFault (client fault)
The request cannot be completed because a dependent service is throttling requests made by Amazon Redshift on your behalf. Wait and retry the request.
Throws
HsmClientCertificateNotFoundFault (client fault)
There is no Amazon Redshift HSM client certificate with the specified identifier.
Throws
HsmConfigurationNotFoundFault (client fault)
There is no Amazon Redshift HSM configuration with the specified identifier.
Throws
InsufficientClusterCapacityFault (client fault)
The number of nodes specified exceeds the allotted capacity of the cluster.
Throws
InvalidClusterSecurityGroupStateFault (client fault)
The state of the cluster security group is not
available
.Throws
InvalidClusterStateFault (client fault)
The specified cluster is not in the
available
state.Throws
InvalidClusterTrackFault (client fault)
The provided cluster track name is not valid.
Throws
InvalidElasticIpFault (client fault)
The Elastic IP (EIP) is invalid or cannot be found.
Throws
InvalidRetentionPeriodFault (client fault)
The retention period specified is either in the past or is not a valid value.
The value must be either -1 or an integer between 1 and 3,653.
Throws
LimitExceededFault (client fault)
The encryption key has exceeded its grant limit in Amazon Web Services KMS.
Throws
NumberOfNodesPerClusterLimitExceededFault (client fault)
The operation would exceed the number of nodes allowed for a cluster.
Throws
NumberOfNodesQuotaExceededFault (client fault)
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 Cluster Management Guide.
Throws
TableLimitExceededFault (client fault)
The number of tables in the cluster exceeds the limit for the requested new cluster node type.
Throws
UnauthorizedOperation (client fault)
Your account is not authorized to perform the requested operation.
Throws
UnsupportedOperationFault (client fault)
The requested operation isn't supported.
Throws
UnsupportedOptionFault (client fault)
A request option was specified that is not supported.
Throws
RedshiftServiceException
Base exception class for all service exceptions from Redshift service.