AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Changes the size of the cluster. You can change the cluster's type, or change the number or type of nodes. The default behavior is to use the elastic resize method. With an elastic resize, your cluster is available for read and write operations more quickly than with the classic resize method.
Elastic resize operations have the following restrictions:
You can only resize clusters of the following types:
dc2.large
dc2.8xlarge
ra3.large
ra3.xlplus
ra3.4xlarge
ra3.16xlarge
The type of nodes that you add must match the node type for the cluster.
For .NET Core this operation is only available in asynchronous form. Please refer to ResizeClusterAsync.
Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public virtual ResizeClusterResponse ResizeCluster( ResizeClusterRequest request )
Container for the necessary parameters to execute the ResizeCluster service method.
Exception | Condition |
---|---|
ClusterNotFoundException | The ClusterIdentifier parameter does not refer to an existing cluster. |
DependentServiceUnavailableException | Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again. |
InsufficientClusterCapacityException | The number of nodes specified exceeds the allotted capacity of the cluster. |
InvalidClusterStateException | The specified cluster is not in the available state. |
InvalidReservedNodeStateException | Indicates that the Reserved Node being exchanged is not in an active state. |
LimitExceededException | The encryption key has exceeded its grant limit in Amazon Web Services KMS. |
NumberOfNodesPerClusterLimitExceededException | The operation would exceed the number of nodes allowed for a cluster. |
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 Cluster Management Guide. |
ReservedNodeAlreadyExistsException | User already has a reservation with the given identifier. |
ReservedNodeAlreadyMigratedException | Indicates that the reserved node has already been exchanged. |
ReservedNodeNotFoundException | The specified reserved compute node not found. |
ReservedNodeOfferingNotFoundException | Specified offering does not exist. |
UnauthorizedOperationException | Your account is not authorized to perform the requested operation. |
UnsupportedOperationException | The requested operation isn't supported. |
UnsupportedOptionException | A request option was specified that is not supported. |
.NET Framework:
Supported in: 4.5 and newer, 3.5