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.

You can copy an encrypted DB cluster snapshot from another AWS Region. In that case, the AWS Region where you call the CopyDBClusterSnapshot action is the destination AWS Region for the encrypted DB cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot from another AWS Region, you must provide the following values:

To cancel the copy operation once it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in "copying" status.

For more information on copying encrypted DB cluster snapshots from one AWS Region to another, see Copying a DB Cluster Snapshot in the Same Account, Either in the Same Region or Across Regions in the Amazon RDS User Guide.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Note:

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

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

Syntax

C#
public virtual CopyDBClusterSnapshotResponse CopyDBClusterSnapshot(
         CopyDBClusterSnapshotRequest request
)
Parameters
request
Type: Amazon.RDS.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 RDS.

Exceptions

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

Version Information

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also