describe_fast_snapshot_restores
¶
describe_fast_snapshot_restores(
*,
config_overrides: Optional[EC2ClientConfig] = None,
filters: Optional[FilterList] = None,
max_results: Optional[DescribeFastSnapshotRestoresMaxResults] = None,
next_token: Optional[NextToken] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeFastSnapshotRestoresResult
Describes the state of fast snapshot restores for your snapshots.
Parameters:
-
filters(Optional[FilterList], default:None) –The filters. The possible values are:
-
availability-zone: The Availability Zone of the snapshot. For example,us-east-2a. -
availability-zone-id: The ID of the Availability Zone of the snapshot. For example,use2-az1. -
owner-id: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot. -
snapshot-id: The ID of the snapshot. -
state: The state of fast snapshot restores for the snapshot (enabling|optimizing|enabled|disabling|disabled).
-
-
max_results(Optional[DescribeFastSnapshotRestoresMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
next_token(Optional[NextToken], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
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
24575 24576 24577 24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 | |