Registry / type-stubs / mypy-boto3-acm-pca

mypy-boto3-acm-pca

JSON →
library1.42.3pypypiunverified

mypy-boto3-acm-pca provides type annotations (stubs) for the boto3 ACMPCA service, enabling static type checking with tools like MyPy. It is part of the broader mypy-boto3-builder project, which generates stubs for all AWS services. The current version is 1.42.3 and new versions are released regularly to keep pace with boto3 updates.

type-stubsaws
Install & Compatibility
Where this runs
tested against v1.43.0 · 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
py 3.103.925 runs
installs and imports cleanly · install 0.0s · import 0.614s · 51.4MB
glibc
py 3.103.925 runs
installs and imports cleanly · install 3.8s · import 0.574s · 52MB
50MB installed
● package 50MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from mypy_boto3_acm_pca.client import ACMPCAClient

Recommended pattern for conditional import of type stubs to avoid runtime dependency.

from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_acm_pca.client import ACMPCAClient

Initializes a boto3 ACMPCA client and demonstrates how to use the type annotations for static analysis while maintaining standard boto3 runtime behavior.

import boto3 from typing import TYPE_CHECKING # The actual boto3 client is used at runtime session = boto3.Session() client = session.client("acm-pca") # For type checking only, use conditional import if TYPE_CHECKING: from mypy_boto3_acm_pca.client import ACMPCAClient # Type-hint the client for static analysis typed_client: ACMPCAClient = client # Example usage with type-hinted client # These calls will be type-checked by MyPy response = typed_client.list_certificate_authorities( MaxResults=5, Status='ACTIVE' ) print(response.get('CertificateAuthorities')) else: # Runtime execution will use the untyped client response = client.list_certificate_authorities(MaxResults=5) print(response.get('CertificateAuthorities'))
Debug
Known footguns
breakingStarting with `mypy-boto3-builder` version 8.12.0, support for Python 3.8 has been removed across all `mypy-boto3` packages. This library (v1.42.3) requires Python >= 3.9.
breakingIn `mypy-boto3-builder` version 8.9.0, there were changes to how TypeDef names are generated, including shortening packed method argument TypeDefs and reordering postfixes for conflicting names. If you were directly importing and using these generated TypeDefs, your code may break.
gotchaThis package provides only type stubs. The `boto3` library itself is still required at runtime for your application to function correctly. Ensure `boto3` is installed alongside `mypy-boto3-acm-pca`.
gotchaThe `mypy-boto3` project migrated to PEP 561 compliant packages with `mypy-boto3-builder` version 8.12.0. While this is a standard for type stubs, older `mypy` versions or custom `mypy` configurations might struggle to locate the stubs correctly. Ensure `mypy` is up-to-date and configured to find installed packages.
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
14 hits · last 30 days
gptbot
4
ahrefsbot
4
script
1
bytedance
1
Resources