Skip to content

StartConversationResponseEventStream

Union Type

Union Member Types

StartConversationResponseEventStreamPlaybackInterruptionEvent dataclass

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Attributes

value instance-attribute

StartConversationResponseEventStreamIntentResultEvent dataclass

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Attributes

value instance-attribute

StartConversationResponseEventStreamAudioResponseEvent dataclass

Bases: _SerdeShape

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

Attributes

value instance-attribute

StartConversationResponseEventStreamHeartbeatEvent dataclass

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Bases: _SerdeShape

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

Attributes

value instance-attribute

StartConversationResponseEventStreamInternalServerException dataclass

Bases: _SerdeShape

An error occurred with Amazon Lex V2.

Attributes

value instance-attribute

StartConversationResponseEventStreamConflictException dataclass

Bases: _SerdeShape

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

Attributes

value instance-attribute

StartConversationResponseEventStreamDependencyFailedException dataclass

Bases: _SerdeShape

Attributes

value instance-attribute

StartConversationResponseEventStreamBadGatewayException dataclass

Bases: _SerdeShape

Attributes

value instance-attribute

StartConversationResponseEventStreamUnknown dataclass

Bases: _SerdeShape

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