Skip to content

PutExperimentRunResultsInput

Source code in docs_src/capo_cloudwatchomni/types/put_experiment_run_results_input.py
class PutExperimentRunResultsInput(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, chosen by the caller. A runId that is new to the experiment creates a run. A call that fails validation does not create the run."""
    client_token: NotRequired["capo_cloudwatchomni.types.client_token.ClientToken"]
    """Idempotency token for safe retries. Repeated requests with the same token and identical input return the recorded response. A call that fails validation frees the token, so the corrected batch can be resent with the same token."""
    run: NotRequired["capo_cloudwatchomni.types.reported_run_info.ReportedRunInfo"]
    """The details of the run. Required on the call that creates the run; optional afterwards, and must match the run when present."""
    results: (
        "capo_cloudwatchomni.types.experiment_case_result_list.ExperimentCaseResultList"
    )
    """The cases to report: up to 25 distinct cases, written atomically so that all are accepted or none are. Each item is at most 256 KB as canonical JSON."""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Idempotency token for safe retries. Repeated requests with the same token and identical input return the recorded response. A call that fails validation frees the token, so the corrected batch can be resent with the same token.

experiment_id instance-attribute

experiment_id: ExperimentId

The ID of the experiment the run belongs to.

results instance-attribute

The cases to report: up to 25 distinct cases, written atomically so that all are accepted or none are. Each item is at most 256 KB as canonical JSON.

run instance-attribute

run: NotRequired[ReportedRunInfo]

The details of the run. Required on the call that creates the run; optional afterwards, and must match the run when present.

run_id instance-attribute

The ID of the run, chosen by the caller. A runId that is new to the experiment creates a run. A call that fails validation does not create the run.