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

GetSessionResponse

import type { GetSessionResponse } from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";
interface GetSessionResponse {
activeContexts?: ActiveContext[] | null;
dialogAction?: DialogAction | null;
recentIntentSummaryView?: IntentSummary[] | null;
sessionAttributes?: {
[key: string]: string | null | undefined;
}
| null;
sessionId?: string | null;
}

§Properties

§
activeContexts?: ActiveContext[] | null
[src]

A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the PostContent, PostText, or PutSession operation.

You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.

§
dialogAction?: DialogAction | null
[src]

Describes the current state of the bot.

§
recentIntentSummaryView?: IntentSummary[] | null
[src]

An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView operation contains information about the last three intents used.

If you set the checkpointLabelFilter parameter in the request, the array contains only the intents with the specified label.

§
sessionAttributes?: {
[key: string]: string | null | undefined;
}
| null
[src]

Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.

§
sessionId?: string | null
[src]

A unique identifier for the session.