disable_fast_snapshot_restores
¶
disable_fast_snapshot_restores(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
38952 38953 38954 38955 38956 38957 38958 38959 38960 38961 38962 38963 38964 38965 38966 38967 38968 38969 38970 38971 38972 38973 38974 38975 38976 38977 38978 38979 38980 38981 38982 38983 38984 38985 38986 38987 38988 38989 38990 38991 38992 38993 38994 38995 38996 38997 38998 38999 39000 39001 39002 39003 39004 39005 39006 39007 39008 39009 39010 39011 39012 | |