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 |
Synopsis
- data SlotValue = SlotValue' {}
- newSlotValue :: SlotValue
- slotValue_interpretedValue :: Lens' SlotValue (Maybe Text)
Documentation
The value to set in a slot.
See: newSlotValue
smart constructor.
SlotValue' | |
|
Instances
FromJSON SlotValue Source # | |
ToJSON SlotValue Source # | |
Defined in Amazonka.LexV2Models.Types.SlotValue | |
Generic SlotValue Source # | |
Read SlotValue Source # | |
Show SlotValue Source # | |
NFData SlotValue Source # | |
Defined in Amazonka.LexV2Models.Types.SlotValue | |
Eq SlotValue Source # | |
Hashable SlotValue Source # | |
Defined in Amazonka.LexV2Models.Types.SlotValue | |
type Rep SlotValue Source # | |
Defined in Amazonka.LexV2Models.Types.SlotValue type Rep SlotValue = D1 ('MetaData "SlotValue" "Amazonka.LexV2Models.Types.SlotValue" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SlotValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "interpretedValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newSlotValue :: SlotValue Source #
Create a value of SlotValue
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:interpretedValue:SlotValue'
, slotValue_interpretedValue
- The value that Amazon Lex determines for the slot. The actual value
depends on the setting of the value selection strategy for the bot. You
can choose to use the value entered by the user, or you can have Amazon
Lex choose the first value in the resolvedValues
list.
slotValue_interpretedValue :: Lens' SlotValue (Maybe Text) Source #
The value that Amazon Lex determines for the slot. The actual value
depends on the setting of the value selection strategy for the bot. You
can choose to use the value entered by the user, or you can have Amazon
Lex choose the first value in the resolvedValues
list.