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.TreatmentConfig

Description

 
Synopsis

Documentation

data TreatmentConfig Source #

A structure that defines one treatment in an experiment. A treatment is a variation of the feature that you are including in the experiment.

See: newTreatmentConfig smart constructor.

Constructors

TreatmentConfig' 

Fields

Instances

Instances details
ToJSON TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

Generic TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

Associated Types

type Rep TreatmentConfig :: Type -> Type #

Read TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

Show TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

NFData TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

Methods

rnf :: TreatmentConfig -> () #

Eq TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

Hashable TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

type Rep TreatmentConfig Source # 
Instance details

Defined in Amazonka.Evidently.Types.TreatmentConfig

type Rep TreatmentConfig = D1 ('MetaData "TreatmentConfig" "Amazonka.Evidently.Types.TreatmentConfig" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "TreatmentConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "feature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "variation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newTreatmentConfig Source #

Create a value of TreatmentConfig 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:

$sel:description:TreatmentConfig', treatmentConfig_description - A description for this treatment.

$sel:feature:TreatmentConfig', treatmentConfig_feature - The feature that this experiment is testing.

$sel:name:TreatmentConfig', treatmentConfig_name - A name for this treatment.

$sel:variation:TreatmentConfig', treatmentConfig_variation - The name of the variation to use as this treatment in the experiment.

treatmentConfig_description :: Lens' TreatmentConfig (Maybe Text) Source #

A description for this treatment.

treatmentConfig_feature :: Lens' TreatmentConfig Text Source #

The feature that this experiment is testing.

treatmentConfig_name :: Lens' TreatmentConfig Text Source #

A name for this treatment.

treatmentConfig_variation :: Lens' TreatmentConfig Text Source #

The name of the variation to use as this treatment in the experiment.