Skip to content

CloudSearch module

Index > CloudSearch

Auto-generated documentation for CloudSearch type annotations stubs module types-aiobotocore-cloudsearch.

How to install

From PyPI with pip

Install types-aioboto3 for CloudSearch service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

CloudSearchClient

Type annotations and code completion for session.client("cloudsearch") as CloudSearchClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_cloudsearch.client import CloudSearchClient


session = Session()
async with session.client("cloudsearch") as client:
    client: CloudSearchClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_cloudsearch.literals import AlgorithmicStemmingType

def get_value() -> AlgorithmicStemmingType:
    return "full"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_cloudsearch.type_defs import OptionStatusTypeDef

def get_value() -> OptionStatusTypeDef:
    return {
        "CreationDate": ...,
        "UpdateDate": ...,
        "State": ...,
    }