Skip to content

ExperimentDefinition

Source code in docs_src/capo_appconfig/types/experiment_definition.py
class ExperimentDefinition(TypedDict, closed=True):
    application_id: NotRequired["capo_appconfig.types.id.Id"]
    """<p>The application ID.</p>"""
    id: NotRequired["capo_appconfig.types.id.Id"]
    """<p>The experiment definition ID.</p>"""
    name: NotRequired["capo_appconfig.types.name.Name"]
    """<p>The name of the experiment definition.</p>"""
    hypothesis: NotRequired["capo_appconfig.types.description.Description"]
    """<p>The hypothesis that the experiment is designed to validate.</p>"""
    status: NotRequired[
        "capo_appconfig.types.experiment_definition_status.ExperimentDefinitionStatus"
    ]
    """<p>The current status of the experiment definition. Valid values: <code>ACTIVE</code>, <code>IDLE</code>, <code>ARCHIVED</code>.</p>"""
    configuration_profile_id: NotRequired["capo_appconfig.types.id.Id"]
    """<p>The configuration profile ID associated with the experiment.</p>"""
    environment_id: NotRequired["capo_appconfig.types.id.Id"]
    """<p>The environment ID where the experiment runs.</p>"""
    flag_key: NotRequired["capo_appconfig.types.flag_key.FlagKey"]
    """<p>The key of the feature flag used by the experiment.</p>"""
    audience_rule: NotRequired["capo_appconfig.types.rule.Rule"]
    """<p>The rule that defines which users are eligible to be assigned to treatments.</p>"""
    audience_description: NotRequired["capo_appconfig.types.description.Description"]
    """<p>A description of the intended audience for the experiment.</p>"""
    launch_criteria: NotRequired["capo_appconfig.types.description.Description"]
    """<p>The conditions under which the winning treatment should be launched.</p>"""
    treatments: NotRequired["capo_appconfig.types.treatment_list.TreatmentList"]
    """<p>The list of treatments defined for the experiment.</p>"""
    control: NotRequired["capo_appconfig.types.treatment.Treatment"]
    """<p>The control treatment used as the baseline for comparison.</p>"""
    created_at: NotRequired["capo_appconfig.types.iso8601_date_time.Iso8601DateTime"]
    """<p>The date and time the experiment definition was created, in ISO 8601 format.</p>"""
    updated_at: NotRequired["capo_appconfig.types.iso8601_date_time.Iso8601DateTime"]
    """<p>The date and time the experiment definition was last updated, in ISO 8601 format.</p>"""
    kms_key_identifier: NotRequired[
        "capo_appconfig.types.kms_key_identifier.KmsKeyIdentifier"
    ]
    """<p>The Amazon Resource Name (ARN) of the KMS key used to encrypt experiment data.</p>"""

application_id instance-attribute

application_id: NotRequired[Id]

The application ID.

audience_description instance-attribute

audience_description: NotRequired[Description]

A description of the intended audience for the experiment.

audience_rule instance-attribute

audience_rule: NotRequired[Rule]

The rule that defines which users are eligible to be assigned to treatments.

configuration_profile_id instance-attribute

configuration_profile_id: NotRequired[Id]

The configuration profile ID associated with the experiment.

control instance-attribute

control: NotRequired[Treatment]

The control treatment used as the baseline for comparison.

created_at instance-attribute

created_at: NotRequired[Iso8601DateTime]

The date and time the experiment definition was created, in ISO 8601 format.

environment_id instance-attribute

environment_id: NotRequired[Id]

The environment ID where the experiment runs.

flag_key instance-attribute

flag_key: NotRequired[FlagKey]

The key of the feature flag used by the experiment.

hypothesis instance-attribute

hypothesis: NotRequired[Description]

The hypothesis that the experiment is designed to validate.

id instance-attribute

id: NotRequired[Id]

The experiment definition ID.

kms_key_identifier instance-attribute

kms_key_identifier: NotRequired[KmsKeyIdentifier]

The Amazon Resource Name (ARN) of the KMS key used to encrypt experiment data.

launch_criteria instance-attribute

launch_criteria: NotRequired[Description]

The conditions under which the winning treatment should be launched.

name instance-attribute

name: NotRequired[Name]

The name of the experiment definition.

status instance-attribute

status: NotRequired[ExperimentDefinitionStatus]

The current status of the experiment definition. Valid values: ACTIVE, IDLE, ARCHIVED.

treatments instance-attribute

treatments: NotRequired[TreatmentList]

The list of treatments defined for the experiment.

updated_at instance-attribute

updated_at: NotRequired[Iso8601DateTime]

The date and time the experiment definition was last updated, in ISO 8601 format.