AWS Lambda Event Source Mappings API

Map event sources such as Amazon SQS, Kinesis, and DynamoDB Streams to Lambda functions for automatic invocation

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).

Operations 5

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 /2015-03-31/event-source-mappings Connect a queue or stream to a function · Create Event Source Mapping #
Ask an LLM
“How do I make an SQS queue trigger my Lambda function?”
“Can I filter which stream records reach my function before it is invoked?”
Tell an agent
Connect event source {source_arn} to function {function}.
Have {function} read stream {source_arn} from {starting_position} in batches of {batch_size}.
GET /2015-03-31/event-source-mappings List event source mappings · List Event Source Mappings #
Ask an LLM
“Which queues and streams are wired up to trigger my functions?”
“Can I see only the mappings for one SQS queue or Kinesis stream?”
Tell an agent
List the event source mappings for function {function}.
List mappings attached to event source {source_arn}.
GET /2015-03-31/event-source-mappings/{UUID} Get the details of one event source mapping · Get Event Source Mapping #
Ask an LLM
“What is the current state and batch size of a specific event source mapping?”
“Is a given trigger mapping enabled or paused right now?”
Tell an agent
Show event source mapping {uuid}.
Tell me whether mapping {uuid} is enabled and which function it invokes.
PUT /2015-03-31/event-source-mappings/{UUID} Pause, resume or retune an event source mapping · Update Event Source Mapping #
Ask an LLM
“How do I pause a queue trigger and resume later from the same position?”
“Can I send failed batches from an existing mapping to an SQS queue or SNS topic?”
Tell an agent
Set enabled to {enabled} on event source mapping {uuid}.
Point existing mapping {uuid} at function {function} with batch size {batch_size}.
DELETE /2015-03-31/event-source-mappings/{UUID} Delete an event source mapping · Delete Event Source Mapping #
Ask an LLM
“How do I stop Lambda from polling a queue or stream for good?”
“Does removing a trigger mapping delete the underlying queue?”
Tell an agent destructive · confirm first
Delete event source mapping {uuid}.
Remove trigger {uuid} so Lambda stops polling its source.

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-event-source-mappings-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-event-source-mappings-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Lambda Event Source Mappings API
  version: '2015-03-31'
  description: Generated from AWS's published Smithy model for AWS Lambda. 5 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 (51 KB total) ---
# Full source: https://artifacts.apis.io/aws-lambda/openapi/aws-lambda-event-source-mappings-api-openapi.yml