Registry / type-stubs / mypy-boto3-pca-connector-scep

mypy-boto3-pca-connector-scep

JSON →
library1.43.0pypypi✓ verified 23d ago

This library provides comprehensive type annotations for the `boto3 PrivateCAConnectorforSCEP` service, ensuring compatibility with popular IDEs (VSCode, PyCharm) and type checkers (mypy, pyright). It is automatically generated by the `mypy-boto3-builder` project, with version 1.42.53 currently supporting boto3's corresponding service version. The package is frequently updated to align with `boto3` and `botocore` releases, offering up-to-date type definitions for clients, paginators, literals, and TypeDefs.

pip install mypy-boto3-pca-connector-scep boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-PCA-CON
M
mypy-boto3-pca-connector-scep
type-stubspythonv1.43.0
Install
3.8s avg
Import
596ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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.95 runs
installs and imports cleanly · install 0.0s · import 0.618s · 51.9MB
glibc
py 3.103.95 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.

PrivateCAConnectorforSCEPClient
from mypy_boto3_pca_connector_scep.client import PrivateCAConnectorforSCEPClient
Session
from boto3.session import Session
import boto3
For explicit type hints, import Session directly from boto3.session and the client from the stubs package.

This quickstart demonstrates how to import and use the type-hinted `PrivateCAConnectorforSCEPClient` from `mypy-boto3-pca-connector-scep` with `boto3`. It includes conditional imports for `TYPE_CHECKING` to ensure the stubs are only used during type checking, avoiding runtime dependencies.

from typing import TYPE_CHECKING import boto3 from boto3.session import Session if TYPE_CHECKING: from mypy_boto3_pca_connector_scep.client import PrivateCAConnectorforSCEPClient def get_pca_scep_client() -> PrivateCAConnectorforSCEPClient: """Initializes and returns a type-hinted AWS Private CA Connector for SCEP client.""" session = Session(region_name="us-east-1") # In some IDEs or older configurations, explicit type annotation might be helpful: # client: PrivateCAConnectorforSCEPClient = session.client("pca-connector-scep") client = session.client("pca-connector-scep") return client if __name__ == "__main__": client = get_pca_scep_client() try: # Example usage (replace with actual API call) response = client.list_connectors() print(f"Successfully listed {len(response.get('Connectors', []))} connectors.") except client.exceptions.ResourceNotFoundException as e: print(f"Resource not found: {e}") except Exception as e: print(f"An error occurred: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0. All generated `mypy-boto3-*` packages, including this one, now require Python >= 3.9.
fix
Upgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >= 8.12.0, mypy-boto3-pca-connector-scep matching builder versions
breakingThe `mypy-boto3-builder` migrated to PEP 561 compliant packages in version 8.12.0. This primarily changes packaging internals but may affect projects with custom type-checking setups or older tool versions.
fix
Ensure your type-checking environment and tools are up-to-date and correctly configured to discover PEP 561 packages. Generally, this should work out-of-the-box with `pip` and modern `mypy`.
affects: mypy-boto3-builder >= 8.12.0, mypy-boto3-pca-connector-scep matching builder versions
breakingIn `mypy-boto3-builder` version 8.9.0, there were breaking changes to TypeDef naming conventions. Packed method arguments now use shorter names (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and conflicting 'Extra' postfixes were moved (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`). While the example is not for this service, similar changes could affect `pca-connector-scep` TypeDefs.
fix
Review your code for any explicit imports or usage of TypeDefs from the `mypy_boto3_pca_connector_scep.type_defs` module and update names according to the new conventions.
affects: mypy-boto3-builder >= 8.9.0, mypy-boto3-pca-connector-scep matching builder versions
gotchaThis package provides *type annotations* for `boto3`. You must have `boto3` itself installed in your environment for your code to run correctly at runtime.
fix
Always install `boto3` alongside `mypy-boto3-pca-connector-scep` (e.g., `pip install boto3 mypy-boto3-pca-connector-scep`).
affects: All versions
gotchaPyCharm users might experience slow performance or high CPU usage due to `Literal` overloads. It is recommended to use `boto3-stubs-lite` (if available for this service) or disable PyCharm's built-in type checker and rely on `mypy` or `pyright` instead.
fix
Consider using `mypy-boto3-pca-connector-scep-lite` if available, or configure PyCharm to use external type checkers and disable its internal one.
affects: All versions
gotchaFor optimal Pylint compatibility when using `TYPE_CHECKING` for conditional imports, Pylint might complain about undefined variables in the `else` block. To fix this, explicitly set the types to `object` in the non-type-checking branch.
fix
Implement conditional type assignments, e.g., `if TYPE_CHECKING: from mypy_boto3_pca_connector_scep.client import PrivateCAConnectorforSCEPClient else: PrivateCAConnectorforSCEPClient = object`.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for the boto3 library; boto3 itself is a required runtime dependency for your application code.
mypyoptionalA type checker like Mypy is necessary to leverage the provided type annotations.
pythonrequiredMinimum Python version required.
Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
2
Resources
mypy-boto3-pca-connector-scep — pip install mypy-boto3-pca-connector-scep · libregistry