Smaws_Client_EMR.GetSessionEndpointReturns 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_session_endpoint_input ->
(Types.get_session_endpoint_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_session_endpoint_input ->
(Types.get_session_endpoint_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result