list_volumes_in_recycle_bin
async
¶
list_volumes_in_recycle_bin(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
49383 49384 49385 49386 49387 49388 49389 49390 49391 49392 49393 49394 49395 49396 49397 49398 49399 49400 49401 49402 49403 49404 49405 49406 49407 49408 49409 49410 49411 49412 49413 49414 49415 49416 49417 49418 49419 49420 49421 49422 49423 49424 49425 49426 49427 49428 49429 49430 49431 49432 49433 49434 49435 49436 49437 49438 49439 49440 | |