amazonka-evidently-2.0: Amazon CloudWatch Evidently SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Evidently.Types.Experiment

Description

 
Synopsis

Documentation

data Experiment Source #

A structure containing the configuration details of an experiment.

See: newExperiment smart constructor.

Constructors

Experiment' 

Fields

  • description :: Maybe Text

    A description of the experiment.

  • execution :: Maybe ExperimentExecution

    A structure that contains the date and time that the experiment started and ended.

  • metricGoals :: Maybe (NonEmpty MetricGoal)

    An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

  • onlineAbDefinition :: Maybe OnlineAbDefinition

    A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

  • project :: Maybe Text

    The name or ARN of the project that contains this experiment.

  • randomizationSalt :: Maybe Text

    This value is used when Evidently assigns a particular user session to the experiment. It helps create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt.

  • samplingRate :: Maybe Natural

    In thousandths of a percent, the amount of the available audience that is allocated to this experiment. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

    This is represented in thousandths of a percent, so a value of 10,000 is 10% of the available audience.

  • schedule :: Maybe ExperimentSchedule

    A structure that contains the time and date that Evidently completed the analysis of the experiment.

  • segment :: Maybe Text

    The audience segment being used for the experiment, if a segment is being used.

  • statusReason :: Maybe Text

    If the experiment was stopped, this is the string that was entered by the person who stopped the experiment, to explain why it was stopped.

  • tags :: Maybe (HashMap Text Text)

    The list of tag keys and values associated with this experiment.

  • treatments :: Maybe (NonEmpty Treatment)

    An array of structures that describe the configuration of each feature variation used in the experiment.

  • arn :: Text

    The ARN of the experiment.

  • createdTime :: POSIX

    The date and time that the experiment is first created.

  • lastUpdatedTime :: POSIX

    The date and time that the experiment was most recently updated.

  • name :: Text

    The name of the experiment.

  • status :: ExperimentStatus

    The current state of the experiment.

  • type' :: ExperimentType

    The type of this experiment. Currently, this value must be aws.experiment.onlineab.

Instances

Instances details
FromJSON Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

Generic Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

Associated Types

type Rep Experiment :: Type -> Type #

Read Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

Show Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

NFData Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

Methods

rnf :: Experiment -> () #

Eq Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

Hashable Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

type Rep Experiment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Experiment

type Rep Experiment = D1 ('MetaData "Experiment" "Amazonka.Evidently.Types.Experiment" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "Experiment'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "execution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExperimentExecution))) :*: (S1 ('MetaSel ('Just "metricGoals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MetricGoal))) :*: S1 ('MetaSel ('Just "onlineAbDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OnlineAbDefinition)))) :*: ((S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "randomizationSalt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "samplingRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "schedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExperimentSchedule)) :*: S1 ('MetaSel ('Just "segment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "treatments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Treatment))) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExperimentStatus) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExperimentType)))))))

newExperiment Source #

Create a value of Experiment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

Experiment, experiment_description - A description of the experiment.

$sel:execution:Experiment', experiment_execution - A structure that contains the date and time that the experiment started and ended.

$sel:metricGoals:Experiment', experiment_metricGoals - An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

$sel:onlineAbDefinition:Experiment', experiment_onlineAbDefinition - A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

$sel:project:Experiment', experiment_project - The name or ARN of the project that contains this experiment.

$sel:randomizationSalt:Experiment', experiment_randomizationSalt - This value is used when Evidently assigns a particular user session to the experiment. It helps create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt.

$sel:samplingRate:Experiment', experiment_samplingRate - In thousandths of a percent, the amount of the available audience that is allocated to this experiment. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

This is represented in thousandths of a percent, so a value of 10,000 is 10% of the available audience.

$sel:schedule:Experiment', experiment_schedule - A structure that contains the time and date that Evidently completed the analysis of the experiment.

$sel:segment:Experiment', experiment_segment - The audience segment being used for the experiment, if a segment is being used.

$sel:statusReason:Experiment', experiment_statusReason - If the experiment was stopped, this is the string that was entered by the person who stopped the experiment, to explain why it was stopped.

$sel:tags:Experiment', experiment_tags - The list of tag keys and values associated with this experiment.

$sel:treatments:Experiment', experiment_treatments - An array of structures that describe the configuration of each feature variation used in the experiment.

$sel:arn:Experiment', experiment_arn - The ARN of the experiment.

$sel:createdTime:Experiment', experiment_createdTime - The date and time that the experiment is first created.

$sel:lastUpdatedTime:Experiment', experiment_lastUpdatedTime - The date and time that the experiment was most recently updated.

Experiment, experiment_name - The name of the experiment.

$sel:status:Experiment', experiment_status - The current state of the experiment.

$sel:type':Experiment', experiment_type - The type of this experiment. Currently, this value must be aws.experiment.onlineab.

experiment_description :: Lens' Experiment (Maybe Text) Source #

A description of the experiment.

experiment_execution :: Lens' Experiment (Maybe ExperimentExecution) Source #

A structure that contains the date and time that the experiment started and ended.

experiment_metricGoals :: Lens' Experiment (Maybe (NonEmpty MetricGoal)) Source #

An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

experiment_onlineAbDefinition :: Lens' Experiment (Maybe OnlineAbDefinition) Source #

A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

experiment_project :: Lens' Experiment (Maybe Text) Source #

The name or ARN of the project that contains this experiment.

experiment_randomizationSalt :: Lens' Experiment (Maybe Text) Source #

This value is used when Evidently assigns a particular user session to the experiment. It helps create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt.

experiment_samplingRate :: Lens' Experiment (Maybe Natural) Source #

In thousandths of a percent, the amount of the available audience that is allocated to this experiment. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

This is represented in thousandths of a percent, so a value of 10,000 is 10% of the available audience.

experiment_schedule :: Lens' Experiment (Maybe ExperimentSchedule) Source #

A structure that contains the time and date that Evidently completed the analysis of the experiment.

experiment_segment :: Lens' Experiment (Maybe Text) Source #

The audience segment being used for the experiment, if a segment is being used.

experiment_statusReason :: Lens' Experiment (Maybe Text) Source #

If the experiment was stopped, this is the string that was entered by the person who stopped the experiment, to explain why it was stopped.

experiment_tags :: Lens' Experiment (Maybe (HashMap Text Text)) Source #

The list of tag keys and values associated with this experiment.

experiment_treatments :: Lens' Experiment (Maybe (NonEmpty Treatment)) Source #

An array of structures that describe the configuration of each feature variation used in the experiment.

experiment_arn :: Lens' Experiment Text Source #

The ARN of the experiment.

experiment_createdTime :: Lens' Experiment UTCTime Source #

The date and time that the experiment is first created.

experiment_lastUpdatedTime :: Lens' Experiment UTCTime Source #

The date and time that the experiment was most recently updated.

experiment_name :: Lens' Experiment Text Source #

The name of the experiment.

experiment_status :: Lens' Experiment ExperimentStatus Source #

The current state of the experiment.

experiment_type :: Lens' Experiment ExperimentType Source #

The type of this experiment. Currently, this value must be aws.experiment.onlineab.