Module Values.CanarySettingsSource

Configuration settings of a canary deployment.

Sourcetype nonrec t = {
  1. percentTraffic : Double.t option;
    (*

    The percent (0-100) of traffic diverted to a canary deployment.

    *)
  2. deploymentId : String_.t option;
    (*

    The ID of the canary deployment.

    *)
  3. stageVariableOverrides : MapOfStringToString.t option;
    (*

    Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.

    *)
  4. useStageCache : Boolean.t option;
    (*

    A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

    *)
}
Sourceval make : ?percentTraffic:??? -> ?deploymentId:??? -> ?stageVariableOverrides:??? -> ?useStageCache:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.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