@aws-sdk/client-connectcampaignsv2 3.936.0 → 3.940.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,4 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const AgentAction: {
6
- readonly DISCARD: "DISCARD";
7
- };
8
- /**
9
- * @public
10
- */
11
- export type AgentAction = (typeof AgentAction)[keyof typeof AgentAction];
1
+ import { AgentAction, CampaignDeletionPolicy, CampaignState, ChannelSubtype, CommunicationLimitsConfigType, CommunicationLimitTimeUnit, CommunicationTimeConfigType, DayOfWeek, EncryptionType, EventType, FailureCode, GetCampaignStateBatchFailureCode, InstanceIdFilterOperator, InstanceLimitsHandling, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode, LocalTimeZoneDetectionType, ProfileOutboundRequestFailureCode } from "./enums";
12
2
  /**
13
3
  * Agentless config
14
4
  * @public
@@ -378,17 +368,6 @@ export interface ChannelSubtypeConfig {
378
368
  */
379
369
  email?: EmailChannelSubtypeConfig | undefined;
380
370
  }
381
- /**
382
- * @public
383
- * @enum
384
- */
385
- export declare const CommunicationLimitTimeUnit: {
386
- readonly DAY: "DAY";
387
- };
388
- /**
389
- * @public
390
- */
391
- export type CommunicationLimitTimeUnit = (typeof CommunicationLimitTimeUnit)[keyof typeof CommunicationLimitTimeUnit];
392
371
  /**
393
372
  * Communication Limit
394
373
  * @public
@@ -443,18 +422,6 @@ export declare namespace CommunicationLimits {
443
422
  _: (name: string, value: any) => T;
444
423
  }
445
424
  }
446
- /**
447
- * @public
448
- * @enum
449
- */
450
- export declare const InstanceLimitsHandling: {
451
- readonly OPT_IN: "OPT_IN";
452
- readonly OPT_OUT: "OPT_OUT";
453
- };
454
- /**
455
- * @public
456
- */
457
- export type InstanceLimitsHandling = (typeof InstanceLimitsHandling)[keyof typeof InstanceLimitsHandling];
458
425
  /**
459
426
  * Communication limits config
460
427
  * @public
@@ -471,23 +438,6 @@ export interface CommunicationLimitsConfig {
471
438
  */
472
439
  instanceLimitsHandling?: InstanceLimitsHandling | undefined;
473
440
  }
474
- /**
475
- * @public
476
- * @enum
477
- */
478
- export declare const DayOfWeek: {
479
- readonly FRIDAY: "FRIDAY";
480
- readonly MONDAY: "MONDAY";
481
- readonly SATURDAY: "SATURDAY";
482
- readonly SUNDAY: "SUNDAY";
483
- readonly THURSDAY: "THURSDAY";
484
- readonly TUESDAY: "TUESDAY";
485
- readonly WEDNESDAY: "WEDNESDAY";
486
- };
487
- /**
488
- * @public
489
- */
490
- export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
491
441
  /**
492
442
  * Time range in 24 hour format
493
443
  * @public
@@ -607,18 +557,6 @@ export interface TimeWindow {
607
557
  */
608
558
  restrictedPeriods?: RestrictedPeriods | undefined;
609
559
  }
610
- /**
611
- * @public
612
- * @enum
613
- */
614
- export declare const LocalTimeZoneDetectionType: {
615
- readonly AREA_CODE: "AREA_CODE";
616
- readonly ZIP_CODE: "ZIP_CODE";
617
- };
618
- /**
619
- * @public
620
- */
621
- export type LocalTimeZoneDetectionType = (typeof LocalTimeZoneDetectionType)[keyof typeof LocalTimeZoneDetectionType];
622
560
  /**
623
561
  * Local time zone config
624
562
  * @public
@@ -821,19 +759,6 @@ export interface DeleteCampaignRequest {
821
759
  */
822
760
  id: string | undefined;
823
761
  }
824
- /**
825
- * @public
826
- * @enum
827
- */
828
- export declare const ChannelSubtype: {
829
- readonly EMAIL: "EMAIL";
830
- readonly SMS: "SMS";
831
- readonly TELEPHONY: "TELEPHONY";
832
- };
833
- /**
834
- * @public
835
- */
836
- export type ChannelSubtype = (typeof ChannelSubtype)[keyof typeof ChannelSubtype];
837
762
  /**
838
763
  * The request for DeleteCampaignChannelSubtypeConfig API.
839
764
  * @public
@@ -850,17 +775,6 @@ export interface DeleteCampaignChannelSubtypeConfigRequest {
850
775
  */
851
776
  channelSubtype: ChannelSubtype | undefined;
852
777
  }
853
- /**
854
- * @public
855
- * @enum
856
- */
857
- export declare const CommunicationLimitsConfigType: {
858
- readonly ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES";
859
- };
860
- /**
861
- * @public
862
- */
863
- export type CommunicationLimitsConfigType = (typeof CommunicationLimitsConfigType)[keyof typeof CommunicationLimitsConfigType];
864
778
  /**
865
779
  * The request for DeleteCampaignCommunicationLimits API.
866
780
  * @public
@@ -877,53 +791,6 @@ export interface DeleteCampaignCommunicationLimitsRequest {
877
791
  */
878
792
  config: CommunicationLimitsConfigType | undefined;
879
793
  }
880
- /**
881
- * @public
882
- * @enum
883
- */
884
- export declare const CampaignState: {
885
- /**
886
- * Campaign is in completed state
887
- */
888
- readonly COMPLETED: "Completed";
889
- /**
890
- * Campaign is in failed state
891
- */
892
- readonly FAILED: "Failed";
893
- /**
894
- * Campaign is in initialized state
895
- */
896
- readonly INITIALIZED: "Initialized";
897
- /**
898
- * Campaign is in paused state
899
- */
900
- readonly PAUSED: "Paused";
901
- /**
902
- * Campaign is in running state
903
- */
904
- readonly RUNNING: "Running";
905
- /**
906
- * Campaign is in stopped state
907
- */
908
- readonly STOPPED: "Stopped";
909
- };
910
- /**
911
- * @public
912
- */
913
- export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
914
- /**
915
- * @public
916
- * @enum
917
- */
918
- export declare const CommunicationTimeConfigType: {
919
- readonly EMAIL: "EMAIL";
920
- readonly SMS: "SMS";
921
- readonly TELEPHONY: "TELEPHONY";
922
- };
923
- /**
924
- * @public
925
- */
926
- export type CommunicationTimeConfigType = (typeof CommunicationTimeConfigType)[keyof typeof CommunicationTimeConfigType];
927
794
  /**
928
795
  * The request for DeleteCampaignCommunicationTime API.
929
796
  * @public
@@ -940,18 +807,6 @@ export interface DeleteCampaignCommunicationTimeRequest {
940
807
  */
941
808
  config: CommunicationTimeConfigType | undefined;
942
809
  }
943
- /**
944
- * @public
945
- * @enum
946
- */
947
- export declare const CampaignDeletionPolicy: {
948
- readonly DELETE_ALL: "DELETE_ALL";
949
- readonly RETAIN_ALL: "RETAIN_ALL";
950
- };
951
- /**
952
- * @public
953
- */
954
- export type CampaignDeletionPolicy = (typeof CampaignDeletionPolicy)[keyof typeof CampaignDeletionPolicy];
955
810
  /**
956
811
  * The request for DeleteConnectInstanceConfig API.
957
812
  * @public
@@ -1178,24 +1033,6 @@ export interface GetCampaignStateBatchRequest {
1178
1033
  */
1179
1034
  campaignIds: string[] | undefined;
1180
1035
  }
1181
- /**
1182
- * @public
1183
- * @enum
1184
- */
1185
- export declare const GetCampaignStateBatchFailureCode: {
1186
- /**
1187
- * The specified resource was not found
1188
- */
1189
- readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
1190
- /**
1191
- * Unexpected error during processing of request
1192
- */
1193
- readonly UNKNOWN_ERROR: "UnknownError";
1194
- };
1195
- /**
1196
- * @public
1197
- */
1198
- export type GetCampaignStateBatchFailureCode = (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
1199
1036
  /**
1200
1037
  * Failed response of campaign state
1201
1038
  * @public
@@ -1255,17 +1092,6 @@ export interface GetConnectInstanceConfigRequest {
1255
1092
  */
1256
1093
  connectInstanceId: string | undefined;
1257
1094
  }
1258
- /**
1259
- * @public
1260
- * @enum
1261
- */
1262
- export declare const EncryptionType: {
1263
- readonly KMS: "KMS";
1264
- };
1265
- /**
1266
- * @public
1267
- */
1268
- export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
1269
1095
  /**
1270
1096
  * Encryption config for Connect Instance. Note that sensitive data will always be encrypted.
1271
1097
  * If disabled, service will perform encryption with its own key.
@@ -1369,35 +1195,6 @@ export interface GetInstanceOnboardingJobStatusRequest {
1369
1195
  */
1370
1196
  connectInstanceId: string | undefined;
1371
1197
  }
1372
- /**
1373
- * @public
1374
- * @enum
1375
- */
1376
- export declare const InstanceOnboardingJobFailureCode: {
1377
- readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
1378
- readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
1379
- readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
1380
- readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
1381
- readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
1382
- readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
1383
- };
1384
- /**
1385
- * @public
1386
- */
1387
- export type InstanceOnboardingJobFailureCode = (typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
1388
- /**
1389
- * @public
1390
- * @enum
1391
- */
1392
- export declare const InstanceOnboardingJobStatusCode: {
1393
- readonly FAILED: "FAILED";
1394
- readonly IN_PROGRESS: "IN_PROGRESS";
1395
- readonly SUCCEEDED: "SUCCEEDED";
1396
- };
1397
- /**
1398
- * @public
1399
- */
1400
- export type InstanceOnboardingJobStatusCode = (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
1401
1198
  /**
1402
1199
  * Instance onboarding job status object
1403
1200
  * @public
@@ -1430,20 +1227,6 @@ export interface GetInstanceOnboardingJobStatusResponse {
1430
1227
  */
1431
1228
  connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
1432
1229
  }
1433
- /**
1434
- * @public
1435
- * @enum
1436
- */
1437
- export declare const InstanceIdFilterOperator: {
1438
- /**
1439
- * Equals operator
1440
- */
1441
- readonly EQ: "Eq";
1442
- };
1443
- /**
1444
- * @public
1445
- */
1446
- export type InstanceIdFilterOperator = (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
1447
1230
  /**
1448
1231
  * Connect instance identifier filter
1449
1232
  * @public
@@ -1570,20 +1353,6 @@ export interface ListConnectInstanceIntegrationsRequest {
1570
1353
  */
1571
1354
  nextToken?: string | undefined;
1572
1355
  }
1573
- /**
1574
- * @public
1575
- * @enum
1576
- */
1577
- export declare const EventType: {
1578
- readonly CAMPAIGN_EMAIL: "Campaign-Email";
1579
- readonly CAMPAIGN_ORCHESTRATION: "Campaign-Orchestration";
1580
- readonly CAMPAIGN_SMS: "Campaign-SMS";
1581
- readonly CAMPAIGN_TELEPHONY: "Campaign-Telephony";
1582
- };
1583
- /**
1584
- * @public
1585
- */
1586
- export type EventType = (typeof EventType)[keyof typeof EventType];
1587
1356
  /**
1588
1357
  * Customer Profiles integration summary
1589
1358
  * @public
@@ -1988,32 +1757,6 @@ export interface PutOutboundRequestBatchRequest {
1988
1757
  */
1989
1758
  outboundRequests: OutboundRequest[] | undefined;
1990
1759
  }
1991
- /**
1992
- * @public
1993
- * @enum
1994
- */
1995
- export declare const FailureCode: {
1996
- /**
1997
- * Request throttled due to large number of pending dial requests
1998
- */
1999
- readonly BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded";
2000
- /**
2001
- * The request failed to satisfy the constraints specified by the service
2002
- */
2003
- readonly INVALID_INPUT: "InvalidInput";
2004
- /**
2005
- * The request was throttled due to excessive usage
2006
- */
2007
- readonly REQUEST_THROTTLED: "RequestThrottled";
2008
- /**
2009
- * Unexpected error during processing of request
2010
- */
2011
- readonly UNKNOWN_ERROR: "UnknownError";
2012
- };
2013
- /**
2014
- * @public
2015
- */
2016
- export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
2017
1760
  /**
2018
1761
  * A failed request identified by the unique client token.
2019
1762
  * @public
@@ -2104,36 +1847,6 @@ export interface PutProfileOutboundRequestBatchRequest {
2104
1847
  */
2105
1848
  profileOutboundRequests: ProfileOutboundRequest[] | undefined;
2106
1849
  }
2107
- /**
2108
- * @public
2109
- * @enum
2110
- */
2111
- export declare const ProfileOutboundRequestFailureCode: {
2112
- /**
2113
- * The specified resource conflicts with another resource
2114
- */
2115
- readonly CONFLICT: "Conflict";
2116
- /**
2117
- * The request failed to satisfy the constraints specified by the service
2118
- */
2119
- readonly INVALID_INPUT: "InvalidInput";
2120
- /**
2121
- * Request throttled due to large number of requests
2122
- */
2123
- readonly REQUEST_THROTTLED: "RequestThrottled";
2124
- /**
2125
- * The specified resource was not found
2126
- */
2127
- readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
2128
- /**
2129
- * Unexpected error during processing of request
2130
- */
2131
- readonly UNKNOWN_ERROR: "UnknownError";
2132
- };
2133
- /**
2134
- * @public
2135
- */
2136
- export type ProfileOutboundRequestFailureCode = (typeof ProfileOutboundRequestFailureCode)[keyof typeof ProfileOutboundRequestFailureCode];
2137
1850
  /**
2138
1851
  * Failure details for a profile outbound request
2139
1852
  * @public
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ConnectCampaignsV2ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { ConnectCampaignsV2ServiceException } from "./models/ConnectCampaignsV2ServiceException";
@@ -0,0 +1,121 @@
1
+ export declare const AgentAction: {
2
+ readonly DISCARD: "DISCARD";
3
+ };
4
+ export type AgentAction = (typeof AgentAction)[keyof typeof AgentAction];
5
+ export declare const CommunicationLimitTimeUnit: {
6
+ readonly DAY: "DAY";
7
+ };
8
+ export type CommunicationLimitTimeUnit =
9
+ (typeof CommunicationLimitTimeUnit)[keyof typeof CommunicationLimitTimeUnit];
10
+ export declare const InstanceLimitsHandling: {
11
+ readonly OPT_IN: "OPT_IN";
12
+ readonly OPT_OUT: "OPT_OUT";
13
+ };
14
+ export type InstanceLimitsHandling =
15
+ (typeof InstanceLimitsHandling)[keyof typeof InstanceLimitsHandling];
16
+ export declare const DayOfWeek: {
17
+ readonly FRIDAY: "FRIDAY";
18
+ readonly MONDAY: "MONDAY";
19
+ readonly SATURDAY: "SATURDAY";
20
+ readonly SUNDAY: "SUNDAY";
21
+ readonly THURSDAY: "THURSDAY";
22
+ readonly TUESDAY: "TUESDAY";
23
+ readonly WEDNESDAY: "WEDNESDAY";
24
+ };
25
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
26
+ export declare const LocalTimeZoneDetectionType: {
27
+ readonly AREA_CODE: "AREA_CODE";
28
+ readonly ZIP_CODE: "ZIP_CODE";
29
+ };
30
+ export type LocalTimeZoneDetectionType =
31
+ (typeof LocalTimeZoneDetectionType)[keyof typeof LocalTimeZoneDetectionType];
32
+ export declare const ChannelSubtype: {
33
+ readonly EMAIL: "EMAIL";
34
+ readonly SMS: "SMS";
35
+ readonly TELEPHONY: "TELEPHONY";
36
+ };
37
+ export type ChannelSubtype =
38
+ (typeof ChannelSubtype)[keyof typeof ChannelSubtype];
39
+ export declare const CommunicationLimitsConfigType: {
40
+ readonly ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES";
41
+ };
42
+ export type CommunicationLimitsConfigType =
43
+ (typeof CommunicationLimitsConfigType)[keyof typeof CommunicationLimitsConfigType];
44
+ export declare const CampaignState: {
45
+ readonly COMPLETED: "Completed";
46
+ readonly FAILED: "Failed";
47
+ readonly INITIALIZED: "Initialized";
48
+ readonly PAUSED: "Paused";
49
+ readonly RUNNING: "Running";
50
+ readonly STOPPED: "Stopped";
51
+ };
52
+ export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
53
+ export declare const CommunicationTimeConfigType: {
54
+ readonly EMAIL: "EMAIL";
55
+ readonly SMS: "SMS";
56
+ readonly TELEPHONY: "TELEPHONY";
57
+ };
58
+ export type CommunicationTimeConfigType =
59
+ (typeof CommunicationTimeConfigType)[keyof typeof CommunicationTimeConfigType];
60
+ export declare const CampaignDeletionPolicy: {
61
+ readonly DELETE_ALL: "DELETE_ALL";
62
+ readonly RETAIN_ALL: "RETAIN_ALL";
63
+ };
64
+ export type CampaignDeletionPolicy =
65
+ (typeof CampaignDeletionPolicy)[keyof typeof CampaignDeletionPolicy];
66
+ export declare const GetCampaignStateBatchFailureCode: {
67
+ readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
68
+ readonly UNKNOWN_ERROR: "UnknownError";
69
+ };
70
+ export type GetCampaignStateBatchFailureCode =
71
+ (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
72
+ export declare const EncryptionType: {
73
+ readonly KMS: "KMS";
74
+ };
75
+ export type EncryptionType =
76
+ (typeof EncryptionType)[keyof typeof EncryptionType];
77
+ export declare const InstanceOnboardingJobFailureCode: {
78
+ readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
79
+ readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
80
+ readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
81
+ readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
82
+ readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
83
+ readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
84
+ };
85
+ export type InstanceOnboardingJobFailureCode =
86
+ (typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
87
+ export declare const InstanceOnboardingJobStatusCode: {
88
+ readonly FAILED: "FAILED";
89
+ readonly IN_PROGRESS: "IN_PROGRESS";
90
+ readonly SUCCEEDED: "SUCCEEDED";
91
+ };
92
+ export type InstanceOnboardingJobStatusCode =
93
+ (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
94
+ export declare const InstanceIdFilterOperator: {
95
+ readonly EQ: "Eq";
96
+ };
97
+ export type InstanceIdFilterOperator =
98
+ (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
99
+ export declare const EventType: {
100
+ readonly CAMPAIGN_EMAIL: "Campaign-Email";
101
+ readonly CAMPAIGN_ORCHESTRATION: "Campaign-Orchestration";
102
+ readonly CAMPAIGN_SMS: "Campaign-SMS";
103
+ readonly CAMPAIGN_TELEPHONY: "Campaign-Telephony";
104
+ };
105
+ export type EventType = (typeof EventType)[keyof typeof EventType];
106
+ export declare const FailureCode: {
107
+ readonly BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded";
108
+ readonly INVALID_INPUT: "InvalidInput";
109
+ readonly REQUEST_THROTTLED: "RequestThrottled";
110
+ readonly UNKNOWN_ERROR: "UnknownError";
111
+ };
112
+ export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
113
+ export declare const ProfileOutboundRequestFailureCode: {
114
+ readonly CONFLICT: "Conflict";
115
+ readonly INVALID_INPUT: "InvalidInput";
116
+ readonly REQUEST_THROTTLED: "RequestThrottled";
117
+ readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
118
+ readonly UNKNOWN_ERROR: "UnknownError";
119
+ };
120
+ export type ProfileOutboundRequestFailureCode =
121
+ (typeof ProfileOutboundRequestFailureCode)[keyof typeof ProfileOutboundRequestFailureCode];
@@ -1,6 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectCampaignsV2ServiceException as __BaseException } from "./ConnectCampaignsV2ServiceException";
3
- import { CampaignState } from "./models_0";
3
+ import { CampaignState } from "./enums";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
5
  readonly name: "AccessDeniedException";
6
6
  readonly $fault: "client";