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

Description

 
Synopsis

Documentation

data Treatment 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: newTreatment smart constructor.

Constructors

Treatment' 

Fields

Instances

Instances details
FromJSON Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

Generic Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

Associated Types

type Rep Treatment :: Type -> Type #

Read Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

Show Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

NFData Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

Methods

rnf :: Treatment -> () #

Eq Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

Hashable Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

type Rep Treatment Source # 
Instance details

Defined in Amazonka.Evidently.Types.Treatment

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

newTreatment Source #

Create a value of Treatment 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:Treatment', treatment_description - The description of the treatment.

$sel:featureVariations:Treatment', treatment_featureVariations - The feature variation used for this treatment. This is a key-value pair. The key is the feature name, and the value is the variation name.

$sel:name:Treatment', treatment_name - The name of this treatment.

treatment_description :: Lens' Treatment (Maybe Text) Source #

The description of the treatment.

treatment_featureVariations :: Lens' Treatment (Maybe (HashMap Text Text)) Source #

The feature variation used for this treatment. This is a key-value pair. The key is the feature name, and the value is the variation name.

treatment_name :: Lens' Treatment Text Source #

The name of this treatment.