describe_volumes_modifications
¶
describe_volumes_modifications(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
volume_ids: Optional[VolumeIdStringList] = None,
filters: Optional[FilterList] = None,
next_token: Optional[String] = None,
max_results: Optional[Integer] = None,
include_managed_resources: Optional[Boolean] = None,
) -> DescribeVolumesModificationsResult
Describes the most recent volume modification request for the specified EBS volumes.
For more information, see Monitor the progress of volume modifications in the Amazon EBS User Guide.
Parameters:
-
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. -
volume_ids(Optional[VolumeIdStringList], default:None) –The IDs of the volumes.
-
filters(Optional[FilterList], default:None) –The filters.
-
modification-state- The current modification state (modifying | optimizing | completed | failed). -
original-iops- The original IOPS rate of the volume. -
original-size- The original size of the volume, in GiB. -
original-volume-type- The original volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
originalMultiAttachEnabled- Indicates whether Multi-Attach support was enabled (true | false). -
start-time- The modification start time. -
target-iops- The target IOPS rate of the volume. -
target-size- The target size of the volume, in GiB. -
target-volume-type- The target volume type of the volume (standard | io1 | io2 | gp2 | sc1 | st1). -
targetMultiAttachEnabled- Indicates whether Multi-Attach support is to be enabled (true | false). -
volume-id- The ID of the volume.
-
-
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.
-
max_results(Optional[Integer], default:None) –The maximum number of results (up to a limit of 500) to be returned in a paginated request. For more information, see Pagination.
-
include_managed_resources(Optional[Boolean], default:None) –Indicates whether to include managed resources in the output. If this parameter is set to
true, the output includes resources that are managed by Amazon Web Services services, even if managed resource visibility is set to hidden.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
36493 36494 36495 36496 36497 36498 36499 36500 36501 36502 36503 36504 36505 36506 36507 36508 36509 36510 36511 36512 36513 36514 36515 36516 36517 36518 36519 36520 36521 36522 36523 36524 36525 36526 36527 36528 36529 36530 36531 36532 36533 36534 36535 36536 36537 36538 36539 36540 36541 36542 36543 36544 36545 36546 36547 36548 36549 36550 36551 36552 36553 36554 36555 36556 36557 | |