Module Values.UpdateContinuousDeploymentPolicyResultSource

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. continuousDeploymentPolicy : ContinuousDeploymentPolicy.t option;
    (*

    A continuous deployment policy.

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

    The version identifier for the current version of the continuous deployment policy.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `InconsistentQuantities of InconsistentQuantities.t
  3. | `InvalidArgument of InvalidArgument.t
  4. | `InvalidIfMatchVersion of InvalidIfMatchVersion.t
  5. | `NoSuchContinuousDeploymentPolicy of NoSuchContinuousDeploymentPolicy.t
  6. | `PreconditionFailed of PreconditionFailed.t
  7. | `StagingDistributionInUse of StagingDistributionInUse.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?continuousDeploymentPolicy:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `InconsistentQuantities of InconsistentQuantities.t | `InvalidArgument of InvalidArgument.t | `InvalidIfMatchVersion of InvalidIfMatchVersion.t | `NoSuchContinuousDeploymentPolicy of NoSuchContinuousDeploymentPolicy.t | `PreconditionFailed of PreconditionFailed.t | `StagingDistributionInUse of StagingDistributionInUse.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `InconsistentQuantities of InconsistentQuantities.t | `InvalidArgument of InvalidArgument.t | `InvalidIfMatchVersion of InvalidIfMatchVersion.t | `NoSuchContinuousDeploymentPolicy of NoSuchContinuousDeploymentPolicy.t | `PreconditionFailed of PreconditionFailed.t | `StagingDistributionInUse of StagingDistributionInUse.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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 | `Timestamp of Timestamp.t ]) 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