Returns the Spark Connect endpoint URL and a time-limited authentication token for the specified session¶
Description¶
Returns the Spark Connect endpoint URL and a time-limited authentication token for the specified session. Use the endpoint and token to connect a PySpark client to the session. Call this operation again when the token expires to obtain a new one.
Usage¶
Arguments¶
ClusterId
[required] The ID of the cluster that the session belongs to.
SessionId
[required] The ID of the session.
Value¶
A list with the following syntax:
list(
Endpoint = "string",
AuthToken = "string",
AuthTokenExpirationTime = as.POSIXct(
"2015-01-01"
),
Credentials = list(
UsernamePassword = list(
Username = "string",
Password = "string"
)
)
)