Registry /
type-stubs / mypy-boto3-auditmanager
Install & Compatibility
Where this runs
tested against v1.43.23 · 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.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AuditManagerClient
✓ from mypy_boto3_auditmanager import AuditManagerClient
✗ from mypy_boto3_auditmanager import AuditManagerClient
This quickstart demonstrates how to import and use the `AuditManagerClient` type for type-hinting a Boto3 client, and how to use specific type definitions for request and response objects for improved static analysis. Ensure 'your-audit-report-id' is replaced with a valid value for a runnable example.
import boto3
from mypy_boto3_auditmanager.client import AuditManagerClient
from mypy_boto3_auditmanager.type_defs import GetChangeLogsRequestRequestTypeDef, GetChangeLogsResponseTypeDef
# Instantiate a Boto3 client with type hints
client: AuditManagerClient = boto3.client("auditmanager")
# Example of using type definitions for request and response
request_params: GetChangeLogsRequestRequestTypeDef = {
"auditReportId": "your-audit-report-id", # Replace with actual ID
"nextToken": "",
"maxResults": 10
}
try:
# Call a service method, type checkers will validate arguments and return type
response: GetChangeLogsResponseTypeDef = client.get_change_logs(**request_params)
print(f"Successfully retrieved {len(response.get('changeLogs', []))} change logs.")
except Exception as e:
print(f"Error calling AuditManager: {e}")
Debug
Known issues
breakingPython 3.8 support was removed for all `mypy-boto3` packages, including `mypy-boto3-auditmanager`, starting with `mypy-boto3-builder` version 8.12.0.fixUpgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0
breakingType Definition Naming Conventions underwent changes in `mypy-boto3-builder 8.9.0`. For example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef` and `Extra` postfixes moved to the end.fixReview your code for any custom `TypeDef` imports and adjust names according to the updated conventions. Refer to the `mypy-boto3-builder` release notes for specific services you use.
affects: mypy-boto3-builder >=8.9.0
gotchaIt is critical that the version of `mypy-boto3-auditmanager` exactly matches the major and minor version of your installed `boto3` library (e.g., `mypy-boto3-auditmanager==1.x.y` for `boto3==1.x.z`). Mismatched versions can lead to incorrect type checking or runtime errors.fixAlways install `mypy-boto3-auditmanager` with the same major.minor version as `boto3` (e.g., `pip install boto3==1.42.3 mypy-boto3-auditmanager==1.42.3`).
affects: All versions
gotcha`mypy-boto3` packages migrated to PEP 561 packaging in `mypy-boto3-builder 8.12.0`. While generally transparent, this might affect advanced build systems or tools that rely on specific package discovery mechanisms.fixEnsure your environment (e.g., `mypy` configuration) correctly discovers PEP 561-compliant type packages. No direct code change is typically required, but check your `mypy` setup.
affects: mypy-boto3-builder >=8.12.0
Upgrade
Version history
1.43.23latest on PyPI · released Jun 4, 2026
Audit
Dependencies
boto3==1.42.3requiredThis package provides type stubs for the `boto3` library; it is designed to match a specific `boto3` version.