Values.UpdateCachePolicyRequestSourceUpdates a cache policy configuration. When you update a cache policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a cache policy configuration: Use GetCachePolicyConfig to get the current configuration. Locally modify the fields in the cache policy configuration that you want to update. Call UpdateCachePolicy by providing the entire cache policy configuration, including the fields that you modified and those that you didn't. If your minimum TTL is greater than 0, CloudFront will cache content for at least the duration specified in the cache policy's minimum TTL, even if the Cache-Control: no-cache, no-store, or private directives are present in the origin headers.
type nonrec t = {cachePolicyConfig : CachePolicyConfig.t;A cache policy configuration.
*)id : String_.t;The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId field in the response to GetDistributionConfig.
*)ifMatch : String_.t option;The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.
*)}val of_header_and_body :
((string, String_.t) Awso.Import.List.Assoc.t * CachePolicyConfig.t) ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `Long of Long.t
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.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 ])
list ]