@aws-sdk/client-ecs 3.141.0 → 3.150.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +260 -551
- package/dist-es/protocols/Aws_json1_1.js +417 -552
- package/package.json +11 -6
|
@@ -546,7 +546,6 @@ const deserializeAws_json1_1CreateCapacityProviderCommandError = async (output,
|
|
|
546
546
|
...output,
|
|
547
547
|
body: await parseBody(output.body, context),
|
|
548
548
|
};
|
|
549
|
-
let response;
|
|
550
549
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
551
550
|
switch (errorCode) {
|
|
552
551
|
case "ClientException":
|
|
@@ -566,14 +565,12 @@ const deserializeAws_json1_1CreateCapacityProviderCommandError = async (output,
|
|
|
566
565
|
throw await deserializeAws_json1_1UpdateInProgressExceptionResponse(parsedOutput, context);
|
|
567
566
|
default:
|
|
568
567
|
const parsedBody = parsedOutput.body;
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
$metadata,
|
|
568
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
569
|
+
output,
|
|
570
|
+
parsedBody,
|
|
571
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
572
|
+
errorCode,
|
|
575
573
|
});
|
|
576
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
577
574
|
}
|
|
578
575
|
};
|
|
579
576
|
const deserializeAws_json1_1CreateClusterCommand = async (output, context) => {
|
|
@@ -595,7 +592,6 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
595
592
|
...output,
|
|
596
593
|
body: await parseBody(output.body, context),
|
|
597
594
|
};
|
|
598
|
-
let response;
|
|
599
595
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
600
596
|
switch (errorCode) {
|
|
601
597
|
case "ClientException":
|
|
@@ -609,14 +605,12 @@ const deserializeAws_json1_1CreateClusterCommandError = async (output, context)
|
|
|
609
605
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
610
606
|
default:
|
|
611
607
|
const parsedBody = parsedOutput.body;
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
$metadata,
|
|
608
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
609
|
+
output,
|
|
610
|
+
parsedBody,
|
|
611
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
612
|
+
errorCode,
|
|
618
613
|
});
|
|
619
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
620
614
|
}
|
|
621
615
|
};
|
|
622
616
|
const deserializeAws_json1_1CreateServiceCommand = async (output, context) => {
|
|
@@ -638,7 +632,6 @@ const deserializeAws_json1_1CreateServiceCommandError = async (output, context)
|
|
|
638
632
|
...output,
|
|
639
633
|
body: await parseBody(output.body, context),
|
|
640
634
|
};
|
|
641
|
-
let response;
|
|
642
635
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
643
636
|
switch (errorCode) {
|
|
644
637
|
case "AccessDeniedException":
|
|
@@ -667,14 +660,12 @@ const deserializeAws_json1_1CreateServiceCommandError = async (output, context)
|
|
|
667
660
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
668
661
|
default:
|
|
669
662
|
const parsedBody = parsedOutput.body;
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
$metadata,
|
|
663
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
664
|
+
output,
|
|
665
|
+
parsedBody,
|
|
666
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
667
|
+
errorCode,
|
|
676
668
|
});
|
|
677
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
678
669
|
}
|
|
679
670
|
};
|
|
680
671
|
const deserializeAws_json1_1CreateTaskSetCommand = async (output, context) => {
|
|
@@ -696,7 +687,6 @@ const deserializeAws_json1_1CreateTaskSetCommandError = async (output, context)
|
|
|
696
687
|
...output,
|
|
697
688
|
body: await parseBody(output.body, context),
|
|
698
689
|
};
|
|
699
|
-
let response;
|
|
700
690
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
701
691
|
switch (errorCode) {
|
|
702
692
|
case "AccessDeniedException":
|
|
@@ -731,14 +721,12 @@ const deserializeAws_json1_1CreateTaskSetCommandError = async (output, context)
|
|
|
731
721
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
732
722
|
default:
|
|
733
723
|
const parsedBody = parsedOutput.body;
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
$metadata,
|
|
724
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
725
|
+
output,
|
|
726
|
+
parsedBody,
|
|
727
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
728
|
+
errorCode,
|
|
740
729
|
});
|
|
741
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
742
730
|
}
|
|
743
731
|
};
|
|
744
732
|
const deserializeAws_json1_1DeleteAccountSettingCommand = async (output, context) => {
|
|
@@ -760,7 +748,6 @@ const deserializeAws_json1_1DeleteAccountSettingCommandError = async (output, co
|
|
|
760
748
|
...output,
|
|
761
749
|
body: await parseBody(output.body, context),
|
|
762
750
|
};
|
|
763
|
-
let response;
|
|
764
751
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
765
752
|
switch (errorCode) {
|
|
766
753
|
case "ClientException":
|
|
@@ -774,14 +761,12 @@ const deserializeAws_json1_1DeleteAccountSettingCommandError = async (output, co
|
|
|
774
761
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
775
762
|
default:
|
|
776
763
|
const parsedBody = parsedOutput.body;
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
$metadata,
|
|
764
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
765
|
+
output,
|
|
766
|
+
parsedBody,
|
|
767
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
768
|
+
errorCode,
|
|
783
769
|
});
|
|
784
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
785
770
|
}
|
|
786
771
|
};
|
|
787
772
|
const deserializeAws_json1_1DeleteAttributesCommand = async (output, context) => {
|
|
@@ -803,7 +788,6 @@ const deserializeAws_json1_1DeleteAttributesCommandError = async (output, contex
|
|
|
803
788
|
...output,
|
|
804
789
|
body: await parseBody(output.body, context),
|
|
805
790
|
};
|
|
806
|
-
let response;
|
|
807
791
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
808
792
|
switch (errorCode) {
|
|
809
793
|
case "ClusterNotFoundException":
|
|
@@ -817,14 +801,12 @@ const deserializeAws_json1_1DeleteAttributesCommandError = async (output, contex
|
|
|
817
801
|
throw await deserializeAws_json1_1TargetNotFoundExceptionResponse(parsedOutput, context);
|
|
818
802
|
default:
|
|
819
803
|
const parsedBody = parsedOutput.body;
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
$metadata,
|
|
804
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
805
|
+
output,
|
|
806
|
+
parsedBody,
|
|
807
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
808
|
+
errorCode,
|
|
826
809
|
});
|
|
827
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
828
810
|
}
|
|
829
811
|
};
|
|
830
812
|
const deserializeAws_json1_1DeleteCapacityProviderCommand = async (output, context) => {
|
|
@@ -846,7 +828,6 @@ const deserializeAws_json1_1DeleteCapacityProviderCommandError = async (output,
|
|
|
846
828
|
...output,
|
|
847
829
|
body: await parseBody(output.body, context),
|
|
848
830
|
};
|
|
849
|
-
let response;
|
|
850
831
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
851
832
|
switch (errorCode) {
|
|
852
833
|
case "ClientException":
|
|
@@ -860,14 +841,12 @@ const deserializeAws_json1_1DeleteCapacityProviderCommandError = async (output,
|
|
|
860
841
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
861
842
|
default:
|
|
862
843
|
const parsedBody = parsedOutput.body;
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
$metadata,
|
|
844
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
845
|
+
output,
|
|
846
|
+
parsedBody,
|
|
847
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
848
|
+
errorCode,
|
|
869
849
|
});
|
|
870
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
871
850
|
}
|
|
872
851
|
};
|
|
873
852
|
const deserializeAws_json1_1DeleteClusterCommand = async (output, context) => {
|
|
@@ -889,7 +868,6 @@ const deserializeAws_json1_1DeleteClusterCommandError = async (output, context)
|
|
|
889
868
|
...output,
|
|
890
869
|
body: await parseBody(output.body, context),
|
|
891
870
|
};
|
|
892
|
-
let response;
|
|
893
871
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
894
872
|
switch (errorCode) {
|
|
895
873
|
case "ClientException":
|
|
@@ -918,14 +896,12 @@ const deserializeAws_json1_1DeleteClusterCommandError = async (output, context)
|
|
|
918
896
|
throw await deserializeAws_json1_1UpdateInProgressExceptionResponse(parsedOutput, context);
|
|
919
897
|
default:
|
|
920
898
|
const parsedBody = parsedOutput.body;
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
$metadata,
|
|
899
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
900
|
+
output,
|
|
901
|
+
parsedBody,
|
|
902
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
903
|
+
errorCode,
|
|
927
904
|
});
|
|
928
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
929
905
|
}
|
|
930
906
|
};
|
|
931
907
|
const deserializeAws_json1_1DeleteServiceCommand = async (output, context) => {
|
|
@@ -947,7 +923,6 @@ const deserializeAws_json1_1DeleteServiceCommandError = async (output, context)
|
|
|
947
923
|
...output,
|
|
948
924
|
body: await parseBody(output.body, context),
|
|
949
925
|
};
|
|
950
|
-
let response;
|
|
951
926
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
952
927
|
switch (errorCode) {
|
|
953
928
|
case "ClientException":
|
|
@@ -967,14 +942,12 @@ const deserializeAws_json1_1DeleteServiceCommandError = async (output, context)
|
|
|
967
942
|
throw await deserializeAws_json1_1ServiceNotFoundExceptionResponse(parsedOutput, context);
|
|
968
943
|
default:
|
|
969
944
|
const parsedBody = parsedOutput.body;
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
$metadata,
|
|
945
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
946
|
+
output,
|
|
947
|
+
parsedBody,
|
|
948
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
949
|
+
errorCode,
|
|
976
950
|
});
|
|
977
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
978
951
|
}
|
|
979
952
|
};
|
|
980
953
|
const deserializeAws_json1_1DeleteTaskSetCommand = async (output, context) => {
|
|
@@ -996,7 +969,6 @@ const deserializeAws_json1_1DeleteTaskSetCommandError = async (output, context)
|
|
|
996
969
|
...output,
|
|
997
970
|
body: await parseBody(output.body, context),
|
|
998
971
|
};
|
|
999
|
-
let response;
|
|
1000
972
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1001
973
|
switch (errorCode) {
|
|
1002
974
|
case "AccessDeniedException":
|
|
@@ -1028,14 +1000,12 @@ const deserializeAws_json1_1DeleteTaskSetCommandError = async (output, context)
|
|
|
1028
1000
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
1029
1001
|
default:
|
|
1030
1002
|
const parsedBody = parsedOutput.body;
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
$metadata,
|
|
1003
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1004
|
+
output,
|
|
1005
|
+
parsedBody,
|
|
1006
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1007
|
+
errorCode,
|
|
1037
1008
|
});
|
|
1038
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1039
1009
|
}
|
|
1040
1010
|
};
|
|
1041
1011
|
const deserializeAws_json1_1DeregisterContainerInstanceCommand = async (output, context) => {
|
|
@@ -1057,7 +1027,6 @@ const deserializeAws_json1_1DeregisterContainerInstanceCommandError = async (out
|
|
|
1057
1027
|
...output,
|
|
1058
1028
|
body: await parseBody(output.body, context),
|
|
1059
1029
|
};
|
|
1060
|
-
let response;
|
|
1061
1030
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1062
1031
|
switch (errorCode) {
|
|
1063
1032
|
case "ClientException":
|
|
@@ -1074,14 +1043,12 @@ const deserializeAws_json1_1DeregisterContainerInstanceCommandError = async (out
|
|
|
1074
1043
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1075
1044
|
default:
|
|
1076
1045
|
const parsedBody = parsedOutput.body;
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
$metadata,
|
|
1046
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1047
|
+
output,
|
|
1048
|
+
parsedBody,
|
|
1049
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1050
|
+
errorCode,
|
|
1083
1051
|
});
|
|
1084
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1085
1052
|
}
|
|
1086
1053
|
};
|
|
1087
1054
|
const deserializeAws_json1_1DeregisterTaskDefinitionCommand = async (output, context) => {
|
|
@@ -1103,7 +1070,6 @@ const deserializeAws_json1_1DeregisterTaskDefinitionCommandError = async (output
|
|
|
1103
1070
|
...output,
|
|
1104
1071
|
body: await parseBody(output.body, context),
|
|
1105
1072
|
};
|
|
1106
|
-
let response;
|
|
1107
1073
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1108
1074
|
switch (errorCode) {
|
|
1109
1075
|
case "ClientException":
|
|
@@ -1117,14 +1083,12 @@ const deserializeAws_json1_1DeregisterTaskDefinitionCommandError = async (output
|
|
|
1117
1083
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1118
1084
|
default:
|
|
1119
1085
|
const parsedBody = parsedOutput.body;
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
$metadata,
|
|
1086
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1087
|
+
output,
|
|
1088
|
+
parsedBody,
|
|
1089
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1090
|
+
errorCode,
|
|
1126
1091
|
});
|
|
1127
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1128
1092
|
}
|
|
1129
1093
|
};
|
|
1130
1094
|
const deserializeAws_json1_1DescribeCapacityProvidersCommand = async (output, context) => {
|
|
@@ -1146,7 +1110,6 @@ const deserializeAws_json1_1DescribeCapacityProvidersCommandError = async (outpu
|
|
|
1146
1110
|
...output,
|
|
1147
1111
|
body: await parseBody(output.body, context),
|
|
1148
1112
|
};
|
|
1149
|
-
let response;
|
|
1150
1113
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1151
1114
|
switch (errorCode) {
|
|
1152
1115
|
case "ClientException":
|
|
@@ -1160,14 +1123,12 @@ const deserializeAws_json1_1DescribeCapacityProvidersCommandError = async (outpu
|
|
|
1160
1123
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1161
1124
|
default:
|
|
1162
1125
|
const parsedBody = parsedOutput.body;
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
$metadata,
|
|
1126
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1127
|
+
output,
|
|
1128
|
+
parsedBody,
|
|
1129
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1130
|
+
errorCode,
|
|
1169
1131
|
});
|
|
1170
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1171
1132
|
}
|
|
1172
1133
|
};
|
|
1173
1134
|
const deserializeAws_json1_1DescribeClustersCommand = async (output, context) => {
|
|
@@ -1189,7 +1150,6 @@ const deserializeAws_json1_1DescribeClustersCommandError = async (output, contex
|
|
|
1189
1150
|
...output,
|
|
1190
1151
|
body: await parseBody(output.body, context),
|
|
1191
1152
|
};
|
|
1192
|
-
let response;
|
|
1193
1153
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1194
1154
|
switch (errorCode) {
|
|
1195
1155
|
case "ClientException":
|
|
@@ -1203,14 +1163,12 @@ const deserializeAws_json1_1DescribeClustersCommandError = async (output, contex
|
|
|
1203
1163
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1204
1164
|
default:
|
|
1205
1165
|
const parsedBody = parsedOutput.body;
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
$metadata,
|
|
1166
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1167
|
+
output,
|
|
1168
|
+
parsedBody,
|
|
1169
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1170
|
+
errorCode,
|
|
1212
1171
|
});
|
|
1213
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1214
1172
|
}
|
|
1215
1173
|
};
|
|
1216
1174
|
const deserializeAws_json1_1DescribeContainerInstancesCommand = async (output, context) => {
|
|
@@ -1232,7 +1190,6 @@ const deserializeAws_json1_1DescribeContainerInstancesCommandError = async (outp
|
|
|
1232
1190
|
...output,
|
|
1233
1191
|
body: await parseBody(output.body, context),
|
|
1234
1192
|
};
|
|
1235
|
-
let response;
|
|
1236
1193
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1237
1194
|
switch (errorCode) {
|
|
1238
1195
|
case "ClientException":
|
|
@@ -1249,14 +1206,12 @@ const deserializeAws_json1_1DescribeContainerInstancesCommandError = async (outp
|
|
|
1249
1206
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1250
1207
|
default:
|
|
1251
1208
|
const parsedBody = parsedOutput.body;
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
$metadata,
|
|
1209
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1210
|
+
output,
|
|
1211
|
+
parsedBody,
|
|
1212
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1213
|
+
errorCode,
|
|
1258
1214
|
});
|
|
1259
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1260
1215
|
}
|
|
1261
1216
|
};
|
|
1262
1217
|
const deserializeAws_json1_1DescribeServicesCommand = async (output, context) => {
|
|
@@ -1278,7 +1233,6 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
1278
1233
|
...output,
|
|
1279
1234
|
body: await parseBody(output.body, context),
|
|
1280
1235
|
};
|
|
1281
|
-
let response;
|
|
1282
1236
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1283
1237
|
switch (errorCode) {
|
|
1284
1238
|
case "ClientException":
|
|
@@ -1295,14 +1249,12 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
1295
1249
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1296
1250
|
default:
|
|
1297
1251
|
const parsedBody = parsedOutput.body;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
$metadata,
|
|
1252
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1253
|
+
output,
|
|
1254
|
+
parsedBody,
|
|
1255
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1256
|
+
errorCode,
|
|
1304
1257
|
});
|
|
1305
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1306
1258
|
}
|
|
1307
1259
|
};
|
|
1308
1260
|
const deserializeAws_json1_1DescribeTaskDefinitionCommand = async (output, context) => {
|
|
@@ -1324,7 +1276,6 @@ const deserializeAws_json1_1DescribeTaskDefinitionCommandError = async (output,
|
|
|
1324
1276
|
...output,
|
|
1325
1277
|
body: await parseBody(output.body, context),
|
|
1326
1278
|
};
|
|
1327
|
-
let response;
|
|
1328
1279
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1329
1280
|
switch (errorCode) {
|
|
1330
1281
|
case "ClientException":
|
|
@@ -1338,14 +1289,12 @@ const deserializeAws_json1_1DescribeTaskDefinitionCommandError = async (output,
|
|
|
1338
1289
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1339
1290
|
default:
|
|
1340
1291
|
const parsedBody = parsedOutput.body;
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
$metadata,
|
|
1292
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1293
|
+
output,
|
|
1294
|
+
parsedBody,
|
|
1295
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1296
|
+
errorCode,
|
|
1347
1297
|
});
|
|
1348
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1349
1298
|
}
|
|
1350
1299
|
};
|
|
1351
1300
|
const deserializeAws_json1_1DescribeTasksCommand = async (output, context) => {
|
|
@@ -1367,7 +1316,6 @@ const deserializeAws_json1_1DescribeTasksCommandError = async (output, context)
|
|
|
1367
1316
|
...output,
|
|
1368
1317
|
body: await parseBody(output.body, context),
|
|
1369
1318
|
};
|
|
1370
|
-
let response;
|
|
1371
1319
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1372
1320
|
switch (errorCode) {
|
|
1373
1321
|
case "ClientException":
|
|
@@ -1384,14 +1332,12 @@ const deserializeAws_json1_1DescribeTasksCommandError = async (output, context)
|
|
|
1384
1332
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1385
1333
|
default:
|
|
1386
1334
|
const parsedBody = parsedOutput.body;
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
$metadata,
|
|
1335
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1336
|
+
output,
|
|
1337
|
+
parsedBody,
|
|
1338
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1339
|
+
errorCode,
|
|
1393
1340
|
});
|
|
1394
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1395
1341
|
}
|
|
1396
1342
|
};
|
|
1397
1343
|
const deserializeAws_json1_1DescribeTaskSetsCommand = async (output, context) => {
|
|
@@ -1413,7 +1359,6 @@ const deserializeAws_json1_1DescribeTaskSetsCommandError = async (output, contex
|
|
|
1413
1359
|
...output,
|
|
1414
1360
|
body: await parseBody(output.body, context),
|
|
1415
1361
|
};
|
|
1416
|
-
let response;
|
|
1417
1362
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1418
1363
|
switch (errorCode) {
|
|
1419
1364
|
case "AccessDeniedException":
|
|
@@ -1442,14 +1387,12 @@ const deserializeAws_json1_1DescribeTaskSetsCommandError = async (output, contex
|
|
|
1442
1387
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
1443
1388
|
default:
|
|
1444
1389
|
const parsedBody = parsedOutput.body;
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
$metadata,
|
|
1390
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1391
|
+
output,
|
|
1392
|
+
parsedBody,
|
|
1393
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1394
|
+
errorCode,
|
|
1451
1395
|
});
|
|
1452
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1453
1396
|
}
|
|
1454
1397
|
};
|
|
1455
1398
|
const deserializeAws_json1_1DiscoverPollEndpointCommand = async (output, context) => {
|
|
@@ -1471,7 +1414,6 @@ const deserializeAws_json1_1DiscoverPollEndpointCommandError = async (output, co
|
|
|
1471
1414
|
...output,
|
|
1472
1415
|
body: await parseBody(output.body, context),
|
|
1473
1416
|
};
|
|
1474
|
-
let response;
|
|
1475
1417
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1476
1418
|
switch (errorCode) {
|
|
1477
1419
|
case "ClientException":
|
|
@@ -1482,14 +1424,12 @@ const deserializeAws_json1_1DiscoverPollEndpointCommandError = async (output, co
|
|
|
1482
1424
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1483
1425
|
default:
|
|
1484
1426
|
const parsedBody = parsedOutput.body;
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
$metadata,
|
|
1427
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1428
|
+
output,
|
|
1429
|
+
parsedBody,
|
|
1430
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1431
|
+
errorCode,
|
|
1491
1432
|
});
|
|
1492
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1493
1433
|
}
|
|
1494
1434
|
};
|
|
1495
1435
|
const deserializeAws_json1_1ExecuteCommandCommand = async (output, context) => {
|
|
@@ -1511,7 +1451,6 @@ const deserializeAws_json1_1ExecuteCommandCommandError = async (output, context)
|
|
|
1511
1451
|
...output,
|
|
1512
1452
|
body: await parseBody(output.body, context),
|
|
1513
1453
|
};
|
|
1514
|
-
let response;
|
|
1515
1454
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1516
1455
|
switch (errorCode) {
|
|
1517
1456
|
case "AccessDeniedException":
|
|
@@ -1534,14 +1473,12 @@ const deserializeAws_json1_1ExecuteCommandCommandError = async (output, context)
|
|
|
1534
1473
|
throw await deserializeAws_json1_1TargetNotConnectedExceptionResponse(parsedOutput, context);
|
|
1535
1474
|
default:
|
|
1536
1475
|
const parsedBody = parsedOutput.body;
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
$metadata,
|
|
1476
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1477
|
+
output,
|
|
1478
|
+
parsedBody,
|
|
1479
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1480
|
+
errorCode,
|
|
1543
1481
|
});
|
|
1544
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1545
1482
|
}
|
|
1546
1483
|
};
|
|
1547
1484
|
const deserializeAws_json1_1ListAccountSettingsCommand = async (output, context) => {
|
|
@@ -1563,7 +1500,6 @@ const deserializeAws_json1_1ListAccountSettingsCommandError = async (output, con
|
|
|
1563
1500
|
...output,
|
|
1564
1501
|
body: await parseBody(output.body, context),
|
|
1565
1502
|
};
|
|
1566
|
-
let response;
|
|
1567
1503
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1568
1504
|
switch (errorCode) {
|
|
1569
1505
|
case "ClientException":
|
|
@@ -1577,14 +1513,12 @@ const deserializeAws_json1_1ListAccountSettingsCommandError = async (output, con
|
|
|
1577
1513
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1578
1514
|
default:
|
|
1579
1515
|
const parsedBody = parsedOutput.body;
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
$metadata,
|
|
1516
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1517
|
+
output,
|
|
1518
|
+
parsedBody,
|
|
1519
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1520
|
+
errorCode,
|
|
1586
1521
|
});
|
|
1587
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1588
1522
|
}
|
|
1589
1523
|
};
|
|
1590
1524
|
const deserializeAws_json1_1ListAttributesCommand = async (output, context) => {
|
|
@@ -1606,7 +1540,6 @@ const deserializeAws_json1_1ListAttributesCommandError = async (output, context)
|
|
|
1606
1540
|
...output,
|
|
1607
1541
|
body: await parseBody(output.body, context),
|
|
1608
1542
|
};
|
|
1609
|
-
let response;
|
|
1610
1543
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1611
1544
|
switch (errorCode) {
|
|
1612
1545
|
case "ClusterNotFoundException":
|
|
@@ -1617,14 +1550,12 @@ const deserializeAws_json1_1ListAttributesCommandError = async (output, context)
|
|
|
1617
1550
|
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
1618
1551
|
default:
|
|
1619
1552
|
const parsedBody = parsedOutput.body;
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
$metadata,
|
|
1553
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1554
|
+
output,
|
|
1555
|
+
parsedBody,
|
|
1556
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1557
|
+
errorCode,
|
|
1626
1558
|
});
|
|
1627
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1628
1559
|
}
|
|
1629
1560
|
};
|
|
1630
1561
|
const deserializeAws_json1_1ListClustersCommand = async (output, context) => {
|
|
@@ -1646,7 +1577,6 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
|
|
|
1646
1577
|
...output,
|
|
1647
1578
|
body: await parseBody(output.body, context),
|
|
1648
1579
|
};
|
|
1649
|
-
let response;
|
|
1650
1580
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1651
1581
|
switch (errorCode) {
|
|
1652
1582
|
case "ClientException":
|
|
@@ -1660,14 +1590,12 @@ const deserializeAws_json1_1ListClustersCommandError = async (output, context) =
|
|
|
1660
1590
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1661
1591
|
default:
|
|
1662
1592
|
const parsedBody = parsedOutput.body;
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
$metadata,
|
|
1593
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1594
|
+
output,
|
|
1595
|
+
parsedBody,
|
|
1596
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1597
|
+
errorCode,
|
|
1669
1598
|
});
|
|
1670
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1671
1599
|
}
|
|
1672
1600
|
};
|
|
1673
1601
|
const deserializeAws_json1_1ListContainerInstancesCommand = async (output, context) => {
|
|
@@ -1689,7 +1617,6 @@ const deserializeAws_json1_1ListContainerInstancesCommandError = async (output,
|
|
|
1689
1617
|
...output,
|
|
1690
1618
|
body: await parseBody(output.body, context),
|
|
1691
1619
|
};
|
|
1692
|
-
let response;
|
|
1693
1620
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1694
1621
|
switch (errorCode) {
|
|
1695
1622
|
case "ClientException":
|
|
@@ -1706,14 +1633,12 @@ const deserializeAws_json1_1ListContainerInstancesCommandError = async (output,
|
|
|
1706
1633
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1707
1634
|
default:
|
|
1708
1635
|
const parsedBody = parsedOutput.body;
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
$metadata,
|
|
1636
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1637
|
+
output,
|
|
1638
|
+
parsedBody,
|
|
1639
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1640
|
+
errorCode,
|
|
1715
1641
|
});
|
|
1716
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1717
1642
|
}
|
|
1718
1643
|
};
|
|
1719
1644
|
const deserializeAws_json1_1ListServicesCommand = async (output, context) => {
|
|
@@ -1735,7 +1660,6 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
1735
1660
|
...output,
|
|
1736
1661
|
body: await parseBody(output.body, context),
|
|
1737
1662
|
};
|
|
1738
|
-
let response;
|
|
1739
1663
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1740
1664
|
switch (errorCode) {
|
|
1741
1665
|
case "ClientException":
|
|
@@ -1752,14 +1676,12 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
1752
1676
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1753
1677
|
default:
|
|
1754
1678
|
const parsedBody = parsedOutput.body;
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
$metadata,
|
|
1679
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1680
|
+
output,
|
|
1681
|
+
parsedBody,
|
|
1682
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1683
|
+
errorCode,
|
|
1761
1684
|
});
|
|
1762
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1763
1685
|
}
|
|
1764
1686
|
};
|
|
1765
1687
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1781,7 +1703,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1781
1703
|
...output,
|
|
1782
1704
|
body: await parseBody(output.body, context),
|
|
1783
1705
|
};
|
|
1784
|
-
let response;
|
|
1785
1706
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1786
1707
|
switch (errorCode) {
|
|
1787
1708
|
case "ClientException":
|
|
@@ -1798,14 +1719,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1798
1719
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1799
1720
|
default:
|
|
1800
1721
|
const parsedBody = parsedOutput.body;
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
$metadata,
|
|
1722
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1723
|
+
output,
|
|
1724
|
+
parsedBody,
|
|
1725
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1726
|
+
errorCode,
|
|
1807
1727
|
});
|
|
1808
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1809
1728
|
}
|
|
1810
1729
|
};
|
|
1811
1730
|
const deserializeAws_json1_1ListTaskDefinitionFamiliesCommand = async (output, context) => {
|
|
@@ -1827,7 +1746,6 @@ const deserializeAws_json1_1ListTaskDefinitionFamiliesCommandError = async (outp
|
|
|
1827
1746
|
...output,
|
|
1828
1747
|
body: await parseBody(output.body, context),
|
|
1829
1748
|
};
|
|
1830
|
-
let response;
|
|
1831
1749
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1832
1750
|
switch (errorCode) {
|
|
1833
1751
|
case "ClientException":
|
|
@@ -1841,14 +1759,12 @@ const deserializeAws_json1_1ListTaskDefinitionFamiliesCommandError = async (outp
|
|
|
1841
1759
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1842
1760
|
default:
|
|
1843
1761
|
const parsedBody = parsedOutput.body;
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
$metadata,
|
|
1762
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1763
|
+
output,
|
|
1764
|
+
parsedBody,
|
|
1765
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1766
|
+
errorCode,
|
|
1850
1767
|
});
|
|
1851
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1852
1768
|
}
|
|
1853
1769
|
};
|
|
1854
1770
|
const deserializeAws_json1_1ListTaskDefinitionsCommand = async (output, context) => {
|
|
@@ -1870,7 +1786,6 @@ const deserializeAws_json1_1ListTaskDefinitionsCommandError = async (output, con
|
|
|
1870
1786
|
...output,
|
|
1871
1787
|
body: await parseBody(output.body, context),
|
|
1872
1788
|
};
|
|
1873
|
-
let response;
|
|
1874
1789
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1875
1790
|
switch (errorCode) {
|
|
1876
1791
|
case "ClientException":
|
|
@@ -1884,14 +1799,12 @@ const deserializeAws_json1_1ListTaskDefinitionsCommandError = async (output, con
|
|
|
1884
1799
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1885
1800
|
default:
|
|
1886
1801
|
const parsedBody = parsedOutput.body;
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
$metadata,
|
|
1802
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1803
|
+
output,
|
|
1804
|
+
parsedBody,
|
|
1805
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1806
|
+
errorCode,
|
|
1893
1807
|
});
|
|
1894
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1895
1808
|
}
|
|
1896
1809
|
};
|
|
1897
1810
|
const deserializeAws_json1_1ListTasksCommand = async (output, context) => {
|
|
@@ -1913,7 +1826,6 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
|
|
|
1913
1826
|
...output,
|
|
1914
1827
|
body: await parseBody(output.body, context),
|
|
1915
1828
|
};
|
|
1916
|
-
let response;
|
|
1917
1829
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1918
1830
|
switch (errorCode) {
|
|
1919
1831
|
case "ClientException":
|
|
@@ -1933,14 +1845,12 @@ const deserializeAws_json1_1ListTasksCommandError = async (output, context) => {
|
|
|
1933
1845
|
throw await deserializeAws_json1_1ServiceNotFoundExceptionResponse(parsedOutput, context);
|
|
1934
1846
|
default:
|
|
1935
1847
|
const parsedBody = parsedOutput.body;
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
$metadata,
|
|
1848
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1849
|
+
output,
|
|
1850
|
+
parsedBody,
|
|
1851
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1852
|
+
errorCode,
|
|
1942
1853
|
});
|
|
1943
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1944
1854
|
}
|
|
1945
1855
|
};
|
|
1946
1856
|
const deserializeAws_json1_1PutAccountSettingCommand = async (output, context) => {
|
|
@@ -1962,7 +1872,6 @@ const deserializeAws_json1_1PutAccountSettingCommandError = async (output, conte
|
|
|
1962
1872
|
...output,
|
|
1963
1873
|
body: await parseBody(output.body, context),
|
|
1964
1874
|
};
|
|
1965
|
-
let response;
|
|
1966
1875
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1967
1876
|
switch (errorCode) {
|
|
1968
1877
|
case "ClientException":
|
|
@@ -1976,14 +1885,12 @@ const deserializeAws_json1_1PutAccountSettingCommandError = async (output, conte
|
|
|
1976
1885
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
1977
1886
|
default:
|
|
1978
1887
|
const parsedBody = parsedOutput.body;
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
$metadata,
|
|
1888
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1889
|
+
output,
|
|
1890
|
+
parsedBody,
|
|
1891
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1892
|
+
errorCode,
|
|
1985
1893
|
});
|
|
1986
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1987
1894
|
}
|
|
1988
1895
|
};
|
|
1989
1896
|
const deserializeAws_json1_1PutAccountSettingDefaultCommand = async (output, context) => {
|
|
@@ -2005,7 +1912,6 @@ const deserializeAws_json1_1PutAccountSettingDefaultCommandError = async (output
|
|
|
2005
1912
|
...output,
|
|
2006
1913
|
body: await parseBody(output.body, context),
|
|
2007
1914
|
};
|
|
2008
|
-
let response;
|
|
2009
1915
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2010
1916
|
switch (errorCode) {
|
|
2011
1917
|
case "ClientException":
|
|
@@ -2019,14 +1925,12 @@ const deserializeAws_json1_1PutAccountSettingDefaultCommandError = async (output
|
|
|
2019
1925
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2020
1926
|
default:
|
|
2021
1927
|
const parsedBody = parsedOutput.body;
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
$metadata,
|
|
1928
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1929
|
+
output,
|
|
1930
|
+
parsedBody,
|
|
1931
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1932
|
+
errorCode,
|
|
2028
1933
|
});
|
|
2029
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2030
1934
|
}
|
|
2031
1935
|
};
|
|
2032
1936
|
const deserializeAws_json1_1PutAttributesCommand = async (output, context) => {
|
|
@@ -2048,7 +1952,6 @@ const deserializeAws_json1_1PutAttributesCommandError = async (output, context)
|
|
|
2048
1952
|
...output,
|
|
2049
1953
|
body: await parseBody(output.body, context),
|
|
2050
1954
|
};
|
|
2051
|
-
let response;
|
|
2052
1955
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2053
1956
|
switch (errorCode) {
|
|
2054
1957
|
case "AttributeLimitExceededException":
|
|
@@ -2065,14 +1968,12 @@ const deserializeAws_json1_1PutAttributesCommandError = async (output, context)
|
|
|
2065
1968
|
throw await deserializeAws_json1_1TargetNotFoundExceptionResponse(parsedOutput, context);
|
|
2066
1969
|
default:
|
|
2067
1970
|
const parsedBody = parsedOutput.body;
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
$metadata,
|
|
1971
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1972
|
+
output,
|
|
1973
|
+
parsedBody,
|
|
1974
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
1975
|
+
errorCode,
|
|
2074
1976
|
});
|
|
2075
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2076
1977
|
}
|
|
2077
1978
|
};
|
|
2078
1979
|
const deserializeAws_json1_1PutClusterCapacityProvidersCommand = async (output, context) => {
|
|
@@ -2094,7 +1995,6 @@ const deserializeAws_json1_1PutClusterCapacityProvidersCommandError = async (out
|
|
|
2094
1995
|
...output,
|
|
2095
1996
|
body: await parseBody(output.body, context),
|
|
2096
1997
|
};
|
|
2097
|
-
let response;
|
|
2098
1998
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2099
1999
|
switch (errorCode) {
|
|
2100
2000
|
case "ClientException":
|
|
@@ -2117,14 +2017,12 @@ const deserializeAws_json1_1PutClusterCapacityProvidersCommandError = async (out
|
|
|
2117
2017
|
throw await deserializeAws_json1_1UpdateInProgressExceptionResponse(parsedOutput, context);
|
|
2118
2018
|
default:
|
|
2119
2019
|
const parsedBody = parsedOutput.body;
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
$metadata,
|
|
2020
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2021
|
+
output,
|
|
2022
|
+
parsedBody,
|
|
2023
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2024
|
+
errorCode,
|
|
2126
2025
|
});
|
|
2127
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2128
2026
|
}
|
|
2129
2027
|
};
|
|
2130
2028
|
const deserializeAws_json1_1RegisterContainerInstanceCommand = async (output, context) => {
|
|
@@ -2146,7 +2044,6 @@ const deserializeAws_json1_1RegisterContainerInstanceCommandError = async (outpu
|
|
|
2146
2044
|
...output,
|
|
2147
2045
|
body: await parseBody(output.body, context),
|
|
2148
2046
|
};
|
|
2149
|
-
let response;
|
|
2150
2047
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2151
2048
|
switch (errorCode) {
|
|
2152
2049
|
case "ClientException":
|
|
@@ -2160,14 +2057,12 @@ const deserializeAws_json1_1RegisterContainerInstanceCommandError = async (outpu
|
|
|
2160
2057
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2161
2058
|
default:
|
|
2162
2059
|
const parsedBody = parsedOutput.body;
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
$metadata,
|
|
2060
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2061
|
+
output,
|
|
2062
|
+
parsedBody,
|
|
2063
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2064
|
+
errorCode,
|
|
2169
2065
|
});
|
|
2170
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2171
2066
|
}
|
|
2172
2067
|
};
|
|
2173
2068
|
const deserializeAws_json1_1RegisterTaskDefinitionCommand = async (output, context) => {
|
|
@@ -2189,7 +2084,6 @@ const deserializeAws_json1_1RegisterTaskDefinitionCommandError = async (output,
|
|
|
2189
2084
|
...output,
|
|
2190
2085
|
body: await parseBody(output.body, context),
|
|
2191
2086
|
};
|
|
2192
|
-
let response;
|
|
2193
2087
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2194
2088
|
switch (errorCode) {
|
|
2195
2089
|
case "ClientException":
|
|
@@ -2203,14 +2097,12 @@ const deserializeAws_json1_1RegisterTaskDefinitionCommandError = async (output,
|
|
|
2203
2097
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2204
2098
|
default:
|
|
2205
2099
|
const parsedBody = parsedOutput.body;
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
$metadata,
|
|
2100
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2101
|
+
output,
|
|
2102
|
+
parsedBody,
|
|
2103
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2104
|
+
errorCode,
|
|
2212
2105
|
});
|
|
2213
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2214
2106
|
}
|
|
2215
2107
|
};
|
|
2216
2108
|
const deserializeAws_json1_1RunTaskCommand = async (output, context) => {
|
|
@@ -2232,7 +2124,6 @@ const deserializeAws_json1_1RunTaskCommandError = async (output, context) => {
|
|
|
2232
2124
|
...output,
|
|
2233
2125
|
body: await parseBody(output.body, context),
|
|
2234
2126
|
};
|
|
2235
|
-
let response;
|
|
2236
2127
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2237
2128
|
switch (errorCode) {
|
|
2238
2129
|
case "AccessDeniedException":
|
|
@@ -2264,14 +2155,12 @@ const deserializeAws_json1_1RunTaskCommandError = async (output, context) => {
|
|
|
2264
2155
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
2265
2156
|
default:
|
|
2266
2157
|
const parsedBody = parsedOutput.body;
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
$metadata,
|
|
2158
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2159
|
+
output,
|
|
2160
|
+
parsedBody,
|
|
2161
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2162
|
+
errorCode,
|
|
2273
2163
|
});
|
|
2274
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2275
2164
|
}
|
|
2276
2165
|
};
|
|
2277
2166
|
const deserializeAws_json1_1StartTaskCommand = async (output, context) => {
|
|
@@ -2293,7 +2182,6 @@ const deserializeAws_json1_1StartTaskCommandError = async (output, context) => {
|
|
|
2293
2182
|
...output,
|
|
2294
2183
|
body: await parseBody(output.body, context),
|
|
2295
2184
|
};
|
|
2296
|
-
let response;
|
|
2297
2185
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2298
2186
|
switch (errorCode) {
|
|
2299
2187
|
case "ClientException":
|
|
@@ -2310,14 +2198,12 @@ const deserializeAws_json1_1StartTaskCommandError = async (output, context) => {
|
|
|
2310
2198
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2311
2199
|
default:
|
|
2312
2200
|
const parsedBody = parsedOutput.body;
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
$metadata,
|
|
2201
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2202
|
+
output,
|
|
2203
|
+
parsedBody,
|
|
2204
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2205
|
+
errorCode,
|
|
2319
2206
|
});
|
|
2320
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2321
2207
|
}
|
|
2322
2208
|
};
|
|
2323
2209
|
const deserializeAws_json1_1StopTaskCommand = async (output, context) => {
|
|
@@ -2339,7 +2225,6 @@ const deserializeAws_json1_1StopTaskCommandError = async (output, context) => {
|
|
|
2339
2225
|
...output,
|
|
2340
2226
|
body: await parseBody(output.body, context),
|
|
2341
2227
|
};
|
|
2342
|
-
let response;
|
|
2343
2228
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2344
2229
|
switch (errorCode) {
|
|
2345
2230
|
case "ClientException":
|
|
@@ -2356,14 +2241,12 @@ const deserializeAws_json1_1StopTaskCommandError = async (output, context) => {
|
|
|
2356
2241
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2357
2242
|
default:
|
|
2358
2243
|
const parsedBody = parsedOutput.body;
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
$metadata,
|
|
2244
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2245
|
+
output,
|
|
2246
|
+
parsedBody,
|
|
2247
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2248
|
+
errorCode,
|
|
2365
2249
|
});
|
|
2366
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2367
2250
|
}
|
|
2368
2251
|
};
|
|
2369
2252
|
const deserializeAws_json1_1SubmitAttachmentStateChangesCommand = async (output, context) => {
|
|
@@ -2385,7 +2268,6 @@ const deserializeAws_json1_1SubmitAttachmentStateChangesCommandError = async (ou
|
|
|
2385
2268
|
...output,
|
|
2386
2269
|
body: await parseBody(output.body, context),
|
|
2387
2270
|
};
|
|
2388
|
-
let response;
|
|
2389
2271
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2390
2272
|
switch (errorCode) {
|
|
2391
2273
|
case "AccessDeniedException":
|
|
@@ -2402,14 +2284,12 @@ const deserializeAws_json1_1SubmitAttachmentStateChangesCommandError = async (ou
|
|
|
2402
2284
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2403
2285
|
default:
|
|
2404
2286
|
const parsedBody = parsedOutput.body;
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
$metadata,
|
|
2287
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2288
|
+
output,
|
|
2289
|
+
parsedBody,
|
|
2290
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2291
|
+
errorCode,
|
|
2411
2292
|
});
|
|
2412
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2413
2293
|
}
|
|
2414
2294
|
};
|
|
2415
2295
|
const deserializeAws_json1_1SubmitContainerStateChangeCommand = async (output, context) => {
|
|
@@ -2431,7 +2311,6 @@ const deserializeAws_json1_1SubmitContainerStateChangeCommandError = async (outp
|
|
|
2431
2311
|
...output,
|
|
2432
2312
|
body: await parseBody(output.body, context),
|
|
2433
2313
|
};
|
|
2434
|
-
let response;
|
|
2435
2314
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2436
2315
|
switch (errorCode) {
|
|
2437
2316
|
case "AccessDeniedException":
|
|
@@ -2445,14 +2324,12 @@ const deserializeAws_json1_1SubmitContainerStateChangeCommandError = async (outp
|
|
|
2445
2324
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2446
2325
|
default:
|
|
2447
2326
|
const parsedBody = parsedOutput.body;
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
$metadata,
|
|
2327
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2328
|
+
output,
|
|
2329
|
+
parsedBody,
|
|
2330
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2331
|
+
errorCode,
|
|
2454
2332
|
});
|
|
2455
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2456
2333
|
}
|
|
2457
2334
|
};
|
|
2458
2335
|
const deserializeAws_json1_1SubmitTaskStateChangeCommand = async (output, context) => {
|
|
@@ -2474,7 +2351,6 @@ const deserializeAws_json1_1SubmitTaskStateChangeCommandError = async (output, c
|
|
|
2474
2351
|
...output,
|
|
2475
2352
|
body: await parseBody(output.body, context),
|
|
2476
2353
|
};
|
|
2477
|
-
let response;
|
|
2478
2354
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2479
2355
|
switch (errorCode) {
|
|
2480
2356
|
case "AccessDeniedException":
|
|
@@ -2491,14 +2367,12 @@ const deserializeAws_json1_1SubmitTaskStateChangeCommandError = async (output, c
|
|
|
2491
2367
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2492
2368
|
default:
|
|
2493
2369
|
const parsedBody = parsedOutput.body;
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
$metadata,
|
|
2370
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2371
|
+
output,
|
|
2372
|
+
parsedBody,
|
|
2373
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2374
|
+
errorCode,
|
|
2500
2375
|
});
|
|
2501
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2502
2376
|
}
|
|
2503
2377
|
};
|
|
2504
2378
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -2520,7 +2394,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2520
2394
|
...output,
|
|
2521
2395
|
body: await parseBody(output.body, context),
|
|
2522
2396
|
};
|
|
2523
|
-
let response;
|
|
2524
2397
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2525
2398
|
switch (errorCode) {
|
|
2526
2399
|
case "ClientException":
|
|
@@ -2540,14 +2413,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2540
2413
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2541
2414
|
default:
|
|
2542
2415
|
const parsedBody = parsedOutput.body;
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
$metadata,
|
|
2416
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2417
|
+
output,
|
|
2418
|
+
parsedBody,
|
|
2419
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2420
|
+
errorCode,
|
|
2549
2421
|
});
|
|
2550
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2551
2422
|
}
|
|
2552
2423
|
};
|
|
2553
2424
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -2569,7 +2440,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2569
2440
|
...output,
|
|
2570
2441
|
body: await parseBody(output.body, context),
|
|
2571
2442
|
};
|
|
2572
|
-
let response;
|
|
2573
2443
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2574
2444
|
switch (errorCode) {
|
|
2575
2445
|
case "ClientException":
|
|
@@ -2589,14 +2459,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2589
2459
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2590
2460
|
default:
|
|
2591
2461
|
const parsedBody = parsedOutput.body;
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
$metadata,
|
|
2462
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2463
|
+
output,
|
|
2464
|
+
parsedBody,
|
|
2465
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2466
|
+
errorCode,
|
|
2598
2467
|
});
|
|
2599
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2600
2468
|
}
|
|
2601
2469
|
};
|
|
2602
2470
|
const deserializeAws_json1_1UpdateCapacityProviderCommand = async (output, context) => {
|
|
@@ -2618,7 +2486,6 @@ const deserializeAws_json1_1UpdateCapacityProviderCommandError = async (output,
|
|
|
2618
2486
|
...output,
|
|
2619
2487
|
body: await parseBody(output.body, context),
|
|
2620
2488
|
};
|
|
2621
|
-
let response;
|
|
2622
2489
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2623
2490
|
switch (errorCode) {
|
|
2624
2491
|
case "ClientException":
|
|
@@ -2632,14 +2499,12 @@ const deserializeAws_json1_1UpdateCapacityProviderCommandError = async (output,
|
|
|
2632
2499
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2633
2500
|
default:
|
|
2634
2501
|
const parsedBody = parsedOutput.body;
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
$metadata,
|
|
2502
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2503
|
+
output,
|
|
2504
|
+
parsedBody,
|
|
2505
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2506
|
+
errorCode,
|
|
2641
2507
|
});
|
|
2642
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2643
2508
|
}
|
|
2644
2509
|
};
|
|
2645
2510
|
const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
|
|
@@ -2661,7 +2526,6 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
2661
2526
|
...output,
|
|
2662
2527
|
body: await parseBody(output.body, context),
|
|
2663
2528
|
};
|
|
2664
|
-
let response;
|
|
2665
2529
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2666
2530
|
switch (errorCode) {
|
|
2667
2531
|
case "ClientException":
|
|
@@ -2678,14 +2542,12 @@ const deserializeAws_json1_1UpdateClusterCommandError = async (output, context)
|
|
|
2678
2542
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2679
2543
|
default:
|
|
2680
2544
|
const parsedBody = parsedOutput.body;
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
$metadata,
|
|
2545
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2546
|
+
output,
|
|
2547
|
+
parsedBody,
|
|
2548
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2549
|
+
errorCode,
|
|
2687
2550
|
});
|
|
2688
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2689
2551
|
}
|
|
2690
2552
|
};
|
|
2691
2553
|
const deserializeAws_json1_1UpdateClusterSettingsCommand = async (output, context) => {
|
|
@@ -2707,7 +2569,6 @@ const deserializeAws_json1_1UpdateClusterSettingsCommandError = async (output, c
|
|
|
2707
2569
|
...output,
|
|
2708
2570
|
body: await parseBody(output.body, context),
|
|
2709
2571
|
};
|
|
2710
|
-
let response;
|
|
2711
2572
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2712
2573
|
switch (errorCode) {
|
|
2713
2574
|
case "ClientException":
|
|
@@ -2724,14 +2585,12 @@ const deserializeAws_json1_1UpdateClusterSettingsCommandError = async (output, c
|
|
|
2724
2585
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2725
2586
|
default:
|
|
2726
2587
|
const parsedBody = parsedOutput.body;
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
$metadata,
|
|
2588
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2589
|
+
output,
|
|
2590
|
+
parsedBody,
|
|
2591
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2592
|
+
errorCode,
|
|
2733
2593
|
});
|
|
2734
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2735
2594
|
}
|
|
2736
2595
|
};
|
|
2737
2596
|
const deserializeAws_json1_1UpdateContainerAgentCommand = async (output, context) => {
|
|
@@ -2753,7 +2612,6 @@ const deserializeAws_json1_1UpdateContainerAgentCommandError = async (output, co
|
|
|
2753
2612
|
...output,
|
|
2754
2613
|
body: await parseBody(output.body, context),
|
|
2755
2614
|
};
|
|
2756
|
-
let response;
|
|
2757
2615
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2758
2616
|
switch (errorCode) {
|
|
2759
2617
|
case "ClientException":
|
|
@@ -2779,14 +2637,12 @@ const deserializeAws_json1_1UpdateContainerAgentCommandError = async (output, co
|
|
|
2779
2637
|
throw await deserializeAws_json1_1UpdateInProgressExceptionResponse(parsedOutput, context);
|
|
2780
2638
|
default:
|
|
2781
2639
|
const parsedBody = parsedOutput.body;
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
$metadata,
|
|
2640
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2641
|
+
output,
|
|
2642
|
+
parsedBody,
|
|
2643
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2644
|
+
errorCode,
|
|
2788
2645
|
});
|
|
2789
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2790
2646
|
}
|
|
2791
2647
|
};
|
|
2792
2648
|
const deserializeAws_json1_1UpdateContainerInstancesStateCommand = async (output, context) => {
|
|
@@ -2808,7 +2664,6 @@ const deserializeAws_json1_1UpdateContainerInstancesStateCommandError = async (o
|
|
|
2808
2664
|
...output,
|
|
2809
2665
|
body: await parseBody(output.body, context),
|
|
2810
2666
|
};
|
|
2811
|
-
let response;
|
|
2812
2667
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2813
2668
|
switch (errorCode) {
|
|
2814
2669
|
case "ClientException":
|
|
@@ -2825,14 +2680,12 @@ const deserializeAws_json1_1UpdateContainerInstancesStateCommandError = async (o
|
|
|
2825
2680
|
throw await deserializeAws_json1_1ServerExceptionResponse(parsedOutput, context);
|
|
2826
2681
|
default:
|
|
2827
2682
|
const parsedBody = parsedOutput.body;
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
$metadata,
|
|
2683
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2684
|
+
output,
|
|
2685
|
+
parsedBody,
|
|
2686
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2687
|
+
errorCode,
|
|
2834
2688
|
});
|
|
2835
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2836
2689
|
}
|
|
2837
2690
|
};
|
|
2838
2691
|
const deserializeAws_json1_1UpdateServiceCommand = async (output, context) => {
|
|
@@ -2854,7 +2707,6 @@ const deserializeAws_json1_1UpdateServiceCommandError = async (output, context)
|
|
|
2854
2707
|
...output,
|
|
2855
2708
|
body: await parseBody(output.body, context),
|
|
2856
2709
|
};
|
|
2857
|
-
let response;
|
|
2858
2710
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2859
2711
|
switch (errorCode) {
|
|
2860
2712
|
case "AccessDeniedException":
|
|
@@ -2886,14 +2738,12 @@ const deserializeAws_json1_1UpdateServiceCommandError = async (output, context)
|
|
|
2886
2738
|
throw await deserializeAws_json1_1ServiceNotFoundExceptionResponse(parsedOutput, context);
|
|
2887
2739
|
default:
|
|
2888
2740
|
const parsedBody = parsedOutput.body;
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
$metadata,
|
|
2741
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2742
|
+
output,
|
|
2743
|
+
parsedBody,
|
|
2744
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2745
|
+
errorCode,
|
|
2895
2746
|
});
|
|
2896
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2897
2747
|
}
|
|
2898
2748
|
};
|
|
2899
2749
|
const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommand = async (output, context) => {
|
|
@@ -2915,7 +2765,6 @@ const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommandError = async (out
|
|
|
2915
2765
|
...output,
|
|
2916
2766
|
body: await parseBody(output.body, context),
|
|
2917
2767
|
};
|
|
2918
|
-
let response;
|
|
2919
2768
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2920
2769
|
switch (errorCode) {
|
|
2921
2770
|
case "AccessDeniedException":
|
|
@@ -2947,14 +2796,12 @@ const deserializeAws_json1_1UpdateServicePrimaryTaskSetCommandError = async (out
|
|
|
2947
2796
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
2948
2797
|
default:
|
|
2949
2798
|
const parsedBody = parsedOutput.body;
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
$metadata,
|
|
2799
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2800
|
+
output,
|
|
2801
|
+
parsedBody,
|
|
2802
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2803
|
+
errorCode,
|
|
2956
2804
|
});
|
|
2957
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2958
2805
|
}
|
|
2959
2806
|
};
|
|
2960
2807
|
const deserializeAws_json1_1UpdateTaskSetCommand = async (output, context) => {
|
|
@@ -2976,7 +2823,6 @@ const deserializeAws_json1_1UpdateTaskSetCommandError = async (output, context)
|
|
|
2976
2823
|
...output,
|
|
2977
2824
|
body: await parseBody(output.body, context),
|
|
2978
2825
|
};
|
|
2979
|
-
let response;
|
|
2980
2826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2981
2827
|
switch (errorCode) {
|
|
2982
2828
|
case "AccessDeniedException":
|
|
@@ -3008,14 +2854,12 @@ const deserializeAws_json1_1UpdateTaskSetCommandError = async (output, context)
|
|
|
3008
2854
|
throw await deserializeAws_json1_1UnsupportedFeatureExceptionResponse(parsedOutput, context);
|
|
3009
2855
|
default:
|
|
3010
2856
|
const parsedBody = parsedOutput.body;
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
$metadata,
|
|
2857
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2858
|
+
output,
|
|
2859
|
+
parsedBody,
|
|
2860
|
+
exceptionCtor: ECSServiceException_1.ECSServiceException,
|
|
2861
|
+
errorCode,
|
|
3017
2862
|
});
|
|
3018
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3019
2863
|
}
|
|
3020
2864
|
};
|
|
3021
2865
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -3244,9 +3088,6 @@ const serializeAws_json1_1AttachmentStateChanges = (input, context) => {
|
|
|
3244
3088
|
return input
|
|
3245
3089
|
.filter((e) => e != null)
|
|
3246
3090
|
.map((entry) => {
|
|
3247
|
-
if (entry === null) {
|
|
3248
|
-
return null;
|
|
3249
|
-
}
|
|
3250
3091
|
return serializeAws_json1_1AttachmentStateChange(entry, context);
|
|
3251
3092
|
});
|
|
3252
3093
|
};
|
|
@@ -3262,9 +3103,6 @@ const serializeAws_json1_1Attributes = (input, context) => {
|
|
|
3262
3103
|
return input
|
|
3263
3104
|
.filter((e) => e != null)
|
|
3264
3105
|
.map((entry) => {
|
|
3265
|
-
if (entry === null) {
|
|
3266
|
-
return null;
|
|
3267
|
-
}
|
|
3268
3106
|
return serializeAws_json1_1Attribute(entry, context);
|
|
3269
3107
|
});
|
|
3270
3108
|
};
|
|
@@ -3302,9 +3140,6 @@ const serializeAws_json1_1CapacityProviderFieldList = (input, context) => {
|
|
|
3302
3140
|
return input
|
|
3303
3141
|
.filter((e) => e != null)
|
|
3304
3142
|
.map((entry) => {
|
|
3305
|
-
if (entry === null) {
|
|
3306
|
-
return null;
|
|
3307
|
-
}
|
|
3308
3143
|
return entry;
|
|
3309
3144
|
});
|
|
3310
3145
|
};
|
|
@@ -3312,9 +3147,6 @@ const serializeAws_json1_1CapacityProviderStrategy = (input, context) => {
|
|
|
3312
3147
|
return input
|
|
3313
3148
|
.filter((e) => e != null)
|
|
3314
3149
|
.map((entry) => {
|
|
3315
|
-
if (entry === null) {
|
|
3316
|
-
return null;
|
|
3317
|
-
}
|
|
3318
3150
|
return serializeAws_json1_1CapacityProviderStrategyItem(entry, context);
|
|
3319
3151
|
});
|
|
3320
3152
|
};
|
|
@@ -3336,9 +3168,6 @@ const serializeAws_json1_1ClusterFieldList = (input, context) => {
|
|
|
3336
3168
|
return input
|
|
3337
3169
|
.filter((e) => e != null)
|
|
3338
3170
|
.map((entry) => {
|
|
3339
|
-
if (entry === null) {
|
|
3340
|
-
return null;
|
|
3341
|
-
}
|
|
3342
3171
|
return entry;
|
|
3343
3172
|
});
|
|
3344
3173
|
};
|
|
@@ -3352,9 +3181,6 @@ const serializeAws_json1_1ClusterSettings = (input, context) => {
|
|
|
3352
3181
|
return input
|
|
3353
3182
|
.filter((e) => e != null)
|
|
3354
3183
|
.map((entry) => {
|
|
3355
|
-
if (entry === null) {
|
|
3356
|
-
return null;
|
|
3357
|
-
}
|
|
3358
3184
|
return serializeAws_json1_1ClusterSetting(entry, context);
|
|
3359
3185
|
});
|
|
3360
3186
|
};
|
|
@@ -3362,9 +3188,6 @@ const serializeAws_json1_1CompatibilityList = (input, context) => {
|
|
|
3362
3188
|
return input
|
|
3363
3189
|
.filter((e) => e != null)
|
|
3364
3190
|
.map((entry) => {
|
|
3365
|
-
if (entry === null) {
|
|
3366
|
-
return null;
|
|
3367
|
-
}
|
|
3368
3191
|
return entry;
|
|
3369
3192
|
});
|
|
3370
3193
|
};
|
|
@@ -3439,9 +3262,6 @@ const serializeAws_json1_1ContainerDefinitions = (input, context) => {
|
|
|
3439
3262
|
return input
|
|
3440
3263
|
.filter((e) => e != null)
|
|
3441
3264
|
.map((entry) => {
|
|
3442
|
-
if (entry === null) {
|
|
3443
|
-
return null;
|
|
3444
|
-
}
|
|
3445
3265
|
return serializeAws_json1_1ContainerDefinition(entry, context);
|
|
3446
3266
|
});
|
|
3447
3267
|
};
|
|
@@ -3449,9 +3269,6 @@ const serializeAws_json1_1ContainerDependencies = (input, context) => {
|
|
|
3449
3269
|
return input
|
|
3450
3270
|
.filter((e) => e != null)
|
|
3451
3271
|
.map((entry) => {
|
|
3452
|
-
if (entry === null) {
|
|
3453
|
-
return null;
|
|
3454
|
-
}
|
|
3455
3272
|
return serializeAws_json1_1ContainerDependency(entry, context);
|
|
3456
3273
|
});
|
|
3457
3274
|
};
|
|
@@ -3465,9 +3282,6 @@ const serializeAws_json1_1ContainerInstanceFieldList = (input, context) => {
|
|
|
3465
3282
|
return input
|
|
3466
3283
|
.filter((e) => e != null)
|
|
3467
3284
|
.map((entry) => {
|
|
3468
|
-
if (entry === null) {
|
|
3469
|
-
return null;
|
|
3470
|
-
}
|
|
3471
3285
|
return entry;
|
|
3472
3286
|
});
|
|
3473
3287
|
};
|
|
@@ -3493,9 +3307,6 @@ const serializeAws_json1_1ContainerOverrides = (input, context) => {
|
|
|
3493
3307
|
return input
|
|
3494
3308
|
.filter((e) => e != null)
|
|
3495
3309
|
.map((entry) => {
|
|
3496
|
-
if (entry === null) {
|
|
3497
|
-
return null;
|
|
3498
|
-
}
|
|
3499
3310
|
return serializeAws_json1_1ContainerOverride(entry, context);
|
|
3500
3311
|
});
|
|
3501
3312
|
};
|
|
@@ -3516,9 +3327,6 @@ const serializeAws_json1_1ContainerStateChanges = (input, context) => {
|
|
|
3516
3327
|
return input
|
|
3517
3328
|
.filter((e) => e != null)
|
|
3518
3329
|
.map((entry) => {
|
|
3519
|
-
if (entry === null) {
|
|
3520
|
-
return null;
|
|
3521
|
-
}
|
|
3522
3330
|
return serializeAws_json1_1ContainerStateChange(entry, context);
|
|
3523
3331
|
});
|
|
3524
3332
|
};
|
|
@@ -3751,9 +3559,6 @@ const serializeAws_json1_1DeviceCgroupPermissions = (input, context) => {
|
|
|
3751
3559
|
return input
|
|
3752
3560
|
.filter((e) => e != null)
|
|
3753
3561
|
.map((entry) => {
|
|
3754
|
-
if (entry === null) {
|
|
3755
|
-
return null;
|
|
3756
|
-
}
|
|
3757
3562
|
return entry;
|
|
3758
3563
|
});
|
|
3759
3564
|
};
|
|
@@ -3761,9 +3566,6 @@ const serializeAws_json1_1DevicesList = (input, context) => {
|
|
|
3761
3566
|
return input
|
|
3762
3567
|
.filter((e) => e != null)
|
|
3763
3568
|
.map((entry) => {
|
|
3764
|
-
if (entry === null) {
|
|
3765
|
-
return null;
|
|
3766
|
-
}
|
|
3767
3569
|
return serializeAws_json1_1Device(entry, context);
|
|
3768
3570
|
});
|
|
3769
3571
|
};
|
|
@@ -3820,9 +3622,6 @@ const serializeAws_json1_1EnvironmentFiles = (input, context) => {
|
|
|
3820
3622
|
return input
|
|
3821
3623
|
.filter((e) => e != null)
|
|
3822
3624
|
.map((entry) => {
|
|
3823
|
-
if (entry === null) {
|
|
3824
|
-
return null;
|
|
3825
|
-
}
|
|
3826
3625
|
return serializeAws_json1_1EnvironmentFile(entry, context);
|
|
3827
3626
|
});
|
|
3828
3627
|
};
|
|
@@ -3830,9 +3629,6 @@ const serializeAws_json1_1EnvironmentVariables = (input, context) => {
|
|
|
3830
3629
|
return input
|
|
3831
3630
|
.filter((e) => e != null)
|
|
3832
3631
|
.map((entry) => {
|
|
3833
|
-
if (entry === null) {
|
|
3834
|
-
return null;
|
|
3835
|
-
}
|
|
3836
3632
|
return serializeAws_json1_1KeyValuePair(entry, context);
|
|
3837
3633
|
});
|
|
3838
3634
|
};
|
|
@@ -3923,9 +3719,6 @@ const serializeAws_json1_1HostEntryList = (input, context) => {
|
|
|
3923
3719
|
return input
|
|
3924
3720
|
.filter((e) => e != null)
|
|
3925
3721
|
.map((entry) => {
|
|
3926
|
-
if (entry === null) {
|
|
3927
|
-
return null;
|
|
3928
|
-
}
|
|
3929
3722
|
return serializeAws_json1_1HostEntry(entry, context);
|
|
3930
3723
|
});
|
|
3931
3724
|
};
|
|
@@ -3950,9 +3743,6 @@ const serializeAws_json1_1InferenceAcceleratorOverrides = (input, context) => {
|
|
|
3950
3743
|
return input
|
|
3951
3744
|
.filter((e) => e != null)
|
|
3952
3745
|
.map((entry) => {
|
|
3953
|
-
if (entry === null) {
|
|
3954
|
-
return null;
|
|
3955
|
-
}
|
|
3956
3746
|
return serializeAws_json1_1InferenceAcceleratorOverride(entry, context);
|
|
3957
3747
|
});
|
|
3958
3748
|
};
|
|
@@ -3960,9 +3750,6 @@ const serializeAws_json1_1InferenceAccelerators = (input, context) => {
|
|
|
3960
3750
|
return input
|
|
3961
3751
|
.filter((e) => e != null)
|
|
3962
3752
|
.map((entry) => {
|
|
3963
|
-
if (entry === null) {
|
|
3964
|
-
return null;
|
|
3965
|
-
}
|
|
3966
3753
|
return serializeAws_json1_1InferenceAccelerator(entry, context);
|
|
3967
3754
|
});
|
|
3968
3755
|
};
|
|
@@ -4082,9 +3869,6 @@ const serializeAws_json1_1LoadBalancers = (input, context) => {
|
|
|
4082
3869
|
return input
|
|
4083
3870
|
.filter((e) => e != null)
|
|
4084
3871
|
.map((entry) => {
|
|
4085
|
-
if (entry === null) {
|
|
4086
|
-
return null;
|
|
4087
|
-
}
|
|
4088
3872
|
return serializeAws_json1_1LoadBalancer(entry, context);
|
|
4089
3873
|
});
|
|
4090
3874
|
};
|
|
@@ -4118,9 +3902,6 @@ const serializeAws_json1_1ManagedAgentStateChanges = (input, context) => {
|
|
|
4118
3902
|
return input
|
|
4119
3903
|
.filter((e) => e != null)
|
|
4120
3904
|
.map((entry) => {
|
|
4121
|
-
if (entry === null) {
|
|
4122
|
-
return null;
|
|
4123
|
-
}
|
|
4124
3905
|
return serializeAws_json1_1ManagedAgentStateChange(entry, context);
|
|
4125
3906
|
});
|
|
4126
3907
|
};
|
|
@@ -4144,9 +3925,6 @@ const serializeAws_json1_1MountPointList = (input, context) => {
|
|
|
4144
3925
|
return input
|
|
4145
3926
|
.filter((e) => e != null)
|
|
4146
3927
|
.map((entry) => {
|
|
4147
|
-
if (entry === null) {
|
|
4148
|
-
return null;
|
|
4149
|
-
}
|
|
4150
3928
|
return serializeAws_json1_1MountPoint(entry, context);
|
|
4151
3929
|
});
|
|
4152
3930
|
};
|
|
@@ -4162,9 +3940,6 @@ const serializeAws_json1_1NetworkBindings = (input, context) => {
|
|
|
4162
3940
|
return input
|
|
4163
3941
|
.filter((e) => e != null)
|
|
4164
3942
|
.map((entry) => {
|
|
4165
|
-
if (entry === null) {
|
|
4166
|
-
return null;
|
|
4167
|
-
}
|
|
4168
3943
|
return serializeAws_json1_1NetworkBinding(entry, context);
|
|
4169
3944
|
});
|
|
4170
3945
|
};
|
|
@@ -4185,9 +3960,6 @@ const serializeAws_json1_1PlacementConstraints = (input, context) => {
|
|
|
4185
3960
|
return input
|
|
4186
3961
|
.filter((e) => e != null)
|
|
4187
3962
|
.map((entry) => {
|
|
4188
|
-
if (entry === null) {
|
|
4189
|
-
return null;
|
|
4190
|
-
}
|
|
4191
3963
|
return serializeAws_json1_1PlacementConstraint(entry, context);
|
|
4192
3964
|
});
|
|
4193
3965
|
};
|
|
@@ -4195,9 +3967,6 @@ const serializeAws_json1_1PlacementStrategies = (input, context) => {
|
|
|
4195
3967
|
return input
|
|
4196
3968
|
.filter((e) => e != null)
|
|
4197
3969
|
.map((entry) => {
|
|
4198
|
-
if (entry === null) {
|
|
4199
|
-
return null;
|
|
4200
|
-
}
|
|
4201
3970
|
return serializeAws_json1_1PlacementStrategy(entry, context);
|
|
4202
3971
|
});
|
|
4203
3972
|
};
|
|
@@ -4217,9 +3986,6 @@ const serializeAws_json1_1PlatformDevices = (input, context) => {
|
|
|
4217
3986
|
return input
|
|
4218
3987
|
.filter((e) => e != null)
|
|
4219
3988
|
.map((entry) => {
|
|
4220
|
-
if (entry === null) {
|
|
4221
|
-
return null;
|
|
4222
|
-
}
|
|
4223
3989
|
return serializeAws_json1_1PlatformDevice(entry, context);
|
|
4224
3990
|
});
|
|
4225
3991
|
};
|
|
@@ -4234,9 +4000,6 @@ const serializeAws_json1_1PortMappingList = (input, context) => {
|
|
|
4234
4000
|
return input
|
|
4235
4001
|
.filter((e) => e != null)
|
|
4236
4002
|
.map((entry) => {
|
|
4237
|
-
if (entry === null) {
|
|
4238
|
-
return null;
|
|
4239
|
-
}
|
|
4240
4003
|
return serializeAws_json1_1PortMapping(entry, context);
|
|
4241
4004
|
});
|
|
4242
4005
|
};
|
|
@@ -4253,9 +4016,6 @@ const serializeAws_json1_1ProxyConfigurationProperties = (input, context) => {
|
|
|
4253
4016
|
return input
|
|
4254
4017
|
.filter((e) => e != null)
|
|
4255
4018
|
.map((entry) => {
|
|
4256
|
-
if (entry === null) {
|
|
4257
|
-
return null;
|
|
4258
|
-
}
|
|
4259
4019
|
return serializeAws_json1_1KeyValuePair(entry, context);
|
|
4260
4020
|
});
|
|
4261
4021
|
};
|
|
@@ -4370,9 +4130,6 @@ const serializeAws_json1_1ResourceRequirements = (input, context) => {
|
|
|
4370
4130
|
return input
|
|
4371
4131
|
.filter((e) => e != null)
|
|
4372
4132
|
.map((entry) => {
|
|
4373
|
-
if (entry === null) {
|
|
4374
|
-
return null;
|
|
4375
|
-
}
|
|
4376
4133
|
return serializeAws_json1_1ResourceRequirement(entry, context);
|
|
4377
4134
|
});
|
|
4378
4135
|
};
|
|
@@ -4380,9 +4137,6 @@ const serializeAws_json1_1Resources = (input, context) => {
|
|
|
4380
4137
|
return input
|
|
4381
4138
|
.filter((e) => e != null)
|
|
4382
4139
|
.map((entry) => {
|
|
4383
|
-
if (entry === null) {
|
|
4384
|
-
return null;
|
|
4385
|
-
}
|
|
4386
4140
|
return serializeAws_json1_1Resource(entry, context);
|
|
4387
4141
|
});
|
|
4388
4142
|
};
|
|
@@ -4437,9 +4191,6 @@ const serializeAws_json1_1SecretList = (input, context) => {
|
|
|
4437
4191
|
return input
|
|
4438
4192
|
.filter((e) => e != null)
|
|
4439
4193
|
.map((entry) => {
|
|
4440
|
-
if (entry === null) {
|
|
4441
|
-
return null;
|
|
4442
|
-
}
|
|
4443
4194
|
return serializeAws_json1_1Secret(entry, context);
|
|
4444
4195
|
});
|
|
4445
4196
|
};
|
|
@@ -4447,9 +4198,6 @@ const serializeAws_json1_1ServiceFieldList = (input, context) => {
|
|
|
4447
4198
|
return input
|
|
4448
4199
|
.filter((e) => e != null)
|
|
4449
4200
|
.map((entry) => {
|
|
4450
|
-
if (entry === null) {
|
|
4451
|
-
return null;
|
|
4452
|
-
}
|
|
4453
4201
|
return entry;
|
|
4454
4202
|
});
|
|
4455
4203
|
};
|
|
@@ -4457,9 +4205,6 @@ const serializeAws_json1_1ServiceRegistries = (input, context) => {
|
|
|
4457
4205
|
return input
|
|
4458
4206
|
.filter((e) => e != null)
|
|
4459
4207
|
.map((entry) => {
|
|
4460
|
-
if (entry === null) {
|
|
4461
|
-
return null;
|
|
4462
|
-
}
|
|
4463
4208
|
return serializeAws_json1_1ServiceRegistry(entry, context);
|
|
4464
4209
|
});
|
|
4465
4210
|
};
|
|
@@ -4502,9 +4247,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
4502
4247
|
return input
|
|
4503
4248
|
.filter((e) => e != null)
|
|
4504
4249
|
.map((entry) => {
|
|
4505
|
-
if (entry === null) {
|
|
4506
|
-
return null;
|
|
4507
|
-
}
|
|
4508
4250
|
return entry;
|
|
4509
4251
|
});
|
|
4510
4252
|
};
|
|
@@ -4573,9 +4315,6 @@ const serializeAws_json1_1SystemControls = (input, context) => {
|
|
|
4573
4315
|
return input
|
|
4574
4316
|
.filter((e) => e != null)
|
|
4575
4317
|
.map((entry) => {
|
|
4576
|
-
if (entry === null) {
|
|
4577
|
-
return null;
|
|
4578
|
-
}
|
|
4579
4318
|
return serializeAws_json1_1SystemControl(entry, context);
|
|
4580
4319
|
});
|
|
4581
4320
|
};
|
|
@@ -4589,9 +4328,6 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
4589
4328
|
return input
|
|
4590
4329
|
.filter((e) => e != null)
|
|
4591
4330
|
.map((entry) => {
|
|
4592
|
-
if (entry === null) {
|
|
4593
|
-
return null;
|
|
4594
|
-
}
|
|
4595
4331
|
return entry;
|
|
4596
4332
|
});
|
|
4597
4333
|
};
|
|
@@ -4605,9 +4341,6 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
4605
4341
|
return input
|
|
4606
4342
|
.filter((e) => e != null)
|
|
4607
4343
|
.map((entry) => {
|
|
4608
|
-
if (entry === null) {
|
|
4609
|
-
return null;
|
|
4610
|
-
}
|
|
4611
4344
|
return serializeAws_json1_1Tag(entry, context);
|
|
4612
4345
|
});
|
|
4613
4346
|
};
|
|
@@ -4615,9 +4348,6 @@ const serializeAws_json1_1TaskDefinitionFieldList = (input, context) => {
|
|
|
4615
4348
|
return input
|
|
4616
4349
|
.filter((e) => e != null)
|
|
4617
4350
|
.map((entry) => {
|
|
4618
|
-
if (entry === null) {
|
|
4619
|
-
return null;
|
|
4620
|
-
}
|
|
4621
4351
|
return entry;
|
|
4622
4352
|
});
|
|
4623
4353
|
};
|
|
@@ -4631,9 +4361,6 @@ const serializeAws_json1_1TaskDefinitionPlacementConstraints = (input, context)
|
|
|
4631
4361
|
return input
|
|
4632
4362
|
.filter((e) => e != null)
|
|
4633
4363
|
.map((entry) => {
|
|
4634
|
-
if (entry === null) {
|
|
4635
|
-
return null;
|
|
4636
|
-
}
|
|
4637
4364
|
return serializeAws_json1_1TaskDefinitionPlacementConstraint(entry, context);
|
|
4638
4365
|
});
|
|
4639
4366
|
};
|
|
@@ -4641,9 +4368,6 @@ const serializeAws_json1_1TaskFieldList = (input, context) => {
|
|
|
4641
4368
|
return input
|
|
4642
4369
|
.filter((e) => e != null)
|
|
4643
4370
|
.map((entry) => {
|
|
4644
|
-
if (entry === null) {
|
|
4645
|
-
return null;
|
|
4646
|
-
}
|
|
4647
4371
|
return entry;
|
|
4648
4372
|
});
|
|
4649
4373
|
};
|
|
@@ -4668,9 +4392,6 @@ const serializeAws_json1_1TaskSetFieldList = (input, context) => {
|
|
|
4668
4392
|
return input
|
|
4669
4393
|
.filter((e) => e != null)
|
|
4670
4394
|
.map((entry) => {
|
|
4671
|
-
if (entry === null) {
|
|
4672
|
-
return null;
|
|
4673
|
-
}
|
|
4674
4395
|
return entry;
|
|
4675
4396
|
});
|
|
4676
4397
|
};
|
|
@@ -4685,9 +4406,6 @@ const serializeAws_json1_1TmpfsList = (input, context) => {
|
|
|
4685
4406
|
return input
|
|
4686
4407
|
.filter((e) => e != null)
|
|
4687
4408
|
.map((entry) => {
|
|
4688
|
-
if (entry === null) {
|
|
4689
|
-
return null;
|
|
4690
|
-
}
|
|
4691
4409
|
return serializeAws_json1_1Tmpfs(entry, context);
|
|
4692
4410
|
});
|
|
4693
4411
|
};
|
|
@@ -4702,9 +4420,6 @@ const serializeAws_json1_1UlimitList = (input, context) => {
|
|
|
4702
4420
|
return input
|
|
4703
4421
|
.filter((e) => e != null)
|
|
4704
4422
|
.map((entry) => {
|
|
4705
|
-
if (entry === null) {
|
|
4706
|
-
return null;
|
|
4707
|
-
}
|
|
4708
4423
|
return serializeAws_json1_1Ulimit(entry, context);
|
|
4709
4424
|
});
|
|
4710
4425
|
};
|
|
@@ -4836,9 +4551,6 @@ const serializeAws_json1_1VolumeFromList = (input, context) => {
|
|
|
4836
4551
|
return input
|
|
4837
4552
|
.filter((e) => e != null)
|
|
4838
4553
|
.map((entry) => {
|
|
4839
|
-
if (entry === null) {
|
|
4840
|
-
return null;
|
|
4841
|
-
}
|
|
4842
4554
|
return serializeAws_json1_1VolumeFrom(entry, context);
|
|
4843
4555
|
});
|
|
4844
4556
|
};
|
|
@@ -4846,9 +4558,6 @@ const serializeAws_json1_1VolumeList = (input, context) => {
|
|
|
4846
4558
|
return input
|
|
4847
4559
|
.filter((e) => e != null)
|
|
4848
4560
|
.map((entry) => {
|
|
4849
|
-
if (entry === null) {
|
|
4850
|
-
return null;
|
|
4851
|
-
}
|
|
4852
4561
|
return serializeAws_json1_1Volume(entry, context);
|
|
4853
4562
|
});
|
|
4854
4563
|
};
|