Values.UpdateResponseHeadersPolicyRequestSourceUpdates 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.
type nonrec t = {responseHeadersPolicyConfig : ResponseHeadersPolicyConfig.t;A response headers policy configuration.
*)id : String_.t;The identifier for the response headers policy that you are updating.
*)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.
*)}val make :
?ifMatch:??? ->
responseHeadersPolicyConfig:ResponseHeadersPolicyConfig.t ->
id:String_.t ->
unit ->
tval of_header_and_body :
((string, String_.t) Awso.Import.List.Assoc.t * ResponseHeadersPolicyConfig.t) ->
tval 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 ]