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
Documentation
data IntentOverride Source #
Override settings to configure the intent state.
See: newIntentOverride
smart constructor.
IntentOverride' | |
|
Instances
newIntentOverride :: IntentOverride Source #
Create a value of IntentOverride
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:name:IntentOverride'
, intentOverride_name
- The name of the intent. Only required when you're switching intents.
$sel:slots:IntentOverride'
, intentOverride_slots
- A map of all of the slot value overrides for the intent. The name of the
slot maps to the value of the slot. Slots that are not included in the
map aren't overridden.,
intentOverride_name :: Lens' IntentOverride (Maybe Text) Source #
The name of the intent. Only required when you're switching intents.
intentOverride_slots :: Lens' IntentOverride (Maybe (HashMap Text SlotValueOverride)) Source #
A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.,