@aws-sdk/client-kinesis-analytics-v2 3.141.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +155 -302
- package/dist-es/protocols/Aws_json1_1.js +249 -303
- package/package.json +6 -6
|
@@ -335,7 +335,6 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
335
335
|
...output,
|
|
336
336
|
body: await parseBody(output.body, context),
|
|
337
337
|
};
|
|
338
|
-
let response;
|
|
339
338
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
340
339
|
switch (errorCode) {
|
|
341
340
|
case "ConcurrentModificationException":
|
|
@@ -358,14 +357,12 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
358
357
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
359
358
|
default:
|
|
360
359
|
const parsedBody = parsedOutput.body;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
$metadata,
|
|
360
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
361
|
+
output,
|
|
362
|
+
parsedBody,
|
|
363
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
364
|
+
errorCode,
|
|
367
365
|
});
|
|
368
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
369
366
|
}
|
|
370
367
|
};
|
|
371
368
|
const deserializeAws_json1_1AddApplicationInputCommand = async (output, context) => {
|
|
@@ -387,7 +384,6 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
387
384
|
...output,
|
|
388
385
|
body: await parseBody(output.body, context),
|
|
389
386
|
};
|
|
390
|
-
let response;
|
|
391
387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
392
388
|
switch (errorCode) {
|
|
393
389
|
case "CodeValidationException":
|
|
@@ -410,14 +406,12 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
410
406
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
411
407
|
default:
|
|
412
408
|
const parsedBody = parsedOutput.body;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
$metadata,
|
|
409
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
410
|
+
output,
|
|
411
|
+
parsedBody,
|
|
412
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
413
|
+
errorCode,
|
|
419
414
|
});
|
|
420
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
421
415
|
}
|
|
422
416
|
};
|
|
423
417
|
const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand = async (output, context) => {
|
|
@@ -439,7 +433,6 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
439
433
|
...output,
|
|
440
434
|
body: await parseBody(output.body, context),
|
|
441
435
|
};
|
|
442
|
-
let response;
|
|
443
436
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
444
437
|
switch (errorCode) {
|
|
445
438
|
case "ConcurrentModificationException":
|
|
@@ -459,14 +452,12 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
459
452
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
460
453
|
default:
|
|
461
454
|
const parsedBody = parsedOutput.body;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
$metadata,
|
|
455
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
456
|
+
output,
|
|
457
|
+
parsedBody,
|
|
458
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
459
|
+
errorCode,
|
|
468
460
|
});
|
|
469
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
470
461
|
}
|
|
471
462
|
};
|
|
472
463
|
const deserializeAws_json1_1AddApplicationOutputCommand = async (output, context) => {
|
|
@@ -488,7 +479,6 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
488
479
|
...output,
|
|
489
480
|
body: await parseBody(output.body, context),
|
|
490
481
|
};
|
|
491
|
-
let response;
|
|
492
482
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
493
483
|
switch (errorCode) {
|
|
494
484
|
case "ConcurrentModificationException":
|
|
@@ -508,14 +498,12 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
508
498
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
509
499
|
default:
|
|
510
500
|
const parsedBody = parsedOutput.body;
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
$metadata,
|
|
501
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
502
|
+
output,
|
|
503
|
+
parsedBody,
|
|
504
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
505
|
+
errorCode,
|
|
517
506
|
});
|
|
518
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
519
507
|
}
|
|
520
508
|
};
|
|
521
509
|
const deserializeAws_json1_1AddApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
@@ -537,7 +525,6 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
537
525
|
...output,
|
|
538
526
|
body: await parseBody(output.body, context),
|
|
539
527
|
};
|
|
540
|
-
let response;
|
|
541
528
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
542
529
|
switch (errorCode) {
|
|
543
530
|
case "ConcurrentModificationException":
|
|
@@ -557,14 +544,12 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
557
544
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
558
545
|
default:
|
|
559
546
|
const parsedBody = parsedOutput.body;
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
$metadata,
|
|
547
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
548
|
+
output,
|
|
549
|
+
parsedBody,
|
|
550
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
551
|
+
errorCode,
|
|
566
552
|
});
|
|
567
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
568
553
|
}
|
|
569
554
|
};
|
|
570
555
|
const deserializeAws_json1_1AddApplicationVpcConfigurationCommand = async (output, context) => {
|
|
@@ -586,7 +571,6 @@ const deserializeAws_json1_1AddApplicationVpcConfigurationCommandError = async (
|
|
|
586
571
|
...output,
|
|
587
572
|
body: await parseBody(output.body, context),
|
|
588
573
|
};
|
|
589
|
-
let response;
|
|
590
574
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
591
575
|
switch (errorCode) {
|
|
592
576
|
case "ConcurrentModificationException":
|
|
@@ -606,14 +590,12 @@ const deserializeAws_json1_1AddApplicationVpcConfigurationCommandError = async (
|
|
|
606
590
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
607
591
|
default:
|
|
608
592
|
const parsedBody = parsedOutput.body;
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
$metadata,
|
|
593
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
594
|
+
output,
|
|
595
|
+
parsedBody,
|
|
596
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
597
|
+
errorCode,
|
|
615
598
|
});
|
|
616
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
617
599
|
}
|
|
618
600
|
};
|
|
619
601
|
const deserializeAws_json1_1CreateApplicationCommand = async (output, context) => {
|
|
@@ -635,7 +617,6 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
635
617
|
...output,
|
|
636
618
|
body: await parseBody(output.body, context),
|
|
637
619
|
};
|
|
638
|
-
let response;
|
|
639
620
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
640
621
|
switch (errorCode) {
|
|
641
622
|
case "CodeValidationException":
|
|
@@ -664,14 +645,12 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
664
645
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
665
646
|
default:
|
|
666
647
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
$metadata,
|
|
648
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
649
|
+
output,
|
|
650
|
+
parsedBody,
|
|
651
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
652
|
+
errorCode,
|
|
673
653
|
});
|
|
674
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
675
654
|
}
|
|
676
655
|
};
|
|
677
656
|
const deserializeAws_json1_1CreateApplicationPresignedUrlCommand = async (output, context) => {
|
|
@@ -693,7 +672,6 @@ const deserializeAws_json1_1CreateApplicationPresignedUrlCommandError = async (o
|
|
|
693
672
|
...output,
|
|
694
673
|
body: await parseBody(output.body, context),
|
|
695
674
|
};
|
|
696
|
-
let response;
|
|
697
675
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
698
676
|
switch (errorCode) {
|
|
699
677
|
case "InvalidArgumentException":
|
|
@@ -707,14 +685,12 @@ const deserializeAws_json1_1CreateApplicationPresignedUrlCommandError = async (o
|
|
|
707
685
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
708
686
|
default:
|
|
709
687
|
const parsedBody = parsedOutput.body;
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
$metadata,
|
|
688
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
689
|
+
output,
|
|
690
|
+
parsedBody,
|
|
691
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
692
|
+
errorCode,
|
|
716
693
|
});
|
|
717
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
718
694
|
}
|
|
719
695
|
};
|
|
720
696
|
const deserializeAws_json1_1CreateApplicationSnapshotCommand = async (output, context) => {
|
|
@@ -736,7 +712,6 @@ const deserializeAws_json1_1CreateApplicationSnapshotCommandError = async (outpu
|
|
|
736
712
|
...output,
|
|
737
713
|
body: await parseBody(output.body, context),
|
|
738
714
|
};
|
|
739
|
-
let response;
|
|
740
715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
741
716
|
switch (errorCode) {
|
|
742
717
|
case "InvalidApplicationConfigurationException":
|
|
@@ -762,14 +737,12 @@ const deserializeAws_json1_1CreateApplicationSnapshotCommandError = async (outpu
|
|
|
762
737
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
763
738
|
default:
|
|
764
739
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
$metadata,
|
|
740
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
741
|
+
output,
|
|
742
|
+
parsedBody,
|
|
743
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
744
|
+
errorCode,
|
|
771
745
|
});
|
|
772
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
773
746
|
}
|
|
774
747
|
};
|
|
775
748
|
const deserializeAws_json1_1DeleteApplicationCommand = async (output, context) => {
|
|
@@ -791,7 +764,6 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
791
764
|
...output,
|
|
792
765
|
body: await parseBody(output.body, context),
|
|
793
766
|
};
|
|
794
|
-
let response;
|
|
795
767
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
796
768
|
switch (errorCode) {
|
|
797
769
|
case "ConcurrentModificationException":
|
|
@@ -814,14 +786,12 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
814
786
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
815
787
|
default:
|
|
816
788
|
const parsedBody = parsedOutput.body;
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
$metadata,
|
|
789
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
790
|
+
output,
|
|
791
|
+
parsedBody,
|
|
792
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
793
|
+
errorCode,
|
|
823
794
|
});
|
|
824
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
825
795
|
}
|
|
826
796
|
};
|
|
827
797
|
const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand = async (output, context) => {
|
|
@@ -843,7 +813,6 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
843
813
|
...output,
|
|
844
814
|
body: await parseBody(output.body, context),
|
|
845
815
|
};
|
|
846
|
-
let response;
|
|
847
816
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
848
817
|
switch (errorCode) {
|
|
849
818
|
case "ConcurrentModificationException":
|
|
@@ -866,14 +835,12 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
866
835
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
867
836
|
default:
|
|
868
837
|
const parsedBody = parsedOutput.body;
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
$metadata,
|
|
838
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
839
|
+
output,
|
|
840
|
+
parsedBody,
|
|
841
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
842
|
+
errorCode,
|
|
875
843
|
});
|
|
876
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
877
844
|
}
|
|
878
845
|
};
|
|
879
846
|
const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand = async (output, context) => {
|
|
@@ -895,7 +862,6 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
895
862
|
...output,
|
|
896
863
|
body: await parseBody(output.body, context),
|
|
897
864
|
};
|
|
898
|
-
let response;
|
|
899
865
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
900
866
|
switch (errorCode) {
|
|
901
867
|
case "ConcurrentModificationException":
|
|
@@ -915,14 +881,12 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
915
881
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
916
882
|
default:
|
|
917
883
|
const parsedBody = parsedOutput.body;
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
$metadata,
|
|
884
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
885
|
+
output,
|
|
886
|
+
parsedBody,
|
|
887
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
888
|
+
errorCode,
|
|
924
889
|
});
|
|
925
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
926
890
|
}
|
|
927
891
|
};
|
|
928
892
|
const deserializeAws_json1_1DeleteApplicationOutputCommand = async (output, context) => {
|
|
@@ -944,7 +908,6 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
944
908
|
...output,
|
|
945
909
|
body: await parseBody(output.body, context),
|
|
946
910
|
};
|
|
947
|
-
let response;
|
|
948
911
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
949
912
|
switch (errorCode) {
|
|
950
913
|
case "ConcurrentModificationException":
|
|
@@ -964,14 +927,12 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
964
927
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
965
928
|
default:
|
|
966
929
|
const parsedBody = parsedOutput.body;
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
$metadata,
|
|
930
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
931
|
+
output,
|
|
932
|
+
parsedBody,
|
|
933
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
934
|
+
errorCode,
|
|
973
935
|
});
|
|
974
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
975
936
|
}
|
|
976
937
|
};
|
|
977
938
|
const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
@@ -993,7 +954,6 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
993
954
|
...output,
|
|
994
955
|
body: await parseBody(output.body, context),
|
|
995
956
|
};
|
|
996
|
-
let response;
|
|
997
957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
998
958
|
switch (errorCode) {
|
|
999
959
|
case "ConcurrentModificationException":
|
|
@@ -1013,14 +973,12 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
1013
973
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1014
974
|
default:
|
|
1015
975
|
const parsedBody = parsedOutput.body;
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
$metadata,
|
|
976
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
977
|
+
output,
|
|
978
|
+
parsedBody,
|
|
979
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
980
|
+
errorCode,
|
|
1022
981
|
});
|
|
1023
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1024
982
|
}
|
|
1025
983
|
};
|
|
1026
984
|
const deserializeAws_json1_1DeleteApplicationSnapshotCommand = async (output, context) => {
|
|
@@ -1042,7 +1000,6 @@ const deserializeAws_json1_1DeleteApplicationSnapshotCommandError = async (outpu
|
|
|
1042
1000
|
...output,
|
|
1043
1001
|
body: await parseBody(output.body, context),
|
|
1044
1002
|
};
|
|
1045
|
-
let response;
|
|
1046
1003
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1047
1004
|
switch (errorCode) {
|
|
1048
1005
|
case "InvalidArgumentException":
|
|
@@ -1062,14 +1019,12 @@ const deserializeAws_json1_1DeleteApplicationSnapshotCommandError = async (outpu
|
|
|
1062
1019
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1063
1020
|
default:
|
|
1064
1021
|
const parsedBody = parsedOutput.body;
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
$metadata,
|
|
1022
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1023
|
+
output,
|
|
1024
|
+
parsedBody,
|
|
1025
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1026
|
+
errorCode,
|
|
1071
1027
|
});
|
|
1072
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1073
1028
|
}
|
|
1074
1029
|
};
|
|
1075
1030
|
const deserializeAws_json1_1DeleteApplicationVpcConfigurationCommand = async (output, context) => {
|
|
@@ -1091,7 +1046,6 @@ const deserializeAws_json1_1DeleteApplicationVpcConfigurationCommandError = asyn
|
|
|
1091
1046
|
...output,
|
|
1092
1047
|
body: await parseBody(output.body, context),
|
|
1093
1048
|
};
|
|
1094
|
-
let response;
|
|
1095
1049
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1096
1050
|
switch (errorCode) {
|
|
1097
1051
|
case "ConcurrentModificationException":
|
|
@@ -1111,14 +1065,12 @@ const deserializeAws_json1_1DeleteApplicationVpcConfigurationCommandError = asyn
|
|
|
1111
1065
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1112
1066
|
default:
|
|
1113
1067
|
const parsedBody = parsedOutput.body;
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
$metadata,
|
|
1068
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1069
|
+
output,
|
|
1070
|
+
parsedBody,
|
|
1071
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1072
|
+
errorCode,
|
|
1120
1073
|
});
|
|
1121
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1122
1074
|
}
|
|
1123
1075
|
};
|
|
1124
1076
|
const deserializeAws_json1_1DescribeApplicationCommand = async (output, context) => {
|
|
@@ -1140,7 +1092,6 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
1140
1092
|
...output,
|
|
1141
1093
|
body: await parseBody(output.body, context),
|
|
1142
1094
|
};
|
|
1143
|
-
let response;
|
|
1144
1095
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1145
1096
|
switch (errorCode) {
|
|
1146
1097
|
case "InvalidArgumentException":
|
|
@@ -1154,14 +1105,12 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
1154
1105
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1155
1106
|
default:
|
|
1156
1107
|
const parsedBody = parsedOutput.body;
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
$metadata,
|
|
1108
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1109
|
+
output,
|
|
1110
|
+
parsedBody,
|
|
1111
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1112
|
+
errorCode,
|
|
1163
1113
|
});
|
|
1164
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1165
1114
|
}
|
|
1166
1115
|
};
|
|
1167
1116
|
const deserializeAws_json1_1DescribeApplicationSnapshotCommand = async (output, context) => {
|
|
@@ -1183,7 +1132,6 @@ const deserializeAws_json1_1DescribeApplicationSnapshotCommandError = async (out
|
|
|
1183
1132
|
...output,
|
|
1184
1133
|
body: await parseBody(output.body, context),
|
|
1185
1134
|
};
|
|
1186
|
-
let response;
|
|
1187
1135
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1188
1136
|
switch (errorCode) {
|
|
1189
1137
|
case "InvalidArgumentException":
|
|
@@ -1197,14 +1145,12 @@ const deserializeAws_json1_1DescribeApplicationSnapshotCommandError = async (out
|
|
|
1197
1145
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1198
1146
|
default:
|
|
1199
1147
|
const parsedBody = parsedOutput.body;
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
$metadata,
|
|
1148
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1149
|
+
output,
|
|
1150
|
+
parsedBody,
|
|
1151
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1152
|
+
errorCode,
|
|
1206
1153
|
});
|
|
1207
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1208
1154
|
}
|
|
1209
1155
|
};
|
|
1210
1156
|
const deserializeAws_json1_1DescribeApplicationVersionCommand = async (output, context) => {
|
|
@@ -1226,7 +1172,6 @@ const deserializeAws_json1_1DescribeApplicationVersionCommandError = async (outp
|
|
|
1226
1172
|
...output,
|
|
1227
1173
|
body: await parseBody(output.body, context),
|
|
1228
1174
|
};
|
|
1229
|
-
let response;
|
|
1230
1175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1231
1176
|
switch (errorCode) {
|
|
1232
1177
|
case "InvalidArgumentException":
|
|
@@ -1240,14 +1185,12 @@ const deserializeAws_json1_1DescribeApplicationVersionCommandError = async (outp
|
|
|
1240
1185
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1241
1186
|
default:
|
|
1242
1187
|
const parsedBody = parsedOutput.body;
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
$metadata,
|
|
1188
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1189
|
+
output,
|
|
1190
|
+
parsedBody,
|
|
1191
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1192
|
+
errorCode,
|
|
1249
1193
|
});
|
|
1250
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1251
1194
|
}
|
|
1252
1195
|
};
|
|
1253
1196
|
const deserializeAws_json1_1DiscoverInputSchemaCommand = async (output, context) => {
|
|
@@ -1269,7 +1212,6 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
1269
1212
|
...output,
|
|
1270
1213
|
body: await parseBody(output.body, context),
|
|
1271
1214
|
};
|
|
1272
|
-
let response;
|
|
1273
1215
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1274
1216
|
switch (errorCode) {
|
|
1275
1217
|
case "InvalidArgumentException":
|
|
@@ -1292,14 +1234,12 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
1292
1234
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1293
1235
|
default:
|
|
1294
1236
|
const parsedBody = parsedOutput.body;
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
$metadata,
|
|
1237
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1238
|
+
output,
|
|
1239
|
+
parsedBody,
|
|
1240
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1241
|
+
errorCode,
|
|
1301
1242
|
});
|
|
1302
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1303
1243
|
}
|
|
1304
1244
|
};
|
|
1305
1245
|
const deserializeAws_json1_1ListApplicationsCommand = async (output, context) => {
|
|
@@ -1321,7 +1261,6 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
1321
1261
|
...output,
|
|
1322
1262
|
body: await parseBody(output.body, context),
|
|
1323
1263
|
};
|
|
1324
|
-
let response;
|
|
1325
1264
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1326
1265
|
switch (errorCode) {
|
|
1327
1266
|
case "InvalidRequestException":
|
|
@@ -1329,14 +1268,12 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
1329
1268
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1330
1269
|
default:
|
|
1331
1270
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
$metadata,
|
|
1271
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1272
|
+
output,
|
|
1273
|
+
parsedBody,
|
|
1274
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1275
|
+
errorCode,
|
|
1338
1276
|
});
|
|
1339
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1340
1277
|
}
|
|
1341
1278
|
};
|
|
1342
1279
|
const deserializeAws_json1_1ListApplicationSnapshotsCommand = async (output, context) => {
|
|
@@ -1358,7 +1295,6 @@ const deserializeAws_json1_1ListApplicationSnapshotsCommandError = async (output
|
|
|
1358
1295
|
...output,
|
|
1359
1296
|
body: await parseBody(output.body, context),
|
|
1360
1297
|
};
|
|
1361
|
-
let response;
|
|
1362
1298
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1363
1299
|
switch (errorCode) {
|
|
1364
1300
|
case "InvalidArgumentException":
|
|
@@ -1369,14 +1305,12 @@ const deserializeAws_json1_1ListApplicationSnapshotsCommandError = async (output
|
|
|
1369
1305
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1370
1306
|
default:
|
|
1371
1307
|
const parsedBody = parsedOutput.body;
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
$metadata,
|
|
1308
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1309
|
+
output,
|
|
1310
|
+
parsedBody,
|
|
1311
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1312
|
+
errorCode,
|
|
1378
1313
|
});
|
|
1379
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1380
1314
|
}
|
|
1381
1315
|
};
|
|
1382
1316
|
const deserializeAws_json1_1ListApplicationVersionsCommand = async (output, context) => {
|
|
@@ -1398,7 +1332,6 @@ const deserializeAws_json1_1ListApplicationVersionsCommandError = async (output,
|
|
|
1398
1332
|
...output,
|
|
1399
1333
|
body: await parseBody(output.body, context),
|
|
1400
1334
|
};
|
|
1401
|
-
let response;
|
|
1402
1335
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1403
1336
|
switch (errorCode) {
|
|
1404
1337
|
case "InvalidArgumentException":
|
|
@@ -1412,14 +1345,12 @@ const deserializeAws_json1_1ListApplicationVersionsCommandError = async (output,
|
|
|
1412
1345
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1413
1346
|
default:
|
|
1414
1347
|
const parsedBody = parsedOutput.body;
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
$metadata,
|
|
1348
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1349
|
+
output,
|
|
1350
|
+
parsedBody,
|
|
1351
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1352
|
+
errorCode,
|
|
1421
1353
|
});
|
|
1422
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1423
1354
|
}
|
|
1424
1355
|
};
|
|
1425
1356
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1441,7 +1372,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1441
1372
|
...output,
|
|
1442
1373
|
body: await parseBody(output.body, context),
|
|
1443
1374
|
};
|
|
1444
|
-
let response;
|
|
1445
1375
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1446
1376
|
switch (errorCode) {
|
|
1447
1377
|
case "ConcurrentModificationException":
|
|
@@ -1455,14 +1385,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1455
1385
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1456
1386
|
default:
|
|
1457
1387
|
const parsedBody = parsedOutput.body;
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
$metadata,
|
|
1388
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1389
|
+
output,
|
|
1390
|
+
parsedBody,
|
|
1391
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1392
|
+
errorCode,
|
|
1464
1393
|
});
|
|
1465
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1466
1394
|
}
|
|
1467
1395
|
};
|
|
1468
1396
|
const deserializeAws_json1_1RollbackApplicationCommand = async (output, context) => {
|
|
@@ -1484,7 +1412,6 @@ const deserializeAws_json1_1RollbackApplicationCommandError = async (output, con
|
|
|
1484
1412
|
...output,
|
|
1485
1413
|
body: await parseBody(output.body, context),
|
|
1486
1414
|
};
|
|
1487
|
-
let response;
|
|
1488
1415
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1489
1416
|
switch (errorCode) {
|
|
1490
1417
|
case "ConcurrentModificationException":
|
|
@@ -1507,14 +1434,12 @@ const deserializeAws_json1_1RollbackApplicationCommandError = async (output, con
|
|
|
1507
1434
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1508
1435
|
default:
|
|
1509
1436
|
const parsedBody = parsedOutput.body;
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
$metadata,
|
|
1437
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1438
|
+
output,
|
|
1439
|
+
parsedBody,
|
|
1440
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1441
|
+
errorCode,
|
|
1516
1442
|
});
|
|
1517
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1518
1443
|
}
|
|
1519
1444
|
};
|
|
1520
1445
|
const deserializeAws_json1_1StartApplicationCommand = async (output, context) => {
|
|
@@ -1536,7 +1461,6 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
1536
1461
|
...output,
|
|
1537
1462
|
body: await parseBody(output.body, context),
|
|
1538
1463
|
};
|
|
1539
|
-
let response;
|
|
1540
1464
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1541
1465
|
switch (errorCode) {
|
|
1542
1466
|
case "InvalidApplicationConfigurationException":
|
|
@@ -1556,14 +1480,12 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
1556
1480
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1557
1481
|
default:
|
|
1558
1482
|
const parsedBody = parsedOutput.body;
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
$metadata,
|
|
1483
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1484
|
+
output,
|
|
1485
|
+
parsedBody,
|
|
1486
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1487
|
+
errorCode,
|
|
1565
1488
|
});
|
|
1566
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1567
1489
|
}
|
|
1568
1490
|
};
|
|
1569
1491
|
const deserializeAws_json1_1StopApplicationCommand = async (output, context) => {
|
|
@@ -1585,7 +1507,6 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
1585
1507
|
...output,
|
|
1586
1508
|
body: await parseBody(output.body, context),
|
|
1587
1509
|
};
|
|
1588
|
-
let response;
|
|
1589
1510
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1590
1511
|
switch (errorCode) {
|
|
1591
1512
|
case "ConcurrentModificationException":
|
|
@@ -1608,14 +1529,12 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
1608
1529
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1609
1530
|
default:
|
|
1610
1531
|
const parsedBody = parsedOutput.body;
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
$metadata,
|
|
1532
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1533
|
+
output,
|
|
1534
|
+
parsedBody,
|
|
1535
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1536
|
+
errorCode,
|
|
1617
1537
|
});
|
|
1618
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1619
1538
|
}
|
|
1620
1539
|
};
|
|
1621
1540
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1637,7 +1556,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1637
1556
|
...output,
|
|
1638
1557
|
body: await parseBody(output.body, context),
|
|
1639
1558
|
};
|
|
1640
|
-
let response;
|
|
1641
1559
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1642
1560
|
switch (errorCode) {
|
|
1643
1561
|
case "ConcurrentModificationException":
|
|
@@ -1657,14 +1575,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1657
1575
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1658
1576
|
default:
|
|
1659
1577
|
const parsedBody = parsedOutput.body;
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
$metadata,
|
|
1578
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1579
|
+
output,
|
|
1580
|
+
parsedBody,
|
|
1581
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1582
|
+
errorCode,
|
|
1666
1583
|
});
|
|
1667
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1668
1584
|
}
|
|
1669
1585
|
};
|
|
1670
1586
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1686,7 +1602,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1686
1602
|
...output,
|
|
1687
1603
|
body: await parseBody(output.body, context),
|
|
1688
1604
|
};
|
|
1689
|
-
let response;
|
|
1690
1605
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1691
1606
|
switch (errorCode) {
|
|
1692
1607
|
case "ConcurrentModificationException":
|
|
@@ -1706,14 +1621,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1706
1621
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1707
1622
|
default:
|
|
1708
1623
|
const parsedBody = parsedOutput.body;
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
$metadata,
|
|
1624
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1625
|
+
output,
|
|
1626
|
+
parsedBody,
|
|
1627
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1628
|
+
errorCode,
|
|
1715
1629
|
});
|
|
1716
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1717
1630
|
}
|
|
1718
1631
|
};
|
|
1719
1632
|
const deserializeAws_json1_1UpdateApplicationCommand = async (output, context) => {
|
|
@@ -1735,7 +1648,6 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1735
1648
|
...output,
|
|
1736
1649
|
body: await parseBody(output.body, context),
|
|
1737
1650
|
};
|
|
1738
|
-
let response;
|
|
1739
1651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1740
1652
|
switch (errorCode) {
|
|
1741
1653
|
case "CodeValidationException":
|
|
@@ -1764,14 +1676,12 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1764
1676
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1765
1677
|
default:
|
|
1766
1678
|
const parsedBody = parsedOutput.body;
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
$metadata,
|
|
1679
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1680
|
+
output,
|
|
1681
|
+
parsedBody,
|
|
1682
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1683
|
+
errorCode,
|
|
1773
1684
|
});
|
|
1774
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1775
1685
|
}
|
|
1776
1686
|
};
|
|
1777
1687
|
const deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommand = async (output, context) => {
|
|
@@ -1793,7 +1703,6 @@ const deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommandErro
|
|
|
1793
1703
|
...output,
|
|
1794
1704
|
body: await parseBody(output.body, context),
|
|
1795
1705
|
};
|
|
1796
|
-
let response;
|
|
1797
1706
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1798
1707
|
switch (errorCode) {
|
|
1799
1708
|
case "ConcurrentModificationException":
|
|
@@ -1813,14 +1722,12 @@ const deserializeAws_json1_1UpdateApplicationMaintenanceConfigurationCommandErro
|
|
|
1813
1722
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1814
1723
|
default:
|
|
1815
1724
|
const parsedBody = parsedOutput.body;
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
$metadata,
|
|
1725
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1726
|
+
output,
|
|
1727
|
+
parsedBody,
|
|
1728
|
+
exceptionCtor: KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException,
|
|
1729
|
+
errorCode,
|
|
1822
1730
|
});
|
|
1823
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1824
1731
|
}
|
|
1825
1732
|
};
|
|
1826
1733
|
const deserializeAws_json1_1CodeValidationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2133,9 +2040,6 @@ const serializeAws_json1_1CloudWatchLoggingOptions = (input, context) => {
|
|
|
2133
2040
|
return input
|
|
2134
2041
|
.filter((e) => e != null)
|
|
2135
2042
|
.map((entry) => {
|
|
2136
|
-
if (entry === null) {
|
|
2137
|
-
return null;
|
|
2138
|
-
}
|
|
2139
2043
|
return serializeAws_json1_1CloudWatchLoggingOption(entry, context);
|
|
2140
2044
|
});
|
|
2141
2045
|
};
|
|
@@ -2149,9 +2053,6 @@ const serializeAws_json1_1CloudWatchLoggingOptionUpdates = (input, context) => {
|
|
|
2149
2053
|
return input
|
|
2150
2054
|
.filter((e) => e != null)
|
|
2151
2055
|
.map((entry) => {
|
|
2152
|
-
if (entry === null) {
|
|
2153
|
-
return null;
|
|
2154
|
-
}
|
|
2155
2056
|
return serializeAws_json1_1CloudWatchLoggingOptionUpdate(entry, context);
|
|
2156
2057
|
});
|
|
2157
2058
|
};
|
|
@@ -2227,9 +2128,6 @@ const serializeAws_json1_1CustomArtifactsConfigurationList = (input, context) =>
|
|
|
2227
2128
|
return input
|
|
2228
2129
|
.filter((e) => e != null)
|
|
2229
2130
|
.map((entry) => {
|
|
2230
|
-
if (entry === null) {
|
|
2231
|
-
return null;
|
|
2232
|
-
}
|
|
2233
2131
|
return serializeAws_json1_1CustomArtifactConfiguration(entry, context);
|
|
2234
2132
|
});
|
|
2235
2133
|
};
|
|
@@ -2458,9 +2356,6 @@ const serializeAws_json1_1Inputs = (input, context) => {
|
|
|
2458
2356
|
return input
|
|
2459
2357
|
.filter((e) => e != null)
|
|
2460
2358
|
.map((entry) => {
|
|
2461
|
-
if (entry === null) {
|
|
2462
|
-
return null;
|
|
2463
|
-
}
|
|
2464
2359
|
return serializeAws_json1_1Input(entry, context);
|
|
2465
2360
|
});
|
|
2466
2361
|
};
|
|
@@ -2505,9 +2400,6 @@ const serializeAws_json1_1InputUpdates = (input, context) => {
|
|
|
2505
2400
|
return input
|
|
2506
2401
|
.filter((e) => e != null)
|
|
2507
2402
|
.map((entry) => {
|
|
2508
|
-
if (entry === null) {
|
|
2509
|
-
return null;
|
|
2510
|
-
}
|
|
2511
2403
|
return serializeAws_json1_1InputUpdate(entry, context);
|
|
2512
2404
|
});
|
|
2513
2405
|
};
|
|
@@ -2641,9 +2533,6 @@ const serializeAws_json1_1Outputs = (input, context) => {
|
|
|
2641
2533
|
return input
|
|
2642
2534
|
.filter((e) => e != null)
|
|
2643
2535
|
.map((entry) => {
|
|
2644
|
-
if (entry === null) {
|
|
2645
|
-
return null;
|
|
2646
|
-
}
|
|
2647
2536
|
return serializeAws_json1_1Output(entry, context);
|
|
2648
2537
|
});
|
|
2649
2538
|
};
|
|
@@ -2669,9 +2558,6 @@ const serializeAws_json1_1OutputUpdates = (input, context) => {
|
|
|
2669
2558
|
return input
|
|
2670
2559
|
.filter((e) => e != null)
|
|
2671
2560
|
.map((entry) => {
|
|
2672
|
-
if (entry === null) {
|
|
2673
|
-
return null;
|
|
2674
|
-
}
|
|
2675
2561
|
return serializeAws_json1_1OutputUpdate(entry, context);
|
|
2676
2562
|
});
|
|
2677
2563
|
};
|
|
@@ -2701,9 +2587,6 @@ const serializeAws_json1_1PropertyGroups = (input, context) => {
|
|
|
2701
2587
|
return input
|
|
2702
2588
|
.filter((e) => e != null)
|
|
2703
2589
|
.map((entry) => {
|
|
2704
|
-
if (entry === null) {
|
|
2705
|
-
return null;
|
|
2706
|
-
}
|
|
2707
2590
|
return serializeAws_json1_1PropertyGroup(entry, context);
|
|
2708
2591
|
});
|
|
2709
2592
|
};
|
|
@@ -2729,9 +2612,6 @@ const serializeAws_json1_1RecordColumns = (input, context) => {
|
|
|
2729
2612
|
return input
|
|
2730
2613
|
.filter((e) => e != null)
|
|
2731
2614
|
.map((entry) => {
|
|
2732
|
-
if (entry === null) {
|
|
2733
|
-
return null;
|
|
2734
|
-
}
|
|
2735
2615
|
return serializeAws_json1_1RecordColumn(entry, context);
|
|
2736
2616
|
});
|
|
2737
2617
|
};
|
|
@@ -2758,9 +2638,6 @@ const serializeAws_json1_1ReferenceDataSources = (input, context) => {
|
|
|
2758
2638
|
return input
|
|
2759
2639
|
.filter((e) => e != null)
|
|
2760
2640
|
.map((entry) => {
|
|
2761
|
-
if (entry === null) {
|
|
2762
|
-
return null;
|
|
2763
|
-
}
|
|
2764
2641
|
return serializeAws_json1_1ReferenceDataSource(entry, context);
|
|
2765
2642
|
});
|
|
2766
2643
|
};
|
|
@@ -2780,9 +2657,6 @@ const serializeAws_json1_1ReferenceDataSourceUpdates = (input, context) => {
|
|
|
2780
2657
|
return input
|
|
2781
2658
|
.filter((e) => e != null)
|
|
2782
2659
|
.map((entry) => {
|
|
2783
|
-
if (entry === null) {
|
|
2784
|
-
return null;
|
|
2785
|
-
}
|
|
2786
2660
|
return serializeAws_json1_1ReferenceDataSourceUpdate(entry, context);
|
|
2787
2661
|
});
|
|
2788
2662
|
};
|
|
@@ -2865,9 +2739,6 @@ const serializeAws_json1_1SecurityGroupIds = (input, context) => {
|
|
|
2865
2739
|
return input
|
|
2866
2740
|
.filter((e) => e != null)
|
|
2867
2741
|
.map((entry) => {
|
|
2868
|
-
if (entry === null) {
|
|
2869
|
-
return null;
|
|
2870
|
-
}
|
|
2871
2742
|
return entry;
|
|
2872
2743
|
});
|
|
2873
2744
|
};
|
|
@@ -2912,9 +2783,6 @@ const serializeAws_json1_1SqlRunConfigurations = (input, context) => {
|
|
|
2912
2783
|
return input
|
|
2913
2784
|
.filter((e) => e != null)
|
|
2914
2785
|
.map((entry) => {
|
|
2915
|
-
if (entry === null) {
|
|
2916
|
-
return null;
|
|
2917
|
-
}
|
|
2918
2786
|
return serializeAws_json1_1SqlRunConfiguration(entry, context);
|
|
2919
2787
|
});
|
|
2920
2788
|
};
|
|
@@ -2936,9 +2804,6 @@ const serializeAws_json1_1SubnetIds = (input, context) => {
|
|
|
2936
2804
|
return input
|
|
2937
2805
|
.filter((e) => e != null)
|
|
2938
2806
|
.map((entry) => {
|
|
2939
|
-
if (entry === null) {
|
|
2940
|
-
return null;
|
|
2941
|
-
}
|
|
2942
2807
|
return entry;
|
|
2943
2808
|
});
|
|
2944
2809
|
};
|
|
@@ -2952,9 +2817,6 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
2952
2817
|
return input
|
|
2953
2818
|
.filter((e) => e != null)
|
|
2954
2819
|
.map((entry) => {
|
|
2955
|
-
if (entry === null) {
|
|
2956
|
-
return null;
|
|
2957
|
-
}
|
|
2958
2820
|
return entry;
|
|
2959
2821
|
});
|
|
2960
2822
|
};
|
|
@@ -2968,9 +2830,6 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
2968
2830
|
return input
|
|
2969
2831
|
.filter((e) => e != null)
|
|
2970
2832
|
.map((entry) => {
|
|
2971
|
-
if (entry === null) {
|
|
2972
|
-
return null;
|
|
2973
|
-
}
|
|
2974
2833
|
return serializeAws_json1_1Tag(entry, context);
|
|
2975
2834
|
});
|
|
2976
2835
|
};
|
|
@@ -3019,9 +2878,6 @@ const serializeAws_json1_1VpcConfigurations = (input, context) => {
|
|
|
3019
2878
|
return input
|
|
3020
2879
|
.filter((e) => e != null)
|
|
3021
2880
|
.map((entry) => {
|
|
3022
|
-
if (entry === null) {
|
|
3023
|
-
return null;
|
|
3024
|
-
}
|
|
3025
2881
|
return serializeAws_json1_1VpcConfiguration(entry, context);
|
|
3026
2882
|
});
|
|
3027
2883
|
};
|
|
@@ -3040,9 +2896,6 @@ const serializeAws_json1_1VpcConfigurationUpdates = (input, context) => {
|
|
|
3040
2896
|
return input
|
|
3041
2897
|
.filter((e) => e != null)
|
|
3042
2898
|
.map((entry) => {
|
|
3043
|
-
if (entry === null) {
|
|
3044
|
-
return null;
|
|
3045
|
-
}
|
|
3046
2899
|
return serializeAws_json1_1VpcConfigurationUpdate(entry, context);
|
|
3047
2900
|
});
|
|
3048
2901
|
};
|