Skip to content

StopExperimentRunInput

Source code in docs_src/capo_cloudwatchomni/types/stop_experiment_run_input.py
class StopExperimentRunInput(TypedDict, closed=True):
    experiment_id: "capo_cloudwatchomni.types.experiment_id.ExperimentId"
    """The ID of the experiment the run belongs to."""
    run_id: "capo_cloudwatchomni.types.experiment_run_id.ExperimentRunId"
    """The ID of the run to stop."""
    detail: NotRequired["capo_cloudwatchomni.types.detail_text.DetailText"]
    """An optional reason for stopping the run, stored as the run's statusDetail. For example, "agent unreachable after 5 consecutive errors"."""

detail instance-attribute

detail: NotRequired[DetailText]

An optional reason for stopping the run, stored as the run's statusDetail. For example, "agent unreachable after 5 consecutive errors".

experiment_id instance-attribute

experiment_id: ExperimentId

The ID of the experiment the run belongs to.

run_id instance-attribute

The ID of the run to stop.