Module Values_2.UpdateEndpointWeightsAndCapacitiesInputSource

Updates 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.

Sourcetype nonrec t = {
  1. endpointName : Values_0.EndpointName.t;
    (*

    The name of an existing SageMaker endpoint.

    *)
  2. desiredWeightsAndCapacities : DesiredWeightAndCapacityList.t;
    (*

    An object that provides new capacity and weight values for a variant.

    *)
}
Sourceval context_ : string
Sourceval make : endpointName:Values_0.EndpointName.t -> desiredWeightsAndCapacities:DesiredWeightAndCapacityList.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t