AWS Lambda Functions API

Create, configure, invoke, and manage Lambda functions

Business capability
IT Infrastructure Management BC-600.50

Operations 15

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

POST /functions Create a function via the unversioned /functions path · Amazon Lambda Create Function #
Ask an LLM
“Can I create a Lambda function by posting to the short /functions path?”
“What does the unversioned create-function endpoint accept?”
Tell an agent
Create a function through the unversioned /functions endpoint.
Post a new function definition to the short-path create endpoint without a date prefix.
GET /functions List functions via the unversioned /functions path · Amazon Lambda List Functions #
Ask an LLM
“Is there a short /functions path without the date prefix for listing Lambda functions?”
“Which functions come back from the unversioned list endpoint?”
Tell an agent
List my functions using the unversioned /functions endpoint.
Fetch the function list from the short-path Lambda endpoint without a date prefix.
GET /functions/{FunctionName} Get a function via the unversioned /functions path · Amazon Lambda Get Function #
Ask an LLM
“Can I look up a single function through the short undated /functions path?”
“What does the unversioned get-function endpoint return for a function name?”
Tell an agent
Get function {function} from the unversioned /functions path.
Look up {function} on the short-path endpoint without the 2015-03-31 prefix.
DELETE /functions/{FunctionName} Delete a function via the unversioned /functions path · Amazon Lambda Delete Function #
Ask an LLM
“Can I delete a function through the short undated /functions path instead of the dated one?”
“Does the unversioned delete endpoint take only a function name?”
Tell an agent destructive · confirm first
Delete function {function} using the unversioned /functions endpoint.
Remove {function} through the short-path delete call without a date prefix.
PUT /functions/{FunctionName}/code Update code via the unversioned /functions path · Amazon Lambda Update Function Code #
Ask an LLM
“Is there a short /functions code path for pushing new function code?”
“What can I send to the unversioned update-code endpoint?”
Tell an agent
Update the code of function {function} through the unversioned /functions code path.
Push new code to {function} using the short-path code endpoint without a date prefix.
PUT /functions/{FunctionName}/configuration Update settings via the unversioned /functions path · Amazon Lambda Update Function Configuration #
Ask an LLM
“Can I modify a function's settings through the short /functions configuration path?”
“What does the unversioned update-configuration endpoint change?”
Tell an agent
Update the settings of function {function} through the unversioned configuration path.
Modify {function}'s configuration using the short-path endpoint without the 2015-03-31 prefix.
POST /functions/{FunctionName}/invocations Invoke a function via the unversioned /functions path · Amazon Lambda Invoke Function #
Ask an LLM
“Can I invoke a function by posting to the short /functions invocations path?”
“What does the unversioned invocations endpoint need besides the function name?”
Tell an agent
Invoke function {function} through the unversioned /functions invocations path.
Call {function} using the short-path invoke endpoint without a date prefix.
GET /2015-03-31/functions List Lambda functions with their configuration · Aws Lambda 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}.
POST /2015-03-31/functions Create a Lambda function from a deployment package · Aws Lambda Create a 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/{FunctionName} Get a function's details and code download link · Aws Lambda Get a 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.
DELETE /2015-03-31/functions/{FunctionName} Delete a Lambda function or one of its versions · Aws Lambda Delete a 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}/configuration Get a function's runtime and resource settings · Aws Lambda 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}.
PUT /2015-03-31/functions/{FunctionName}/configuration Change a function's memory, timeout or environment · Aws Lambda 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}.
PUT /2015-03-31/functions/{FunctionName}/code Deploy new code to a Lambda function · Aws Lambda 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.
POST /2015-03-31/functions/{FunctionName}/invocations Run a Lambda function synchronously or async · Aws Lambda Invoke a Function #
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"

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.

OpenAPI Specification

aws-lambda-functions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aws Lambda Functions API
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Functions across 2 of this provider''s published API definitions: amazon-lambda-functions-api-openapi.yml, aws-lambda-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lambda.us-east-1.amazonaws.com
  description: Amazon Lambda endpoint
- url: https://lambda.{region}.amazonaws.com
  description: AWS Lambda Regional Endpoint
  variables:
    region:
      description: The AWS region for the Lambda service endpoint
      default: us-east-1
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-north-1
      - ap-southeast-1
      - ap-southeast-2
      - ap-northeast-1
      - ap-northeast-2
      - ap-south-1
      - sa-east-1
      - ca-central-1
security:
- sigv4: []
tags:


# --- truncated at 32 KB (71 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/aws-lambda/refs/heads/main/openapi/aws-lambda-functions-api-openapi.yml