RestoreSnapshotFromRecycleBin
Restores a snapshot from the Recycle Bin. For more information, see Restore snapshots from the Recycle Bin in the Amazon EBS 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.
- DryRun
-
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 isUnauthorizedOperation
.Type: Boolean
Required: No
- SnapshotId
-
The ID of the snapshot to restore.
Type: String
Required: Yes
Response Elements
The following elements are returned by the service.
- description
-
The description for the snapshot.
Type: String
- encrypted
-
Indicates whether the snapshot is encrypted.
Type: Boolean
- outpostArn
-
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
Type: String
- ownerId
-
The ID of the AWS account that owns the EBS snapshot.
Type: String
- progress
-
The progress of the snapshot, as a percentage.
Type: String
- requestId
-
The ID of the request.
Type: String
- snapshotId
-
The ID of the snapshot.
Type: String
- sseType
-
Reserved for future use.
Type: String
Valid Values:
sse-ebs | sse-kms | none
- startTime
-
The time stamp when the snapshot was initiated.
Type: Timestamp
- status
-
The state of the snapshot.
Type: String
Valid Values:
pending | completed | error | recoverable | recovering
- volumeId
-
The ID of the volume that was used to create the snapshot.
Type: String
- volumeSize
-
The size of the volume, in GiB.
Type: Integer
Errors
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 AWS SDKs, see the following: