Registry / type-stubs / types-aiobotocore-lambda

types-aiobotocore-lambda

JSON →
library3.9.0pypypi✓ verified 24d ago

types-aiobotocore-lambda provides machine-generated type annotations (stubs) for the aiobotocore Lambda service, enabling static type checking and improved IDE autocompletion for asynchronous AWS SDK usage in Python. It is part of the mypy-boto3-builder project, currently at version 3.4.0, with regular updates following upstream aiobotocore and botocore releases.

pip install types-aiobotocore-lambda
INSTALL
IMPORT
SIG · TYPES-AIOBOTOCORE-
T
types-aiobotocore-lambda
type-stubspythonv3.9.0
Install
3.1s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.9.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.8MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.1s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LambdaClient
from types_aiobotocore_lambda import LambdaClient
from types_aiobotocore_lambda import LambdaClient

This example demonstrates how to set up an aiobotocore Lambda client with explicit type annotations using `types-aiobotocore-lambda` to leverage static analysis and IDE autocompletion for asynchronous AWS Lambda operations. It lists available Lambda functions.

import asyncio from aiobotocore.session import get_session from types_aiobotocore_lambda.client import LambdaClient async def list_lambda_functions(): session = get_session() # Ensure AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are set in environment # or ~/.aws/credentials for this to run. async with session.create_client("lambda") as client: client: LambdaClient # Explicit type hint for static analysis response = await client.list_functions() for func in response.get("Functions", []): print(f"Function Name: {func['FunctionName']}, Runtime: {func['Runtime']}") if __name__ == "__main__": asyncio.run(list_lambda_functions())
Debug
Known issues
breakingPython 3.8 is no longer supported. Packages generated by mypy-boto3-builder 8.12.0 and later require Python 3.9 or higher.
fix
Upgrade your Python environment to 3.9 or newer. Ensure your CI/CD pipelines use a compatible Python version.
affects: mypy-boto3-builder 8.12.0+ (corresponds to types-aiobotocore-lambda ~3.4.0+)
breakingBreaking changes in generated TypeDef naming conventions were introduced. Type definitions like `CreateDistributionRequestRequestTypeDef` might have been shortened to `CreateDistributionRequestTypeDef`.
fix
Update your code to use the new TypeDef names. Refer to the documentation for specific service changes.
affects: mypy-boto3-builder 8.9.0+ (corresponds to types-aiobotocore-lambda ~3.x.x+)
deprecatedThe `sms-voice` service was deprecated in favor of `pinpoint-sms-voice`. While this specific package is for Lambda, users transitioning from broader `types-aiobotocore` installations might encounter this if they used `sms-voice` types.
fix
If integrating with SMS Voice functionality, switch to `types-aiobotocore-pinpoint-sms-voice` or `pinpoint-sms-voice` in your aiobotocore client calls.
affects: mypy-boto3-builder 8.11.0+ (all packages)
gotchaPyCharm users may experience slow performance due to Literal overloads. The `types-aiobotocore-lite` package is recommended as an alternative for better IDE responsiveness.
fix
Consider installing `types-aiobotocore-lite-lambda` instead (`pip install types-aiobotocore-lite-lambda`) or disable PyCharm's internal type checker and rely on `mypy`/`pyright`.
affects: All versions with PyCharm
Upgrade
Version history
3.9.0latest on PyPI · released Aug 2, 2026
Audit
Dependencies
aiobotocorerequiredRuntime dependency for the AWS SDK client.
mypyoptionalOptional, for static type checking.
pyrightoptionalOptional, for static type checking.
Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
types-aiobotocore-lambda — pip install types-aiobotocore-lambda · libregistry