Reports the current modification status of EBS volumes.
ec2_describe_volumes_modifications(DryRun, VolumeIds, Filters,
NextToken, MaxResults)
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 is UnauthorizedOperation
.
One or more volume IDs for which in-progress modifications will be described.
One or more filters. Supported filters: volume-id
,
modification-state
, target-size
, target-iops
,
target-volume-type
, original-size
, original-iops
,
original-volume-type
, start-time
.
The nextToken
value returned by a previous paginated request.
The maximum number of results (up to a limit of 500) to be returned in a paginated request.
svc$describe_volumes_modifications( DryRun = TRUE|FALSE, VolumeIds = list( "string" ), Filters = list( list( Name = "string", Values = list( "string" ) ) ), NextToken = "string", MaxResults = 123 )
Current-generation EBS volumes support modification of attributes
including type, size, and (for io1
volumes) IOPS provisioning while
either attached to or detached from an instance. Following an action
from the API or the console to modify a volume, the status of the
modification may be modifying
, optimizing
, completed
, or failed
.
If a volume has never been modified, then certain elements of the
returned VolumeModification
objects are null.
You can also use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. For more information, see Monitoring Volume Modifications" in the Amazon Elastic Compute Cloud User Guide.