Module Values.UpdateContinuousDeploymentPolicyRequestSource

Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to. When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration: Use GetContinuousDeploymentPolicyConfig to get the current configuration. Locally modify the fields in the continuous deployment policy configuration that you want to update. Use UpdateContinuousDeploymentPolicy, providing the entire continuous deployment policy configuration, including the fields that you modified and those that you didn't.

Sourcetype nonrec t = {
  1. continuousDeploymentPolicyConfig : ContinuousDeploymentPolicyConfig.t;
    (*

    The continuous deployment policy configuration.

    *)
  2. id : String_.t;
    (*

    The identifier of the continuous deployment policy that you are updating.

    *)
  3. ifMatch : String_.t option;
    (*

    The current version (ETag value) of the continuous deployment policy that you are updating.

    *)
}
Sourceval context_ : string
Sourceval make : ?ifMatch:??? -> continuousDeploymentPolicyConfig:ContinuousDeploymentPolicyConfig.t -> id:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t ] list | `Structure of (string * [> `Float of Float_.t | `String of String_.t | `Structure of (string * [> `Integer of Integer.t ]) 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