Type definitions#
Index > ConnectCampaignService > Type definitions
Auto-generated documentation for ConnectCampaignService type annotations stubs module types-boto3-connectcampaigns.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
AgentlessDialerConfigTypeDef#
# AgentlessDialerConfigTypeDef definition
class AgentlessDialerConfigTypeDef(TypedDict):
dialingCapacity: NotRequired[float],
AnswerMachineDetectionConfigTypeDef#
# AnswerMachineDetectionConfigTypeDef definition
class AnswerMachineDetectionConfigTypeDef(TypedDict):
enableAnswerMachineDetection: bool,
awaitAnswerMachinePrompt: NotRequired[bool],
InstanceIdFilterTypeDef#
# InstanceIdFilterTypeDef definition
class InstanceIdFilterTypeDef(TypedDict):
value: str,
operator: InstanceIdFilterOperatorType, # (1)
CampaignSummaryTypeDef#
# CampaignSummaryTypeDef definition
class CampaignSummaryTypeDef(TypedDict):
id: str,
arn: str,
name: str,
connectInstanceId: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteCampaignRequestRequestTypeDef#
# DeleteCampaignRequestRequestTypeDef definition
class DeleteCampaignRequestRequestTypeDef(TypedDict):
id: str,
DeleteConnectInstanceConfigRequestRequestTypeDef#
# DeleteConnectInstanceConfigRequestRequestTypeDef definition
class DeleteConnectInstanceConfigRequestRequestTypeDef(TypedDict):
connectInstanceId: str,
DeleteInstanceOnboardingJobRequestRequestTypeDef#
# DeleteInstanceOnboardingJobRequestRequestTypeDef definition
class DeleteInstanceOnboardingJobRequestRequestTypeDef(TypedDict):
connectInstanceId: str,
DescribeCampaignRequestRequestTypeDef#
# DescribeCampaignRequestRequestTypeDef definition
class DescribeCampaignRequestRequestTypeDef(TypedDict):
id: str,
PredictiveDialerConfigTypeDef#
# PredictiveDialerConfigTypeDef definition
class PredictiveDialerConfigTypeDef(TypedDict):
bandwidthAllocation: float,
dialingCapacity: NotRequired[float],
ProgressiveDialerConfigTypeDef#
# ProgressiveDialerConfigTypeDef definition
class ProgressiveDialerConfigTypeDef(TypedDict):
bandwidthAllocation: float,
dialingCapacity: NotRequired[float],
EncryptionConfigTypeDef#
# EncryptionConfigTypeDef definition
class EncryptionConfigTypeDef(TypedDict):
enabled: bool,
encryptionType: NotRequired[EncryptionTypeType], # (1)
keyArn: NotRequired[str],
FailedCampaignStateResponseTypeDef#
# FailedCampaignStateResponseTypeDef definition
class FailedCampaignStateResponseTypeDef(TypedDict):
campaignId: NotRequired[str],
failureCode: NotRequired[GetCampaignStateBatchFailureCodeType], # (1)
FailedRequestTypeDef#
# FailedRequestTypeDef definition
class FailedRequestTypeDef(TypedDict):
clientToken: NotRequired[str],
id: NotRequired[str],
failureCode: NotRequired[FailureCodeType], # (1)
- See FailureCodeType
GetCampaignStateBatchRequestRequestTypeDef#
# GetCampaignStateBatchRequestRequestTypeDef definition
class GetCampaignStateBatchRequestRequestTypeDef(TypedDict):
campaignIds: Sequence[str],
SuccessfulCampaignStateResponseTypeDef#
# SuccessfulCampaignStateResponseTypeDef definition
class SuccessfulCampaignStateResponseTypeDef(TypedDict):
campaignId: NotRequired[str],
state: NotRequired[CampaignStateType], # (1)
GetCampaignStateRequestRequestTypeDef#
# GetCampaignStateRequestRequestTypeDef definition
class GetCampaignStateRequestRequestTypeDef(TypedDict):
id: str,
GetConnectInstanceConfigRequestRequestTypeDef#
# GetConnectInstanceConfigRequestRequestTypeDef definition
class GetConnectInstanceConfigRequestRequestTypeDef(TypedDict):
connectInstanceId: str,
GetInstanceOnboardingJobStatusRequestRequestTypeDef#
# GetInstanceOnboardingJobStatusRequestRequestTypeDef definition
class GetInstanceOnboardingJobStatusRequestRequestTypeDef(TypedDict):
connectInstanceId: str,
InstanceOnboardingJobStatusTypeDef#
# InstanceOnboardingJobStatusTypeDef definition
class InstanceOnboardingJobStatusTypeDef(TypedDict):
connectInstanceId: str,
status: InstanceOnboardingJobStatusCodeType, # (1)
failureCode: NotRequired[InstanceOnboardingJobFailureCodeType], # (2)
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
arn: str,
PauseCampaignRequestRequestTypeDef#
# PauseCampaignRequestRequestTypeDef definition
class PauseCampaignRequestRequestTypeDef(TypedDict):
id: str,
SuccessfulRequestTypeDef#
# SuccessfulRequestTypeDef definition
class SuccessfulRequestTypeDef(TypedDict):
clientToken: NotRequired[str],
id: NotRequired[str],
ResumeCampaignRequestRequestTypeDef#
# ResumeCampaignRequestRequestTypeDef definition
class ResumeCampaignRequestRequestTypeDef(TypedDict):
id: str,
StartCampaignRequestRequestTypeDef#
# StartCampaignRequestRequestTypeDef definition
class StartCampaignRequestRequestTypeDef(TypedDict):
id: str,
StopCampaignRequestRequestTypeDef#
# StopCampaignRequestRequestTypeDef definition
class StopCampaignRequestRequestTypeDef(TypedDict):
id: str,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
arn: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
arn: str,
tagKeys: Sequence[str],
UpdateCampaignNameRequestRequestTypeDef#
# UpdateCampaignNameRequestRequestTypeDef definition
class UpdateCampaignNameRequestRequestTypeDef(TypedDict):
id: str,
name: str,
OutboundCallConfigTypeDef#
# OutboundCallConfigTypeDef definition
class OutboundCallConfigTypeDef(TypedDict):
connectContactFlowId: str,
connectSourcePhoneNumber: NotRequired[str],
connectQueueId: NotRequired[str],
answerMachineDetectionConfig: NotRequired[AnswerMachineDetectionConfigTypeDef], # (1)
UpdateCampaignOutboundCallConfigRequestRequestTypeDef#
# UpdateCampaignOutboundCallConfigRequestRequestTypeDef definition
class UpdateCampaignOutboundCallConfigRequestRequestTypeDef(TypedDict):
id: str,
connectContactFlowId: NotRequired[str],
connectSourcePhoneNumber: NotRequired[str],
answerMachineDetectionConfig: NotRequired[AnswerMachineDetectionConfigTypeDef], # (1)
CampaignFiltersTypeDef#
# CampaignFiltersTypeDef definition
class CampaignFiltersTypeDef(TypedDict):
instanceIdFilter: NotRequired[InstanceIdFilterTypeDef], # (1)
CreateCampaignResponseTypeDef#
# CreateCampaignResponseTypeDef definition
class CreateCampaignResponseTypeDef(TypedDict):
id: str,
arn: str,
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetCampaignStateResponseTypeDef#
# GetCampaignStateResponseTypeDef definition
class GetCampaignStateResponseTypeDef(TypedDict):
state: CampaignStateType, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListCampaignsResponseTypeDef#
# ListCampaignsResponseTypeDef definition
class ListCampaignsResponseTypeDef(TypedDict):
campaignSummaryList: list[CampaignSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DialRequestTypeDef#
# DialRequestTypeDef definition
class DialRequestTypeDef(TypedDict):
clientToken: str,
phoneNumber: str,
expirationTime: TimestampTypeDef,
attributes: Mapping[str, str],
DialerConfigTypeDef#
# DialerConfigTypeDef definition
class DialerConfigTypeDef(TypedDict):
progressiveDialerConfig: NotRequired[ProgressiveDialerConfigTypeDef], # (1)
predictiveDialerConfig: NotRequired[PredictiveDialerConfigTypeDef], # (2)
agentlessDialerConfig: NotRequired[AgentlessDialerConfigTypeDef], # (3)
- See ProgressiveDialerConfigTypeDef
- See PredictiveDialerConfigTypeDef
- See AgentlessDialerConfigTypeDef
InstanceConfigTypeDef#
# InstanceConfigTypeDef definition
class InstanceConfigTypeDef(TypedDict):
connectInstanceId: str,
serviceLinkedRoleArn: str,
encryptionConfig: EncryptionConfigTypeDef, # (1)
StartInstanceOnboardingJobRequestRequestTypeDef#
# StartInstanceOnboardingJobRequestRequestTypeDef definition
class StartInstanceOnboardingJobRequestRequestTypeDef(TypedDict):
connectInstanceId: str,
encryptionConfig: EncryptionConfigTypeDef, # (1)
GetCampaignStateBatchResponseTypeDef#
# GetCampaignStateBatchResponseTypeDef definition
class GetCampaignStateBatchResponseTypeDef(TypedDict):
successfulRequests: list[SuccessfulCampaignStateResponseTypeDef], # (1)
failedRequests: list[FailedCampaignStateResponseTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See SuccessfulCampaignStateResponseTypeDef
- See FailedCampaignStateResponseTypeDef
- See ResponseMetadataTypeDef
GetInstanceOnboardingJobStatusResponseTypeDef#
# GetInstanceOnboardingJobStatusResponseTypeDef definition
class GetInstanceOnboardingJobStatusResponseTypeDef(TypedDict):
connectInstanceOnboardingJobStatus: InstanceOnboardingJobStatusTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartInstanceOnboardingJobResponseTypeDef#
# StartInstanceOnboardingJobResponseTypeDef definition
class StartInstanceOnboardingJobResponseTypeDef(TypedDict):
connectInstanceOnboardingJobStatus: InstanceOnboardingJobStatusTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutDialRequestBatchResponseTypeDef#
# PutDialRequestBatchResponseTypeDef definition
class PutDialRequestBatchResponseTypeDef(TypedDict):
successfulRequests: list[SuccessfulRequestTypeDef], # (1)
failedRequests: list[FailedRequestTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ListCampaignsRequestPaginateTypeDef#
# ListCampaignsRequestPaginateTypeDef definition
class ListCampaignsRequestPaginateTypeDef(TypedDict):
filters: NotRequired[CampaignFiltersTypeDef], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListCampaignsRequestRequestTypeDef#
# ListCampaignsRequestRequestTypeDef definition
class ListCampaignsRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
filters: NotRequired[CampaignFiltersTypeDef], # (1)
PutDialRequestBatchRequestRequestTypeDef#
# PutDialRequestBatchRequestRequestTypeDef definition
class PutDialRequestBatchRequestRequestTypeDef(TypedDict):
id: str,
dialRequests: Sequence[DialRequestTypeDef], # (1)
CampaignTypeDef#
# CampaignTypeDef definition
class CampaignTypeDef(TypedDict):
id: str,
arn: str,
name: str,
connectInstanceId: str,
dialerConfig: DialerConfigTypeDef, # (1)
outboundCallConfig: OutboundCallConfigTypeDef, # (2)
tags: NotRequired[dict[str, str]],
CreateCampaignRequestRequestTypeDef#
# CreateCampaignRequestRequestTypeDef definition
class CreateCampaignRequestRequestTypeDef(TypedDict):
name: str,
connectInstanceId: str,
dialerConfig: DialerConfigTypeDef, # (1)
outboundCallConfig: OutboundCallConfigTypeDef, # (2)
tags: NotRequired[Mapping[str, str]],
UpdateCampaignDialerConfigRequestRequestTypeDef#
# UpdateCampaignDialerConfigRequestRequestTypeDef definition
class UpdateCampaignDialerConfigRequestRequestTypeDef(TypedDict):
id: str,
dialerConfig: DialerConfigTypeDef, # (1)
GetConnectInstanceConfigResponseTypeDef#
# GetConnectInstanceConfigResponseTypeDef definition
class GetConnectInstanceConfigResponseTypeDef(TypedDict):
connectInstanceConfig: InstanceConfigTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeCampaignResponseTypeDef#
# DescribeCampaignResponseTypeDef definition
class DescribeCampaignResponseTypeDef(TypedDict):
campaign: CampaignTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)