Package-level declarations

Types

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

Either the Amazon Lex bot is still building, or one of the dependent services (Amazon Polly, AWS Lambda) failed with an internal service error.

Link copied to clipboard

Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.

Link copied to clipboard
class Button

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

Link copied to clipboard
sealed class ConfirmationStatus
Link copied to clipboard

Two clients are using the same AWS account, Amazon Lex bot, and user ID.

Link copied to clipboard
sealed class ContentType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. For example,

Link copied to clipboard

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.

Link copied to clipboard
sealed class DialogActionType
Link copied to clipboard
sealed class DialogState
Link copied to clipboard
sealed class FulfillmentState
Link copied to clipboard

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

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

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

Link copied to clipboard

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.

Link copied to clipboard

Internal service error. Retry the call.

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

This exception is not used.

Link copied to clipboard
sealed class MessageFormatType
Link copied to clipboard

The accept header in the request does not have a valid value.

Link copied to clipboard

The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.

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

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.

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

The input speech is too long.

Link copied to clipboard

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).

Link copied to clipboard

The sentiment expressed in an utterance.

Link copied to clipboard

The Content-Type header (PostContent API) has an invalid value.