EnableFastSnapshotRestores - Amazon Elastic Compute Cloud

EnableFastSnapshotRestores

Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.

You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores.

For more information, see Amazon EBS fast snapshot restore 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.

AvailabilityZone.N

One or more Availability Zones. For example, us-east-2a.

Type: Array of strings

Required: Yes

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 is UnauthorizedOperation.

Type: Boolean

Required: No

SourceSnapshotId.N

The IDs of one or more snapshots. For example, snap-1234567890abcdef0. You can specify a snapshot that was shared with you from another AWS account.

Type: Array of strings

Required: Yes

Response Elements

The following elements are returned by the service.

requestId

The ID of the request.

Type: String

successful

Information about the snapshots for which fast snapshot restores were successfully enabled.

Type: Array of EnableFastSnapshotRestoreSuccessItem objects

unsuccessful

Information about the snapshots for which fast snapshot restores could not be enabled.

Type: Array of EnableFastSnapshotRestoreErrorItem objects

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: