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-aiobotocore for OpsWorksCM service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[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-aiobotocore-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.create_client("opsworkscm") as OpsWorksCMClient boto3 documentation

# OpsWorksCMClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_opsworkscm.client import OpsWorksCMClient


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

Paginators#

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

# DescribeBackupsPaginator 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.create_client("opsworkscm").get_waiter("...").

# NodeAssociatedWaiter 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.

# BackupStatusType usage example

from types_aiobotocore_opsworkscm.literals import BackupStatusType

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

Type definitions#

Type annotations for type definitions used in methods and schema.