Skip to content

QLDB module

Index > QLDB

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

How to install

From PyPI with pip

Install types-aioboto3 for QLDB service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

QLDBClient

Type annotations and code completion for session.client("qldb") as QLDBClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_qldb.client import QLDBClient


session = Session()
async with session.client("qldb") as client:
    client: QLDBClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_qldb.literals import EncryptionStatusType

def get_value() -> EncryptionStatusType:
    return "ENABLED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_qldb.type_defs import CancelJournalKinesisStreamRequestRequestTypeDef

def get_value() -> CancelJournalKinesisStreamRequestRequestTypeDef:
    return {
        "LedgerName": ...,
        "StreamId": ...,
    }