Smaws_Client_SageMaker.UpdateEndpointWeightsAndCapacitiesUpdates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, SageMaker sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceLimitExceeded of Types.resource_limit_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_endpoint_weights_and_capacities_input ->
(Types.update_endpoint_weights_and_capacities_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceLimitExceeded of Types.resource_limit_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_endpoint_weights_and_capacities_input ->
(Types.update_endpoint_weights_and_capacities_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceLimitExceeded of Types.resource_limit_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result