Introducing a new way to review your PRs.

Read the announcement

aio-libs / aiobotocore

asyncio support for botocore library using aiohttp

View on GitHub

18 documents · Updated Nov 20, 2026

overview

Knowledge Base updated: 2026-11-19

aiobotocore knowledge base

aiobotocore provides asynchronous counterparts to botocore sessions, clients, request execution, and selected service helpers while preserving botocore-compatible models, configuration, and event behavior.

The main runtime path starts with an async session and client, resolves configuration and credentials, signs and dispatches requests through async HTTP transports, then parses responses into botocore-shaped results. Higher-level pagination, waiters, event streams, retries, and test tooling build on that path.

Critical shared state is concentrated in session components and client configuration; transport sessions and streaming responses have explicit asynchronous cleanup boundaries.

flowchart TD
  App[Application] --> Session[AioSession]
  Session --> Client[Async client]
  Session --> Config[Configuration and credentials]
  Client --> Events[Botocore event system]
  Client --> Endpoint[Endpoint resolver]
  Config --> Signer[Request signer]
  Client --> Signer
  Signer --> Request[AWS request]
  Endpoint --> Transport[aiohttp / HTTPX session]
  Request --> Transport
  Transport --> Response[Async response body]
  Response --> Parser[Protocol parser and checksums]
  Parser --> Result[Service result]
  Client --> Retry[Retry handlers]
  Client --> Features[Paginators, waiters, event streams]
  Retry --> Endpoint

Glossary

  • AioSession: the asynchronous session implementation that supplies botocore-compatible components and creates clients.
  • AioEndpoint: the endpoint layer that coordinates request dispatch through an asynchronous HTTP session.
  • AioBaseClient: the async client surface that exposes generated service operations and higher-level helpers.
  • AioStubber: the asynchronous test double used to queue modeled responses and errors for client calls.
  • StreamingBody: the async response-body wrapper used for incremental reads and cleanup.

Invariants

Routing table