Publishes a CloudFront function by copying the function code from the DEVELOPMENT stage to LIVE. This automatically updates all cache behaviors that are using this function to use the newly published copy in the LIVE stage.
See https://www.paws-r-sdk.com/docs/cloudfront_publish_function/ for full documentation.
cloudfront_publish_function(Name, IfMatch)[required] The name of the function that you are publishing.
[required] The current version (ETag value) of the function that you are
publishing, which you can get using
describe_function.