list_volumes_in_recycle_bin
¶
list_volumes_in_recycle_bin(
*,
config_overrides: Optional[EC2ClientConfig] = None,
volume_ids: Optional[VolumeIdStringList] = None,
dry_run: Optional[Boolean] = None,
max_results: Optional[Integer] = None,
next_token: Optional[String] = None,
) -> ListVolumesInRecycleBinResult
Lists one or more volumes that are currently in the Recycle Bin.
Parameters:
-
volume_ids(Optional[VolumeIdStringList], default:None) –The IDs of the volumes to list. Omit this parameter to list all of the volumes 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. -
max_results(Optional[Integer], 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.
Valid range: 5 - 500
-
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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
48710 48711 48712 48713 48714 48715 48716 48717 48718 48719 48720 48721 48722 48723 48724 48725 48726 48727 48728 48729 48730 48731 48732 48733 48734 48735 48736 48737 48738 48739 48740 48741 48742 48743 48744 48745 48746 48747 48748 48749 48750 48751 48752 48753 48754 48755 48756 48757 48758 48759 48760 48761 48762 48763 48764 48765 48766 | |