Create or update a function

Creates or updates a serverless function for a custom action definition. If a function of the specified type already exists, it will be replaced with the new function source code.