PostDialogCodeHookInvocationSpecificationProperty Struct
Specifies next steps to run after the dialog code hook finishes.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
python
java
csharp
// Install: dotnet add package Amazon.CDK.Lib
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
Properties
failureConditionaloptionalIResolvable | CfnBot.failure_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]failureConditionaloptionalIResolvableFailureConditionaloptionalIResolvableFailureConditionaloptionalinterface{} #A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the `State` field of the `Intent` object set to `Failed` .
failureNextStepoptionalIResolvable | CfnBot.DialogStatePropertyfailure_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]failureNextStepoptionalIResolvableFailureNextStepoptionalIResolvableFailureNextStepoptionalinterface{} #Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the `State` field of the `Intent` object set to `Failed` .
failureResponseoptionalIResolvable | CfnBot.failure_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]failureResponseoptionalIResolvableFailureResponseoptionalIResolvableFailureResponseoptionalinterface{} #Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.
successConditionaloptionalIResolvable | CfnBot.success_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]successConditionaloptionalIResolvableSuccessConditionaloptionalIResolvableSuccessConditionaloptionalinterface{} #A list of conditional branches to evaluate after the dialog code hook finishes successfully.
successNextStepoptionalIResolvable | CfnBot.DialogStatePropertysuccess_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]successNextStepoptionalIResolvableSuccessNextStepoptionalIResolvableSuccessNextStepoptionalinterface{} #Specifics the next step the bot runs after the dialog code hook finishes successfully.
successResponseoptionalIResolvable | CfnBot.success_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]successResponseoptionalIResolvableSuccessResponseoptionalIResolvableSuccessResponseoptionalinterface{} #Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
timeoutConditionaloptionalIResolvable | CfnBot.timeout_conditionaloptionaltyping.Union[IResolvable, ConditionalSpecificationProperty]timeoutConditionaloptionalIResolvableTimeoutConditionaloptionalIResolvableTimeoutConditionaloptionalinterface{} #A list of conditional branches to evaluate if the code hook times out.
timeoutNextStepoptionalIResolvable | CfnBot.DialogStatePropertytimeout_next_stepoptionaltyping.Union[IResolvable, DialogStateProperty]timeoutNextStepoptionalIResolvableTimeoutNextStepoptionalIResolvableTimeoutNextStepoptionalinterface{} #Specifies the next step that the bot runs when the code hook times out.
timeoutResponseoptionalIResolvable | CfnBot.timeout_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]timeoutResponseoptionalIResolvableTimeoutResponseoptionalIResolvableTimeoutResponseoptionalinterface{} #Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.