Skip to content

ImportVolumeRequest

Source code in docs_src/capo_ec2/types/import_volume_request.py
class ImportVolumeRequest(TypedDict, closed=True):
    availability_zone_id: NotRequired[
        "capo_ec2.types.availability_zone_id.AvailabilityZoneId"
    ]
    """<p>The ID of the Availability Zone for the resulting EBS volume.</p> <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified, but not both.</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>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone for the resulting EBS volume.</p> <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> must be specified, but not both.</p>"""
    image: NotRequired["capo_ec2.types.disk_image_detail.DiskImageDetail"]
    """<p>The disk image.</p>"""
    description: NotRequired["capo_ec2.types.string.String"]
    """<p>A description of the volume.</p>"""
    volume: NotRequired["capo_ec2.types.volume_detail.VolumeDetail"]
    """<p>The volume size.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone for the resulting EBS volume.

Either AvailabilityZone or AvailabilityZoneId must be specified, but not both.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[AvailabilityZoneId]

The ID of the Availability Zone for the resulting EBS volume.

Either AvailabilityZone or AvailabilityZoneId must be specified, but not both.

description instance-attribute

description: NotRequired[String]

A description of the volume.

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.

image instance-attribute

image: NotRequired[DiskImageDetail]

The disk image.

volume instance-attribute

volume: NotRequired[VolumeDetail]

The volume size.