Session

class Session

Detailed information about a Spark Connect session.

Types

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

Properties

Link copied to clipboard

The Amazon Web Services account ID that owns the session.

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN) of the session.

Link copied to clipboard

The certificate authority used to establish an mTLS connection to the Spark Connect server when connecting directly over VPC peering.

Link copied to clipboard

The ID of the cluster that the session belongs to.

Link copied to clipboard

The date and time that the session was created.

Link copied to clipboard

The date and time that the session was terminated or failed.

Link copied to clipboard

The configuration overrides for the session. Only runtime configuration overrides are supported.

Link copied to clipboard

The execution role ARN for the session. Amazon EMR uses this role to access Amazon Web Services resources on your behalf during session execution.

Link copied to clipboard
val id: String?

The ID of the session.

Link copied to clipboard

The date and time that the session last entered the IDLE state.

Link copied to clipboard

The monitoring configuration for the session.

Link copied to clipboard
val name: String?

The name of the session, if one was provided at creation time.

Link copied to clipboard

The Amazon EMR release label of the cluster that the session is running on.

Link copied to clipboard

The Spark Connect server URL for the session. Use this URL with the Credentials returned by GetSessionEndpoint to connect directly to the session over VPC peering.

Link copied to clipboard

The idle timeout, in minutes. If the session is idle for this duration, Amazon EMR automatically terminates it.

Link copied to clipboard

The date and time that the session entered the STARTED state.

Link copied to clipboard

The current state of the session. Valid values are SUBMITTED, STARTING, STARTED, IDLE, BUSY, TERMINATING, TERMINATED, and FAILED.

Link copied to clipboard

A human-readable message describing the most recent state change.

Link copied to clipboard
val tags: List<Tag>?

The tags associated with the session.

Link copied to clipboard

The date and time that the session was last updated.

Functions

Link copied to clipboard
inline fun copy(block: Session.Builder.() -> Unit = {}): Session
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