Registry / type-stubs / mypy-boto3-auditmanager

mypy-boto3-auditmanager

JSON →
library1.42.3pypypiunverified

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.

type-stubsaws
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
musl
glibc
py 3.10
4/5 runs
4/5 runs
py 3.11
4/5 runs
4/5 runs
py 3.12
4/5 runs
4/5 runs
py 3.13
4/5 runs
4/5 runs
py 3.9
4/5 runs
4/5 runs
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}")
Debug
Known footguns
breakingPython 3.8 support was removed for all `mypy-boto3` packages, including `mypy-boto3-auditmanager`, starting with `mypy-boto3-builder` version 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.
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.
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.
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.

Agent activity
17 hits · last 30 days
gptbot
4
ahrefsbot
4
bytedance
2
script
1
Resources