Skip to content

PlaybackInterruptionEvent

Source code in docs_src/capo_lex_runtime_v2/types/playback_interruption_event.py
class PlaybackInterruptionEvent(TypedDict, closed=True):
    event_reason: NotRequired[
        "capo_lex_runtime_v2.types.playback_interruption_reason.PlaybackInterruptionReason"
    ]
    """<p>Indicates the type of user input that Amazon Lex V2 detected.</p>"""
    caused_by_event_id: NotRequired["capo_lex_runtime_v2.types.event_id.EventId"]
    """<p>The identifier of the event that contained the audio, DTMF, or text that caused the interruption.</p>"""
    event_id: NotRequired["capo_lex_runtime_v2.types.event_id.EventId"]
    """<p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form <code>RESPONSE-N</code>, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.</p>"""

caused_by_event_id instance-attribute

caused_by_event_id: NotRequired[EventId]

The identifier of the event that contained the audio, DTMF, or text that caused the interruption.

event_id instance-attribute

event_id: NotRequired[EventId]

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

event_reason instance-attribute

event_reason: NotRequired[PlaybackInterruptionReason]

Indicates the type of user input that Amazon Lex V2 detected.