Provides a setting that determines whether the post-fulfillment response is sent to the user. For more information, see https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"FailureConditional" : ConditionalSpecification
,
"FailureNextStep" : DialogState
,
"FailureResponse" : ResponseSpecification
,
"SuccessConditional" : ConditionalSpecification
,
"SuccessNextStep" : DialogState
,
"SuccessResponse" : ResponseSpecification
,
"TimeoutConditional" : ConditionalSpecification
,
"TimeoutNextStep" : DialogState
,
"TimeoutResponse" : ResponseSpecification
}
YAML
FailureConditional:
ConditionalSpecification
FailureNextStep:
DialogState
FailureResponse:
ResponseSpecification
SuccessConditional:
ConditionalSpecification
SuccessNextStep:
DialogState
SuccessResponse:
ResponseSpecification
TimeoutConditional:
ConditionalSpecification
TimeoutNextStep:
DialogState
TimeoutResponse:
ResponseSpecification
Properties
FailureConditional
-
A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.Required: No
Type: ConditionalSpecification
Update requires: No interruption
FailureNextStep
-
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.Required: No
Type: DialogState
Update requires: No interruption
FailureResponse
-
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't successful.
Required: No
Type: ResponseSpecification
Update requires: No interruption
SuccessConditional
-
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
Required: No
Type: ConditionalSpecification
Update requires: No interruption
SuccessNextStep
-
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
Required: No
Type: DialogState
Update requires: No interruption
SuccessResponse
-
Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.
Required: No
Type: ResponseSpecification
Update requires: No interruption
TimeoutConditional
-
A list of conditional branches to evaluate if the fulfillment code hook times out.
Required: No
Type: ConditionalSpecification
Update requires: No interruption
TimeoutNextStep
-
Specifies the next step that the bot runs when the fulfillment code hook times out.
Required: No
Type: DialogState
Update requires: No interruption
TimeoutResponse
-
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn't completed within the timeout period.
Required: No
Type: ResponseSpecification
Update requires: No interruption