/AWS1/CL_LR2STRTCONVERSATION05¶
Represents a stream of events between Amazon Lex V2 and your application.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
io_playbackinterruptionevent TYPE REF TO /AWS1/CL_LR2PLAYBACKINTERRUP00 /AWS1/CL_LR2PLAYBACKINTERRUP00¶
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.
io_transcriptevent TYPE REF TO /AWS1/CL_LR2TRANSCRIPTEVENT /AWS1/CL_LR2TRANSCRIPTEVENT¶
Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.
io_intentresultevent TYPE REF TO /AWS1/CL_LR2INTENTRESULTEVENT /AWS1/CL_LR2INTENTRESULTEVENT¶
Event sent from Amazon Lex V2 to the client application containing the current state of the conversation between the user and Amazon Lex V2.
io_textresponseevent TYPE REF TO /AWS1/CL_LR2TEXTRESPONSEEVENT /AWS1/CL_LR2TEXTRESPONSEEVENT¶
The event sent from Amazon Lex V2 to your application with text to present to the user.
io_audioresponseevent TYPE REF TO /AWS1/CL_LR2AUDIORESPONSEEVENT /AWS1/CL_LR2AUDIORESPONSEEVENT¶
An event sent from Amazon Lex V2 to your client application containing audio to play to the user.
io_heartbeatevent TYPE REF TO /AWS1/CL_LR2HEARTBEATEVENT /AWS1/CL_LR2HEARTBEATEVENT¶
Event that Amazon Lex V2 sends to indicate that the stream is still open between the client application and Amazon Lex V2
Queryable Attributes¶
PlaybackInterruptionEvent¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PLAYBACKINTERRUPTIONEVT() |
Getter for PLAYBACKINTERRUPTIONEVENT |
TranscriptEvent¶
Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRANSCRIPTEVENT() |
Getter for TRANSCRIPTEVENT |
IntentResultEvent¶
Event sent from Amazon Lex V2 to the client application containing the current state of the conversation between the user and Amazon Lex V2.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTENTRESULTEVENT() |
Getter for INTENTRESULTEVENT |
TextResponseEvent¶
The event sent from Amazon Lex V2 to your application with text to present to the user.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TEXTRESPONSEEVENT() |
Getter for TEXTRESPONSEEVENT |
AudioResponseEvent¶
An event sent from Amazon Lex V2 to your client application containing audio to play to the user.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUDIORESPONSEEVENT() |
Getter for AUDIORESPONSEEVENT |
HeartbeatEvent¶
Event that Amazon Lex V2 sends to indicate that the stream is still open between the client application and Amazon Lex V2
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEARTBEATEVENT() |
Getter for HEARTBEATEVENT |