Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PostDialogCodeHookInvocationSpecification

import type { PostDialogCodeHookInvocationSpecification } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";

Specifies next steps to run after the dialog code hook finishes.

interface PostDialogCodeHookInvocationSpecification {
failureConditional?: ConditionalSpecification | null;
failureNextStep?: DialogState | null;
failureResponse?: ResponseSpecification | null;
successConditional?: ConditionalSpecification | null;
successNextStep?: DialogState | null;
successResponse?: ResponseSpecification | null;
timeoutConditional?: ConditionalSpecification | null;
timeoutNextStep?: DialogState | null;
timeoutResponse?: ResponseSpecification | null;
}

§Properties

§
failureConditional?: ConditionalSpecification | null
[src]

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?: DialogState | null
[src]

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?: ResponseSpecification | null
[src]
§
successConditional?: ConditionalSpecification | null
[src]

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

§
successNextStep?: DialogState | null
[src]

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

§
successResponse?: ResponseSpecification | null
[src]
§
timeoutConditional?: ConditionalSpecification | null
[src]

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

§
timeoutNextStep?: DialogState | null
[src]

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

§
timeoutResponse?: ResponseSpecification | null
[src]