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.
Inherited functions
Casts this StartConversationResponseEventStream as a AudioResponseEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.AudioResponseEvent value. Throws an exception if the StartConversationResponseEventStream is not a AudioResponseEvent.
Casts this StartConversationResponseEventStream as a AudioResponseEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.AudioResponseEvent value. Returns null if the StartConversationResponseEventStream is not a AudioResponseEvent.
Casts this StartConversationResponseEventStream as a HeartbeatEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.HeartbeatEvent value. Throws an exception if the StartConversationResponseEventStream is not a HeartbeatEvent.
Casts this StartConversationResponseEventStream as a HeartbeatEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.HeartbeatEvent value. Returns null if the StartConversationResponseEventStream is not a HeartbeatEvent.
Casts this StartConversationResponseEventStream as a IntentResultEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.IntentResultEvent value. Throws an exception if the StartConversationResponseEventStream is not a IntentResultEvent.
Casts this StartConversationResponseEventStream as a IntentResultEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.IntentResultEvent value. Returns null if the StartConversationResponseEventStream is not a IntentResultEvent.
Casts this StartConversationResponseEventStream as a PlaybackInterruptionEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.PlaybackInterruptionEvent value. Throws an exception if the StartConversationResponseEventStream is not a PlaybackInterruptionEvent.
Casts this StartConversationResponseEventStream as a PlaybackInterruptionEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.PlaybackInterruptionEvent value. Returns null if the StartConversationResponseEventStream is not a PlaybackInterruptionEvent.
Casts this StartConversationResponseEventStream as a TextResponseEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.TextResponseEvent value. Throws an exception if the StartConversationResponseEventStream is not a TextResponseEvent.
Casts this StartConversationResponseEventStream as a TextResponseEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.TextResponseEvent value. Returns null if the StartConversationResponseEventStream is not a TextResponseEvent.
Casts this StartConversationResponseEventStream as a TranscriptEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.TranscriptEvent value. Throws an exception if the StartConversationResponseEventStream is not a TranscriptEvent.
Casts this StartConversationResponseEventStream as a TranscriptEvent and retrieves its aws.sdk.kotlin.services.lexruntimev2.model.TranscriptEvent value. Returns null if the StartConversationResponseEventStream is not a TranscriptEvent.