Smaws_Client_SageMaker.CreateOptimizationJobCreates a job that optimizes a model for inference performance. To create the job, you provide the location of a source model, and you provide the settings for the optimization techniques that you want the job to apply. When the job completes successfully, SageMaker uploads the new optimized model to the output destination that you specify.
For more information about how to use this action, and about the supported optimization techniques, see Optimize model inference with Amazon SageMaker.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_optimization_job_request ->
(Types.create_optimization_job_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_optimization_job_request ->
(Types.create_optimization_job_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result