Skip to content

OpsWorksCM module

Index > OpsWorksCM

Auto-generated documentation for OpsWorksCM type annotations stubs module types-aiobotocore-opsworkscm.

How to install

From PyPI with pip

Install types-aioboto3 for OpsWorksCM service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[opsworkscm]'


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


# standalone installation
python -m pip install types-aiobotocore-opsworkscm

How to uninstall

python -m pip uninstall -y types-aiobotocore-opsworkscm

Usage

Code samples can be found in Examples.

OpsWorksCMClient

Type annotations and code completion for session.client("opsworkscm") as OpsWorksCMClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_opsworkscm.client import OpsWorksCMClient


session = Session()
async with session.client("opsworkscm") as client:
    client: OpsWorksCMClient

Paginators

Type annotations and code completion for paginators from session.client("opsworkscm").get_paginator("...").

Usage example
from types_aiobotocore_opsworkscm.paginator import DescribeBackupsPaginator

def get_describe_backups_paginator() -> DescribeBackupsPaginator:
    return client.get_paginator("describe_backups"))

Waiters

Type annotations and code completion for waiters from session.client("opsworkscm").get_waiter("...").

Usage example
from types_aiobotocore_opsworkscm.waiter import NodeAssociatedWaiter

def get_node_associated_waiter() -> NodeAssociatedWaiter:
    return Session().client("opsworkscm").get_waiter("node_associated")

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_opsworkscm.literals import BackupStatusType

def get_value() -> BackupStatusType:
    return "DELETING"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_opsworkscm.type_defs import AccountAttributeTypeDef

def get_value() -> AccountAttributeTypeDef:
    return {
        "Name": ...,
    }