Values.UpdateFunctionRequestSourceUpdates a CloudFront function. You can update a function's code or the comment that describes the function. You cannot update a function's name. To update a function, you provide the function's name and version (ETag value) along with the updated function code. To get the name and version, you can use ListFunctions and DescribeFunction.
type nonrec t = {name : FunctionName.t;The name of the function that you are updating.
*)ifMatch : String_.t;The current version (ETag value) of the function that you are updating, which you can get using DescribeFunction.
*)functionConfig : FunctionConfig.t;Configuration information about the function.
*)functionCode : FunctionBlob.t;The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.
*)}val make :
name:FunctionName.t ->
ifMatch:String_.t ->
functionConfig:FunctionConfig.t ->
functionCode:FunctionBlob.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Blob of FunctionBlob.t
| `String of FunctionName.t
| `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of
(string
* [> `Integer of Integer.t
| `List of
[> `Structure of
(string * [> `String of KeyValueStoreARN.t ]) list ]
list ])
list ])
list ])
list ]