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

PutSessionResponse

import type { PutSessionResponse } from "https://aws-api.deno.dev/v0.3/services/lexruntimev2.ts?docs=full";
interface PutSessionResponse {
audioStream?: Uint8Array | null;
contentType?: string | null;
messages?: string | null;
requestAttributes?: string | null;
sessionId?: string | null;
sessionState?: string | null;
}

§Properties

§
audioStream?: Uint8Array | null
[src]

If the requested content type was audio, the audio version of the message to convey to the user.

§
contentType?: string | null
[src]

The type of response. Same as the type specified in the responseContentType field in the request.

§
messages?: string | null
[src]

A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.

§
requestAttributes?: string | null
[src]

Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.

§
sessionId?: string | null
[src]

The identifier of the session that received the data.

§
sessionState?: string | null
[src]

Represents the current state of the dialog between the user and the bot.

Use this to determine the progress of the conversation and what the next action may be.