Skip to content
v2.275.0

PostDialogCodeHookInvocationSpecificationProperty Struct ​

Specifies next steps to run after the dialog code hook finishes.

Example ​

ts
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.

Properties ​

failureConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertyfailure_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.ResponseSpecificationPropertyfailure_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.ConditionalSpecificationPropertysuccess_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.ResponseSpecificationPropertysuccess_responseoptionaltyping.Union[IResolvable, ResponseSpecificationProperty]successResponseoptionalIResolvableSuccessResponseoptionalIResolvableSuccessResponseoptionalinterface{}#
Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
timeoutConditionaloptionalIResolvable | CfnBot.ConditionalSpecificationPropertytimeout_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.ResponseSpecificationPropertytimeout_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.