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

Usage

import * as mod from "https://aws-api.deno.dev/v0.4/services/lexruntime.ts?docs=full";

§Classes

LexRuntime

§Interfaces

ActiveContext

A context is a variable that contains information about the current state of the conversation between a user and Amazon Lex. Context can be set automatically by Amazon Lex when an intent is fulfilled, or it can be set at runtime using the PutContent, PutText, or PutSession operation.

ActiveContextTimeToLive

The length of time or number of turns that a context remains active.

Button

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

DeleteSessionRequest
DeleteSessionResponse
DialogAction

Describes the next action that the bot should take in its interaction with the user and provides information about the context in which the action takes place. Use the DialogAction data type to set the interaction to a specific state, or to return the interaction to a previous state.

GenericAttachment

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

GetSessionRequest
GetSessionResponse
IntentConfidence

Provides a score that indicates the confidence that Amazon Lex has that an intent is the one that satisfies the user's intent.

IntentSummary

Provides information about the state of an intent. You can use this information to get the current state of an intent so that you can process the intent, or so that you can return the intent to its previous state.

PostContentRequest
PostContentResponse
PostTextRequest
PostTextResponse
PredictedIntent

An intent that Amazon Lex suggests satisfies the user's intent. Includes the name of the intent, the confidence that Amazon Lex has that the user's intent is satisfied, and the slots defined for the intent.

PutSessionRequest
PutSessionResponse
ResponseCard

If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook and fulfillmentActivity on an intent).

SentimentResponse

The sentiment expressed in an utterance.

§Type Aliases

ConfirmationStatus
ContentType
DialogActionType
DialogState
FulfillmentState
MessageFormatType