Module Values_1.ShadowModeConfigSource

The configuration of ShadowMode inference experiment type, which specifies a production variant to take all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also specifies the percentage of requests that Amazon SageMaker replicates.

Sourcetype nonrec t = {
  1. sourceModelVariantName : ModelVariantName.t;
    (*

    The name of the production variant, which takes all the inference requests.

    *)
  2. shadowModelVariants : ShadowModelVariantConfigList.t;
    (*

    List of shadow variant configurations.

    *)
}
Sourceval context_ : string
Sourceval make : sourceModelVariantName:ModelVariantName.t -> shadowModelVariants:ShadowModelVariantConfigList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of Values_0.Percentage.t | `String of ModelVariantName.t ]) list ] list | `String of ModelVariantName.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