RestoreSnapshotFromRecycleBin - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Restores a snapshot from the Recycle Bin. For more information, see Restore snapshots from the Recycle Bin in the Amazon Elastic Compute Cloud User Guide.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No


The ID of the snapshot to restore.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.


The description for the snapshot.

Type: String


Indicates whether the snapshot is encrypted.

Type: Boolean


The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.

Type: String


The ID of the Amazon account that owns the EBS snapshot.

Type: String


The progress of the snapshot, as a percentage.

Type: String


The ID of the request.

Type: String


The ID of the snapshot.

Type: String


Reserved for future use.

Type: String

Valid Values: sse-ebs | sse-kms | none


The time stamp when the snapshot was initiated.

Type: Timestamp


The state of the snapshot.

Type: String

Valid Values: pending | completed | error | recoverable | recovering


The ID of the volume that was used to create the snapshot.

Type: String


The size of the volume, in GiB.

Type: Integer


For information about the errors that are common to all actions, see Common client error codes.

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: