Skip to content

Lex Runtime V2  >  Unions  >  StartConversationResponseEventStream

StartConversationResponseEventStream

Union Type

Union Member Types

StartConversationResponseEventStreamPlaybackInterruptionEvent dataclass

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.

Attributes

value instance-attribute

StartConversationResponseEventStreamTranscriptEvent dataclass

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

Attributes

value instance-attribute

StartConversationResponseEventStreamIntentResultEvent dataclass

Event sent from Amazon Lex V2 to the client application containing the current state of the conversation between the user and Amazon Lex V2.

Attributes

value instance-attribute

StartConversationResponseEventStreamTextResponseEvent dataclass

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

Attributes

value instance-attribute

StartConversationResponseEventStreamAudioResponseEvent dataclass

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

Attributes

value instance-attribute

StartConversationResponseEventStreamHeartbeatEvent dataclass

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

Attributes

value instance-attribute

StartConversationResponseEventStreamAccessDeniedException dataclass

Exception thrown when the credentials passed with the request are invalid or expired. Also thrown when the credentials in the request do not have permission to access the StartConversation operation.

Attributes

value instance-attribute

StartConversationResponseEventStreamResourceNotFoundException dataclass

Exception thrown if one of the input parameters points to a resource that does not exist. For example, if the bot ID specified does not exist.

Attributes

value instance-attribute

StartConversationResponseEventStreamValidationException dataclass

Exception thrown when one or more parameters could not be validated. The message contains the name of the field that isn't valid.

Attributes

value instance-attribute

StartConversationResponseEventStreamThrottlingException dataclass

Exception thrown when your application exceeds the maximum number of concurrent requests.

Attributes

value instance-attribute

StartConversationResponseEventStreamInternalServerException dataclass

An error occurred with Amazon Lex V2.

Attributes

value instance-attribute

StartConversationResponseEventStreamConflictException dataclass

Exception thrown when two clients are using the same AWS account, Amazon Lex V2 bot, and session ID.

Attributes

value instance-attribute

StartConversationResponseEventStreamDependencyFailedException dataclass

Attributes

value instance-attribute

StartConversationResponseEventStreamBadGatewayException dataclass

Attributes

value instance-attribute

StartConversationResponseEventStreamUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str