CopySnapshot

GET /?Action=CopySnapshot
Description

Copies a snapshot to your account, from an account in the same Region.
To do so, the owner of the source snapshot must share it with your account. For more information about how to share a snapshot with another account, see ModifySnapshotAttribute.
The copy of the source snapshot is independent and belongs to you.

Note

To copy a snapshot between accounts in different Regions, the owner of the source snapshot must export it to an Object Storage Unit (OSU) bucket using the CreateSnapshotExportTask method, and then you need to import it using the ImportSnapshot method. For more information, see CreateSnapshotExportTask and ImportSnapshot.

Body parameter

Required: false
Name: CopySnapshotRequest

Name Description Required Schema Default Example

Description

A description for the new snapshot (if different from the source snapshot one).

false

string

DestinationRegion

The name of the destination Region, which must be the same as the source Region.

false

string

DryRun

If set to true, checks whether you have the required permissions to perform the action.

false

boolean

SourceRegion

The name of the source Region, which must be the same as the Region of your account.

true

string

SourceSnapshotId

The ID of the snapshot you want to copy.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

CopySnapshotResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

snapshotId

The ID of the new snapshot.

false

string