AWS Lambda · Schema

UpdateFunctionCodeRequest

Request body for updating a function's code

Properties

Name Type Description
ZipFile string Base64-encoded contents of the deployment package. AWS SDK and CLI clients handle encoding automatically.
S3Bucket string An S3 bucket in the same AWS Region as the function
S3Key string The S3 key of the deployment package
S3ObjectVersion string For versioned S3 objects, the version of the deployment package
ImageUri string URI of a container image in Amazon ECR
Publish boolean Set to true to publish a new version of the function after updating the code
DryRun boolean Set to true to validate the request without updating the code
RevisionId string Update only if the revision ID matches
Architectures array
View JSON Schema on GitHub

JSON Schema

aws-lambda-update-function-code-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UpdateFunctionCodeRequest",
  "type": "object",
  "description": "Request body for updating a function's code",
  "properties": {
    "ZipFile": {
      "type": "string",
      "description": "Base64-encoded contents of the deployment package. AWS SDK and CLI clients handle encoding automatically."
    },
    "S3Bucket": {
      "type": "string",
      "description": "An S3 bucket in the same AWS Region as the function"
    },
    "S3Key": {
      "type": "string",
      "description": "The S3 key of the deployment package"
    },
    "S3ObjectVersion": {
      "type": "string",
      "description": "For versioned S3 objects, the version of the deployment package"
    },
    "ImageUri": {
      "type": "string",
      "description": "URI of a container image in Amazon ECR"
    },
    "Publish": {
      "type": "boolean",
      "description": "Set to true to publish a new version of the function after updating the code"
    },
    "DryRun": {
      "type": "boolean",
      "description": "Set to true to validate the request without updating the code"
    },
    "RevisionId": {
      "type": "string",
      "description": "Update only if the revision ID matches"
    },
    "Architectures": {
      "type": "array"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aws-lambda-update-function-code-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.