Skip to content

Get Session Endpoint

emrserverless_get_session_endpoint R Documentation

Returns the session endpoint URL and a time-limited authentication token for the specified session

Description

Returns the session endpoint URL and a time-limited authentication token for the specified session. Use the endpoint and token to connect a client to the session. Call this operation again when the authentication token expires to obtain a new token.

Usage

emrserverless_get_session_endpoint(applicationId, sessionId)

Arguments

applicationId

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

sessionId

[required] The ID of the session.

Value

A list with the following syntax:

list(
  applicationId = "string",
  sessionId = "string",
  endpoint = "string",
  authToken = "string",
  authTokenExpiresAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

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