Skip to content

ConversionTask

Source code in docs_src/capo_ec2/types/conversion_task.py
class ConversionTask(TypedDict, closed=True):
    conversion_task_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the conversion task.</p>"""
    expiration_time: NotRequired["capo_ec2.types.string.String"]
    """<p>The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.</p>"""
    import_instance: NotRequired[
        "capo_ec2.types.import_instance_task_details.ImportInstanceTaskDetails"
    ]
    """<p>If the task is for importing an instance, this contains information about the import instance task.</p>"""
    import_volume: NotRequired[
        "capo_ec2.types.import_volume_task_details.ImportVolumeTaskDetails"
    ]
    """<p>If the task is for importing a volume, this contains information about the import volume task.</p>"""
    state: NotRequired["capo_ec2.types.conversion_task_state.ConversionTaskState"]
    """<p>The state of the conversion task.</p>"""
    status_message: NotRequired["capo_ec2.types.string.String"]
    """<p>The status message related to the conversion task.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags assigned to the task.</p>"""

conversion_task_id instance-attribute

conversion_task_id: NotRequired[String]

The ID of the conversion task.

expiration_time instance-attribute

expiration_time: NotRequired[String]

The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.

import_instance instance-attribute

import_instance: NotRequired[ImportInstanceTaskDetails]

If the task is for importing an instance, this contains information about the import instance task.

import_volume instance-attribute

import_volume: NotRequired[ImportVolumeTaskDetails]

If the task is for importing a volume, this contains information about the import volume task.

state instance-attribute

state: NotRequired[ConversionTaskState]

The state of the conversion task.

status_message instance-attribute

status_message: NotRequired[String]

The status message related to the conversion task.

tags instance-attribute

tags: NotRequired[TagList]

Any tags assigned to the task.