Skip to content

EBS module

Index > EBS

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

How to install

From PyPI with pip

Install types-aioboto3 for EBS service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

EBSClient

Type annotations and code completion for session.client("ebs") as EBSClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_ebs.client import EBSClient


session = Session()
async with session.client("ebs") as client:
    client: EBSClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_ebs.literals import ChecksumAggregationMethodType

def get_value() -> ChecksumAggregationMethodType:
    return "LINEAR"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_ebs.type_defs import BlockTypeDef

def get_value() -> BlockTypeDef:
    return {
        "BlockIndex": ...,
    }