Module Values_2.UpdateEndpointInputSource

Deploys the EndpointConfig specified in the request to a new fleet of instances. SageMaker shifts endpoint traffic to the new instances with the updated endpoint configuration and then deletes the old instances using the previous EndpointConfig (there is no availability loss). For more information about how to control the update and traffic shifting process, see Update models in production. When SageMaker receives the request, it 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. You must not delete an EndpointConfig in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. If you delete the EndpointConfig of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.

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

    The name of the endpoint whose configuration you want to update.

    *)
  2. endpointConfigName : Values_0.EndpointConfigName.t;
    (*

    The name of the new endpoint configuration.

    *)
  3. retainAllVariantProperties : Values_0.Boolean.t option;
    (*

    When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true. To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false. The default is false.

    *)
  4. excludeRetainedVariantProperties : VariantPropertyList.t option;
    (*

    When you are updating endpoint resources with RetainAllVariantProperties, whose value is set to true, ExcludeRetainedVariantProperties specifies the list of type VariantProperty to override with the values provided by EndpointConfig. If you don't specify a value for ExcludeRetainedVariantProperties, no variant properties are overridden.

    *)
  5. deploymentConfig : Values_0.DeploymentConfig.t option;
    (*

    The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

    *)
  6. retainDeploymentConfig : Values_0.Boolean.t option;
    (*

    Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).

    *)
}
Sourceval context_ : string
Sourceval make : ?retainAllVariantProperties:??? -> ?excludeRetainedVariantProperties:??? -> ?deploymentConfig:??? -> ?retainDeploymentConfig:??? -> endpointName:Values_0.EndpointName.t -> endpointConfigName:Values_0.EndpointConfigName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `List of [> `Structure of (string * [> `Enum of string ]) list ] list | `String of Values_0.EndpointName.t | `Structure of (string * [> `Structure of (string * [> `Integer of int | `List of [> `Structure of (string * [> `String of string ]) list ] list | `Structure of (string * [> `Enum of string | `Integer of int | `Structure of (string * [> `Enum of string | `Integer of int ]) list ]) list ]) list ]) list ]) 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