Publish a function version

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that does not change.