Skip to content

drs module

Index > drs

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

How to install

From PyPI with pip

Install types-aioboto3 for drs service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

drsClient

Type annotations and code completion for session.client("drs") as drsClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_drs.client import drsClient


session = Session()
async with session.client("drs") as client:
    client: drsClient

Paginators

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

Usage example
from types_aiobotocore_drs.paginator import DescribeJobLogItemsPaginator

def get_describe_job_log_items_paginator() -> DescribeJobLogItemsPaginator:
    return client.get_paginator("describe_job_log_items"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_drs.literals import DataReplicationErrorStringType

def get_value() -> DataReplicationErrorStringType:
    return "AGENT_NOT_SEEN"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_drs.type_defs import AccountTypeDef

def get_value() -> AccountTypeDef:
    return {
        "accountID": ...,
    }