Skip to content

ConnectContactLens module

Index > ConnectContactLens

Auto-generated documentation for ConnectContactLens type annotations stubs module types-aiobotocore-connect-contact-lens.

How to install

From PyPI with pip

Install types-aioboto3 for ConnectContactLens service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[connect-contact-lens]'


# 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[connect-contact-lens]'


# standalone installation
python -m pip install types-aiobotocore-connect-contact-lens

How to uninstall

python -m pip uninstall -y types-aiobotocore-connect-contact-lens

Usage

Code samples can be found in Examples.

ConnectContactLensClient

Type annotations and code completion for session.client("connect-contact-lens") as ConnectContactLensClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_connect_contact_lens.client import ConnectContactLensClient


session = Session()
async with session.client("connect-contact-lens") as client:
    client: ConnectContactLensClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_connect_contact_lens.literals import SentimentValueType

def get_value() -> SentimentValueType:
    return "NEGATIVE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_connect_contact_lens.type_defs import PointOfInterestTypeDef

def get_value() -> PointOfInterestTypeDef:
    return {
        "BeginOffsetMillis": ...,
        "EndOffsetMillis": ...,
    }