@aws-sdk/client-machine-learning 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
@@ -189,7 +189,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
189
189
  }, "resolveRuntimeExtensions");
190
190
 
191
191
  // src/MachineLearningClient.ts
192
- var _MachineLearningClient = class _MachineLearningClient extends import_smithy_client.Client {
192
+ var MachineLearningClient = class extends import_smithy_client.Client {
193
+ static {
194
+ __name(this, "MachineLearningClient");
195
+ }
196
+ /**
197
+ * The resolved configuration of MachineLearningClient class. This is resolved and normalized from the {@link MachineLearningClientConfig | constructor configuration interface}.
198
+ */
199
+ config;
193
200
  constructor(...[configuration]) {
194
201
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
195
202
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -199,7 +206,7 @@ var _MachineLearningClient = class _MachineLearningClient extends import_smithy_
199
206
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
200
207
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
201
208
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
202
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
209
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
203
210
  super(_config_8);
204
211
  this.config = _config_8;
205
212
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -227,8 +234,6 @@ var _MachineLearningClient = class _MachineLearningClient extends import_smithy_
227
234
  super.destroy();
228
235
  }
229
236
  };
230
- __name(_MachineLearningClient, "MachineLearningClient");
231
- var MachineLearningClient = _MachineLearningClient;
232
237
 
233
238
  // src/MachineLearning.ts
234
239
 
@@ -245,7 +250,10 @@ var import_core2 = require("@aws-sdk/core");
245
250
 
246
251
  // src/models/MachineLearningServiceException.ts
247
252
 
248
- var _MachineLearningServiceException = class _MachineLearningServiceException extends import_smithy_client.ServiceException {
253
+ var MachineLearningServiceException = class _MachineLearningServiceException extends import_smithy_client.ServiceException {
254
+ static {
255
+ __name(this, "MachineLearningServiceException");
256
+ }
249
257
  /**
250
258
  * @internal
251
259
  */
@@ -254,8 +262,6 @@ var _MachineLearningServiceException = class _MachineLearningServiceException ex
254
262
  Object.setPrototypeOf(this, _MachineLearningServiceException.prototype);
255
263
  }
256
264
  };
257
- __name(_MachineLearningServiceException, "MachineLearningServiceException");
258
- var MachineLearningServiceException = _MachineLearningServiceException;
259
265
 
260
266
  // src/models/models_0.ts
261
267
 
@@ -265,7 +271,13 @@ var TaggableResourceType = {
265
271
  EVALUATION: "Evaluation",
266
272
  ML_MODEL: "MLModel"
267
273
  };
268
- var _InternalServerException = class _InternalServerException extends MachineLearningServiceException {
274
+ var InternalServerException = class _InternalServerException extends MachineLearningServiceException {
275
+ static {
276
+ __name(this, "InternalServerException");
277
+ }
278
+ name = "InternalServerException";
279
+ $fault = "server";
280
+ code;
269
281
  /**
270
282
  * @internal
271
283
  */
@@ -275,15 +287,17 @@ var _InternalServerException = class _InternalServerException extends MachineLea
275
287
  $fault: "server",
276
288
  ...opts
277
289
  });
278
- this.name = "InternalServerException";
279
- this.$fault = "server";
280
290
  Object.setPrototypeOf(this, _InternalServerException.prototype);
281
291
  this.code = opts.code;
282
292
  }
283
293
  };
284
- __name(_InternalServerException, "InternalServerException");
285
- var InternalServerException = _InternalServerException;
286
- var _InvalidInputException = class _InvalidInputException extends MachineLearningServiceException {
294
+ var InvalidInputException = class _InvalidInputException extends MachineLearningServiceException {
295
+ static {
296
+ __name(this, "InvalidInputException");
297
+ }
298
+ name = "InvalidInputException";
299
+ $fault = "client";
300
+ code;
287
301
  /**
288
302
  * @internal
289
303
  */
@@ -293,15 +307,16 @@ var _InvalidInputException = class _InvalidInputException extends MachineLearnin
293
307
  $fault: "client",
294
308
  ...opts
295
309
  });
296
- this.name = "InvalidInputException";
297
- this.$fault = "client";
298
310
  Object.setPrototypeOf(this, _InvalidInputException.prototype);
299
311
  this.code = opts.code;
300
312
  }
301
313
  };
302
- __name(_InvalidInputException, "InvalidInputException");
303
- var InvalidInputException = _InvalidInputException;
304
- var _InvalidTagException = class _InvalidTagException extends MachineLearningServiceException {
314
+ var InvalidTagException = class _InvalidTagException extends MachineLearningServiceException {
315
+ static {
316
+ __name(this, "InvalidTagException");
317
+ }
318
+ name = "InvalidTagException";
319
+ $fault = "client";
305
320
  /**
306
321
  * @internal
307
322
  */
@@ -311,14 +326,16 @@ var _InvalidTagException = class _InvalidTagException extends MachineLearningSer
311
326
  $fault: "client",
312
327
  ...opts
313
328
  });
314
- this.name = "InvalidTagException";
315
- this.$fault = "client";
316
329
  Object.setPrototypeOf(this, _InvalidTagException.prototype);
317
330
  }
318
331
  };
319
- __name(_InvalidTagException, "InvalidTagException");
320
- var InvalidTagException = _InvalidTagException;
321
- var _ResourceNotFoundException = class _ResourceNotFoundException extends MachineLearningServiceException {
332
+ var ResourceNotFoundException = class _ResourceNotFoundException extends MachineLearningServiceException {
333
+ static {
334
+ __name(this, "ResourceNotFoundException");
335
+ }
336
+ name = "ResourceNotFoundException";
337
+ $fault = "client";
338
+ code;
322
339
  /**
323
340
  * @internal
324
341
  */
@@ -328,15 +345,16 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Machin
328
345
  $fault: "client",
329
346
  ...opts
330
347
  });
331
- this.name = "ResourceNotFoundException";
332
- this.$fault = "client";
333
348
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
334
349
  this.code = opts.code;
335
350
  }
336
351
  };
337
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
338
- var ResourceNotFoundException = _ResourceNotFoundException;
339
- var _TagLimitExceededException = class _TagLimitExceededException extends MachineLearningServiceException {
352
+ var TagLimitExceededException = class _TagLimitExceededException extends MachineLearningServiceException {
353
+ static {
354
+ __name(this, "TagLimitExceededException");
355
+ }
356
+ name = "TagLimitExceededException";
357
+ $fault = "client";
340
358
  /**
341
359
  * @internal
342
360
  */
@@ -346,17 +364,19 @@ var _TagLimitExceededException = class _TagLimitExceededException extends Machin
346
364
  $fault: "client",
347
365
  ...opts
348
366
  });
349
- this.name = "TagLimitExceededException";
350
- this.$fault = "client";
351
367
  Object.setPrototypeOf(this, _TagLimitExceededException.prototype);
352
368
  }
353
369
  };
354
- __name(_TagLimitExceededException, "TagLimitExceededException");
355
- var TagLimitExceededException = _TagLimitExceededException;
356
370
  var Algorithm = {
357
371
  SGD: "sgd"
358
372
  };
359
- var _IdempotentParameterMismatchException = class _IdempotentParameterMismatchException extends MachineLearningServiceException {
373
+ var IdempotentParameterMismatchException = class _IdempotentParameterMismatchException extends MachineLearningServiceException {
374
+ static {
375
+ __name(this, "IdempotentParameterMismatchException");
376
+ }
377
+ name = "IdempotentParameterMismatchException";
378
+ $fault = "client";
379
+ code;
360
380
  /**
361
381
  * @internal
362
382
  */
@@ -366,14 +386,10 @@ var _IdempotentParameterMismatchException = class _IdempotentParameterMismatchEx
366
386
  $fault: "client",
367
387
  ...opts
368
388
  });
369
- this.name = "IdempotentParameterMismatchException";
370
- this.$fault = "client";
371
389
  Object.setPrototypeOf(this, _IdempotentParameterMismatchException.prototype);
372
390
  this.code = opts.code;
373
391
  }
374
392
  };
375
- __name(_IdempotentParameterMismatchException, "IdempotentParameterMismatchException");
376
- var IdempotentParameterMismatchException = _IdempotentParameterMismatchException;
377
393
  var MLModelType = {
378
394
  BINARY: "BINARY",
379
395
  MULTICLASS: "MULTICLASS",
@@ -436,7 +452,13 @@ var MLModelFilterVariable = {
436
452
  TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
437
453
  TRAINING_DATA_URI: "TrainingDataURI"
438
454
  };
439
- var _LimitExceededException = class _LimitExceededException extends MachineLearningServiceException {
455
+ var LimitExceededException = class _LimitExceededException extends MachineLearningServiceException {
456
+ static {
457
+ __name(this, "LimitExceededException");
458
+ }
459
+ name = "LimitExceededException";
460
+ $fault = "client";
461
+ code;
440
462
  /**
441
463
  * @internal
442
464
  */
@@ -446,15 +468,16 @@ var _LimitExceededException = class _LimitExceededException extends MachineLearn
446
468
  $fault: "client",
447
469
  ...opts
448
470
  });
449
- this.name = "LimitExceededException";
450
- this.$fault = "client";
451
471
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
452
472
  this.code = opts.code;
453
473
  }
454
474
  };
455
- __name(_LimitExceededException, "LimitExceededException");
456
- var LimitExceededException = _LimitExceededException;
457
- var _PredictorNotMountedException = class _PredictorNotMountedException extends MachineLearningServiceException {
475
+ var PredictorNotMountedException = class _PredictorNotMountedException extends MachineLearningServiceException {
476
+ static {
477
+ __name(this, "PredictorNotMountedException");
478
+ }
479
+ name = "PredictorNotMountedException";
480
+ $fault = "client";
458
481
  /**
459
482
  * @internal
460
483
  */
@@ -464,13 +487,9 @@ var _PredictorNotMountedException = class _PredictorNotMountedException extends
464
487
  $fault: "client",
465
488
  ...opts
466
489
  });
467
- this.name = "PredictorNotMountedException";
468
- this.$fault = "client";
469
490
  Object.setPrototypeOf(this, _PredictorNotMountedException.prototype);
470
491
  }
471
492
  };
472
- __name(_PredictorNotMountedException, "PredictorNotMountedException");
473
- var PredictorNotMountedException = _PredictorNotMountedException;
474
493
  var DetailsAttributes = {
475
494
  ALGORITHM: "Algorithm",
476
495
  PREDICTIVE_MODEL_TYPE: "PredictiveModelType"
@@ -1452,395 +1471,423 @@ function sharedHeaders(operation) {
1452
1471
  __name(sharedHeaders, "sharedHeaders");
1453
1472
 
1454
1473
  // src/commands/AddTagsCommand.ts
1455
- var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1474
+ var AddTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1456
1475
  return [
1457
1476
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1458
1477
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1459
1478
  ];
1460
1479
  }).s("AmazonML_20141212", "AddTags", {}).n("MachineLearningClient", "AddTagsCommand").f(void 0, void 0).ser(se_AddTagsCommand).de(de_AddTagsCommand).build() {
1480
+ static {
1481
+ __name(this, "AddTagsCommand");
1482
+ }
1461
1483
  };
1462
- __name(_AddTagsCommand, "AddTagsCommand");
1463
- var AddTagsCommand = _AddTagsCommand;
1464
1484
 
1465
1485
  // src/commands/CreateBatchPredictionCommand.ts
1466
1486
 
1467
1487
 
1468
1488
 
1469
- var _CreateBatchPredictionCommand = class _CreateBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1489
+ var CreateBatchPredictionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1470
1490
  return [
1471
1491
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1472
1492
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1473
1493
  ];
1474
1494
  }).s("AmazonML_20141212", "CreateBatchPrediction", {}).n("MachineLearningClient", "CreateBatchPredictionCommand").f(void 0, void 0).ser(se_CreateBatchPredictionCommand).de(de_CreateBatchPredictionCommand).build() {
1495
+ static {
1496
+ __name(this, "CreateBatchPredictionCommand");
1497
+ }
1475
1498
  };
1476
- __name(_CreateBatchPredictionCommand, "CreateBatchPredictionCommand");
1477
- var CreateBatchPredictionCommand = _CreateBatchPredictionCommand;
1478
1499
 
1479
1500
  // src/commands/CreateDataSourceFromRDSCommand.ts
1480
1501
 
1481
1502
 
1482
1503
 
1483
- var _CreateDataSourceFromRDSCommand = class _CreateDataSourceFromRDSCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1504
+ var CreateDataSourceFromRDSCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1484
1505
  return [
1485
1506
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1486
1507
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1487
1508
  ];
1488
1509
  }).s("AmazonML_20141212", "CreateDataSourceFromRDS", {}).n("MachineLearningClient", "CreateDataSourceFromRDSCommand").f(CreateDataSourceFromRDSInputFilterSensitiveLog, void 0).ser(se_CreateDataSourceFromRDSCommand).de(de_CreateDataSourceFromRDSCommand).build() {
1510
+ static {
1511
+ __name(this, "CreateDataSourceFromRDSCommand");
1512
+ }
1489
1513
  };
1490
- __name(_CreateDataSourceFromRDSCommand, "CreateDataSourceFromRDSCommand");
1491
- var CreateDataSourceFromRDSCommand = _CreateDataSourceFromRDSCommand;
1492
1514
 
1493
1515
  // src/commands/CreateDataSourceFromRedshiftCommand.ts
1494
1516
 
1495
1517
 
1496
1518
 
1497
- var _CreateDataSourceFromRedshiftCommand = class _CreateDataSourceFromRedshiftCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1519
+ var CreateDataSourceFromRedshiftCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1498
1520
  return [
1499
1521
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1500
1522
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1501
1523
  ];
1502
1524
  }).s("AmazonML_20141212", "CreateDataSourceFromRedshift", {}).n("MachineLearningClient", "CreateDataSourceFromRedshiftCommand").f(CreateDataSourceFromRedshiftInputFilterSensitiveLog, void 0).ser(se_CreateDataSourceFromRedshiftCommand).de(de_CreateDataSourceFromRedshiftCommand).build() {
1525
+ static {
1526
+ __name(this, "CreateDataSourceFromRedshiftCommand");
1527
+ }
1503
1528
  };
1504
- __name(_CreateDataSourceFromRedshiftCommand, "CreateDataSourceFromRedshiftCommand");
1505
- var CreateDataSourceFromRedshiftCommand = _CreateDataSourceFromRedshiftCommand;
1506
1529
 
1507
1530
  // src/commands/CreateDataSourceFromS3Command.ts
1508
1531
 
1509
1532
 
1510
1533
 
1511
- var _CreateDataSourceFromS3Command = class _CreateDataSourceFromS3Command extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1534
+ var CreateDataSourceFromS3Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1512
1535
  return [
1513
1536
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1514
1537
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1515
1538
  ];
1516
1539
  }).s("AmazonML_20141212", "CreateDataSourceFromS3", {}).n("MachineLearningClient", "CreateDataSourceFromS3Command").f(void 0, void 0).ser(se_CreateDataSourceFromS3Command).de(de_CreateDataSourceFromS3Command).build() {
1540
+ static {
1541
+ __name(this, "CreateDataSourceFromS3Command");
1542
+ }
1517
1543
  };
1518
- __name(_CreateDataSourceFromS3Command, "CreateDataSourceFromS3Command");
1519
- var CreateDataSourceFromS3Command = _CreateDataSourceFromS3Command;
1520
1544
 
1521
1545
  // src/commands/CreateEvaluationCommand.ts
1522
1546
 
1523
1547
 
1524
1548
 
1525
- var _CreateEvaluationCommand = class _CreateEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1549
+ var CreateEvaluationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1526
1550
  return [
1527
1551
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1528
1552
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1529
1553
  ];
1530
1554
  }).s("AmazonML_20141212", "CreateEvaluation", {}).n("MachineLearningClient", "CreateEvaluationCommand").f(void 0, void 0).ser(se_CreateEvaluationCommand).de(de_CreateEvaluationCommand).build() {
1555
+ static {
1556
+ __name(this, "CreateEvaluationCommand");
1557
+ }
1531
1558
  };
1532
- __name(_CreateEvaluationCommand, "CreateEvaluationCommand");
1533
- var CreateEvaluationCommand = _CreateEvaluationCommand;
1534
1559
 
1535
1560
  // src/commands/CreateMLModelCommand.ts
1536
1561
 
1537
1562
 
1538
1563
 
1539
- var _CreateMLModelCommand = class _CreateMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1564
+ var CreateMLModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1540
1565
  return [
1541
1566
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1542
1567
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1543
1568
  ];
1544
1569
  }).s("AmazonML_20141212", "CreateMLModel", {}).n("MachineLearningClient", "CreateMLModelCommand").f(void 0, void 0).ser(se_CreateMLModelCommand).de(de_CreateMLModelCommand).build() {
1570
+ static {
1571
+ __name(this, "CreateMLModelCommand");
1572
+ }
1545
1573
  };
1546
- __name(_CreateMLModelCommand, "CreateMLModelCommand");
1547
- var CreateMLModelCommand = _CreateMLModelCommand;
1548
1574
 
1549
1575
  // src/commands/CreateRealtimeEndpointCommand.ts
1550
1576
 
1551
1577
 
1552
1578
 
1553
- var _CreateRealtimeEndpointCommand = class _CreateRealtimeEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1579
+ var CreateRealtimeEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1554
1580
  return [
1555
1581
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1556
1582
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1557
1583
  ];
1558
1584
  }).s("AmazonML_20141212", "CreateRealtimeEndpoint", {}).n("MachineLearningClient", "CreateRealtimeEndpointCommand").f(void 0, void 0).ser(se_CreateRealtimeEndpointCommand).de(de_CreateRealtimeEndpointCommand).build() {
1585
+ static {
1586
+ __name(this, "CreateRealtimeEndpointCommand");
1587
+ }
1559
1588
  };
1560
- __name(_CreateRealtimeEndpointCommand, "CreateRealtimeEndpointCommand");
1561
- var CreateRealtimeEndpointCommand = _CreateRealtimeEndpointCommand;
1562
1589
 
1563
1590
  // src/commands/DeleteBatchPredictionCommand.ts
1564
1591
 
1565
1592
 
1566
1593
 
1567
- var _DeleteBatchPredictionCommand = class _DeleteBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1594
+ var DeleteBatchPredictionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1568
1595
  return [
1569
1596
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1570
1597
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1571
1598
  ];
1572
1599
  }).s("AmazonML_20141212", "DeleteBatchPrediction", {}).n("MachineLearningClient", "DeleteBatchPredictionCommand").f(void 0, void 0).ser(se_DeleteBatchPredictionCommand).de(de_DeleteBatchPredictionCommand).build() {
1600
+ static {
1601
+ __name(this, "DeleteBatchPredictionCommand");
1602
+ }
1573
1603
  };
1574
- __name(_DeleteBatchPredictionCommand, "DeleteBatchPredictionCommand");
1575
- var DeleteBatchPredictionCommand = _DeleteBatchPredictionCommand;
1576
1604
 
1577
1605
  // src/commands/DeleteDataSourceCommand.ts
1578
1606
 
1579
1607
 
1580
1608
 
1581
- var _DeleteDataSourceCommand = class _DeleteDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1609
+ var DeleteDataSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1582
1610
  return [
1583
1611
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1584
1612
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1585
1613
  ];
1586
1614
  }).s("AmazonML_20141212", "DeleteDataSource", {}).n("MachineLearningClient", "DeleteDataSourceCommand").f(void 0, void 0).ser(se_DeleteDataSourceCommand).de(de_DeleteDataSourceCommand).build() {
1615
+ static {
1616
+ __name(this, "DeleteDataSourceCommand");
1617
+ }
1587
1618
  };
1588
- __name(_DeleteDataSourceCommand, "DeleteDataSourceCommand");
1589
- var DeleteDataSourceCommand = _DeleteDataSourceCommand;
1590
1619
 
1591
1620
  // src/commands/DeleteEvaluationCommand.ts
1592
1621
 
1593
1622
 
1594
1623
 
1595
- var _DeleteEvaluationCommand = class _DeleteEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1624
+ var DeleteEvaluationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1596
1625
  return [
1597
1626
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1598
1627
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1599
1628
  ];
1600
1629
  }).s("AmazonML_20141212", "DeleteEvaluation", {}).n("MachineLearningClient", "DeleteEvaluationCommand").f(void 0, void 0).ser(se_DeleteEvaluationCommand).de(de_DeleteEvaluationCommand).build() {
1630
+ static {
1631
+ __name(this, "DeleteEvaluationCommand");
1632
+ }
1601
1633
  };
1602
- __name(_DeleteEvaluationCommand, "DeleteEvaluationCommand");
1603
- var DeleteEvaluationCommand = _DeleteEvaluationCommand;
1604
1634
 
1605
1635
  // src/commands/DeleteMLModelCommand.ts
1606
1636
 
1607
1637
 
1608
1638
 
1609
- var _DeleteMLModelCommand = class _DeleteMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1639
+ var DeleteMLModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1610
1640
  return [
1611
1641
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1612
1642
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1613
1643
  ];
1614
1644
  }).s("AmazonML_20141212", "DeleteMLModel", {}).n("MachineLearningClient", "DeleteMLModelCommand").f(void 0, void 0).ser(se_DeleteMLModelCommand).de(de_DeleteMLModelCommand).build() {
1645
+ static {
1646
+ __name(this, "DeleteMLModelCommand");
1647
+ }
1615
1648
  };
1616
- __name(_DeleteMLModelCommand, "DeleteMLModelCommand");
1617
- var DeleteMLModelCommand = _DeleteMLModelCommand;
1618
1649
 
1619
1650
  // src/commands/DeleteRealtimeEndpointCommand.ts
1620
1651
 
1621
1652
 
1622
1653
 
1623
- var _DeleteRealtimeEndpointCommand = class _DeleteRealtimeEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1654
+ var DeleteRealtimeEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1624
1655
  return [
1625
1656
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1626
1657
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1627
1658
  ];
1628
1659
  }).s("AmazonML_20141212", "DeleteRealtimeEndpoint", {}).n("MachineLearningClient", "DeleteRealtimeEndpointCommand").f(void 0, void 0).ser(se_DeleteRealtimeEndpointCommand).de(de_DeleteRealtimeEndpointCommand).build() {
1660
+ static {
1661
+ __name(this, "DeleteRealtimeEndpointCommand");
1662
+ }
1629
1663
  };
1630
- __name(_DeleteRealtimeEndpointCommand, "DeleteRealtimeEndpointCommand");
1631
- var DeleteRealtimeEndpointCommand = _DeleteRealtimeEndpointCommand;
1632
1664
 
1633
1665
  // src/commands/DeleteTagsCommand.ts
1634
1666
 
1635
1667
 
1636
1668
 
1637
- var _DeleteTagsCommand = class _DeleteTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1669
+ var DeleteTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1638
1670
  return [
1639
1671
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1640
1672
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1641
1673
  ];
1642
1674
  }).s("AmazonML_20141212", "DeleteTags", {}).n("MachineLearningClient", "DeleteTagsCommand").f(void 0, void 0).ser(se_DeleteTagsCommand).de(de_DeleteTagsCommand).build() {
1675
+ static {
1676
+ __name(this, "DeleteTagsCommand");
1677
+ }
1643
1678
  };
1644
- __name(_DeleteTagsCommand, "DeleteTagsCommand");
1645
- var DeleteTagsCommand = _DeleteTagsCommand;
1646
1679
 
1647
1680
  // src/commands/DescribeBatchPredictionsCommand.ts
1648
1681
 
1649
1682
 
1650
1683
 
1651
- var _DescribeBatchPredictionsCommand = class _DescribeBatchPredictionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1684
+ var DescribeBatchPredictionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1652
1685
  return [
1653
1686
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1654
1687
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1655
1688
  ];
1656
1689
  }).s("AmazonML_20141212", "DescribeBatchPredictions", {}).n("MachineLearningClient", "DescribeBatchPredictionsCommand").f(void 0, void 0).ser(se_DescribeBatchPredictionsCommand).de(de_DescribeBatchPredictionsCommand).build() {
1690
+ static {
1691
+ __name(this, "DescribeBatchPredictionsCommand");
1692
+ }
1657
1693
  };
1658
- __name(_DescribeBatchPredictionsCommand, "DescribeBatchPredictionsCommand");
1659
- var DescribeBatchPredictionsCommand = _DescribeBatchPredictionsCommand;
1660
1694
 
1661
1695
  // src/commands/DescribeDataSourcesCommand.ts
1662
1696
 
1663
1697
 
1664
1698
 
1665
- var _DescribeDataSourcesCommand = class _DescribeDataSourcesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1699
+ var DescribeDataSourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1666
1700
  return [
1667
1701
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1668
1702
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1669
1703
  ];
1670
1704
  }).s("AmazonML_20141212", "DescribeDataSources", {}).n("MachineLearningClient", "DescribeDataSourcesCommand").f(void 0, void 0).ser(se_DescribeDataSourcesCommand).de(de_DescribeDataSourcesCommand).build() {
1705
+ static {
1706
+ __name(this, "DescribeDataSourcesCommand");
1707
+ }
1671
1708
  };
1672
- __name(_DescribeDataSourcesCommand, "DescribeDataSourcesCommand");
1673
- var DescribeDataSourcesCommand = _DescribeDataSourcesCommand;
1674
1709
 
1675
1710
  // src/commands/DescribeEvaluationsCommand.ts
1676
1711
 
1677
1712
 
1678
1713
 
1679
- var _DescribeEvaluationsCommand = class _DescribeEvaluationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1714
+ var DescribeEvaluationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1680
1715
  return [
1681
1716
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1682
1717
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1683
1718
  ];
1684
1719
  }).s("AmazonML_20141212", "DescribeEvaluations", {}).n("MachineLearningClient", "DescribeEvaluationsCommand").f(void 0, void 0).ser(se_DescribeEvaluationsCommand).de(de_DescribeEvaluationsCommand).build() {
1720
+ static {
1721
+ __name(this, "DescribeEvaluationsCommand");
1722
+ }
1685
1723
  };
1686
- __name(_DescribeEvaluationsCommand, "DescribeEvaluationsCommand");
1687
- var DescribeEvaluationsCommand = _DescribeEvaluationsCommand;
1688
1724
 
1689
1725
  // src/commands/DescribeMLModelsCommand.ts
1690
1726
 
1691
1727
 
1692
1728
 
1693
- var _DescribeMLModelsCommand = class _DescribeMLModelsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1729
+ var DescribeMLModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1694
1730
  return [
1695
1731
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1696
1732
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1697
1733
  ];
1698
1734
  }).s("AmazonML_20141212", "DescribeMLModels", {}).n("MachineLearningClient", "DescribeMLModelsCommand").f(void 0, void 0).ser(se_DescribeMLModelsCommand).de(de_DescribeMLModelsCommand).build() {
1735
+ static {
1736
+ __name(this, "DescribeMLModelsCommand");
1737
+ }
1699
1738
  };
1700
- __name(_DescribeMLModelsCommand, "DescribeMLModelsCommand");
1701
- var DescribeMLModelsCommand = _DescribeMLModelsCommand;
1702
1739
 
1703
1740
  // src/commands/DescribeTagsCommand.ts
1704
1741
 
1705
1742
 
1706
1743
 
1707
- var _DescribeTagsCommand = class _DescribeTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1744
+ var DescribeTagsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1708
1745
  return [
1709
1746
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1710
1747
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1711
1748
  ];
1712
1749
  }).s("AmazonML_20141212", "DescribeTags", {}).n("MachineLearningClient", "DescribeTagsCommand").f(void 0, void 0).ser(se_DescribeTagsCommand).de(de_DescribeTagsCommand).build() {
1750
+ static {
1751
+ __name(this, "DescribeTagsCommand");
1752
+ }
1713
1753
  };
1714
- __name(_DescribeTagsCommand, "DescribeTagsCommand");
1715
- var DescribeTagsCommand = _DescribeTagsCommand;
1716
1754
 
1717
1755
  // src/commands/GetBatchPredictionCommand.ts
1718
1756
 
1719
1757
 
1720
1758
 
1721
- var _GetBatchPredictionCommand = class _GetBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1759
+ var GetBatchPredictionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1722
1760
  return [
1723
1761
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1724
1762
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1725
1763
  ];
1726
1764
  }).s("AmazonML_20141212", "GetBatchPrediction", {}).n("MachineLearningClient", "GetBatchPredictionCommand").f(void 0, void 0).ser(se_GetBatchPredictionCommand).de(de_GetBatchPredictionCommand).build() {
1765
+ static {
1766
+ __name(this, "GetBatchPredictionCommand");
1767
+ }
1727
1768
  };
1728
- __name(_GetBatchPredictionCommand, "GetBatchPredictionCommand");
1729
- var GetBatchPredictionCommand = _GetBatchPredictionCommand;
1730
1769
 
1731
1770
  // src/commands/GetDataSourceCommand.ts
1732
1771
 
1733
1772
 
1734
1773
 
1735
- var _GetDataSourceCommand = class _GetDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1774
+ var GetDataSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1736
1775
  return [
1737
1776
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1738
1777
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1739
1778
  ];
1740
1779
  }).s("AmazonML_20141212", "GetDataSource", {}).n("MachineLearningClient", "GetDataSourceCommand").f(void 0, void 0).ser(se_GetDataSourceCommand).de(de_GetDataSourceCommand).build() {
1780
+ static {
1781
+ __name(this, "GetDataSourceCommand");
1782
+ }
1741
1783
  };
1742
- __name(_GetDataSourceCommand, "GetDataSourceCommand");
1743
- var GetDataSourceCommand = _GetDataSourceCommand;
1744
1784
 
1745
1785
  // src/commands/GetEvaluationCommand.ts
1746
1786
 
1747
1787
 
1748
1788
 
1749
- var _GetEvaluationCommand = class _GetEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1789
+ var GetEvaluationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1750
1790
  return [
1751
1791
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1752
1792
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1753
1793
  ];
1754
1794
  }).s("AmazonML_20141212", "GetEvaluation", {}).n("MachineLearningClient", "GetEvaluationCommand").f(void 0, void 0).ser(se_GetEvaluationCommand).de(de_GetEvaluationCommand).build() {
1795
+ static {
1796
+ __name(this, "GetEvaluationCommand");
1797
+ }
1755
1798
  };
1756
- __name(_GetEvaluationCommand, "GetEvaluationCommand");
1757
- var GetEvaluationCommand = _GetEvaluationCommand;
1758
1799
 
1759
1800
  // src/commands/GetMLModelCommand.ts
1760
1801
 
1761
1802
 
1762
1803
 
1763
- var _GetMLModelCommand = class _GetMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1804
+ var GetMLModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1764
1805
  return [
1765
1806
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1766
1807
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1767
1808
  ];
1768
1809
  }).s("AmazonML_20141212", "GetMLModel", {}).n("MachineLearningClient", "GetMLModelCommand").f(void 0, void 0).ser(se_GetMLModelCommand).de(de_GetMLModelCommand).build() {
1810
+ static {
1811
+ __name(this, "GetMLModelCommand");
1812
+ }
1769
1813
  };
1770
- __name(_GetMLModelCommand, "GetMLModelCommand");
1771
- var GetMLModelCommand = _GetMLModelCommand;
1772
1814
 
1773
1815
  // src/commands/PredictCommand.ts
1774
1816
  var import_middleware_sdk_machinelearning = require("@aws-sdk/middleware-sdk-machinelearning");
1775
1817
 
1776
1818
 
1777
1819
 
1778
- var _PredictCommand = class _PredictCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1820
+ var PredictCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1779
1821
  return [
1780
1822
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1781
1823
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
1782
1824
  (0, import_middleware_sdk_machinelearning.getPredictEndpointPlugin)(config)
1783
1825
  ];
1784
1826
  }).s("AmazonML_20141212", "Predict", {}).n("MachineLearningClient", "PredictCommand").f(void 0, void 0).ser(se_PredictCommand).de(de_PredictCommand).build() {
1827
+ static {
1828
+ __name(this, "PredictCommand");
1829
+ }
1785
1830
  };
1786
- __name(_PredictCommand, "PredictCommand");
1787
- var PredictCommand = _PredictCommand;
1788
1831
 
1789
1832
  // src/commands/UpdateBatchPredictionCommand.ts
1790
1833
 
1791
1834
 
1792
1835
 
1793
- var _UpdateBatchPredictionCommand = class _UpdateBatchPredictionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1836
+ var UpdateBatchPredictionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1794
1837
  return [
1795
1838
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1796
1839
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1797
1840
  ];
1798
1841
  }).s("AmazonML_20141212", "UpdateBatchPrediction", {}).n("MachineLearningClient", "UpdateBatchPredictionCommand").f(void 0, void 0).ser(se_UpdateBatchPredictionCommand).de(de_UpdateBatchPredictionCommand).build() {
1842
+ static {
1843
+ __name(this, "UpdateBatchPredictionCommand");
1844
+ }
1799
1845
  };
1800
- __name(_UpdateBatchPredictionCommand, "UpdateBatchPredictionCommand");
1801
- var UpdateBatchPredictionCommand = _UpdateBatchPredictionCommand;
1802
1846
 
1803
1847
  // src/commands/UpdateDataSourceCommand.ts
1804
1848
 
1805
1849
 
1806
1850
 
1807
- var _UpdateDataSourceCommand = class _UpdateDataSourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1851
+ var UpdateDataSourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1808
1852
  return [
1809
1853
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1810
1854
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1811
1855
  ];
1812
1856
  }).s("AmazonML_20141212", "UpdateDataSource", {}).n("MachineLearningClient", "UpdateDataSourceCommand").f(void 0, void 0).ser(se_UpdateDataSourceCommand).de(de_UpdateDataSourceCommand).build() {
1857
+ static {
1858
+ __name(this, "UpdateDataSourceCommand");
1859
+ }
1813
1860
  };
1814
- __name(_UpdateDataSourceCommand, "UpdateDataSourceCommand");
1815
- var UpdateDataSourceCommand = _UpdateDataSourceCommand;
1816
1861
 
1817
1862
  // src/commands/UpdateEvaluationCommand.ts
1818
1863
 
1819
1864
 
1820
1865
 
1821
- var _UpdateEvaluationCommand = class _UpdateEvaluationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1866
+ var UpdateEvaluationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1822
1867
  return [
1823
1868
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1824
1869
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1825
1870
  ];
1826
1871
  }).s("AmazonML_20141212", "UpdateEvaluation", {}).n("MachineLearningClient", "UpdateEvaluationCommand").f(void 0, void 0).ser(se_UpdateEvaluationCommand).de(de_UpdateEvaluationCommand).build() {
1872
+ static {
1873
+ __name(this, "UpdateEvaluationCommand");
1874
+ }
1827
1875
  };
1828
- __name(_UpdateEvaluationCommand, "UpdateEvaluationCommand");
1829
- var UpdateEvaluationCommand = _UpdateEvaluationCommand;
1830
1876
 
1831
1877
  // src/commands/UpdateMLModelCommand.ts
1832
1878
 
1833
1879
 
1834
1880
 
1835
- var _UpdateMLModelCommand = class _UpdateMLModelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1881
+ var UpdateMLModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1836
1882
  return [
1837
1883
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1838
1884
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1839
1885
  ];
1840
1886
  }).s("AmazonML_20141212", "UpdateMLModel", {}).n("MachineLearningClient", "UpdateMLModelCommand").f(void 0, void 0).ser(se_UpdateMLModelCommand).de(de_UpdateMLModelCommand).build() {
1887
+ static {
1888
+ __name(this, "UpdateMLModelCommand");
1889
+ }
1841
1890
  };
1842
- __name(_UpdateMLModelCommand, "UpdateMLModelCommand");
1843
- var UpdateMLModelCommand = _UpdateMLModelCommand;
1844
1891
 
1845
1892
  // src/MachineLearning.ts
1846
1893
  var commands = {
@@ -1873,10 +1920,11 @@ var commands = {
1873
1920
  UpdateEvaluationCommand,
1874
1921
  UpdateMLModelCommand
1875
1922
  };
1876
- var _MachineLearning = class _MachineLearning extends MachineLearningClient {
1923
+ var MachineLearning = class extends MachineLearningClient {
1924
+ static {
1925
+ __name(this, "MachineLearning");
1926
+ }
1877
1927
  };
1878
- __name(_MachineLearning, "MachineLearning");
1879
- var MachineLearning = _MachineLearning;
1880
1928
  (0, import_smithy_client.createAggregatedClient)(commands, MachineLearning);
1881
1929
 
1882
1930
  // src/pagination/DescribeBatchPredictionsPaginator.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 MachineLearningClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -7,65 +7,68 @@ export const TaggableResourceType = {
7
7
  ML_MODEL: "MLModel",
8
8
  };
9
9
  export class InternalServerException extends __BaseException {
10
+ name = "InternalServerException";
11
+ $fault = "server";
12
+ code;
10
13
  constructor(opts) {
11
14
  super({
12
15
  name: "InternalServerException",
13
16
  $fault: "server",
14
17
  ...opts,
15
18
  });
16
- this.name = "InternalServerException";
17
- this.$fault = "server";
18
19
  Object.setPrototypeOf(this, InternalServerException.prototype);
19
20
  this.code = opts.code;
20
21
  }
21
22
  }
22
23
  export class InvalidInputException extends __BaseException {
24
+ name = "InvalidInputException";
25
+ $fault = "client";
26
+ code;
23
27
  constructor(opts) {
24
28
  super({
25
29
  name: "InvalidInputException",
26
30
  $fault: "client",
27
31
  ...opts,
28
32
  });
29
- this.name = "InvalidInputException";
30
- this.$fault = "client";
31
33
  Object.setPrototypeOf(this, InvalidInputException.prototype);
32
34
  this.code = opts.code;
33
35
  }
34
36
  }
35
37
  export class InvalidTagException extends __BaseException {
38
+ name = "InvalidTagException";
39
+ $fault = "client";
36
40
  constructor(opts) {
37
41
  super({
38
42
  name: "InvalidTagException",
39
43
  $fault: "client",
40
44
  ...opts,
41
45
  });
42
- this.name = "InvalidTagException";
43
- this.$fault = "client";
44
46
  Object.setPrototypeOf(this, InvalidTagException.prototype);
45
47
  }
46
48
  }
47
49
  export class ResourceNotFoundException extends __BaseException {
50
+ name = "ResourceNotFoundException";
51
+ $fault = "client";
52
+ code;
48
53
  constructor(opts) {
49
54
  super({
50
55
  name: "ResourceNotFoundException",
51
56
  $fault: "client",
52
57
  ...opts,
53
58
  });
54
- this.name = "ResourceNotFoundException";
55
- this.$fault = "client";
56
59
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
57
60
  this.code = opts.code;
58
61
  }
59
62
  }
60
63
  export class TagLimitExceededException extends __BaseException {
64
+ name = "TagLimitExceededException";
65
+ $fault = "client";
61
66
  constructor(opts) {
62
67
  super({
63
68
  name: "TagLimitExceededException",
64
69
  $fault: "client",
65
70
  ...opts,
66
71
  });
67
- this.name = "TagLimitExceededException";
68
- this.$fault = "client";
69
72
  Object.setPrototypeOf(this, TagLimitExceededException.prototype);
70
73
  }
71
74
  }
@@ -73,14 +76,15 @@ export const Algorithm = {
73
76
  SGD: "sgd",
74
77
  };
75
78
  export class IdempotentParameterMismatchException extends __BaseException {
79
+ name = "IdempotentParameterMismatchException";
80
+ $fault = "client";
81
+ code;
76
82
  constructor(opts) {
77
83
  super({
78
84
  name: "IdempotentParameterMismatchException",
79
85
  $fault: "client",
80
86
  ...opts,
81
87
  });
82
- this.name = "IdempotentParameterMismatchException";
83
- this.$fault = "client";
84
88
  Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
85
89
  this.code = opts.code;
86
90
  }
@@ -148,27 +152,28 @@ export const MLModelFilterVariable = {
148
152
  TRAINING_DATA_URI: "TrainingDataURI",
149
153
  };
150
154
  export class LimitExceededException extends __BaseException {
155
+ name = "LimitExceededException";
156
+ $fault = "client";
157
+ code;
151
158
  constructor(opts) {
152
159
  super({
153
160
  name: "LimitExceededException",
154
161
  $fault: "client",
155
162
  ...opts,
156
163
  });
157
- this.name = "LimitExceededException";
158
- this.$fault = "client";
159
164
  Object.setPrototypeOf(this, LimitExceededException.prototype);
160
165
  this.code = opts.code;
161
166
  }
162
167
  }
163
168
  export class PredictorNotMountedException extends __BaseException {
169
+ name = "PredictorNotMountedException";
170
+ $fault = "client";
164
171
  constructor(opts) {
165
172
  super({
166
173
  name: "PredictorNotMountedException",
167
174
  $fault: "client",
168
175
  ...opts,
169
176
  });
170
- this.name = "PredictorNotMountedException";
171
- this.$fault = "client";
172
177
  Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
173
178
  }
174
179
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: MachineLearningClientConfig) =>
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: MachineLearningClientConfig) =>
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: MachineLearningClientConfig) =>
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: MachineLearningClientConfig) =>
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-machine-learning",
3
3
  "description": "AWS SDK for JavaScript Machine Learning 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-machine-learning",
@@ -20,58 +20,58 @@
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-sdk-machinelearning": "3.714.0",
31
- "@aws-sdk/middleware-user-agent": "3.721.0",
32
- "@aws-sdk/region-config-resolver": "3.714.0",
33
- "@aws-sdk/types": "3.714.0",
34
- "@aws-sdk/util-endpoints": "3.714.0",
35
- "@aws-sdk/util-user-agent-browser": "3.714.0",
36
- "@aws-sdk/util-user-agent-node": "3.721.0",
37
- "@smithy/config-resolver": "^3.0.13",
38
- "@smithy/core": "^2.5.5",
39
- "@smithy/fetch-http-handler": "^4.1.2",
40
- "@smithy/hash-node": "^3.0.11",
41
- "@smithy/invalid-dependency": "^3.0.11",
42
- "@smithy/middleware-content-length": "^3.0.13",
43
- "@smithy/middleware-endpoint": "^3.2.6",
44
- "@smithy/middleware-retry": "^3.0.31",
45
- "@smithy/middleware-serde": "^3.0.11",
46
- "@smithy/middleware-stack": "^3.0.11",
47
- "@smithy/node-config-provider": "^3.1.12",
48
- "@smithy/node-http-handler": "^3.3.2",
49
- "@smithy/protocol-http": "^4.1.8",
50
- "@smithy/smithy-client": "^3.5.1",
51
- "@smithy/types": "^3.7.2",
52
- "@smithy/url-parser": "^3.0.11",
53
- "@smithy/util-base64": "^3.0.0",
54
- "@smithy/util-body-length-browser": "^3.0.0",
55
- "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.31",
57
- "@smithy/util-defaults-mode-node": "^3.0.31",
58
- "@smithy/util-endpoints": "^2.1.7",
59
- "@smithy/util-middleware": "^3.0.11",
60
- "@smithy/util-retry": "^3.0.11",
61
- "@smithy/util-utf8": "^3.0.0",
62
- "@smithy/util-waiter": "^3.2.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-sdk-machinelearning": "3.723.0",
31
+ "@aws-sdk/middleware-user-agent": "3.726.0",
32
+ "@aws-sdk/region-config-resolver": "3.723.0",
33
+ "@aws-sdk/types": "3.723.0",
34
+ "@aws-sdk/util-endpoints": "3.726.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
36
+ "@aws-sdk/util-user-agent-node": "3.726.0",
37
+ "@smithy/config-resolver": "^4.0.0",
38
+ "@smithy/core": "^3.0.0",
39
+ "@smithy/fetch-http-handler": "^5.0.0",
40
+ "@smithy/hash-node": "^4.0.0",
41
+ "@smithy/invalid-dependency": "^4.0.0",
42
+ "@smithy/middleware-content-length": "^4.0.0",
43
+ "@smithy/middleware-endpoint": "^4.0.0",
44
+ "@smithy/middleware-retry": "^4.0.0",
45
+ "@smithy/middleware-serde": "^4.0.0",
46
+ "@smithy/middleware-stack": "^4.0.0",
47
+ "@smithy/node-config-provider": "^4.0.0",
48
+ "@smithy/node-http-handler": "^4.0.0",
49
+ "@smithy/protocol-http": "^5.0.0",
50
+ "@smithy/smithy-client": "^4.0.0",
51
+ "@smithy/types": "^4.0.0",
52
+ "@smithy/url-parser": "^4.0.0",
53
+ "@smithy/util-base64": "^4.0.0",
54
+ "@smithy/util-body-length-browser": "^4.0.0",
55
+ "@smithy/util-body-length-node": "^4.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
57
+ "@smithy/util-defaults-mode-node": "^4.0.0",
58
+ "@smithy/util-endpoints": "^3.0.0",
59
+ "@smithy/util-middleware": "^4.0.0",
60
+ "@smithy/util-retry": "^4.0.0",
61
+ "@smithy/util-utf8": "^4.0.0",
62
+ "@smithy/util-waiter": "^4.0.0",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {