Skip to content

UpdateSessionRequest

Source code in docs_src/capo_bedrock_agent_runtime/types/update_session_request.py
class UpdateSessionRequest(TypedDict, closed=True):
    session_metadata: NotRequired[
        "capo_bedrock_agent_runtime.types.session_metadata_map.SessionMetadataMap"
    ]
    """<p>A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference, and the type of device they are using.</p>"""
    session_identifier: (
        "capo_bedrock_agent_runtime.types.session_identifier.SessionIdentifier"
    )
    """<p>The unique identifier of the session to modify. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p>"""

session_identifier instance-attribute

session_identifier: SessionIdentifier

The unique identifier of the session to modify. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

session_metadata instance-attribute

session_metadata: NotRequired[SessionMetadataMap]

A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference, and the type of device they are using.