View a markdown version of this page

StartConversationRequestEventStream - Amazon Lex

StartConversationRequestEventStream

Represents a stream of events between your application and Amazon Lex.

Contents

AudioInputEvent

Speech audio sent from your client application to Amazon Lex. Audio starts accumulating when Amazon Lex identifies a voice and continues until a natural pause in the speech is found before processing.

Type: AudioInputEvent object

Required: No

ConfigurationEvent

Configuration information sent from your client application to Amazon Lex

Type: ConfigurationEvent object

Required: No

DisconnectionEvent

Event sent from the client application to indicate to Amazon Lex that the conversation is over.

Type: DisconnectionEvent object

Required: No

DTMFInputEvent

DTMF information sent to Amazon Lex by your application. Amazon Lex accumulates the DMTF information from when the user sends the first character and ends

  • when there's a pause longer that the value configured for the end timeout.

  • when there's a digit that is the configured end character.

  • when Amazon Lex accumulates characters equal to the maximum DTMF character configuration.

Type: DTMFInputEvent object

Required: No

PlaybackCompletionEvent

Event sent from the client application to Amazon Lex to indicate that it has finished playing audio and that Amazon Lex should start listening for user input.

Type: PlaybackCompletionEvent object

Required: No

TextInputEvent

Text sent from your client application to Amazon Lex. Each TextInputEvent is processed individually.

Type: TextInputEvent object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: