Skip to main content

volumes_modifications

Creates, updates, deletes, gets or lists a volumes_modifications resource.

Overview

Namevolumes_modifications
TypeResource
Idaws.ec2.volumes_modifications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
end_timestringThe modification completion or failure time.
modification_statestringThe current modification state.
operatorstringThe service provider that manages the resource.
original_iopsintegerThe original IOPS rate of the volume.
original_multi_attach_enabledbooleanThe original setting for Amazon EBS Multi-Attach.
original_sizeintegerThe original size of the volume, in GiB.
original_throughputintegerThe original throughput of the volume, in MiB/s.
original_volume_typestringThe original EBS volume type of the volume.
progressintegerThe modification progress, from 0 to 100 percent complete.
start_timestringThe modification start time.
status_messagestringA status message about the modification progress or failure.
target_iopsintegerThe target IOPS rate of the volume.
target_multi_attach_enabledbooleanThe target setting for Amazon EBS Multi-Attach.
target_sizeintegerThe target size of the volume, in GiB.
target_throughputintegerThe target throughput of the volume, in MiB/s.
target_volume_typestringThe target EBS volume type of the volume.
volume_idstringThe ID of the volume.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_volumes_modificationsselectregionDryRun, VolumeId, Filter, NextToken, MaxResults, IncludeManagedResourcesDescribes 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

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks 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.
FilterarrayThe 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.
IncludeManagedResourcesbooleanIndicates 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.
MaxResultsintegerThe maximum number of results (up to a limit of 500) to be returned in a paginated request. For more information, see Pagination.
NextTokenstringThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
VolumeIdarrayThe IDs of the volumes.

SELECT examples

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.

SELECT
end_time,
modification_state,
operator,
original_iops,
original_multi_attach_enabled,
original_size,
original_throughput,
original_volume_type,
progress,
start_time,
status_message,
target_iops,
target_multi_attach_enabled,
target_size,
target_throughput,
target_volume_type,
volume_id
FROM aws.ec2.volumes_modifications
WHERE region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND VolumeId = '{{ VolumeId }}'
AND Filter = '{{ Filter }}'
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
AND IncludeManagedResources = '{{ IncludeManagedResources }}'
;