Module Values.UpdateOriginRequestPolicyRequestSource

Updates an origin request policy configuration. When you update an origin request policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update an origin request policy configuration: Use GetOriginRequestPolicyConfig to get the current configuration. Locally modify the fields in the origin request policy configuration that you want to update. Call UpdateOriginRequestPolicy by providing the entire origin request policy configuration, including the fields that you modified and those that you didn't.

Sourcetype nonrec t = {
  1. originRequestPolicyConfig : OriginRequestPolicyConfig.t;
    (*

    An origin request policy configuration.

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

    The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior's OriginRequestPolicyId field in the response to GetDistributionConfig.

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

    The version of the origin request policy that you are updating. The version is returned in the origin request policy's ETag field in the response to GetOriginRequestPolicyConfig.

    *)
}
Sourceval context_ : string
Sourceval make : ?ifMatch:??? -> originRequestPolicyConfig:OriginRequestPolicyConfig.t -> id:String_.t -> unit -> t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * OriginRequestPolicyConfig.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.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