@aws-sdk/client-connectcampaigns 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.
package/dist-cjs/index.js CHANGED
@@ -1295,6 +1295,42 @@ smithyClient.createAggregatedClient(commands, ConnectCampaigns);
1295
1295
 
1296
1296
  const paginateListCampaigns = core.createPaginator(ConnectCampaignsClient, ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
1297
1297
 
1298
+ const CampaignState = {
1299
+ FAILED: "Failed",
1300
+ INITIALIZED: "Initialized",
1301
+ PAUSED: "Paused",
1302
+ RUNNING: "Running",
1303
+ STOPPED: "Stopped",
1304
+ };
1305
+ const GetCampaignStateBatchFailureCode = {
1306
+ RESOURCE_NOT_FOUND: "ResourceNotFound",
1307
+ UNKNOWN_ERROR: "UnknownError",
1308
+ };
1309
+ const EncryptionType = {
1310
+ KMS: "KMS",
1311
+ };
1312
+ const InstanceOnboardingJobFailureCode = {
1313
+ EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED",
1314
+ EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
1315
+ IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED",
1316
+ INTERNAL_FAILURE: "INTERNAL_FAILURE",
1317
+ KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
1318
+ KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
1319
+ };
1320
+ const InstanceOnboardingJobStatusCode = {
1321
+ FAILED: "FAILED",
1322
+ IN_PROGRESS: "IN_PROGRESS",
1323
+ SUCCEEDED: "SUCCEEDED",
1324
+ };
1325
+ const InstanceIdFilterOperator = {
1326
+ EQ: "Eq",
1327
+ };
1328
+ const FailureCode = {
1329
+ INVALID_INPUT: "InvalidInput",
1330
+ REQUEST_THROTTLED: "RequestThrottled",
1331
+ UNKNOWN_ERROR: "UnknownError",
1332
+ };
1333
+
1298
1334
  Object.defineProperty(exports, "$Command", {
1299
1335
  enumerable: true,
1300
1336
  get: function () { return smithyClient.Command; }
@@ -1304,6 +1340,7 @@ Object.defineProperty(exports, "__Client", {
1304
1340
  get: function () { return smithyClient.Client; }
1305
1341
  });
1306
1342
  exports.AccessDeniedException = AccessDeniedException$1;
1343
+ exports.CampaignState = CampaignState;
1307
1344
  exports.ConflictException = ConflictException$1;
1308
1345
  exports.ConnectCampaigns = ConnectCampaigns;
1309
1346
  exports.ConnectCampaignsClient = ConnectCampaignsClient;
@@ -1313,10 +1350,16 @@ exports.DeleteCampaignCommand = DeleteCampaignCommand;
1313
1350
  exports.DeleteConnectInstanceConfigCommand = DeleteConnectInstanceConfigCommand;
1314
1351
  exports.DeleteInstanceOnboardingJobCommand = DeleteInstanceOnboardingJobCommand;
1315
1352
  exports.DescribeCampaignCommand = DescribeCampaignCommand;
1353
+ exports.EncryptionType = EncryptionType;
1354
+ exports.FailureCode = FailureCode;
1316
1355
  exports.GetCampaignStateBatchCommand = GetCampaignStateBatchCommand;
1356
+ exports.GetCampaignStateBatchFailureCode = GetCampaignStateBatchFailureCode;
1317
1357
  exports.GetCampaignStateCommand = GetCampaignStateCommand;
1318
1358
  exports.GetConnectInstanceConfigCommand = GetConnectInstanceConfigCommand;
1319
1359
  exports.GetInstanceOnboardingJobStatusCommand = GetInstanceOnboardingJobStatusCommand;
1360
+ exports.InstanceIdFilterOperator = InstanceIdFilterOperator;
1361
+ exports.InstanceOnboardingJobFailureCode = InstanceOnboardingJobFailureCode;
1362
+ exports.InstanceOnboardingJobStatusCode = InstanceOnboardingJobStatusCode;
1320
1363
  exports.InternalServerException = InternalServerException$1;
1321
1364
  exports.InvalidCampaignStateException = InvalidCampaignStateException$1;
1322
1365
  exports.InvalidStateException = InvalidStateException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ConnectCampaignsClient";
2
2
  export * from "./ConnectCampaigns";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { ConnectCampaignsServiceException } from "./models/ConnectCampaignsServiceException";
@@ -0,0 +1,35 @@
1
+ export const CampaignState = {
2
+ FAILED: "Failed",
3
+ INITIALIZED: "Initialized",
4
+ PAUSED: "Paused",
5
+ RUNNING: "Running",
6
+ STOPPED: "Stopped",
7
+ };
8
+ export const GetCampaignStateBatchFailureCode = {
9
+ RESOURCE_NOT_FOUND: "ResourceNotFound",
10
+ UNKNOWN_ERROR: "UnknownError",
11
+ };
12
+ export const EncryptionType = {
13
+ KMS: "KMS",
14
+ };
15
+ export const InstanceOnboardingJobFailureCode = {
16
+ EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED",
17
+ EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
18
+ IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED",
19
+ INTERNAL_FAILURE: "INTERNAL_FAILURE",
20
+ KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
21
+ KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
22
+ };
23
+ export const InstanceOnboardingJobStatusCode = {
24
+ FAILED: "FAILED",
25
+ IN_PROGRESS: "IN_PROGRESS",
26
+ SUCCEEDED: "SUCCEEDED",
27
+ };
28
+ export const InstanceIdFilterOperator = {
29
+ EQ: "Eq",
30
+ };
31
+ export const FailureCode = {
32
+ INVALID_INPUT: "InvalidInput",
33
+ REQUEST_THROTTLED: "RequestThrottled",
34
+ UNKNOWN_ERROR: "UnknownError",
35
+ };
@@ -1,35 +1 @@
1
- export const CampaignState = {
2
- FAILED: "Failed",
3
- INITIALIZED: "Initialized",
4
- PAUSED: "Paused",
5
- RUNNING: "Running",
6
- STOPPED: "Stopped",
7
- };
8
- export const GetCampaignStateBatchFailureCode = {
9
- RESOURCE_NOT_FOUND: "ResourceNotFound",
10
- UNKNOWN_ERROR: "UnknownError",
11
- };
12
- export const EncryptionType = {
13
- KMS: "KMS",
14
- };
15
- export const InstanceOnboardingJobFailureCode = {
16
- EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED",
17
- EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
18
- IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED",
19
- INTERNAL_FAILURE: "INTERNAL_FAILURE",
20
- KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
21
- KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
22
- };
23
- export const InstanceOnboardingJobStatusCode = {
24
- FAILED: "FAILED",
25
- IN_PROGRESS: "IN_PROGRESS",
26
- SUCCEEDED: "SUCCEEDED",
27
- };
28
- export const InstanceIdFilterOperator = {
29
- EQ: "Eq",
30
- };
31
- export const FailureCode = {
32
- INVALID_INPUT: "InvalidInput",
33
- REQUEST_THROTTLED: "RequestThrottled",
34
- UNKNOWN_ERROR: "UnknownError",
35
- };
1
+ export {};
@@ -10,6 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ConnectCampaignsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
+ export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
15
16
  export { ConnectCampaignsServiceException } from "./models/ConnectCampaignsServiceException";
@@ -0,0 +1,124 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const CampaignState: {
6
+ /**
7
+ * Campaign is in failed state
8
+ */
9
+ readonly FAILED: "Failed";
10
+ /**
11
+ * Campaign is in initialized state
12
+ */
13
+ readonly INITIALIZED: "Initialized";
14
+ /**
15
+ * Campaign is in paused state
16
+ */
17
+ readonly PAUSED: "Paused";
18
+ /**
19
+ * Campaign is in running state
20
+ */
21
+ readonly RUNNING: "Running";
22
+ /**
23
+ * Campaign is in stopped state
24
+ */
25
+ readonly STOPPED: "Stopped";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
31
+ /**
32
+ * @public
33
+ * @enum
34
+ */
35
+ export declare const GetCampaignStateBatchFailureCode: {
36
+ /**
37
+ * The specified resource was not found
38
+ */
39
+ readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
40
+ /**
41
+ * Unexpected error during processing of request
42
+ */
43
+ readonly UNKNOWN_ERROR: "UnknownError";
44
+ };
45
+ /**
46
+ * @public
47
+ */
48
+ export type GetCampaignStateBatchFailureCode = (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
49
+ /**
50
+ * @public
51
+ * @enum
52
+ */
53
+ export declare const EncryptionType: {
54
+ readonly KMS: "KMS";
55
+ };
56
+ /**
57
+ * @public
58
+ */
59
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
60
+ /**
61
+ * @public
62
+ * @enum
63
+ */
64
+ export declare const InstanceOnboardingJobFailureCode: {
65
+ readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
66
+ readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
67
+ readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
68
+ readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
69
+ readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
70
+ readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
71
+ };
72
+ /**
73
+ * @public
74
+ */
75
+ export type InstanceOnboardingJobFailureCode = (typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
76
+ /**
77
+ * @public
78
+ * @enum
79
+ */
80
+ export declare const InstanceOnboardingJobStatusCode: {
81
+ readonly FAILED: "FAILED";
82
+ readonly IN_PROGRESS: "IN_PROGRESS";
83
+ readonly SUCCEEDED: "SUCCEEDED";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type InstanceOnboardingJobStatusCode = (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
89
+ /**
90
+ * @public
91
+ * @enum
92
+ */
93
+ export declare const InstanceIdFilterOperator: {
94
+ /**
95
+ * Equals operator
96
+ */
97
+ readonly EQ: "Eq";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type InstanceIdFilterOperator = (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
103
+ /**
104
+ * @public
105
+ * @enum
106
+ */
107
+ export declare const FailureCode: {
108
+ /**
109
+ * The request failed to satisfy the constraints specified by the service
110
+ */
111
+ readonly INVALID_INPUT: "InvalidInput";
112
+ /**
113
+ * Request throttled due to large number of pending dial requests
114
+ */
115
+ readonly REQUEST_THROTTLED: "RequestThrottled";
116
+ /**
117
+ * Unexpected error during processing of request
118
+ */
119
+ readonly UNKNOWN_ERROR: "UnknownError";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
@@ -1,6 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
3
- import { CampaignState } from "./models_0";
3
+ import { CampaignState } from "./enums";
4
4
  /**
5
5
  * You do not have sufficient access to perform this action.
6
6
  * @public
@@ -1,3 +1,4 @@
1
+ import { CampaignState, EncryptionType, FailureCode, GetCampaignStateBatchFailureCode, InstanceIdFilterOperator, InstanceOnboardingJobFailureCode, InstanceOnboardingJobStatusCode } from "./enums";
1
2
  /**
2
3
  * Agentless Dialer config
3
4
  * @public
@@ -301,36 +302,6 @@ export interface GetCampaignStateRequest {
301
302
  */
302
303
  id: string | undefined;
303
304
  }
304
- /**
305
- * @public
306
- * @enum
307
- */
308
- export declare const CampaignState: {
309
- /**
310
- * Campaign is in failed state
311
- */
312
- readonly FAILED: "Failed";
313
- /**
314
- * Campaign is in initialized state
315
- */
316
- readonly INITIALIZED: "Initialized";
317
- /**
318
- * Campaign is in paused state
319
- */
320
- readonly PAUSED: "Paused";
321
- /**
322
- * Campaign is in running state
323
- */
324
- readonly RUNNING: "Running";
325
- /**
326
- * Campaign is in stopped state
327
- */
328
- readonly STOPPED: "Stopped";
329
- };
330
- /**
331
- * @public
332
- */
333
- export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
334
305
  /**
335
306
  * GetCampaignStateResponse
336
307
  * @public
@@ -353,24 +324,6 @@ export interface GetCampaignStateBatchRequest {
353
324
  */
354
325
  campaignIds: string[] | undefined;
355
326
  }
356
- /**
357
- * @public
358
- * @enum
359
- */
360
- export declare const GetCampaignStateBatchFailureCode: {
361
- /**
362
- * The specified resource was not found
363
- */
364
- readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
365
- /**
366
- * Unexpected error during processing of request
367
- */
368
- readonly UNKNOWN_ERROR: "UnknownError";
369
- };
370
- /**
371
- * @public
372
- */
373
- export type GetCampaignStateBatchFailureCode = (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
374
327
  /**
375
328
  * Failed response of campaign state
376
329
  * @public
@@ -430,17 +383,6 @@ export interface GetConnectInstanceConfigRequest {
430
383
  */
431
384
  connectInstanceId: string | undefined;
432
385
  }
433
- /**
434
- * @public
435
- * @enum
436
- */
437
- export declare const EncryptionType: {
438
- readonly KMS: "KMS";
439
- };
440
- /**
441
- * @public
442
- */
443
- export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
444
386
  /**
445
387
  * Encryption config for Connect Instance. Note that sensitive data will always be encrypted.
446
388
  * If disabled, service will perform encryption with its own key.
@@ -511,35 +453,6 @@ export interface GetInstanceOnboardingJobStatusRequest {
511
453
  */
512
454
  connectInstanceId: string | undefined;
513
455
  }
514
- /**
515
- * @public
516
- * @enum
517
- */
518
- export declare const InstanceOnboardingJobFailureCode: {
519
- readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
520
- readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
521
- readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
522
- readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
523
- readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
524
- readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
525
- };
526
- /**
527
- * @public
528
- */
529
- export type InstanceOnboardingJobFailureCode = (typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
530
- /**
531
- * @public
532
- * @enum
533
- */
534
- export declare const InstanceOnboardingJobStatusCode: {
535
- readonly FAILED: "FAILED";
536
- readonly IN_PROGRESS: "IN_PROGRESS";
537
- readonly SUCCEEDED: "SUCCEEDED";
538
- };
539
- /**
540
- * @public
541
- */
542
- export type InstanceOnboardingJobStatusCode = (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
543
456
  /**
544
457
  * Instance onboarding job status object
545
458
  * @public
@@ -572,20 +485,6 @@ export interface GetInstanceOnboardingJobStatusResponse {
572
485
  */
573
486
  connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
574
487
  }
575
- /**
576
- * @public
577
- * @enum
578
- */
579
- export declare const InstanceIdFilterOperator: {
580
- /**
581
- * Equals operator
582
- */
583
- readonly EQ: "Eq";
584
- };
585
- /**
586
- * @public
587
- */
588
- export type InstanceIdFilterOperator = (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
589
488
  /**
590
489
  * Connect instance identifier filter
591
490
  * @public
@@ -751,28 +650,6 @@ export interface PutDialRequestBatchRequest {
751
650
  */
752
651
  dialRequests: DialRequest[] | undefined;
753
652
  }
754
- /**
755
- * @public
756
- * @enum
757
- */
758
- export declare const FailureCode: {
759
- /**
760
- * The request failed to satisfy the constraints specified by the service
761
- */
762
- readonly INVALID_INPUT: "InvalidInput";
763
- /**
764
- * Request throttled due to large number of pending dial requests
765
- */
766
- readonly REQUEST_THROTTLED: "RequestThrottled";
767
- /**
768
- * Unexpected error during processing of request
769
- */
770
- readonly UNKNOWN_ERROR: "UnknownError";
771
- };
772
- /**
773
- * @public
774
- */
775
- export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
776
653
  /**
777
654
  * A failed request identified by the unique client token.
778
655
  * @public
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ConnectCampaignsExtensionConfiguration } 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 { ConnectCampaignsServiceException } from "./models/ConnectCampaignsServiceException";
@@ -0,0 +1,47 @@
1
+ export declare const CampaignState: {
2
+ readonly FAILED: "Failed";
3
+ readonly INITIALIZED: "Initialized";
4
+ readonly PAUSED: "Paused";
5
+ readonly RUNNING: "Running";
6
+ readonly STOPPED: "Stopped";
7
+ };
8
+ export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
9
+ export declare const GetCampaignStateBatchFailureCode: {
10
+ readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
11
+ readonly UNKNOWN_ERROR: "UnknownError";
12
+ };
13
+ export type GetCampaignStateBatchFailureCode =
14
+ (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
15
+ export declare const EncryptionType: {
16
+ readonly KMS: "KMS";
17
+ };
18
+ export type EncryptionType =
19
+ (typeof EncryptionType)[keyof typeof EncryptionType];
20
+ export declare const InstanceOnboardingJobFailureCode: {
21
+ readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
22
+ readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
23
+ readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
24
+ readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
25
+ readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
26
+ readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
27
+ };
28
+ export type InstanceOnboardingJobFailureCode =
29
+ (typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
30
+ export declare const InstanceOnboardingJobStatusCode: {
31
+ readonly FAILED: "FAILED";
32
+ readonly IN_PROGRESS: "IN_PROGRESS";
33
+ readonly SUCCEEDED: "SUCCEEDED";
34
+ };
35
+ export type InstanceOnboardingJobStatusCode =
36
+ (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
37
+ export declare const InstanceIdFilterOperator: {
38
+ readonly EQ: "Eq";
39
+ };
40
+ export type InstanceIdFilterOperator =
41
+ (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
42
+ export declare const FailureCode: {
43
+ readonly INVALID_INPUT: "InvalidInput";
44
+ readonly REQUEST_THROTTLED: "RequestThrottled";
45
+ readonly UNKNOWN_ERROR: "UnknownError";
46
+ };
47
+ export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
@@ -1,6 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
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";
@@ -1,3 +1,12 @@
1
+ import {
2
+ CampaignState,
3
+ EncryptionType,
4
+ FailureCode,
5
+ GetCampaignStateBatchFailureCode,
6
+ InstanceIdFilterOperator,
7
+ InstanceOnboardingJobFailureCode,
8
+ InstanceOnboardingJobStatusCode,
9
+ } from "./enums";
1
10
  export interface AgentlessDialerConfig {
2
11
  dialingCapacity?: number | undefined;
3
12
  }
@@ -95,26 +104,12 @@ export interface DescribeCampaignResponse {
95
104
  export interface GetCampaignStateRequest {
96
105
  id: string | undefined;
97
106
  }
98
- export declare const CampaignState: {
99
- readonly FAILED: "Failed";
100
- readonly INITIALIZED: "Initialized";
101
- readonly PAUSED: "Paused";
102
- readonly RUNNING: "Running";
103
- readonly STOPPED: "Stopped";
104
- };
105
- export type CampaignState = (typeof CampaignState)[keyof typeof CampaignState];
106
107
  export interface GetCampaignStateResponse {
107
108
  state?: CampaignState | undefined;
108
109
  }
109
110
  export interface GetCampaignStateBatchRequest {
110
111
  campaignIds: string[] | undefined;
111
112
  }
112
- export declare const GetCampaignStateBatchFailureCode: {
113
- readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
114
- readonly UNKNOWN_ERROR: "UnknownError";
115
- };
116
- export type GetCampaignStateBatchFailureCode =
117
- (typeof GetCampaignStateBatchFailureCode)[keyof typeof GetCampaignStateBatchFailureCode];
118
113
  export interface FailedCampaignStateResponse {
119
114
  campaignId?: string | undefined;
120
115
  failureCode?: GetCampaignStateBatchFailureCode | undefined;
@@ -130,11 +125,6 @@ export interface GetCampaignStateBatchResponse {
130
125
  export interface GetConnectInstanceConfigRequest {
131
126
  connectInstanceId: string | undefined;
132
127
  }
133
- export declare const EncryptionType: {
134
- readonly KMS: "KMS";
135
- };
136
- export type EncryptionType =
137
- (typeof EncryptionType)[keyof typeof EncryptionType];
138
128
  export interface EncryptionConfig {
139
129
  enabled: boolean | undefined;
140
130
  encryptionType?: EncryptionType | undefined;
@@ -151,23 +141,6 @@ export interface GetConnectInstanceConfigResponse {
151
141
  export interface GetInstanceOnboardingJobStatusRequest {
152
142
  connectInstanceId: string | undefined;
153
143
  }
154
- export declare const InstanceOnboardingJobFailureCode: {
155
- readonly EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED";
156
- readonly EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED";
157
- readonly IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED";
158
- readonly INTERNAL_FAILURE: "INTERNAL_FAILURE";
159
- readonly KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED";
160
- readonly KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND";
161
- };
162
- export type InstanceOnboardingJobFailureCode =
163
- (typeof InstanceOnboardingJobFailureCode)[keyof typeof InstanceOnboardingJobFailureCode];
164
- export declare const InstanceOnboardingJobStatusCode: {
165
- readonly FAILED: "FAILED";
166
- readonly IN_PROGRESS: "IN_PROGRESS";
167
- readonly SUCCEEDED: "SUCCEEDED";
168
- };
169
- export type InstanceOnboardingJobStatusCode =
170
- (typeof InstanceOnboardingJobStatusCode)[keyof typeof InstanceOnboardingJobStatusCode];
171
144
  export interface InstanceOnboardingJobStatus {
172
145
  connectInstanceId: string | undefined;
173
146
  status: InstanceOnboardingJobStatusCode | undefined;
@@ -176,11 +149,6 @@ export interface InstanceOnboardingJobStatus {
176
149
  export interface GetInstanceOnboardingJobStatusResponse {
177
150
  connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus | undefined;
178
151
  }
179
- export declare const InstanceIdFilterOperator: {
180
- readonly EQ: "Eq";
181
- };
182
- export type InstanceIdFilterOperator =
183
- (typeof InstanceIdFilterOperator)[keyof typeof InstanceIdFilterOperator];
184
152
  export interface InstanceIdFilter {
185
153
  value: string | undefined;
186
154
  operator: InstanceIdFilterOperator | undefined;
@@ -222,12 +190,6 @@ export interface PutDialRequestBatchRequest {
222
190
  id: string | undefined;
223
191
  dialRequests: DialRequest[] | undefined;
224
192
  }
225
- export declare const FailureCode: {
226
- readonly INVALID_INPUT: "InvalidInput";
227
- readonly REQUEST_THROTTLED: "RequestThrottled";
228
- readonly UNKNOWN_ERROR: "UnknownError";
229
- };
230
- export type FailureCode = (typeof FailureCode)[keyof typeof FailureCode];
231
193
  export interface FailedRequest {
232
194
  clientToken?: string | undefined;
233
195
  id?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcampaigns",
3
3
  "description": "AWS SDK for JavaScript Connectcampaigns Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.940.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connectcampaigns",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
23
+ "@aws-sdk/core": "3.940.0",
24
+ "@aws-sdk/credential-provider-node": "3.940.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
- "@aws-sdk/middleware-user-agent": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.940.0",
29
29
  "@aws-sdk/region-config-resolver": "3.936.0",
30
30
  "@aws-sdk/types": "3.936.0",
31
31
  "@aws-sdk/util-endpoints": "3.936.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.936.0",
33
- "@aws-sdk/util-user-agent-node": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.940.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",