Smaws_Client_SageMaker.CreateAIBenchmarkJobCreates a benchmark job that runs performance benchmarks against inference infrastructure using a predefined AI workload configuration. The benchmark job measures metrics such as latency, throughput, and cost for your generative AI inference endpoints.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_ai_benchmark_job_request ->
(Types.create_ai_benchmark_job_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_ai_benchmark_job_request ->
(Types.create_ai_benchmark_job_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUse of Types.resource_in_use
| `ResourceLimitExceeded of Types.resource_limit_exceeded
| `ResourceNotFound of Types.resource_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result