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 Amazon Web Services Region. In that case, the Amazon Web Services Region where you call the CopyDBClusterSnapshot operation is the destination Amazon Web Services Region for the encrypted DB cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot from another Amazon Web Services 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 Amazon Aurora DB cluster snapshots from one Amazon Web Services Region to another, see Copying a Snapshot in the Amazon Aurora User Guide.

For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.

For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.

Note:

For .NET Core 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 abstract 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 The user already has a DB cluster snapshot with the given identifier.
DBClusterSnapshotNotFoundException DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.
InvalidDBClusterSnapshotStateException The supplied value isn't a valid DB cluster snapshot state.
InvalidDBClusterStateException The requested operation can't be performed while the cluster is in this state.
KMSKeyNotAccessibleException An error occurred accessing an Amazon Web Services KMS key.
SnapshotQuotaExceededException The request would result in the user exceeding the allowed number of DB snapshots.

Version Information

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

See Also