@aws-sdk/client-pipes 3.716.0 → 3.723.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
@@ -203,7 +203,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
203
203
  }, "resolveRuntimeExtensions");
204
204
 
205
205
  // src/PipesClient.ts
206
- var _PipesClient = class _PipesClient extends import_smithy_client.Client {
206
+ var PipesClient = class extends import_smithy_client.Client {
207
+ static {
208
+ __name(this, "PipesClient");
209
+ }
210
+ /**
211
+ * The resolved configuration of PipesClient class. This is resolved and normalized from the {@link PipesClientConfig | constructor configuration interface}.
212
+ */
213
+ config;
207
214
  constructor(...[configuration]) {
208
215
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
209
216
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -213,7 +220,7 @@ var _PipesClient = class _PipesClient extends import_smithy_client.Client {
213
220
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
214
221
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
215
222
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
216
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
223
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
217
224
  super(_config_8);
218
225
  this.config = _config_8;
219
226
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -241,8 +248,6 @@ var _PipesClient = class _PipesClient extends import_smithy_client.Client {
241
248
  super.destroy();
242
249
  }
243
250
  };
244
- __name(_PipesClient, "PipesClient");
245
- var PipesClient = _PipesClient;
246
251
 
247
252
  // src/Pipes.ts
248
253
 
@@ -257,7 +262,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
257
262
 
258
263
  // src/models/PipesServiceException.ts
259
264
 
260
- var _PipesServiceException = class _PipesServiceException extends import_smithy_client.ServiceException {
265
+ var PipesServiceException = class _PipesServiceException extends import_smithy_client.ServiceException {
266
+ static {
267
+ __name(this, "PipesServiceException");
268
+ }
261
269
  /**
262
270
  * @internal
263
271
  */
@@ -266,8 +274,6 @@ var _PipesServiceException = class _PipesServiceException extends import_smithy_
266
274
  Object.setPrototypeOf(this, _PipesServiceException.prototype);
267
275
  }
268
276
  };
269
- __name(_PipesServiceException, "PipesServiceException");
270
- var PipesServiceException = _PipesServiceException;
271
277
 
272
278
  // src/models/models_0.ts
273
279
  var AssignPublicIp = {
@@ -283,7 +289,22 @@ var BatchJobDependencyType = {
283
289
  N_TO_N: "N_TO_N",
284
290
  SEQUENTIAL: "SEQUENTIAL"
285
291
  };
286
- var _ConflictException = class _ConflictException extends PipesServiceException {
292
+ var ConflictException = class _ConflictException extends PipesServiceException {
293
+ static {
294
+ __name(this, "ConflictException");
295
+ }
296
+ name = "ConflictException";
297
+ $fault = "client";
298
+ /**
299
+ * <p>The ID of the resource that caused the exception.</p>
300
+ * @public
301
+ */
302
+ resourceId;
303
+ /**
304
+ * <p>The type of resource that caused the exception.</p>
305
+ * @public
306
+ */
307
+ resourceType;
287
308
  /**
288
309
  * @internal
289
310
  */
@@ -293,15 +314,11 @@ var _ConflictException = class _ConflictException extends PipesServiceException
293
314
  $fault: "client",
294
315
  ...opts
295
316
  });
296
- this.name = "ConflictException";
297
- this.$fault = "client";
298
317
  Object.setPrototypeOf(this, _ConflictException.prototype);
299
318
  this.resourceId = opts.resourceId;
300
319
  this.resourceType = opts.resourceType;
301
320
  }
302
321
  };
303
- __name(_ConflictException, "ConflictException");
304
- var ConflictException = _ConflictException;
305
322
  var RequestedPipeState = {
306
323
  RUNNING: "RUNNING",
307
324
  STOPPED: "STOPPED"
@@ -437,7 +454,18 @@ var PipeState = {
437
454
  UPDATE_ROLLBACK_FAILED: "UPDATE_ROLLBACK_FAILED",
438
455
  UPDATING: "UPDATING"
439
456
  };
440
- var _InternalException = class _InternalException extends PipesServiceException {
457
+ var InternalException = class _InternalException extends PipesServiceException {
458
+ static {
459
+ __name(this, "InternalException");
460
+ }
461
+ name = "InternalException";
462
+ $fault = "server";
463
+ /**
464
+ * <p>The number of seconds to wait before retrying the action that caused the
465
+ * exception.</p>
466
+ * @public
467
+ */
468
+ retryAfterSeconds;
441
469
  /**
442
470
  * @internal
443
471
  */
@@ -447,15 +475,16 @@ var _InternalException = class _InternalException extends PipesServiceException
447
475
  $fault: "server",
448
476
  ...opts
449
477
  });
450
- this.name = "InternalException";
451
- this.$fault = "server";
452
478
  Object.setPrototypeOf(this, _InternalException.prototype);
453
479
  this.retryAfterSeconds = opts.retryAfterSeconds;
454
480
  }
455
481
  };
456
- __name(_InternalException, "InternalException");
457
- var InternalException = _InternalException;
458
- var _NotFoundException = class _NotFoundException extends PipesServiceException {
482
+ var NotFoundException = class _NotFoundException extends PipesServiceException {
483
+ static {
484
+ __name(this, "NotFoundException");
485
+ }
486
+ name = "NotFoundException";
487
+ $fault = "client";
459
488
  /**
460
489
  * @internal
461
490
  */
@@ -465,14 +494,35 @@ var _NotFoundException = class _NotFoundException extends PipesServiceException
465
494
  $fault: "client",
466
495
  ...opts
467
496
  });
468
- this.name = "NotFoundException";
469
- this.$fault = "client";
470
497
  Object.setPrototypeOf(this, _NotFoundException.prototype);
471
498
  }
472
499
  };
473
- __name(_NotFoundException, "NotFoundException");
474
- var NotFoundException = _NotFoundException;
475
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends PipesServiceException {
500
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends PipesServiceException {
501
+ static {
502
+ __name(this, "ServiceQuotaExceededException");
503
+ }
504
+ name = "ServiceQuotaExceededException";
505
+ $fault = "client";
506
+ /**
507
+ * <p>The ID of the resource that caused the exception.</p>
508
+ * @public
509
+ */
510
+ resourceId;
511
+ /**
512
+ * <p>The type of resource that caused the exception.</p>
513
+ * @public
514
+ */
515
+ resourceType;
516
+ /**
517
+ * <p>The identifier of the service that caused the exception.</p>
518
+ * @public
519
+ */
520
+ serviceCode;
521
+ /**
522
+ * <p>The identifier of the quota that caused the exception.</p>
523
+ * @public
524
+ */
525
+ quotaCode;
476
526
  /**
477
527
  * @internal
478
528
  */
@@ -482,8 +532,6 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
482
532
  $fault: "client",
483
533
  ...opts
484
534
  });
485
- this.name = "ServiceQuotaExceededException";
486
- this.$fault = "client";
487
535
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
488
536
  this.resourceId = opts.resourceId;
489
537
  this.resourceType = opts.resourceType;
@@ -491,9 +539,28 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
491
539
  this.quotaCode = opts.quotaCode;
492
540
  }
493
541
  };
494
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
495
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
496
- var _ThrottlingException = class _ThrottlingException extends PipesServiceException {
542
+ var ThrottlingException = class _ThrottlingException extends PipesServiceException {
543
+ static {
544
+ __name(this, "ThrottlingException");
545
+ }
546
+ name = "ThrottlingException";
547
+ $fault = "client";
548
+ /**
549
+ * <p>The identifier of the service that caused the exception.</p>
550
+ * @public
551
+ */
552
+ serviceCode;
553
+ /**
554
+ * <p>The identifier of the quota that caused the exception.</p>
555
+ * @public
556
+ */
557
+ quotaCode;
558
+ /**
559
+ * <p>The number of seconds to wait before retrying the action that caused the
560
+ * exception.</p>
561
+ * @public
562
+ */
563
+ retryAfterSeconds;
497
564
  /**
498
565
  * @internal
499
566
  */
@@ -503,17 +570,24 @@ var _ThrottlingException = class _ThrottlingException extends PipesServiceExcept
503
570
  $fault: "client",
504
571
  ...opts
505
572
  });
506
- this.name = "ThrottlingException";
507
- this.$fault = "client";
508
573
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
509
574
  this.serviceCode = opts.serviceCode;
510
575
  this.quotaCode = opts.quotaCode;
511
576
  this.retryAfterSeconds = opts.retryAfterSeconds;
512
577
  }
513
578
  };
514
- __name(_ThrottlingException, "ThrottlingException");
515
- var ThrottlingException = _ThrottlingException;
516
- var _ValidationException = class _ValidationException extends PipesServiceException {
579
+ var ValidationException = class _ValidationException extends PipesServiceException {
580
+ static {
581
+ __name(this, "ValidationException");
582
+ }
583
+ name = "ValidationException";
584
+ $fault = "client";
585
+ /**
586
+ * <p>The list of fields for which validation failed and the corresponding failure
587
+ * messages.</p>
588
+ * @public
589
+ */
590
+ fieldList;
517
591
  /**
518
592
  * @internal
519
593
  */
@@ -523,14 +597,10 @@ var _ValidationException = class _ValidationException extends PipesServiceExcept
523
597
  $fault: "client",
524
598
  ...opts
525
599
  });
526
- this.name = "ValidationException";
527
- this.$fault = "client";
528
600
  Object.setPrototypeOf(this, _ValidationException.prototype);
529
601
  this.fieldList = opts.fieldList;
530
602
  }
531
603
  };
532
- __name(_ValidationException, "ValidationException");
533
- var ValidationException = _ValidationException;
534
604
  var RequestedPipeStateDescribeResponse = {
535
605
  DELETED: "DELETED",
536
606
  RUNNING: "RUNNING",
@@ -1313,141 +1383,151 @@ var _ra = "retry-after";
1313
1383
  var _tK = "tagKeys";
1314
1384
 
1315
1385
  // src/commands/CreatePipeCommand.ts
1316
- var _CreatePipeCommand = class _CreatePipeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1386
+ var CreatePipeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1317
1387
  return [
1318
1388
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1319
1389
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1320
1390
  ];
1321
1391
  }).s("Pipes", "CreatePipe", {}).n("PipesClient", "CreatePipeCommand").f(CreatePipeRequestFilterSensitiveLog, void 0).ser(se_CreatePipeCommand).de(de_CreatePipeCommand).build() {
1392
+ static {
1393
+ __name(this, "CreatePipeCommand");
1394
+ }
1322
1395
  };
1323
- __name(_CreatePipeCommand, "CreatePipeCommand");
1324
- var CreatePipeCommand = _CreatePipeCommand;
1325
1396
 
1326
1397
  // src/commands/DeletePipeCommand.ts
1327
1398
 
1328
1399
 
1329
1400
 
1330
- var _DeletePipeCommand = class _DeletePipeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1401
+ var DeletePipeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1331
1402
  return [
1332
1403
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1333
1404
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1334
1405
  ];
1335
1406
  }).s("Pipes", "DeletePipe", {}).n("PipesClient", "DeletePipeCommand").f(void 0, void 0).ser(se_DeletePipeCommand).de(de_DeletePipeCommand).build() {
1407
+ static {
1408
+ __name(this, "DeletePipeCommand");
1409
+ }
1336
1410
  };
1337
- __name(_DeletePipeCommand, "DeletePipeCommand");
1338
- var DeletePipeCommand = _DeletePipeCommand;
1339
1411
 
1340
1412
  // src/commands/DescribePipeCommand.ts
1341
1413
 
1342
1414
 
1343
1415
 
1344
- var _DescribePipeCommand = class _DescribePipeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1416
+ var DescribePipeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1345
1417
  return [
1346
1418
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1347
1419
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1348
1420
  ];
1349
1421
  }).s("Pipes", "DescribePipe", {}).n("PipesClient", "DescribePipeCommand").f(void 0, DescribePipeResponseFilterSensitiveLog).ser(se_DescribePipeCommand).de(de_DescribePipeCommand).build() {
1422
+ static {
1423
+ __name(this, "DescribePipeCommand");
1424
+ }
1350
1425
  };
1351
- __name(_DescribePipeCommand, "DescribePipeCommand");
1352
- var DescribePipeCommand = _DescribePipeCommand;
1353
1426
 
1354
1427
  // src/commands/ListPipesCommand.ts
1355
1428
 
1356
1429
 
1357
1430
 
1358
- var _ListPipesCommand = class _ListPipesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1431
+ var ListPipesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1359
1432
  return [
1360
1433
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1361
1434
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1362
1435
  ];
1363
1436
  }).s("Pipes", "ListPipes", {}).n("PipesClient", "ListPipesCommand").f(ListPipesRequestFilterSensitiveLog, ListPipesResponseFilterSensitiveLog).ser(se_ListPipesCommand).de(de_ListPipesCommand).build() {
1437
+ static {
1438
+ __name(this, "ListPipesCommand");
1439
+ }
1364
1440
  };
1365
- __name(_ListPipesCommand, "ListPipesCommand");
1366
- var ListPipesCommand = _ListPipesCommand;
1367
1441
 
1368
1442
  // src/commands/ListTagsForResourceCommand.ts
1369
1443
 
1370
1444
 
1371
1445
 
1372
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1446
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1373
1447
  return [
1374
1448
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1375
1449
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1376
1450
  ];
1377
1451
  }).s("Pipes", "ListTagsForResource", {}).n("PipesClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1452
+ static {
1453
+ __name(this, "ListTagsForResourceCommand");
1454
+ }
1378
1455
  };
1379
- __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
1380
- var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1381
1456
 
1382
1457
  // src/commands/StartPipeCommand.ts
1383
1458
 
1384
1459
 
1385
1460
 
1386
- var _StartPipeCommand = class _StartPipeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1461
+ var StartPipeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1387
1462
  return [
1388
1463
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1389
1464
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1390
1465
  ];
1391
1466
  }).s("Pipes", "StartPipe", {}).n("PipesClient", "StartPipeCommand").f(void 0, void 0).ser(se_StartPipeCommand).de(de_StartPipeCommand).build() {
1467
+ static {
1468
+ __name(this, "StartPipeCommand");
1469
+ }
1392
1470
  };
1393
- __name(_StartPipeCommand, "StartPipeCommand");
1394
- var StartPipeCommand = _StartPipeCommand;
1395
1471
 
1396
1472
  // src/commands/StopPipeCommand.ts
1397
1473
 
1398
1474
 
1399
1475
 
1400
- var _StopPipeCommand = class _StopPipeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1476
+ var StopPipeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1401
1477
  return [
1402
1478
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1403
1479
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1404
1480
  ];
1405
1481
  }).s("Pipes", "StopPipe", {}).n("PipesClient", "StopPipeCommand").f(void 0, void 0).ser(se_StopPipeCommand).de(de_StopPipeCommand).build() {
1482
+ static {
1483
+ __name(this, "StopPipeCommand");
1484
+ }
1406
1485
  };
1407
- __name(_StopPipeCommand, "StopPipeCommand");
1408
- var StopPipeCommand = _StopPipeCommand;
1409
1486
 
1410
1487
  // src/commands/TagResourceCommand.ts
1411
1488
 
1412
1489
 
1413
1490
 
1414
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1491
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1415
1492
  return [
1416
1493
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1417
1494
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1418
1495
  ];
1419
1496
  }).s("Pipes", "TagResource", {}).n("PipesClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1497
+ static {
1498
+ __name(this, "TagResourceCommand");
1499
+ }
1420
1500
  };
1421
- __name(_TagResourceCommand, "TagResourceCommand");
1422
- var TagResourceCommand = _TagResourceCommand;
1423
1501
 
1424
1502
  // src/commands/UntagResourceCommand.ts
1425
1503
 
1426
1504
 
1427
1505
 
1428
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1506
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1429
1507
  return [
1430
1508
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1431
1509
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1432
1510
  ];
1433
1511
  }).s("Pipes", "UntagResource", {}).n("PipesClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1512
+ static {
1513
+ __name(this, "UntagResourceCommand");
1514
+ }
1434
1515
  };
1435
- __name(_UntagResourceCommand, "UntagResourceCommand");
1436
- var UntagResourceCommand = _UntagResourceCommand;
1437
1516
 
1438
1517
  // src/commands/UpdatePipeCommand.ts
1439
1518
 
1440
1519
 
1441
1520
 
1442
- var _UpdatePipeCommand = class _UpdatePipeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1521
+ var UpdatePipeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1443
1522
  return [
1444
1523
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1445
1524
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1446
1525
  ];
1447
1526
  }).s("Pipes", "UpdatePipe", {}).n("PipesClient", "UpdatePipeCommand").f(UpdatePipeRequestFilterSensitiveLog, void 0).ser(se_UpdatePipeCommand).de(de_UpdatePipeCommand).build() {
1527
+ static {
1528
+ __name(this, "UpdatePipeCommand");
1529
+ }
1448
1530
  };
1449
- __name(_UpdatePipeCommand, "UpdatePipeCommand");
1450
- var UpdatePipeCommand = _UpdatePipeCommand;
1451
1531
 
1452
1532
  // src/Pipes.ts
1453
1533
  var commands = {
@@ -1462,10 +1542,11 @@ var commands = {
1462
1542
  UntagResourceCommand,
1463
1543
  UpdatePipeCommand
1464
1544
  };
1465
- var _Pipes = class _Pipes extends PipesClient {
1545
+ var Pipes = class extends PipesClient {
1546
+ static {
1547
+ __name(this, "Pipes");
1548
+ }
1466
1549
  };
1467
- __name(_Pipes, "Pipes");
1468
- var Pipes = _Pipes;
1469
1550
  (0, import_smithy_client.createAggregatedClient)(commands, Pipes);
1470
1551
 
1471
1552
  // src/pagination/ListPipesPaginator.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 PipesClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -14,14 +14,16 @@ export const BatchJobDependencyType = {
14
14
  SEQUENTIAL: "SEQUENTIAL",
15
15
  };
16
16
  export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ resourceId;
20
+ resourceType;
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.resourceId = opts.resourceId;
27
29
  this.resourceType = opts.resourceType;
@@ -163,39 +165,44 @@ export const PipeState = {
163
165
  UPDATING: "UPDATING",
164
166
  };
165
167
  export class InternalException extends __BaseException {
168
+ name = "InternalException";
169
+ $fault = "server";
170
+ retryAfterSeconds;
166
171
  constructor(opts) {
167
172
  super({
168
173
  name: "InternalException",
169
174
  $fault: "server",
170
175
  ...opts,
171
176
  });
172
- this.name = "InternalException";
173
- this.$fault = "server";
174
177
  Object.setPrototypeOf(this, InternalException.prototype);
175
178
  this.retryAfterSeconds = opts.retryAfterSeconds;
176
179
  }
177
180
  }
178
181
  export class NotFoundException extends __BaseException {
182
+ name = "NotFoundException";
183
+ $fault = "client";
179
184
  constructor(opts) {
180
185
  super({
181
186
  name: "NotFoundException",
182
187
  $fault: "client",
183
188
  ...opts,
184
189
  });
185
- this.name = "NotFoundException";
186
- this.$fault = "client";
187
190
  Object.setPrototypeOf(this, NotFoundException.prototype);
188
191
  }
189
192
  }
190
193
  export class ServiceQuotaExceededException extends __BaseException {
194
+ name = "ServiceQuotaExceededException";
195
+ $fault = "client";
196
+ resourceId;
197
+ resourceType;
198
+ serviceCode;
199
+ quotaCode;
191
200
  constructor(opts) {
192
201
  super({
193
202
  name: "ServiceQuotaExceededException",
194
203
  $fault: "client",
195
204
  ...opts,
196
205
  });
197
- this.name = "ServiceQuotaExceededException";
198
- this.$fault = "client";
199
206
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
200
207
  this.resourceId = opts.resourceId;
201
208
  this.resourceType = opts.resourceType;
@@ -204,14 +211,17 @@ export class ServiceQuotaExceededException extends __BaseException {
204
211
  }
205
212
  }
206
213
  export class ThrottlingException extends __BaseException {
214
+ name = "ThrottlingException";
215
+ $fault = "client";
216
+ serviceCode;
217
+ quotaCode;
218
+ retryAfterSeconds;
207
219
  constructor(opts) {
208
220
  super({
209
221
  name: "ThrottlingException",
210
222
  $fault: "client",
211
223
  ...opts,
212
224
  });
213
- this.name = "ThrottlingException";
214
- this.$fault = "client";
215
225
  Object.setPrototypeOf(this, ThrottlingException.prototype);
216
226
  this.serviceCode = opts.serviceCode;
217
227
  this.quotaCode = opts.quotaCode;
@@ -219,14 +229,15 @@ export class ThrottlingException extends __BaseException {
219
229
  }
220
230
  }
221
231
  export class ValidationException extends __BaseException {
232
+ name = "ValidationException";
233
+ $fault = "client";
234
+ fieldList;
222
235
  constructor(opts) {
223
236
  super({
224
237
  name: "ValidationException",
225
238
  $fault: "client",
226
239
  ...opts,
227
240
  });
228
- this.name = "ValidationException";
229
- this.$fault = "client";
230
241
  Object.setPrototypeOf(this, ValidationException.prototype);
231
242
  this.fieldList = opts.fieldList;
232
243
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PipesClientConfig) => {
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: PipesClientConfig) => {
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: PipesClientConfig) => {
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: PipesClientConfig) => {
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;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: PipesClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: PipesClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: PipesClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: PipesClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pipes",
3
3
  "description": "AWS SDK for JavaScript Pipes Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.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-pipes",
@@ -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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.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.716.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.716.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.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.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.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.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": {