Values.GetCachePolicyResultSourceGets a cache policy, including the following metadata: The policy's identifier. The date and time when the policy was last modified. To get a cache policy, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies.
type nonrec t = {cachePolicy : CachePolicy.t option;The cache policy.
*)eTag : String_.t option;The current version of the cache policy.
*)}type nonrec error = [ | `AccessDenied of AccessDenied.t| `NoSuchCachePolicy of NoSuchCachePolicy.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDenied of AccessDenied.t
| `NoSuchCachePolicy of NoSuchCachePolicy.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDenied of AccessDenied.t
| `NoSuchCachePolicy of NoSuchCachePolicy.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `String of String_.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
| `Timestamp of Timestamp.t ])
list ])
list ]