Skip to content

Connect module

Index > Connect

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

How to install

From PyPI with pip

Install types-aioboto3 for Connect service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

ConnectClient

Type annotations and code completion for session.client("connect") as ConnectClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_connect.client import ConnectClient


session = Session()
async with session.client("connect") as client:
    client: ConnectClient

Paginators

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

Usage example
from types_aiobotocore_connect.paginator import GetMetricDataPaginator

def get_get_metric_data_paginator() -> GetMetricDataPaginator:
    return client.get_paginator("get_metric_data"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_connect.literals import AgentStatusStateType

def get_value() -> AgentStatusStateType:
    return "DISABLED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_connect.type_defs import QueueReferenceTypeDef

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