AWS SDK Version 3 for .NET
API Reference

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:

Note:

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

Syntax

C#
public abstract ResizeClusterResponse ResizeCluster(
         ResizeClusterRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.ResizeClusterRequest

Container for the necessary parameters to execute the ResizeCluster service method.

Return Value


The response from the ResizeCluster service method, as returned by Redshift.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also