Module Values.GetCachePolicyConfigResultSource

Gets a cache policy configuration. To get a cache policy configuration, 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.

Sourcetype nonrec t = {
  1. cachePolicyConfig : CachePolicyConfig.t option;
    (*

    The cache policy configuration.

    *)
  2. eTag : String_.t option;
    (*

    The current version of the cache policy.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `NoSuchCachePolicy of NoSuchCachePolicy.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?cachePolicyConfig:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `NoSuchCachePolicy of NoSuchCachePolicy.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `NoSuchCachePolicy of NoSuchCachePolicy.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * CachePolicyConfig.t) -> t
Sourceval 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 ]
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