Type annotations for boto3.ACMPCA 1.13.25 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-acm-pca
Type annotations for boto3.ACMPCA 1.13.25 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.2.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for ACMPCA
service.
python -m pip install boto3-stubs[acm-pca]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_acm_pca
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_acm_pca import ACMPCAClient
# Now mypy can check if your code is valid.
client: ACMPCAClient = boto3.client("acm-pca")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ACMPCAClient = session.client("acm-pca")
# Waiters are also supported
import mypy_boto3_acm_pca.waiter as acm_pca_waiters
audit_report_created_waiter: acm_pca_waiters.AuditReportCreatedWaiter = client.get_waiter("audit_report_created")
certificate_authority_csr_created_waiter: acm_pca_waiters.CertificateAuthorityCSRCreatedWaiter = client.get_waiter("certificate_authority_csr_created")
certificate_issued_waiter: acm_pca_waiters.CertificateIssuedWaiter = client.get_waiter("certificate_issued")
# Annotated paginators are included as well
import mypy_boto3_acm_pca.paginator as acm_pca_paginators
list_certificate_authorities_paginator: acm_pca_paginators.ListCertificateAuthoritiesPaginator = client.get_paginator("list_certificate_authorities")
list_permissions_paginator: acm_pca_paginators.ListPermissionsPaginator = client.get_paginator("list_permissions")
list_tags_paginator: acm_pca_paginators.ListTagsPaginator = client.get_paginator("list_tags")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_acm_pca
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_acm_pca as acm_pca
from mypy_boto3_acm_pca import ACMPCAClient
# with these
from mypy_boto3 import acm_pca
from mypy_boto3.acm_pca import ACMPCAClient
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-acm-pca-1.13.25.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30e30cf5b2695fdc9a6aa33a8fedf442806388d84b1798933617f04f3e4c713c |
|
MD5 | 499e1c81e139b0891cf0281d33463dd4 |
|
BLAKE2b-256 | 27e6227a8c59ec97366d301d5b1c83b45c14d5fc4b138630813b18c4d409984b |
Hashes for mypy_boto3_acm_pca-1.13.25.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1098039bca8efa19a6d4ddb65d47634297a45d671c039fd521424d7a6ef50d47 |
|
MD5 | 36e8280e68189ef13da2f5ed0ebdb038 |
|
BLAKE2b-256 | 2bf965bc588ef7b3b1ee30fb43073b5c217fbdcc020ff9be989ff3c40f9e34b6 |