AWS SDK Version 2 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.

.NET Framework 3.5
 
Copies the specified DBSnapshot. The source DB snapshot must be in the "available" state.

If you are copying from a shared manual DB snapshot, the SourceDBSnapshotIdentifier must be the ARN of the shared DB snapshot.

Namespace: Amazon.RDS
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CopyDBSnapshotResponse CopyDBSnapshot(
         CopyDBSnapshotRequest request
)

Parameters

request
Type: Amazon.RDS.Model.CopyDBSnapshotRequest

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

Return Value
Type: Amazon.RDS.Model.CopyDBSnapshotResponse
The response from the CopyDBSnapshot service method, as returned by RDS.

Exceptions

ExceptionCondition
DBSnapshotAlreadyExistsException DBSnapshotIdentifier is already used by an existing snapshot.
DBSnapshotNotFoundException DBSnapshotIdentifier does not refer to an existing DB snapshot.
InvalidDBSnapshotStateException The state of the DB snapshot does not allow deletion.
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