IntentClosingSetting
import type { IntentClosingSetting } from "https://aws-api.deno.dev/v0.4/services/lexmodelsv2.ts?docs=full";
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
interface IntentClosingSetting {
active?: boolean | null;
closingResponse?: ResponseSpecification | null;
conditional?: ConditionalSpecification | null;
nextStep?: DialogState | null;
}§Properties
§
active?: boolean | null
[src]Specifies whether an intent's closing response is used.
When this field is false, the closing response isn't sent to the user.
If the active
field isn't specified, the default is true.
§
closingResponse?: ResponseSpecification | null
[src]The response that Amazon Lex sends to the user when the intent is complete.
§
conditional?: ConditionalSpecification | null
[src]A list of conditional branches associated with the intent's closing response.
These branches are executed when the nextStep
attribute is set to EvalutateConditional
.
§
nextStep?: DialogState | null
[src]Specifies the next step that the bot executes after playing the intent's closing response.