@aws-sdk/client-connectcampaigns 3.721.0 → 3.726.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
@@ -166,7 +166,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
166
166
  }, "resolveRuntimeExtensions");
167
167
 
168
168
  // src/ConnectCampaignsClient.ts
169
- var _ConnectCampaignsClient = class _ConnectCampaignsClient extends import_smithy_client.Client {
169
+ var ConnectCampaignsClient = class extends import_smithy_client.Client {
170
+ static {
171
+ __name(this, "ConnectCampaignsClient");
172
+ }
173
+ /**
174
+ * The resolved configuration of ConnectCampaignsClient class. This is resolved and normalized from the {@link ConnectCampaignsClientConfig | constructor configuration interface}.
175
+ */
176
+ config;
170
177
  constructor(...[configuration]) {
171
178
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
172
179
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -176,7 +183,7 @@ var _ConnectCampaignsClient = class _ConnectCampaignsClient extends import_smith
176
183
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
177
184
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
178
185
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
179
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
186
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
180
187
  super(_config_8);
181
188
  this.config = _config_8;
182
189
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -204,8 +211,6 @@ var _ConnectCampaignsClient = class _ConnectCampaignsClient extends import_smith
204
211
  super.destroy();
205
212
  }
206
213
  };
207
- __name(_ConnectCampaignsClient, "ConnectCampaignsClient");
208
- var ConnectCampaignsClient = _ConnectCampaignsClient;
209
214
 
210
215
  // src/ConnectCampaigns.ts
211
216
 
@@ -222,7 +227,10 @@ var import_core2 = require("@aws-sdk/core");
222
227
 
223
228
  // src/models/ConnectCampaignsServiceException.ts
224
229
 
225
- var _ConnectCampaignsServiceException = class _ConnectCampaignsServiceException extends import_smithy_client.ServiceException {
230
+ var ConnectCampaignsServiceException = class _ConnectCampaignsServiceException extends import_smithy_client.ServiceException {
231
+ static {
232
+ __name(this, "ConnectCampaignsServiceException");
233
+ }
226
234
  /**
227
235
  * @internal
228
236
  */
@@ -231,12 +239,20 @@ var _ConnectCampaignsServiceException = class _ConnectCampaignsServiceException
231
239
  Object.setPrototypeOf(this, _ConnectCampaignsServiceException.prototype);
232
240
  }
233
241
  };
234
- __name(_ConnectCampaignsServiceException, "ConnectCampaignsServiceException");
235
- var ConnectCampaignsServiceException = _ConnectCampaignsServiceException;
236
242
 
237
243
  // src/models/models_0.ts
238
244
 
239
- var _AccessDeniedException = class _AccessDeniedException extends ConnectCampaignsServiceException {
245
+ var AccessDeniedException = class _AccessDeniedException extends ConnectCampaignsServiceException {
246
+ static {
247
+ __name(this, "AccessDeniedException");
248
+ }
249
+ name = "AccessDeniedException";
250
+ $fault = "client";
251
+ /**
252
+ * A header that defines the error encountered while processing the request.
253
+ * @public
254
+ */
255
+ xAmzErrorType;
240
256
  /**
241
257
  * @internal
242
258
  */
@@ -246,15 +262,21 @@ var _AccessDeniedException = class _AccessDeniedException extends ConnectCampaig
246
262
  $fault: "client",
247
263
  ...opts
248
264
  });
249
- this.name = "AccessDeniedException";
250
- this.$fault = "client";
251
265
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
252
266
  this.xAmzErrorType = opts.xAmzErrorType;
253
267
  }
254
268
  };
255
- __name(_AccessDeniedException, "AccessDeniedException");
256
- var AccessDeniedException = _AccessDeniedException;
257
- var _ConflictException = class _ConflictException extends ConnectCampaignsServiceException {
269
+ var ConflictException = class _ConflictException extends ConnectCampaignsServiceException {
270
+ static {
271
+ __name(this, "ConflictException");
272
+ }
273
+ name = "ConflictException";
274
+ $fault = "client";
275
+ /**
276
+ * A header that defines the error encountered while processing the request.
277
+ * @public
278
+ */
279
+ xAmzErrorType;
258
280
  /**
259
281
  * @internal
260
282
  */
@@ -264,14 +286,10 @@ var _ConflictException = class _ConflictException extends ConnectCampaignsServic
264
286
  $fault: "client",
265
287
  ...opts
266
288
  });
267
- this.name = "ConflictException";
268
- this.$fault = "client";
269
289
  Object.setPrototypeOf(this, _ConflictException.prototype);
270
290
  this.xAmzErrorType = opts.xAmzErrorType;
271
291
  }
272
292
  };
273
- __name(_ConflictException, "ConflictException");
274
- var ConflictException = _ConflictException;
275
293
  var DialerConfig;
276
294
  ((DialerConfig2) => {
277
295
  DialerConfig2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -284,7 +302,18 @@ var DialerConfig;
284
302
  return visitor._(value.$unknown[0], value.$unknown[1]);
285
303
  }, "visit");
286
304
  })(DialerConfig || (DialerConfig = {}));
287
- var _InternalServerException = class _InternalServerException extends ConnectCampaignsServiceException {
305
+ var InternalServerException = class _InternalServerException extends ConnectCampaignsServiceException {
306
+ static {
307
+ __name(this, "InternalServerException");
308
+ }
309
+ name = "InternalServerException";
310
+ $fault = "server";
311
+ $retryable = {};
312
+ /**
313
+ * A header that defines the error encountered while processing the request.
314
+ * @public
315
+ */
316
+ xAmzErrorType;
288
317
  /**
289
318
  * @internal
290
319
  */
@@ -294,16 +323,21 @@ var _InternalServerException = class _InternalServerException extends ConnectCam
294
323
  $fault: "server",
295
324
  ...opts
296
325
  });
297
- this.name = "InternalServerException";
298
- this.$fault = "server";
299
- this.$retryable = {};
300
326
  Object.setPrototypeOf(this, _InternalServerException.prototype);
301
327
  this.xAmzErrorType = opts.xAmzErrorType;
302
328
  }
303
329
  };
304
- __name(_InternalServerException, "InternalServerException");
305
- var InternalServerException = _InternalServerException;
306
- var _ResourceNotFoundException = class _ResourceNotFoundException extends ConnectCampaignsServiceException {
330
+ var ResourceNotFoundException = class _ResourceNotFoundException extends ConnectCampaignsServiceException {
331
+ static {
332
+ __name(this, "ResourceNotFoundException");
333
+ }
334
+ name = "ResourceNotFoundException";
335
+ $fault = "client";
336
+ /**
337
+ * A header that defines the error encountered while processing the request.
338
+ * @public
339
+ */
340
+ xAmzErrorType;
307
341
  /**
308
342
  * @internal
309
343
  */
@@ -313,15 +347,21 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Connec
313
347
  $fault: "client",
314
348
  ...opts
315
349
  });
316
- this.name = "ResourceNotFoundException";
317
- this.$fault = "client";
318
350
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
319
351
  this.xAmzErrorType = opts.xAmzErrorType;
320
352
  }
321
353
  };
322
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
323
- var ResourceNotFoundException = _ResourceNotFoundException;
324
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectCampaignsServiceException {
354
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectCampaignsServiceException {
355
+ static {
356
+ __name(this, "ServiceQuotaExceededException");
357
+ }
358
+ name = "ServiceQuotaExceededException";
359
+ $fault = "client";
360
+ /**
361
+ * A header that defines the error encountered while processing the request.
362
+ * @public
363
+ */
364
+ xAmzErrorType;
325
365
  /**
326
366
  * @internal
327
367
  */
@@ -331,15 +371,22 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
331
371
  $fault: "client",
332
372
  ...opts
333
373
  });
334
- this.name = "ServiceQuotaExceededException";
335
- this.$fault = "client";
336
374
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
337
375
  this.xAmzErrorType = opts.xAmzErrorType;
338
376
  }
339
377
  };
340
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
341
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
342
- var _ThrottlingException = class _ThrottlingException extends ConnectCampaignsServiceException {
378
+ var ThrottlingException = class _ThrottlingException extends ConnectCampaignsServiceException {
379
+ static {
380
+ __name(this, "ThrottlingException");
381
+ }
382
+ name = "ThrottlingException";
383
+ $fault = "client";
384
+ $retryable = {};
385
+ /**
386
+ * A header that defines the error encountered while processing the request.
387
+ * @public
388
+ */
389
+ xAmzErrorType;
343
390
  /**
344
391
  * @internal
345
392
  */
@@ -349,16 +396,21 @@ var _ThrottlingException = class _ThrottlingException extends ConnectCampaignsSe
349
396
  $fault: "client",
350
397
  ...opts
351
398
  });
352
- this.name = "ThrottlingException";
353
- this.$fault = "client";
354
- this.$retryable = {};
355
399
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
356
400
  this.xAmzErrorType = opts.xAmzErrorType;
357
401
  }
358
402
  };
359
- __name(_ThrottlingException, "ThrottlingException");
360
- var ThrottlingException = _ThrottlingException;
361
- var _ValidationException = class _ValidationException extends ConnectCampaignsServiceException {
403
+ var ValidationException = class _ValidationException extends ConnectCampaignsServiceException {
404
+ static {
405
+ __name(this, "ValidationException");
406
+ }
407
+ name = "ValidationException";
408
+ $fault = "client";
409
+ /**
410
+ * A header that defines the error encountered while processing the request.
411
+ * @public
412
+ */
413
+ xAmzErrorType;
362
414
  /**
363
415
  * @internal
364
416
  */
@@ -368,15 +420,21 @@ var _ValidationException = class _ValidationException extends ConnectCampaignsSe
368
420
  $fault: "client",
369
421
  ...opts
370
422
  });
371
- this.name = "ValidationException";
372
- this.$fault = "client";
373
423
  Object.setPrototypeOf(this, _ValidationException.prototype);
374
424
  this.xAmzErrorType = opts.xAmzErrorType;
375
425
  }
376
426
  };
377
- __name(_ValidationException, "ValidationException");
378
- var ValidationException = _ValidationException;
379
- var _InvalidStateException = class _InvalidStateException extends ConnectCampaignsServiceException {
427
+ var InvalidStateException = class _InvalidStateException extends ConnectCampaignsServiceException {
428
+ static {
429
+ __name(this, "InvalidStateException");
430
+ }
431
+ name = "InvalidStateException";
432
+ $fault = "client";
433
+ /**
434
+ * A header that defines the error encountered while processing the request.
435
+ * @public
436
+ */
437
+ xAmzErrorType;
380
438
  /**
381
439
  * @internal
382
440
  */
@@ -386,14 +444,10 @@ var _InvalidStateException = class _InvalidStateException extends ConnectCampaig
386
444
  $fault: "client",
387
445
  ...opts
388
446
  });
389
- this.name = "InvalidStateException";
390
- this.$fault = "client";
391
447
  Object.setPrototypeOf(this, _InvalidStateException.prototype);
392
448
  this.xAmzErrorType = opts.xAmzErrorType;
393
449
  }
394
450
  };
395
- __name(_InvalidStateException, "InvalidStateException");
396
- var InvalidStateException = _InvalidStateException;
397
451
  var CampaignState = {
398
452
  /**
399
453
  * Campaign is in failed state
@@ -448,7 +502,22 @@ var InstanceIdFilterOperator = {
448
502
  */
449
503
  EQ: "Eq"
450
504
  };
451
- var _InvalidCampaignStateException = class _InvalidCampaignStateException extends ConnectCampaignsServiceException {
505
+ var InvalidCampaignStateException = class _InvalidCampaignStateException extends ConnectCampaignsServiceException {
506
+ static {
507
+ __name(this, "InvalidCampaignStateException");
508
+ }
509
+ name = "InvalidCampaignStateException";
510
+ $fault = "client";
511
+ /**
512
+ * State of a campaign
513
+ * @public
514
+ */
515
+ state;
516
+ /**
517
+ * A header that defines the error encountered while processing the request.
518
+ * @public
519
+ */
520
+ xAmzErrorType;
452
521
  /**
453
522
  * @internal
454
523
  */
@@ -458,15 +527,11 @@ var _InvalidCampaignStateException = class _InvalidCampaignStateException extend
458
527
  $fault: "client",
459
528
  ...opts
460
529
  });
461
- this.name = "InvalidCampaignStateException";
462
- this.$fault = "client";
463
530
  Object.setPrototypeOf(this, _InvalidCampaignStateException.prototype);
464
531
  this.state = opts.state;
465
532
  this.xAmzErrorType = opts.xAmzErrorType;
466
533
  }
467
534
  };
468
- __name(_InvalidCampaignStateException, "InvalidCampaignStateException");
469
- var InvalidCampaignStateException = _InvalidCampaignStateException;
470
535
  var FailureCode = {
471
536
  /**
472
537
  * The request failed to satisfy the constraints specified by the service
@@ -1301,309 +1366,331 @@ var _xAET = "xAmzErrorType";
1301
1366
  var _xae = "x-amzn-errortype";
1302
1367
 
1303
1368
  // src/commands/CreateCampaignCommand.ts
1304
- var _CreateCampaignCommand = class _CreateCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1369
+ var CreateCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1305
1370
  return [
1306
1371
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1307
1372
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1308
1373
  ];
1309
1374
  }).s("AmazonConnectCampaignService", "CreateCampaign", {}).n("ConnectCampaignsClient", "CreateCampaignCommand").f(void 0, void 0).ser(se_CreateCampaignCommand).de(de_CreateCampaignCommand).build() {
1375
+ static {
1376
+ __name(this, "CreateCampaignCommand");
1377
+ }
1310
1378
  };
1311
- __name(_CreateCampaignCommand, "CreateCampaignCommand");
1312
- var CreateCampaignCommand = _CreateCampaignCommand;
1313
1379
 
1314
1380
  // src/commands/DeleteCampaignCommand.ts
1315
1381
 
1316
1382
 
1317
1383
 
1318
- var _DeleteCampaignCommand = class _DeleteCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1384
+ var DeleteCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1319
1385
  return [
1320
1386
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1321
1387
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1322
1388
  ];
1323
1389
  }).s("AmazonConnectCampaignService", "DeleteCampaign", {}).n("ConnectCampaignsClient", "DeleteCampaignCommand").f(void 0, void 0).ser(se_DeleteCampaignCommand).de(de_DeleteCampaignCommand).build() {
1390
+ static {
1391
+ __name(this, "DeleteCampaignCommand");
1392
+ }
1324
1393
  };
1325
- __name(_DeleteCampaignCommand, "DeleteCampaignCommand");
1326
- var DeleteCampaignCommand = _DeleteCampaignCommand;
1327
1394
 
1328
1395
  // src/commands/DeleteConnectInstanceConfigCommand.ts
1329
1396
 
1330
1397
 
1331
1398
 
1332
- var _DeleteConnectInstanceConfigCommand = class _DeleteConnectInstanceConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1399
+ var DeleteConnectInstanceConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1333
1400
  return [
1334
1401
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1335
1402
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1336
1403
  ];
1337
1404
  }).s("AmazonConnectCampaignService", "DeleteConnectInstanceConfig", {}).n("ConnectCampaignsClient", "DeleteConnectInstanceConfigCommand").f(void 0, void 0).ser(se_DeleteConnectInstanceConfigCommand).de(de_DeleteConnectInstanceConfigCommand).build() {
1405
+ static {
1406
+ __name(this, "DeleteConnectInstanceConfigCommand");
1407
+ }
1338
1408
  };
1339
- __name(_DeleteConnectInstanceConfigCommand, "DeleteConnectInstanceConfigCommand");
1340
- var DeleteConnectInstanceConfigCommand = _DeleteConnectInstanceConfigCommand;
1341
1409
 
1342
1410
  // src/commands/DeleteInstanceOnboardingJobCommand.ts
1343
1411
 
1344
1412
 
1345
1413
 
1346
- var _DeleteInstanceOnboardingJobCommand = class _DeleteInstanceOnboardingJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1414
+ var DeleteInstanceOnboardingJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1347
1415
  return [
1348
1416
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1349
1417
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1350
1418
  ];
1351
1419
  }).s("AmazonConnectCampaignService", "DeleteInstanceOnboardingJob", {}).n("ConnectCampaignsClient", "DeleteInstanceOnboardingJobCommand").f(void 0, void 0).ser(se_DeleteInstanceOnboardingJobCommand).de(de_DeleteInstanceOnboardingJobCommand).build() {
1420
+ static {
1421
+ __name(this, "DeleteInstanceOnboardingJobCommand");
1422
+ }
1352
1423
  };
1353
- __name(_DeleteInstanceOnboardingJobCommand, "DeleteInstanceOnboardingJobCommand");
1354
- var DeleteInstanceOnboardingJobCommand = _DeleteInstanceOnboardingJobCommand;
1355
1424
 
1356
1425
  // src/commands/DescribeCampaignCommand.ts
1357
1426
 
1358
1427
 
1359
1428
 
1360
- var _DescribeCampaignCommand = class _DescribeCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1429
+ var DescribeCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1361
1430
  return [
1362
1431
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1363
1432
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1364
1433
  ];
1365
1434
  }).s("AmazonConnectCampaignService", "DescribeCampaign", {}).n("ConnectCampaignsClient", "DescribeCampaignCommand").f(void 0, void 0).ser(se_DescribeCampaignCommand).de(de_DescribeCampaignCommand).build() {
1435
+ static {
1436
+ __name(this, "DescribeCampaignCommand");
1437
+ }
1366
1438
  };
1367
- __name(_DescribeCampaignCommand, "DescribeCampaignCommand");
1368
- var DescribeCampaignCommand = _DescribeCampaignCommand;
1369
1439
 
1370
1440
  // src/commands/GetCampaignStateBatchCommand.ts
1371
1441
 
1372
1442
 
1373
1443
 
1374
- var _GetCampaignStateBatchCommand = class _GetCampaignStateBatchCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1444
+ var GetCampaignStateBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1375
1445
  return [
1376
1446
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1377
1447
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1378
1448
  ];
1379
1449
  }).s("AmazonConnectCampaignService", "GetCampaignStateBatch", {}).n("ConnectCampaignsClient", "GetCampaignStateBatchCommand").f(void 0, void 0).ser(se_GetCampaignStateBatchCommand).de(de_GetCampaignStateBatchCommand).build() {
1450
+ static {
1451
+ __name(this, "GetCampaignStateBatchCommand");
1452
+ }
1380
1453
  };
1381
- __name(_GetCampaignStateBatchCommand, "GetCampaignStateBatchCommand");
1382
- var GetCampaignStateBatchCommand = _GetCampaignStateBatchCommand;
1383
1454
 
1384
1455
  // src/commands/GetCampaignStateCommand.ts
1385
1456
 
1386
1457
 
1387
1458
 
1388
- var _GetCampaignStateCommand = class _GetCampaignStateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1459
+ var GetCampaignStateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1389
1460
  return [
1390
1461
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1391
1462
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1392
1463
  ];
1393
1464
  }).s("AmazonConnectCampaignService", "GetCampaignState", {}).n("ConnectCampaignsClient", "GetCampaignStateCommand").f(void 0, void 0).ser(se_GetCampaignStateCommand).de(de_GetCampaignStateCommand).build() {
1465
+ static {
1466
+ __name(this, "GetCampaignStateCommand");
1467
+ }
1394
1468
  };
1395
- __name(_GetCampaignStateCommand, "GetCampaignStateCommand");
1396
- var GetCampaignStateCommand = _GetCampaignStateCommand;
1397
1469
 
1398
1470
  // src/commands/GetConnectInstanceConfigCommand.ts
1399
1471
 
1400
1472
 
1401
1473
 
1402
- var _GetConnectInstanceConfigCommand = class _GetConnectInstanceConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1474
+ var GetConnectInstanceConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1403
1475
  return [
1404
1476
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1405
1477
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1406
1478
  ];
1407
1479
  }).s("AmazonConnectCampaignService", "GetConnectInstanceConfig", {}).n("ConnectCampaignsClient", "GetConnectInstanceConfigCommand").f(void 0, void 0).ser(se_GetConnectInstanceConfigCommand).de(de_GetConnectInstanceConfigCommand).build() {
1480
+ static {
1481
+ __name(this, "GetConnectInstanceConfigCommand");
1482
+ }
1408
1483
  };
1409
- __name(_GetConnectInstanceConfigCommand, "GetConnectInstanceConfigCommand");
1410
- var GetConnectInstanceConfigCommand = _GetConnectInstanceConfigCommand;
1411
1484
 
1412
1485
  // src/commands/GetInstanceOnboardingJobStatusCommand.ts
1413
1486
 
1414
1487
 
1415
1488
 
1416
- var _GetInstanceOnboardingJobStatusCommand = class _GetInstanceOnboardingJobStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1489
+ var GetInstanceOnboardingJobStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1417
1490
  return [
1418
1491
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1419
1492
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1420
1493
  ];
1421
1494
  }).s("AmazonConnectCampaignService", "GetInstanceOnboardingJobStatus", {}).n("ConnectCampaignsClient", "GetInstanceOnboardingJobStatusCommand").f(void 0, void 0).ser(se_GetInstanceOnboardingJobStatusCommand).de(de_GetInstanceOnboardingJobStatusCommand).build() {
1495
+ static {
1496
+ __name(this, "GetInstanceOnboardingJobStatusCommand");
1497
+ }
1422
1498
  };
1423
- __name(_GetInstanceOnboardingJobStatusCommand, "GetInstanceOnboardingJobStatusCommand");
1424
- var GetInstanceOnboardingJobStatusCommand = _GetInstanceOnboardingJobStatusCommand;
1425
1499
 
1426
1500
  // src/commands/ListCampaignsCommand.ts
1427
1501
 
1428
1502
 
1429
1503
 
1430
- var _ListCampaignsCommand = class _ListCampaignsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1504
+ var ListCampaignsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1431
1505
  return [
1432
1506
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1433
1507
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1434
1508
  ];
1435
1509
  }).s("AmazonConnectCampaignService", "ListCampaigns", {}).n("ConnectCampaignsClient", "ListCampaignsCommand").f(void 0, void 0).ser(se_ListCampaignsCommand).de(de_ListCampaignsCommand).build() {
1510
+ static {
1511
+ __name(this, "ListCampaignsCommand");
1512
+ }
1436
1513
  };
1437
- __name(_ListCampaignsCommand, "ListCampaignsCommand");
1438
- var ListCampaignsCommand = _ListCampaignsCommand;
1439
1514
 
1440
1515
  // src/commands/ListTagsForResourceCommand.ts
1441
1516
 
1442
1517
 
1443
1518
 
1444
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1519
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1445
1520
  return [
1446
1521
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1447
1522
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1448
1523
  ];
1449
1524
  }).s("AmazonConnectCampaignService", "ListTagsForResource", {}).n("ConnectCampaignsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1525
+ static {
1526
+ __name(this, "ListTagsForResourceCommand");
1527
+ }
1450
1528
  };
1451
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1452
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1453
1529
 
1454
1530
  // src/commands/PauseCampaignCommand.ts
1455
1531
 
1456
1532
 
1457
1533
 
1458
- var _PauseCampaignCommand = class _PauseCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1534
+ var PauseCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1459
1535
  return [
1460
1536
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1461
1537
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1462
1538
  ];
1463
1539
  }).s("AmazonConnectCampaignService", "PauseCampaign", {}).n("ConnectCampaignsClient", "PauseCampaignCommand").f(void 0, void 0).ser(se_PauseCampaignCommand).de(de_PauseCampaignCommand).build() {
1540
+ static {
1541
+ __name(this, "PauseCampaignCommand");
1542
+ }
1464
1543
  };
1465
- __name(_PauseCampaignCommand, "PauseCampaignCommand");
1466
- var PauseCampaignCommand = _PauseCampaignCommand;
1467
1544
 
1468
1545
  // src/commands/PutDialRequestBatchCommand.ts
1469
1546
 
1470
1547
 
1471
1548
 
1472
- var _PutDialRequestBatchCommand = class _PutDialRequestBatchCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
+ var PutDialRequestBatchCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1473
1550
  return [
1474
1551
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1475
1552
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1476
1553
  ];
1477
1554
  }).s("AmazonConnectCampaignService", "PutDialRequestBatch", {}).n("ConnectCampaignsClient", "PutDialRequestBatchCommand").f(PutDialRequestBatchRequestFilterSensitiveLog, void 0).ser(se_PutDialRequestBatchCommand).de(de_PutDialRequestBatchCommand).build() {
1555
+ static {
1556
+ __name(this, "PutDialRequestBatchCommand");
1557
+ }
1478
1558
  };
1479
- __name(_PutDialRequestBatchCommand, "PutDialRequestBatchCommand");
1480
- var PutDialRequestBatchCommand = _PutDialRequestBatchCommand;
1481
1559
 
1482
1560
  // src/commands/ResumeCampaignCommand.ts
1483
1561
 
1484
1562
 
1485
1563
 
1486
- var _ResumeCampaignCommand = class _ResumeCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1564
+ var ResumeCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1487
1565
  return [
1488
1566
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1489
1567
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1490
1568
  ];
1491
1569
  }).s("AmazonConnectCampaignService", "ResumeCampaign", {}).n("ConnectCampaignsClient", "ResumeCampaignCommand").f(void 0, void 0).ser(se_ResumeCampaignCommand).de(de_ResumeCampaignCommand).build() {
1570
+ static {
1571
+ __name(this, "ResumeCampaignCommand");
1572
+ }
1492
1573
  };
1493
- __name(_ResumeCampaignCommand, "ResumeCampaignCommand");
1494
- var ResumeCampaignCommand = _ResumeCampaignCommand;
1495
1574
 
1496
1575
  // src/commands/StartCampaignCommand.ts
1497
1576
 
1498
1577
 
1499
1578
 
1500
- var _StartCampaignCommand = class _StartCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1579
+ var StartCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1501
1580
  return [
1502
1581
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1503
1582
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1504
1583
  ];
1505
1584
  }).s("AmazonConnectCampaignService", "StartCampaign", {}).n("ConnectCampaignsClient", "StartCampaignCommand").f(void 0, void 0).ser(se_StartCampaignCommand).de(de_StartCampaignCommand).build() {
1585
+ static {
1586
+ __name(this, "StartCampaignCommand");
1587
+ }
1506
1588
  };
1507
- __name(_StartCampaignCommand, "StartCampaignCommand");
1508
- var StartCampaignCommand = _StartCampaignCommand;
1509
1589
 
1510
1590
  // src/commands/StartInstanceOnboardingJobCommand.ts
1511
1591
 
1512
1592
 
1513
1593
 
1514
- var _StartInstanceOnboardingJobCommand = class _StartInstanceOnboardingJobCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1594
+ var StartInstanceOnboardingJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1515
1595
  return [
1516
1596
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1517
1597
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1518
1598
  ];
1519
1599
  }).s("AmazonConnectCampaignService", "StartInstanceOnboardingJob", {}).n("ConnectCampaignsClient", "StartInstanceOnboardingJobCommand").f(void 0, void 0).ser(se_StartInstanceOnboardingJobCommand).de(de_StartInstanceOnboardingJobCommand).build() {
1600
+ static {
1601
+ __name(this, "StartInstanceOnboardingJobCommand");
1602
+ }
1520
1603
  };
1521
- __name(_StartInstanceOnboardingJobCommand, "StartInstanceOnboardingJobCommand");
1522
- var StartInstanceOnboardingJobCommand = _StartInstanceOnboardingJobCommand;
1523
1604
 
1524
1605
  // src/commands/StopCampaignCommand.ts
1525
1606
 
1526
1607
 
1527
1608
 
1528
- var _StopCampaignCommand = class _StopCampaignCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1609
+ var StopCampaignCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1529
1610
  return [
1530
1611
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1531
1612
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1532
1613
  ];
1533
1614
  }).s("AmazonConnectCampaignService", "StopCampaign", {}).n("ConnectCampaignsClient", "StopCampaignCommand").f(void 0, void 0).ser(se_StopCampaignCommand).de(de_StopCampaignCommand).build() {
1615
+ static {
1616
+ __name(this, "StopCampaignCommand");
1617
+ }
1534
1618
  };
1535
- __name(_StopCampaignCommand, "StopCampaignCommand");
1536
- var StopCampaignCommand = _StopCampaignCommand;
1537
1619
 
1538
1620
  // src/commands/TagResourceCommand.ts
1539
1621
 
1540
1622
 
1541
1623
 
1542
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1624
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1543
1625
  return [
1544
1626
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1545
1627
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1546
1628
  ];
1547
1629
  }).s("AmazonConnectCampaignService", "TagResource", {}).n("ConnectCampaignsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1630
+ static {
1631
+ __name(this, "TagResourceCommand");
1632
+ }
1548
1633
  };
1549
- __name(_TagResourceCommand, "TagResourceCommand");
1550
- var TagResourceCommand = _TagResourceCommand;
1551
1634
 
1552
1635
  // src/commands/UntagResourceCommand.ts
1553
1636
 
1554
1637
 
1555
1638
 
1556
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1639
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1557
1640
  return [
1558
1641
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1559
1642
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1560
1643
  ];
1561
1644
  }).s("AmazonConnectCampaignService", "UntagResource", {}).n("ConnectCampaignsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1645
+ static {
1646
+ __name(this, "UntagResourceCommand");
1647
+ }
1562
1648
  };
1563
- __name(_UntagResourceCommand, "UntagResourceCommand");
1564
- var UntagResourceCommand = _UntagResourceCommand;
1565
1649
 
1566
1650
  // src/commands/UpdateCampaignDialerConfigCommand.ts
1567
1651
 
1568
1652
 
1569
1653
 
1570
- var _UpdateCampaignDialerConfigCommand = class _UpdateCampaignDialerConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1654
+ var UpdateCampaignDialerConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1571
1655
  return [
1572
1656
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1573
1657
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1574
1658
  ];
1575
1659
  }).s("AmazonConnectCampaignService", "UpdateCampaignDialerConfig", {}).n("ConnectCampaignsClient", "UpdateCampaignDialerConfigCommand").f(void 0, void 0).ser(se_UpdateCampaignDialerConfigCommand).de(de_UpdateCampaignDialerConfigCommand).build() {
1660
+ static {
1661
+ __name(this, "UpdateCampaignDialerConfigCommand");
1662
+ }
1576
1663
  };
1577
- __name(_UpdateCampaignDialerConfigCommand, "UpdateCampaignDialerConfigCommand");
1578
- var UpdateCampaignDialerConfigCommand = _UpdateCampaignDialerConfigCommand;
1579
1664
 
1580
1665
  // src/commands/UpdateCampaignNameCommand.ts
1581
1666
 
1582
1667
 
1583
1668
 
1584
- var _UpdateCampaignNameCommand = class _UpdateCampaignNameCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1669
+ var UpdateCampaignNameCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1585
1670
  return [
1586
1671
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1587
1672
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1588
1673
  ];
1589
1674
  }).s("AmazonConnectCampaignService", "UpdateCampaignName", {}).n("ConnectCampaignsClient", "UpdateCampaignNameCommand").f(void 0, void 0).ser(se_UpdateCampaignNameCommand).de(de_UpdateCampaignNameCommand).build() {
1675
+ static {
1676
+ __name(this, "UpdateCampaignNameCommand");
1677
+ }
1590
1678
  };
1591
- __name(_UpdateCampaignNameCommand, "UpdateCampaignNameCommand");
1592
- var UpdateCampaignNameCommand = _UpdateCampaignNameCommand;
1593
1679
 
1594
1680
  // src/commands/UpdateCampaignOutboundCallConfigCommand.ts
1595
1681
 
1596
1682
 
1597
1683
 
1598
- var _UpdateCampaignOutboundCallConfigCommand = class _UpdateCampaignOutboundCallConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1684
+ var UpdateCampaignOutboundCallConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1599
1685
  return [
1600
1686
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1601
1687
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1602
1688
  ];
1603
1689
  }).s("AmazonConnectCampaignService", "UpdateCampaignOutboundCallConfig", {}).n("ConnectCampaignsClient", "UpdateCampaignOutboundCallConfigCommand").f(void 0, void 0).ser(se_UpdateCampaignOutboundCallConfigCommand).de(de_UpdateCampaignOutboundCallConfigCommand).build() {
1690
+ static {
1691
+ __name(this, "UpdateCampaignOutboundCallConfigCommand");
1692
+ }
1604
1693
  };
1605
- __name(_UpdateCampaignOutboundCallConfigCommand, "UpdateCampaignOutboundCallConfigCommand");
1606
- var UpdateCampaignOutboundCallConfigCommand = _UpdateCampaignOutboundCallConfigCommand;
1607
1694
 
1608
1695
  // src/ConnectCampaigns.ts
1609
1696
  var commands = {
@@ -1630,10 +1717,11 @@ var commands = {
1630
1717
  UpdateCampaignNameCommand,
1631
1718
  UpdateCampaignOutboundCallConfigCommand
1632
1719
  };
1633
- var _ConnectCampaigns = class _ConnectCampaigns extends ConnectCampaignsClient {
1720
+ var ConnectCampaigns = class extends ConnectCampaignsClient {
1721
+ static {
1722
+ __name(this, "ConnectCampaigns");
1723
+ }
1634
1724
  };
1635
- __name(_ConnectCampaigns, "ConnectCampaigns");
1636
- var ConnectCampaigns = _ConnectCampaigns;
1637
1725
  (0, import_smithy_client.createAggregatedClient)(commands, ConnectCampaigns);
1638
1726
 
1639
1727
  // src/pagination/ListCampaignsPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ConnectCampaignsClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,27 +1,29 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectCampaignsServiceException as __BaseException } from "./ConnectCampaignsServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ xAmzErrorType;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.xAmzErrorType = opts.xAmzErrorType;
14
15
  }
15
16
  }
16
17
  export class ConflictException extends __BaseException {
18
+ name = "ConflictException";
19
+ $fault = "client";
20
+ xAmzErrorType;
17
21
  constructor(opts) {
18
22
  super({
19
23
  name: "ConflictException",
20
24
  $fault: "client",
21
25
  ...opts,
22
26
  });
23
- this.name = "ConflictException";
24
- this.$fault = "client";
25
27
  Object.setPrototypeOf(this, ConflictException.prototype);
26
28
  this.xAmzErrorType = opts.xAmzErrorType;
27
29
  }
@@ -39,81 +41,87 @@ export var DialerConfig;
39
41
  };
40
42
  })(DialerConfig || (DialerConfig = {}));
41
43
  export class InternalServerException extends __BaseException {
44
+ name = "InternalServerException";
45
+ $fault = "server";
46
+ $retryable = {};
47
+ xAmzErrorType;
42
48
  constructor(opts) {
43
49
  super({
44
50
  name: "InternalServerException",
45
51
  $fault: "server",
46
52
  ...opts,
47
53
  });
48
- this.name = "InternalServerException";
49
- this.$fault = "server";
50
- this.$retryable = {};
51
54
  Object.setPrototypeOf(this, InternalServerException.prototype);
52
55
  this.xAmzErrorType = opts.xAmzErrorType;
53
56
  }
54
57
  }
55
58
  export class ResourceNotFoundException extends __BaseException {
59
+ name = "ResourceNotFoundException";
60
+ $fault = "client";
61
+ xAmzErrorType;
56
62
  constructor(opts) {
57
63
  super({
58
64
  name: "ResourceNotFoundException",
59
65
  $fault: "client",
60
66
  ...opts,
61
67
  });
62
- this.name = "ResourceNotFoundException";
63
- this.$fault = "client";
64
68
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
65
69
  this.xAmzErrorType = opts.xAmzErrorType;
66
70
  }
67
71
  }
68
72
  export class ServiceQuotaExceededException extends __BaseException {
73
+ name = "ServiceQuotaExceededException";
74
+ $fault = "client";
75
+ xAmzErrorType;
69
76
  constructor(opts) {
70
77
  super({
71
78
  name: "ServiceQuotaExceededException",
72
79
  $fault: "client",
73
80
  ...opts,
74
81
  });
75
- this.name = "ServiceQuotaExceededException";
76
- this.$fault = "client";
77
82
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
78
83
  this.xAmzErrorType = opts.xAmzErrorType;
79
84
  }
80
85
  }
81
86
  export class ThrottlingException extends __BaseException {
87
+ name = "ThrottlingException";
88
+ $fault = "client";
89
+ $retryable = {};
90
+ xAmzErrorType;
82
91
  constructor(opts) {
83
92
  super({
84
93
  name: "ThrottlingException",
85
94
  $fault: "client",
86
95
  ...opts,
87
96
  });
88
- this.name = "ThrottlingException";
89
- this.$fault = "client";
90
- this.$retryable = {};
91
97
  Object.setPrototypeOf(this, ThrottlingException.prototype);
92
98
  this.xAmzErrorType = opts.xAmzErrorType;
93
99
  }
94
100
  }
95
101
  export class ValidationException extends __BaseException {
102
+ name = "ValidationException";
103
+ $fault = "client";
104
+ xAmzErrorType;
96
105
  constructor(opts) {
97
106
  super({
98
107
  name: "ValidationException",
99
108
  $fault: "client",
100
109
  ...opts,
101
110
  });
102
- this.name = "ValidationException";
103
- this.$fault = "client";
104
111
  Object.setPrototypeOf(this, ValidationException.prototype);
105
112
  this.xAmzErrorType = opts.xAmzErrorType;
106
113
  }
107
114
  }
108
115
  export class InvalidStateException extends __BaseException {
116
+ name = "InvalidStateException";
117
+ $fault = "client";
118
+ xAmzErrorType;
109
119
  constructor(opts) {
110
120
  super({
111
121
  name: "InvalidStateException",
112
122
  $fault: "client",
113
123
  ...opts,
114
124
  });
115
- this.name = "InvalidStateException";
116
- this.$fault = "client";
117
125
  Object.setPrototypeOf(this, InvalidStateException.prototype);
118
126
  this.xAmzErrorType = opts.xAmzErrorType;
119
127
  }
@@ -149,14 +157,16 @@ export const InstanceIdFilterOperator = {
149
157
  EQ: "Eq",
150
158
  };
151
159
  export class InvalidCampaignStateException extends __BaseException {
160
+ name = "InvalidCampaignStateException";
161
+ $fault = "client";
162
+ state;
163
+ xAmzErrorType;
152
164
  constructor(opts) {
153
165
  super({
154
166
  name: "InvalidCampaignStateException",
155
167
  $fault: "client",
156
168
  ...opts,
157
169
  });
158
- this.name = "InvalidCampaignStateException";
159
- this.$fault = "client";
160
170
  Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
161
171
  this.state = opts.state;
162
172
  this.xAmzErrorType = opts.xAmzErrorType;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsClientConfig) =>
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsClientConfig) =>
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ConnectCampaignsClientConfig) =>
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.721.0",
4
+ "version": "3.726.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,56 +20,56 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@tsconfig/node16": "16.1.3",
65
- "@types/node": "^16.18.96",
64
+ "@tsconfig/node18": "18.2.4",
65
+ "@types/node": "^18.19.69",
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~4.9.5"
69
+ "typescript": "~5.2.2"
70
70
  },
71
71
  "engines": {
72
- "node": ">=16.0.0"
72
+ "node": ">=18.0.0"
73
73
  },
74
74
  "typesVersions": {
75
75
  "<4.0": {