Module Values.UpdateResponseHeadersPolicyRequestSource

Updates a response headers policy. When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration: Use GetResponseHeadersPolicyConfig to get the current policy's configuration. Modify the fields in the response headers policy configuration that you want to update. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.

Sourcetype nonrec t = {
  1. responseHeadersPolicyConfig : ResponseHeadersPolicyConfig.t;
    (*

    A response headers policy configuration.

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

    The identifier for the response headers policy that you are updating.

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

    The version of the response headers policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetResponseHeadersPolicyConfig.

    *)
}
Sourceval context_ : string
Sourceval make : ?ifMatch:??? -> responseHeadersPolicyConfig:ResponseHeadersPolicyConfig.t -> id:String_.t -> unit -> 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 | `Double of SamplingRate.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ] list | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `String of String_.t ] list | `String of String_.t ]) 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