interface PostDialogCodeHookInvocationSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_PostDialogCodeHookInvocationSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty |
Python | aws_cdk.aws_lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » PostDialogCodeHookInvocationSpecificationProperty |
Specifies next steps to run after the dialog code hook finishes.
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Properties
| Name | Type | Description |
|---|---|---|
| failure | IResolvable | Conditional | 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 . |
| failure | IResolvable | Dialog | 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 . |
| failure | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails. |
| success | IResolvable | Conditional | A list of conditional branches to evaluate after the dialog code hook finishes successfully. |
| success | IResolvable | Dialog | Specifics the next step the bot runs after the dialog code hook finishes successfully. |
| success | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds. |
| timeout | IResolvable | Conditional | A list of conditional branches to evaluate if the code hook times out. |
| timeout | IResolvable | Dialog | Specifies the next step that the bot runs when the code hook times out. |
| timeout | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out. |
failureConditional?
Type:
IResolvable | Conditional
(optional)
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 .
failureNextStep?
Type:
IResolvable | Dialog
(optional)
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 .
failureResponse?
Type:
IResolvable | Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.
successConditional?
Type:
IResolvable | Conditional
(optional)
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
successNextStep?
Type:
IResolvable | Dialog
(optional)
Specifics the next step the bot runs after the dialog code hook finishes successfully.
successResponse?
Type:
IResolvable | Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
timeoutConditional?
Type:
IResolvable | Conditional
(optional)
A list of conditional branches to evaluate if the code hook times out.
timeoutNextStep?
Type:
IResolvable | Dialog
(optional)
Specifies the next step that the bot runs when the code hook times out.
timeoutResponse?
Type:
IResolvable | Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.

.NET
Go
Java
Python
TypeScript