Skip to content

DAX module

Index > DAX

Auto-generated documentation for DAX type annotations stubs module types-aiobotocore-dax.

How to install

From PyPI with pip

Install types-aioboto3 for DAX service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

DAXClient

Type annotations and code completion for session.client("dax") as DAXClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_dax.client import DAXClient


session = Session()
async with session.client("dax") as client:
    client: DAXClient

Paginators

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

Usage example
from types_aiobotocore_dax.paginator import DescribeClustersPaginator

def get_describe_clusters_paginator() -> DescribeClustersPaginator:
    return client.get_paginator("describe_clusters"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_dax.literals import ChangeTypeType

def get_value() -> ChangeTypeType:
    return "IMMEDIATE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_dax.type_defs import EndpointTypeDef

def get_value() -> EndpointTypeDef:
    return {
        "Address": ...,
    }