Skip to content

DLM module

Index > DLM

Auto-generated documentation for DLM type annotations stubs module types-aiobotocore-dlm.

How to install

From PyPI with pip

Install types-aioboto3 for DLM service.

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


# 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[dlm]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

DLMClient

Type annotations and code completion for session.client("dlm") as DLMClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_dlm.client import DLMClient


session = Session()
async with session.client("dlm") as client:
    client: DLMClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_dlm.literals import EventSourceValuesType

def get_value() -> EventSourceValuesType:
    return "MANAGED_CWE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_dlm.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }