Registry /
type-stubs / types-aiobotocore-lambda
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
muslpy 3.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.8MB
glibcpy 3.10–3.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.fixUpgrade 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`.fixUpdate 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.fixIf 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.fixConsider 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.