Skip to content

kendra module

Index > kendra

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

How to install

From PyPI with pip

Install types-aioboto3 for kendra service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

kendraClient

Type annotations and code completion for session.client("kendra") as kendraClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_kendra.client import kendraClient


session = Session()
async with session.client("kendra") as client:
    client: kendraClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_kendra.literals import AdditionalResultAttributeValueTypeType

def get_value() -> AdditionalResultAttributeValueTypeType:
    return "TEXT_WITH_HIGHLIGHTS_VALUE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_kendra.type_defs import AccessControlConfigurationSummaryTypeDef

def get_value() -> AccessControlConfigurationSummaryTypeDef:
    return {
        "Id": ...,
    }