Module Values.DeleteCachePolicyRequestSource

Deletes a cache policy. You cannot delete a cache policy if it's attached to a cache behavior. First update your distributions to remove the cache policy from all cache behaviors, then delete the cache policy. To delete a cache policy, you must provide the policy's identifier and version. To get these values, you can use ListCachePolicies or GetCachePolicy.

Sourcetype nonrec t = {
  1. id : String_.t;
    (*

    The unique identifier for the cache policy that you are deleting. To get the identifier, you can use ListCachePolicies.

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

    The version of the cache policy that you are deleting. The version is the cache policy's ETag value, which you can get using ListCachePolicies, GetCachePolicy, or GetCachePolicyConfig.

    *)
}
Sourceval context_ : string
Sourceval make : ?ifMatch:??? -> id:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) 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