Skip to content

ModifyVolumeAttributeRequest

Source code in docs_src/capo_ec2/types/modify_volume_attribute_request.py
class ModifyVolumeAttributeRequest(TypedDict, closed=True):
    auto_enable_io: NotRequired[
        "capo_ec2.types.attribute_boolean_value.AttributeBooleanValue"
    ]
    """<p>Indicates whether the volume should be auto-enabled for I/O operations.</p>"""
    volume_id: NotRequired["capo_ec2.types.volume_id.VolumeId"]
    """<p>The ID of the volume.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""

auto_enable_io instance-attribute

auto_enable_io: NotRequired[AttributeBooleanValue]

Indicates whether the volume should be auto-enabled for I/O operations.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

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.

volume_id instance-attribute

volume_id: NotRequired[VolumeId]

The ID of the volume.