Registry /
type-stubs / mypy-boto3-auditmanager
mypy-boto3-auditmanager provides PEP 561 compliant type annotations for the AWS Boto3 AuditManager service, ensuring static type checking for your Boto3 clients. It is currently at version 1.42.3 and is actively maintained, with frequent releases tied to the upstream `boto3` library and `mypy-boto3-builder` updates.
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
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
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}")
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.