Values_2.UpdateEndpointWeightsAndCapacitiesInputSourceUpdates 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.
type nonrec t = {endpointName : Values_0.EndpointName.t;The name of an existing SageMaker endpoint.
*)desiredWeightsAndCapacities : DesiredWeightAndCapacityList.t;An object that provides new capacity and weight values for a variant.
*)}val make :
endpointName:Values_0.EndpointName.t ->
desiredWeightsAndCapacities:DesiredWeightAndCapacityList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Float of Values_0.VariantWeight.t
| `Integer of Values_1.TaskCount.t
| `String of Values_0.VariantName.t
| `Structure of
(string
* [> `Integer of Values_0.ServerlessMaxConcurrency.t ])
list ])
list ]
list
| `String of Values_0.EndpointName.t ])
list ]