Skip to content

Terminate Session

emrserverless_terminate_session R Documentation

Terminates the specified session

Description

Terminates the specified session. After you terminate a session, it enters the TERMINATING state and then the TERMINATED state. You can still access the Spark History Server for a terminated session through the get_resource_dashboard operation.

Usage

emrserverless_terminate_session(applicationId, sessionId)

Arguments

applicationId

[required] The ID of the application that the session belongs to.

sessionId

[required] The ID of the session to terminate.

Value

A list with the following syntax:

list(
  applicationId = "string",
  sessionId = "string"
)

Request syntax

svc$terminate_session(
  applicationId = "string",
  sessionId = "string"
)