skillfed

types-aiobotocore-cloudtrail

Type annotations for aiobotocore CloudTrail 3.9.0 service generated with mypy-boto3-builder 8.12.0

types-aiobotocore-cloudtrail v3.9.0 229.0K downloads/30d#9,139 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type stub library that adds static type information for aiobotocore's CloudTrail service. It is generated automatically using mypy-boto3-builder and works with type checkers (mypy, pyright) and IDEs (VSCode, PyCharm, Emacs, Sublime Text) to provide code completion and catch type errors before runtime.

The package contains type annotations for CloudTrailClient, paginators, and service-specific type definitions. It is designed to be installed alongside aiobotocore and requires only typing-extensions as a runtime dependency. The annotations enable developers to write async CloudTrail code with full IDE support and static type safety, without requiring explicit type annotations in most cases.

Use it for:

  • Enable IDE autocomplete and type checking when writing async CloudTrail audit log queries with aiobotocore.
  • Catch type mismatches in CloudTrail API calls during development using mypy or pyright before deployment.
  • Provide explicit type hints for CloudTrailClient, paginators, and response objects in production async code.
  • Support team development by making CloudTrail API contracts visible in VSCode, PyCharm, and other editors.
  • Use with TYPE_CHECKING guards to add type safety without adding a production runtime dependency.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations for aiobotocore's CloudTrail service, enabling type checking and IDE code completion for async AWS CloudTrail operations.

Yes. If you use aiobotocore for CloudTrail operations, this package is worth installing. It has low install friction, active maintenance, MIT licensing, no known vulnerabilities, and provides immediate value through IDE support and type checking. The only caveat is PyCharm users may experience performance issues with Literal overloads; the documentation suggests using the lite variant in that case.

Install

types-aiobotocore-cloudtrail on PyPI

pip

pip install types-aiobotocore-cloudtrail

uv

uv add types-aiobotocore-cloudtrail

poetry

poetry add types-aiobotocore-cloudtrail

Installing types-aiobotocore-cloudtrail

Before you install

Low install friction with a single lightweight runtime dependency (typing-extensions). Actively maintained with recent releases; last commit 2026-06-22 and release 12 days old.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.

Quickstart

pip install types-aiobotocore-cloudtrail

from aiobotocore.session import get_session
from types_aiobotocore_cloudtrail import CloudTrailClient

session = get_session()
async with session.create_client("cloudtrail") as client:
    client: CloudTrailClient  # type checking now enabled

Requires aiobotocore 3.9.0 to be installed separately; Python 3.9 or later.

Verify before relying

  • Whether PyCharm performance issues with Literal overloads mentioned in the description have been resolved in current versions.
  • Actual type coverage completeness for all CloudTrail operations and edge cases.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — typing-extensions
Maintenance actively maintained — 12 days since the last release
Last repo commit
First released
Downloads 228,991/month — #9,139 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_aiobotocore_cloudtrail-3.9.0-py3-none-any.whl

Keywords: aiobotocore, cloudtrail, aiobotocore-stubs, type-annotations, mypy, typeshed, autocomplete

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

aiobotocore cloudtrail type stubsaws cloudtrail async type hintsmypy boto3 cloudtrail annotationspyright aiobotocore cloudtrailcloudtrail client type checkingaiobotocore type stubs generatoride autocomplete aws cloudtrail
type-stubsaws-sdkasync

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-cloudtrail

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

types-aiobotocore-ec2

Provides type stubs and annotations for…

permissive · top 5,000 on PyPI

types-aiobotocore-cloudformation

Provides type annotations and IDE…

permissive · top 5,000 on PyPI

types-aiobotocore-iot

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

types-aiobotocore-s3

Provides type stubs and IDE autocompletion…

permissive · top 5,000 on PyPI

types-aiobotocore-lite

Provides type annotations for aiobotocore…

permissive · top 15,000 on PyPI

types-aiobotocore-cloudwatch

Provides type stubs and IDE autocompletion for…

permissive · top 15,000 on PyPI

types-aiobotocore-sqs

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

types-aiobotocore

Provides type annotations and IDE…

permissive · top 5,000 on PyPI

types-aiobotocore-connect

Provides type stubs and annotations for the…

permissive · top 15,000 on PyPI