Skip to content

GetSessionResponse

Source code in docs_src/capo_lex_runtime_service/types/get_session_response.py
class GetSessionResponse(TypedDict, closed=True):
    recent_intent_summary_view: NotRequired[
        "capo_lex_runtime_service.types.intent_summary_list.IntentSummaryList"
    ]
    """<p>An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the <code>recentIntentSummaryView</code> operation contains information about the last three intents used.</p> <p>If you set the <code>checkpointLabelFilter</code> parameter in the request, the array contains only the intents with the specified label.</p>"""
    session_attributes: NotRequired[
        "capo_lex_runtime_service.types.string_map.StringMap"
    ]
    """<p>Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.</p>"""
    session_id: NotRequired["capo_lex_runtime_service.types.string.String"]
    """<p>A unique identifier for the session.</p>"""
    dialog_action: NotRequired[
        "capo_lex_runtime_service.types.dialog_action.DialogAction"
    ]
    """<p>Describes the current state of the bot.</p>"""
    active_contexts: NotRequired[
        "capo_lex_runtime_service.types.active_contexts_list.ActiveContextsList"
    ]
    """<p>A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the <code>PostContent</code>, <code>PostText</code>, or <code>PutSession</code> operation.</p> <p>You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.</p>"""

active_contexts instance-attribute

active_contexts: NotRequired[ActiveContextsList]

A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the PostContent, PostText, or PutSession operation.

You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.

dialog_action instance-attribute

dialog_action: NotRequired[DialogAction]

Describes the current state of the bot.

recent_intent_summary_view instance-attribute

recent_intent_summary_view: NotRequired[IntentSummaryList]

An array of information about the intents used in the session. The array can contain a maximum of three summaries. If more than three intents are used in the session, the recentIntentSummaryView operation contains information about the last three intents used.

If you set the checkpointLabelFilter parameter in the request, the array contains only the intents with the specified label.

session_attributes instance-attribute

session_attributes: NotRequired[StringMap]

Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.

session_id instance-attribute

session_id: NotRequired[String]

A unique identifier for the session.