Deletes the specified manual snapshot. The snapshot must be in the
state, with no other users authorized to access the snapshot.
CopyC#
available
Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.
Declaration Syntax
C# |
DeleteClusterSnapshotResponse DeleteClusterSnapshot( DeleteClusterSnapshotRequest request )
Parameters
- request (DeleteClusterSnapshotRequest)
- Container for the necessary parameters to execute the DeleteClusterSnapshot service method.
Return Value
The response from the DeleteClusterSnapshot service method, as returned by Redshift.
Exceptions
Exception | Condition |
---|---|
ClusterSnapshotNotFoundException |
The snapshot identifier does not refer to an existing cluster snapshot.
|
InvalidClusterSnapshotStateException |
The state of the cluster snapshot is not CopyC# available |