Smaws_Client_EMR.SetKeepJobFlowAliveWhenNoStepsYou can use the SetKeepJobFlowAliveWhenNoSteps to configure a cluster (job flow) to terminate after the step execution, i.e., all your steps are executed. If you want a transient cluster that shuts down after the last of the current executing steps are completed, you can configure SetKeepJobFlowAliveWhenNoSteps to false. If you want a long running cluster, configure SetKeepJobFlowAliveWhenNoSteps to true.
For more information, see Managing Cluster Termination in the Amazon EMR Management Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.set_keep_job_flow_alive_when_no_steps_input ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.set_keep_job_flow_alive_when_no_steps_input ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error ]
* Smaws_Lib.Response.metadata)
Stdlib.result