SessionData

Contains the metadata for a session returned by ListSessions, including its status, compute target, database connection, and lifecycle timestamps.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The cluster identifier. This element is not returned when connecting to a serverless workgroup.

Link copied to clipboard

The date and time (UTC) when the session was created.

Link copied to clipboard

The identifier of the SQL statement currently running in the session. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This element is returned only when the session status is BUSY.

Link copied to clipboard

The name of the database that the session is connected to.

Link copied to clipboard

The database user name.

Link copied to clipboard

The number of seconds that the session is kept alive after a query finishes.

Link copied to clipboard

The session identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

Link copied to clipboard

The date and time (UTC) when the session is set to expire and be closed.

Link copied to clipboard

The status of the session. Status values are defined as follows:

Link copied to clipboard

The date and time (UTC) that the session metadata was last updated. An example is the time the status last changed.

Link copied to clipboard

The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.

Functions

Link copied to clipboard
inline fun copy(block: SessionData.Builder.() -> Unit = {}): SessionData
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String