AWS Lambda Functions API

Create, configure, invoke, and manage Lambda functions

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
IT Infrastructure Management BC-600.50

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /2015-03-31/functions/{FunctionName} Delete a Lambda function or one of its versions · Delete Function #
Ask an LLM
“Does deleting a Lambda function also remove all its versions and aliases?”
“Can I delete just one published version of a function and keep the rest?”
Tell an agent destructive · confirm first
Delete Lambda function {function} with all of its versions and aliases using the 2015-03-31 endpoint.
Delete only version {qualifier} of function {function}.
GET /2015-03-31/functions/{FunctionName} Get a function's details and code download link · Get Function #
Ask an LLM
“How can I download the deployment package of an existing Lambda function?”
“Can I get details for one specific version or alias of a function rather than $LATEST?”
Tell an agent
Get the details and a code download link for function {function} via the 2015-03-31 API.
Show me function {function} at version or alias {qualifier}, including its tags and code location.
GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions List Functions By Code Signing Config #
POST /2015-03-31/functions Create a Lambda function from a deployment package · Create Function #
Ask an LLM
“What do I need to create a new Lambda function: code, execution role, runtime?”
“Can I set memory, timeout, VPC and environment variables when I first create a function?”
Tell an agent
Create a Lambda function named {name} with runtime {runtime}, handler {handler} and execution role {role} from code {code}.
Create function {name} from container image code {code} with role {role}, packaged as {package_type}.
GET /2015-03-31/functions List Lambda functions with their configuration · List Functions #
Ask an LLM
“What Lambda functions do I have in this AWS Region?”
“Can I include every published version of each function when listing them, not just $LATEST?”
Tell an agent
List my Lambda functions, {max} per page, on the 2015-03-31 API.
List all functions including every published version by setting FunctionVersion to {function_version}.
PUT /2015-03-31/functions/{FunctionName}/code Deploy new code to a Lambda function · Update Function Code #
Ask an LLM
“How do I deploy a new zip from S3 to my existing Lambda function?”
“Can I point a container-image function at a new image in Amazon ECR?”
Tell an agent
Deploy the package at s3://{bucket}/{key} to function {function} using the 2015-03-31 code endpoint.
Update function {function} to container image {image_uri} and publish a new version.
PUT /2015-03-31/functions/{FunctionName}/configuration Change a function's memory, timeout or environment · Update Function Configuration #
Ask an LLM
“How do I raise the memory or timeout on an existing Lambda function?”
“Can I change environment variables or attach layers to a function without redeploying its code?”
Tell an agent
Set function {function} to {memory} MB of memory and a {timeout}-second timeout on the 2015-03-31 configuration endpoint.
Replace the environment variables of function {function} with {environment}.
GET /2015-03-31/functions/{FunctionName}/configuration Get a function's runtime and resource settings · Get Function Configuration #
Ask an LLM
“What runtime, memory size and timeout is my function configured with?”
“Where can I check a function's handler, role, VPC settings and code SHA-256 without downloading the code?”
Tell an agent
Show the configuration settings (runtime, memory, timeout, role) of function {function}.
Get the version-specific configuration of function {function} for {qualifier}.
POST /2015-03-31/functions/{FunctionName}/invocations Run a Lambda function synchronously or async · Invoke #
Ask an LLM
“How do I call a Lambda function and wait for its response?”
“Can I trigger a function asynchronously so the call returns right away?”
Tell an agent
Invoke function {function} synchronously through the 2015-03-31 invocations endpoint and return its response.
Invoke function {function} with invocation type {invocation_type} so it runs in the background.

Documentation

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/aws-lambda:aws-lambda-functions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

aws-lambda-functions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Lambda Functions API
  version: '2015-03-31'
  description: Generated from AWS's published Smithy model for AWS Lambda. 9 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://lambda.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (87 KB total) ---
# Full source: https://artifacts.apis.io/aws-lambda/openapi/aws-lambda-functions-api-openapi.yml