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.

Copies a snapshot of a DB cluster.

To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot.


For .NET Core this operation is only available in asynchronous form. Please refer to CopyDBClusterSnapshotAsync.

Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z


public abstract CopyDBClusterSnapshotResponse CopyDBClusterSnapshot(
         CopyDBClusterSnapshotRequest request
Type: Amazon.Neptune.Model.CopyDBClusterSnapshotRequest

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

Return Value
The response from the CopyDBClusterSnapshot service method, as returned by Neptune.


DBClusterSnapshotAlreadyExistsException User already has a DB cluster snapshot with the given identifier.
DBClusterSnapshotNotFoundException DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.
InvalidDBClusterSnapshotStateException The supplied value is not a valid DB cluster snapshot state.
InvalidDBClusterStateException The DB cluster is not in a valid state.
KMSKeyNotAccessibleException Error accessing KMS key.
SnapshotQuotaExceededException Request would result in user exceeding the allowed number of DB snapshots.


The following example copies an automated snapshot of a DB cluster to a new DB cluster snapshot.

To copy a DB cluster snapshot

var response = client.CopyDBClusterSnapshot(new CopyDBClusterSnapshotRequest 
    SourceDBClusterSnapshotIdentifier = "rds:sample-cluster-2016-09-14-10-38",
    TargetDBClusterSnapshotIdentifier = "cluster-snapshot-copy-1"

DBClusterSnapshot dbClusterSnapshot = response.DBClusterSnapshot;


Version Information

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

See Also