ModifyVolumeRequest
¶
Source code in docs_src/capo_workspaces_instances/types/modify_volume_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.
iops
instance-attribute
¶
iops: NotRequired[NonNegativeInteger]
Specifies the target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.
size_in_gb
instance-attribute
¶
size_in_gb: NotRequired[VolumeSizeInGB]
Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the current size of the volume. If you don't specify a size, the current size is retained.
throughput
instance-attribute
¶
throughput: NotRequired[NonNegativeInteger]
Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes. If you don't specify throughput and the volume remains gp3, the current throughput is retained.
volume_id
instance-attribute
¶
volume_id: VolumeId
Specifies the identifier of the volume to modify.
volume_type
instance-attribute
¶
volume_type: NotRequired[VolumeTypeEnum]
Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.