Creates a manual snapshot of the specified cluster. The cluster must
be in the state.
CopyC#
available
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Management Guide.
Declaration Syntax
C# |
CreateClusterSnapshotResponse CreateClusterSnapshot( CreateClusterSnapshotRequest request )
Parameters
- request (CreateClusterSnapshotRequest)
- Container for the necessary parameters to execute the CreateClusterSnapshot service method.
Return Value
The response from the CreateClusterSnapshot service method, as returned by Redshift.
Exceptions
Exception | Condition |
---|---|
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 CopyC# available |