# Packages
Package lexruntimev2iface provides an interface to enable mocking the Amazon Lex Runtime V2 service client for testing your code.
# Functions
ConfirmationState_Values returns all elements of the ConfirmationState enum.
ConversationMode_Values returns all elements of the ConversationMode enum.
DialogActionType_Values returns all elements of the DialogActionType enum.
InputMode_Values returns all elements of the InputMode enum.
IntentState_Values returns all elements of the IntentState enum.
InterpretationSource_Values returns all elements of the InterpretationSource enum.
MessageContentType_Values returns all elements of the MessageContentType enum.
New creates a new instance of the LexRuntimeV2 client with a session.
NewStartConversationEventStream initializes an StartConversationEventStream.
PlaybackInterruptionReason_Values returns all elements of the PlaybackInterruptionReason enum.
SentimentType_Values returns all elements of the SentimentType enum.
Shape_Values returns all elements of the Shape enum.
StyleType_Values returns all elements of the StyleType enum.
# Constants
ConfirmationStateConfirmed is a ConfirmationState enum value.
ConfirmationStateDenied is a ConfirmationState enum value.
ConfirmationStateNone is a ConfirmationState enum value.
ConversationModeAudio is a ConversationMode enum value.
ConversationModeText is a ConversationMode 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.
DialogActionTypeNone is a DialogActionType enum value.
ID to lookup a service endpoint with.
ErrCodeAccessDeniedException for service response error code "AccessDeniedException".
ErrCodeBadGatewayException for service response error code "BadGatewayException".
ErrCodeConflictException for service response error code "ConflictException".
ErrCodeDependencyFailedException for service response error code "DependencyFailedException".
ErrCodeInternalServerException for service response error code "InternalServerException".
ErrCodeResourceNotFoundException for service response error code "ResourceNotFoundException".
ErrCodeThrottlingException for service response error code "ThrottlingException".
ErrCodeValidationException for service response error code "ValidationException".
InputModeDtmf is a InputMode enum value.
InputModeSpeech is a InputMode enum value.
InputModeText is a InputMode enum value.
IntentStateFailed is a IntentState enum value.
IntentStateFulfilled is a IntentState enum value.
IntentStateFulfillmentInProgress is a IntentState enum value.
IntentStateInProgress is a IntentState enum value.
IntentStateReadyForFulfillment is a IntentState enum value.
IntentStateWaiting is a IntentState enum value.
InterpretationSourceBedrock is a InterpretationSource enum value.
InterpretationSourceLex is a InterpretationSource enum value.
MessageContentTypeCustomPayload is a MessageContentType enum value.
MessageContentTypeImageResponseCard is a MessageContentType enum value.
MessageContentTypePlainText is a MessageContentType enum value.
MessageContentTypeSsml is a MessageContentType enum value.
PlaybackInterruptionReasonDtmfStartDetected is a PlaybackInterruptionReason enum value.
PlaybackInterruptionReasonTextDetected is a PlaybackInterruptionReason enum value.
PlaybackInterruptionReasonVoiceStartDetected is a PlaybackInterruptionReason enum value.
SentimentTypeMixed is a SentimentType enum value.
SentimentTypeNegative is a SentimentType enum value.
SentimentTypeNeutral is a SentimentType enum value.
SentimentTypePositive is a SentimentType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
ShapeComposite is a Shape enum value.
ShapeList is a Shape enum value.
ShapeScalar is a Shape enum value.
StyleTypeDefault is a StyleType enum value.
StyleTypeSpellByLetter is a StyleType enum value.
StyleTypeSpellByWord is a StyleType enum value.
# Structs
Contains information about the contexts that a user is using in a session.
The time that a context is active.
Represents a chunk of audio sent from the client application to Amazon Lex V2.
An event sent from Amazon Lex V2 to your client application containing audio to play to the user.
A button that appears on a response card show to the user.
Provides a score that indicates the confidence that Amazon Lex V2 has that an intent is the one that satisfies the user's intent.
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.
The next action that Amazon Lex V2 should take.
A notification from the client that it is disconnecting from Amazon Lex V2.
A DTMF character sent from the client application.
The specific constituent sub slot of the composite slot to elicit in dialog action.
Event that Amazon Lex V2 sends to indicate that the stream is still open between the client application and Amazon Lex V2.
A card that is shown to the user by a messaging platform.
The current intent that Amazon Lex V2 is attempting to fulfill.
Contains the current state of the conversation between the client application and Amazon Lex V2.
An object containing information about an intent that Amazon Lex V2 determined might satisfy the user's utterance.
LexRuntimeV2 provides the API operation methods for making requests to Amazon Lex Runtime V2.
Container for text that is returned to the customer..
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.
Event sent from Amazon Lex V2 to indicate to the client application should stop playback of audio.
The bot member that processes the request.
Provides an array of phrases that should be given preference when resolving values for a slot.
You can provide Amazon Lex V2 with hints to the phrases that a customer is likely to use for a slot.
Provides the phrase that Amazon Lex V2 should look for in the user's input to the bot.
Provides information about the sentiment expressed in a user's response in a conversation.
The individual sentiment responses for the utterance.
The state of the user's session with Amazon Lex V2.
A value that Amazon Lex V2 uses to fulfill an intent.
StartConversationEventStream provides the event stream handling for the StartConversation.
StartConversationResponseEventStreamUnknownEvent provides a failsafe event for the StartConversationResponseEventStream group of events when an unknown event is received.
The event sent from your client application to Amazon Lex V2 with text input from the user.
The event sent from Amazon Lex V2 to your application with text to present to the user.
Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.
Information about the value provided for a slot and Amazon Lex V2's interpretation.
# Interfaces
StartConversationRequestEventStreamEvent groups together all EventStream events writes for StartConversationRequestEventStream.
StartConversationRequestEventStreamWriter provides the interface for writing events to the stream.
StartConversationResponseEventStreamEvent groups together all EventStream events writes for StartConversationResponseEventStream.
StartConversationResponseEventStreamReader provides the interface for reading to the stream.