Skip to content

DatabaseMigrationService module

Index > DatabaseMigrationService

Auto-generated documentation for DatabaseMigrationService type annotations stubs module types-aiobotocore-dms.

How to install

From PyPI with pip

Install types-aioboto3 for DatabaseMigrationService service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

DatabaseMigrationServiceClient

Type annotations and code completion for session.client("dms") as DatabaseMigrationServiceClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_dms.client import DatabaseMigrationServiceClient


session = Session()
async with session.client("dms") as client:
    client: DatabaseMigrationServiceClient

Paginators

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

Usage example
from types_aiobotocore_dms.paginator import DescribeCertificatesPaginator

def get_describe_certificates_paginator() -> DescribeCertificatesPaginator:
    return client.get_paginator("describe_certificates"))

Waiters

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

Usage example
from types_aiobotocore_dms.waiter import EndpointDeletedWaiter

def get_endpoint_deleted_waiter() -> EndpointDeletedWaiter:
    return Session().client("dms").get_waiter("endpoint_deleted")

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_dms.literals import AuthMechanismValueType

def get_value() -> AuthMechanismValueType:
    return "default"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_dms.type_defs import AccountQuotaTypeDef

def get_value() -> AccountQuotaTypeDef:
    return {
        "AccountQuotaName": ...,
    }