AWS::Lex::Bot PostDialogCodeHookInvocationSpecification
Specifies next steps to run after the dialog code hook finishes.
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 dialog 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 dialog 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 the user input when the code hook fails.
Required: No
Type: ResponseSpecification
Update requires: No interruption
SuccessConditional
-
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
Required: No
Type: ConditionalSpecification
Update requires: No interruption
SuccessNextStep
-
Specifics the next step the bot runs after the dialog code hook finishes successfully.
Required: No
Type: DialogState
Update requires: No interruption
SuccessResponse
-
Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
Required: No
Type: ResponseSpecification
Update requires: No interruption
TimeoutConditional
-
A list of conditional branches to evaluate if the code hook times out.
Required: No
Type: ConditionalSpecification
Update requires: No interruption
TimeoutNextStep
-
Specifies the next step that the bot runs when the 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 to the user input when the code hook times out.
Required: No
Type: ResponseSpecification
Update requires: No interruption