ModifyVolume
In this article:
ModifyVolume#
Description#
Modifies a volume attribute.
Request Parameters#
Required parameters#
VolumeId — The ID of the volume
Type: String
Required: Yes
Optional parameters#
Iops — The number of I/O operations per second.
Type: Integer
Required: No
Valid values: available for io2 volume type
Restriction: For
io2
disks only
Size — The size of the volume, in GiB.
Type: Integer
Required: No
Constraints: The value must be greater than or equal to the current size of the volume. For more information about available volume sizes see the Volumes section
Response Elements#
requestId — The request ID
Type: String
volumeModification — Information about volume modification.
Type: VolumeModification object
Examples#
c2-ec2 ModifyVolume VolumeId vol-01234567 Size 40