Updates 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.
put/2020-05-31/function/{Name}#If-Match
Path parameters
Namestring required
The name of the function that you are updating.
Headers
If-Matchstring required
The current version (<code>ETag</code> value) of the function that you are updating, which you can get using <code>DescribeFunction</code>.
Response
Success