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 IntentClosingSetting = IntentClosingSetting' {}
- newIntentClosingSetting :: IntentClosingSetting
- intentClosingSetting_active :: Lens' IntentClosingSetting (Maybe Bool)
- intentClosingSetting_closingResponse :: Lens' IntentClosingSetting (Maybe ResponseSpecification)
- intentClosingSetting_conditional :: Lens' IntentClosingSetting (Maybe ConditionalSpecification)
- intentClosingSetting_nextStep :: Lens' IntentClosingSetting (Maybe DialogState)
Documentation
data IntentClosingSetting Source #
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
See: newIntentClosingSetting
smart constructor.
IntentClosingSetting' | |
|
Instances
newIntentClosingSetting :: IntentClosingSetting Source #
Create a value of IntentClosingSetting
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:
IntentClosingSetting
, intentClosingSetting_active
- Specifies whether an intent's closing response is used. When this field
is false, the closing response isn't sent to the user. If the active
field isn't specified, the default is true.
$sel:closingResponse:IntentClosingSetting'
, intentClosingSetting_closingResponse
- The response that Amazon Lex sends to the user when the intent is
complete.
$sel:conditional:IntentClosingSetting'
, intentClosingSetting_conditional
- A list of conditional branches associated with the intent's closing
response. These branches are executed when the nextStep
attribute is
set to EvalutateConditional
.
$sel:nextStep:IntentClosingSetting'
, intentClosingSetting_nextStep
- Specifies the next step that the bot executes after playing the
intent's closing response.
intentClosingSetting_active :: Lens' IntentClosingSetting (Maybe Bool) Source #
Specifies whether an intent's closing response is used. When this field
is false, the closing response isn't sent to the user. If the active
field isn't specified, the default is true.
intentClosingSetting_closingResponse :: Lens' IntentClosingSetting (Maybe ResponseSpecification) Source #
The response that Amazon Lex sends to the user when the intent is complete.
intentClosingSetting_conditional :: Lens' IntentClosingSetting (Maybe ConditionalSpecification) Source #
A list of conditional branches associated with the intent's closing
response. These branches are executed when the nextStep
attribute is
set to EvalutateConditional
.
intentClosingSetting_nextStep :: Lens' IntentClosingSetting (Maybe DialogState) Source #
Specifies the next step that the bot executes after playing the intent's closing response.