# Packages
Package lexruntimeserviceiface provides an interface to enable mocking the Amazon Lex Runtime Service service client for testing your code.
# Functions
ConfirmationStatus_Values returns all elements of the ConfirmationStatus enum.
ContentType_Values returns all elements of the ContentType enum.
DialogActionType_Values returns all elements of the DialogActionType enum.
DialogState_Values returns all elements of the DialogState enum.
FulfillmentState_Values returns all elements of the FulfillmentState enum.
MessageFormatType_Values returns all elements of the MessageFormatType enum.
New creates a new instance of the LexRuntimeService client with a session.
# Constants
ConfirmationStatusConfirmed is a ConfirmationStatus enum value.
ConfirmationStatusDenied is a ConfirmationStatus enum value.
ConfirmationStatusNone is a ConfirmationStatus enum value.
ContentTypeApplicationVndAmazonawsCardGeneric is a ContentType enum value.
DialogActionTypeClose is a DialogActionType enum value.
DialogActionTypeConfirmIntent is a DialogActionType enum value.
DialogActionTypeDelegate is a DialogActionType enum value.
DialogActionTypeElicitIntent is a DialogActionType enum value.
DialogActionTypeElicitSlot is a DialogActionType enum value.
DialogStateConfirmIntent is a DialogState enum value.
DialogStateElicitIntent is a DialogState enum value.
DialogStateElicitSlot is a DialogState enum value.
DialogStateFailed is a DialogState enum value.
DialogStateFulfilled is a DialogState enum value.
DialogStateReadyForFulfillment is a DialogState enum value.
ID to lookup a service endpoint with.
ErrCodeBadGatewayException for service response error code "BadGatewayException".
ErrCodeBadRequestException for service response error code "BadRequestException".
ErrCodeConflictException for service response error code "ConflictException".
ErrCodeDependencyFailedException for service response error code "DependencyFailedException".
ErrCodeInternalFailureException for service response error code "InternalFailureException".
ErrCodeLimitExceededException for service response error code "LimitExceededException".
ErrCodeLoopDetectedException for service response error code "LoopDetectedException".
ErrCodeNotAcceptableException for service response error code "NotAcceptableException".
ErrCodeNotFoundException for service response error code "NotFoundException".
ErrCodeRequestTimeoutException for service response error code "RequestTimeoutException".
ErrCodeUnsupportedMediaTypeException for service response error code "UnsupportedMediaTypeException".
FulfillmentStateFailed is a FulfillmentState enum value.
FulfillmentStateFulfilled is a FulfillmentState enum value.
FulfillmentStateReadyForFulfillment is a FulfillmentState enum value.
MessageFormatTypeComposite is a MessageFormatType enum value.
MessageFormatTypeCustomPayload is a MessageFormatType enum value.
MessageFormatTypePlainText is a MessageFormatType enum value.
MessageFormatTypeSsml is a MessageFormatType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
# Structs
A context is a variable that contains information about the current state of the conversation between a user and Amazon Lex.
The length of time or number of turns that a context remains active.
Either the Amazon Lex bot is still building, or one of the dependent services (Amazon Polly, AWS Lambda) failed with an internal service error.
Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.
Represents an option to be shown on the client platform (Facebook, Slack, etc.).
Two clients are using the same AWS account, Amazon Lex bot, and user ID.
One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception.
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.
Represents an option rendered to the user when a prompt is shown.
Provides a score that indicates the confidence that Amazon Lex has that an intent is the one that satisfies the user's intent.
Provides information about the state of an intent.
Internal service error.
LexRuntimeService provides the API operation methods for making requests to Amazon Lex Runtime Service.
Exceeded a limit.
This exception is not used.
The accept header in the request does not have a valid value.
The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.
An intent that Amazon Lex suggests satisfies the user's intent.
The input speech is too long.
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 sentiment expressed in an utterance.
The Content-Type header (PostContent API) has an invalid value.