@aws-sdk/client-ecr 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 +205 -373
- package/dist-es/protocols/Aws_json1_1.js +329 -374
- package/package.json +6 -6
|
@@ -435,7 +435,6 @@ const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError = async (out
|
|
|
435
435
|
...output,
|
|
436
436
|
body: await parseBody(output.body, context),
|
|
437
437
|
};
|
|
438
|
-
let response;
|
|
439
438
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
440
439
|
switch (errorCode) {
|
|
441
440
|
case "InvalidParameterException":
|
|
@@ -449,14 +448,12 @@ const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError = async (out
|
|
|
449
448
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
450
449
|
default:
|
|
451
450
|
const parsedBody = parsedOutput.body;
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
$metadata,
|
|
451
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
452
|
+
output,
|
|
453
|
+
parsedBody,
|
|
454
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
455
|
+
errorCode,
|
|
458
456
|
});
|
|
459
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
460
457
|
}
|
|
461
458
|
};
|
|
462
459
|
const deserializeAws_json1_1BatchDeleteImageCommand = async (output, context) => {
|
|
@@ -478,7 +475,6 @@ const deserializeAws_json1_1BatchDeleteImageCommandError = async (output, contex
|
|
|
478
475
|
...output,
|
|
479
476
|
body: await parseBody(output.body, context),
|
|
480
477
|
};
|
|
481
|
-
let response;
|
|
482
478
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
483
479
|
switch (errorCode) {
|
|
484
480
|
case "InvalidParameterException":
|
|
@@ -492,14 +488,12 @@ const deserializeAws_json1_1BatchDeleteImageCommandError = async (output, contex
|
|
|
492
488
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
493
489
|
default:
|
|
494
490
|
const parsedBody = parsedOutput.body;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
$metadata,
|
|
491
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
492
|
+
output,
|
|
493
|
+
parsedBody,
|
|
494
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
495
|
+
errorCode,
|
|
501
496
|
});
|
|
502
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
503
497
|
}
|
|
504
498
|
};
|
|
505
499
|
const deserializeAws_json1_1BatchGetImageCommand = async (output, context) => {
|
|
@@ -521,7 +515,6 @@ const deserializeAws_json1_1BatchGetImageCommandError = async (output, context)
|
|
|
521
515
|
...output,
|
|
522
516
|
body: await parseBody(output.body, context),
|
|
523
517
|
};
|
|
524
|
-
let response;
|
|
525
518
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
526
519
|
switch (errorCode) {
|
|
527
520
|
case "InvalidParameterException":
|
|
@@ -535,14 +528,12 @@ const deserializeAws_json1_1BatchGetImageCommandError = async (output, context)
|
|
|
535
528
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
536
529
|
default:
|
|
537
530
|
const parsedBody = parsedOutput.body;
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
$metadata,
|
|
531
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
532
|
+
output,
|
|
533
|
+
parsedBody,
|
|
534
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
535
|
+
errorCode,
|
|
544
536
|
});
|
|
545
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
546
537
|
}
|
|
547
538
|
};
|
|
548
539
|
const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand = async (output, context) => {
|
|
@@ -564,7 +555,6 @@ const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommandError
|
|
|
564
555
|
...output,
|
|
565
556
|
body: await parseBody(output.body, context),
|
|
566
557
|
};
|
|
567
|
-
let response;
|
|
568
558
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
569
559
|
switch (errorCode) {
|
|
570
560
|
case "InvalidParameterException":
|
|
@@ -581,14 +571,12 @@ const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommandError
|
|
|
581
571
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
582
572
|
default:
|
|
583
573
|
const parsedBody = parsedOutput.body;
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
$metadata,
|
|
574
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
575
|
+
output,
|
|
576
|
+
parsedBody,
|
|
577
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
578
|
+
errorCode,
|
|
590
579
|
});
|
|
591
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
592
580
|
}
|
|
593
581
|
};
|
|
594
582
|
const deserializeAws_json1_1CompleteLayerUploadCommand = async (output, context) => {
|
|
@@ -610,7 +598,6 @@ const deserializeAws_json1_1CompleteLayerUploadCommandError = async (output, con
|
|
|
610
598
|
...output,
|
|
611
599
|
body: await parseBody(output.body, context),
|
|
612
600
|
};
|
|
613
|
-
let response;
|
|
614
601
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
615
602
|
switch (errorCode) {
|
|
616
603
|
case "EmptyUploadException":
|
|
@@ -642,14 +629,12 @@ const deserializeAws_json1_1CompleteLayerUploadCommandError = async (output, con
|
|
|
642
629
|
throw await deserializeAws_json1_1UploadNotFoundExceptionResponse(parsedOutput, context);
|
|
643
630
|
default:
|
|
644
631
|
const parsedBody = parsedOutput.body;
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
$metadata,
|
|
632
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
633
|
+
output,
|
|
634
|
+
parsedBody,
|
|
635
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
636
|
+
errorCode,
|
|
651
637
|
});
|
|
652
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
653
638
|
}
|
|
654
639
|
};
|
|
655
640
|
const deserializeAws_json1_1CreatePullThroughCacheRuleCommand = async (output, context) => {
|
|
@@ -671,7 +656,6 @@ const deserializeAws_json1_1CreatePullThroughCacheRuleCommandError = async (outp
|
|
|
671
656
|
...output,
|
|
672
657
|
body: await parseBody(output.body, context),
|
|
673
658
|
};
|
|
674
|
-
let response;
|
|
675
659
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
676
660
|
switch (errorCode) {
|
|
677
661
|
case "InvalidParameterException":
|
|
@@ -694,14 +678,12 @@ const deserializeAws_json1_1CreatePullThroughCacheRuleCommandError = async (outp
|
|
|
694
678
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
695
679
|
default:
|
|
696
680
|
const parsedBody = parsedOutput.body;
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
$metadata,
|
|
681
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
682
|
+
output,
|
|
683
|
+
parsedBody,
|
|
684
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
685
|
+
errorCode,
|
|
703
686
|
});
|
|
704
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
705
687
|
}
|
|
706
688
|
};
|
|
707
689
|
const deserializeAws_json1_1CreateRepositoryCommand = async (output, context) => {
|
|
@@ -723,7 +705,6 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
723
705
|
...output,
|
|
724
706
|
body: await parseBody(output.body, context),
|
|
725
707
|
};
|
|
726
|
-
let response;
|
|
727
708
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
728
709
|
switch (errorCode) {
|
|
729
710
|
case "InvalidParameterException":
|
|
@@ -749,14 +730,12 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
749
730
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
750
731
|
default:
|
|
751
732
|
const parsedBody = parsedOutput.body;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
$metadata,
|
|
733
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
734
|
+
output,
|
|
735
|
+
parsedBody,
|
|
736
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
737
|
+
errorCode,
|
|
758
738
|
});
|
|
759
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
760
739
|
}
|
|
761
740
|
};
|
|
762
741
|
const deserializeAws_json1_1DeleteLifecyclePolicyCommand = async (output, context) => {
|
|
@@ -778,7 +757,6 @@ const deserializeAws_json1_1DeleteLifecyclePolicyCommandError = async (output, c
|
|
|
778
757
|
...output,
|
|
779
758
|
body: await parseBody(output.body, context),
|
|
780
759
|
};
|
|
781
|
-
let response;
|
|
782
760
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
783
761
|
switch (errorCode) {
|
|
784
762
|
case "InvalidParameterException":
|
|
@@ -795,14 +773,12 @@ const deserializeAws_json1_1DeleteLifecyclePolicyCommandError = async (output, c
|
|
|
795
773
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
796
774
|
default:
|
|
797
775
|
const parsedBody = parsedOutput.body;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
$metadata,
|
|
776
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
777
|
+
output,
|
|
778
|
+
parsedBody,
|
|
779
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
780
|
+
errorCode,
|
|
804
781
|
});
|
|
805
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
806
782
|
}
|
|
807
783
|
};
|
|
808
784
|
const deserializeAws_json1_1DeletePullThroughCacheRuleCommand = async (output, context) => {
|
|
@@ -824,7 +800,6 @@ const deserializeAws_json1_1DeletePullThroughCacheRuleCommandError = async (outp
|
|
|
824
800
|
...output,
|
|
825
801
|
body: await parseBody(output.body, context),
|
|
826
802
|
};
|
|
827
|
-
let response;
|
|
828
803
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
829
804
|
switch (errorCode) {
|
|
830
805
|
case "InvalidParameterException":
|
|
@@ -841,14 +816,12 @@ const deserializeAws_json1_1DeletePullThroughCacheRuleCommandError = async (outp
|
|
|
841
816
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
842
817
|
default:
|
|
843
818
|
const parsedBody = parsedOutput.body;
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
$metadata,
|
|
819
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
820
|
+
output,
|
|
821
|
+
parsedBody,
|
|
822
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
823
|
+
errorCode,
|
|
850
824
|
});
|
|
851
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
852
825
|
}
|
|
853
826
|
};
|
|
854
827
|
const deserializeAws_json1_1DeleteRegistryPolicyCommand = async (output, context) => {
|
|
@@ -870,7 +843,6 @@ const deserializeAws_json1_1DeleteRegistryPolicyCommandError = async (output, co
|
|
|
870
843
|
...output,
|
|
871
844
|
body: await parseBody(output.body, context),
|
|
872
845
|
};
|
|
873
|
-
let response;
|
|
874
846
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
875
847
|
switch (errorCode) {
|
|
876
848
|
case "InvalidParameterException":
|
|
@@ -887,14 +859,12 @@ const deserializeAws_json1_1DeleteRegistryPolicyCommandError = async (output, co
|
|
|
887
859
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
888
860
|
default:
|
|
889
861
|
const parsedBody = parsedOutput.body;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
$metadata,
|
|
862
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
863
|
+
output,
|
|
864
|
+
parsedBody,
|
|
865
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
866
|
+
errorCode,
|
|
896
867
|
});
|
|
897
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
898
868
|
}
|
|
899
869
|
};
|
|
900
870
|
const deserializeAws_json1_1DeleteRepositoryCommand = async (output, context) => {
|
|
@@ -916,7 +886,6 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
916
886
|
...output,
|
|
917
887
|
body: await parseBody(output.body, context),
|
|
918
888
|
};
|
|
919
|
-
let response;
|
|
920
889
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
921
890
|
switch (errorCode) {
|
|
922
891
|
case "InvalidParameterException":
|
|
@@ -936,14 +905,12 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
936
905
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
937
906
|
default:
|
|
938
907
|
const parsedBody = parsedOutput.body;
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
$metadata,
|
|
908
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
909
|
+
output,
|
|
910
|
+
parsedBody,
|
|
911
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
912
|
+
errorCode,
|
|
945
913
|
});
|
|
946
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
947
914
|
}
|
|
948
915
|
};
|
|
949
916
|
const deserializeAws_json1_1DeleteRepositoryPolicyCommand = async (output, context) => {
|
|
@@ -965,7 +932,6 @@ const deserializeAws_json1_1DeleteRepositoryPolicyCommandError = async (output,
|
|
|
965
932
|
...output,
|
|
966
933
|
body: await parseBody(output.body, context),
|
|
967
934
|
};
|
|
968
|
-
let response;
|
|
969
935
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
970
936
|
switch (errorCode) {
|
|
971
937
|
case "InvalidParameterException":
|
|
@@ -982,14 +948,12 @@ const deserializeAws_json1_1DeleteRepositoryPolicyCommandError = async (output,
|
|
|
982
948
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
983
949
|
default:
|
|
984
950
|
const parsedBody = parsedOutput.body;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
$metadata,
|
|
951
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
952
|
+
output,
|
|
953
|
+
parsedBody,
|
|
954
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
955
|
+
errorCode,
|
|
991
956
|
});
|
|
992
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
993
957
|
}
|
|
994
958
|
};
|
|
995
959
|
const deserializeAws_json1_1DescribeImageReplicationStatusCommand = async (output, context) => {
|
|
@@ -1011,7 +975,6 @@ const deserializeAws_json1_1DescribeImageReplicationStatusCommandError = async (
|
|
|
1011
975
|
...output,
|
|
1012
976
|
body: await parseBody(output.body, context),
|
|
1013
977
|
};
|
|
1014
|
-
let response;
|
|
1015
978
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1016
979
|
switch (errorCode) {
|
|
1017
980
|
case "ImageNotFoundException":
|
|
@@ -1031,14 +994,12 @@ const deserializeAws_json1_1DescribeImageReplicationStatusCommandError = async (
|
|
|
1031
994
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1032
995
|
default:
|
|
1033
996
|
const parsedBody = parsedOutput.body;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
$metadata,
|
|
997
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
998
|
+
output,
|
|
999
|
+
parsedBody,
|
|
1000
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1001
|
+
errorCode,
|
|
1040
1002
|
});
|
|
1041
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1042
1003
|
}
|
|
1043
1004
|
};
|
|
1044
1005
|
const deserializeAws_json1_1DescribeImagesCommand = async (output, context) => {
|
|
@@ -1060,7 +1021,6 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
|
|
|
1060
1021
|
...output,
|
|
1061
1022
|
body: await parseBody(output.body, context),
|
|
1062
1023
|
};
|
|
1063
|
-
let response;
|
|
1064
1024
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1065
1025
|
switch (errorCode) {
|
|
1066
1026
|
case "ImageNotFoundException":
|
|
@@ -1077,14 +1037,12 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
|
|
|
1077
1037
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1078
1038
|
default:
|
|
1079
1039
|
const parsedBody = parsedOutput.body;
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
$metadata,
|
|
1040
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1041
|
+
output,
|
|
1042
|
+
parsedBody,
|
|
1043
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1044
|
+
errorCode,
|
|
1086
1045
|
});
|
|
1087
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1088
1046
|
}
|
|
1089
1047
|
};
|
|
1090
1048
|
const deserializeAws_json1_1DescribeImageScanFindingsCommand = async (output, context) => {
|
|
@@ -1106,7 +1064,6 @@ const deserializeAws_json1_1DescribeImageScanFindingsCommandError = async (outpu
|
|
|
1106
1064
|
...output,
|
|
1107
1065
|
body: await parseBody(output.body, context),
|
|
1108
1066
|
};
|
|
1109
|
-
let response;
|
|
1110
1067
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1111
1068
|
switch (errorCode) {
|
|
1112
1069
|
case "ImageNotFoundException":
|
|
@@ -1129,14 +1086,12 @@ const deserializeAws_json1_1DescribeImageScanFindingsCommandError = async (outpu
|
|
|
1129
1086
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1130
1087
|
default:
|
|
1131
1088
|
const parsedBody = parsedOutput.body;
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
$metadata,
|
|
1089
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1090
|
+
output,
|
|
1091
|
+
parsedBody,
|
|
1092
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1093
|
+
errorCode,
|
|
1138
1094
|
});
|
|
1139
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1140
1095
|
}
|
|
1141
1096
|
};
|
|
1142
1097
|
const deserializeAws_json1_1DescribePullThroughCacheRulesCommand = async (output, context) => {
|
|
@@ -1158,7 +1113,6 @@ const deserializeAws_json1_1DescribePullThroughCacheRulesCommandError = async (o
|
|
|
1158
1113
|
...output,
|
|
1159
1114
|
body: await parseBody(output.body, context),
|
|
1160
1115
|
};
|
|
1161
|
-
let response;
|
|
1162
1116
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1163
1117
|
switch (errorCode) {
|
|
1164
1118
|
case "InvalidParameterException":
|
|
@@ -1175,14 +1129,12 @@ const deserializeAws_json1_1DescribePullThroughCacheRulesCommandError = async (o
|
|
|
1175
1129
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1176
1130
|
default:
|
|
1177
1131
|
const parsedBody = parsedOutput.body;
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
$metadata,
|
|
1132
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1133
|
+
output,
|
|
1134
|
+
parsedBody,
|
|
1135
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1136
|
+
errorCode,
|
|
1184
1137
|
});
|
|
1185
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1186
1138
|
}
|
|
1187
1139
|
};
|
|
1188
1140
|
const deserializeAws_json1_1DescribeRegistryCommand = async (output, context) => {
|
|
@@ -1204,7 +1156,6 @@ const deserializeAws_json1_1DescribeRegistryCommandError = async (output, contex
|
|
|
1204
1156
|
...output,
|
|
1205
1157
|
body: await parseBody(output.body, context),
|
|
1206
1158
|
};
|
|
1207
|
-
let response;
|
|
1208
1159
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1209
1160
|
switch (errorCode) {
|
|
1210
1161
|
case "InvalidParameterException":
|
|
@@ -1218,14 +1169,12 @@ const deserializeAws_json1_1DescribeRegistryCommandError = async (output, contex
|
|
|
1218
1169
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1219
1170
|
default:
|
|
1220
1171
|
const parsedBody = parsedOutput.body;
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
$metadata,
|
|
1172
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1173
|
+
output,
|
|
1174
|
+
parsedBody,
|
|
1175
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1176
|
+
errorCode,
|
|
1227
1177
|
});
|
|
1228
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1229
1178
|
}
|
|
1230
1179
|
};
|
|
1231
1180
|
const deserializeAws_json1_1DescribeRepositoriesCommand = async (output, context) => {
|
|
@@ -1247,7 +1196,6 @@ const deserializeAws_json1_1DescribeRepositoriesCommandError = async (output, co
|
|
|
1247
1196
|
...output,
|
|
1248
1197
|
body: await parseBody(output.body, context),
|
|
1249
1198
|
};
|
|
1250
|
-
let response;
|
|
1251
1199
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1252
1200
|
switch (errorCode) {
|
|
1253
1201
|
case "InvalidParameterException":
|
|
@@ -1261,14 +1209,12 @@ const deserializeAws_json1_1DescribeRepositoriesCommandError = async (output, co
|
|
|
1261
1209
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1262
1210
|
default:
|
|
1263
1211
|
const parsedBody = parsedOutput.body;
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
$metadata,
|
|
1212
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1213
|
+
output,
|
|
1214
|
+
parsedBody,
|
|
1215
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1216
|
+
errorCode,
|
|
1270
1217
|
});
|
|
1271
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1272
1218
|
}
|
|
1273
1219
|
};
|
|
1274
1220
|
const deserializeAws_json1_1GetAuthorizationTokenCommand = async (output, context) => {
|
|
@@ -1290,7 +1236,6 @@ const deserializeAws_json1_1GetAuthorizationTokenCommandError = async (output, c
|
|
|
1290
1236
|
...output,
|
|
1291
1237
|
body: await parseBody(output.body, context),
|
|
1292
1238
|
};
|
|
1293
|
-
let response;
|
|
1294
1239
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1295
1240
|
switch (errorCode) {
|
|
1296
1241
|
case "InvalidParameterException":
|
|
@@ -1301,14 +1246,12 @@ const deserializeAws_json1_1GetAuthorizationTokenCommandError = async (output, c
|
|
|
1301
1246
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1302
1247
|
default:
|
|
1303
1248
|
const parsedBody = parsedOutput.body;
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
$metadata,
|
|
1249
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1250
|
+
output,
|
|
1251
|
+
parsedBody,
|
|
1252
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1253
|
+
errorCode,
|
|
1310
1254
|
});
|
|
1311
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1312
1255
|
}
|
|
1313
1256
|
};
|
|
1314
1257
|
const deserializeAws_json1_1GetDownloadUrlForLayerCommand = async (output, context) => {
|
|
@@ -1330,7 +1273,6 @@ const deserializeAws_json1_1GetDownloadUrlForLayerCommandError = async (output,
|
|
|
1330
1273
|
...output,
|
|
1331
1274
|
body: await parseBody(output.body, context),
|
|
1332
1275
|
};
|
|
1333
|
-
let response;
|
|
1334
1276
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1335
1277
|
switch (errorCode) {
|
|
1336
1278
|
case "InvalidParameterException":
|
|
@@ -1350,14 +1292,12 @@ const deserializeAws_json1_1GetDownloadUrlForLayerCommandError = async (output,
|
|
|
1350
1292
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1351
1293
|
default:
|
|
1352
1294
|
const parsedBody = parsedOutput.body;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
$metadata,
|
|
1295
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1296
|
+
output,
|
|
1297
|
+
parsedBody,
|
|
1298
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1299
|
+
errorCode,
|
|
1359
1300
|
});
|
|
1360
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1361
1301
|
}
|
|
1362
1302
|
};
|
|
1363
1303
|
const deserializeAws_json1_1GetLifecyclePolicyCommand = async (output, context) => {
|
|
@@ -1379,7 +1319,6 @@ const deserializeAws_json1_1GetLifecyclePolicyCommandError = async (output, cont
|
|
|
1379
1319
|
...output,
|
|
1380
1320
|
body: await parseBody(output.body, context),
|
|
1381
1321
|
};
|
|
1382
|
-
let response;
|
|
1383
1322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1384
1323
|
switch (errorCode) {
|
|
1385
1324
|
case "InvalidParameterException":
|
|
@@ -1396,14 +1335,12 @@ const deserializeAws_json1_1GetLifecyclePolicyCommandError = async (output, cont
|
|
|
1396
1335
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1397
1336
|
default:
|
|
1398
1337
|
const parsedBody = parsedOutput.body;
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
$metadata,
|
|
1338
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1339
|
+
output,
|
|
1340
|
+
parsedBody,
|
|
1341
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1342
|
+
errorCode,
|
|
1405
1343
|
});
|
|
1406
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1407
1344
|
}
|
|
1408
1345
|
};
|
|
1409
1346
|
const deserializeAws_json1_1GetLifecyclePolicyPreviewCommand = async (output, context) => {
|
|
@@ -1425,7 +1362,6 @@ const deserializeAws_json1_1GetLifecyclePolicyPreviewCommandError = async (outpu
|
|
|
1425
1362
|
...output,
|
|
1426
1363
|
body: await parseBody(output.body, context),
|
|
1427
1364
|
};
|
|
1428
|
-
let response;
|
|
1429
1365
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1430
1366
|
switch (errorCode) {
|
|
1431
1367
|
case "InvalidParameterException":
|
|
@@ -1442,14 +1378,12 @@ const deserializeAws_json1_1GetLifecyclePolicyPreviewCommandError = async (outpu
|
|
|
1442
1378
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1443
1379
|
default:
|
|
1444
1380
|
const parsedBody = parsedOutput.body;
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
$metadata,
|
|
1381
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1382
|
+
output,
|
|
1383
|
+
parsedBody,
|
|
1384
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1385
|
+
errorCode,
|
|
1451
1386
|
});
|
|
1452
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1453
1387
|
}
|
|
1454
1388
|
};
|
|
1455
1389
|
const deserializeAws_json1_1GetRegistryPolicyCommand = async (output, context) => {
|
|
@@ -1471,7 +1405,6 @@ const deserializeAws_json1_1GetRegistryPolicyCommandError = async (output, conte
|
|
|
1471
1405
|
...output,
|
|
1472
1406
|
body: await parseBody(output.body, context),
|
|
1473
1407
|
};
|
|
1474
|
-
let response;
|
|
1475
1408
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1476
1409
|
switch (errorCode) {
|
|
1477
1410
|
case "InvalidParameterException":
|
|
@@ -1488,14 +1421,12 @@ const deserializeAws_json1_1GetRegistryPolicyCommandError = async (output, conte
|
|
|
1488
1421
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1489
1422
|
default:
|
|
1490
1423
|
const parsedBody = parsedOutput.body;
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
$metadata,
|
|
1424
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1425
|
+
output,
|
|
1426
|
+
parsedBody,
|
|
1427
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1428
|
+
errorCode,
|
|
1497
1429
|
});
|
|
1498
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1499
1430
|
}
|
|
1500
1431
|
};
|
|
1501
1432
|
const deserializeAws_json1_1GetRegistryScanningConfigurationCommand = async (output, context) => {
|
|
@@ -1517,7 +1448,6 @@ const deserializeAws_json1_1GetRegistryScanningConfigurationCommandError = async
|
|
|
1517
1448
|
...output,
|
|
1518
1449
|
body: await parseBody(output.body, context),
|
|
1519
1450
|
};
|
|
1520
|
-
let response;
|
|
1521
1451
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
1452
|
switch (errorCode) {
|
|
1523
1453
|
case "InvalidParameterException":
|
|
@@ -1531,14 +1461,12 @@ const deserializeAws_json1_1GetRegistryScanningConfigurationCommandError = async
|
|
|
1531
1461
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1532
1462
|
default:
|
|
1533
1463
|
const parsedBody = parsedOutput.body;
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
$metadata,
|
|
1464
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1465
|
+
output,
|
|
1466
|
+
parsedBody,
|
|
1467
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1468
|
+
errorCode,
|
|
1540
1469
|
});
|
|
1541
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1542
1470
|
}
|
|
1543
1471
|
};
|
|
1544
1472
|
const deserializeAws_json1_1GetRepositoryPolicyCommand = async (output, context) => {
|
|
@@ -1560,7 +1488,6 @@ const deserializeAws_json1_1GetRepositoryPolicyCommandError = async (output, con
|
|
|
1560
1488
|
...output,
|
|
1561
1489
|
body: await parseBody(output.body, context),
|
|
1562
1490
|
};
|
|
1563
|
-
let response;
|
|
1564
1491
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1565
1492
|
switch (errorCode) {
|
|
1566
1493
|
case "InvalidParameterException":
|
|
@@ -1577,14 +1504,12 @@ const deserializeAws_json1_1GetRepositoryPolicyCommandError = async (output, con
|
|
|
1577
1504
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1578
1505
|
default:
|
|
1579
1506
|
const parsedBody = parsedOutput.body;
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
$metadata,
|
|
1507
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1508
|
+
output,
|
|
1509
|
+
parsedBody,
|
|
1510
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1511
|
+
errorCode,
|
|
1586
1512
|
});
|
|
1587
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1588
1513
|
}
|
|
1589
1514
|
};
|
|
1590
1515
|
const deserializeAws_json1_1InitiateLayerUploadCommand = async (output, context) => {
|
|
@@ -1606,7 +1531,6 @@ const deserializeAws_json1_1InitiateLayerUploadCommandError = async (output, con
|
|
|
1606
1531
|
...output,
|
|
1607
1532
|
body: await parseBody(output.body, context),
|
|
1608
1533
|
};
|
|
1609
|
-
let response;
|
|
1610
1534
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1611
1535
|
switch (errorCode) {
|
|
1612
1536
|
case "InvalidParameterException":
|
|
@@ -1623,14 +1547,12 @@ const deserializeAws_json1_1InitiateLayerUploadCommandError = async (output, con
|
|
|
1623
1547
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1624
1548
|
default:
|
|
1625
1549
|
const parsedBody = parsedOutput.body;
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
$metadata,
|
|
1550
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1551
|
+
output,
|
|
1552
|
+
parsedBody,
|
|
1553
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1554
|
+
errorCode,
|
|
1632
1555
|
});
|
|
1633
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1634
1556
|
}
|
|
1635
1557
|
};
|
|
1636
1558
|
const deserializeAws_json1_1ListImagesCommand = async (output, context) => {
|
|
@@ -1652,7 +1574,6 @@ const deserializeAws_json1_1ListImagesCommandError = async (output, context) =>
|
|
|
1652
1574
|
...output,
|
|
1653
1575
|
body: await parseBody(output.body, context),
|
|
1654
1576
|
};
|
|
1655
|
-
let response;
|
|
1656
1577
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1657
1578
|
switch (errorCode) {
|
|
1658
1579
|
case "InvalidParameterException":
|
|
@@ -1666,14 +1587,12 @@ const deserializeAws_json1_1ListImagesCommandError = async (output, context) =>
|
|
|
1666
1587
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1667
1588
|
default:
|
|
1668
1589
|
const parsedBody = parsedOutput.body;
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
$metadata,
|
|
1590
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1591
|
+
output,
|
|
1592
|
+
parsedBody,
|
|
1593
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1594
|
+
errorCode,
|
|
1675
1595
|
});
|
|
1676
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1677
1596
|
}
|
|
1678
1597
|
};
|
|
1679
1598
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1695,7 +1614,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1695
1614
|
...output,
|
|
1696
1615
|
body: await parseBody(output.body, context),
|
|
1697
1616
|
};
|
|
1698
|
-
let response;
|
|
1699
1617
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1700
1618
|
switch (errorCode) {
|
|
1701
1619
|
case "InvalidParameterException":
|
|
@@ -1709,14 +1627,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1709
1627
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1710
1628
|
default:
|
|
1711
1629
|
const parsedBody = parsedOutput.body;
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
$metadata,
|
|
1630
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1631
|
+
output,
|
|
1632
|
+
parsedBody,
|
|
1633
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1634
|
+
errorCode,
|
|
1718
1635
|
});
|
|
1719
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1720
1636
|
}
|
|
1721
1637
|
};
|
|
1722
1638
|
const deserializeAws_json1_1PutImageCommand = async (output, context) => {
|
|
@@ -1738,7 +1654,6 @@ const deserializeAws_json1_1PutImageCommandError = async (output, context) => {
|
|
|
1738
1654
|
...output,
|
|
1739
1655
|
body: await parseBody(output.body, context),
|
|
1740
1656
|
};
|
|
1741
|
-
let response;
|
|
1742
1657
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1743
1658
|
switch (errorCode) {
|
|
1744
1659
|
case "ImageAlreadyExistsException":
|
|
@@ -1773,14 +1688,12 @@ const deserializeAws_json1_1PutImageCommandError = async (output, context) => {
|
|
|
1773
1688
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1774
1689
|
default:
|
|
1775
1690
|
const parsedBody = parsedOutput.body;
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
$metadata,
|
|
1691
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1692
|
+
output,
|
|
1693
|
+
parsedBody,
|
|
1694
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1695
|
+
errorCode,
|
|
1782
1696
|
});
|
|
1783
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1784
1697
|
}
|
|
1785
1698
|
};
|
|
1786
1699
|
const deserializeAws_json1_1PutImageScanningConfigurationCommand = async (output, context) => {
|
|
@@ -1802,7 +1715,6 @@ const deserializeAws_json1_1PutImageScanningConfigurationCommandError = async (o
|
|
|
1802
1715
|
...output,
|
|
1803
1716
|
body: await parseBody(output.body, context),
|
|
1804
1717
|
};
|
|
1805
|
-
let response;
|
|
1806
1718
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1807
1719
|
switch (errorCode) {
|
|
1808
1720
|
case "InvalidParameterException":
|
|
@@ -1819,14 +1731,12 @@ const deserializeAws_json1_1PutImageScanningConfigurationCommandError = async (o
|
|
|
1819
1731
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1820
1732
|
default:
|
|
1821
1733
|
const parsedBody = parsedOutput.body;
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
$metadata,
|
|
1734
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1735
|
+
output,
|
|
1736
|
+
parsedBody,
|
|
1737
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1738
|
+
errorCode,
|
|
1828
1739
|
});
|
|
1829
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1830
1740
|
}
|
|
1831
1741
|
};
|
|
1832
1742
|
const deserializeAws_json1_1PutImageTagMutabilityCommand = async (output, context) => {
|
|
@@ -1848,7 +1758,6 @@ const deserializeAws_json1_1PutImageTagMutabilityCommandError = async (output, c
|
|
|
1848
1758
|
...output,
|
|
1849
1759
|
body: await parseBody(output.body, context),
|
|
1850
1760
|
};
|
|
1851
|
-
let response;
|
|
1852
1761
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1853
1762
|
switch (errorCode) {
|
|
1854
1763
|
case "InvalidParameterException":
|
|
@@ -1862,14 +1771,12 @@ const deserializeAws_json1_1PutImageTagMutabilityCommandError = async (output, c
|
|
|
1862
1771
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1863
1772
|
default:
|
|
1864
1773
|
const parsedBody = parsedOutput.body;
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
$metadata,
|
|
1774
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1775
|
+
output,
|
|
1776
|
+
parsedBody,
|
|
1777
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1778
|
+
errorCode,
|
|
1871
1779
|
});
|
|
1872
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1873
1780
|
}
|
|
1874
1781
|
};
|
|
1875
1782
|
const deserializeAws_json1_1PutLifecyclePolicyCommand = async (output, context) => {
|
|
@@ -1891,7 +1798,6 @@ const deserializeAws_json1_1PutLifecyclePolicyCommandError = async (output, cont
|
|
|
1891
1798
|
...output,
|
|
1892
1799
|
body: await parseBody(output.body, context),
|
|
1893
1800
|
};
|
|
1894
|
-
let response;
|
|
1895
1801
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1896
1802
|
switch (errorCode) {
|
|
1897
1803
|
case "InvalidParameterException":
|
|
@@ -1905,14 +1811,12 @@ const deserializeAws_json1_1PutLifecyclePolicyCommandError = async (output, cont
|
|
|
1905
1811
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1906
1812
|
default:
|
|
1907
1813
|
const parsedBody = parsedOutput.body;
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
$metadata,
|
|
1814
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1815
|
+
output,
|
|
1816
|
+
parsedBody,
|
|
1817
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1818
|
+
errorCode,
|
|
1914
1819
|
});
|
|
1915
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1916
1820
|
}
|
|
1917
1821
|
};
|
|
1918
1822
|
const deserializeAws_json1_1PutRegistryPolicyCommand = async (output, context) => {
|
|
@@ -1934,7 +1838,6 @@ const deserializeAws_json1_1PutRegistryPolicyCommandError = async (output, conte
|
|
|
1934
1838
|
...output,
|
|
1935
1839
|
body: await parseBody(output.body, context),
|
|
1936
1840
|
};
|
|
1937
|
-
let response;
|
|
1938
1841
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1939
1842
|
switch (errorCode) {
|
|
1940
1843
|
case "InvalidParameterException":
|
|
@@ -1948,14 +1851,12 @@ const deserializeAws_json1_1PutRegistryPolicyCommandError = async (output, conte
|
|
|
1948
1851
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1949
1852
|
default:
|
|
1950
1853
|
const parsedBody = parsedOutput.body;
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
$metadata,
|
|
1854
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1855
|
+
output,
|
|
1856
|
+
parsedBody,
|
|
1857
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1858
|
+
errorCode,
|
|
1957
1859
|
});
|
|
1958
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1959
1860
|
}
|
|
1960
1861
|
};
|
|
1961
1862
|
const deserializeAws_json1_1PutRegistryScanningConfigurationCommand = async (output, context) => {
|
|
@@ -1977,7 +1878,6 @@ const deserializeAws_json1_1PutRegistryScanningConfigurationCommandError = async
|
|
|
1977
1878
|
...output,
|
|
1978
1879
|
body: await parseBody(output.body, context),
|
|
1979
1880
|
};
|
|
1980
|
-
let response;
|
|
1981
1881
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1982
1882
|
switch (errorCode) {
|
|
1983
1883
|
case "InvalidParameterException":
|
|
@@ -1991,14 +1891,12 @@ const deserializeAws_json1_1PutRegistryScanningConfigurationCommandError = async
|
|
|
1991
1891
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1992
1892
|
default:
|
|
1993
1893
|
const parsedBody = parsedOutput.body;
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
$metadata,
|
|
1894
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1895
|
+
output,
|
|
1896
|
+
parsedBody,
|
|
1897
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1898
|
+
errorCode,
|
|
2000
1899
|
});
|
|
2001
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2002
1900
|
}
|
|
2003
1901
|
};
|
|
2004
1902
|
const deserializeAws_json1_1PutReplicationConfigurationCommand = async (output, context) => {
|
|
@@ -2020,7 +1918,6 @@ const deserializeAws_json1_1PutReplicationConfigurationCommandError = async (out
|
|
|
2020
1918
|
...output,
|
|
2021
1919
|
body: await parseBody(output.body, context),
|
|
2022
1920
|
};
|
|
2023
|
-
let response;
|
|
2024
1921
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2025
1922
|
switch (errorCode) {
|
|
2026
1923
|
case "InvalidParameterException":
|
|
@@ -2034,14 +1931,12 @@ const deserializeAws_json1_1PutReplicationConfigurationCommandError = async (out
|
|
|
2034
1931
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2035
1932
|
default:
|
|
2036
1933
|
const parsedBody = parsedOutput.body;
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
$metadata,
|
|
1934
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1935
|
+
output,
|
|
1936
|
+
parsedBody,
|
|
1937
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1938
|
+
errorCode,
|
|
2043
1939
|
});
|
|
2044
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2045
1940
|
}
|
|
2046
1941
|
};
|
|
2047
1942
|
const deserializeAws_json1_1SetRepositoryPolicyCommand = async (output, context) => {
|
|
@@ -2063,7 +1958,6 @@ const deserializeAws_json1_1SetRepositoryPolicyCommandError = async (output, con
|
|
|
2063
1958
|
...output,
|
|
2064
1959
|
body: await parseBody(output.body, context),
|
|
2065
1960
|
};
|
|
2066
|
-
let response;
|
|
2067
1961
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2068
1962
|
switch (errorCode) {
|
|
2069
1963
|
case "InvalidParameterException":
|
|
@@ -2077,14 +1971,12 @@ const deserializeAws_json1_1SetRepositoryPolicyCommandError = async (output, con
|
|
|
2077
1971
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2078
1972
|
default:
|
|
2079
1973
|
const parsedBody = parsedOutput.body;
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
$metadata,
|
|
1974
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1975
|
+
output,
|
|
1976
|
+
parsedBody,
|
|
1977
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
1978
|
+
errorCode,
|
|
2086
1979
|
});
|
|
2087
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2088
1980
|
}
|
|
2089
1981
|
};
|
|
2090
1982
|
const deserializeAws_json1_1StartImageScanCommand = async (output, context) => {
|
|
@@ -2106,7 +1998,6 @@ const deserializeAws_json1_1StartImageScanCommandError = async (output, context)
|
|
|
2106
1998
|
...output,
|
|
2107
1999
|
body: await parseBody(output.body, context),
|
|
2108
2000
|
};
|
|
2109
|
-
let response;
|
|
2110
2001
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2111
2002
|
switch (errorCode) {
|
|
2112
2003
|
case "ImageNotFoundException":
|
|
@@ -2132,14 +2023,12 @@ const deserializeAws_json1_1StartImageScanCommandError = async (output, context)
|
|
|
2132
2023
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2133
2024
|
default:
|
|
2134
2025
|
const parsedBody = parsedOutput.body;
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
$metadata,
|
|
2026
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2027
|
+
output,
|
|
2028
|
+
parsedBody,
|
|
2029
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
2030
|
+
errorCode,
|
|
2141
2031
|
});
|
|
2142
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2143
2032
|
}
|
|
2144
2033
|
};
|
|
2145
2034
|
const deserializeAws_json1_1StartLifecyclePolicyPreviewCommand = async (output, context) => {
|
|
@@ -2161,7 +2050,6 @@ const deserializeAws_json1_1StartLifecyclePolicyPreviewCommandError = async (out
|
|
|
2161
2050
|
...output,
|
|
2162
2051
|
body: await parseBody(output.body, context),
|
|
2163
2052
|
};
|
|
2164
|
-
let response;
|
|
2165
2053
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2166
2054
|
switch (errorCode) {
|
|
2167
2055
|
case "InvalidParameterException":
|
|
@@ -2181,14 +2069,12 @@ const deserializeAws_json1_1StartLifecyclePolicyPreviewCommandError = async (out
|
|
|
2181
2069
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2182
2070
|
default:
|
|
2183
2071
|
const parsedBody = parsedOutput.body;
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
$metadata,
|
|
2072
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2073
|
+
output,
|
|
2074
|
+
parsedBody,
|
|
2075
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
2076
|
+
errorCode,
|
|
2190
2077
|
});
|
|
2191
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2192
2078
|
}
|
|
2193
2079
|
};
|
|
2194
2080
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -2210,7 +2096,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2210
2096
|
...output,
|
|
2211
2097
|
body: await parseBody(output.body, context),
|
|
2212
2098
|
};
|
|
2213
|
-
let response;
|
|
2214
2099
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2215
2100
|
switch (errorCode) {
|
|
2216
2101
|
case "InvalidParameterException":
|
|
@@ -2230,14 +2115,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2230
2115
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
2231
2116
|
default:
|
|
2232
2117
|
const parsedBody = parsedOutput.body;
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
$metadata,
|
|
2118
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2119
|
+
output,
|
|
2120
|
+
parsedBody,
|
|
2121
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
2122
|
+
errorCode,
|
|
2239
2123
|
});
|
|
2240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2241
2124
|
}
|
|
2242
2125
|
};
|
|
2243
2126
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -2259,7 +2142,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2259
2142
|
...output,
|
|
2260
2143
|
body: await parseBody(output.body, context),
|
|
2261
2144
|
};
|
|
2262
|
-
let response;
|
|
2263
2145
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2264
2146
|
switch (errorCode) {
|
|
2265
2147
|
case "InvalidParameterException":
|
|
@@ -2279,14 +2161,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2279
2161
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
2280
2162
|
default:
|
|
2281
2163
|
const parsedBody = parsedOutput.body;
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
$metadata,
|
|
2164
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2165
|
+
output,
|
|
2166
|
+
parsedBody,
|
|
2167
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
2168
|
+
errorCode,
|
|
2288
2169
|
});
|
|
2289
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2290
2170
|
}
|
|
2291
2171
|
};
|
|
2292
2172
|
const deserializeAws_json1_1UploadLayerPartCommand = async (output, context) => {
|
|
@@ -2308,7 +2188,6 @@ const deserializeAws_json1_1UploadLayerPartCommandError = async (output, context
|
|
|
2308
2188
|
...output,
|
|
2309
2189
|
body: await parseBody(output.body, context),
|
|
2310
2190
|
};
|
|
2311
|
-
let response;
|
|
2312
2191
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2313
2192
|
switch (errorCode) {
|
|
2314
2193
|
case "InvalidLayerPartException":
|
|
@@ -2334,14 +2213,12 @@ const deserializeAws_json1_1UploadLayerPartCommandError = async (output, context
|
|
|
2334
2213
|
throw await deserializeAws_json1_1UploadNotFoundExceptionResponse(parsedOutput, context);
|
|
2335
2214
|
default:
|
|
2336
2215
|
const parsedBody = parsedOutput.body;
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
$metadata,
|
|
2216
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2217
|
+
output,
|
|
2218
|
+
parsedBody,
|
|
2219
|
+
exceptionCtor: ECRServiceException_1.ECRServiceException,
|
|
2220
|
+
errorCode,
|
|
2343
2221
|
});
|
|
2344
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2345
2222
|
}
|
|
2346
2223
|
};
|
|
2347
2224
|
const deserializeAws_json1_1EmptyUploadExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2661,9 +2538,6 @@ const serializeAws_json1_1BatchedOperationLayerDigestList = (input, context) =>
|
|
|
2661
2538
|
return input
|
|
2662
2539
|
.filter((e) => e != null)
|
|
2663
2540
|
.map((entry) => {
|
|
2664
|
-
if (entry === null) {
|
|
2665
|
-
return null;
|
|
2666
|
-
}
|
|
2667
2541
|
return entry;
|
|
2668
2542
|
});
|
|
2669
2543
|
};
|
|
@@ -2807,9 +2681,6 @@ const serializeAws_json1_1GetAuthorizationTokenRegistryIdList = (input, context)
|
|
|
2807
2681
|
return input
|
|
2808
2682
|
.filter((e) => e != null)
|
|
2809
2683
|
.map((entry) => {
|
|
2810
|
-
if (entry === null) {
|
|
2811
|
-
return null;
|
|
2812
|
-
}
|
|
2813
2684
|
return entry;
|
|
2814
2685
|
});
|
|
2815
2686
|
};
|
|
@@ -2865,9 +2736,6 @@ const serializeAws_json1_1ImageIdentifierList = (input, context) => {
|
|
|
2865
2736
|
return input
|
|
2866
2737
|
.filter((e) => e != null)
|
|
2867
2738
|
.map((entry) => {
|
|
2868
|
-
if (entry === null) {
|
|
2869
|
-
return null;
|
|
2870
|
-
}
|
|
2871
2739
|
return serializeAws_json1_1ImageIdentifier(entry, context);
|
|
2872
2740
|
});
|
|
2873
2741
|
};
|
|
@@ -2886,9 +2754,6 @@ const serializeAws_json1_1LayerDigestList = (input, context) => {
|
|
|
2886
2754
|
return input
|
|
2887
2755
|
.filter((e) => e != null)
|
|
2888
2756
|
.map((entry) => {
|
|
2889
|
-
if (entry === null) {
|
|
2890
|
-
return null;
|
|
2891
|
-
}
|
|
2892
2757
|
return entry;
|
|
2893
2758
|
});
|
|
2894
2759
|
};
|
|
@@ -2920,9 +2785,6 @@ const serializeAws_json1_1MediaTypeList = (input, context) => {
|
|
|
2920
2785
|
return input
|
|
2921
2786
|
.filter((e) => e != null)
|
|
2922
2787
|
.map((entry) => {
|
|
2923
|
-
if (entry === null) {
|
|
2924
|
-
return null;
|
|
2925
|
-
}
|
|
2926
2788
|
return entry;
|
|
2927
2789
|
});
|
|
2928
2790
|
};
|
|
@@ -2930,9 +2792,6 @@ const serializeAws_json1_1PullThroughCacheRuleRepositoryPrefixList = (input, con
|
|
|
2930
2792
|
return input
|
|
2931
2793
|
.filter((e) => e != null)
|
|
2932
2794
|
.map((entry) => {
|
|
2933
|
-
if (entry === null) {
|
|
2934
|
-
return null;
|
|
2935
|
-
}
|
|
2936
2795
|
return entry;
|
|
2937
2796
|
});
|
|
2938
2797
|
};
|
|
@@ -2999,9 +2858,6 @@ const serializeAws_json1_1RegistryScanningRuleList = (input, context) => {
|
|
|
2999
2858
|
return input
|
|
3000
2859
|
.filter((e) => e != null)
|
|
3001
2860
|
.map((entry) => {
|
|
3002
|
-
if (entry === null) {
|
|
3003
|
-
return null;
|
|
3004
|
-
}
|
|
3005
2861
|
return serializeAws_json1_1RegistryScanningRule(entry, context);
|
|
3006
2862
|
});
|
|
3007
2863
|
};
|
|
@@ -3020,9 +2876,6 @@ const serializeAws_json1_1ReplicationDestinationList = (input, context) => {
|
|
|
3020
2876
|
return input
|
|
3021
2877
|
.filter((e) => e != null)
|
|
3022
2878
|
.map((entry) => {
|
|
3023
|
-
if (entry === null) {
|
|
3024
|
-
return null;
|
|
3025
|
-
}
|
|
3026
2879
|
return serializeAws_json1_1ReplicationDestination(entry, context);
|
|
3027
2880
|
});
|
|
3028
2881
|
};
|
|
@@ -3040,9 +2893,6 @@ const serializeAws_json1_1ReplicationRuleList = (input, context) => {
|
|
|
3040
2893
|
return input
|
|
3041
2894
|
.filter((e) => e != null)
|
|
3042
2895
|
.map((entry) => {
|
|
3043
|
-
if (entry === null) {
|
|
3044
|
-
return null;
|
|
3045
|
-
}
|
|
3046
2896
|
return serializeAws_json1_1ReplicationRule(entry, context);
|
|
3047
2897
|
});
|
|
3048
2898
|
};
|
|
@@ -3056,9 +2906,6 @@ const serializeAws_json1_1RepositoryFilterList = (input, context) => {
|
|
|
3056
2906
|
return input
|
|
3057
2907
|
.filter((e) => e != null)
|
|
3058
2908
|
.map((entry) => {
|
|
3059
|
-
if (entry === null) {
|
|
3060
|
-
return null;
|
|
3061
|
-
}
|
|
3062
2909
|
return serializeAws_json1_1RepositoryFilter(entry, context);
|
|
3063
2910
|
});
|
|
3064
2911
|
};
|
|
@@ -3066,9 +2913,6 @@ const serializeAws_json1_1RepositoryNameList = (input, context) => {
|
|
|
3066
2913
|
return input
|
|
3067
2914
|
.filter((e) => e != null)
|
|
3068
2915
|
.map((entry) => {
|
|
3069
|
-
if (entry === null) {
|
|
3070
|
-
return null;
|
|
3071
|
-
}
|
|
3072
2916
|
return entry;
|
|
3073
2917
|
});
|
|
3074
2918
|
};
|
|
@@ -3076,9 +2920,6 @@ const serializeAws_json1_1ScanningConfigurationRepositoryNameList = (input, cont
|
|
|
3076
2920
|
return input
|
|
3077
2921
|
.filter((e) => e != null)
|
|
3078
2922
|
.map((entry) => {
|
|
3079
|
-
if (entry === null) {
|
|
3080
|
-
return null;
|
|
3081
|
-
}
|
|
3082
2923
|
return entry;
|
|
3083
2924
|
});
|
|
3084
2925
|
};
|
|
@@ -3092,9 +2933,6 @@ const serializeAws_json1_1ScanningRepositoryFilterList = (input, context) => {
|
|
|
3092
2933
|
return input
|
|
3093
2934
|
.filter((e) => e != null)
|
|
3094
2935
|
.map((entry) => {
|
|
3095
|
-
if (entry === null) {
|
|
3096
|
-
return null;
|
|
3097
|
-
}
|
|
3098
2936
|
return serializeAws_json1_1ScanningRepositoryFilter(entry, context);
|
|
3099
2937
|
});
|
|
3100
2938
|
};
|
|
@@ -3130,9 +2968,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
3130
2968
|
return input
|
|
3131
2969
|
.filter((e) => e != null)
|
|
3132
2970
|
.map((entry) => {
|
|
3133
|
-
if (entry === null) {
|
|
3134
|
-
return null;
|
|
3135
|
-
}
|
|
3136
2971
|
return entry;
|
|
3137
2972
|
});
|
|
3138
2973
|
};
|
|
@@ -3140,9 +2975,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
3140
2975
|
return input
|
|
3141
2976
|
.filter((e) => e != null)
|
|
3142
2977
|
.map((entry) => {
|
|
3143
|
-
if (entry === null) {
|
|
3144
|
-
return null;
|
|
3145
|
-
}
|
|
3146
2978
|
return serializeAws_json1_1Tag(entry, context);
|
|
3147
2979
|
});
|
|
3148
2980
|
};
|