Skip to content

BackupStorage module

Index > BackupStorage

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

How to install

From PyPI with pip

Install types-aioboto3 for BackupStorage service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

BackupStorageClient

Type annotations and code completion for session.client("backupstorage") as BackupStorageClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_backupstorage.client import BackupStorageClient


session = Session()
async with session.client("backupstorage") as client:
    client: BackupStorageClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_backupstorage.literals import DataChecksumAlgorithmType

def get_value() -> DataChecksumAlgorithmType:
    return "SHA256"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_backupstorage.type_defs import BackupObjectTypeDef

def get_value() -> BackupObjectTypeDef:
    return {
        "Name": ...,
        "ObjectChecksum": ...,
        "ObjectChecksumAlgorithm": ...,
        "ObjectToken": ...,
    }