SlotCaptureSetting
import type { SlotCaptureSetting } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
Settings used when Amazon Lex successfully captures a slot value from a user.
interface SlotCaptureSetting {
captureConditional?: ConditionalSpecification | null;
captureNextStep?: DialogState | null;
captureResponse?: ResponseSpecification | null;
codeHook?: DialogCodeHookInvocationSetting | null;
elicitationCodeHook?: ElicitationCodeHookInvocationSetting | null;
failureConditional?: ConditionalSpecification | null;
failureNextStep?: DialogState | null;
failureResponse?: ResponseSpecification | null;
}§Properties
§
captureConditional?: ConditionalSpecification | null
[src]A list of conditional branches to evaluate after the slot value is captured.
§
captureNextStep?: DialogState | null
[src]Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
§
captureResponse?: ResponseSpecification | null
[src]§
codeHook?: DialogCodeHookInvocationSetting | null
[src]Code hook called after Amazon Lex successfully captures a slot value.
§
elicitationCodeHook?: ElicitationCodeHookInvocationSetting | null
[src]Code hook called when Amazon Lex doesn't capture a slot value.
§
failureConditional?: ConditionalSpecification | null
[src]A list of conditional branches to evaluate when the slot value isn't captured.
§
failureNextStep?: DialogState | null
[src]Specifies the next step that the bot runs when the slot value code is not recognized.
§
failureResponse?: ResponseSpecification | null
[src]