| 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.SlotDefaultValueSpec
Description
Documentation
data SlotDefaultValueSpec Source #
Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.
See: newSlotDefaultValueSpec smart constructor.
Constructors
| SlotDefaultValueSpec' | |
Fields 
  | |
Instances
newSlotDefaultValueSpec :: SlotDefaultValueSpec Source #
Create a value of SlotDefaultValueSpec 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:defaultValueList:SlotDefaultValueSpec', slotDefaultValueSpec_defaultValueList - The default values for a slot. You can specify more than one default.
 For example, you can specify a default value to use from a matching
 context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.
slotDefaultValueSpec_defaultValueList :: Lens' SlotDefaultValueSpec [SlotDefaultValue] Source #
The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.