Skip to content

GetSessionResponse

Source code in docs_src/capo_bedrock_agent_runtime/types/get_session_response.py
class GetSessionResponse(TypedDict, closed=True):
    session_id: "capo_bedrock_agent_runtime.types.uuid.Uuid"
    """<p>The unique identifier for the session in UUID format.</p>"""
    session_arn: "capo_bedrock_agent_runtime.types.session_arn.SessionArn"
    """<p>The Amazon Resource Name (ARN) of the session.</p>"""
    session_status: "capo_bedrock_agent_runtime.types.session_status.SessionStatus"
    """<p>The current status of the session.</p>"""
    created_at: "capo_bedrock_agent_runtime.types.date_timestamp.DateTimestamp"
    """<p>The timestamp for when the session was created.</p>"""
    last_updated_at: "capo_bedrock_agent_runtime.types.date_timestamp.DateTimestamp"
    """<p>The timestamp for when the session was last modified.</p>"""
    session_metadata: NotRequired[
        "capo_bedrock_agent_runtime.types.session_metadata_map.SessionMetadataMap"
    ]
    """<p>A map of key-value pairs containing attributes persisted across the session.</p>"""
    encryption_key_arn: NotRequired[
        "capo_bedrock_agent_runtime.types.kms_key_arn.KmsKeyArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/session-encryption.html">Amazon Bedrock session encryption</a>.</p>"""

created_at instance-attribute

created_at: DateTimestamp

The timestamp for when the session was created.

encryption_key_arn instance-attribute

encryption_key_arn: NotRequired[KmsKeyArn]

The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the session data. For more information, see Amazon Bedrock session encryption.

last_updated_at instance-attribute

last_updated_at: DateTimestamp

The timestamp for when the session was last modified.

session_arn instance-attribute

session_arn: SessionArn

The Amazon Resource Name (ARN) of the session.

session_id instance-attribute

session_id: Uuid

The unique identifier for the session in UUID format.

session_metadata instance-attribute

session_metadata: NotRequired[SessionMetadataMap]

A map of key-value pairs containing attributes persisted across the session.

session_status instance-attribute

session_status: SessionStatus

The current status of the session.