| 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.LexModels.Types.EnumerationValue
Description
Synopsis
Documentation
data EnumerationValue Source #
Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.
For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values
- thick
- thin
- stuffed
See: newEnumerationValue smart constructor.
Constructors
| EnumerationValue' | |
Instances
Arguments
| :: Text | |
| -> EnumerationValue |
Create a value of EnumerationValue 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:synonyms:EnumerationValue', enumerationValue_synonyms - Additional values related to the slot type value.
$sel:value:EnumerationValue', enumerationValue_value - The value of the slot type.
enumerationValue_synonyms :: Lens' EnumerationValue (Maybe [Text]) Source #
Additional values related to the slot type value.
enumerationValue_value :: Lens' EnumerationValue Text Source #
The value of the slot type.