Skip to content

GetNextMessageResponse

Source code in docs_src/capo_qconnect/types/get_next_message_response.py
class GetNextMessageResponse(TypedDict, closed=True):
    type: "capo_qconnect.types.message_type.MessageType"
    """<p>The type of message response.</p>"""
    response: "capo_qconnect.types.message_output.MessageOutput"
    """<p>The message response to the requested message.</p>"""
    request_message_id: "capo_qconnect.types.uuid.Uuid"
    """<p>The identifier of the submitted message.</p>"""
    conversation_state: "capo_qconnect.types.conversation_state.ConversationState"
    """<p>The state of current conversation.</p>"""
    next_message_token: NotRequired["capo_qconnect.types.next_token.NextToken"]
    """<p>The token for the next message.</p>"""
    conversation_session_data: NotRequired[
        "capo_qconnect.types.runtime_session_data_list.RuntimeSessionDataList"
    ]
    """<p>The conversation data stored on an Amazon Q in Connect Session.</p>"""
    chunked_response_terminated: NotRequired["bool"]
    """<p>Indicates whether the chunked response has been terminated.</p>"""

chunked_response_terminated instance-attribute

chunked_response_terminated: NotRequired[bool]

Indicates whether the chunked response has been terminated.

conversation_session_data instance-attribute

conversation_session_data: NotRequired[RuntimeSessionDataList]

The conversation data stored on an Amazon Q in Connect Session.

conversation_state instance-attribute

conversation_state: ConversationState

The state of current conversation.

next_message_token instance-attribute

next_message_token: NotRequired[NextToken]

The token for the next message.

request_message_id instance-attribute

request_message_id: Uuid

The identifier of the submitted message.

response instance-attribute

response: MessageOutput

The message response to the requested message.

type instance-attribute

The type of message response.