enable_fast_snapshot_restores¶
Operation¶
enable_fast_snapshot_restores
async
¶
enable_fast_snapshot_restores(request: EnableFastSnapshotRestoresInput | EnableFastSnapshotRestoresInputDict, /, *, plugins: list[Plugin] | None = None) -> EnableFastSnapshotRestoresOutput
enable_fast_snapshot_restores(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[EnableFastSnapshotRestoresInputDict]) -> EnableFastSnapshotRestoresOutput
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.
For more information, see Amazon EBS fast snapshot restore in the Amazon EBS User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
EnableFastSnapshotRestoresOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
EnableFastSnapshotRestoresInput
dataclass
¶
Bases: _SerdeShape
Dataclass for EnableFastSnapshotRestoresInput structure.
Attributes¶
availability_zone_ids
class-attribute
instance-attribute
¶
One or more Availability Zone IDs. For example, use2-az1.
Either AvailabilityZone or AvailabilityZoneId must be specified in
the request, but not both.
availability_zones
class-attribute
instance-attribute
¶
One or more Availability Zones. For example, us-east-2a.
Either AvailabilityZone or AvailabilityZoneId must be specified in
the request, but not both.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
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.
Dictionaries¶
EnableFastSnapshotRestoresInputDict
¶
Bases: TypedDict
Dictionary form of EnableFastSnapshotRestoresInput.
Attributes¶
availability_zone_ids
instance-attribute
¶
One or more Availability Zone IDs. For example, use2-az1.
Either AvailabilityZone or AvailabilityZoneId must be specified in
the request, but not both.
availability_zones
instance-attribute
¶
One or more Availability Zones. For example, us-east-2a.
Either AvailabilityZone or AvailabilityZoneId must be specified in
the request, but not both.
dry_run
instance-attribute
¶
dry_run: bool | None
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.
Output¶
EnableFastSnapshotRestoresOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for EnableFastSnapshotRestoresOutput structure.
Attributes¶
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
successful
class-attribute
instance-attribute
¶
successful: list[EnableFastSnapshotRestoreSuccessItem] | None = ...
Information about the snapshots for which fast snapshot restores were successfully enabled.
unsuccessful
class-attribute
instance-attribute
¶
unsuccessful: list[EnableFastSnapshotRestoreErrorItem] | None = ...
Information about the snapshots for which fast snapshot restores could not be enabled.