ConnectCampaignService module#
Index > ConnectCampaignService
Auto-generated documentation for ConnectCampaignService type annotations stubs module mypy-boto3-connectcampaigns.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and ConnectCampaignService
.
From PyPI with pip#
Install boto3-stubs
for ConnectCampaignService
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[connectcampaigns]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[connectcampaigns]'
# standalone installation
python -m pip install mypy-boto3-connectcampaigns
How to uninstall#
python -m pip uninstall -y mypy-boto3-connectcampaigns
Usage#
Code samples can be found in Examples.
ConnectCampaignServiceClient#
Type annotations and code completion for boto3.client("connectcampaigns")
as ConnectCampaignServiceClient
boto3 documentation
# ConnectCampaignServiceClient usage example
from boto3.session import Session
from mypy_boto3_connectcampaigns.client import ConnectCampaignServiceClient
def get_client() -> ConnectCampaignServiceClient:
return Session().client("connectcampaigns")
Paginators#
Type annotations and code completion for paginators
from boto3.client("connectcampaigns").get_paginator("...")
.
# ListCampaignsPaginator usage example
from boto3.session import Session
from mypy_boto3_connectcampaigns.paginator import ListCampaignsPaginator
def get_list_campaigns_paginator() -> ListCampaignsPaginator:
return Session().client("connectcampaigns").get_paginator("list_campaigns"))
Literals#
Type annotations for literals used in methods and schema.
# CampaignStateType usage example
from mypy_boto3_connectcampaigns.literals import CampaignStateType
def get_value() -> CampaignStateType:
return "Failed"
- CampaignStateType
- EncryptionTypeType
- FailureCodeType
- GetCampaignStateBatchFailureCodeType
- InstanceIdFilterOperatorType
- InstanceOnboardingJobFailureCodeType
- InstanceOnboardingJobStatusCodeType
- ListCampaignsPaginatorName
- ConnectCampaignServiceServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AgentlessDialerConfigTypeDef
- AnswerMachineDetectionConfigTypeDef
- InstanceIdFilterTypeDef
- CampaignSummaryTypeDef
- ResponseMetadataTypeDef
- DeleteCampaignRequestRequestTypeDef
- DeleteConnectInstanceConfigRequestRequestTypeDef
- DeleteInstanceOnboardingJobRequestRequestTypeDef
- DescribeCampaignRequestRequestTypeDef
- TimestampTypeDef
- PredictiveDialerConfigTypeDef
- ProgressiveDialerConfigTypeDef
- EncryptionConfigTypeDef
- FailedCampaignStateResponseTypeDef
- FailedRequestTypeDef
- GetCampaignStateBatchRequestRequestTypeDef
- SuccessfulCampaignStateResponseTypeDef
- GetCampaignStateRequestRequestTypeDef
- GetConnectInstanceConfigRequestRequestTypeDef
- GetInstanceOnboardingJobStatusRequestRequestTypeDef
- InstanceOnboardingJobStatusTypeDef
- PaginatorConfigTypeDef
- ListTagsForResourceRequestRequestTypeDef
- PauseCampaignRequestRequestTypeDef
- SuccessfulRequestTypeDef
- ResumeCampaignRequestRequestTypeDef
- StartCampaignRequestRequestTypeDef
- StopCampaignRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateCampaignNameRequestRequestTypeDef
- OutboundCallConfigTypeDef
- UpdateCampaignOutboundCallConfigRequestRequestTypeDef
- CampaignFiltersTypeDef
- CreateCampaignResponseTypeDef
- EmptyResponseMetadataTypeDef
- GetCampaignStateResponseTypeDef
- ListCampaignsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- DialRequestTypeDef
- DialerConfigTypeDef
- InstanceConfigTypeDef
- StartInstanceOnboardingJobRequestRequestTypeDef
- GetCampaignStateBatchResponseTypeDef
- GetInstanceOnboardingJobStatusResponseTypeDef
- StartInstanceOnboardingJobResponseTypeDef
- PutDialRequestBatchResponseTypeDef
- ListCampaignsRequestListCampaignsPaginateTypeDef
- ListCampaignsRequestRequestTypeDef
- PutDialRequestBatchRequestRequestTypeDef
- CampaignTypeDef
- CreateCampaignRequestRequestTypeDef
- UpdateCampaignDialerConfigRequestRequestTypeDef
- GetConnectInstanceConfigResponseTypeDef
- DescribeCampaignResponseTypeDef