AWS SDK Version 2 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.

.NET Framework 3.5
 
Deletes a previously provisioned cluster. A successful response from the web service indicates that the request was received correctly. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide .

If you want to shut down the cluster and retain it for future use, set SkipFinalClusterSnapshot to false and specify a name for FinalClusterSnapshotIdentifier. You can later restore this snapshot to resume using the cluster. If a final cluster snapshot is requested, the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster.

For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide .

Namespace: Amazon.Redshift
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract DeleteClusterResponse DeleteCluster(
         DeleteClusterRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.DeleteClusterRequest

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

Return Value
Type: Amazon.Redshift.Model.DeleteClusterResponse
The response from the DeleteCluster service method, as returned by Redshift.

Exceptions

ExceptionCondition
ClusterNotFoundException The ClusterIdentifier parameter does not refer to an existing cluster.
ClusterSnapshotAlreadyExistsException The value specified as a snapshot identifier is already used by an existing snapshot.
ClusterSnapshotQuotaExceededException The request would result in the user exceeding the allowed number of cluster snapshots.
InvalidClusterStateException The specified cluster is not in the available state.

Version Information

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