Skip to content

Type definitions#

Index > ConnectCampaignServiceV2 > Type definitions

Auto-generated documentation for ConnectCampaignServiceV2 type annotations stubs module types-boto3-connectcampaignsv2.

TimestampTypeDef#

# TimestampTypeDef Union usage example

from types_boto3_connectcampaignsv2.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ScheduleUnionTypeDef#

# ScheduleUnionTypeDef Union usage example

from types_boto3_connectcampaignsv2.type_defs import ScheduleUnionTypeDef


def get_value() -> ScheduleUnionTypeDef:
    return ...


# ScheduleUnionTypeDef definition

ScheduleUnionTypeDef = Union[
    ScheduleTypeDef,  # (1)
    ScheduleOutputTypeDef,  # (2)
]
  1. See ScheduleTypeDef
  2. See ScheduleOutputTypeDef

CommunicationLimitsConfigUnionTypeDef#

# CommunicationLimitsConfigUnionTypeDef Union usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationLimitsConfigUnionTypeDef


def get_value() -> CommunicationLimitsConfigUnionTypeDef:
    return ...


# CommunicationLimitsConfigUnionTypeDef definition

CommunicationLimitsConfigUnionTypeDef = Union[
    CommunicationLimitsConfigTypeDef,  # (1)
    CommunicationLimitsConfigOutputTypeDef,  # (2)
]
  1. See CommunicationLimitsConfigTypeDef
  2. See CommunicationLimitsConfigOutputTypeDef

ChannelSubtypeConfigUnionTypeDef#

# ChannelSubtypeConfigUnionTypeDef Union usage example

from types_boto3_connectcampaignsv2.type_defs import ChannelSubtypeConfigUnionTypeDef


def get_value() -> ChannelSubtypeConfigUnionTypeDef:
    return ...


# ChannelSubtypeConfigUnionTypeDef definition

ChannelSubtypeConfigUnionTypeDef = Union[
    ChannelSubtypeConfigTypeDef,  # (1)
    ChannelSubtypeConfigOutputTypeDef,  # (2)
]
  1. See ChannelSubtypeConfigTypeDef
  2. See ChannelSubtypeConfigOutputTypeDef

CommunicationTimeConfigUnionTypeDef#

# CommunicationTimeConfigUnionTypeDef Union usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationTimeConfigUnionTypeDef


def get_value() -> CommunicationTimeConfigUnionTypeDef:
    return ...


# CommunicationTimeConfigUnionTypeDef definition

CommunicationTimeConfigUnionTypeDef = Union[
    CommunicationTimeConfigTypeDef,  # (1)
    CommunicationTimeConfigOutputTypeDef,  # (2)
]
  1. See CommunicationTimeConfigTypeDef
  2. See CommunicationTimeConfigOutputTypeDef

AnswerMachineDetectionConfigTypeDef#

# AnswerMachineDetectionConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import AnswerMachineDetectionConfigTypeDef


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


# AnswerMachineDetectionConfigTypeDef definition

class AnswerMachineDetectionConfigTypeDef(TypedDict):
    enableAnswerMachineDetection: bool,
    awaitAnswerMachinePrompt: NotRequired[bool],

InstanceIdFilterTypeDef#

# InstanceIdFilterTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import InstanceIdFilterTypeDef


def get_value() -> InstanceIdFilterTypeDef:
    return {
        "value": ...,
    }


# InstanceIdFilterTypeDef definition

class InstanceIdFilterTypeDef(TypedDict):
    value: str,
    operator: InstanceIdFilterOperatorType,  # (1)
  1. See InstanceIdFilterOperatorType

ScheduleOutputTypeDef#

# ScheduleOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ScheduleOutputTypeDef


def get_value() -> ScheduleOutputTypeDef:
    return {
        "startTime": ...,
    }


# ScheduleOutputTypeDef definition

class ScheduleOutputTypeDef(TypedDict):
    startTime: datetime,
    endTime: datetime,
    refreshFrequency: NotRequired[str],

EmailChannelSubtypeParametersTypeDef#

# EmailChannelSubtypeParametersTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmailChannelSubtypeParametersTypeDef


def get_value() -> EmailChannelSubtypeParametersTypeDef:
    return {
        "destinationEmailAddress": ...,
    }


# EmailChannelSubtypeParametersTypeDef definition

class EmailChannelSubtypeParametersTypeDef(TypedDict):
    destinationEmailAddress: str,
    templateParameters: Mapping[str, str],
    connectSourceEmailAddress: NotRequired[str],
    templateArn: NotRequired[str],

SmsChannelSubtypeParametersTypeDef#

# SmsChannelSubtypeParametersTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SmsChannelSubtypeParametersTypeDef


def get_value() -> SmsChannelSubtypeParametersTypeDef:
    return {
        "destinationPhoneNumber": ...,
    }


# SmsChannelSubtypeParametersTypeDef definition

class SmsChannelSubtypeParametersTypeDef(TypedDict):
    destinationPhoneNumber: str,
    templateParameters: Mapping[str, str],
    connectSourcePhoneNumberArn: NotRequired[str],
    templateArn: NotRequired[str],

CommunicationLimitTypeDef#

# CommunicationLimitTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationLimitTypeDef


def get_value() -> CommunicationLimitTypeDef:
    return {
        "maxCountPerRecipient": ...,
    }


# CommunicationLimitTypeDef definition

class CommunicationLimitTypeDef(TypedDict):
    maxCountPerRecipient: int,
    frequency: int,
    unit: CommunicationLimitTimeUnitType,  # (1)
  1. See CommunicationLimitTimeUnitType

LocalTimeZoneConfigOutputTypeDef#

# LocalTimeZoneConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import LocalTimeZoneConfigOutputTypeDef


def get_value() -> LocalTimeZoneConfigOutputTypeDef:
    return {
        "defaultTimeZone": ...,
    }


# LocalTimeZoneConfigOutputTypeDef definition

class LocalTimeZoneConfigOutputTypeDef(TypedDict):
    defaultTimeZone: NotRequired[str],
    localTimeZoneDetection: NotRequired[List[LocalTimeZoneDetectionTypeType]],  # (1)
  1. See LocalTimeZoneDetectionTypeType

LocalTimeZoneConfigTypeDef#

# LocalTimeZoneConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import LocalTimeZoneConfigTypeDef


def get_value() -> LocalTimeZoneConfigTypeDef:
    return {
        "defaultTimeZone": ...,
    }


# LocalTimeZoneConfigTypeDef definition

class LocalTimeZoneConfigTypeDef(TypedDict):
    defaultTimeZone: NotRequired[str],
    localTimeZoneDetection: NotRequired[Sequence[LocalTimeZoneDetectionTypeType]],  # (1)
  1. See LocalTimeZoneDetectionTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CustomerProfilesIntegrationConfigTypeDef#

# CustomerProfilesIntegrationConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CustomerProfilesIntegrationConfigTypeDef


def get_value() -> CustomerProfilesIntegrationConfigTypeDef:
    return {
        "domainArn": ...,
    }


# CustomerProfilesIntegrationConfigTypeDef definition

class CustomerProfilesIntegrationConfigTypeDef(TypedDict):
    domainArn: str,
    objectTypeNames: Mapping[EventTypeType, str],  # (1)
  1. See EventTypeType

CustomerProfilesIntegrationIdentifierTypeDef#

# CustomerProfilesIntegrationIdentifierTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CustomerProfilesIntegrationIdentifierTypeDef


def get_value() -> CustomerProfilesIntegrationIdentifierTypeDef:
    return {
        "domainArn": ...,
    }


# CustomerProfilesIntegrationIdentifierTypeDef definition

class CustomerProfilesIntegrationIdentifierTypeDef(TypedDict):
    domainArn: str,

CustomerProfilesIntegrationSummaryTypeDef#

# CustomerProfilesIntegrationSummaryTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CustomerProfilesIntegrationSummaryTypeDef


def get_value() -> CustomerProfilesIntegrationSummaryTypeDef:
    return {
        "domainArn": ...,
    }


# CustomerProfilesIntegrationSummaryTypeDef definition

class CustomerProfilesIntegrationSummaryTypeDef(TypedDict):
    domainArn: str,
    objectTypeNames: Dict[EventTypeType, str],  # (1)
  1. See EventTypeType

DeleteCampaignChannelSubtypeConfigRequestTypeDef#

# DeleteCampaignChannelSubtypeConfigRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteCampaignChannelSubtypeConfigRequestTypeDef


def get_value() -> DeleteCampaignChannelSubtypeConfigRequestTypeDef:
    return {
        "id": ...,
    }


# DeleteCampaignChannelSubtypeConfigRequestTypeDef definition

class DeleteCampaignChannelSubtypeConfigRequestTypeDef(TypedDict):
    id: str,
    channelSubtype: ChannelSubtypeType,  # (1)
  1. See ChannelSubtypeType

DeleteCampaignCommunicationLimitsRequestTypeDef#

# DeleteCampaignCommunicationLimitsRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteCampaignCommunicationLimitsRequestTypeDef


def get_value() -> DeleteCampaignCommunicationLimitsRequestTypeDef:
    return {
        "id": ...,
    }


# DeleteCampaignCommunicationLimitsRequestTypeDef definition

class DeleteCampaignCommunicationLimitsRequestTypeDef(TypedDict):
    id: str,
    config: CommunicationLimitsConfigTypeType,  # (1)
  1. See CommunicationLimitsConfigTypeType

DeleteCampaignCommunicationTimeRequestTypeDef#

# DeleteCampaignCommunicationTimeRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteCampaignCommunicationTimeRequestTypeDef


def get_value() -> DeleteCampaignCommunicationTimeRequestTypeDef:
    return {
        "id": ...,
    }


# DeleteCampaignCommunicationTimeRequestTypeDef definition

class DeleteCampaignCommunicationTimeRequestTypeDef(TypedDict):
    id: str,
    config: CommunicationTimeConfigTypeType,  # (1)
  1. See CommunicationTimeConfigTypeType

DeleteCampaignRequestTypeDef#

# DeleteCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteCampaignRequestTypeDef


def get_value() -> DeleteCampaignRequestTypeDef:
    return {
        "id": ...,
    }


# DeleteCampaignRequestTypeDef definition

class DeleteCampaignRequestTypeDef(TypedDict):
    id: str,

DeleteConnectInstanceConfigRequestTypeDef#

# DeleteConnectInstanceConfigRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteConnectInstanceConfigRequestTypeDef


def get_value() -> DeleteConnectInstanceConfigRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# DeleteConnectInstanceConfigRequestTypeDef definition

class DeleteConnectInstanceConfigRequestTypeDef(TypedDict):
    connectInstanceId: str,
    campaignDeletionPolicy: NotRequired[CampaignDeletionPolicyType],  # (1)
  1. See CampaignDeletionPolicyType

DeleteInstanceOnboardingJobRequestTypeDef#

# DeleteInstanceOnboardingJobRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteInstanceOnboardingJobRequestTypeDef


def get_value() -> DeleteInstanceOnboardingJobRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# DeleteInstanceOnboardingJobRequestTypeDef definition

class DeleteInstanceOnboardingJobRequestTypeDef(TypedDict):
    connectInstanceId: str,

DescribeCampaignRequestTypeDef#

# DescribeCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DescribeCampaignRequestTypeDef


def get_value() -> DescribeCampaignRequestTypeDef:
    return {
        "id": ...,
    }


# DescribeCampaignRequestTypeDef definition

class DescribeCampaignRequestTypeDef(TypedDict):
    id: str,

EmailOutboundConfigTypeDef#

# EmailOutboundConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmailOutboundConfigTypeDef


def get_value() -> EmailOutboundConfigTypeDef:
    return {
        "connectSourceEmailAddress": ...,
    }


# EmailOutboundConfigTypeDef definition

class EmailOutboundConfigTypeDef(TypedDict):
    connectSourceEmailAddress: str,
    wisdomTemplateArn: str,
    sourceEmailAddressDisplayName: NotRequired[str],

EmailOutboundModeOutputTypeDef#

# EmailOutboundModeOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmailOutboundModeOutputTypeDef


def get_value() -> EmailOutboundModeOutputTypeDef:
    return {
        "agentless": ...,
    }


# EmailOutboundModeOutputTypeDef definition

class EmailOutboundModeOutputTypeDef(TypedDict):
    agentless: NotRequired[Dict[str, Any]],

EmailOutboundModeTypeDef#

# EmailOutboundModeTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmailOutboundModeTypeDef


def get_value() -> EmailOutboundModeTypeDef:
    return {
        "agentless": ...,
    }


# EmailOutboundModeTypeDef definition

class EmailOutboundModeTypeDef(TypedDict):
    agentless: NotRequired[Mapping[str, Any]],

EncryptionConfigTypeDef#

# EncryptionConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EncryptionConfigTypeDef


def get_value() -> EncryptionConfigTypeDef:
    return {
        "enabled": ...,
    }


# EncryptionConfigTypeDef definition

class EncryptionConfigTypeDef(TypedDict):
    enabled: bool,
    encryptionType: NotRequired[EncryptionTypeType],  # (1)
    keyArn: NotRequired[str],
  1. See EncryptionTypeType

EventTriggerTypeDef#

# EventTriggerTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EventTriggerTypeDef


def get_value() -> EventTriggerTypeDef:
    return {
        "customerProfilesDomainArn": ...,
    }


# EventTriggerTypeDef definition

class EventTriggerTypeDef(TypedDict):
    customerProfilesDomainArn: NotRequired[str],

FailedCampaignStateResponseTypeDef#

# FailedCampaignStateResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import FailedCampaignStateResponseTypeDef


def get_value() -> FailedCampaignStateResponseTypeDef:
    return {
        "campaignId": ...,
    }


# FailedCampaignStateResponseTypeDef definition

class FailedCampaignStateResponseTypeDef(TypedDict):
    campaignId: NotRequired[str],
    failureCode: NotRequired[GetCampaignStateBatchFailureCodeType],  # (1)
  1. See GetCampaignStateBatchFailureCodeType

FailedProfileOutboundRequestTypeDef#

# FailedProfileOutboundRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import FailedProfileOutboundRequestTypeDef


def get_value() -> FailedProfileOutboundRequestTypeDef:
    return {
        "clientToken": ...,
    }


# FailedProfileOutboundRequestTypeDef definition

class FailedProfileOutboundRequestTypeDef(TypedDict):
    clientToken: NotRequired[str],
    id: NotRequired[str],
    failureCode: NotRequired[ProfileOutboundRequestFailureCodeType],  # (1)
  1. See ProfileOutboundRequestFailureCodeType

FailedRequestTypeDef#

# FailedRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import FailedRequestTypeDef


def get_value() -> FailedRequestTypeDef:
    return {
        "clientToken": ...,
    }


# FailedRequestTypeDef definition

class FailedRequestTypeDef(TypedDict):
    clientToken: NotRequired[str],
    id: NotRequired[str],
    failureCode: NotRequired[FailureCodeType],  # (1)
  1. See FailureCodeType

GetCampaignStateBatchRequestTypeDef#

# GetCampaignStateBatchRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetCampaignStateBatchRequestTypeDef


def get_value() -> GetCampaignStateBatchRequestTypeDef:
    return {
        "campaignIds": ...,
    }


# GetCampaignStateBatchRequestTypeDef definition

class GetCampaignStateBatchRequestTypeDef(TypedDict):
    campaignIds: Sequence[str],

SuccessfulCampaignStateResponseTypeDef#

# SuccessfulCampaignStateResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SuccessfulCampaignStateResponseTypeDef


def get_value() -> SuccessfulCampaignStateResponseTypeDef:
    return {
        "campaignId": ...,
    }


# SuccessfulCampaignStateResponseTypeDef definition

class SuccessfulCampaignStateResponseTypeDef(TypedDict):
    campaignId: NotRequired[str],
    state: NotRequired[CampaignStateType],  # (1)
  1. See CampaignStateType

GetCampaignStateRequestTypeDef#

# GetCampaignStateRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetCampaignStateRequestTypeDef


def get_value() -> GetCampaignStateRequestTypeDef:
    return {
        "id": ...,
    }


# GetCampaignStateRequestTypeDef definition

class GetCampaignStateRequestTypeDef(TypedDict):
    id: str,

GetConnectInstanceConfigRequestTypeDef#

# GetConnectInstanceConfigRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetConnectInstanceConfigRequestTypeDef


def get_value() -> GetConnectInstanceConfigRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# GetConnectInstanceConfigRequestTypeDef definition

class GetConnectInstanceConfigRequestTypeDef(TypedDict):
    connectInstanceId: str,

GetInstanceOnboardingJobStatusRequestTypeDef#

# GetInstanceOnboardingJobStatusRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetInstanceOnboardingJobStatusRequestTypeDef


def get_value() -> GetInstanceOnboardingJobStatusRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# GetInstanceOnboardingJobStatusRequestTypeDef definition

class GetInstanceOnboardingJobStatusRequestTypeDef(TypedDict):
    connectInstanceId: str,

InstanceOnboardingJobStatusTypeDef#

# InstanceOnboardingJobStatusTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import InstanceOnboardingJobStatusTypeDef


def get_value() -> InstanceOnboardingJobStatusTypeDef:
    return {
        "connectInstanceId": ...,
    }


# InstanceOnboardingJobStatusTypeDef definition

class InstanceOnboardingJobStatusTypeDef(TypedDict):
    connectInstanceId: str,
    status: InstanceOnboardingJobStatusCodeType,  # (1)
    failureCode: NotRequired[InstanceOnboardingJobFailureCodeType],  # (2)
  1. See InstanceOnboardingJobStatusCodeType
  2. See InstanceOnboardingJobFailureCodeType

QConnectIntegrationConfigTypeDef#

# QConnectIntegrationConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import QConnectIntegrationConfigTypeDef


def get_value() -> QConnectIntegrationConfigTypeDef:
    return {
        "knowledgeBaseArn": ...,
    }


# QConnectIntegrationConfigTypeDef definition

class QConnectIntegrationConfigTypeDef(TypedDict):
    knowledgeBaseArn: str,

QConnectIntegrationIdentifierTypeDef#

# QConnectIntegrationIdentifierTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import QConnectIntegrationIdentifierTypeDef


def get_value() -> QConnectIntegrationIdentifierTypeDef:
    return {
        "knowledgeBaseArn": ...,
    }


# QConnectIntegrationIdentifierTypeDef definition

class QConnectIntegrationIdentifierTypeDef(TypedDict):
    knowledgeBaseArn: str,

QConnectIntegrationSummaryTypeDef#

# QConnectIntegrationSummaryTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import QConnectIntegrationSummaryTypeDef


def get_value() -> QConnectIntegrationSummaryTypeDef:
    return {
        "knowledgeBaseArn": ...,
    }


# QConnectIntegrationSummaryTypeDef definition

class QConnectIntegrationSummaryTypeDef(TypedDict):
    knowledgeBaseArn: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListConnectInstanceIntegrationsRequestTypeDef#

# ListConnectInstanceIntegrationsRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListConnectInstanceIntegrationsRequestTypeDef


def get_value() -> ListConnectInstanceIntegrationsRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# ListConnectInstanceIntegrationsRequestTypeDef definition

class ListConnectInstanceIntegrationsRequestTypeDef(TypedDict):
    connectInstanceId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "arn": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    arn: str,

TimeRangeTypeDef#

# TimeRangeTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TimeRangeTypeDef


def get_value() -> TimeRangeTypeDef:
    return {
        "startTime": ...,
    }


# TimeRangeTypeDef definition

class TimeRangeTypeDef(TypedDict):
    startTime: str,
    endTime: str,

PauseCampaignRequestTypeDef#

# PauseCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PauseCampaignRequestTypeDef


def get_value() -> PauseCampaignRequestTypeDef:
    return {
        "id": ...,
    }


# PauseCampaignRequestTypeDef definition

class PauseCampaignRequestTypeDef(TypedDict):
    id: str,

PredictiveConfigTypeDef#

# PredictiveConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PredictiveConfigTypeDef


def get_value() -> PredictiveConfigTypeDef:
    return {
        "bandwidthAllocation": ...,
    }


# PredictiveConfigTypeDef definition

class PredictiveConfigTypeDef(TypedDict):
    bandwidthAllocation: float,

ProgressiveConfigTypeDef#

# ProgressiveConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ProgressiveConfigTypeDef


def get_value() -> ProgressiveConfigTypeDef:
    return {
        "bandwidthAllocation": ...,
    }


# ProgressiveConfigTypeDef definition

class ProgressiveConfigTypeDef(TypedDict):
    bandwidthAllocation: float,

SuccessfulRequestTypeDef#

# SuccessfulRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SuccessfulRequestTypeDef


def get_value() -> SuccessfulRequestTypeDef:
    return {
        "clientToken": ...,
    }


# SuccessfulRequestTypeDef definition

class SuccessfulRequestTypeDef(TypedDict):
    clientToken: NotRequired[str],
    id: NotRequired[str],

SuccessfulProfileOutboundRequestTypeDef#

# SuccessfulProfileOutboundRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SuccessfulProfileOutboundRequestTypeDef


def get_value() -> SuccessfulProfileOutboundRequestTypeDef:
    return {
        "clientToken": ...,
    }


# SuccessfulProfileOutboundRequestTypeDef definition

class SuccessfulProfileOutboundRequestTypeDef(TypedDict):
    clientToken: NotRequired[str],
    id: NotRequired[str],

RestrictedPeriodTypeDef#

# RestrictedPeriodTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import RestrictedPeriodTypeDef


def get_value() -> RestrictedPeriodTypeDef:
    return {
        "name": ...,
    }


# RestrictedPeriodTypeDef definition

class RestrictedPeriodTypeDef(TypedDict):
    startDate: str,
    endDate: str,
    name: NotRequired[str],

ResumeCampaignRequestTypeDef#

# ResumeCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ResumeCampaignRequestTypeDef


def get_value() -> ResumeCampaignRequestTypeDef:
    return {
        "id": ...,
    }


# ResumeCampaignRequestTypeDef definition

class ResumeCampaignRequestTypeDef(TypedDict):
    id: str,

SmsOutboundConfigTypeDef#

# SmsOutboundConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SmsOutboundConfigTypeDef


def get_value() -> SmsOutboundConfigTypeDef:
    return {
        "connectSourcePhoneNumberArn": ...,
    }


# SmsOutboundConfigTypeDef definition

class SmsOutboundConfigTypeDef(TypedDict):
    connectSourcePhoneNumberArn: str,
    wisdomTemplateArn: str,

SmsOutboundModeOutputTypeDef#

# SmsOutboundModeOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SmsOutboundModeOutputTypeDef


def get_value() -> SmsOutboundModeOutputTypeDef:
    return {
        "agentless": ...,
    }


# SmsOutboundModeOutputTypeDef definition

class SmsOutboundModeOutputTypeDef(TypedDict):
    agentless: NotRequired[Dict[str, Any]],

SmsOutboundModeTypeDef#

# SmsOutboundModeTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SmsOutboundModeTypeDef


def get_value() -> SmsOutboundModeTypeDef:
    return {
        "agentless": ...,
    }


# SmsOutboundModeTypeDef definition

class SmsOutboundModeTypeDef(TypedDict):
    agentless: NotRequired[Mapping[str, Any]],

StartCampaignRequestTypeDef#

# StartCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import StartCampaignRequestTypeDef


def get_value() -> StartCampaignRequestTypeDef:
    return {
        "id": ...,
    }


# StartCampaignRequestTypeDef definition

class StartCampaignRequestTypeDef(TypedDict):
    id: str,

StopCampaignRequestTypeDef#

# StopCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import StopCampaignRequestTypeDef


def get_value() -> StopCampaignRequestTypeDef:
    return {
        "id": ...,
    }


# StopCampaignRequestTypeDef definition

class StopCampaignRequestTypeDef(TypedDict):
    id: str,

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "arn": ...,
    }


# TagResourceRequestTypeDef definition

class TagResourceRequestTypeDef(TypedDict):
    arn: str,
    tags: Mapping[str, str],

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "arn": ...,
    }


# UntagResourceRequestTypeDef definition

class UntagResourceRequestTypeDef(TypedDict):
    arn: str,
    tagKeys: Sequence[str],

UpdateCampaignFlowAssociationRequestTypeDef#

# UpdateCampaignFlowAssociationRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignFlowAssociationRequestTypeDef


def get_value() -> UpdateCampaignFlowAssociationRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignFlowAssociationRequestTypeDef definition

class UpdateCampaignFlowAssociationRequestTypeDef(TypedDict):
    id: str,
    connectCampaignFlowArn: str,

UpdateCampaignNameRequestTypeDef#

# UpdateCampaignNameRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignNameRequestTypeDef


def get_value() -> UpdateCampaignNameRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignNameRequestTypeDef definition

class UpdateCampaignNameRequestTypeDef(TypedDict):
    id: str,
    name: str,

TelephonyChannelSubtypeParametersTypeDef#

# TelephonyChannelSubtypeParametersTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TelephonyChannelSubtypeParametersTypeDef


def get_value() -> TelephonyChannelSubtypeParametersTypeDef:
    return {
        "destinationPhoneNumber": ...,
    }


# TelephonyChannelSubtypeParametersTypeDef definition

class TelephonyChannelSubtypeParametersTypeDef(TypedDict):
    destinationPhoneNumber: str,
    attributes: Mapping[str, str],
    connectSourcePhoneNumber: NotRequired[str],
    answerMachineDetectionConfig: NotRequired[AnswerMachineDetectionConfigTypeDef],  # (1)
  1. See AnswerMachineDetectionConfigTypeDef

TelephonyOutboundConfigTypeDef#

# TelephonyOutboundConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TelephonyOutboundConfigTypeDef


def get_value() -> TelephonyOutboundConfigTypeDef:
    return {
        "connectContactFlowId": ...,
    }


# TelephonyOutboundConfigTypeDef definition

class TelephonyOutboundConfigTypeDef(TypedDict):
    connectContactFlowId: str,
    connectSourcePhoneNumber: NotRequired[str],
    answerMachineDetectionConfig: NotRequired[AnswerMachineDetectionConfigTypeDef],  # (1)
  1. See AnswerMachineDetectionConfigTypeDef

CampaignFiltersTypeDef#

# CampaignFiltersTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CampaignFiltersTypeDef


def get_value() -> CampaignFiltersTypeDef:
    return {
        "instanceIdFilter": ...,
    }


# CampaignFiltersTypeDef definition

class CampaignFiltersTypeDef(TypedDict):
    instanceIdFilter: NotRequired[InstanceIdFilterTypeDef],  # (1)
  1. See InstanceIdFilterTypeDef

CampaignSummaryTypeDef#

# CampaignSummaryTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CampaignSummaryTypeDef


def get_value() -> CampaignSummaryTypeDef:
    return {
        "id": ...,
    }


# CampaignSummaryTypeDef definition

class CampaignSummaryTypeDef(TypedDict):
    id: str,
    arn: str,
    name: str,
    connectInstanceId: str,
    channelSubtypes: List[ChannelSubtypeType],  # (1)
    schedule: NotRequired[ScheduleOutputTypeDef],  # (2)
    connectCampaignFlowArn: NotRequired[str],
  1. See ChannelSubtypeType
  2. See ScheduleOutputTypeDef

CommunicationLimitsOutputTypeDef#

# CommunicationLimitsOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationLimitsOutputTypeDef


def get_value() -> CommunicationLimitsOutputTypeDef:
    return {
        "communicationLimitsList": ...,
    }


# CommunicationLimitsOutputTypeDef definition

class CommunicationLimitsOutputTypeDef(TypedDict):
    communicationLimitsList: NotRequired[List[CommunicationLimitTypeDef]],  # (1)
  1. See CommunicationLimitTypeDef

CommunicationLimitsTypeDef#

# CommunicationLimitsTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationLimitsTypeDef


def get_value() -> CommunicationLimitsTypeDef:
    return {
        "communicationLimitsList": ...,
    }


# CommunicationLimitsTypeDef definition

class CommunicationLimitsTypeDef(TypedDict):
    communicationLimitsList: NotRequired[Sequence[CommunicationLimitTypeDef]],  # (1)
  1. See CommunicationLimitTypeDef

CreateCampaignResponseTypeDef#

# CreateCampaignResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CreateCampaignResponseTypeDef


def get_value() -> CreateCampaignResponseTypeDef:
    return {
        "id": ...,
    }


# CreateCampaignResponseTypeDef definition

class CreateCampaignResponseTypeDef(TypedDict):
    id: str,
    arn: str,
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmptyResponseMetadataTypeDef


def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }


# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetCampaignStateResponseTypeDef#

# GetCampaignStateResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetCampaignStateResponseTypeDef


def get_value() -> GetCampaignStateResponseTypeDef:
    return {
        "state": ...,
    }


# GetCampaignStateResponseTypeDef definition

class GetCampaignStateResponseTypeDef(TypedDict):
    state: CampaignStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CampaignStateType
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListTagsForResourceResponseTypeDef


def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
    }


# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmailChannelSubtypeConfigOutputTypeDef#

# EmailChannelSubtypeConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmailChannelSubtypeConfigOutputTypeDef


def get_value() -> EmailChannelSubtypeConfigOutputTypeDef:
    return {
        "capacity": ...,
    }


# EmailChannelSubtypeConfigOutputTypeDef definition

class EmailChannelSubtypeConfigOutputTypeDef(TypedDict):
    outboundMode: EmailOutboundModeOutputTypeDef,  # (1)
    defaultOutboundConfig: EmailOutboundConfigTypeDef,  # (2)
    capacity: NotRequired[float],
  1. See EmailOutboundModeOutputTypeDef
  2. See EmailOutboundConfigTypeDef

EmailChannelSubtypeConfigTypeDef#

# EmailChannelSubtypeConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import EmailChannelSubtypeConfigTypeDef


def get_value() -> EmailChannelSubtypeConfigTypeDef:
    return {
        "capacity": ...,
    }


# EmailChannelSubtypeConfigTypeDef definition

class EmailChannelSubtypeConfigTypeDef(TypedDict):
    outboundMode: EmailOutboundModeTypeDef,  # (1)
    defaultOutboundConfig: EmailOutboundConfigTypeDef,  # (2)
    capacity: NotRequired[float],
  1. See EmailOutboundModeTypeDef
  2. See EmailOutboundConfigTypeDef

InstanceConfigTypeDef#

# InstanceConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import InstanceConfigTypeDef


def get_value() -> InstanceConfigTypeDef:
    return {
        "connectInstanceId": ...,
    }


# InstanceConfigTypeDef definition

class InstanceConfigTypeDef(TypedDict):
    connectInstanceId: str,
    serviceLinkedRoleArn: str,
    encryptionConfig: EncryptionConfigTypeDef,  # (1)
  1. See EncryptionConfigTypeDef

StartInstanceOnboardingJobRequestTypeDef#

# StartInstanceOnboardingJobRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import StartInstanceOnboardingJobRequestTypeDef


def get_value() -> StartInstanceOnboardingJobRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# StartInstanceOnboardingJobRequestTypeDef definition

class StartInstanceOnboardingJobRequestTypeDef(TypedDict):
    connectInstanceId: str,
    encryptionConfig: EncryptionConfigTypeDef,  # (1)
  1. See EncryptionConfigTypeDef

SourceTypeDef#

# SourceTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SourceTypeDef


def get_value() -> SourceTypeDef:
    return {
        "customerProfilesSegmentArn": ...,
    }


# SourceTypeDef definition

class SourceTypeDef(TypedDict):
    customerProfilesSegmentArn: NotRequired[str],
    eventTrigger: NotRequired[EventTriggerTypeDef],  # (1)
  1. See EventTriggerTypeDef

GetCampaignStateBatchResponseTypeDef#

# GetCampaignStateBatchResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetCampaignStateBatchResponseTypeDef


def get_value() -> GetCampaignStateBatchResponseTypeDef:
    return {
        "successfulRequests": ...,
    }


# GetCampaignStateBatchResponseTypeDef definition

class GetCampaignStateBatchResponseTypeDef(TypedDict):
    successfulRequests: List[SuccessfulCampaignStateResponseTypeDef],  # (1)
    failedRequests: List[FailedCampaignStateResponseTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulCampaignStateResponseTypeDef
  2. See FailedCampaignStateResponseTypeDef
  3. See ResponseMetadataTypeDef

GetInstanceOnboardingJobStatusResponseTypeDef#

# GetInstanceOnboardingJobStatusResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetInstanceOnboardingJobStatusResponseTypeDef


def get_value() -> GetInstanceOnboardingJobStatusResponseTypeDef:
    return {
        "connectInstanceOnboardingJobStatus": ...,
    }


# GetInstanceOnboardingJobStatusResponseTypeDef definition

class GetInstanceOnboardingJobStatusResponseTypeDef(TypedDict):
    connectInstanceOnboardingJobStatus: InstanceOnboardingJobStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceOnboardingJobStatusTypeDef
  2. See ResponseMetadataTypeDef

StartInstanceOnboardingJobResponseTypeDef#

# StartInstanceOnboardingJobResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import StartInstanceOnboardingJobResponseTypeDef


def get_value() -> StartInstanceOnboardingJobResponseTypeDef:
    return {
        "connectInstanceOnboardingJobStatus": ...,
    }


# StartInstanceOnboardingJobResponseTypeDef definition

class StartInstanceOnboardingJobResponseTypeDef(TypedDict):
    connectInstanceOnboardingJobStatus: InstanceOnboardingJobStatusTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceOnboardingJobStatusTypeDef
  2. See ResponseMetadataTypeDef

IntegrationConfigTypeDef#

# IntegrationConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import IntegrationConfigTypeDef


def get_value() -> IntegrationConfigTypeDef:
    return {
        "customerProfiles": ...,
    }


# IntegrationConfigTypeDef definition

class IntegrationConfigTypeDef(TypedDict):
    customerProfiles: NotRequired[CustomerProfilesIntegrationConfigTypeDef],  # (1)
    qConnect: NotRequired[QConnectIntegrationConfigTypeDef],  # (2)
  1. See CustomerProfilesIntegrationConfigTypeDef
  2. See QConnectIntegrationConfigTypeDef

IntegrationIdentifierTypeDef#

# IntegrationIdentifierTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import IntegrationIdentifierTypeDef


def get_value() -> IntegrationIdentifierTypeDef:
    return {
        "customerProfiles": ...,
    }


# IntegrationIdentifierTypeDef definition

class IntegrationIdentifierTypeDef(TypedDict):
    customerProfiles: NotRequired[CustomerProfilesIntegrationIdentifierTypeDef],  # (1)
    qConnect: NotRequired[QConnectIntegrationIdentifierTypeDef],  # (2)
  1. See CustomerProfilesIntegrationIdentifierTypeDef
  2. See QConnectIntegrationIdentifierTypeDef

IntegrationSummaryTypeDef#

# IntegrationSummaryTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import IntegrationSummaryTypeDef


def get_value() -> IntegrationSummaryTypeDef:
    return {
        "customerProfiles": ...,
    }


# IntegrationSummaryTypeDef definition

class IntegrationSummaryTypeDef(TypedDict):
    customerProfiles: NotRequired[CustomerProfilesIntegrationSummaryTypeDef],  # (1)
    qConnect: NotRequired[QConnectIntegrationSummaryTypeDef],  # (2)
  1. See CustomerProfilesIntegrationSummaryTypeDef
  2. See QConnectIntegrationSummaryTypeDef

ListConnectInstanceIntegrationsRequestPaginateTypeDef#

# ListConnectInstanceIntegrationsRequestPaginateTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListConnectInstanceIntegrationsRequestPaginateTypeDef


def get_value() -> ListConnectInstanceIntegrationsRequestPaginateTypeDef:
    return {
        "connectInstanceId": ...,
    }


# ListConnectInstanceIntegrationsRequestPaginateTypeDef definition

class ListConnectInstanceIntegrationsRequestPaginateTypeDef(TypedDict):
    connectInstanceId: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

OpenHoursOutputTypeDef#

# OpenHoursOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import OpenHoursOutputTypeDef


def get_value() -> OpenHoursOutputTypeDef:
    return {
        "dailyHours": ...,
    }


# OpenHoursOutputTypeDef definition

class OpenHoursOutputTypeDef(TypedDict):
    dailyHours: NotRequired[Dict[DayOfWeekType, List[TimeRangeTypeDef]]],  # (1)
  1. See DayOfWeekType TimeRangeTypeDef

OpenHoursTypeDef#

# OpenHoursTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import OpenHoursTypeDef


def get_value() -> OpenHoursTypeDef:
    return {
        "dailyHours": ...,
    }


# OpenHoursTypeDef definition

class OpenHoursTypeDef(TypedDict):
    dailyHours: NotRequired[Mapping[DayOfWeekType, Sequence[TimeRangeTypeDef]]],  # (1)
  1. See DayOfWeekType TimeRangeTypeDef

ProfileOutboundRequestTypeDef#

# ProfileOutboundRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ProfileOutboundRequestTypeDef


def get_value() -> ProfileOutboundRequestTypeDef:
    return {
        "clientToken": ...,
    }


# ProfileOutboundRequestTypeDef definition

class ProfileOutboundRequestTypeDef(TypedDict):
    clientToken: str,
    profileId: str,
    expirationTime: NotRequired[TimestampTypeDef],

ScheduleTypeDef#

# ScheduleTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ScheduleTypeDef


def get_value() -> ScheduleTypeDef:
    return {
        "startTime": ...,
    }


# ScheduleTypeDef definition

class ScheduleTypeDef(TypedDict):
    startTime: TimestampTypeDef,
    endTime: TimestampTypeDef,
    refreshFrequency: NotRequired[str],

TelephonyOutboundModeOutputTypeDef#

# TelephonyOutboundModeOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TelephonyOutboundModeOutputTypeDef


def get_value() -> TelephonyOutboundModeOutputTypeDef:
    return {
        "progressive": ...,
    }


# TelephonyOutboundModeOutputTypeDef definition

class TelephonyOutboundModeOutputTypeDef(TypedDict):
    progressive: NotRequired[ProgressiveConfigTypeDef],  # (1)
    predictive: NotRequired[PredictiveConfigTypeDef],  # (2)
    agentless: NotRequired[Dict[str, Any]],
  1. See ProgressiveConfigTypeDef
  2. See PredictiveConfigTypeDef

TelephonyOutboundModeTypeDef#

# TelephonyOutboundModeTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TelephonyOutboundModeTypeDef


def get_value() -> TelephonyOutboundModeTypeDef:
    return {
        "progressive": ...,
    }


# TelephonyOutboundModeTypeDef definition

class TelephonyOutboundModeTypeDef(TypedDict):
    progressive: NotRequired[ProgressiveConfigTypeDef],  # (1)
    predictive: NotRequired[PredictiveConfigTypeDef],  # (2)
    agentless: NotRequired[Mapping[str, Any]],
  1. See ProgressiveConfigTypeDef
  2. See PredictiveConfigTypeDef

PutOutboundRequestBatchResponseTypeDef#

# PutOutboundRequestBatchResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PutOutboundRequestBatchResponseTypeDef


def get_value() -> PutOutboundRequestBatchResponseTypeDef:
    return {
        "successfulRequests": ...,
    }


# PutOutboundRequestBatchResponseTypeDef definition

class PutOutboundRequestBatchResponseTypeDef(TypedDict):
    successfulRequests: List[SuccessfulRequestTypeDef],  # (1)
    failedRequests: List[FailedRequestTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulRequestTypeDef
  2. See FailedRequestTypeDef
  3. See ResponseMetadataTypeDef

PutProfileOutboundRequestBatchResponseTypeDef#

# PutProfileOutboundRequestBatchResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PutProfileOutboundRequestBatchResponseTypeDef


def get_value() -> PutProfileOutboundRequestBatchResponseTypeDef:
    return {
        "successfulRequests": ...,
    }


# PutProfileOutboundRequestBatchResponseTypeDef definition

class PutProfileOutboundRequestBatchResponseTypeDef(TypedDict):
    successfulRequests: List[SuccessfulProfileOutboundRequestTypeDef],  # (1)
    failedRequests: List[FailedProfileOutboundRequestTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See SuccessfulProfileOutboundRequestTypeDef
  2. See FailedProfileOutboundRequestTypeDef
  3. See ResponseMetadataTypeDef

RestrictedPeriodsOutputTypeDef#

# RestrictedPeriodsOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import RestrictedPeriodsOutputTypeDef


def get_value() -> RestrictedPeriodsOutputTypeDef:
    return {
        "restrictedPeriodList": ...,
    }


# RestrictedPeriodsOutputTypeDef definition

class RestrictedPeriodsOutputTypeDef(TypedDict):
    restrictedPeriodList: NotRequired[List[RestrictedPeriodTypeDef]],  # (1)
  1. See RestrictedPeriodTypeDef

RestrictedPeriodsTypeDef#

# RestrictedPeriodsTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import RestrictedPeriodsTypeDef


def get_value() -> RestrictedPeriodsTypeDef:
    return {
        "restrictedPeriodList": ...,
    }


# RestrictedPeriodsTypeDef definition

class RestrictedPeriodsTypeDef(TypedDict):
    restrictedPeriodList: NotRequired[Sequence[RestrictedPeriodTypeDef]],  # (1)
  1. See RestrictedPeriodTypeDef

SmsChannelSubtypeConfigOutputTypeDef#

# SmsChannelSubtypeConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SmsChannelSubtypeConfigOutputTypeDef


def get_value() -> SmsChannelSubtypeConfigOutputTypeDef:
    return {
        "capacity": ...,
    }


# SmsChannelSubtypeConfigOutputTypeDef definition

class SmsChannelSubtypeConfigOutputTypeDef(TypedDict):
    outboundMode: SmsOutboundModeOutputTypeDef,  # (1)
    defaultOutboundConfig: SmsOutboundConfigTypeDef,  # (2)
    capacity: NotRequired[float],
  1. See SmsOutboundModeOutputTypeDef
  2. See SmsOutboundConfigTypeDef

SmsChannelSubtypeConfigTypeDef#

# SmsChannelSubtypeConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import SmsChannelSubtypeConfigTypeDef


def get_value() -> SmsChannelSubtypeConfigTypeDef:
    return {
        "capacity": ...,
    }


# SmsChannelSubtypeConfigTypeDef definition

class SmsChannelSubtypeConfigTypeDef(TypedDict):
    outboundMode: SmsOutboundModeTypeDef,  # (1)
    defaultOutboundConfig: SmsOutboundConfigTypeDef,  # (2)
    capacity: NotRequired[float],
  1. See SmsOutboundModeTypeDef
  2. See SmsOutboundConfigTypeDef

ChannelSubtypeParametersTypeDef#

# ChannelSubtypeParametersTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ChannelSubtypeParametersTypeDef


def get_value() -> ChannelSubtypeParametersTypeDef:
    return {
        "telephony": ...,
    }


# ChannelSubtypeParametersTypeDef definition

class ChannelSubtypeParametersTypeDef(TypedDict):
    telephony: NotRequired[TelephonyChannelSubtypeParametersTypeDef],  # (1)
    sms: NotRequired[SmsChannelSubtypeParametersTypeDef],  # (2)
    email: NotRequired[EmailChannelSubtypeParametersTypeDef],  # (3)
  1. See TelephonyChannelSubtypeParametersTypeDef
  2. See SmsChannelSubtypeParametersTypeDef
  3. See EmailChannelSubtypeParametersTypeDef

ListCampaignsRequestPaginateTypeDef#

# ListCampaignsRequestPaginateTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListCampaignsRequestPaginateTypeDef


def get_value() -> ListCampaignsRequestPaginateTypeDef:
    return {
        "filters": ...,
    }


# ListCampaignsRequestPaginateTypeDef definition

class ListCampaignsRequestPaginateTypeDef(TypedDict):
    filters: NotRequired[CampaignFiltersTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See CampaignFiltersTypeDef
  2. See PaginatorConfigTypeDef

ListCampaignsRequestTypeDef#

# ListCampaignsRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListCampaignsRequestTypeDef


def get_value() -> ListCampaignsRequestTypeDef:
    return {
        "maxResults": ...,
    }


# ListCampaignsRequestTypeDef definition

class ListCampaignsRequestTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    filters: NotRequired[CampaignFiltersTypeDef],  # (1)
  1. See CampaignFiltersTypeDef

ListCampaignsResponseTypeDef#

# ListCampaignsResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListCampaignsResponseTypeDef


def get_value() -> ListCampaignsResponseTypeDef:
    return {
        "nextToken": ...,
    }


# ListCampaignsResponseTypeDef definition

class ListCampaignsResponseTypeDef(TypedDict):
    campaignSummaryList: List[CampaignSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See CampaignSummaryTypeDef
  2. See ResponseMetadataTypeDef

CommunicationLimitsConfigOutputTypeDef#

# CommunicationLimitsConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationLimitsConfigOutputTypeDef


def get_value() -> CommunicationLimitsConfigOutputTypeDef:
    return {
        "allChannelSubtypes": ...,
    }


# CommunicationLimitsConfigOutputTypeDef definition

class CommunicationLimitsConfigOutputTypeDef(TypedDict):
    allChannelSubtypes: NotRequired[CommunicationLimitsOutputTypeDef],  # (1)
  1. See CommunicationLimitsOutputTypeDef

CommunicationLimitsConfigTypeDef#

# CommunicationLimitsConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationLimitsConfigTypeDef


def get_value() -> CommunicationLimitsConfigTypeDef:
    return {
        "allChannelSubtypes": ...,
    }


# CommunicationLimitsConfigTypeDef definition

class CommunicationLimitsConfigTypeDef(TypedDict):
    allChannelSubtypes: NotRequired[CommunicationLimitsTypeDef],  # (1)
  1. See CommunicationLimitsTypeDef

GetConnectInstanceConfigResponseTypeDef#

# GetConnectInstanceConfigResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import GetConnectInstanceConfigResponseTypeDef


def get_value() -> GetConnectInstanceConfigResponseTypeDef:
    return {
        "connectInstanceConfig": ...,
    }


# GetConnectInstanceConfigResponseTypeDef definition

class GetConnectInstanceConfigResponseTypeDef(TypedDict):
    connectInstanceConfig: InstanceConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceConfigTypeDef
  2. See ResponseMetadataTypeDef

UpdateCampaignSourceRequestTypeDef#

# UpdateCampaignSourceRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignSourceRequestTypeDef


def get_value() -> UpdateCampaignSourceRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignSourceRequestTypeDef definition

class UpdateCampaignSourceRequestTypeDef(TypedDict):
    id: str,
    source: SourceTypeDef,  # (1)
  1. See SourceTypeDef

PutConnectInstanceIntegrationRequestTypeDef#

# PutConnectInstanceIntegrationRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PutConnectInstanceIntegrationRequestTypeDef


def get_value() -> PutConnectInstanceIntegrationRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# PutConnectInstanceIntegrationRequestTypeDef definition

class PutConnectInstanceIntegrationRequestTypeDef(TypedDict):
    connectInstanceId: str,
    integrationConfig: IntegrationConfigTypeDef,  # (1)
  1. See IntegrationConfigTypeDef

DeleteConnectInstanceIntegrationRequestTypeDef#

# DeleteConnectInstanceIntegrationRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DeleteConnectInstanceIntegrationRequestTypeDef


def get_value() -> DeleteConnectInstanceIntegrationRequestTypeDef:
    return {
        "connectInstanceId": ...,
    }


# DeleteConnectInstanceIntegrationRequestTypeDef definition

class DeleteConnectInstanceIntegrationRequestTypeDef(TypedDict):
    connectInstanceId: str,
    integrationIdentifier: IntegrationIdentifierTypeDef,  # (1)
  1. See IntegrationIdentifierTypeDef

ListConnectInstanceIntegrationsResponseTypeDef#

# ListConnectInstanceIntegrationsResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ListConnectInstanceIntegrationsResponseTypeDef


def get_value() -> ListConnectInstanceIntegrationsResponseTypeDef:
    return {
        "nextToken": ...,
    }


# ListConnectInstanceIntegrationsResponseTypeDef definition

class ListConnectInstanceIntegrationsResponseTypeDef(TypedDict):
    integrationSummaryList: List[IntegrationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See IntegrationSummaryTypeDef
  2. See ResponseMetadataTypeDef

PutProfileOutboundRequestBatchRequestTypeDef#

# PutProfileOutboundRequestBatchRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PutProfileOutboundRequestBatchRequestTypeDef


def get_value() -> PutProfileOutboundRequestBatchRequestTypeDef:
    return {
        "id": ...,
    }


# PutProfileOutboundRequestBatchRequestTypeDef definition

class PutProfileOutboundRequestBatchRequestTypeDef(TypedDict):
    id: str,
    profileOutboundRequests: Sequence[ProfileOutboundRequestTypeDef],  # (1)
  1. See ProfileOutboundRequestTypeDef

TelephonyChannelSubtypeConfigOutputTypeDef#

# TelephonyChannelSubtypeConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TelephonyChannelSubtypeConfigOutputTypeDef


def get_value() -> TelephonyChannelSubtypeConfigOutputTypeDef:
    return {
        "capacity": ...,
    }


# TelephonyChannelSubtypeConfigOutputTypeDef definition

class TelephonyChannelSubtypeConfigOutputTypeDef(TypedDict):
    outboundMode: TelephonyOutboundModeOutputTypeDef,  # (1)
    defaultOutboundConfig: TelephonyOutboundConfigTypeDef,  # (2)
    capacity: NotRequired[float],
    connectQueueId: NotRequired[str],
  1. See TelephonyOutboundModeOutputTypeDef
  2. See TelephonyOutboundConfigTypeDef

TelephonyChannelSubtypeConfigTypeDef#

# TelephonyChannelSubtypeConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TelephonyChannelSubtypeConfigTypeDef


def get_value() -> TelephonyChannelSubtypeConfigTypeDef:
    return {
        "capacity": ...,
    }


# TelephonyChannelSubtypeConfigTypeDef definition

class TelephonyChannelSubtypeConfigTypeDef(TypedDict):
    outboundMode: TelephonyOutboundModeTypeDef,  # (1)
    defaultOutboundConfig: TelephonyOutboundConfigTypeDef,  # (2)
    capacity: NotRequired[float],
    connectQueueId: NotRequired[str],
  1. See TelephonyOutboundModeTypeDef
  2. See TelephonyOutboundConfigTypeDef

TimeWindowOutputTypeDef#

# TimeWindowOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TimeWindowOutputTypeDef


def get_value() -> TimeWindowOutputTypeDef:
    return {
        "openHours": ...,
    }


# TimeWindowOutputTypeDef definition

class TimeWindowOutputTypeDef(TypedDict):
    openHours: OpenHoursOutputTypeDef,  # (1)
    restrictedPeriods: NotRequired[RestrictedPeriodsOutputTypeDef],  # (2)
  1. See OpenHoursOutputTypeDef
  2. See RestrictedPeriodsOutputTypeDef

TimeWindowTypeDef#

# TimeWindowTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import TimeWindowTypeDef


def get_value() -> TimeWindowTypeDef:
    return {
        "openHours": ...,
    }


# TimeWindowTypeDef definition

class TimeWindowTypeDef(TypedDict):
    openHours: OpenHoursTypeDef,  # (1)
    restrictedPeriods: NotRequired[RestrictedPeriodsTypeDef],  # (2)
  1. See OpenHoursTypeDef
  2. See RestrictedPeriodsTypeDef

OutboundRequestTypeDef#

# OutboundRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import OutboundRequestTypeDef


def get_value() -> OutboundRequestTypeDef:
    return {
        "clientToken": ...,
    }


# OutboundRequestTypeDef definition

class OutboundRequestTypeDef(TypedDict):
    clientToken: str,
    expirationTime: TimestampTypeDef,
    channelSubtypeParameters: ChannelSubtypeParametersTypeDef,  # (1)
  1. See ChannelSubtypeParametersTypeDef

UpdateCampaignScheduleRequestTypeDef#

# UpdateCampaignScheduleRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignScheduleRequestTypeDef


def get_value() -> UpdateCampaignScheduleRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignScheduleRequestTypeDef definition

class UpdateCampaignScheduleRequestTypeDef(TypedDict):
    id: str,
    schedule: ScheduleUnionTypeDef,  # (1)
  1. See ScheduleTypeDef ScheduleOutputTypeDef

ChannelSubtypeConfigOutputTypeDef#

# ChannelSubtypeConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ChannelSubtypeConfigOutputTypeDef


def get_value() -> ChannelSubtypeConfigOutputTypeDef:
    return {
        "telephony": ...,
    }


# ChannelSubtypeConfigOutputTypeDef definition

class ChannelSubtypeConfigOutputTypeDef(TypedDict):
    telephony: NotRequired[TelephonyChannelSubtypeConfigOutputTypeDef],  # (1)
    sms: NotRequired[SmsChannelSubtypeConfigOutputTypeDef],  # (2)
    email: NotRequired[EmailChannelSubtypeConfigOutputTypeDef],  # (3)
  1. See TelephonyChannelSubtypeConfigOutputTypeDef
  2. See SmsChannelSubtypeConfigOutputTypeDef
  3. See EmailChannelSubtypeConfigOutputTypeDef

ChannelSubtypeConfigTypeDef#

# ChannelSubtypeConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import ChannelSubtypeConfigTypeDef


def get_value() -> ChannelSubtypeConfigTypeDef:
    return {
        "telephony": ...,
    }


# ChannelSubtypeConfigTypeDef definition

class ChannelSubtypeConfigTypeDef(TypedDict):
    telephony: NotRequired[TelephonyChannelSubtypeConfigTypeDef],  # (1)
    sms: NotRequired[SmsChannelSubtypeConfigTypeDef],  # (2)
    email: NotRequired[EmailChannelSubtypeConfigTypeDef],  # (3)
  1. See TelephonyChannelSubtypeConfigTypeDef
  2. See SmsChannelSubtypeConfigTypeDef
  3. See EmailChannelSubtypeConfigTypeDef

CommunicationTimeConfigOutputTypeDef#

# CommunicationTimeConfigOutputTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationTimeConfigOutputTypeDef


def get_value() -> CommunicationTimeConfigOutputTypeDef:
    return {
        "localTimeZoneConfig": ...,
    }


# CommunicationTimeConfigOutputTypeDef definition

class CommunicationTimeConfigOutputTypeDef(TypedDict):
    localTimeZoneConfig: LocalTimeZoneConfigOutputTypeDef,  # (1)
    telephony: NotRequired[TimeWindowOutputTypeDef],  # (2)
    sms: NotRequired[TimeWindowOutputTypeDef],  # (2)
    email: NotRequired[TimeWindowOutputTypeDef],  # (2)
  1. See LocalTimeZoneConfigOutputTypeDef
  2. See TimeWindowOutputTypeDef
  3. See TimeWindowOutputTypeDef
  4. See TimeWindowOutputTypeDef

CommunicationTimeConfigTypeDef#

# CommunicationTimeConfigTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CommunicationTimeConfigTypeDef


def get_value() -> CommunicationTimeConfigTypeDef:
    return {
        "localTimeZoneConfig": ...,
    }


# CommunicationTimeConfigTypeDef definition

class CommunicationTimeConfigTypeDef(TypedDict):
    localTimeZoneConfig: LocalTimeZoneConfigTypeDef,  # (1)
    telephony: NotRequired[TimeWindowTypeDef],  # (2)
    sms: NotRequired[TimeWindowTypeDef],  # (2)
    email: NotRequired[TimeWindowTypeDef],  # (2)
  1. See LocalTimeZoneConfigTypeDef
  2. See TimeWindowTypeDef
  3. See TimeWindowTypeDef
  4. See TimeWindowTypeDef

PutOutboundRequestBatchRequestTypeDef#

# PutOutboundRequestBatchRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import PutOutboundRequestBatchRequestTypeDef


def get_value() -> PutOutboundRequestBatchRequestTypeDef:
    return {
        "id": ...,
    }


# PutOutboundRequestBatchRequestTypeDef definition

class PutOutboundRequestBatchRequestTypeDef(TypedDict):
    id: str,
    outboundRequests: Sequence[OutboundRequestTypeDef],  # (1)
  1. See OutboundRequestTypeDef

UpdateCampaignCommunicationLimitsRequestTypeDef#

# UpdateCampaignCommunicationLimitsRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignCommunicationLimitsRequestTypeDef


def get_value() -> UpdateCampaignCommunicationLimitsRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignCommunicationLimitsRequestTypeDef definition

class UpdateCampaignCommunicationLimitsRequestTypeDef(TypedDict):
    id: str,
    communicationLimitsOverride: CommunicationLimitsConfigUnionTypeDef,  # (1)
  1. See CommunicationLimitsConfigTypeDef CommunicationLimitsConfigOutputTypeDef

CampaignTypeDef#

# CampaignTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CampaignTypeDef


def get_value() -> CampaignTypeDef:
    return {
        "id": ...,
    }


# CampaignTypeDef definition

class CampaignTypeDef(TypedDict):
    id: str,
    arn: str,
    name: str,
    connectInstanceId: str,
    channelSubtypeConfig: ChannelSubtypeConfigOutputTypeDef,  # (1)
    source: NotRequired[SourceTypeDef],  # (2)
    connectCampaignFlowArn: NotRequired[str],
    schedule: NotRequired[ScheduleOutputTypeDef],  # (3)
    communicationTimeConfig: NotRequired[CommunicationTimeConfigOutputTypeDef],  # (4)
    communicationLimitsOverride: NotRequired[CommunicationLimitsConfigOutputTypeDef],  # (5)
    tags: NotRequired[Dict[str, str]],
  1. See ChannelSubtypeConfigOutputTypeDef
  2. See SourceTypeDef
  3. See ScheduleOutputTypeDef
  4. See CommunicationTimeConfigOutputTypeDef
  5. See CommunicationLimitsConfigOutputTypeDef

UpdateCampaignChannelSubtypeConfigRequestTypeDef#

# UpdateCampaignChannelSubtypeConfigRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignChannelSubtypeConfigRequestTypeDef


def get_value() -> UpdateCampaignChannelSubtypeConfigRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignChannelSubtypeConfigRequestTypeDef definition

class UpdateCampaignChannelSubtypeConfigRequestTypeDef(TypedDict):
    id: str,
    channelSubtypeConfig: ChannelSubtypeConfigUnionTypeDef,  # (1)
  1. See ChannelSubtypeConfigTypeDef ChannelSubtypeConfigOutputTypeDef

DescribeCampaignResponseTypeDef#

# DescribeCampaignResponseTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import DescribeCampaignResponseTypeDef


def get_value() -> DescribeCampaignResponseTypeDef:
    return {
        "campaign": ...,
    }


# DescribeCampaignResponseTypeDef definition

class DescribeCampaignResponseTypeDef(TypedDict):
    campaign: CampaignTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CampaignTypeDef
  2. See ResponseMetadataTypeDef

CreateCampaignRequestTypeDef#

# CreateCampaignRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import CreateCampaignRequestTypeDef


def get_value() -> CreateCampaignRequestTypeDef:
    return {
        "name": ...,
    }


# CreateCampaignRequestTypeDef definition

class CreateCampaignRequestTypeDef(TypedDict):
    name: str,
    connectInstanceId: str,
    channelSubtypeConfig: ChannelSubtypeConfigUnionTypeDef,  # (1)
    source: NotRequired[SourceTypeDef],  # (2)
    connectCampaignFlowArn: NotRequired[str],
    schedule: NotRequired[ScheduleUnionTypeDef],  # (3)
    communicationTimeConfig: NotRequired[CommunicationTimeConfigUnionTypeDef],  # (4)
    communicationLimitsOverride: NotRequired[CommunicationLimitsConfigUnionTypeDef],  # (5)
    tags: NotRequired[Mapping[str, str]],
  1. See ChannelSubtypeConfigTypeDef ChannelSubtypeConfigOutputTypeDef
  2. See SourceTypeDef
  3. See ScheduleTypeDef ScheduleOutputTypeDef
  4. See CommunicationTimeConfigTypeDef CommunicationTimeConfigOutputTypeDef
  5. See CommunicationLimitsConfigTypeDef CommunicationLimitsConfigOutputTypeDef

UpdateCampaignCommunicationTimeRequestTypeDef#

# UpdateCampaignCommunicationTimeRequestTypeDef TypedDict usage example

from types_boto3_connectcampaignsv2.type_defs import UpdateCampaignCommunicationTimeRequestTypeDef


def get_value() -> UpdateCampaignCommunicationTimeRequestTypeDef:
    return {
        "id": ...,
    }


# UpdateCampaignCommunicationTimeRequestTypeDef definition

class UpdateCampaignCommunicationTimeRequestTypeDef(TypedDict):
    id: str,
    communicationTimeConfig: CommunicationTimeConfigUnionTypeDef,  # (1)
  1. See CommunicationTimeConfigTypeDef CommunicationTimeConfigOutputTypeDef