Smaws_Client_EMR.StartSessionCreates and starts a new Spark Connect session on the specified cluster. The cluster must be in the RUNNING or WAITING state and have sessions enabled. This operation is supported in Amazon EMR Spark 8.0.0 and later.
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.start_session_input ->
(Types.start_session_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.start_session_input ->
(Types.start_session_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