Smaws_Client_Glue.CancelMLTaskRunCancels (stops) a task run. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can cancel a machine learning task run at any time by calling CancelMLTaskRun with a task run's parent transform's TransformID and the task run's TaskRunId.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `EntityNotFoundException of Types.entity_not_found_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.cancel_ml_task_run_request ->
(Types.cancel_ml_task_run_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `EntityNotFoundException of Types.entity_not_found_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.cancel_ml_task_run_request ->
(Types.cancel_ml_task_run_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `EntityNotFoundException of Types.entity_not_found_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidInputException of Types.invalid_input_exception
| `OperationTimeoutException of Types.operation_timeout_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result