Module Values.DeleteFunctionRequestSource

Deletes a CloudFront function. You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function. To delete a function, you must provide the function's name and version (ETag value). To get these values, you can use ListFunctions and DescribeFunction.

Sourcetype nonrec t = {
  1. name : FunctionName.t;
    (*

    The name of the function that you are deleting.

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

    The current version (ETag value) of the function that you are deleting, which you can get using DescribeFunction.

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