@aws-sdk/client-machine-learning 3.131.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AddTagsCommand.js +2 -2
- package/dist-cjs/commands/CreateBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSourceFromRedshiftCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSourceFromS3Command.js +2 -2
- package/dist-cjs/commands/CreateEvaluationCommand.js +2 -2
- package/dist-cjs/commands/CreateMLModelCommand.js +2 -2
- package/dist-cjs/commands/CreateRealtimeEndpointCommand.js +2 -2
- package/dist-cjs/commands/DeleteBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataSourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteEvaluationCommand.js +2 -2
- package/dist-cjs/commands/DeleteMLModelCommand.js +2 -2
- package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js +2 -2
- package/dist-cjs/commands/DeleteTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeBatchPredictionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDataSourcesCommand.js +2 -2
- package/dist-cjs/commands/DescribeEvaluationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeMLModelsCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/GetBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/GetDataSourceCommand.js +2 -2
- package/dist-cjs/commands/GetEvaluationCommand.js +2 -2
- package/dist-cjs/commands/GetMLModelCommand.js +2 -2
- package/dist-cjs/commands/PredictCommand.js +2 -2
- package/dist-cjs/commands/UpdateBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataSourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateEvaluationCommand.js +2 -2
- package/dist-cjs/commands/UpdateMLModelCommand.js +2 -2
- package/dist-cjs/models/models_0.js +294 -440
- package/dist-cjs/protocols/Aws_json1_1.js +140 -233
- package/dist-es/commands/AddTagsCommand.js +3 -3
- package/dist-es/commands/CreateBatchPredictionCommand.js +3 -3
- package/dist-es/commands/CreateDataSourceFromRDSCommand.js +3 -3
- package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js +3 -3
- package/dist-es/commands/CreateDataSourceFromS3Command.js +3 -3
- package/dist-es/commands/CreateEvaluationCommand.js +3 -3
- package/dist-es/commands/CreateMLModelCommand.js +3 -3
- package/dist-es/commands/CreateRealtimeEndpointCommand.js +3 -3
- package/dist-es/commands/DeleteBatchPredictionCommand.js +3 -3
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -3
- package/dist-es/commands/DeleteEvaluationCommand.js +3 -3
- package/dist-es/commands/DeleteMLModelCommand.js +3 -3
- package/dist-es/commands/DeleteRealtimeEndpointCommand.js +3 -3
- package/dist-es/commands/DeleteTagsCommand.js +3 -3
- package/dist-es/commands/DescribeBatchPredictionsCommand.js +3 -3
- package/dist-es/commands/DescribeDataSourcesCommand.js +3 -3
- package/dist-es/commands/DescribeEvaluationsCommand.js +3 -3
- package/dist-es/commands/DescribeMLModelsCommand.js +3 -3
- package/dist-es/commands/DescribeTagsCommand.js +3 -3
- package/dist-es/commands/GetBatchPredictionCommand.js +3 -3
- package/dist-es/commands/GetDataSourceCommand.js +3 -3
- package/dist-es/commands/GetEvaluationCommand.js +3 -3
- package/dist-es/commands/GetMLModelCommand.js +3 -3
- package/dist-es/commands/PredictCommand.js +3 -3
- package/dist-es/commands/UpdateBatchPredictionCommand.js +3 -3
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -3
- package/dist-es/commands/UpdateEvaluationCommand.js +3 -3
- package/dist-es/commands/UpdateMLModelCommand.js +3 -3
- package/dist-es/models/models_0.js +73 -292
- package/dist-es/protocols/Aws_json1_1.js +225 -234
- package/dist-types/models/models_0.d.ts +292 -438
- package/dist-types/ts3.4/models/models_0.d.ts +146 -292
- package/package.json +6 -6
|
@@ -305,7 +305,6 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
305
305
|
...output,
|
|
306
306
|
body: await parseBody(output.body, context),
|
|
307
307
|
};
|
|
308
|
-
let response;
|
|
309
308
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
310
309
|
switch (errorCode) {
|
|
311
310
|
case "InternalServerException":
|
|
@@ -325,14 +324,12 @@ const deserializeAws_json1_1AddTagsCommandError = async (output, context) => {
|
|
|
325
324
|
throw await deserializeAws_json1_1TagLimitExceededExceptionResponse(parsedOutput, context);
|
|
326
325
|
default:
|
|
327
326
|
const parsedBody = parsedOutput.body;
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
$metadata,
|
|
327
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
328
|
+
output,
|
|
329
|
+
parsedBody,
|
|
330
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
331
|
+
errorCode,
|
|
334
332
|
});
|
|
335
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
336
333
|
}
|
|
337
334
|
};
|
|
338
335
|
const deserializeAws_json1_1CreateBatchPredictionCommand = async (output, context) => {
|
|
@@ -354,7 +351,6 @@ const deserializeAws_json1_1CreateBatchPredictionCommandError = async (output, c
|
|
|
354
351
|
...output,
|
|
355
352
|
body: await parseBody(output.body, context),
|
|
356
353
|
};
|
|
357
|
-
let response;
|
|
358
354
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
359
355
|
switch (errorCode) {
|
|
360
356
|
case "IdempotentParameterMismatchException":
|
|
@@ -368,14 +364,12 @@ const deserializeAws_json1_1CreateBatchPredictionCommandError = async (output, c
|
|
|
368
364
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
369
365
|
default:
|
|
370
366
|
const parsedBody = parsedOutput.body;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
$metadata,
|
|
367
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
368
|
+
output,
|
|
369
|
+
parsedBody,
|
|
370
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
371
|
+
errorCode,
|
|
377
372
|
});
|
|
378
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
379
373
|
}
|
|
380
374
|
};
|
|
381
375
|
const deserializeAws_json1_1CreateDataSourceFromRDSCommand = async (output, context) => {
|
|
@@ -397,7 +391,6 @@ const deserializeAws_json1_1CreateDataSourceFromRDSCommandError = async (output,
|
|
|
397
391
|
...output,
|
|
398
392
|
body: await parseBody(output.body, context),
|
|
399
393
|
};
|
|
400
|
-
let response;
|
|
401
394
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
402
395
|
switch (errorCode) {
|
|
403
396
|
case "IdempotentParameterMismatchException":
|
|
@@ -411,14 +404,12 @@ const deserializeAws_json1_1CreateDataSourceFromRDSCommandError = async (output,
|
|
|
411
404
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
412
405
|
default:
|
|
413
406
|
const parsedBody = parsedOutput.body;
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
$metadata,
|
|
407
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
408
|
+
output,
|
|
409
|
+
parsedBody,
|
|
410
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
411
|
+
errorCode,
|
|
420
412
|
});
|
|
421
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
422
413
|
}
|
|
423
414
|
};
|
|
424
415
|
const deserializeAws_json1_1CreateDataSourceFromRedshiftCommand = async (output, context) => {
|
|
@@ -440,7 +431,6 @@ const deserializeAws_json1_1CreateDataSourceFromRedshiftCommandError = async (ou
|
|
|
440
431
|
...output,
|
|
441
432
|
body: await parseBody(output.body, context),
|
|
442
433
|
};
|
|
443
|
-
let response;
|
|
444
434
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
445
435
|
switch (errorCode) {
|
|
446
436
|
case "IdempotentParameterMismatchException":
|
|
@@ -454,14 +444,12 @@ const deserializeAws_json1_1CreateDataSourceFromRedshiftCommandError = async (ou
|
|
|
454
444
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
455
445
|
default:
|
|
456
446
|
const parsedBody = parsedOutput.body;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
$metadata,
|
|
447
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
448
|
+
output,
|
|
449
|
+
parsedBody,
|
|
450
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
451
|
+
errorCode,
|
|
463
452
|
});
|
|
464
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
465
453
|
}
|
|
466
454
|
};
|
|
467
455
|
const deserializeAws_json1_1CreateDataSourceFromS3Command = async (output, context) => {
|
|
@@ -483,7 +471,6 @@ const deserializeAws_json1_1CreateDataSourceFromS3CommandError = async (output,
|
|
|
483
471
|
...output,
|
|
484
472
|
body: await parseBody(output.body, context),
|
|
485
473
|
};
|
|
486
|
-
let response;
|
|
487
474
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
488
475
|
switch (errorCode) {
|
|
489
476
|
case "IdempotentParameterMismatchException":
|
|
@@ -497,14 +484,12 @@ const deserializeAws_json1_1CreateDataSourceFromS3CommandError = async (output,
|
|
|
497
484
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
498
485
|
default:
|
|
499
486
|
const parsedBody = parsedOutput.body;
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
$metadata,
|
|
487
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
488
|
+
output,
|
|
489
|
+
parsedBody,
|
|
490
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
491
|
+
errorCode,
|
|
506
492
|
});
|
|
507
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
508
493
|
}
|
|
509
494
|
};
|
|
510
495
|
const deserializeAws_json1_1CreateEvaluationCommand = async (output, context) => {
|
|
@@ -526,7 +511,6 @@ const deserializeAws_json1_1CreateEvaluationCommandError = async (output, contex
|
|
|
526
511
|
...output,
|
|
527
512
|
body: await parseBody(output.body, context),
|
|
528
513
|
};
|
|
529
|
-
let response;
|
|
530
514
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
531
515
|
switch (errorCode) {
|
|
532
516
|
case "IdempotentParameterMismatchException":
|
|
@@ -540,14 +524,12 @@ const deserializeAws_json1_1CreateEvaluationCommandError = async (output, contex
|
|
|
540
524
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
541
525
|
default:
|
|
542
526
|
const parsedBody = parsedOutput.body;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
$metadata,
|
|
527
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
528
|
+
output,
|
|
529
|
+
parsedBody,
|
|
530
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
531
|
+
errorCode,
|
|
549
532
|
});
|
|
550
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
551
533
|
}
|
|
552
534
|
};
|
|
553
535
|
const deserializeAws_json1_1CreateMLModelCommand = async (output, context) => {
|
|
@@ -569,7 +551,6 @@ const deserializeAws_json1_1CreateMLModelCommandError = async (output, context)
|
|
|
569
551
|
...output,
|
|
570
552
|
body: await parseBody(output.body, context),
|
|
571
553
|
};
|
|
572
|
-
let response;
|
|
573
554
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
574
555
|
switch (errorCode) {
|
|
575
556
|
case "IdempotentParameterMismatchException":
|
|
@@ -583,14 +564,12 @@ const deserializeAws_json1_1CreateMLModelCommandError = async (output, context)
|
|
|
583
564
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
584
565
|
default:
|
|
585
566
|
const parsedBody = parsedOutput.body;
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
$metadata,
|
|
567
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
568
|
+
output,
|
|
569
|
+
parsedBody,
|
|
570
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
571
|
+
errorCode,
|
|
592
572
|
});
|
|
593
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
594
573
|
}
|
|
595
574
|
};
|
|
596
575
|
const deserializeAws_json1_1CreateRealtimeEndpointCommand = async (output, context) => {
|
|
@@ -612,7 +591,6 @@ const deserializeAws_json1_1CreateRealtimeEndpointCommandError = async (output,
|
|
|
612
591
|
...output,
|
|
613
592
|
body: await parseBody(output.body, context),
|
|
614
593
|
};
|
|
615
|
-
let response;
|
|
616
594
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
617
595
|
switch (errorCode) {
|
|
618
596
|
case "InternalServerException":
|
|
@@ -626,14 +604,12 @@ const deserializeAws_json1_1CreateRealtimeEndpointCommandError = async (output,
|
|
|
626
604
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
627
605
|
default:
|
|
628
606
|
const parsedBody = parsedOutput.body;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
$metadata,
|
|
607
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
608
|
+
output,
|
|
609
|
+
parsedBody,
|
|
610
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
611
|
+
errorCode,
|
|
635
612
|
});
|
|
636
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
637
613
|
}
|
|
638
614
|
};
|
|
639
615
|
const deserializeAws_json1_1DeleteBatchPredictionCommand = async (output, context) => {
|
|
@@ -655,7 +631,6 @@ const deserializeAws_json1_1DeleteBatchPredictionCommandError = async (output, c
|
|
|
655
631
|
...output,
|
|
656
632
|
body: await parseBody(output.body, context),
|
|
657
633
|
};
|
|
658
|
-
let response;
|
|
659
634
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
660
635
|
switch (errorCode) {
|
|
661
636
|
case "InternalServerException":
|
|
@@ -669,14 +644,12 @@ const deserializeAws_json1_1DeleteBatchPredictionCommandError = async (output, c
|
|
|
669
644
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
670
645
|
default:
|
|
671
646
|
const parsedBody = parsedOutput.body;
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
$metadata,
|
|
647
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
648
|
+
output,
|
|
649
|
+
parsedBody,
|
|
650
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
651
|
+
errorCode,
|
|
678
652
|
});
|
|
679
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
680
653
|
}
|
|
681
654
|
};
|
|
682
655
|
const deserializeAws_json1_1DeleteDataSourceCommand = async (output, context) => {
|
|
@@ -698,7 +671,6 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (output, contex
|
|
|
698
671
|
...output,
|
|
699
672
|
body: await parseBody(output.body, context),
|
|
700
673
|
};
|
|
701
|
-
let response;
|
|
702
674
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
703
675
|
switch (errorCode) {
|
|
704
676
|
case "InternalServerException":
|
|
@@ -712,14 +684,12 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (output, contex
|
|
|
712
684
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
713
685
|
default:
|
|
714
686
|
const parsedBody = parsedOutput.body;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
$metadata,
|
|
687
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
688
|
+
output,
|
|
689
|
+
parsedBody,
|
|
690
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
691
|
+
errorCode,
|
|
721
692
|
});
|
|
722
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
723
693
|
}
|
|
724
694
|
};
|
|
725
695
|
const deserializeAws_json1_1DeleteEvaluationCommand = async (output, context) => {
|
|
@@ -741,7 +711,6 @@ const deserializeAws_json1_1DeleteEvaluationCommandError = async (output, contex
|
|
|
741
711
|
...output,
|
|
742
712
|
body: await parseBody(output.body, context),
|
|
743
713
|
};
|
|
744
|
-
let response;
|
|
745
714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
746
715
|
switch (errorCode) {
|
|
747
716
|
case "InternalServerException":
|
|
@@ -755,14 +724,12 @@ const deserializeAws_json1_1DeleteEvaluationCommandError = async (output, contex
|
|
|
755
724
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
756
725
|
default:
|
|
757
726
|
const parsedBody = parsedOutput.body;
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
$metadata,
|
|
727
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
728
|
+
output,
|
|
729
|
+
parsedBody,
|
|
730
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
731
|
+
errorCode,
|
|
764
732
|
});
|
|
765
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
766
733
|
}
|
|
767
734
|
};
|
|
768
735
|
const deserializeAws_json1_1DeleteMLModelCommand = async (output, context) => {
|
|
@@ -784,7 +751,6 @@ const deserializeAws_json1_1DeleteMLModelCommandError = async (output, context)
|
|
|
784
751
|
...output,
|
|
785
752
|
body: await parseBody(output.body, context),
|
|
786
753
|
};
|
|
787
|
-
let response;
|
|
788
754
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
789
755
|
switch (errorCode) {
|
|
790
756
|
case "InternalServerException":
|
|
@@ -798,14 +764,12 @@ const deserializeAws_json1_1DeleteMLModelCommandError = async (output, context)
|
|
|
798
764
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
799
765
|
default:
|
|
800
766
|
const parsedBody = parsedOutput.body;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
$metadata,
|
|
767
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
768
|
+
output,
|
|
769
|
+
parsedBody,
|
|
770
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
771
|
+
errorCode,
|
|
807
772
|
});
|
|
808
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
809
773
|
}
|
|
810
774
|
};
|
|
811
775
|
const deserializeAws_json1_1DeleteRealtimeEndpointCommand = async (output, context) => {
|
|
@@ -827,7 +791,6 @@ const deserializeAws_json1_1DeleteRealtimeEndpointCommandError = async (output,
|
|
|
827
791
|
...output,
|
|
828
792
|
body: await parseBody(output.body, context),
|
|
829
793
|
};
|
|
830
|
-
let response;
|
|
831
794
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
832
795
|
switch (errorCode) {
|
|
833
796
|
case "InternalServerException":
|
|
@@ -841,14 +804,12 @@ const deserializeAws_json1_1DeleteRealtimeEndpointCommandError = async (output,
|
|
|
841
804
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
842
805
|
default:
|
|
843
806
|
const parsedBody = parsedOutput.body;
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
$metadata,
|
|
807
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
808
|
+
output,
|
|
809
|
+
parsedBody,
|
|
810
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
811
|
+
errorCode,
|
|
850
812
|
});
|
|
851
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
852
813
|
}
|
|
853
814
|
};
|
|
854
815
|
const deserializeAws_json1_1DeleteTagsCommand = async (output, context) => {
|
|
@@ -870,7 +831,6 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (output, context) =>
|
|
|
870
831
|
...output,
|
|
871
832
|
body: await parseBody(output.body, context),
|
|
872
833
|
};
|
|
873
|
-
let response;
|
|
874
834
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
875
835
|
switch (errorCode) {
|
|
876
836
|
case "InternalServerException":
|
|
@@ -887,14 +847,12 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (output, context) =>
|
|
|
887
847
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
888
848
|
default:
|
|
889
849
|
const parsedBody = parsedOutput.body;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
$metadata,
|
|
850
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
851
|
+
output,
|
|
852
|
+
parsedBody,
|
|
853
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
854
|
+
errorCode,
|
|
896
855
|
});
|
|
897
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
898
856
|
}
|
|
899
857
|
};
|
|
900
858
|
const deserializeAws_json1_1DescribeBatchPredictionsCommand = async (output, context) => {
|
|
@@ -916,7 +874,6 @@ const deserializeAws_json1_1DescribeBatchPredictionsCommandError = async (output
|
|
|
916
874
|
...output,
|
|
917
875
|
body: await parseBody(output.body, context),
|
|
918
876
|
};
|
|
919
|
-
let response;
|
|
920
877
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
921
878
|
switch (errorCode) {
|
|
922
879
|
case "InternalServerException":
|
|
@@ -927,14 +884,12 @@ const deserializeAws_json1_1DescribeBatchPredictionsCommandError = async (output
|
|
|
927
884
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
928
885
|
default:
|
|
929
886
|
const parsedBody = parsedOutput.body;
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
$metadata,
|
|
887
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
888
|
+
output,
|
|
889
|
+
parsedBody,
|
|
890
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
891
|
+
errorCode,
|
|
936
892
|
});
|
|
937
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
938
893
|
}
|
|
939
894
|
};
|
|
940
895
|
const deserializeAws_json1_1DescribeDataSourcesCommand = async (output, context) => {
|
|
@@ -956,7 +911,6 @@ const deserializeAws_json1_1DescribeDataSourcesCommandError = async (output, con
|
|
|
956
911
|
...output,
|
|
957
912
|
body: await parseBody(output.body, context),
|
|
958
913
|
};
|
|
959
|
-
let response;
|
|
960
914
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
915
|
switch (errorCode) {
|
|
962
916
|
case "InternalServerException":
|
|
@@ -967,14 +921,12 @@ const deserializeAws_json1_1DescribeDataSourcesCommandError = async (output, con
|
|
|
967
921
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
968
922
|
default:
|
|
969
923
|
const parsedBody = parsedOutput.body;
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
$metadata,
|
|
924
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
925
|
+
output,
|
|
926
|
+
parsedBody,
|
|
927
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
928
|
+
errorCode,
|
|
976
929
|
});
|
|
977
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
978
930
|
}
|
|
979
931
|
};
|
|
980
932
|
const deserializeAws_json1_1DescribeEvaluationsCommand = async (output, context) => {
|
|
@@ -996,7 +948,6 @@ const deserializeAws_json1_1DescribeEvaluationsCommandError = async (output, con
|
|
|
996
948
|
...output,
|
|
997
949
|
body: await parseBody(output.body, context),
|
|
998
950
|
};
|
|
999
|
-
let response;
|
|
1000
951
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1001
952
|
switch (errorCode) {
|
|
1002
953
|
case "InternalServerException":
|
|
@@ -1007,14 +958,12 @@ const deserializeAws_json1_1DescribeEvaluationsCommandError = async (output, con
|
|
|
1007
958
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1008
959
|
default:
|
|
1009
960
|
const parsedBody = parsedOutput.body;
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
$metadata,
|
|
961
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
962
|
+
output,
|
|
963
|
+
parsedBody,
|
|
964
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
965
|
+
errorCode,
|
|
1016
966
|
});
|
|
1017
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1018
967
|
}
|
|
1019
968
|
};
|
|
1020
969
|
const deserializeAws_json1_1DescribeMLModelsCommand = async (output, context) => {
|
|
@@ -1036,7 +985,6 @@ const deserializeAws_json1_1DescribeMLModelsCommandError = async (output, contex
|
|
|
1036
985
|
...output,
|
|
1037
986
|
body: await parseBody(output.body, context),
|
|
1038
987
|
};
|
|
1039
|
-
let response;
|
|
1040
988
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1041
989
|
switch (errorCode) {
|
|
1042
990
|
case "InternalServerException":
|
|
@@ -1047,14 +995,12 @@ const deserializeAws_json1_1DescribeMLModelsCommandError = async (output, contex
|
|
|
1047
995
|
throw await deserializeAws_json1_1InvalidInputExceptionResponse(parsedOutput, context);
|
|
1048
996
|
default:
|
|
1049
997
|
const parsedBody = parsedOutput.body;
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
$metadata,
|
|
998
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
999
|
+
output,
|
|
1000
|
+
parsedBody,
|
|
1001
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1002
|
+
errorCode,
|
|
1056
1003
|
});
|
|
1057
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1058
1004
|
}
|
|
1059
1005
|
};
|
|
1060
1006
|
const deserializeAws_json1_1DescribeTagsCommand = async (output, context) => {
|
|
@@ -1076,7 +1022,6 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
|
|
|
1076
1022
|
...output,
|
|
1077
1023
|
body: await parseBody(output.body, context),
|
|
1078
1024
|
};
|
|
1079
|
-
let response;
|
|
1080
1025
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1081
1026
|
switch (errorCode) {
|
|
1082
1027
|
case "InternalServerException":
|
|
@@ -1090,14 +1035,12 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
|
|
|
1090
1035
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1091
1036
|
default:
|
|
1092
1037
|
const parsedBody = parsedOutput.body;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
$metadata,
|
|
1038
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1039
|
+
output,
|
|
1040
|
+
parsedBody,
|
|
1041
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1042
|
+
errorCode,
|
|
1099
1043
|
});
|
|
1100
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1101
1044
|
}
|
|
1102
1045
|
};
|
|
1103
1046
|
const deserializeAws_json1_1GetBatchPredictionCommand = async (output, context) => {
|
|
@@ -1119,7 +1062,6 @@ const deserializeAws_json1_1GetBatchPredictionCommandError = async (output, cont
|
|
|
1119
1062
|
...output,
|
|
1120
1063
|
body: await parseBody(output.body, context),
|
|
1121
1064
|
};
|
|
1122
|
-
let response;
|
|
1123
1065
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1124
1066
|
switch (errorCode) {
|
|
1125
1067
|
case "InternalServerException":
|
|
@@ -1133,14 +1075,12 @@ const deserializeAws_json1_1GetBatchPredictionCommandError = async (output, cont
|
|
|
1133
1075
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1134
1076
|
default:
|
|
1135
1077
|
const parsedBody = parsedOutput.body;
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
$metadata,
|
|
1078
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1079
|
+
output,
|
|
1080
|
+
parsedBody,
|
|
1081
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1082
|
+
errorCode,
|
|
1142
1083
|
});
|
|
1143
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1144
1084
|
}
|
|
1145
1085
|
};
|
|
1146
1086
|
const deserializeAws_json1_1GetDataSourceCommand = async (output, context) => {
|
|
@@ -1162,7 +1102,6 @@ const deserializeAws_json1_1GetDataSourceCommandError = async (output, context)
|
|
|
1162
1102
|
...output,
|
|
1163
1103
|
body: await parseBody(output.body, context),
|
|
1164
1104
|
};
|
|
1165
|
-
let response;
|
|
1166
1105
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1167
1106
|
switch (errorCode) {
|
|
1168
1107
|
case "InternalServerException":
|
|
@@ -1176,14 +1115,12 @@ const deserializeAws_json1_1GetDataSourceCommandError = async (output, context)
|
|
|
1176
1115
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1177
1116
|
default:
|
|
1178
1117
|
const parsedBody = parsedOutput.body;
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
$metadata,
|
|
1118
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1119
|
+
output,
|
|
1120
|
+
parsedBody,
|
|
1121
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1122
|
+
errorCode,
|
|
1185
1123
|
});
|
|
1186
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1187
1124
|
}
|
|
1188
1125
|
};
|
|
1189
1126
|
const deserializeAws_json1_1GetEvaluationCommand = async (output, context) => {
|
|
@@ -1205,7 +1142,6 @@ const deserializeAws_json1_1GetEvaluationCommandError = async (output, context)
|
|
|
1205
1142
|
...output,
|
|
1206
1143
|
body: await parseBody(output.body, context),
|
|
1207
1144
|
};
|
|
1208
|
-
let response;
|
|
1209
1145
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1210
1146
|
switch (errorCode) {
|
|
1211
1147
|
case "InternalServerException":
|
|
@@ -1219,14 +1155,12 @@ const deserializeAws_json1_1GetEvaluationCommandError = async (output, context)
|
|
|
1219
1155
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1220
1156
|
default:
|
|
1221
1157
|
const parsedBody = parsedOutput.body;
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
$metadata,
|
|
1158
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1159
|
+
output,
|
|
1160
|
+
parsedBody,
|
|
1161
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1162
|
+
errorCode,
|
|
1228
1163
|
});
|
|
1229
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1230
1164
|
}
|
|
1231
1165
|
};
|
|
1232
1166
|
const deserializeAws_json1_1GetMLModelCommand = async (output, context) => {
|
|
@@ -1248,7 +1182,6 @@ const deserializeAws_json1_1GetMLModelCommandError = async (output, context) =>
|
|
|
1248
1182
|
...output,
|
|
1249
1183
|
body: await parseBody(output.body, context),
|
|
1250
1184
|
};
|
|
1251
|
-
let response;
|
|
1252
1185
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1253
1186
|
switch (errorCode) {
|
|
1254
1187
|
case "InternalServerException":
|
|
@@ -1262,14 +1195,12 @@ const deserializeAws_json1_1GetMLModelCommandError = async (output, context) =>
|
|
|
1262
1195
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1263
1196
|
default:
|
|
1264
1197
|
const parsedBody = parsedOutput.body;
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
$metadata,
|
|
1198
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1199
|
+
output,
|
|
1200
|
+
parsedBody,
|
|
1201
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1202
|
+
errorCode,
|
|
1271
1203
|
});
|
|
1272
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1273
1204
|
}
|
|
1274
1205
|
};
|
|
1275
1206
|
const deserializeAws_json1_1PredictCommand = async (output, context) => {
|
|
@@ -1291,7 +1222,6 @@ const deserializeAws_json1_1PredictCommandError = async (output, context) => {
|
|
|
1291
1222
|
...output,
|
|
1292
1223
|
body: await parseBody(output.body, context),
|
|
1293
1224
|
};
|
|
1294
|
-
let response;
|
|
1295
1225
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1296
1226
|
switch (errorCode) {
|
|
1297
1227
|
case "InternalServerException":
|
|
@@ -1311,14 +1241,12 @@ const deserializeAws_json1_1PredictCommandError = async (output, context) => {
|
|
|
1311
1241
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1312
1242
|
default:
|
|
1313
1243
|
const parsedBody = parsedOutput.body;
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
$metadata,
|
|
1244
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1245
|
+
output,
|
|
1246
|
+
parsedBody,
|
|
1247
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1248
|
+
errorCode,
|
|
1320
1249
|
});
|
|
1321
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1322
1250
|
}
|
|
1323
1251
|
};
|
|
1324
1252
|
const deserializeAws_json1_1UpdateBatchPredictionCommand = async (output, context) => {
|
|
@@ -1340,7 +1268,6 @@ const deserializeAws_json1_1UpdateBatchPredictionCommandError = async (output, c
|
|
|
1340
1268
|
...output,
|
|
1341
1269
|
body: await parseBody(output.body, context),
|
|
1342
1270
|
};
|
|
1343
|
-
let response;
|
|
1344
1271
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1345
1272
|
switch (errorCode) {
|
|
1346
1273
|
case "InternalServerException":
|
|
@@ -1354,14 +1281,12 @@ const deserializeAws_json1_1UpdateBatchPredictionCommandError = async (output, c
|
|
|
1354
1281
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1355
1282
|
default:
|
|
1356
1283
|
const parsedBody = parsedOutput.body;
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
$metadata,
|
|
1284
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1285
|
+
output,
|
|
1286
|
+
parsedBody,
|
|
1287
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1288
|
+
errorCode,
|
|
1363
1289
|
});
|
|
1364
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1365
1290
|
}
|
|
1366
1291
|
};
|
|
1367
1292
|
const deserializeAws_json1_1UpdateDataSourceCommand = async (output, context) => {
|
|
@@ -1383,7 +1308,6 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (output, contex
|
|
|
1383
1308
|
...output,
|
|
1384
1309
|
body: await parseBody(output.body, context),
|
|
1385
1310
|
};
|
|
1386
|
-
let response;
|
|
1387
1311
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1388
1312
|
switch (errorCode) {
|
|
1389
1313
|
case "InternalServerException":
|
|
@@ -1397,14 +1321,12 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (output, contex
|
|
|
1397
1321
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1398
1322
|
default:
|
|
1399
1323
|
const parsedBody = parsedOutput.body;
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
$metadata,
|
|
1324
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1325
|
+
output,
|
|
1326
|
+
parsedBody,
|
|
1327
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1328
|
+
errorCode,
|
|
1406
1329
|
});
|
|
1407
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1408
1330
|
}
|
|
1409
1331
|
};
|
|
1410
1332
|
const deserializeAws_json1_1UpdateEvaluationCommand = async (output, context) => {
|
|
@@ -1426,7 +1348,6 @@ const deserializeAws_json1_1UpdateEvaluationCommandError = async (output, contex
|
|
|
1426
1348
|
...output,
|
|
1427
1349
|
body: await parseBody(output.body, context),
|
|
1428
1350
|
};
|
|
1429
|
-
let response;
|
|
1430
1351
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1431
1352
|
switch (errorCode) {
|
|
1432
1353
|
case "InternalServerException":
|
|
@@ -1440,14 +1361,12 @@ const deserializeAws_json1_1UpdateEvaluationCommandError = async (output, contex
|
|
|
1440
1361
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1441
1362
|
default:
|
|
1442
1363
|
const parsedBody = parsedOutput.body;
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
$metadata,
|
|
1364
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1365
|
+
output,
|
|
1366
|
+
parsedBody,
|
|
1367
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1368
|
+
errorCode,
|
|
1449
1369
|
});
|
|
1450
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1451
1370
|
}
|
|
1452
1371
|
};
|
|
1453
1372
|
const deserializeAws_json1_1UpdateMLModelCommand = async (output, context) => {
|
|
@@ -1469,7 +1388,6 @@ const deserializeAws_json1_1UpdateMLModelCommandError = async (output, context)
|
|
|
1469
1388
|
...output,
|
|
1470
1389
|
body: await parseBody(output.body, context),
|
|
1471
1390
|
};
|
|
1472
|
-
let response;
|
|
1473
1391
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1474
1392
|
switch (errorCode) {
|
|
1475
1393
|
case "InternalServerException":
|
|
@@ -1483,14 +1401,12 @@ const deserializeAws_json1_1UpdateMLModelCommandError = async (output, context)
|
|
|
1483
1401
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1484
1402
|
default:
|
|
1485
1403
|
const parsedBody = parsedOutput.body;
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
$metadata,
|
|
1404
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1405
|
+
output,
|
|
1406
|
+
parsedBody,
|
|
1407
|
+
exceptionCtor: MachineLearningServiceException_1.MachineLearningServiceException,
|
|
1408
|
+
errorCode,
|
|
1492
1409
|
});
|
|
1493
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1494
1410
|
}
|
|
1495
1411
|
};
|
|
1496
1412
|
const deserializeAws_json1_1IdempotentParameterMismatchExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1735,9 +1651,6 @@ const serializeAws_json1_1EDPSecurityGroupIds = (input, context) => {
|
|
|
1735
1651
|
return input
|
|
1736
1652
|
.filter((e) => e != null)
|
|
1737
1653
|
.map((entry) => {
|
|
1738
|
-
if (entry === null) {
|
|
1739
|
-
return null;
|
|
1740
|
-
}
|
|
1741
1654
|
return entry;
|
|
1742
1655
|
});
|
|
1743
1656
|
};
|
|
@@ -1859,9 +1772,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
1859
1772
|
return input
|
|
1860
1773
|
.filter((e) => e != null)
|
|
1861
1774
|
.map((entry) => {
|
|
1862
|
-
if (entry === null) {
|
|
1863
|
-
return null;
|
|
1864
|
-
}
|
|
1865
1775
|
return entry;
|
|
1866
1776
|
});
|
|
1867
1777
|
};
|
|
@@ -1869,9 +1779,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
1869
1779
|
return input
|
|
1870
1780
|
.filter((e) => e != null)
|
|
1871
1781
|
.map((entry) => {
|
|
1872
|
-
if (entry === null) {
|
|
1873
|
-
return null;
|
|
1874
|
-
}
|
|
1875
1782
|
return serializeAws_json1_1Tag(entry, context);
|
|
1876
1783
|
});
|
|
1877
1784
|
};
|