Skip to content

WorkspaceConnectionStatus

Source code in docs_src/capo_workspaces/types/workspace_connection_status.py
class WorkspaceConnectionStatus(TypedDict, closed=True):
    workspace_id: NotRequired["capo_workspaces.types.workspace_id.WorkspaceId"]
    """<p>The identifier of the WorkSpace.</p>"""
    connection_state: NotRequired[
        "capo_workspaces.types.connection_state.ConnectionState"
    ]
    """<p>The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.</p>"""
    connection_state_check_timestamp: NotRequired[
        "capo_workspaces.types.timestamp.Timestamp"
    ]
    """<p>The timestamp of the connection status check.</p>"""
    last_known_user_connection_timestamp: NotRequired[
        "capo_workspaces.types.timestamp.Timestamp"
    ]
    """<p>The timestamp of the last known user connection.</p>"""

connection_state instance-attribute

connection_state: NotRequired[ConnectionState]

The connection state of the WorkSpace. The connection state is unknown if the WorkSpace is stopped.

connection_state_check_timestamp instance-attribute

connection_state_check_timestamp: NotRequired[Timestamp]

The timestamp of the connection status check.

last_known_user_connection_timestamp instance-attribute

last_known_user_connection_timestamp: NotRequired[Timestamp]

The timestamp of the last known user connection.

workspace_id instance-attribute

workspace_id: NotRequired[WorkspaceId]

The identifier of the WorkSpace.