| 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.LexV2Models.Types.SlotValueOverride
Description
Synopsis
- data SlotValueOverride = SlotValueOverride' {}
- newSlotValueOverride :: SlotValueOverride
- slotValueOverride_shape :: Lens' SlotValueOverride (Maybe SlotShape)
- slotValueOverride_value :: Lens' SlotValueOverride (Maybe SlotValue)
- slotValueOverride_values :: Lens' SlotValueOverride (Maybe [SlotValueOverride])
Documentation
data SlotValueOverride Source #
The slot values that Amazon Lex uses when it sets slot values in a dialog step.
See: newSlotValueOverride smart constructor.
Constructors
| SlotValueOverride' | |
Fields
| |
Instances
newSlotValueOverride :: SlotValueOverride Source #
Create a value of SlotValueOverride 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:shape:SlotValueOverride', slotValueOverride_shape - When the shape value is List, it indicates that the values field
contains a list of slot values. When the value is Scalar, it indicates
that the value field contains a single value.
$sel:value:SlotValueOverride', slotValueOverride_value - The current value of the slot.
$sel:values:SlotValueOverride', slotValueOverride_values - A list of one or more values that the user provided for the slot. For
example, for a slot that elicits pizza toppings, the values might be
"pepperoni" and "pineapple."
slotValueOverride_shape :: Lens' SlotValueOverride (Maybe SlotShape) Source #
When the shape value is List, it indicates that the values field
contains a list of slot values. When the value is Scalar, it indicates
that the value field contains a single value.
slotValueOverride_value :: Lens' SlotValueOverride (Maybe SlotValue) Source #
The current value of the slot.
slotValueOverride_values :: Lens' SlotValueOverride (Maybe [SlotValueOverride]) Source #
A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."