disable_fast_snapshot_restores¶
Operation¶
disable_fast_snapshot_restores
¶
disable_fast_snapshot_restores(request: DisableFastSnapshotRestoresInput | DisableFastSnapshotRestoresInputDict | None = None, /, *, 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 |
|---|---|---|---|
request
|
DisableFastSnapshotRestoresInput | DisableFastSnapshotRestoresInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DisableFastSnapshotRestoresInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DisableFastSnapshotRestoresOutput
|
An instance of |
disable_fast_snapshot_restores
async
¶
disable_fast_snapshot_restores(request: DisableFastSnapshotRestoresInput | DisableFastSnapshotRestoresInputDict | None = None, /, *, 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 |
|---|---|---|---|
request
|
DisableFastSnapshotRestoresInput | DisableFastSnapshotRestoresInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[DisableFastSnapshotRestoresInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
DisableFastSnapshotRestoresOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
DisableFastSnapshotRestoresInputDict
¶
Bases: TypedDict
Dictionary form of DisableFastSnapshotRestoresInput.
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.
DisableFastSnapshotRestoresInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisableFastSnapshotRestoresInput 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.
Output¶
DisableFastSnapshotRestoresOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisableFastSnapshotRestoresOutput 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[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.