A Python package that mirrors botocore with async await clients for Amazon Web Services APIs.
Overview
aiobotocore provides asynchronous access to AWS services by combining botocore with aiohttp and asyncio. It offers a mostly full-featured async counterpart to botocore for code that already uses Amazon's SDK patterns but needs non-blocking I/O.
Typical usage creates a session, opens an async client context for a service such as S3, and awaits operations like put_object, get_object, paginated list calls, and delete_object. Examples also show integrating clients with asyncio AsyncExitStack for structured cleanup in larger applications.
Verified coverage includes S3, DynamoDB, SNS, SQS, CloudFormation, and Kinesis; many other boto3 services may work by awaiting standard client methods. Optional types-aiobotocore packages add IDE type checking and completion for selected services.
Installation is via pip; runtime requirements include Python 3.10 or newer, aiohttp, and botocore. Usage patterns and service examples are documented rather than hosting infrastructure itself.
Key features
- Async await AWS service clients
- Built on botocore and aiohttp
- S3 upload, download, paginate, delete
- AsyncExitStack client lifecycle patterns
- Tested S3, DynamoDB, SNS, SQS, more
- Optional types-aiobotocore annotations
- Paginator support for list operations
- pip installable package
Use cases
- Non-blocking S3 workflows in asyncio
- Async AWS microservices
- High-concurrency cloud API calls
- Migrating sync boto3 code to async