Skip to content

CancelConversionRequest

Source code in docs_src/capo_ec2/types/cancel_conversion_request.py
class CancelConversionRequest(TypedDict, closed=True):
    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>"""
    conversion_task_id: NotRequired[
        "capo_ec2.types.conversion_task_id.ConversionTaskId"
    ]
    """<p>The ID of the conversion task.</p>"""
    reason_message: NotRequired["capo_ec2.types.string.String"]
    """<p>The reason for canceling the conversion task.</p>"""

conversion_task_id instance-attribute

conversion_task_id: NotRequired[ConversionTaskId]

The ID of the conversion task.

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.

reason_message instance-attribute

reason_message: NotRequired[String]

The reason for canceling the conversion task.