Package-level declarations

Types

Link copied to clipboard

Contains information about the contexts that a user is using in a session. You can configure Amazon Lex V2 to set a context when an intent is fulfilled, or you can set a context using the , , or operations.

Link copied to clipboard

The time that a context is active. You can specify the time to live in seconds or in conversation turns.

Link copied to clipboard

Represents a chunk of audio sent from the client application to Amazon Lex V2. The audio is all or part of an utterance from the user.

Link copied to clipboard

An event sent from Amazon Lex V2 to your client application containing audio to play to the user.

Link copied to clipboard
class Button

A button that appears on a response card show to the user.

Link copied to clipboard

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

Link copied to clipboard

The initial event sent from the application to Amazon Lex V2 to configure the conversation, including session and request attributes and the response content type.

Link copied to clipboard
sealed class ConfirmationState
Link copied to clipboard
Link copied to clipboard
sealed class ConversationMode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The next action that Amazon Lex V2 should take.

Link copied to clipboard
sealed class DialogActionType
Link copied to clipboard

A notification from the client that it is disconnecting from Amazon Lex V2. Sending a DisconnectionEvent event is optional, but can help identify a conversation in logs.

Link copied to clipboard

A DTMF character sent from the client application. DTMF characters are typically sent from a phone keypad to represent numbers. For example, you can have Amazon Lex V2 process a credit card number input from a phone.

Link copied to clipboard

The specific constituent sub slot of the composite slot to elicit in dialog action.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Event that Amazon Lex V2 sends to indicate that the stream is still open between the client application and Amazon Lex V2

Link copied to clipboard

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

Link copied to clipboard
sealed class InputMode
Link copied to clipboard
class Intent

The current intent that Amazon Lex V2 is attempting to fulfill.

Link copied to clipboard

Contains the current state of the conversation between the client application and Amazon Lex V2.

Link copied to clipboard
sealed class IntentState
Link copied to clipboard

An object containing information about an intent that Amazon Lex V2 determined might satisfy the user's utterance. The intents are ordered by the confidence score.

Link copied to clipboard
Link copied to clipboard

Base class for all service related exceptions thrown by the LexRuntimeV2 client

Link copied to clipboard
class Message

Container for text that is returned to the customer..

Link copied to clipboard
sealed class MessageContentType
Link copied to clipboard

Event sent from the client application to Amazon Lex V2 to indicate that playback of audio is complete and that Amazon Lex V2 should start processing the user's input.

Link copied to clipboard

Event sent from Amazon Lex V2 to indicate to the client application should stop playback of audio. For example, if the client is playing a prompt that asks for the user's telephone number, the user might start to say the phone number before the prompt is complete. Amazon Lex V2 sends this event to the client application to indicate that the user is responding and that Amazon Lex V2 is processing their input.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The bot member that processes the request.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Provides an array of phrases that should be given preference when resolving values for a slot.

Link copied to clipboard

You can provide Amazon Lex V2 with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.

Link copied to clipboard

Provides the phrase that Amazon Lex V2 should look for in the user's input to the bot.

Link copied to clipboard

Provides information about the sentiment expressed in a user's response in a conversation. Sentiments are determined using Amazon Comprehend. Sentiments are only returned if they are enabled for the bot.

Link copied to clipboard

The individual sentiment responses for the utterance.

Link copied to clipboard
sealed class SentimentType
Link copied to clipboard

The state of the user's session with Amazon Lex V2.

Link copied to clipboard
sealed class Shape
Link copied to clipboard
class Slot

A value that Amazon Lex V2 uses to fulfill an intent.

Link copied to clipboard
Link copied to clipboard

Represents a stream of events between your application and Amazon Lex V2.

Link copied to clipboard
Link copied to clipboard

Represents a stream of events between Amazon Lex V2 and your application.

Link copied to clipboard
sealed class StyleType
Link copied to clipboard

The event sent from your client application to Amazon Lex V2 with text input from the user.

Link copied to clipboard

The event sent from Amazon Lex V2 to your application with text to present to the user.

Link copied to clipboard

Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.

Link copied to clipboard
class Value

Information about the value provided for a slot and Amazon Lex V2's interpretation.