describe_fast_snapshot_restores
async
¶
describe_fast_snapshot_restores(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 24928 24929 24930 24931 24932 24933 24934 24935 24936 24937 24938 24939 24940 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 24954 24955 24956 24957 24958 24959 24960 24961 24962 24963 24964 24965 24966 24967 24968 24969 24970 24971 24972 24973 24974 | |