@aws-sdk/client-machine-learning 3.927.0 → 3.929.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.
Files changed (52) hide show
  1. package/dist-cjs/index.js +828 -1209
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/MachineLearningClient.js +2 -0
  4. package/dist-es/commands/AddTagsCommand.js +3 -9
  5. package/dist-es/commands/CreateBatchPredictionCommand.js +3 -9
  6. package/dist-es/commands/CreateDataSourceFromRDSCommand.js +3 -10
  7. package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +3 -10
  8. package/dist-es/commands/CreateDataSourceFromS3Command.js +3 -9
  9. package/dist-es/commands/CreateEvaluationCommand.js +3 -9
  10. package/dist-es/commands/CreateMLModelCommand.js +3 -9
  11. package/dist-es/commands/CreateRealtimeEndpointCommand.js +3 -9
  12. package/dist-es/commands/DeleteBatchPredictionCommand.js +3 -9
  13. package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
  14. package/dist-es/commands/DeleteEvaluationCommand.js +3 -9
  15. package/dist-es/commands/DeleteMLModelCommand.js +3 -9
  16. package/dist-es/commands/DeleteRealtimeEndpointCommand.js +3 -9
  17. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  18. package/dist-es/commands/DescribeBatchPredictionsCommand.js +3 -9
  19. package/dist-es/commands/DescribeDataSourcesCommand.js +3 -9
  20. package/dist-es/commands/DescribeEvaluationsCommand.js +3 -9
  21. package/dist-es/commands/DescribeMLModelsCommand.js +3 -9
  22. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  23. package/dist-es/commands/GetBatchPredictionCommand.js +3 -9
  24. package/dist-es/commands/GetDataSourceCommand.js +3 -9
  25. package/dist-es/commands/GetEvaluationCommand.js +3 -9
  26. package/dist-es/commands/GetMLModelCommand.js +3 -9
  27. package/dist-es/commands/PredictCommand.js +3 -10
  28. package/dist-es/commands/UpdateBatchPredictionCommand.js +3 -9
  29. package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
  30. package/dist-es/commands/UpdateEvaluationCommand.js +3 -9
  31. package/dist-es/commands/UpdateMLModelCommand.js +3 -9
  32. package/dist-es/models/models_0.js +0 -29
  33. package/dist-es/runtimeConfig.shared.js +7 -0
  34. package/dist-es/schemas/schemas_0.js +754 -0
  35. package/dist-types/MachineLearningClient.d.ts +10 -1
  36. package/dist-types/models/models_0.d.ts +0 -24
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/runtimeConfig.d.ts +1 -0
  39. package/dist-types/runtimeConfig.native.d.ts +1 -0
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  41. package/dist-types/schemas/schemas_0.d.ts +126 -0
  42. package/dist-types/ts3.4/MachineLearningClient.d.ts +4 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +0 -16
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +132 -0
  49. package/package.json +5 -5
  50. package/dist-es/protocols/Aws_json1_1.js +0 -958
  51. package/dist-types/protocols/Aws_json1_1.d.ts +0 -254
  52. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -341
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
  var middlewareSdkMachinelearning = require('@aws-sdk/middleware-sdk-machinelearning');
20
19
  var utilWaiter = require('@smithy/util-waiter');
21
20
 
@@ -93,6 +92,7 @@ class MachineLearningClient extends smithyClient.Client {
93
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
94
  this.config = _config_8;
95
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
97
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
98
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,12 +112,12 @@ class MachineLearningClient extends smithyClient.Client {
112
112
  }
113
113
  }
114
114
 
115
- class MachineLearningServiceException extends smithyClient.ServiceException {
115
+ let MachineLearningServiceException$1 = class MachineLearningServiceException extends smithyClient.ServiceException {
116
116
  constructor(options) {
117
117
  super(options);
118
118
  Object.setPrototypeOf(this, MachineLearningServiceException.prototype);
119
119
  }
120
- }
120
+ };
121
121
 
122
122
  const TaggableResourceType = {
123
123
  BATCH_PREDICTION: "BatchPrediction",
@@ -125,7 +125,7 @@ const TaggableResourceType = {
125
125
  EVALUATION: "Evaluation",
126
126
  ML_MODEL: "MLModel",
127
127
  };
128
- class InternalServerException extends MachineLearningServiceException {
128
+ let InternalServerException$1 = class InternalServerException extends MachineLearningServiceException$1 {
129
129
  name = "InternalServerException";
130
130
  $fault = "server";
131
131
  code;
@@ -138,8 +138,8 @@ class InternalServerException extends MachineLearningServiceException {
138
138
  Object.setPrototypeOf(this, InternalServerException.prototype);
139
139
  this.code = opts.code;
140
140
  }
141
- }
142
- class InvalidInputException extends MachineLearningServiceException {
141
+ };
142
+ let InvalidInputException$1 = class InvalidInputException extends MachineLearningServiceException$1 {
143
143
  name = "InvalidInputException";
144
144
  $fault = "client";
145
145
  code;
@@ -152,8 +152,8 @@ class InvalidInputException extends MachineLearningServiceException {
152
152
  Object.setPrototypeOf(this, InvalidInputException.prototype);
153
153
  this.code = opts.code;
154
154
  }
155
- }
156
- class InvalidTagException extends MachineLearningServiceException {
155
+ };
156
+ let InvalidTagException$1 = class InvalidTagException extends MachineLearningServiceException$1 {
157
157
  name = "InvalidTagException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ class InvalidTagException extends MachineLearningServiceException {
164
164
  });
165
165
  Object.setPrototypeOf(this, InvalidTagException.prototype);
166
166
  }
167
- }
168
- class ResourceNotFoundException extends MachineLearningServiceException {
167
+ };
168
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MachineLearningServiceException$1 {
169
169
  name = "ResourceNotFoundException";
170
170
  $fault = "client";
171
171
  code;
@@ -178,8 +178,8 @@ class ResourceNotFoundException extends MachineLearningServiceException {
178
178
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
179
179
  this.code = opts.code;
180
180
  }
181
- }
182
- class TagLimitExceededException extends MachineLearningServiceException {
181
+ };
182
+ let TagLimitExceededException$1 = class TagLimitExceededException extends MachineLearningServiceException$1 {
183
183
  name = "TagLimitExceededException";
184
184
  $fault = "client";
185
185
  constructor(opts) {
@@ -190,11 +190,11 @@ class TagLimitExceededException extends MachineLearningServiceException {
190
190
  });
191
191
  Object.setPrototypeOf(this, TagLimitExceededException.prototype);
192
192
  }
193
- }
193
+ };
194
194
  const Algorithm = {
195
195
  SGD: "sgd",
196
196
  };
197
- class IdempotentParameterMismatchException extends MachineLearningServiceException {
197
+ let IdempotentParameterMismatchException$1 = class IdempotentParameterMismatchException extends MachineLearningServiceException$1 {
198
198
  name = "IdempotentParameterMismatchException";
199
199
  $fault = "client";
200
200
  code;
@@ -207,7 +207,7 @@ class IdempotentParameterMismatchException extends MachineLearningServiceExcepti
207
207
  Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
208
208
  this.code = opts.code;
209
209
  }
210
- }
210
+ };
211
211
  const MLModelType = {
212
212
  BINARY: "BINARY",
213
213
  MULTICLASS: "MULTICLASS",
@@ -270,7 +270,7 @@ const MLModelFilterVariable = {
270
270
  TRAINING_DATASOURCE_ID: "TrainingDataSourceId",
271
271
  TRAINING_DATA_URI: "TrainingDataURI",
272
272
  };
273
- class LimitExceededException extends MachineLearningServiceException {
273
+ let LimitExceededException$1 = class LimitExceededException extends MachineLearningServiceException$1 {
274
274
  name = "LimitExceededException";
275
275
  $fault = "client";
276
276
  code;
@@ -283,8 +283,8 @@ class LimitExceededException extends MachineLearningServiceException {
283
283
  Object.setPrototypeOf(this, LimitExceededException.prototype);
284
284
  this.code = opts.code;
285
285
  }
286
- }
287
- class PredictorNotMountedException extends MachineLearningServiceException {
286
+ };
287
+ let PredictorNotMountedException$1 = class PredictorNotMountedException extends MachineLearningServiceException$1 {
288
288
  name = "PredictorNotMountedException";
289
289
  $fault = "client";
290
290
  constructor(opts) {
@@ -295,1004 +295,765 @@ class PredictorNotMountedException extends MachineLearningServiceException {
295
295
  });
296
296
  Object.setPrototypeOf(this, PredictorNotMountedException.prototype);
297
297
  }
298
- }
298
+ };
299
299
  const DetailsAttributes = {
300
300
  ALGORITHM: "Algorithm",
301
301
  PREDICTIVE_MODEL_TYPE: "PredictiveModelType",
302
302
  };
303
- const RDSDatabaseCredentialsFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
306
- });
307
- const RDSDataSpecFilterSensitiveLog = (obj) => ({
308
- ...obj,
309
- ...(obj.DatabaseCredentials && {
310
- DatabaseCredentials: RDSDatabaseCredentialsFilterSensitiveLog(obj.DatabaseCredentials),
311
- }),
312
- });
313
- const CreateDataSourceFromRDSInputFilterSensitiveLog = (obj) => ({
314
- ...obj,
315
- ...(obj.RDSData && { RDSData: RDSDataSpecFilterSensitiveLog(obj.RDSData) }),
316
- });
317
- const RedshiftDatabaseCredentialsFilterSensitiveLog = (obj) => ({
318
- ...obj,
319
- ...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
320
- });
321
- const RedshiftDataSpecFilterSensitiveLog = (obj) => ({
322
- ...obj,
323
- ...(obj.DatabaseCredentials && {
324
- DatabaseCredentials: RedshiftDatabaseCredentialsFilterSensitiveLog(obj.DatabaseCredentials),
325
- }),
326
- });
327
- const CreateDataSourceFromRedshiftInputFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- ...(obj.DataSpec && { DataSpec: RedshiftDataSpecFilterSensitiveLog(obj.DataSpec) }),
330
- });
331
303
 
332
- const se_AddTagsCommand = async (input, context) => {
333
- const headers = sharedHeaders("AddTags");
334
- let body;
335
- body = JSON.stringify(smithyClient._json(input));
336
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
337
- };
338
- const se_CreateBatchPredictionCommand = async (input, context) => {
339
- const headers = sharedHeaders("CreateBatchPrediction");
340
- let body;
341
- body = JSON.stringify(smithyClient._json(input));
342
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
343
- };
344
- const se_CreateDataSourceFromRDSCommand = async (input, context) => {
345
- const headers = sharedHeaders("CreateDataSourceFromRDS");
346
- let body;
347
- body = JSON.stringify(smithyClient._json(input));
348
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
349
- };
350
- const se_CreateDataSourceFromRedshiftCommand = async (input, context) => {
351
- const headers = sharedHeaders("CreateDataSourceFromRedshift");
352
- let body;
353
- body = JSON.stringify(smithyClient._json(input));
354
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
355
- };
356
- const se_CreateDataSourceFromS3Command = async (input, context) => {
357
- const headers = sharedHeaders("CreateDataSourceFromS3");
358
- let body;
359
- body = JSON.stringify(smithyClient._json(input));
360
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
361
- };
362
- const se_CreateEvaluationCommand = async (input, context) => {
363
- const headers = sharedHeaders("CreateEvaluation");
364
- let body;
365
- body = JSON.stringify(smithyClient._json(input));
366
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
367
- };
368
- const se_CreateMLModelCommand = async (input, context) => {
369
- const headers = sharedHeaders("CreateMLModel");
370
- let body;
371
- body = JSON.stringify(smithyClient._json(input));
372
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
373
- };
374
- const se_CreateRealtimeEndpointCommand = async (input, context) => {
375
- const headers = sharedHeaders("CreateRealtimeEndpoint");
376
- let body;
377
- body = JSON.stringify(smithyClient._json(input));
378
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
379
- };
380
- const se_DeleteBatchPredictionCommand = async (input, context) => {
381
- const headers = sharedHeaders("DeleteBatchPrediction");
382
- let body;
383
- body = JSON.stringify(smithyClient._json(input));
384
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
385
- };
386
- const se_DeleteDataSourceCommand = async (input, context) => {
387
- const headers = sharedHeaders("DeleteDataSource");
388
- let body;
389
- body = JSON.stringify(smithyClient._json(input));
390
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
391
- };
392
- const se_DeleteEvaluationCommand = async (input, context) => {
393
- const headers = sharedHeaders("DeleteEvaluation");
394
- let body;
395
- body = JSON.stringify(smithyClient._json(input));
396
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
397
- };
398
- const se_DeleteMLModelCommand = async (input, context) => {
399
- const headers = sharedHeaders("DeleteMLModel");
400
- let body;
401
- body = JSON.stringify(smithyClient._json(input));
402
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
403
- };
404
- const se_DeleteRealtimeEndpointCommand = async (input, context) => {
405
- const headers = sharedHeaders("DeleteRealtimeEndpoint");
406
- let body;
407
- body = JSON.stringify(smithyClient._json(input));
408
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
409
- };
410
- const se_DeleteTagsCommand = async (input, context) => {
411
- const headers = sharedHeaders("DeleteTags");
412
- let body;
413
- body = JSON.stringify(smithyClient._json(input));
414
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
415
- };
416
- const se_DescribeBatchPredictionsCommand = async (input, context) => {
417
- const headers = sharedHeaders("DescribeBatchPredictions");
418
- let body;
419
- body = JSON.stringify(smithyClient._json(input));
420
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
421
- };
422
- const se_DescribeDataSourcesCommand = async (input, context) => {
423
- const headers = sharedHeaders("DescribeDataSources");
424
- let body;
425
- body = JSON.stringify(smithyClient._json(input));
426
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
427
- };
428
- const se_DescribeEvaluationsCommand = async (input, context) => {
429
- const headers = sharedHeaders("DescribeEvaluations");
430
- let body;
431
- body = JSON.stringify(smithyClient._json(input));
432
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
433
- };
434
- const se_DescribeMLModelsCommand = async (input, context) => {
435
- const headers = sharedHeaders("DescribeMLModels");
436
- let body;
437
- body = JSON.stringify(smithyClient._json(input));
438
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
439
- };
440
- const se_DescribeTagsCommand = async (input, context) => {
441
- const headers = sharedHeaders("DescribeTags");
442
- let body;
443
- body = JSON.stringify(smithyClient._json(input));
444
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
445
- };
446
- const se_GetBatchPredictionCommand = async (input, context) => {
447
- const headers = sharedHeaders("GetBatchPrediction");
448
- let body;
449
- body = JSON.stringify(smithyClient._json(input));
450
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
451
- };
452
- const se_GetDataSourceCommand = async (input, context) => {
453
- const headers = sharedHeaders("GetDataSource");
454
- let body;
455
- body = JSON.stringify(smithyClient._json(input));
456
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
457
- };
458
- const se_GetEvaluationCommand = async (input, context) => {
459
- const headers = sharedHeaders("GetEvaluation");
460
- let body;
461
- body = JSON.stringify(smithyClient._json(input));
462
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
463
- };
464
- const se_GetMLModelCommand = async (input, context) => {
465
- const headers = sharedHeaders("GetMLModel");
466
- let body;
467
- body = JSON.stringify(smithyClient._json(input));
468
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
469
- };
470
- const se_PredictCommand = async (input, context) => {
471
- const headers = sharedHeaders("Predict");
472
- let body;
473
- body = JSON.stringify(smithyClient._json(input));
474
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
475
- };
476
- const se_UpdateBatchPredictionCommand = async (input, context) => {
477
- const headers = sharedHeaders("UpdateBatchPrediction");
478
- let body;
479
- body = JSON.stringify(smithyClient._json(input));
480
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
481
- };
482
- const se_UpdateDataSourceCommand = async (input, context) => {
483
- const headers = sharedHeaders("UpdateDataSource");
484
- let body;
485
- body = JSON.stringify(smithyClient._json(input));
486
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
487
- };
488
- const se_UpdateEvaluationCommand = async (input, context) => {
489
- const headers = sharedHeaders("UpdateEvaluation");
490
- let body;
491
- body = JSON.stringify(smithyClient._json(input));
492
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
493
- };
494
- const se_UpdateMLModelCommand = async (input, context) => {
495
- const headers = sharedHeaders("UpdateMLModel");
496
- let body;
497
- body = JSON.stringify(se_UpdateMLModelInput(input));
498
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
499
- };
500
- const de_AddTagsCommand = async (output, context) => {
501
- if (output.statusCode >= 300) {
502
- return de_CommandError(output, context);
503
- }
504
- const data = await core$1.parseJsonBody(output.body, context);
505
- let contents = {};
506
- contents = smithyClient._json(data);
507
- const response = {
508
- $metadata: deserializeMetadata(output),
509
- ...contents,
510
- };
511
- return response;
512
- };
513
- const de_CreateBatchPredictionCommand = async (output, context) => {
514
- if (output.statusCode >= 300) {
515
- return de_CommandError(output, context);
516
- }
517
- const data = await core$1.parseJsonBody(output.body, context);
518
- let contents = {};
519
- contents = smithyClient._json(data);
520
- const response = {
521
- $metadata: deserializeMetadata(output),
522
- ...contents,
523
- };
524
- return response;
525
- };
526
- const de_CreateDataSourceFromRDSCommand = async (output, context) => {
527
- if (output.statusCode >= 300) {
528
- return de_CommandError(output, context);
529
- }
530
- const data = await core$1.parseJsonBody(output.body, context);
531
- let contents = {};
532
- contents = smithyClient._json(data);
533
- const response = {
534
- $metadata: deserializeMetadata(output),
535
- ...contents,
536
- };
537
- return response;
538
- };
539
- const de_CreateDataSourceFromRedshiftCommand = async (output, context) => {
540
- if (output.statusCode >= 300) {
541
- return de_CommandError(output, context);
542
- }
543
- const data = await core$1.parseJsonBody(output.body, context);
544
- let contents = {};
545
- contents = smithyClient._json(data);
546
- const response = {
547
- $metadata: deserializeMetadata(output),
548
- ...contents,
549
- };
550
- return response;
551
- };
552
- const de_CreateDataSourceFromS3Command = async (output, context) => {
553
- if (output.statusCode >= 300) {
554
- return de_CommandError(output, context);
555
- }
556
- const data = await core$1.parseJsonBody(output.body, context);
557
- let contents = {};
558
- contents = smithyClient._json(data);
559
- const response = {
560
- $metadata: deserializeMetadata(output),
561
- ...contents,
562
- };
563
- return response;
564
- };
565
- const de_CreateEvaluationCommand = async (output, context) => {
566
- if (output.statusCode >= 300) {
567
- return de_CommandError(output, context);
568
- }
569
- const data = await core$1.parseJsonBody(output.body, context);
570
- let contents = {};
571
- contents = smithyClient._json(data);
572
- const response = {
573
- $metadata: deserializeMetadata(output),
574
- ...contents,
575
- };
576
- return response;
577
- };
578
- const de_CreateMLModelCommand = async (output, context) => {
579
- if (output.statusCode >= 300) {
580
- return de_CommandError(output, context);
581
- }
582
- const data = await core$1.parseJsonBody(output.body, context);
583
- let contents = {};
584
- contents = smithyClient._json(data);
585
- const response = {
586
- $metadata: deserializeMetadata(output),
587
- ...contents,
588
- };
589
- return response;
590
- };
591
- const de_CreateRealtimeEndpointCommand = async (output, context) => {
592
- if (output.statusCode >= 300) {
593
- return de_CommandError(output, context);
594
- }
595
- const data = await core$1.parseJsonBody(output.body, context);
596
- let contents = {};
597
- contents = de_CreateRealtimeEndpointOutput(data);
598
- const response = {
599
- $metadata: deserializeMetadata(output),
600
- ...contents,
601
- };
602
- return response;
603
- };
604
- const de_DeleteBatchPredictionCommand = async (output, context) => {
605
- if (output.statusCode >= 300) {
606
- return de_CommandError(output, context);
607
- }
608
- const data = await core$1.parseJsonBody(output.body, context);
609
- let contents = {};
610
- contents = smithyClient._json(data);
611
- const response = {
612
- $metadata: deserializeMetadata(output),
613
- ...contents,
614
- };
615
- return response;
616
- };
617
- const de_DeleteDataSourceCommand = async (output, context) => {
618
- if (output.statusCode >= 300) {
619
- return de_CommandError(output, context);
620
- }
621
- const data = await core$1.parseJsonBody(output.body, context);
622
- let contents = {};
623
- contents = smithyClient._json(data);
624
- const response = {
625
- $metadata: deserializeMetadata(output),
626
- ...contents,
627
- };
628
- return response;
629
- };
630
- const de_DeleteEvaluationCommand = async (output, context) => {
631
- if (output.statusCode >= 300) {
632
- return de_CommandError(output, context);
633
- }
634
- const data = await core$1.parseJsonBody(output.body, context);
635
- let contents = {};
636
- contents = smithyClient._json(data);
637
- const response = {
638
- $metadata: deserializeMetadata(output),
639
- ...contents,
640
- };
641
- return response;
642
- };
643
- const de_DeleteMLModelCommand = async (output, context) => {
644
- if (output.statusCode >= 300) {
645
- return de_CommandError(output, context);
646
- }
647
- const data = await core$1.parseJsonBody(output.body, context);
648
- let contents = {};
649
- contents = smithyClient._json(data);
650
- const response = {
651
- $metadata: deserializeMetadata(output),
652
- ...contents,
653
- };
654
- return response;
655
- };
656
- const de_DeleteRealtimeEndpointCommand = async (output, context) => {
657
- if (output.statusCode >= 300) {
658
- return de_CommandError(output, context);
659
- }
660
- const data = await core$1.parseJsonBody(output.body, context);
661
- let contents = {};
662
- contents = de_DeleteRealtimeEndpointOutput(data);
663
- const response = {
664
- $metadata: deserializeMetadata(output),
665
- ...contents,
666
- };
667
- return response;
668
- };
669
- const de_DeleteTagsCommand = async (output, context) => {
670
- if (output.statusCode >= 300) {
671
- return de_CommandError(output, context);
672
- }
673
- const data = await core$1.parseJsonBody(output.body, context);
674
- let contents = {};
675
- contents = smithyClient._json(data);
676
- const response = {
677
- $metadata: deserializeMetadata(output),
678
- ...contents,
679
- };
680
- return response;
681
- };
682
- const de_DescribeBatchPredictionsCommand = async (output, context) => {
683
- if (output.statusCode >= 300) {
684
- return de_CommandError(output, context);
685
- }
686
- const data = await core$1.parseJsonBody(output.body, context);
687
- let contents = {};
688
- contents = de_DescribeBatchPredictionsOutput(data);
689
- const response = {
690
- $metadata: deserializeMetadata(output),
691
- ...contents,
692
- };
693
- return response;
694
- };
695
- const de_DescribeDataSourcesCommand = async (output, context) => {
696
- if (output.statusCode >= 300) {
697
- return de_CommandError(output, context);
698
- }
699
- const data = await core$1.parseJsonBody(output.body, context);
700
- let contents = {};
701
- contents = de_DescribeDataSourcesOutput(data);
702
- const response = {
703
- $metadata: deserializeMetadata(output),
704
- ...contents,
705
- };
706
- return response;
707
- };
708
- const de_DescribeEvaluationsCommand = async (output, context) => {
709
- if (output.statusCode >= 300) {
710
- return de_CommandError(output, context);
711
- }
712
- const data = await core$1.parseJsonBody(output.body, context);
713
- let contents = {};
714
- contents = de_DescribeEvaluationsOutput(data);
715
- const response = {
716
- $metadata: deserializeMetadata(output),
717
- ...contents,
718
- };
719
- return response;
720
- };
721
- const de_DescribeMLModelsCommand = async (output, context) => {
722
- if (output.statusCode >= 300) {
723
- return de_CommandError(output, context);
724
- }
725
- const data = await core$1.parseJsonBody(output.body, context);
726
- let contents = {};
727
- contents = de_DescribeMLModelsOutput(data);
728
- const response = {
729
- $metadata: deserializeMetadata(output),
730
- ...contents,
731
- };
732
- return response;
733
- };
734
- const de_DescribeTagsCommand = async (output, context) => {
735
- if (output.statusCode >= 300) {
736
- return de_CommandError(output, context);
737
- }
738
- const data = await core$1.parseJsonBody(output.body, context);
739
- let contents = {};
740
- contents = smithyClient._json(data);
741
- const response = {
742
- $metadata: deserializeMetadata(output),
743
- ...contents,
744
- };
745
- return response;
746
- };
747
- const de_GetBatchPredictionCommand = async (output, context) => {
748
- if (output.statusCode >= 300) {
749
- return de_CommandError(output, context);
750
- }
751
- const data = await core$1.parseJsonBody(output.body, context);
752
- let contents = {};
753
- contents = de_GetBatchPredictionOutput(data);
754
- const response = {
755
- $metadata: deserializeMetadata(output),
756
- ...contents,
757
- };
758
- return response;
759
- };
760
- const de_GetDataSourceCommand = async (output, context) => {
761
- if (output.statusCode >= 300) {
762
- return de_CommandError(output, context);
763
- }
764
- const data = await core$1.parseJsonBody(output.body, context);
765
- let contents = {};
766
- contents = de_GetDataSourceOutput(data);
767
- const response = {
768
- $metadata: deserializeMetadata(output),
769
- ...contents,
770
- };
771
- return response;
772
- };
773
- const de_GetEvaluationCommand = async (output, context) => {
774
- if (output.statusCode >= 300) {
775
- return de_CommandError(output, context);
776
- }
777
- const data = await core$1.parseJsonBody(output.body, context);
778
- let contents = {};
779
- contents = de_GetEvaluationOutput(data);
780
- const response = {
781
- $metadata: deserializeMetadata(output),
782
- ...contents,
783
- };
784
- return response;
785
- };
786
- const de_GetMLModelCommand = async (output, context) => {
787
- if (output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const data = await core$1.parseJsonBody(output.body, context);
791
- let contents = {};
792
- contents = de_GetMLModelOutput(data);
793
- const response = {
794
- $metadata: deserializeMetadata(output),
795
- ...contents,
796
- };
797
- return response;
798
- };
799
- const de_PredictCommand = async (output, context) => {
800
- if (output.statusCode >= 300) {
801
- return de_CommandError(output, context);
802
- }
803
- const data = await core$1.parseJsonBody(output.body, context);
804
- let contents = {};
805
- contents = de_PredictOutput(data);
806
- const response = {
807
- $metadata: deserializeMetadata(output),
808
- ...contents,
809
- };
810
- return response;
811
- };
812
- const de_UpdateBatchPredictionCommand = async (output, context) => {
813
- if (output.statusCode >= 300) {
814
- return de_CommandError(output, context);
815
- }
816
- const data = await core$1.parseJsonBody(output.body, context);
817
- let contents = {};
818
- contents = smithyClient._json(data);
819
- const response = {
820
- $metadata: deserializeMetadata(output),
821
- ...contents,
822
- };
823
- return response;
824
- };
825
- const de_UpdateDataSourceCommand = async (output, context) => {
826
- if (output.statusCode >= 300) {
827
- return de_CommandError(output, context);
828
- }
829
- const data = await core$1.parseJsonBody(output.body, context);
830
- let contents = {};
831
- contents = smithyClient._json(data);
832
- const response = {
833
- $metadata: deserializeMetadata(output),
834
- ...contents,
835
- };
836
- return response;
837
- };
838
- const de_UpdateEvaluationCommand = async (output, context) => {
839
- if (output.statusCode >= 300) {
840
- return de_CommandError(output, context);
841
- }
842
- const data = await core$1.parseJsonBody(output.body, context);
843
- let contents = {};
844
- contents = smithyClient._json(data);
845
- const response = {
846
- $metadata: deserializeMetadata(output),
847
- ...contents,
848
- };
849
- return response;
850
- };
851
- const de_UpdateMLModelCommand = async (output, context) => {
852
- if (output.statusCode >= 300) {
853
- return de_CommandError(output, context);
854
- }
855
- const data = await core$1.parseJsonBody(output.body, context);
856
- let contents = {};
857
- contents = smithyClient._json(data);
858
- const response = {
859
- $metadata: deserializeMetadata(output),
860
- ...contents,
861
- };
862
- return response;
863
- };
864
- const de_CommandError = async (output, context) => {
865
- const parsedOutput = {
866
- ...output,
867
- body: await core$1.parseJsonErrorBody(output.body, context),
868
- };
869
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
870
- switch (errorCode) {
871
- case "InternalServerException":
872
- case "com.amazonaws.machinelearning#InternalServerException":
873
- throw await de_InternalServerExceptionRes(parsedOutput);
874
- case "InvalidInputException":
875
- case "com.amazonaws.machinelearning#InvalidInputException":
876
- throw await de_InvalidInputExceptionRes(parsedOutput);
877
- case "InvalidTagException":
878
- case "com.amazonaws.machinelearning#InvalidTagException":
879
- throw await de_InvalidTagExceptionRes(parsedOutput);
880
- case "ResourceNotFoundException":
881
- case "com.amazonaws.machinelearning#ResourceNotFoundException":
882
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
883
- case "TagLimitExceededException":
884
- case "com.amazonaws.machinelearning#TagLimitExceededException":
885
- throw await de_TagLimitExceededExceptionRes(parsedOutput);
886
- case "IdempotentParameterMismatchException":
887
- case "com.amazonaws.machinelearning#IdempotentParameterMismatchException":
888
- throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput);
889
- case "LimitExceededException":
890
- case "com.amazonaws.machinelearning#LimitExceededException":
891
- throw await de_LimitExceededExceptionRes(parsedOutput);
892
- case "PredictorNotMountedException":
893
- case "com.amazonaws.machinelearning#PredictorNotMountedException":
894
- throw await de_PredictorNotMountedExceptionRes(parsedOutput);
895
- default:
896
- const parsedBody = parsedOutput.body;
897
- return throwDefaultError({
898
- output,
899
- parsedBody,
900
- errorCode,
901
- });
902
- }
903
- };
904
- const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
905
- const body = parsedOutput.body;
906
- const deserialized = smithyClient._json(body);
907
- const exception = new IdempotentParameterMismatchException({
908
- $metadata: deserializeMetadata(parsedOutput),
909
- ...deserialized,
910
- });
911
- return smithyClient.decorateServiceException(exception, body);
912
- };
913
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
914
- const body = parsedOutput.body;
915
- const deserialized = smithyClient._json(body);
916
- const exception = new InternalServerException({
917
- $metadata: deserializeMetadata(parsedOutput),
918
- ...deserialized,
919
- });
920
- return smithyClient.decorateServiceException(exception, body);
921
- };
922
- const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
923
- const body = parsedOutput.body;
924
- const deserialized = smithyClient._json(body);
925
- const exception = new InvalidInputException({
926
- $metadata: deserializeMetadata(parsedOutput),
927
- ...deserialized,
928
- });
929
- return smithyClient.decorateServiceException(exception, body);
930
- };
931
- const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
932
- const body = parsedOutput.body;
933
- const deserialized = smithyClient._json(body);
934
- const exception = new InvalidTagException({
935
- $metadata: deserializeMetadata(parsedOutput),
936
- ...deserialized,
937
- });
938
- return smithyClient.decorateServiceException(exception, body);
939
- };
940
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
941
- const body = parsedOutput.body;
942
- const deserialized = smithyClient._json(body);
943
- const exception = new LimitExceededException({
944
- $metadata: deserializeMetadata(parsedOutput),
945
- ...deserialized,
946
- });
947
- return smithyClient.decorateServiceException(exception, body);
948
- };
949
- const de_PredictorNotMountedExceptionRes = async (parsedOutput, context) => {
950
- const body = parsedOutput.body;
951
- const deserialized = smithyClient._json(body);
952
- const exception = new PredictorNotMountedException({
953
- $metadata: deserializeMetadata(parsedOutput),
954
- ...deserialized,
955
- });
956
- return smithyClient.decorateServiceException(exception, body);
957
- };
958
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
959
- const body = parsedOutput.body;
960
- const deserialized = smithyClient._json(body);
961
- const exception = new ResourceNotFoundException({
962
- $metadata: deserializeMetadata(parsedOutput),
963
- ...deserialized,
964
- });
965
- return smithyClient.decorateServiceException(exception, body);
966
- };
967
- const de_TagLimitExceededExceptionRes = async (parsedOutput, context) => {
968
- const body = parsedOutput.body;
969
- const deserialized = smithyClient._json(body);
970
- const exception = new TagLimitExceededException({
971
- $metadata: deserializeMetadata(parsedOutput),
972
- ...deserialized,
973
- });
974
- return smithyClient.decorateServiceException(exception, body);
975
- };
976
- const se_UpdateMLModelInput = (input, context) => {
977
- return smithyClient.take(input, {
978
- MLModelId: [],
979
- MLModelName: [],
980
- ScoreThreshold: smithyClient.serializeFloat,
981
- });
982
- };
983
- const de_BatchPrediction = (output, context) => {
984
- return smithyClient.take(output, {
985
- BatchPredictionDataSourceId: smithyClient.expectString,
986
- BatchPredictionId: smithyClient.expectString,
987
- ComputeTime: smithyClient.expectLong,
988
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
989
- CreatedByIamUser: smithyClient.expectString,
990
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
991
- InputDataLocationS3: smithyClient.expectString,
992
- InvalidRecordCount: smithyClient.expectLong,
993
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
994
- MLModelId: smithyClient.expectString,
995
- Message: smithyClient.expectString,
996
- Name: smithyClient.expectString,
997
- OutputUri: smithyClient.expectString,
998
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
999
- Status: smithyClient.expectString,
1000
- TotalRecordCount: smithyClient.expectLong,
1001
- });
1002
- };
1003
- const de_BatchPredictions = (output, context) => {
1004
- const retVal = (output || [])
1005
- .filter((e) => e != null)
1006
- .map((entry) => {
1007
- return de_BatchPrediction(entry);
1008
- });
1009
- return retVal;
1010
- };
1011
- const de_CreateRealtimeEndpointOutput = (output, context) => {
1012
- return smithyClient.take(output, {
1013
- MLModelId: smithyClient.expectString,
1014
- RealtimeEndpointInfo: (_) => de_RealtimeEndpointInfo(_),
1015
- });
1016
- };
1017
- const de_DataSource = (output, context) => {
1018
- return smithyClient.take(output, {
1019
- ComputeStatistics: smithyClient.expectBoolean,
1020
- ComputeTime: smithyClient.expectLong,
1021
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1022
- CreatedByIamUser: smithyClient.expectString,
1023
- DataLocationS3: smithyClient.expectString,
1024
- DataRearrangement: smithyClient.expectString,
1025
- DataSizeInBytes: smithyClient.expectLong,
1026
- DataSourceId: smithyClient.expectString,
1027
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1028
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1029
- Message: smithyClient.expectString,
1030
- Name: smithyClient.expectString,
1031
- NumberOfFiles: smithyClient.expectLong,
1032
- RDSMetadata: smithyClient._json,
1033
- RedshiftMetadata: smithyClient._json,
1034
- RoleARN: smithyClient.expectString,
1035
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1036
- Status: smithyClient.expectString,
1037
- });
1038
- };
1039
- const de_DataSources = (output, context) => {
1040
- const retVal = (output || [])
1041
- .filter((e) => e != null)
1042
- .map((entry) => {
1043
- return de_DataSource(entry);
1044
- });
1045
- return retVal;
1046
- };
1047
- const de_DeleteRealtimeEndpointOutput = (output, context) => {
1048
- return smithyClient.take(output, {
1049
- MLModelId: smithyClient.expectString,
1050
- RealtimeEndpointInfo: (_) => de_RealtimeEndpointInfo(_),
1051
- });
1052
- };
1053
- const de_DescribeBatchPredictionsOutput = (output, context) => {
1054
- return smithyClient.take(output, {
1055
- NextToken: smithyClient.expectString,
1056
- Results: (_) => de_BatchPredictions(_),
1057
- });
1058
- };
1059
- const de_DescribeDataSourcesOutput = (output, context) => {
1060
- return smithyClient.take(output, {
1061
- NextToken: smithyClient.expectString,
1062
- Results: (_) => de_DataSources(_),
1063
- });
1064
- };
1065
- const de_DescribeEvaluationsOutput = (output, context) => {
1066
- return smithyClient.take(output, {
1067
- NextToken: smithyClient.expectString,
1068
- Results: (_) => de_Evaluations(_),
1069
- });
1070
- };
1071
- const de_DescribeMLModelsOutput = (output, context) => {
1072
- return smithyClient.take(output, {
1073
- NextToken: smithyClient.expectString,
1074
- Results: (_) => de_MLModels(_),
1075
- });
1076
- };
1077
- const de_Evaluation = (output, context) => {
1078
- return smithyClient.take(output, {
1079
- ComputeTime: smithyClient.expectLong,
1080
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1081
- CreatedByIamUser: smithyClient.expectString,
1082
- EvaluationDataSourceId: smithyClient.expectString,
1083
- EvaluationId: smithyClient.expectString,
1084
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1085
- InputDataLocationS3: smithyClient.expectString,
1086
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1087
- MLModelId: smithyClient.expectString,
1088
- Message: smithyClient.expectString,
1089
- Name: smithyClient.expectString,
1090
- PerformanceMetrics: smithyClient._json,
1091
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1092
- Status: smithyClient.expectString,
1093
- });
1094
- };
1095
- const de_Evaluations = (output, context) => {
1096
- const retVal = (output || [])
1097
- .filter((e) => e != null)
1098
- .map((entry) => {
1099
- return de_Evaluation(entry);
1100
- });
1101
- return retVal;
1102
- };
1103
- const de_GetBatchPredictionOutput = (output, context) => {
1104
- return smithyClient.take(output, {
1105
- BatchPredictionDataSourceId: smithyClient.expectString,
1106
- BatchPredictionId: smithyClient.expectString,
1107
- ComputeTime: smithyClient.expectLong,
1108
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1109
- CreatedByIamUser: smithyClient.expectString,
1110
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1111
- InputDataLocationS3: smithyClient.expectString,
1112
- InvalidRecordCount: smithyClient.expectLong,
1113
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1114
- LogUri: smithyClient.expectString,
1115
- MLModelId: smithyClient.expectString,
1116
- Message: smithyClient.expectString,
1117
- Name: smithyClient.expectString,
1118
- OutputUri: smithyClient.expectString,
1119
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1120
- Status: smithyClient.expectString,
1121
- TotalRecordCount: smithyClient.expectLong,
1122
- });
1123
- };
1124
- const de_GetDataSourceOutput = (output, context) => {
1125
- return smithyClient.take(output, {
1126
- ComputeStatistics: smithyClient.expectBoolean,
1127
- ComputeTime: smithyClient.expectLong,
1128
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1129
- CreatedByIamUser: smithyClient.expectString,
1130
- DataLocationS3: smithyClient.expectString,
1131
- DataRearrangement: smithyClient.expectString,
1132
- DataSizeInBytes: smithyClient.expectLong,
1133
- DataSourceId: smithyClient.expectString,
1134
- DataSourceSchema: smithyClient.expectString,
1135
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1136
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1137
- LogUri: smithyClient.expectString,
1138
- Message: smithyClient.expectString,
1139
- Name: smithyClient.expectString,
1140
- NumberOfFiles: smithyClient.expectLong,
1141
- RDSMetadata: smithyClient._json,
1142
- RedshiftMetadata: smithyClient._json,
1143
- RoleARN: smithyClient.expectString,
1144
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1145
- Status: smithyClient.expectString,
1146
- });
1147
- };
1148
- const de_GetEvaluationOutput = (output, context) => {
1149
- return smithyClient.take(output, {
1150
- ComputeTime: smithyClient.expectLong,
1151
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1152
- CreatedByIamUser: smithyClient.expectString,
1153
- EvaluationDataSourceId: smithyClient.expectString,
1154
- EvaluationId: smithyClient.expectString,
1155
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1156
- InputDataLocationS3: smithyClient.expectString,
1157
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1158
- LogUri: smithyClient.expectString,
1159
- MLModelId: smithyClient.expectString,
1160
- Message: smithyClient.expectString,
1161
- Name: smithyClient.expectString,
1162
- PerformanceMetrics: smithyClient._json,
1163
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1164
- Status: smithyClient.expectString,
1165
- });
1166
- };
1167
- const de_GetMLModelOutput = (output, context) => {
1168
- return smithyClient.take(output, {
1169
- ComputeTime: smithyClient.expectLong,
1170
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1171
- CreatedByIamUser: smithyClient.expectString,
1172
- EndpointInfo: (_) => de_RealtimeEndpointInfo(_),
1173
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1174
- InputDataLocationS3: smithyClient.expectString,
1175
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1176
- LogUri: smithyClient.expectString,
1177
- MLModelId: smithyClient.expectString,
1178
- MLModelType: smithyClient.expectString,
1179
- Message: smithyClient.expectString,
1180
- Name: smithyClient.expectString,
1181
- Recipe: smithyClient.expectString,
1182
- Schema: smithyClient.expectString,
1183
- ScoreThreshold: smithyClient.limitedParseFloat32,
1184
- ScoreThresholdLastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1185
- SizeInBytes: smithyClient.expectLong,
1186
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1187
- Status: smithyClient.expectString,
1188
- TrainingDataSourceId: smithyClient.expectString,
1189
- TrainingParameters: smithyClient._json,
1190
- });
1191
- };
1192
- const de_MLModel = (output, context) => {
1193
- return smithyClient.take(output, {
1194
- Algorithm: smithyClient.expectString,
1195
- ComputeTime: smithyClient.expectLong,
1196
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1197
- CreatedByIamUser: smithyClient.expectString,
1198
- EndpointInfo: (_) => de_RealtimeEndpointInfo(_),
1199
- FinishedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1200
- InputDataLocationS3: smithyClient.expectString,
1201
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1202
- MLModelId: smithyClient.expectString,
1203
- MLModelType: smithyClient.expectString,
1204
- Message: smithyClient.expectString,
1205
- Name: smithyClient.expectString,
1206
- ScoreThreshold: smithyClient.limitedParseFloat32,
1207
- ScoreThresholdLastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1208
- SizeInBytes: smithyClient.expectLong,
1209
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1210
- Status: smithyClient.expectString,
1211
- TrainingDataSourceId: smithyClient.expectString,
1212
- TrainingParameters: smithyClient._json,
1213
- });
1214
- };
1215
- const de_MLModels = (output, context) => {
1216
- const retVal = (output || [])
1217
- .filter((e) => e != null)
1218
- .map((entry) => {
1219
- return de_MLModel(entry);
1220
- });
1221
- return retVal;
1222
- };
1223
- const de_Prediction = (output, context) => {
1224
- return smithyClient.take(output, {
1225
- details: smithyClient._json,
1226
- predictedLabel: smithyClient.expectString,
1227
- predictedScores: (_) => de_ScoreValuePerLabelMap(_),
1228
- predictedValue: smithyClient.limitedParseFloat32,
1229
- });
1230
- };
1231
- const de_PredictOutput = (output, context) => {
1232
- return smithyClient.take(output, {
1233
- Prediction: (_) => de_Prediction(_),
1234
- });
1235
- };
1236
- const de_RealtimeEndpointInfo = (output, context) => {
1237
- return smithyClient.take(output, {
1238
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1239
- EndpointStatus: smithyClient.expectString,
1240
- EndpointUrl: smithyClient.expectString,
1241
- PeakRequestsPerSecond: smithyClient.expectInt32,
1242
- });
1243
- };
1244
- const de_ScoreValuePerLabelMap = (output, context) => {
1245
- return Object.entries(output).reduce((acc, [key, value]) => {
1246
- if (value === null) {
1247
- return acc;
1248
- }
1249
- acc[key] = smithyClient.limitedParseFloat32(value);
1250
- return acc;
1251
- }, {});
1252
- };
1253
- const deserializeMetadata = (output) => ({
1254
- httpStatusCode: output.statusCode,
1255
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1256
- extendedRequestId: output.headers["x-amz-id-2"],
1257
- cfId: output.headers["x-amz-cf-id"],
1258
- });
1259
- const throwDefaultError = smithyClient.withBaseException(MachineLearningServiceException);
1260
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1261
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1262
- const contents = {
1263
- protocol,
1264
- hostname,
1265
- port,
1266
- method: "POST",
1267
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1268
- headers,
1269
- };
1270
- if (body !== undefined) {
1271
- contents.body = body;
1272
- }
1273
- return new protocolHttp.HttpRequest(contents);
1274
- };
1275
- function sharedHeaders(operation) {
1276
- return {
1277
- "content-type": "application/x-amz-json-1.1",
1278
- "x-amz-target": `AmazonML_20141212.${operation}`,
1279
- };
1280
- }
304
+ const _A = "Algorithm";
305
+ const _AT = "AddTags";
306
+ const _ATI = "AddTagsInput";
307
+ const _ATO = "AddTagsOutput";
308
+ const _BP = "BatchPrediction";
309
+ const _BPDSI = "BatchPredictionDataSourceId";
310
+ const _BPI = "BatchPredictionId";
311
+ const _BPN = "BatchPredictionName";
312
+ const _BPa = "BatchPredictions";
313
+ const _CA = "CreatedAt";
314
+ const _CBIU = "CreatedByIamUser";
315
+ const _CBP = "CreateBatchPrediction";
316
+ const _CBPI = "CreateBatchPredictionInput";
317
+ const _CBPO = "CreateBatchPredictionOutput";
318
+ const _CDSFR = "CreateDataSourceFromRedshift";
319
+ const _CDSFRDS = "CreateDataSourceFromRDS";
320
+ const _CDSFRDSI = "CreateDataSourceFromRDSInput";
321
+ const _CDSFRDSO = "CreateDataSourceFromRDSOutput";
322
+ const _CDSFRI = "CreateDataSourceFromRedshiftInput";
323
+ const _CDSFRO = "CreateDataSourceFromRedshiftOutput";
324
+ const _CDSFS = "CreateDataSourceFromS3";
325
+ const _CDSFSI = "CreateDataSourceFromS3Input";
326
+ const _CDSFSO = "CreateDataSourceFromS3Output";
327
+ const _CE = "CreateEvaluation";
328
+ const _CEI = "CreateEvaluationInput";
329
+ const _CEO = "CreateEvaluationOutput";
330
+ const _CI = "ClusterIdentifier";
331
+ const _CMLM = "CreateMLModel";
332
+ const _CMLMI = "CreateMLModelInput";
333
+ const _CMLMO = "CreateMLModelOutput";
334
+ const _CRE = "CreateRealtimeEndpoint";
335
+ const _CREI = "CreateRealtimeEndpointInput";
336
+ const _CREO = "CreateRealtimeEndpointOutput";
337
+ const _CS = "ComputeStatistics";
338
+ const _CT = "ComputeTime";
339
+ const _D = "Database";
340
+ const _DBP = "DeleteBatchPrediction";
341
+ const _DBPI = "DeleteBatchPredictionInput";
342
+ const _DBPIe = "DescribeBatchPredictionsInput";
343
+ const _DBPO = "DeleteBatchPredictionOutput";
344
+ const _DBPOe = "DescribeBatchPredictionsOutput";
345
+ const _DBPe = "DescribeBatchPredictions";
346
+ const _DC = "DatabaseCredentials";
347
+ const _DDS = "DeleteDataSource";
348
+ const _DDSI = "DeleteDataSourceInput";
349
+ const _DDSIe = "DescribeDataSourcesInput";
350
+ const _DDSO = "DeleteDataSourceOutput";
351
+ const _DDSOe = "DescribeDataSourcesOutput";
352
+ const _DDSe = "DescribeDataSources";
353
+ const _DE = "DeleteEvaluation";
354
+ const _DEI = "DeleteEvaluationInput";
355
+ const _DEIe = "DescribeEvaluationsInput";
356
+ const _DEO = "DeleteEvaluationOutput";
357
+ const _DEOe = "DescribeEvaluationsOutput";
358
+ const _DEe = "DescribeEvaluations";
359
+ const _DI = "DatabaseInformation";
360
+ const _DLS = "DataLocationS3";
361
+ const _DMLM = "DeleteMLModel";
362
+ const _DMLMI = "DeleteMLModelInput";
363
+ const _DMLMIe = "DescribeMLModelsInput";
364
+ const _DMLMO = "DeleteMLModelOutput";
365
+ const _DMLMOe = "DescribeMLModelsOutput";
366
+ const _DMLMe = "DescribeMLModels";
367
+ const _DN = "DatabaseName";
368
+ const _DPI = "DataPipelineId";
369
+ const _DR = "DataRearrangement";
370
+ const _DRE = "DeleteRealtimeEndpoint";
371
+ const _DREI = "DeleteRealtimeEndpointInput";
372
+ const _DREO = "DeleteRealtimeEndpointOutput";
373
+ const _DS = "DataSpec";
374
+ const _DSI = "DataSourceId";
375
+ const _DSIB = "DataSizeInBytes";
376
+ const _DSLS = "DataSchemaLocationS3";
377
+ const _DSN = "DataSourceName";
378
+ const _DSS = "DataSourceSchema";
379
+ const _DSU = "DataSchemaUri";
380
+ const _DSa = "DataSource";
381
+ const _DSat = "DataSchema";
382
+ const _DSata = "DataSources";
383
+ const _DT = "DeleteTags";
384
+ const _DTI = "DeleteTagsInput";
385
+ const _DTIe = "DescribeTagsInput";
386
+ const _DTO = "DeleteTagsOutput";
387
+ const _DTOe = "DescribeTagsOutput";
388
+ const _DTe = "DescribeTags";
389
+ const _DUN = "DatabaseUserName";
390
+ const _E = "Evaluation";
391
+ const _EDSI = "EvaluationDataSourceId";
392
+ const _EI = "EvaluationId";
393
+ const _EIn = "EndpointInfo";
394
+ const _EN = "EvaluationName";
395
+ const _EQ = "EQ";
396
+ const _ES = "EndpointStatus";
397
+ const _EU = "EndpointUrl";
398
+ const _Ev = "Evaluations";
399
+ const _FA = "FinishedAt";
400
+ const _FV = "FilterVariable";
401
+ const _GBP = "GetBatchPrediction";
402
+ const _GBPI = "GetBatchPredictionInput";
403
+ const _GBPO = "GetBatchPredictionOutput";
404
+ const _GDS = "GetDataSource";
405
+ const _GDSI = "GetDataSourceInput";
406
+ const _GDSO = "GetDataSourceOutput";
407
+ const _GE = "GE";
408
+ const _GEI = "GetEvaluationInput";
409
+ const _GEO = "GetEvaluationOutput";
410
+ const _GEe = "GetEvaluation";
411
+ const _GMLM = "GetMLModel";
412
+ const _GMLMI = "GetMLModelInput";
413
+ const _GMLMO = "GetMLModelOutput";
414
+ const _GT = "GT";
415
+ const _IDLS = "InputDataLocationS3";
416
+ const _II = "InstanceIdentifier";
417
+ const _IIE = "InvalidInputException";
418
+ const _IPME = "IdempotentParameterMismatchException";
419
+ const _IRC = "InvalidRecordCount";
420
+ const _ISE = "InternalServerException";
421
+ const _ITE = "InvalidTagException";
422
+ const _K = "Key";
423
+ const _L = "Limit";
424
+ const _LE = "LE";
425
+ const _LEE = "LimitExceededException";
426
+ const _LT = "LT";
427
+ const _LU = "LogUri";
428
+ const _LUA = "LastUpdatedAt";
429
+ const _M = "Message";
430
+ const _MLM = "MLModel";
431
+ const _MLMI = "MLModelId";
432
+ const _MLMN = "MLModelName";
433
+ const _MLMT = "MLModelType";
434
+ const _MLMo = "MLModels";
435
+ const _N = "Name";
436
+ const _NE = "NE";
437
+ const _NOF = "NumberOfFiles";
438
+ const _NT = "NextToken";
439
+ const _OU = "OutputUri";
440
+ const _P = "Parameters";
441
+ const _PE = "PredictEndpoint";
442
+ const _PI = "PredictInput";
443
+ const _PM = "PerformanceMetrics";
444
+ const _PNME = "PredictorNotMountedException";
445
+ const _PO = "PredictOutput";
446
+ const _PRPS = "PeakRequestsPerSecond";
447
+ const _Pa = "Password";
448
+ const _Pr = "Prefix";
449
+ const _Pre = "Prediction";
450
+ const _Pred = "Predict";
451
+ const _Pro = "Properties";
452
+ const _R = "Recipe";
453
+ const _RARN = "RoleARN";
454
+ const _RD = "RedshiftDatabase";
455
+ const _RDC = "RedshiftDatabaseCredentials";
456
+ const _RDP = "RedshiftDatabasePassword";
457
+ const _RDS = "RedshiftDataSpec";
458
+ const _RDSD = "RDSData";
459
+ const _RDSDC = "RDSDatabaseCredentials";
460
+ const _RDSDP = "RDSDatabasePassword";
461
+ const _RDSDS = "RDSDataSpec";
462
+ const _RDSDa = "RDSDatabase";
463
+ const _RDSM = "RDSMetadata";
464
+ const _REI = "RealtimeEndpointInfo";
465
+ const _RI = "ResourceId";
466
+ const _RM = "RedshiftMetadata";
467
+ const _RNFE = "ResourceNotFoundException";
468
+ const _RR = "ResourceRole";
469
+ const _RT = "ResourceType";
470
+ const _RU = "RecipeUri";
471
+ const _Re = "Results";
472
+ const _Rec = "Record";
473
+ const _S = "Status";
474
+ const _SA = "StartedAt";
475
+ const _SDS = "S3DataSpec";
476
+ const _SGI = "SecurityGroupIds";
477
+ const _SI = "SubnetId";
478
+ const _SIB = "SizeInBytes";
479
+ const _SO = "SortOrder";
480
+ const _SR = "ServiceRole";
481
+ const _SSL = "S3StagingLocation";
482
+ const _SSQ = "SelectSqlQuery";
483
+ const _ST = "ScoreThreshold";
484
+ const _STLUA = "ScoreThresholdLastUpdatedAt";
485
+ const _Sc = "Schema";
486
+ const _T = "Tags";
487
+ const _TDSI = "TrainingDataSourceId";
488
+ const _TK = "TagKeys";
489
+ const _TL = "TagList";
490
+ const _TLEE = "TagLimitExceededException";
491
+ const _TP = "TrainingParameters";
492
+ const _TRC = "TotalRecordCount";
493
+ const _Ta = "Tag";
494
+ const _U = "Username";
495
+ const _UBP = "UpdateBatchPrediction";
496
+ const _UBPI = "UpdateBatchPredictionInput";
497
+ const _UBPO = "UpdateBatchPredictionOutput";
498
+ const _UDS = "UpdateDataSource";
499
+ const _UDSI = "UpdateDataSourceInput";
500
+ const _UDSO = "UpdateDataSourceOutput";
501
+ const _UE = "UpdateEvaluation";
502
+ const _UEI = "UpdateEvaluationInput";
503
+ const _UEO = "UpdateEvaluationOutput";
504
+ const _UMLM = "UpdateMLModel";
505
+ const _UMLMI = "UpdateMLModelInput";
506
+ const _UMLMO = "UpdateMLModelOutput";
507
+ const _V = "Verbose";
508
+ const _Va = "Value";
509
+ const _c = "client";
510
+ const _co = "code";
511
+ const _d = "details";
512
+ const _e = "error";
513
+ const _hE = "httpError";
514
+ const _m = "message";
515
+ const _pL = "predictedLabel";
516
+ const _pS = "predictedScores";
517
+ const _pV = "predictedValue";
518
+ const _s = "server";
519
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.machinelearning";
520
+ const n0 = "com.amazonaws.machinelearning";
521
+ var RDSDatabasePassword = [0, n0, _RDSDP, 8, 0];
522
+ var RedshiftDatabasePassword = [0, n0, _RDP, 8, 0];
523
+ var AddTagsInput = [3, n0, _ATI, 0, [_T, _RI, _RT], [() => TagList, 0, 0]];
524
+ var AddTagsOutput = [3, n0, _ATO, 0, [_RI, _RT], [0, 0]];
525
+ var BatchPrediction = [
526
+ 3,
527
+ n0,
528
+ _BP,
529
+ 0,
530
+ [_BPI, _MLMI, _BPDSI, _IDLS, _CBIU, _CA, _LUA, _N, _S, _OU, _M, _CT, _FA, _SA, _TRC, _IRC],
531
+ [0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 1, 4, 4, 1, 1],
532
+ ];
533
+ var CreateBatchPredictionInput = [
534
+ 3,
535
+ n0,
536
+ _CBPI,
537
+ 0,
538
+ [_BPI, _BPN, _MLMI, _BPDSI, _OU],
539
+ [0, 0, 0, 0, 0],
540
+ ];
541
+ var CreateBatchPredictionOutput = [3, n0, _CBPO, 0, [_BPI], [0]];
542
+ var CreateDataSourceFromRDSInput = [
543
+ 3,
544
+ n0,
545
+ _CDSFRDSI,
546
+ 0,
547
+ [_DSI, _DSN, _RDSD, _RARN, _CS],
548
+ [0, 0, [() => RDSDataSpec, 0], 0, 2],
549
+ ];
550
+ var CreateDataSourceFromRDSOutput = [3, n0, _CDSFRDSO, 0, [_DSI], [0]];
551
+ var CreateDataSourceFromRedshiftInput = [
552
+ 3,
553
+ n0,
554
+ _CDSFRI,
555
+ 0,
556
+ [_DSI, _DSN, _DS, _RARN, _CS],
557
+ [0, 0, [() => RedshiftDataSpec, 0], 0, 2],
558
+ ];
559
+ var CreateDataSourceFromRedshiftOutput = [3, n0, _CDSFRO, 0, [_DSI], [0]];
560
+ var CreateDataSourceFromS3Input = [
561
+ 3,
562
+ n0,
563
+ _CDSFSI,
564
+ 0,
565
+ [_DSI, _DSN, _DS, _CS],
566
+ [0, 0, () => S3DataSpec, 2],
567
+ ];
568
+ var CreateDataSourceFromS3Output = [3, n0, _CDSFSO, 0, [_DSI], [0]];
569
+ var CreateEvaluationInput = [3, n0, _CEI, 0, [_EI, _EN, _MLMI, _EDSI], [0, 0, 0, 0]];
570
+ var CreateEvaluationOutput = [3, n0, _CEO, 0, [_EI], [0]];
571
+ var CreateMLModelInput = [
572
+ 3,
573
+ n0,
574
+ _CMLMI,
575
+ 0,
576
+ [_MLMI, _MLMN, _MLMT, _P, _TDSI, _R, _RU],
577
+ [0, 0, 0, 128 | 0, 0, 0, 0],
578
+ ];
579
+ var CreateMLModelOutput = [3, n0, _CMLMO, 0, [_MLMI], [0]];
580
+ var CreateRealtimeEndpointInput = [3, n0, _CREI, 0, [_MLMI], [0]];
581
+ var CreateRealtimeEndpointOutput = [
582
+ 3,
583
+ n0,
584
+ _CREO,
585
+ 0,
586
+ [_MLMI, _REI],
587
+ [0, () => RealtimeEndpointInfo],
588
+ ];
589
+ var DataSource = [
590
+ 3,
591
+ n0,
592
+ _DSa,
593
+ 0,
594
+ [_DSI, _DLS, _DR, _CBIU, _CA, _LUA, _DSIB, _NOF, _N, _S, _M, _RM, _RDSM, _RARN, _CS, _CT, _FA, _SA],
595
+ [0, 0, 0, 0, 4, 4, 1, 1, 0, 0, 0, () => RedshiftMetadata, () => RDSMetadata, 0, 2, 1, 4, 4],
596
+ ];
597
+ var DeleteBatchPredictionInput = [3, n0, _DBPI, 0, [_BPI], [0]];
598
+ var DeleteBatchPredictionOutput = [3, n0, _DBPO, 0, [_BPI], [0]];
599
+ var DeleteDataSourceInput = [3, n0, _DDSI, 0, [_DSI], [0]];
600
+ var DeleteDataSourceOutput = [3, n0, _DDSO, 0, [_DSI], [0]];
601
+ var DeleteEvaluationInput = [3, n0, _DEI, 0, [_EI], [0]];
602
+ var DeleteEvaluationOutput = [3, n0, _DEO, 0, [_EI], [0]];
603
+ var DeleteMLModelInput = [3, n0, _DMLMI, 0, [_MLMI], [0]];
604
+ var DeleteMLModelOutput = [3, n0, _DMLMO, 0, [_MLMI], [0]];
605
+ var DeleteRealtimeEndpointInput = [3, n0, _DREI, 0, [_MLMI], [0]];
606
+ var DeleteRealtimeEndpointOutput = [
607
+ 3,
608
+ n0,
609
+ _DREO,
610
+ 0,
611
+ [_MLMI, _REI],
612
+ [0, () => RealtimeEndpointInfo],
613
+ ];
614
+ var DeleteTagsInput = [3, n0, _DTI, 0, [_TK, _RI, _RT], [64 | 0, 0, 0]];
615
+ var DeleteTagsOutput = [3, n0, _DTO, 0, [_RI, _RT], [0, 0]];
616
+ var DescribeBatchPredictionsInput = [
617
+ 3,
618
+ n0,
619
+ _DBPIe,
620
+ 0,
621
+ [_FV, _EQ, _GT, _LT, _GE, _LE, _NE, _Pr, _SO, _NT, _L],
622
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
623
+ ];
624
+ var DescribeBatchPredictionsOutput = [
625
+ 3,
626
+ n0,
627
+ _DBPOe,
628
+ 0,
629
+ [_Re, _NT],
630
+ [() => BatchPredictions, 0],
631
+ ];
632
+ var DescribeDataSourcesInput = [
633
+ 3,
634
+ n0,
635
+ _DDSIe,
636
+ 0,
637
+ [_FV, _EQ, _GT, _LT, _GE, _LE, _NE, _Pr, _SO, _NT, _L],
638
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
639
+ ];
640
+ var DescribeDataSourcesOutput = [3, n0, _DDSOe, 0, [_Re, _NT], [() => DataSources, 0]];
641
+ var DescribeEvaluationsInput = [
642
+ 3,
643
+ n0,
644
+ _DEIe,
645
+ 0,
646
+ [_FV, _EQ, _GT, _LT, _GE, _LE, _NE, _Pr, _SO, _NT, _L],
647
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
648
+ ];
649
+ var DescribeEvaluationsOutput = [3, n0, _DEOe, 0, [_Re, _NT], [() => Evaluations, 0]];
650
+ var DescribeMLModelsInput = [
651
+ 3,
652
+ n0,
653
+ _DMLMIe,
654
+ 0,
655
+ [_FV, _EQ, _GT, _LT, _GE, _LE, _NE, _Pr, _SO, _NT, _L],
656
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
657
+ ];
658
+ var DescribeMLModelsOutput = [3, n0, _DMLMOe, 0, [_Re, _NT], [() => MLModels, 0]];
659
+ var DescribeTagsInput = [3, n0, _DTIe, 0, [_RI, _RT], [0, 0]];
660
+ var DescribeTagsOutput = [3, n0, _DTOe, 0, [_RI, _RT, _T], [0, 0, () => TagList]];
661
+ var Evaluation = [
662
+ 3,
663
+ n0,
664
+ _E,
665
+ 0,
666
+ [_EI, _MLMI, _EDSI, _IDLS, _CBIU, _CA, _LUA, _N, _S, _PM, _M, _CT, _FA, _SA],
667
+ [0, 0, 0, 0, 0, 4, 4, 0, 0, () => PerformanceMetrics, 0, 1, 4, 4],
668
+ ];
669
+ var GetBatchPredictionInput = [3, n0, _GBPI, 0, [_BPI], [0]];
670
+ var GetBatchPredictionOutput = [
671
+ 3,
672
+ n0,
673
+ _GBPO,
674
+ 0,
675
+ [_BPI, _MLMI, _BPDSI, _IDLS, _CBIU, _CA, _LUA, _N, _S, _OU, _LU, _M, _CT, _FA, _SA, _TRC, _IRC],
676
+ [0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 1, 4, 4, 1, 1],
677
+ ];
678
+ var GetDataSourceInput = [3, n0, _GDSI, 0, [_DSI, _V], [0, 2]];
679
+ var GetDataSourceOutput = [
680
+ 3,
681
+ n0,
682
+ _GDSO,
683
+ 0,
684
+ [_DSI, _DLS, _DR, _CBIU, _CA, _LUA, _DSIB, _NOF, _N, _S, _LU, _M, _RM, _RDSM, _RARN, _CS, _CT, _FA, _SA, _DSS],
685
+ [0, 0, 0, 0, 4, 4, 1, 1, 0, 0, 0, 0, () => RedshiftMetadata, () => RDSMetadata, 0, 2, 1, 4, 4, 0],
686
+ ];
687
+ var GetEvaluationInput = [3, n0, _GEI, 0, [_EI], [0]];
688
+ var GetEvaluationOutput = [
689
+ 3,
690
+ n0,
691
+ _GEO,
692
+ 0,
693
+ [_EI, _MLMI, _EDSI, _IDLS, _CBIU, _CA, _LUA, _N, _S, _PM, _LU, _M, _CT, _FA, _SA],
694
+ [0, 0, 0, 0, 0, 4, 4, 0, 0, () => PerformanceMetrics, 0, 0, 1, 4, 4],
695
+ ];
696
+ var GetMLModelInput = [3, n0, _GMLMI, 0, [_MLMI, _V], [0, 2]];
697
+ var GetMLModelOutput = [
698
+ 3,
699
+ n0,
700
+ _GMLMO,
701
+ 0,
702
+ [_MLMI, _TDSI, _CBIU, _CA, _LUA, _N, _S, _SIB, _EIn, _TP, _IDLS, _MLMT, _ST, _STLUA, _LU, _M, _CT, _FA, _SA, _R, _Sc],
703
+ [0, 0, 0, 4, 4, 0, 0, 1, () => RealtimeEndpointInfo, 128 | 0, 0, 0, 1, 4, 0, 0, 1, 4, 4, 0, 0],
704
+ ];
705
+ var IdempotentParameterMismatchException = [
706
+ -3,
707
+ n0,
708
+ _IPME,
709
+ {
710
+ [_e]: _c,
711
+ [_hE]: 400,
712
+ },
713
+ [_m, _co],
714
+ [0, 1],
715
+ ];
716
+ schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, IdempotentParameterMismatchException$1);
717
+ var InternalServerException = [
718
+ -3,
719
+ n0,
720
+ _ISE,
721
+ {
722
+ [_e]: _s,
723
+ [_hE]: 500,
724
+ },
725
+ [_m, _co],
726
+ [0, 1],
727
+ ];
728
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
729
+ var InvalidInputException = [
730
+ -3,
731
+ n0,
732
+ _IIE,
733
+ {
734
+ [_e]: _c,
735
+ [_hE]: 400,
736
+ },
737
+ [_m, _co],
738
+ [0, 1],
739
+ ];
740
+ schema.TypeRegistry.for(n0).registerError(InvalidInputException, InvalidInputException$1);
741
+ var InvalidTagException = [
742
+ -3,
743
+ n0,
744
+ _ITE,
745
+ {
746
+ [_e]: _c,
747
+ },
748
+ [_m],
749
+ [0],
750
+ ];
751
+ schema.TypeRegistry.for(n0).registerError(InvalidTagException, InvalidTagException$1);
752
+ var LimitExceededException = [
753
+ -3,
754
+ n0,
755
+ _LEE,
756
+ {
757
+ [_e]: _c,
758
+ [_hE]: 417,
759
+ },
760
+ [_m, _co],
761
+ [0, 1],
762
+ ];
763
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
764
+ var MLModel = [
765
+ 3,
766
+ n0,
767
+ _MLM,
768
+ 0,
769
+ [_MLMI, _TDSI, _CBIU, _CA, _LUA, _N, _S, _SIB, _EIn, _TP, _IDLS, _A, _MLMT, _ST, _STLUA, _M, _CT, _FA, _SA],
770
+ [0, 0, 0, 4, 4, 0, 0, 1, () => RealtimeEndpointInfo, 128 | 0, 0, 0, 0, 1, 4, 0, 1, 4, 4],
771
+ ];
772
+ var PerformanceMetrics = [3, n0, _PM, 0, [_Pro], [128 | 0]];
773
+ var PredictInput = [3, n0, _PI, 0, [_MLMI, _Rec, _PE], [0, 128 | 0, 0]];
774
+ var Prediction = [3, n0, _Pre, 0, [_pL, _pV, _pS, _d], [0, 1, 128 | 1, 128 | 0]];
775
+ var PredictorNotMountedException = [
776
+ -3,
777
+ n0,
778
+ _PNME,
779
+ {
780
+ [_e]: _c,
781
+ [_hE]: 400,
782
+ },
783
+ [_m],
784
+ [0],
785
+ ];
786
+ schema.TypeRegistry.for(n0).registerError(PredictorNotMountedException, PredictorNotMountedException$1);
787
+ var PredictOutput = [3, n0, _PO, 0, [_Pre], [() => Prediction]];
788
+ var RDSDatabase = [3, n0, _RDSDa, 0, [_II, _DN], [0, 0]];
789
+ var RDSDatabaseCredentials = [
790
+ 3,
791
+ n0,
792
+ _RDSDC,
793
+ 0,
794
+ [_U, _Pa],
795
+ [0, [() => RDSDatabasePassword, 0]],
796
+ ];
797
+ var RDSDataSpec = [
798
+ 3,
799
+ n0,
800
+ _RDSDS,
801
+ 0,
802
+ [_DI, _SSQ, _DC, _SSL, _DR, _DSat, _DSU, _RR, _SR, _SI, _SGI],
803
+ [() => RDSDatabase, 0, [() => RDSDatabaseCredentials, 0], 0, 0, 0, 0, 0, 0, 0, 64 | 0],
804
+ ];
805
+ var RDSMetadata = [
806
+ 3,
807
+ n0,
808
+ _RDSM,
809
+ 0,
810
+ [_D, _DUN, _SSQ, _RR, _SR, _DPI],
811
+ [() => RDSDatabase, 0, 0, 0, 0, 0],
812
+ ];
813
+ var RealtimeEndpointInfo = [3, n0, _REI, 0, [_PRPS, _CA, _EU, _ES], [1, 4, 0, 0]];
814
+ var RedshiftDatabase = [3, n0, _RD, 0, [_DN, _CI], [0, 0]];
815
+ var RedshiftDatabaseCredentials = [
816
+ 3,
817
+ n0,
818
+ _RDC,
819
+ 0,
820
+ [_U, _Pa],
821
+ [0, [() => RedshiftDatabasePassword, 0]],
822
+ ];
823
+ var RedshiftDataSpec = [
824
+ 3,
825
+ n0,
826
+ _RDS,
827
+ 0,
828
+ [_DI, _SSQ, _DC, _SSL, _DR, _DSat, _DSU],
829
+ [() => RedshiftDatabase, 0, [() => RedshiftDatabaseCredentials, 0], 0, 0, 0, 0],
830
+ ];
831
+ var RedshiftMetadata = [3, n0, _RM, 0, [_RD, _DUN, _SSQ], [() => RedshiftDatabase, 0, 0]];
832
+ var ResourceNotFoundException = [
833
+ -3,
834
+ n0,
835
+ _RNFE,
836
+ {
837
+ [_e]: _c,
838
+ [_hE]: 404,
839
+ },
840
+ [_m, _co],
841
+ [0, 1],
842
+ ];
843
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
844
+ var S3DataSpec = [3, n0, _SDS, 0, [_DLS, _DR, _DSat, _DSLS], [0, 0, 0, 0]];
845
+ var Tag = [3, n0, _Ta, 0, [_K, _Va], [0, 0]];
846
+ var TagLimitExceededException = [
847
+ -3,
848
+ n0,
849
+ _TLEE,
850
+ {
851
+ [_e]: _c,
852
+ },
853
+ [_m],
854
+ [0],
855
+ ];
856
+ schema.TypeRegistry.for(n0).registerError(TagLimitExceededException, TagLimitExceededException$1);
857
+ var UpdateBatchPredictionInput = [3, n0, _UBPI, 0, [_BPI, _BPN], [0, 0]];
858
+ var UpdateBatchPredictionOutput = [3, n0, _UBPO, 0, [_BPI], [0]];
859
+ var UpdateDataSourceInput = [3, n0, _UDSI, 0, [_DSI, _DSN], [0, 0]];
860
+ var UpdateDataSourceOutput = [3, n0, _UDSO, 0, [_DSI], [0]];
861
+ var UpdateEvaluationInput = [3, n0, _UEI, 0, [_EI, _EN], [0, 0]];
862
+ var UpdateEvaluationOutput = [3, n0, _UEO, 0, [_EI], [0]];
863
+ var UpdateMLModelInput = [3, n0, _UMLMI, 0, [_MLMI, _MLMN, _ST], [0, 0, 1]];
864
+ var UpdateMLModelOutput = [3, n0, _UMLMO, 0, [_MLMI], [0]];
865
+ var MachineLearningServiceException = [-3, _sm, "MachineLearningServiceException", 0, [], []];
866
+ schema.TypeRegistry.for(_sm).registerError(MachineLearningServiceException, MachineLearningServiceException$1);
867
+ var BatchPredictions = [1, n0, _BPa, 0, () => BatchPrediction];
868
+ var DataSources = [1, n0, _DSata, 0, () => DataSource];
869
+ var Evaluations = [1, n0, _Ev, 0, () => Evaluation];
870
+ var MLModels = [1, n0, _MLMo, 0, () => MLModel];
871
+ var TagList = [1, n0, _TL, 0, () => Tag];
872
+ var AddTags = [9, n0, _AT, 0, () => AddTagsInput, () => AddTagsOutput];
873
+ var CreateBatchPrediction = [
874
+ 9,
875
+ n0,
876
+ _CBP,
877
+ 0,
878
+ () => CreateBatchPredictionInput,
879
+ () => CreateBatchPredictionOutput,
880
+ ];
881
+ var CreateDataSourceFromRDS = [
882
+ 9,
883
+ n0,
884
+ _CDSFRDS,
885
+ 0,
886
+ () => CreateDataSourceFromRDSInput,
887
+ () => CreateDataSourceFromRDSOutput,
888
+ ];
889
+ var CreateDataSourceFromRedshift = [
890
+ 9,
891
+ n0,
892
+ _CDSFR,
893
+ 0,
894
+ () => CreateDataSourceFromRedshiftInput,
895
+ () => CreateDataSourceFromRedshiftOutput,
896
+ ];
897
+ var CreateDataSourceFromS3 = [
898
+ 9,
899
+ n0,
900
+ _CDSFS,
901
+ 0,
902
+ () => CreateDataSourceFromS3Input,
903
+ () => CreateDataSourceFromS3Output,
904
+ ];
905
+ var CreateEvaluation = [
906
+ 9,
907
+ n0,
908
+ _CE,
909
+ 0,
910
+ () => CreateEvaluationInput,
911
+ () => CreateEvaluationOutput,
912
+ ];
913
+ var CreateMLModel = [
914
+ 9,
915
+ n0,
916
+ _CMLM,
917
+ 0,
918
+ () => CreateMLModelInput,
919
+ () => CreateMLModelOutput,
920
+ ];
921
+ var CreateRealtimeEndpoint = [
922
+ 9,
923
+ n0,
924
+ _CRE,
925
+ 0,
926
+ () => CreateRealtimeEndpointInput,
927
+ () => CreateRealtimeEndpointOutput,
928
+ ];
929
+ var DeleteBatchPrediction = [
930
+ 9,
931
+ n0,
932
+ _DBP,
933
+ 0,
934
+ () => DeleteBatchPredictionInput,
935
+ () => DeleteBatchPredictionOutput,
936
+ ];
937
+ var DeleteDataSource = [
938
+ 9,
939
+ n0,
940
+ _DDS,
941
+ 0,
942
+ () => DeleteDataSourceInput,
943
+ () => DeleteDataSourceOutput,
944
+ ];
945
+ var DeleteEvaluation = [
946
+ 9,
947
+ n0,
948
+ _DE,
949
+ 0,
950
+ () => DeleteEvaluationInput,
951
+ () => DeleteEvaluationOutput,
952
+ ];
953
+ var DeleteMLModel = [
954
+ 9,
955
+ n0,
956
+ _DMLM,
957
+ 0,
958
+ () => DeleteMLModelInput,
959
+ () => DeleteMLModelOutput,
960
+ ];
961
+ var DeleteRealtimeEndpoint = [
962
+ 9,
963
+ n0,
964
+ _DRE,
965
+ 0,
966
+ () => DeleteRealtimeEndpointInput,
967
+ () => DeleteRealtimeEndpointOutput,
968
+ ];
969
+ var DeleteTags = [9, n0, _DT, 0, () => DeleteTagsInput, () => DeleteTagsOutput];
970
+ var DescribeBatchPredictions = [
971
+ 9,
972
+ n0,
973
+ _DBPe,
974
+ 0,
975
+ () => DescribeBatchPredictionsInput,
976
+ () => DescribeBatchPredictionsOutput,
977
+ ];
978
+ var DescribeDataSources = [
979
+ 9,
980
+ n0,
981
+ _DDSe,
982
+ 0,
983
+ () => DescribeDataSourcesInput,
984
+ () => DescribeDataSourcesOutput,
985
+ ];
986
+ var DescribeEvaluations = [
987
+ 9,
988
+ n0,
989
+ _DEe,
990
+ 0,
991
+ () => DescribeEvaluationsInput,
992
+ () => DescribeEvaluationsOutput,
993
+ ];
994
+ var DescribeMLModels = [
995
+ 9,
996
+ n0,
997
+ _DMLMe,
998
+ 0,
999
+ () => DescribeMLModelsInput,
1000
+ () => DescribeMLModelsOutput,
1001
+ ];
1002
+ var DescribeTags = [9, n0, _DTe, 0, () => DescribeTagsInput, () => DescribeTagsOutput];
1003
+ var GetBatchPrediction = [
1004
+ 9,
1005
+ n0,
1006
+ _GBP,
1007
+ 0,
1008
+ () => GetBatchPredictionInput,
1009
+ () => GetBatchPredictionOutput,
1010
+ ];
1011
+ var GetDataSource = [9, n0, _GDS, 0, () => GetDataSourceInput, () => GetDataSourceOutput];
1012
+ var GetEvaluation = [9, n0, _GEe, 0, () => GetEvaluationInput, () => GetEvaluationOutput];
1013
+ var GetMLModel = [9, n0, _GMLM, 0, () => GetMLModelInput, () => GetMLModelOutput];
1014
+ var Predict = [9, n0, _Pred, 0, () => PredictInput, () => PredictOutput];
1015
+ var UpdateBatchPrediction = [
1016
+ 9,
1017
+ n0,
1018
+ _UBP,
1019
+ 0,
1020
+ () => UpdateBatchPredictionInput,
1021
+ () => UpdateBatchPredictionOutput,
1022
+ ];
1023
+ var UpdateDataSource = [
1024
+ 9,
1025
+ n0,
1026
+ _UDS,
1027
+ 0,
1028
+ () => UpdateDataSourceInput,
1029
+ () => UpdateDataSourceOutput,
1030
+ ];
1031
+ var UpdateEvaluation = [
1032
+ 9,
1033
+ n0,
1034
+ _UE,
1035
+ 0,
1036
+ () => UpdateEvaluationInput,
1037
+ () => UpdateEvaluationOutput,
1038
+ ];
1039
+ var UpdateMLModel = [
1040
+ 9,
1041
+ n0,
1042
+ _UMLM,
1043
+ 0,
1044
+ () => UpdateMLModelInput,
1045
+ () => UpdateMLModelOutput,
1046
+ ];
1281
1047
 
1282
1048
  class AddTagsCommand extends smithyClient.Command
1283
1049
  .classBuilder()
1284
1050
  .ep(commonParams)
1285
1051
  .m(function (Command, cs, config, o) {
1286
- return [
1287
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1288
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1289
- ];
1052
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1290
1053
  })
1291
1054
  .s("AmazonML_20141212", "AddTags", {})
1292
1055
  .n("MachineLearningClient", "AddTagsCommand")
1293
- .f(void 0, void 0)
1294
- .ser(se_AddTagsCommand)
1295
- .de(de_AddTagsCommand)
1056
+ .sc(AddTags)
1296
1057
  .build() {
1297
1058
  }
1298
1059
 
@@ -1300,16 +1061,11 @@ class CreateBatchPredictionCommand extends smithyClient.Command
1300
1061
  .classBuilder()
1301
1062
  .ep(commonParams)
1302
1063
  .m(function (Command, cs, config, o) {
1303
- return [
1304
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1305
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1306
- ];
1064
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1307
1065
  })
1308
1066
  .s("AmazonML_20141212", "CreateBatchPrediction", {})
1309
1067
  .n("MachineLearningClient", "CreateBatchPredictionCommand")
1310
- .f(void 0, void 0)
1311
- .ser(se_CreateBatchPredictionCommand)
1312
- .de(de_CreateBatchPredictionCommand)
1068
+ .sc(CreateBatchPrediction)
1313
1069
  .build() {
1314
1070
  }
1315
1071
 
@@ -1317,16 +1073,11 @@ class CreateDataSourceFromRDSCommand extends smithyClient.Command
1317
1073
  .classBuilder()
1318
1074
  .ep(commonParams)
1319
1075
  .m(function (Command, cs, config, o) {
1320
- return [
1321
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1322
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1323
- ];
1076
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1324
1077
  })
1325
1078
  .s("AmazonML_20141212", "CreateDataSourceFromRDS", {})
1326
1079
  .n("MachineLearningClient", "CreateDataSourceFromRDSCommand")
1327
- .f(CreateDataSourceFromRDSInputFilterSensitiveLog, void 0)
1328
- .ser(se_CreateDataSourceFromRDSCommand)
1329
- .de(de_CreateDataSourceFromRDSCommand)
1080
+ .sc(CreateDataSourceFromRDS)
1330
1081
  .build() {
1331
1082
  }
1332
1083
 
@@ -1334,16 +1085,11 @@ class CreateDataSourceFromRedshiftCommand extends smithyClient.Command
1334
1085
  .classBuilder()
1335
1086
  .ep(commonParams)
1336
1087
  .m(function (Command, cs, config, o) {
1337
- return [
1338
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1339
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1340
- ];
1088
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1341
1089
  })
1342
1090
  .s("AmazonML_20141212", "CreateDataSourceFromRedshift", {})
1343
1091
  .n("MachineLearningClient", "CreateDataSourceFromRedshiftCommand")
1344
- .f(CreateDataSourceFromRedshiftInputFilterSensitiveLog, void 0)
1345
- .ser(se_CreateDataSourceFromRedshiftCommand)
1346
- .de(de_CreateDataSourceFromRedshiftCommand)
1092
+ .sc(CreateDataSourceFromRedshift)
1347
1093
  .build() {
1348
1094
  }
1349
1095
 
@@ -1351,16 +1097,11 @@ class CreateDataSourceFromS3Command extends smithyClient.Command
1351
1097
  .classBuilder()
1352
1098
  .ep(commonParams)
1353
1099
  .m(function (Command, cs, config, o) {
1354
- return [
1355
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1356
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1357
- ];
1100
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
1101
  })
1359
1102
  .s("AmazonML_20141212", "CreateDataSourceFromS3", {})
1360
1103
  .n("MachineLearningClient", "CreateDataSourceFromS3Command")
1361
- .f(void 0, void 0)
1362
- .ser(se_CreateDataSourceFromS3Command)
1363
- .de(de_CreateDataSourceFromS3Command)
1104
+ .sc(CreateDataSourceFromS3)
1364
1105
  .build() {
1365
1106
  }
1366
1107
 
@@ -1368,16 +1109,11 @@ class CreateEvaluationCommand extends smithyClient.Command
1368
1109
  .classBuilder()
1369
1110
  .ep(commonParams)
1370
1111
  .m(function (Command, cs, config, o) {
1371
- return [
1372
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1373
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1374
- ];
1112
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1375
1113
  })
1376
1114
  .s("AmazonML_20141212", "CreateEvaluation", {})
1377
1115
  .n("MachineLearningClient", "CreateEvaluationCommand")
1378
- .f(void 0, void 0)
1379
- .ser(se_CreateEvaluationCommand)
1380
- .de(de_CreateEvaluationCommand)
1116
+ .sc(CreateEvaluation)
1381
1117
  .build() {
1382
1118
  }
1383
1119
 
@@ -1385,16 +1121,11 @@ class CreateMLModelCommand extends smithyClient.Command
1385
1121
  .classBuilder()
1386
1122
  .ep(commonParams)
1387
1123
  .m(function (Command, cs, config, o) {
1388
- return [
1389
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1390
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1391
- ];
1124
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1392
1125
  })
1393
1126
  .s("AmazonML_20141212", "CreateMLModel", {})
1394
1127
  .n("MachineLearningClient", "CreateMLModelCommand")
1395
- .f(void 0, void 0)
1396
- .ser(se_CreateMLModelCommand)
1397
- .de(de_CreateMLModelCommand)
1128
+ .sc(CreateMLModel)
1398
1129
  .build() {
1399
1130
  }
1400
1131
 
@@ -1402,16 +1133,11 @@ class CreateRealtimeEndpointCommand extends smithyClient.Command
1402
1133
  .classBuilder()
1403
1134
  .ep(commonParams)
1404
1135
  .m(function (Command, cs, config, o) {
1405
- return [
1406
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1407
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1408
- ];
1136
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1409
1137
  })
1410
1138
  .s("AmazonML_20141212", "CreateRealtimeEndpoint", {})
1411
1139
  .n("MachineLearningClient", "CreateRealtimeEndpointCommand")
1412
- .f(void 0, void 0)
1413
- .ser(se_CreateRealtimeEndpointCommand)
1414
- .de(de_CreateRealtimeEndpointCommand)
1140
+ .sc(CreateRealtimeEndpoint)
1415
1141
  .build() {
1416
1142
  }
1417
1143
 
@@ -1419,16 +1145,11 @@ class DeleteBatchPredictionCommand extends smithyClient.Command
1419
1145
  .classBuilder()
1420
1146
  .ep(commonParams)
1421
1147
  .m(function (Command, cs, config, o) {
1422
- return [
1423
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1424
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1425
- ];
1148
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1426
1149
  })
1427
1150
  .s("AmazonML_20141212", "DeleteBatchPrediction", {})
1428
1151
  .n("MachineLearningClient", "DeleteBatchPredictionCommand")
1429
- .f(void 0, void 0)
1430
- .ser(se_DeleteBatchPredictionCommand)
1431
- .de(de_DeleteBatchPredictionCommand)
1152
+ .sc(DeleteBatchPrediction)
1432
1153
  .build() {
1433
1154
  }
1434
1155
 
@@ -1436,16 +1157,11 @@ class DeleteDataSourceCommand extends smithyClient.Command
1436
1157
  .classBuilder()
1437
1158
  .ep(commonParams)
1438
1159
  .m(function (Command, cs, config, o) {
1439
- return [
1440
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1441
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1442
- ];
1160
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1443
1161
  })
1444
1162
  .s("AmazonML_20141212", "DeleteDataSource", {})
1445
1163
  .n("MachineLearningClient", "DeleteDataSourceCommand")
1446
- .f(void 0, void 0)
1447
- .ser(se_DeleteDataSourceCommand)
1448
- .de(de_DeleteDataSourceCommand)
1164
+ .sc(DeleteDataSource)
1449
1165
  .build() {
1450
1166
  }
1451
1167
 
@@ -1453,16 +1169,11 @@ class DeleteEvaluationCommand extends smithyClient.Command
1453
1169
  .classBuilder()
1454
1170
  .ep(commonParams)
1455
1171
  .m(function (Command, cs, config, o) {
1456
- return [
1457
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1458
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1459
- ];
1172
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1460
1173
  })
1461
1174
  .s("AmazonML_20141212", "DeleteEvaluation", {})
1462
1175
  .n("MachineLearningClient", "DeleteEvaluationCommand")
1463
- .f(void 0, void 0)
1464
- .ser(se_DeleteEvaluationCommand)
1465
- .de(de_DeleteEvaluationCommand)
1176
+ .sc(DeleteEvaluation)
1466
1177
  .build() {
1467
1178
  }
1468
1179
 
@@ -1470,16 +1181,11 @@ class DeleteMLModelCommand extends smithyClient.Command
1470
1181
  .classBuilder()
1471
1182
  .ep(commonParams)
1472
1183
  .m(function (Command, cs, config, o) {
1473
- return [
1474
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1475
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1476
- ];
1184
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1477
1185
  })
1478
1186
  .s("AmazonML_20141212", "DeleteMLModel", {})
1479
1187
  .n("MachineLearningClient", "DeleteMLModelCommand")
1480
- .f(void 0, void 0)
1481
- .ser(se_DeleteMLModelCommand)
1482
- .de(de_DeleteMLModelCommand)
1188
+ .sc(DeleteMLModel)
1483
1189
  .build() {
1484
1190
  }
1485
1191
 
@@ -1487,16 +1193,11 @@ class DeleteRealtimeEndpointCommand extends smithyClient.Command
1487
1193
  .classBuilder()
1488
1194
  .ep(commonParams)
1489
1195
  .m(function (Command, cs, config, o) {
1490
- return [
1491
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1492
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1493
- ];
1196
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1494
1197
  })
1495
1198
  .s("AmazonML_20141212", "DeleteRealtimeEndpoint", {})
1496
1199
  .n("MachineLearningClient", "DeleteRealtimeEndpointCommand")
1497
- .f(void 0, void 0)
1498
- .ser(se_DeleteRealtimeEndpointCommand)
1499
- .de(de_DeleteRealtimeEndpointCommand)
1200
+ .sc(DeleteRealtimeEndpoint)
1500
1201
  .build() {
1501
1202
  }
1502
1203
 
@@ -1504,16 +1205,11 @@ class DeleteTagsCommand extends smithyClient.Command
1504
1205
  .classBuilder()
1505
1206
  .ep(commonParams)
1506
1207
  .m(function (Command, cs, config, o) {
1507
- return [
1508
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1509
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1510
- ];
1208
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1511
1209
  })
1512
1210
  .s("AmazonML_20141212", "DeleteTags", {})
1513
1211
  .n("MachineLearningClient", "DeleteTagsCommand")
1514
- .f(void 0, void 0)
1515
- .ser(se_DeleteTagsCommand)
1516
- .de(de_DeleteTagsCommand)
1212
+ .sc(DeleteTags)
1517
1213
  .build() {
1518
1214
  }
1519
1215
 
@@ -1521,16 +1217,11 @@ class DescribeBatchPredictionsCommand extends smithyClient.Command
1521
1217
  .classBuilder()
1522
1218
  .ep(commonParams)
1523
1219
  .m(function (Command, cs, config, o) {
1524
- return [
1525
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1526
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1527
- ];
1220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1528
1221
  })
1529
1222
  .s("AmazonML_20141212", "DescribeBatchPredictions", {})
1530
1223
  .n("MachineLearningClient", "DescribeBatchPredictionsCommand")
1531
- .f(void 0, void 0)
1532
- .ser(se_DescribeBatchPredictionsCommand)
1533
- .de(de_DescribeBatchPredictionsCommand)
1224
+ .sc(DescribeBatchPredictions)
1534
1225
  .build() {
1535
1226
  }
1536
1227
 
@@ -1538,16 +1229,11 @@ class DescribeDataSourcesCommand extends smithyClient.Command
1538
1229
  .classBuilder()
1539
1230
  .ep(commonParams)
1540
1231
  .m(function (Command, cs, config, o) {
1541
- return [
1542
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1543
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1544
- ];
1232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
1233
  })
1546
1234
  .s("AmazonML_20141212", "DescribeDataSources", {})
1547
1235
  .n("MachineLearningClient", "DescribeDataSourcesCommand")
1548
- .f(void 0, void 0)
1549
- .ser(se_DescribeDataSourcesCommand)
1550
- .de(de_DescribeDataSourcesCommand)
1236
+ .sc(DescribeDataSources)
1551
1237
  .build() {
1552
1238
  }
1553
1239
 
@@ -1555,16 +1241,11 @@ class DescribeEvaluationsCommand extends smithyClient.Command
1555
1241
  .classBuilder()
1556
1242
  .ep(commonParams)
1557
1243
  .m(function (Command, cs, config, o) {
1558
- return [
1559
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1560
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1561
- ];
1244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1562
1245
  })
1563
1246
  .s("AmazonML_20141212", "DescribeEvaluations", {})
1564
1247
  .n("MachineLearningClient", "DescribeEvaluationsCommand")
1565
- .f(void 0, void 0)
1566
- .ser(se_DescribeEvaluationsCommand)
1567
- .de(de_DescribeEvaluationsCommand)
1248
+ .sc(DescribeEvaluations)
1568
1249
  .build() {
1569
1250
  }
1570
1251
 
@@ -1572,16 +1253,11 @@ class DescribeMLModelsCommand extends smithyClient.Command
1572
1253
  .classBuilder()
1573
1254
  .ep(commonParams)
1574
1255
  .m(function (Command, cs, config, o) {
1575
- return [
1576
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1577
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1578
- ];
1256
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1579
1257
  })
1580
1258
  .s("AmazonML_20141212", "DescribeMLModels", {})
1581
1259
  .n("MachineLearningClient", "DescribeMLModelsCommand")
1582
- .f(void 0, void 0)
1583
- .ser(se_DescribeMLModelsCommand)
1584
- .de(de_DescribeMLModelsCommand)
1260
+ .sc(DescribeMLModels)
1585
1261
  .build() {
1586
1262
  }
1587
1263
 
@@ -1589,16 +1265,11 @@ class DescribeTagsCommand extends smithyClient.Command
1589
1265
  .classBuilder()
1590
1266
  .ep(commonParams)
1591
1267
  .m(function (Command, cs, config, o) {
1592
- return [
1593
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1594
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1595
- ];
1268
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1596
1269
  })
1597
1270
  .s("AmazonML_20141212", "DescribeTags", {})
1598
1271
  .n("MachineLearningClient", "DescribeTagsCommand")
1599
- .f(void 0, void 0)
1600
- .ser(se_DescribeTagsCommand)
1601
- .de(de_DescribeTagsCommand)
1272
+ .sc(DescribeTags)
1602
1273
  .build() {
1603
1274
  }
1604
1275
 
@@ -1606,16 +1277,11 @@ class GetBatchPredictionCommand extends smithyClient.Command
1606
1277
  .classBuilder()
1607
1278
  .ep(commonParams)
1608
1279
  .m(function (Command, cs, config, o) {
1609
- return [
1610
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1611
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1612
- ];
1280
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1613
1281
  })
1614
1282
  .s("AmazonML_20141212", "GetBatchPrediction", {})
1615
1283
  .n("MachineLearningClient", "GetBatchPredictionCommand")
1616
- .f(void 0, void 0)
1617
- .ser(se_GetBatchPredictionCommand)
1618
- .de(de_GetBatchPredictionCommand)
1284
+ .sc(GetBatchPrediction)
1619
1285
  .build() {
1620
1286
  }
1621
1287
 
@@ -1623,16 +1289,11 @@ class GetDataSourceCommand extends smithyClient.Command
1623
1289
  .classBuilder()
1624
1290
  .ep(commonParams)
1625
1291
  .m(function (Command, cs, config, o) {
1626
- return [
1627
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1628
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1629
- ];
1292
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
1293
  })
1631
1294
  .s("AmazonML_20141212", "GetDataSource", {})
1632
1295
  .n("MachineLearningClient", "GetDataSourceCommand")
1633
- .f(void 0, void 0)
1634
- .ser(se_GetDataSourceCommand)
1635
- .de(de_GetDataSourceCommand)
1296
+ .sc(GetDataSource)
1636
1297
  .build() {
1637
1298
  }
1638
1299
 
@@ -1640,16 +1301,11 @@ class GetEvaluationCommand extends smithyClient.Command
1640
1301
  .classBuilder()
1641
1302
  .ep(commonParams)
1642
1303
  .m(function (Command, cs, config, o) {
1643
- return [
1644
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1645
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1646
- ];
1304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1647
1305
  })
1648
1306
  .s("AmazonML_20141212", "GetEvaluation", {})
1649
1307
  .n("MachineLearningClient", "GetEvaluationCommand")
1650
- .f(void 0, void 0)
1651
- .ser(se_GetEvaluationCommand)
1652
- .de(de_GetEvaluationCommand)
1308
+ .sc(GetEvaluation)
1653
1309
  .build() {
1654
1310
  }
1655
1311
 
@@ -1657,16 +1313,11 @@ class GetMLModelCommand extends smithyClient.Command
1657
1313
  .classBuilder()
1658
1314
  .ep(commonParams)
1659
1315
  .m(function (Command, cs, config, o) {
1660
- return [
1661
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1662
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1663
- ];
1316
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1664
1317
  })
1665
1318
  .s("AmazonML_20141212", "GetMLModel", {})
1666
1319
  .n("MachineLearningClient", "GetMLModelCommand")
1667
- .f(void 0, void 0)
1668
- .ser(se_GetMLModelCommand)
1669
- .de(de_GetMLModelCommand)
1320
+ .sc(GetMLModel)
1670
1321
  .build() {
1671
1322
  }
1672
1323
 
@@ -1674,17 +1325,11 @@ class PredictCommand extends smithyClient.Command
1674
1325
  .classBuilder()
1675
1326
  .ep(commonParams)
1676
1327
  .m(function (Command, cs, config, o) {
1677
- return [
1678
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1679
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1680
- middlewareSdkMachinelearning.getPredictEndpointPlugin(config),
1681
- ];
1328
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()), middlewareSdkMachinelearning.getPredictEndpointPlugin(config)];
1682
1329
  })
1683
1330
  .s("AmazonML_20141212", "Predict", {})
1684
1331
  .n("MachineLearningClient", "PredictCommand")
1685
- .f(void 0, void 0)
1686
- .ser(se_PredictCommand)
1687
- .de(de_PredictCommand)
1332
+ .sc(Predict)
1688
1333
  .build() {
1689
1334
  }
1690
1335
 
@@ -1692,16 +1337,11 @@ class UpdateBatchPredictionCommand extends smithyClient.Command
1692
1337
  .classBuilder()
1693
1338
  .ep(commonParams)
1694
1339
  .m(function (Command, cs, config, o) {
1695
- return [
1696
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1697
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1698
- ];
1340
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1699
1341
  })
1700
1342
  .s("AmazonML_20141212", "UpdateBatchPrediction", {})
1701
1343
  .n("MachineLearningClient", "UpdateBatchPredictionCommand")
1702
- .f(void 0, void 0)
1703
- .ser(se_UpdateBatchPredictionCommand)
1704
- .de(de_UpdateBatchPredictionCommand)
1344
+ .sc(UpdateBatchPrediction)
1705
1345
  .build() {
1706
1346
  }
1707
1347
 
@@ -1709,16 +1349,11 @@ class UpdateDataSourceCommand extends smithyClient.Command
1709
1349
  .classBuilder()
1710
1350
  .ep(commonParams)
1711
1351
  .m(function (Command, cs, config, o) {
1712
- return [
1713
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1714
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1715
- ];
1352
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1716
1353
  })
1717
1354
  .s("AmazonML_20141212", "UpdateDataSource", {})
1718
1355
  .n("MachineLearningClient", "UpdateDataSourceCommand")
1719
- .f(void 0, void 0)
1720
- .ser(se_UpdateDataSourceCommand)
1721
- .de(de_UpdateDataSourceCommand)
1356
+ .sc(UpdateDataSource)
1722
1357
  .build() {
1723
1358
  }
1724
1359
 
@@ -1726,16 +1361,11 @@ class UpdateEvaluationCommand extends smithyClient.Command
1726
1361
  .classBuilder()
1727
1362
  .ep(commonParams)
1728
1363
  .m(function (Command, cs, config, o) {
1729
- return [
1730
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1731
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1732
- ];
1364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1733
1365
  })
1734
1366
  .s("AmazonML_20141212", "UpdateEvaluation", {})
1735
1367
  .n("MachineLearningClient", "UpdateEvaluationCommand")
1736
- .f(void 0, void 0)
1737
- .ser(se_UpdateEvaluationCommand)
1738
- .de(de_UpdateEvaluationCommand)
1368
+ .sc(UpdateEvaluation)
1739
1369
  .build() {
1740
1370
  }
1741
1371
 
@@ -1743,16 +1373,11 @@ class UpdateMLModelCommand extends smithyClient.Command
1743
1373
  .classBuilder()
1744
1374
  .ep(commonParams)
1745
1375
  .m(function (Command, cs, config, o) {
1746
- return [
1747
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1748
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1749
- ];
1376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1750
1377
  })
1751
1378
  .s("AmazonML_20141212", "UpdateMLModel", {})
1752
1379
  .n("MachineLearningClient", "UpdateMLModelCommand")
1753
- .f(void 0, void 0)
1754
- .ser(se_UpdateMLModelCommand)
1755
- .de(de_UpdateMLModelCommand)
1380
+ .sc(UpdateMLModel)
1756
1381
  .build() {
1757
1382
  }
1758
1383
 
@@ -2023,9 +1648,7 @@ exports.Algorithm = Algorithm;
2023
1648
  exports.BatchPredictionFilterVariable = BatchPredictionFilterVariable;
2024
1649
  exports.CreateBatchPredictionCommand = CreateBatchPredictionCommand;
2025
1650
  exports.CreateDataSourceFromRDSCommand = CreateDataSourceFromRDSCommand;
2026
- exports.CreateDataSourceFromRDSInputFilterSensitiveLog = CreateDataSourceFromRDSInputFilterSensitiveLog;
2027
1651
  exports.CreateDataSourceFromRedshiftCommand = CreateDataSourceFromRedshiftCommand;
2028
- exports.CreateDataSourceFromRedshiftInputFilterSensitiveLog = CreateDataSourceFromRedshiftInputFilterSensitiveLog;
2029
1652
  exports.CreateDataSourceFromS3Command = CreateDataSourceFromS3Command;
2030
1653
  exports.CreateEvaluationCommand = CreateEvaluationCommand;
2031
1654
  exports.CreateMLModelCommand = CreateMLModelCommand;
@@ -2049,26 +1672,22 @@ exports.GetBatchPredictionCommand = GetBatchPredictionCommand;
2049
1672
  exports.GetDataSourceCommand = GetDataSourceCommand;
2050
1673
  exports.GetEvaluationCommand = GetEvaluationCommand;
2051
1674
  exports.GetMLModelCommand = GetMLModelCommand;
2052
- exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
2053
- exports.InternalServerException = InternalServerException;
2054
- exports.InvalidInputException = InvalidInputException;
2055
- exports.InvalidTagException = InvalidTagException;
2056
- exports.LimitExceededException = LimitExceededException;
1675
+ exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException$1;
1676
+ exports.InternalServerException = InternalServerException$1;
1677
+ exports.InvalidInputException = InvalidInputException$1;
1678
+ exports.InvalidTagException = InvalidTagException$1;
1679
+ exports.LimitExceededException = LimitExceededException$1;
2057
1680
  exports.MLModelFilterVariable = MLModelFilterVariable;
2058
1681
  exports.MLModelType = MLModelType;
2059
1682
  exports.MachineLearning = MachineLearning;
2060
1683
  exports.MachineLearningClient = MachineLearningClient;
2061
- exports.MachineLearningServiceException = MachineLearningServiceException;
1684
+ exports.MachineLearningServiceException = MachineLearningServiceException$1;
2062
1685
  exports.PredictCommand = PredictCommand;
2063
- exports.PredictorNotMountedException = PredictorNotMountedException;
2064
- exports.RDSDataSpecFilterSensitiveLog = RDSDataSpecFilterSensitiveLog;
2065
- exports.RDSDatabaseCredentialsFilterSensitiveLog = RDSDatabaseCredentialsFilterSensitiveLog;
1686
+ exports.PredictorNotMountedException = PredictorNotMountedException$1;
2066
1687
  exports.RealtimeEndpointStatus = RealtimeEndpointStatus;
2067
- exports.RedshiftDataSpecFilterSensitiveLog = RedshiftDataSpecFilterSensitiveLog;
2068
- exports.RedshiftDatabaseCredentialsFilterSensitiveLog = RedshiftDatabaseCredentialsFilterSensitiveLog;
2069
- exports.ResourceNotFoundException = ResourceNotFoundException;
1688
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2070
1689
  exports.SortOrder = SortOrder;
2071
- exports.TagLimitExceededException = TagLimitExceededException;
1690
+ exports.TagLimitExceededException = TagLimitExceededException$1;
2072
1691
  exports.TaggableResourceType = TaggableResourceType;
2073
1692
  exports.UpdateBatchPredictionCommand = UpdateBatchPredictionCommand;
2074
1693
  exports.UpdateDataSourceCommand = UpdateDataSourceCommand;