Skip to content

ConnectCampaignService module

Index > ConnectCampaignService

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

How to install

From PyPI with pip

Install types-aioboto3 for ConnectCampaignService service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

ConnectCampaignServiceClient

Type annotations and code completion for session.client("connectcampaigns") as ConnectCampaignServiceClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_connectcampaigns.client import ConnectCampaignServiceClient


session = Session()
async with session.client("connectcampaigns") as client:
    client: ConnectCampaignServiceClient

Paginators

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

Usage example
from types_aiobotocore_connectcampaigns.paginator import ListCampaignsPaginator

def get_list_campaigns_paginator() -> ListCampaignsPaginator:
    return client.get_paginator("list_campaigns"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_connectcampaigns.literals import CampaignStateType

def get_value() -> CampaignStateType:
    return "Failed"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_connectcampaigns.type_defs import AnswerMachineDetectionConfigTypeDef

def get_value() -> AnswerMachineDetectionConfigTypeDef:
    return {
        "enableAnswerMachineDetection": ...,
    }