Skip to content

MemoryDB module#

Index > MemoryDB

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

How to install#

From PyPI with pip#

Install types-aiobotocore for MemoryDB service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[memorydb]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[memorydb]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

MemoryDBClient#

Type annotations and code completion for session.create_client("memorydb") as MemoryDBClient boto3 documentation

# MemoryDBClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_memorydb.client import MemoryDBClient


session = get_session()
async with session.create_client("memorydb") as client:
    client: MemoryDBClient

Paginators#

Type annotations and code completion for paginators from session.create_client("memorydb").get_paginator("...").

# DescribeACLsPaginator usage example

from types_aiobotocore_memorydb.paginator import DescribeACLsPaginator

def get_describe_acls_paginator() -> DescribeACLsPaginator:
    return client.get_paginator("describe_acls"))

Literals#

Type annotations for literals used in methods and schema.

# AZStatusType usage example

from types_aiobotocore_memorydb.literals import AZStatusType

def get_value() -> AZStatusType:
    return "multiaz"

Type definitions#

Type annotations for type definitions used in methods and schema.