Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Instances
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.