Skip to content

ACM module#

Index > ACM

Auto-generated documentation for ACM type annotations stubs module mypy-boto3-acm.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and ACM.

From PyPI with pip#

Install boto3-stubs for ACM service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[acm]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[acm]'


# standalone installation
python -m pip install mypy-boto3-acm

How to uninstall#

python -m pip uninstall -y mypy-boto3-acm

Usage#

Code samples can be found in Examples.

ACMClient#

Type annotations and code completion for boto3.client("acm") as ACMClient boto3 documentation

# ACMClient usage example

from boto3.session import Session

from mypy_boto3_acm.client import ACMClient

def get_client() -> ACMClient:
    return Session().client("acm")

Paginators#

Type annotations and code completion for paginators from boto3.client("acm").get_paginator("...").

# ListCertificatesPaginator usage example

from boto3.session import Session

from mypy_boto3_acm.paginator import ListCertificatesPaginator

def get_list_certificates_paginator() -> ListCertificatesPaginator:
    return Session().client("acm").get_paginator("list_certificates"))

Waiters#

Type annotations and code completion for waiters from boto3.client("acm").get_waiter("...").

# CertificateValidatedWaiter usage example

from boto3.session import Session

from mypy_boto3_acm.waiter import CertificateValidatedWaiter

def get_certificate_validated_waiter() -> CertificateValidatedWaiter:
    return Session().client("acm").get_waiter("certificate_validated")

Literals#

Type annotations for literals used in methods and schema.

# CertificateStatusType usage example

from mypy_boto3_acm.literals import CertificateStatusType

def get_value() -> CertificateStatusType:
    return "EXPIRED"

Type definitions#

Type annotations for type definitions used in methods and schema.