Skip to content

ModifyVolumeRequest

Source code in docs_src/capo_workspaces_instances/types/modify_volume_request.py
class ModifyVolumeRequest(TypedDict, closed=True):
    volume_id: "capo_workspaces_instances.types.volume_id.VolumeId"
    """<p>Specifies the identifier of the volume to modify.</p>"""
    size_in_gb: NotRequired[
        "capo_workspaces_instances.types.volume_size_in_gb.VolumeSizeInGB"
    ]
    """<p>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.</p>"""
    volume_type: NotRequired[
        "capo_workspaces_instances.types.volume_type_enum.VolumeTypeEnum"
    ]
    """<p>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.</p>"""
    iops: NotRequired[
        "capo_workspaces_instances.types.non_negative_integer.NonNegativeInteger"
    ]
    """<p>Specifies the target IOPS rate of the volume. This parameter is valid only for <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.</p>"""
    throughput: NotRequired[
        "capo_workspaces_instances.types.non_negative_integer.NonNegativeInteger"
    ]
    """<p>Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for <code>gp3</code> volumes. If you don't specify throughput and the volume remains <code>gp3</code>, the current throughput is retained.</p>"""
    client_token: NotRequired[
        "capo_workspaces_instances.types.client_token.ClientToken"
    ]
    """<p>Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.</p>"""

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.