BotPostDialogCodeHookInvocationSpecification

data class BotPostDialogCodeHookInvocationSpecification(val failureConditional: BotConditionalSpecification? = null, val failureNextStep: BotDialogState? = null, val failureResponse: BotResponseSpecification? = null, val successConditional: BotConditionalSpecification? = null, val successNextStep: BotDialogState? = null, val successResponse: BotResponseSpecification? = null, val timeoutConditional: BotConditionalSpecification? = null, val timeoutNextStep: BotDialogState? = null, val timeoutResponse: BotResponseSpecification? = null)

Constructors

constructor(failureConditional: BotConditionalSpecification? = null, failureNextStep: BotDialogState? = null, failureResponse: BotResponseSpecification? = null, successConditional: BotConditionalSpecification? = null, successNextStep: BotDialogState? = null, successResponse: BotResponseSpecification? = null, timeoutConditional: BotConditionalSpecification? = null, timeoutNextStep: BotDialogState? = null, timeoutResponse: BotResponseSpecification? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 .

Link copied to clipboard

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 .

Link copied to clipboard

Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.

Link copied to clipboard

A list of conditional branches to evaluate after the dialog code hook finishes successfully.

Link copied to clipboard

Specifics the next step the bot runs after the dialog code hook finishes successfully.

Link copied to clipboard

Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.

Link copied to clipboard

A list of conditional branches to evaluate if the code hook times out.

Link copied to clipboard

Specifies the next step that the bot runs when the code hook times out.

Link copied to clipboard

Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.