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

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("...").

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("...").

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 schemas.

Usage example
from mypy_boto3_acm.literals import CertificateStatusType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_acm.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }