Amazon Lambda · Arazzo Workflow
Amazon Lambda Update Code and Verify
Version 1.0.0
Push new function code, wait for the update to settle, then invoke to verify.
Provider
Workflows
update-code-and-verify
Update a function's code, wait for Active, and smoke-test it.
Updates the deployment package of an existing function, polls GetFunction until the State returns to Active, and invokes the function to verify the new code responds.
1
updateCode
Push the new deployment package to the function. Lambda returns the version-specific configuration with the State that resulted from the update.
2
waitForActive
Poll the function until the update finishes and the State returns to Active. A Failed state branches to the failure handler.
3
verifyInvoke
Invoke the function with a smoke-test payload to confirm the new code executes successfully.
4
reportFailure
Re-read the configuration when the update left the function in the Failed state so the caller can surface and roll back.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.