list_snapshots_in_recycle_bin
¶
list_snapshots_in_recycle_bin(
*,
config_overrides: Optional[EC2ClientConfig] = None,
max_results: Optional[ListSnapshotsInRecycleBinMaxResults] = None,
next_token: Optional[String] = None,
snapshot_ids: Optional[SnapshotIdStringList] = None,
dry_run: Optional[Boolean] = None,
) -> ListSnapshotsInRecycleBinResult
Lists one or more snapshots that are currently in the Recycle Bin.
Parameters:
-
max_results(Optional[ListSnapshotsInRecycleBinMaxResults], 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[String], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
snapshot_ids(Optional[SnapshotIdStringList], default:None) –The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.
-
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
48621 48622 48623 48624 48625 48626 48627 48628 48629 48630 48631 48632 48633 48634 48635 48636 48637 48638 48639 48640 48641 48642 48643 48644 48645 48646 48647 48648 48649 48650 48651 48652 48653 48654 48655 48656 48657 48658 48659 48660 48661 48662 48663 48664 48665 48666 48667 48668 48669 48670 48671 48672 48673 48674 48675 48676 48677 48678 48679 | |