Skip to content

EC2  >  Operations  >  disable_fast_snapshot_restores

disable_fast_snapshot_restores

Operation

disable_fast_snapshot_restores async

disable_fast_snapshot_restores(request: DisableFastSnapshotRestoresInput | DisableFastSnapshotRestoresInputDict, /, *, plugins: list[Plugin] | None = None) -> DisableFastSnapshotRestoresOutput
disable_fast_snapshot_restores(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisableFastSnapshotRestoresInputDict]) -> DisableFastSnapshotRestoresOutput

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

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
DisableFastSnapshotRestoresOutput

An instance of DisableFastSnapshotRestoresOutput.

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

DisableFastSnapshotRestoresInput dataclass

Bases: _SerdeShape

Dataclass for DisableFastSnapshotRestoresInput structure.

Attributes
availability_zone_ids class-attribute instance-attribute
availability_zone_ids: list[str] | None = ...

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
availability_zones: list[str] | None = ...

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.

source_snapshot_ids class-attribute instance-attribute
source_snapshot_ids: list[str] | None = ...

The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

Dictionaries

DisableFastSnapshotRestoresInputDict

Bases: TypedDict

Dictionary form of DisableFastSnapshotRestoresInput.

Attributes
availability_zone_ids instance-attribute
availability_zone_ids: Sequence[str] | None

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
availability_zones: Sequence[str] | None

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.

source_snapshot_ids instance-attribute
source_snapshot_ids: Required[Sequence[str]]

The IDs of one or more snapshots. For example, snap-1234567890abcdef0.

Output

DisableFastSnapshotRestoresOutput dataclass

Bases: _SerdeShape

Dataclass for DisableFastSnapshotRestoresOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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[DisableFastSnapshotRestoreSuccessItem] | None = ...

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

unsuccessful class-attribute instance-attribute
unsuccessful: list[DisableFastSnapshotRestoreErrorItem] | None = ...

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