| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Evidently.Types.Variation
Description
Synopsis
- data Variation = Variation' {}
- newVariation :: Variation
- variation_name :: Lens' Variation (Maybe Text)
- variation_value :: Lens' Variation (Maybe VariableValue)
Documentation
This structure contains the name and variation value of one variation of a feature.
See: newVariation smart constructor.
Constructors
| Variation' | |
Instances
| FromJSON Variation Source # | |
| Generic Variation Source # | |
| Read Variation Source # | |
| Show Variation Source # | |
| NFData Variation Source # | |
Defined in Amazonka.Evidently.Types.Variation | |
| Eq Variation Source # | |
| Hashable Variation Source # | |
Defined in Amazonka.Evidently.Types.Variation | |
| type Rep Variation Source # | |
Defined in Amazonka.Evidently.Types.Variation type Rep Variation = D1 ('MetaData "Variation" "Amazonka.Evidently.Types.Variation" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "Variation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VariableValue)))) | |
newVariation :: Variation Source #
Create a value of Variation 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:name:Variation', variation_name - The name of the variation.
$sel:value:Variation', variation_value - The value assigned to this variation.
variation_value :: Lens' Variation (Maybe VariableValue) Source #
The value assigned to this variation.