Skip to content

CancelStepsInput

Source code in docs_src/capo_emr/types/cancel_steps_input.py
class CancelStepsInput(TypedDict, closed=True):
    cluster_id: NotRequired["capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"]
    """<p>The <code>ClusterID</code> for the specified steps that will be canceled. Use <a>RunJobFlow</a> and <a>ListClusters</a> to get ClusterIDs. </p>"""
    step_ids: NotRequired["capo_emr.types.step_ids_list.StepIdsList"]
    """<p>The list of <code>StepIDs</code> to cancel. Use <a>ListSteps</a> to get steps and their states for the specified cluster.</p>"""
    step_cancellation_option: NotRequired[
        "capo_emr.types.step_cancellation_option.StepCancellationOption"
    ]
    """<p>The option to choose to cancel <code>RUNNING</code> steps. By default, the value is <code>SEND_INTERRUPT</code>.</p>"""

cluster_id instance-attribute

cluster_id: NotRequired[XmlStringMaxLen256]

The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.

step_cancellation_option instance-attribute

step_cancellation_option: NotRequired[StepCancellationOption]

The option to choose to cancel RUNNING steps. By default, the value is SEND_INTERRUPT.

step_ids instance-attribute

step_ids: NotRequired[StepIdsList]

The list of StepIDs to cancel. Use ListSteps to get steps and their states for the specified cluster.