disable_fast_snapshot_restores
async
¶
disable_fast_snapshot_restores(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
availability_zones: Optional[AvailabilityZoneStringList] = None,
availability_zone_ids: Optional[AvailabilityZoneIdStringList] = None,
source_snapshot_ids: Optional[SnapshotIdStringList] = None,
dry_run: Optional[Boolean] = None,
) -> DisableFastSnapshotRestoresResult
Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.
Parameters:
-
availability_zones(Optional[AvailabilityZoneStringList], default:None) –One or more Availability Zones. For example,
us-east-2a.Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both. -
availability_zone_ids(Optional[AvailabilityZoneIdStringList], default:None) –One or more Availability Zone IDs. For example,
use2-az1.Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both. -
source_snapshot_ids(Optional[SnapshotIdStringList], default:None) –The IDs of one or more snapshots. For example,
snap-1234567890abcdef0. -
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
39469 39470 39471 39472 39473 39474 39475 39476 39477 39478 39479 39480 39481 39482 39483 39484 39485 39486 39487 39488 39489 39490 39491 39492 39493 39494 39495 39496 39497 39498 39499 39500 39501 39502 39503 39504 39505 39506 39507 39508 39509 39510 39511 39512 39513 39514 39515 39516 39517 39518 39519 39520 39521 39522 39523 39524 39525 39526 39527 39528 39529 39530 | |