describe_volumes_modifications
async
¶
describe_volumes_modifications(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
36974 36975 36976 36977 36978 36979 36980 36981 36982 36983 36984 36985 36986 36987 36988 36989 36990 36991 36992 36993 36994 36995 36996 36997 36998 36999 37000 37001 37002 37003 37004 37005 37006 37007 37008 37009 37010 37011 37012 37013 37014 37015 37016 37017 37018 37019 37020 37021 37022 37023 37024 37025 37026 37027 37028 37029 37030 37031 37032 37033 37034 37035 37036 37037 37038 37039 | |