Skip to content

UpdateExperimentInput

Source code in docs_src/capo_cloudwatchomni/types/update_experiment_input.py
class UpdateExperimentInput(TypedDict, closed=True):
    experiment_id: "capo_cloudwatchomni.types.experiment_id.ExperimentId"
    """The ID of the experiment to update."""
    name: NotRequired["capo_cloudwatchomni.types.experiment_name.ExperimentName"]
    """A new name for the experiment. Omit to leave unchanged."""
    description: NotRequired["capo_cloudwatchomni.types.description.Description"]
    """A new description of the experiment. Omit to leave unchanged; an empty string clears it."""
    experiment_config: NotRequired[
        "capo_cloudwatchomni.types.experiment_config.ExperimentConfig"
    ]
    """A new configuration for the experiment. Omit to leave unchanged. Replaces the configuration in full, and its member must match the experiment's type: a DATASET experiment takes only experimentConfig.dataset. The configuration is validated as in CreateExperiment: a new execution role requires iam:PassRole, the role must be assumable, and the results log group must exist and use the Standard log class. Applies to runs started after the update."""
    baseline_run_id: NotRequired[
        "capo_cloudwatchomni.types.experiment_run_id_or_empty.ExperimentRunIdOrEmpty"
    ]
    """The ID of the run to make the experiment's baseline. Omit to leave unchanged; an empty string clears it. The run must be a COMPLETED target run of this experiment. A live control's run is rejected whether or not it has ended, but a run used as another run's historical control is a target run and is accepted. Otherwise fails with a ValidationException. Deleting the baseline run clears the baseline."""

baseline_run_id instance-attribute

baseline_run_id: NotRequired[ExperimentRunIdOrEmpty]

The ID of the run to make the experiment's baseline. Omit to leave unchanged; an empty string clears it. The run must be a COMPLETED target run of this experiment. A live control's run is rejected whether or not it has ended, but a run used as another run's historical control is a target run and is accepted. Otherwise fails with a ValidationException. Deleting the baseline run clears the baseline.

description instance-attribute

description: NotRequired[Description]

A new description of the experiment. Omit to leave unchanged; an empty string clears it.

experiment_config instance-attribute

experiment_config: NotRequired[ExperimentConfig]

A new configuration for the experiment. Omit to leave unchanged. Replaces the configuration in full, and its member must match the experiment's type: a DATASET experiment takes only experimentConfig.dataset. The configuration is validated as in CreateExperiment: a new execution role requires iam:PassRole, the role must be assumable, and the results log group must exist and use the Standard log class. Applies to runs started after the update.

experiment_id instance-attribute

experiment_id: ExperimentId

The ID of the experiment to update.

name instance-attribute

name: NotRequired[ExperimentName]

A new name for the experiment. Omit to leave unchanged.