Smaws_Client_SageMaker.DeleteAIWorkloadConfigDeletes the specified AI workload configuration. You cannot delete a configuration that is referenced by an active benchmark job.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_ai_workload_config_request ->
(Types.delete_ai_workload_config_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_ai_workload_config_request ->
(Types.delete_ai_workload_config_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result