Skip to content

SimpleDB module

Index > SimpleDB

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

How to install

From PyPI with pip

Install types-aioboto3 for SimpleDB service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

SimpleDBClient

Type annotations and code completion for session.client("sdb") as SimpleDBClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_sdb.client import SimpleDBClient


session = Session()
async with session.client("sdb") as client:
    client: SimpleDBClient

Paginators

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

Usage example
from types_aiobotocore_sdb.paginator import ListDomainsPaginator

def get_list_domains_paginator() -> ListDomainsPaginator:
    return client.get_paginator("list_domains"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_sdb.literals import ListDomainsPaginatorName

def get_value() -> ListDomainsPaginatorName:
    return "list_domains"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_sdb.type_defs import AttributeTypeDef

def get_value() -> AttributeTypeDef:
    return {
        "Name": ...,
        "Value": ...,
    }