Skip to content

CreateExperimentInput

Source code in docs_src/capo_cloudwatchomni/types/create_experiment_input.py
class CreateExperimentInput(TypedDict, closed=True):
    client_token: NotRequired["capo_cloudwatchomni.types.client_token.ClientToken"]
    """Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a second experiment."""
    name: NotRequired["capo_cloudwatchomni.types.experiment_name.ExperimentName"]
    """The name of the experiment."""
    description: NotRequired["capo_cloudwatchomni.types.description.Description"]
    """An optional description of the experiment. Up to 1,024 characters, with no control characters."""
    target: "capo_cloudwatchomni.types.experiment_target.ExperimentTarget"
    """The target that the experiment tests, including its service name, environment, and definition. Cannot be changed after the experiment is created."""
    experiment_type: "capo_cloudwatchomni.types.experiment_type.ExperimentType"
    """The type of the experiment. Cannot be changed after the experiment is created."""
    experiment_config: "capo_cloudwatchomni.types.experiment_config.ExperimentConfig"
    """The configuration for the experiment's type. Its member must match experimentType: a DATASET experiment takes experimentConfig.dataset. The caller must have iam:PassRole on the execution role, the role must be assumable, and the results log group must exist and use the Standard log class."""
    tags: NotRequired["capo_cloudwatchomni.types.tag_map.TagMap"]
    """The tags to associate with the experiment. Tag keys that begin with the reserved `aws:` prefix are rejected with a ValidationException."""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a second experiment.

description instance-attribute

description: NotRequired[Description]

An optional description of the experiment. Up to 1,024 characters, with no control characters.

experiment_config instance-attribute

experiment_config: ExperimentConfig

The configuration for the experiment's type. Its member must match experimentType: a DATASET experiment takes experimentConfig.dataset. The caller must have iam:PassRole on the execution role, the role must be assumable, and the results log group must exist and use the Standard log class.

experiment_type instance-attribute

experiment_type: ExperimentType

The type of the experiment. Cannot be changed after the experiment is created.

name instance-attribute

name: NotRequired[ExperimentName]

The name of the experiment.

tags instance-attribute

tags: NotRequired[TagMap]

The tags to associate with the experiment. Tag keys that begin with the reserved aws: prefix are rejected with a ValidationException.

target instance-attribute

The target that the experiment tests, including its service name, environment, and definition. Cannot be changed after the experiment is created.