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

mypy-boto3-acm-pca

JSON →
library1.43.65pypypi✓ verified 28d ago

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.

pip install mypy-boto3-acm-pca boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-ACM-PCA
M
mypy-boto3-acm-pca
type-stubspythonv1.43.65
Install
3.9s avg
Import
580ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.43.65 · 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.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.600s · 52MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.560s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

ACMPCAClient
✓ from mypy_boto3_acm_pca.client import ACMPCAClient
ACMPCAClient
✓ from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_acm_pca.client import ACMPCAClient
Recommended pattern for conditional import of type stubs to avoid runtime dependency.

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 issues
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.
fix
Upgrade your Python environment to 3.9 or newer.
affects: >=8.12.0 (builder), >=1.42.0 (package)
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.
fix
Review your explicit TypeDef imports and adjust names according to the new generation rules. Consult the source code or rebuild your project to identify new TypeDef names.
affects: >=8.9.0 (builder), specific service packages generated with this builder version
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`.
fix
Always install `boto3` (e.g., `pip install boto3 mypy-boto3-acm-pca`).
affects: All versions
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.
fix
Update your `mypy` installation (`pip install --upgrade mypy`) and ensure your `mypy` configuration (`pyproject.toml`, `mypy.ini`) correctly points to site-packages or doesn't exclude stub files.
affects: >=8.12.0 (builder), >=1.42.0 (package)
Upgrade
Version history
1.43.65latest on PyPI · released Aug 5, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; boto3 itself is required for runtime execution.
Agent activity
30 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
mypy-boto3-acm-pca — pip install mypy-boto3-acm-pca · libregistry