Smaws_Client_SageMaker.DeleteTrialDeletes the specified trial. All trial components that make up the trial must be deleted first. Use the DescribeTrialComponent API to get the list of trial components.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_trial_request ->
(Types.delete_trial_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_trial_request ->
(Types.delete_trial_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result