$npx skillfedfor your agent

aws-lambda-typing

A package that provides type hints for AWS Lambda event, context and response objects

With conditionsPyPI Software DevelopmentReleased Apr 20242.6M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_lambda_typing-2.20.0-py3-none-any.whl
v2.20.0 · released 2024-04-02 · Python <4.0,>=3.6 · 1 runtime deps: typing-extensions

Yes, if you are writing typed Python Lambda handlers and want IDE support and static type checking. The library is stable, has no security vulnerabilities, and carries minimal install friction. However, maintenance is dormant (last release 864 days ago), so verify that type definitions cover your specific event sources before relying on them for critical validation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single lightweight dependency (typing-extensions).
  • Maintenance is dormant—last release was 864 days ago—but the package is marked Production/Stable and the repository remains active with no archival.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for commercial and open-source projects.

last release 2024-04-02 (864 days) · last repo commit 2024-04-02 · 114 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,591,290 downloads/mo, #2,980 on PyPI

Verify before relying

pip install aws-lambda-typing

from aws_lambda_typing import context as context_, events

def handler(event: events.SQSEvent, context: context_.Context) -> None:
    for record in event['Records']:
        print(record['body'])
    print(context.get_remaining_time_in_millis())
  • Whether type hints remain accurate for AWS Lambda event schemas and API changes since last release 864 days ago.
  • Coverage completeness for newer Lambda event sources or response types introduced after the last release date.
Same gist for agents: .md · .json

What it is and what it does

aws-lambda-typing is a type-hints library for AWS Lambda handlers. It provides type annotations for event and context objects that Lambda passes to your handler function, plus response types for various Lambda integrations including API Gateway, SQS, DynamoDB Streams, S3, SNS, and others. The package does not enforce types at runtime—it exists purely to enable IDE autocomplete and static type checking in your development environment.

You import event and context types, annotate your handler function signature, and gain IDE support for accessing fields on those objects. The library covers a broad range of AWS services that can trigger Lambda functions, including ALB, API Gateway (v1 and v2), AppSync, CloudFormation, CloudWatch, CodeCommit, CodePipeline, Cognito, Config, DynamoDB Streams, EventBridge, Kinesis, MQ, MSK, S3, Secrets Manager, SES, SNS, and SQS, along with WebSocket route events.

Use it for

  • Add IDE autocomplete and type checking to Lambda handler functions without runtime overhead.
  • Catch typos and incorrect field access in event and context objects before deployment.
  • Document the expected shape of Lambda events in your codebase through type annotations.
  • Enable refactoring tools and IDE navigation to safely trace usage of event fields across serverless code.
  • Validate handler signatures against AWS Lambda's event and context contracts during development.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are writing typed Python Lambda handlers and want IDE support and static type checking.

The library is stable, has no security vulnerabilities, and carries minimal install friction. However, maintenance is dormant (last release 864 days ago), so verify that type definitions cover your specific event sources before relying on them for critical validation.

Install

aws-lambda-typing on PyPI

Before you install

Low install friction with a single lightweight dependency (typing-extensions). Maintenance is dormant—last release was 864 days ago—but the package is marked Production/Stable and the repository remains active with no archival.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for commercial and open-source projects.

Quickstart

pip install aws-lambda-typing

from aws_lambda_typing import context as context_, events

def handler(event: events.SQSEvent, context: context_.Context) -> None:
    for record in event['Records']:
        print(record['body'])
    print(context.get_remaining_time_in_millis())

Verify before relying

  • Whether type hints remain accurate for AWS Lambda event schemas and API changes since last release 864 days ago.
  • Coverage completeness for newer Lambda event sources or response types introduced after the last release date.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing-extensions
MaintenanceDormant 864 days since the last release
Last repo commit
First released
Downloads2,591,290 / month, #2,980 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: aws_lambda_typing-2.20.0-py3-none-any.whl

Tags

Capabilities
aws lambda type hintslambda event typingserverless function typesaws lambda autocompletelambda context typestype checking lambda handlers
Topics
aws-lambdatype-hintsserverless
PyPI keywords
typingtype hintsawslambdaserverlessdevelopment

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “lambda event typing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also mypy-boto3-redshift-serverless · mypy-boto3-emr-serverless · mypy-boto3-serverlessrepo · boto3-type-annotations-with-docs · chalice · aws-lambda-context · aws-cdk.aws-sqs · mypy-boto3-lambda · boto3-type-annotations