BotIntentConfirmationSettingArgs

data class BotIntentConfirmationSettingArgs(val codeHook: Output<BotDialogCodeHookInvocationSettingArgs>? = null, val confirmationConditional: Output<BotConditionalSpecificationArgs>? = null, val confirmationNextStep: Output<BotDialogStateArgs>? = null, val confirmationResponse: Output<BotResponseSpecificationArgs>? = null, val declinationConditional: Output<BotConditionalSpecificationArgs>? = null, val declinationNextStep: Output<BotDialogStateArgs>? = null, val declinationResponse: Output<BotResponseSpecificationArgs>? = null, val elicitationCodeHook: Output<BotElicitationCodeHookInvocationSettingArgs>? = null, val failureConditional: Output<BotConditionalSpecificationArgs>? = null, val failureNextStep: Output<BotDialogStateArgs>? = null, val failureResponse: Output<BotResponseSpecificationArgs>? = null, val isActive: Output<Boolean>? = null, val promptSpecification: Output<BotPromptSpecificationArgs>) : ConvertibleToJava<BotIntentConfirmationSettingArgs>

Provides a prompt for making sure that the user is ready for the intent to be fulfilled.

Constructors

Link copied to clipboard
constructor(codeHook: Output<BotDialogCodeHookInvocationSettingArgs>? = null, confirmationConditional: Output<BotConditionalSpecificationArgs>? = null, confirmationNextStep: Output<BotDialogStateArgs>? = null, confirmationResponse: Output<BotResponseSpecificationArgs>? = null, declinationConditional: Output<BotConditionalSpecificationArgs>? = null, declinationNextStep: Output<BotDialogStateArgs>? = null, declinationResponse: Output<BotResponseSpecificationArgs>? = null, elicitationCodeHook: Output<BotElicitationCodeHookInvocationSettingArgs>? = null, failureConditional: Output<BotConditionalSpecificationArgs>? = null, failureNextStep: Output<BotDialogStateArgs>? = null, failureResponse: Output<BotResponseSpecificationArgs>? = null, isActive: Output<Boolean>? = null, promptSpecification: Output<BotPromptSpecificationArgs>)

Properties

Link copied to clipboard

The DialogCodeHookInvocationSetting object associated with intent's confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is InvokeDialogCodeHook.

Link copied to clipboard

A list of conditional branches to evaluate after the intent is closed.

Link copied to clipboard

Specifies the next step that the bot executes when the customer confirms the intent.

Link copied to clipboard

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

Link copied to clipboard

A list of conditional branches to evaluate after the intent is declined.

Link copied to clipboard

Specifies the next step that the bot executes when the customer declines the intent.

Link copied to clipboard

When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled.

Link copied to clipboard

The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.

Link copied to clipboard

Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.

Link copied to clipboard
val failureNextStep: Output<BotDialogStateArgs>? = null

The next step to take in the conversation if the confirmation step fails.

Link copied to clipboard

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

Link copied to clipboard
val isActive: Output<Boolean>? = null

Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.

Link copied to clipboard

Prompts the user to confirm the intent. This question should have a yes or no answer.

Functions

Link copied to clipboard
open override fun toJava(): BotIntentConfirmationSettingArgs