V2modelsIntentConfirmationSetting class
Constructors
-
V2modelsIntentConfirmationSetting({Input<
bool?> ? active, Input<V2modelsIntentConfirmationSettingCodeHook?> ? codeHook, Input<V2modelsIntentConfirmationSettingConfirmationConditional?> ? confirmationConditional, Input<V2modelsIntentConfirmationSettingConfirmationNextStep?> ? confirmationNextStep, Input<V2modelsIntentConfirmationSettingConfirmationResponse?> ? confirmationResponse, Input<V2modelsIntentConfirmationSettingDeclinationConditional?> ? declinationConditional, Input<V2modelsIntentConfirmationSettingDeclinationNextStep?> ? declinationNextStep, Input<V2modelsIntentConfirmationSettingDeclinationResponse?> ? declinationResponse, Input<V2modelsIntentConfirmationSettingElicitationCodeHook?> ? elicitationCodeHook, Input<V2modelsIntentConfirmationSettingFailureConditional?> ? failureConditional, Input<V2modelsIntentConfirmationSettingFailureNextStep?> ? failureNextStep, Input<V2modelsIntentConfirmationSettingFailureResponse?> ? failureResponse, Input<V2modelsIntentConfirmationSettingPromptSpecification?> ? promptSpecification}) -
Creates a new V2modelsIntentConfirmationSetting.
activeWhether 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.codeHookConfiguration block for the 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 isinvokeDialogCodeHook. SeecodeHook.confirmationConditionalConfiguration block for conditional branches to evaluate after the intent is closed. SeeconfirmationConditional.confirmationNextStepConfiguration block for the next step that the bot executes when the customer confirms the intent. SeeconfirmationNextStep.confirmationResponseConfiguration block for message groups that Amazon Lex uses to respond the user input. SeeconfirmationResponse.declinationConditionalConfiguration block for conditional branches to evaluate after the intent is declined. SeedeclinationConditional.declinationNextStepConfiguration block for the next step that the bot executes when the customer declines the intent. SeedeclinationNextStep.declinationResponseConfiguration block for when the user answers "no" to the question defined inpromptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled. SeedeclinationResponse.elicitationCodeHookConfiguration block for when the code hook is invoked during confirmation prompt retries. SeeelicitationCodeHook.failureConditionalConfiguration block for 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. SeefailureConditional.failureNextStepConfiguration block for the next step to take in the conversation if the confirmation step fails. SeefailureNextStep.failureResponseConfiguration block for message groups that Amazon Lex uses to respond the user input. SeefailureResponse.promptSpecificationConfiguration block for prompting the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. SeepromptSpecification.const -
V2modelsIntentConfirmationSetting.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
active
→ Input<
bool?> ? -
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.
final
-
codeHook
→ Input<
V2modelsIntentConfirmationSettingCodeHook?> ? -
Configuration block for the 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. SeecodeHook.final -
confirmationConditional
→ Input<
V2modelsIntentConfirmationSettingConfirmationConditional?> ? -
Configuration block for conditional branches to evaluate after the intent is closed. See
confirmationConditional.final -
confirmationNextStep
→ Input<
V2modelsIntentConfirmationSettingConfirmationNextStep?> ? -
Configuration block for the next step that the bot executes when the customer confirms the intent. See
confirmationNextStep.final -
confirmationResponse
→ Input<
V2modelsIntentConfirmationSettingConfirmationResponse?> ? -
Configuration block for message groups that Amazon Lex uses to respond the user input. See
confirmationResponse.final -
declinationConditional
→ Input<
V2modelsIntentConfirmationSettingDeclinationConditional?> ? -
Configuration block for conditional branches to evaluate after the intent is declined. See
declinationConditional.final -
declinationNextStep
→ Input<
V2modelsIntentConfirmationSettingDeclinationNextStep?> ? -
Configuration block for the next step that the bot executes when the customer declines the intent. See
declinationNextStep.final -
declinationResponse
→ Input<
V2modelsIntentConfirmationSettingDeclinationResponse?> ? -
Configuration block for when the user answers "no" to the question defined in
promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled. SeedeclinationResponse.final -
elicitationCodeHook
→ Input<
V2modelsIntentConfirmationSettingElicitationCodeHook?> ? -
Configuration block for when the code hook is invoked during confirmation prompt retries. See
elicitationCodeHook.final -
failureConditional
→ Input<
V2modelsIntentConfirmationSettingFailureConditional?> ? -
Configuration block for 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. See
failureConditional.final -
failureNextStep
→ Input<
V2modelsIntentConfirmationSettingFailureNextStep?> ? -
Configuration block for the next step to take in the conversation if the confirmation step fails. See
failureNextStep.final -
failureResponse
→ Input<
V2modelsIntentConfirmationSettingFailureResponse?> ? -
Configuration block for message groups that Amazon Lex uses to respond the user input. See
failureResponse.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
promptSpecification
→ Input<
V2modelsIntentConfirmationSettingPromptSpecification?> ? -
Configuration block for prompting the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. See
promptSpecification.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited