@aws-sdk/client-batch 3.503.1 → 3.507.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/dist-cjs/index.js +26 -532
- package/dist-es/protocols/Aws_restJson1.js +25 -531
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -756,7 +756,7 @@ var se_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
756
756
|
}, "se_UpdateSchedulingPolicyCommand");
|
|
757
757
|
var de_CancelJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
758
758
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
|
-
return
|
|
759
|
+
return de_CommandError(output, context);
|
|
760
760
|
}
|
|
761
761
|
const contents = (0, import_smithy_client.map)({
|
|
762
762
|
$metadata: deserializeMetadata(output)
|
|
@@ -764,31 +764,9 @@ var de_CancelJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
764
764
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
765
765
|
return contents;
|
|
766
766
|
}, "de_CancelJobCommand");
|
|
767
|
-
var de_CancelJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
768
|
-
const parsedOutput = {
|
|
769
|
-
...output,
|
|
770
|
-
body: await parseErrorBody(output.body, context)
|
|
771
|
-
};
|
|
772
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
773
|
-
switch (errorCode) {
|
|
774
|
-
case "ClientException":
|
|
775
|
-
case "com.amazonaws.batch#ClientException":
|
|
776
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
777
|
-
case "ServerException":
|
|
778
|
-
case "com.amazonaws.batch#ServerException":
|
|
779
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
780
|
-
default:
|
|
781
|
-
const parsedBody = parsedOutput.body;
|
|
782
|
-
return throwDefaultError({
|
|
783
|
-
output,
|
|
784
|
-
parsedBody,
|
|
785
|
-
errorCode
|
|
786
|
-
});
|
|
787
|
-
}
|
|
788
|
-
}, "de_CancelJobCommandError");
|
|
789
767
|
var de_CreateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
790
768
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
791
|
-
return
|
|
769
|
+
return de_CommandError(output, context);
|
|
792
770
|
}
|
|
793
771
|
const contents = (0, import_smithy_client.map)({
|
|
794
772
|
$metadata: deserializeMetadata(output)
|
|
@@ -801,31 +779,9 @@ var de_CreateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
801
779
|
Object.assign(contents, doc);
|
|
802
780
|
return contents;
|
|
803
781
|
}, "de_CreateComputeEnvironmentCommand");
|
|
804
|
-
var de_CreateComputeEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
805
|
-
const parsedOutput = {
|
|
806
|
-
...output,
|
|
807
|
-
body: await parseErrorBody(output.body, context)
|
|
808
|
-
};
|
|
809
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
810
|
-
switch (errorCode) {
|
|
811
|
-
case "ClientException":
|
|
812
|
-
case "com.amazonaws.batch#ClientException":
|
|
813
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
814
|
-
case "ServerException":
|
|
815
|
-
case "com.amazonaws.batch#ServerException":
|
|
816
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
817
|
-
default:
|
|
818
|
-
const parsedBody = parsedOutput.body;
|
|
819
|
-
return throwDefaultError({
|
|
820
|
-
output,
|
|
821
|
-
parsedBody,
|
|
822
|
-
errorCode
|
|
823
|
-
});
|
|
824
|
-
}
|
|
825
|
-
}, "de_CreateComputeEnvironmentCommandError");
|
|
826
782
|
var de_CreateJobQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
827
783
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
828
|
-
return
|
|
784
|
+
return de_CommandError(output, context);
|
|
829
785
|
}
|
|
830
786
|
const contents = (0, import_smithy_client.map)({
|
|
831
787
|
$metadata: deserializeMetadata(output)
|
|
@@ -838,31 +794,9 @@ var de_CreateJobQueueCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
838
794
|
Object.assign(contents, doc);
|
|
839
795
|
return contents;
|
|
840
796
|
}, "de_CreateJobQueueCommand");
|
|
841
|
-
var de_CreateJobQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
842
|
-
const parsedOutput = {
|
|
843
|
-
...output,
|
|
844
|
-
body: await parseErrorBody(output.body, context)
|
|
845
|
-
};
|
|
846
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
847
|
-
switch (errorCode) {
|
|
848
|
-
case "ClientException":
|
|
849
|
-
case "com.amazonaws.batch#ClientException":
|
|
850
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
851
|
-
case "ServerException":
|
|
852
|
-
case "com.amazonaws.batch#ServerException":
|
|
853
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
854
|
-
default:
|
|
855
|
-
const parsedBody = parsedOutput.body;
|
|
856
|
-
return throwDefaultError({
|
|
857
|
-
output,
|
|
858
|
-
parsedBody,
|
|
859
|
-
errorCode
|
|
860
|
-
});
|
|
861
|
-
}
|
|
862
|
-
}, "de_CreateJobQueueCommandError");
|
|
863
797
|
var de_CreateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
864
798
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
865
|
-
return
|
|
799
|
+
return de_CommandError(output, context);
|
|
866
800
|
}
|
|
867
801
|
const contents = (0, import_smithy_client.map)({
|
|
868
802
|
$metadata: deserializeMetadata(output)
|
|
@@ -875,31 +809,9 @@ var de_CreateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
875
809
|
Object.assign(contents, doc);
|
|
876
810
|
return contents;
|
|
877
811
|
}, "de_CreateSchedulingPolicyCommand");
|
|
878
|
-
var de_CreateSchedulingPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
879
|
-
const parsedOutput = {
|
|
880
|
-
...output,
|
|
881
|
-
body: await parseErrorBody(output.body, context)
|
|
882
|
-
};
|
|
883
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
884
|
-
switch (errorCode) {
|
|
885
|
-
case "ClientException":
|
|
886
|
-
case "com.amazonaws.batch#ClientException":
|
|
887
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
888
|
-
case "ServerException":
|
|
889
|
-
case "com.amazonaws.batch#ServerException":
|
|
890
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
891
|
-
default:
|
|
892
|
-
const parsedBody = parsedOutput.body;
|
|
893
|
-
return throwDefaultError({
|
|
894
|
-
output,
|
|
895
|
-
parsedBody,
|
|
896
|
-
errorCode
|
|
897
|
-
});
|
|
898
|
-
}
|
|
899
|
-
}, "de_CreateSchedulingPolicyCommandError");
|
|
900
812
|
var de_DeleteComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
901
813
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
902
|
-
return
|
|
814
|
+
return de_CommandError(output, context);
|
|
903
815
|
}
|
|
904
816
|
const contents = (0, import_smithy_client.map)({
|
|
905
817
|
$metadata: deserializeMetadata(output)
|
|
@@ -907,31 +819,9 @@ var de_DeleteComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
907
819
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
908
820
|
return contents;
|
|
909
821
|
}, "de_DeleteComputeEnvironmentCommand");
|
|
910
|
-
var de_DeleteComputeEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
911
|
-
const parsedOutput = {
|
|
912
|
-
...output,
|
|
913
|
-
body: await parseErrorBody(output.body, context)
|
|
914
|
-
};
|
|
915
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
916
|
-
switch (errorCode) {
|
|
917
|
-
case "ClientException":
|
|
918
|
-
case "com.amazonaws.batch#ClientException":
|
|
919
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
920
|
-
case "ServerException":
|
|
921
|
-
case "com.amazonaws.batch#ServerException":
|
|
922
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
923
|
-
default:
|
|
924
|
-
const parsedBody = parsedOutput.body;
|
|
925
|
-
return throwDefaultError({
|
|
926
|
-
output,
|
|
927
|
-
parsedBody,
|
|
928
|
-
errorCode
|
|
929
|
-
});
|
|
930
|
-
}
|
|
931
|
-
}, "de_DeleteComputeEnvironmentCommandError");
|
|
932
822
|
var de_DeleteJobQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
933
823
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
|
-
return
|
|
824
|
+
return de_CommandError(output, context);
|
|
935
825
|
}
|
|
936
826
|
const contents = (0, import_smithy_client.map)({
|
|
937
827
|
$metadata: deserializeMetadata(output)
|
|
@@ -939,31 +829,9 @@ var de_DeleteJobQueueCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
939
829
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
940
830
|
return contents;
|
|
941
831
|
}, "de_DeleteJobQueueCommand");
|
|
942
|
-
var de_DeleteJobQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
943
|
-
const parsedOutput = {
|
|
944
|
-
...output,
|
|
945
|
-
body: await parseErrorBody(output.body, context)
|
|
946
|
-
};
|
|
947
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
948
|
-
switch (errorCode) {
|
|
949
|
-
case "ClientException":
|
|
950
|
-
case "com.amazonaws.batch#ClientException":
|
|
951
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
952
|
-
case "ServerException":
|
|
953
|
-
case "com.amazonaws.batch#ServerException":
|
|
954
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
955
|
-
default:
|
|
956
|
-
const parsedBody = parsedOutput.body;
|
|
957
|
-
return throwDefaultError({
|
|
958
|
-
output,
|
|
959
|
-
parsedBody,
|
|
960
|
-
errorCode
|
|
961
|
-
});
|
|
962
|
-
}
|
|
963
|
-
}, "de_DeleteJobQueueCommandError");
|
|
964
832
|
var de_DeleteSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
965
833
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
966
|
-
return
|
|
834
|
+
return de_CommandError(output, context);
|
|
967
835
|
}
|
|
968
836
|
const contents = (0, import_smithy_client.map)({
|
|
969
837
|
$metadata: deserializeMetadata(output)
|
|
@@ -971,31 +839,9 @@ var de_DeleteSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
971
839
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
972
840
|
return contents;
|
|
973
841
|
}, "de_DeleteSchedulingPolicyCommand");
|
|
974
|
-
var de_DeleteSchedulingPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
975
|
-
const parsedOutput = {
|
|
976
|
-
...output,
|
|
977
|
-
body: await parseErrorBody(output.body, context)
|
|
978
|
-
};
|
|
979
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
980
|
-
switch (errorCode) {
|
|
981
|
-
case "ClientException":
|
|
982
|
-
case "com.amazonaws.batch#ClientException":
|
|
983
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
984
|
-
case "ServerException":
|
|
985
|
-
case "com.amazonaws.batch#ServerException":
|
|
986
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
987
|
-
default:
|
|
988
|
-
const parsedBody = parsedOutput.body;
|
|
989
|
-
return throwDefaultError({
|
|
990
|
-
output,
|
|
991
|
-
parsedBody,
|
|
992
|
-
errorCode
|
|
993
|
-
});
|
|
994
|
-
}
|
|
995
|
-
}, "de_DeleteSchedulingPolicyCommandError");
|
|
996
842
|
var de_DeregisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
997
843
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
998
|
-
return
|
|
844
|
+
return de_CommandError(output, context);
|
|
999
845
|
}
|
|
1000
846
|
const contents = (0, import_smithy_client.map)({
|
|
1001
847
|
$metadata: deserializeMetadata(output)
|
|
@@ -1003,31 +849,9 @@ var de_DeregisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1003
849
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1004
850
|
return contents;
|
|
1005
851
|
}, "de_DeregisterJobDefinitionCommand");
|
|
1006
|
-
var de_DeregisterJobDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1007
|
-
const parsedOutput = {
|
|
1008
|
-
...output,
|
|
1009
|
-
body: await parseErrorBody(output.body, context)
|
|
1010
|
-
};
|
|
1011
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1012
|
-
switch (errorCode) {
|
|
1013
|
-
case "ClientException":
|
|
1014
|
-
case "com.amazonaws.batch#ClientException":
|
|
1015
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1016
|
-
case "ServerException":
|
|
1017
|
-
case "com.amazonaws.batch#ServerException":
|
|
1018
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1019
|
-
default:
|
|
1020
|
-
const parsedBody = parsedOutput.body;
|
|
1021
|
-
return throwDefaultError({
|
|
1022
|
-
output,
|
|
1023
|
-
parsedBody,
|
|
1024
|
-
errorCode
|
|
1025
|
-
});
|
|
1026
|
-
}
|
|
1027
|
-
}, "de_DeregisterJobDefinitionCommandError");
|
|
1028
852
|
var de_DescribeComputeEnvironmentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1029
853
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1030
|
-
return
|
|
854
|
+
return de_CommandError(output, context);
|
|
1031
855
|
}
|
|
1032
856
|
const contents = (0, import_smithy_client.map)({
|
|
1033
857
|
$metadata: deserializeMetadata(output)
|
|
@@ -1040,31 +864,9 @@ var de_DescribeComputeEnvironmentsCommand = /* @__PURE__ */ __name(async (output
|
|
|
1040
864
|
Object.assign(contents, doc);
|
|
1041
865
|
return contents;
|
|
1042
866
|
}, "de_DescribeComputeEnvironmentsCommand");
|
|
1043
|
-
var de_DescribeComputeEnvironmentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1044
|
-
const parsedOutput = {
|
|
1045
|
-
...output,
|
|
1046
|
-
body: await parseErrorBody(output.body, context)
|
|
1047
|
-
};
|
|
1048
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1049
|
-
switch (errorCode) {
|
|
1050
|
-
case "ClientException":
|
|
1051
|
-
case "com.amazonaws.batch#ClientException":
|
|
1052
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1053
|
-
case "ServerException":
|
|
1054
|
-
case "com.amazonaws.batch#ServerException":
|
|
1055
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1056
|
-
default:
|
|
1057
|
-
const parsedBody = parsedOutput.body;
|
|
1058
|
-
return throwDefaultError({
|
|
1059
|
-
output,
|
|
1060
|
-
parsedBody,
|
|
1061
|
-
errorCode
|
|
1062
|
-
});
|
|
1063
|
-
}
|
|
1064
|
-
}, "de_DescribeComputeEnvironmentsCommandError");
|
|
1065
867
|
var de_DescribeJobDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
868
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
|
-
return
|
|
869
|
+
return de_CommandError(output, context);
|
|
1068
870
|
}
|
|
1069
871
|
const contents = (0, import_smithy_client.map)({
|
|
1070
872
|
$metadata: deserializeMetadata(output)
|
|
@@ -1077,31 +879,9 @@ var de_DescribeJobDefinitionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1077
879
|
Object.assign(contents, doc);
|
|
1078
880
|
return contents;
|
|
1079
881
|
}, "de_DescribeJobDefinitionsCommand");
|
|
1080
|
-
var de_DescribeJobDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1081
|
-
const parsedOutput = {
|
|
1082
|
-
...output,
|
|
1083
|
-
body: await parseErrorBody(output.body, context)
|
|
1084
|
-
};
|
|
1085
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1086
|
-
switch (errorCode) {
|
|
1087
|
-
case "ClientException":
|
|
1088
|
-
case "com.amazonaws.batch#ClientException":
|
|
1089
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1090
|
-
case "ServerException":
|
|
1091
|
-
case "com.amazonaws.batch#ServerException":
|
|
1092
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1093
|
-
default:
|
|
1094
|
-
const parsedBody = parsedOutput.body;
|
|
1095
|
-
return throwDefaultError({
|
|
1096
|
-
output,
|
|
1097
|
-
parsedBody,
|
|
1098
|
-
errorCode
|
|
1099
|
-
});
|
|
1100
|
-
}
|
|
1101
|
-
}, "de_DescribeJobDefinitionsCommandError");
|
|
1102
882
|
var de_DescribeJobQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1103
883
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1104
|
-
return
|
|
884
|
+
return de_CommandError(output, context);
|
|
1105
885
|
}
|
|
1106
886
|
const contents = (0, import_smithy_client.map)({
|
|
1107
887
|
$metadata: deserializeMetadata(output)
|
|
@@ -1114,31 +894,9 @@ var de_DescribeJobQueuesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1114
894
|
Object.assign(contents, doc);
|
|
1115
895
|
return contents;
|
|
1116
896
|
}, "de_DescribeJobQueuesCommand");
|
|
1117
|
-
var de_DescribeJobQueuesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1118
|
-
const parsedOutput = {
|
|
1119
|
-
...output,
|
|
1120
|
-
body: await parseErrorBody(output.body, context)
|
|
1121
|
-
};
|
|
1122
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1123
|
-
switch (errorCode) {
|
|
1124
|
-
case "ClientException":
|
|
1125
|
-
case "com.amazonaws.batch#ClientException":
|
|
1126
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1127
|
-
case "ServerException":
|
|
1128
|
-
case "com.amazonaws.batch#ServerException":
|
|
1129
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1130
|
-
default:
|
|
1131
|
-
const parsedBody = parsedOutput.body;
|
|
1132
|
-
return throwDefaultError({
|
|
1133
|
-
output,
|
|
1134
|
-
parsedBody,
|
|
1135
|
-
errorCode
|
|
1136
|
-
});
|
|
1137
|
-
}
|
|
1138
|
-
}, "de_DescribeJobQueuesCommandError");
|
|
1139
897
|
var de_DescribeJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1140
898
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1141
|
-
return
|
|
899
|
+
return de_CommandError(output, context);
|
|
1142
900
|
}
|
|
1143
901
|
const contents = (0, import_smithy_client.map)({
|
|
1144
902
|
$metadata: deserializeMetadata(output)
|
|
@@ -1150,31 +908,9 @@ var de_DescribeJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1150
908
|
Object.assign(contents, doc);
|
|
1151
909
|
return contents;
|
|
1152
910
|
}, "de_DescribeJobsCommand");
|
|
1153
|
-
var de_DescribeJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1154
|
-
const parsedOutput = {
|
|
1155
|
-
...output,
|
|
1156
|
-
body: await parseErrorBody(output.body, context)
|
|
1157
|
-
};
|
|
1158
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1159
|
-
switch (errorCode) {
|
|
1160
|
-
case "ClientException":
|
|
1161
|
-
case "com.amazonaws.batch#ClientException":
|
|
1162
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1163
|
-
case "ServerException":
|
|
1164
|
-
case "com.amazonaws.batch#ServerException":
|
|
1165
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1166
|
-
default:
|
|
1167
|
-
const parsedBody = parsedOutput.body;
|
|
1168
|
-
return throwDefaultError({
|
|
1169
|
-
output,
|
|
1170
|
-
parsedBody,
|
|
1171
|
-
errorCode
|
|
1172
|
-
});
|
|
1173
|
-
}
|
|
1174
|
-
}, "de_DescribeJobsCommandError");
|
|
1175
911
|
var de_DescribeSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1176
912
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1177
|
-
return
|
|
913
|
+
return de_CommandError(output, context);
|
|
1178
914
|
}
|
|
1179
915
|
const contents = (0, import_smithy_client.map)({
|
|
1180
916
|
$metadata: deserializeMetadata(output)
|
|
@@ -1186,31 +922,9 @@ var de_DescribeSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1186
922
|
Object.assign(contents, doc);
|
|
1187
923
|
return contents;
|
|
1188
924
|
}, "de_DescribeSchedulingPoliciesCommand");
|
|
1189
|
-
var de_DescribeSchedulingPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1190
|
-
const parsedOutput = {
|
|
1191
|
-
...output,
|
|
1192
|
-
body: await parseErrorBody(output.body, context)
|
|
1193
|
-
};
|
|
1194
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1195
|
-
switch (errorCode) {
|
|
1196
|
-
case "ClientException":
|
|
1197
|
-
case "com.amazonaws.batch#ClientException":
|
|
1198
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1199
|
-
case "ServerException":
|
|
1200
|
-
case "com.amazonaws.batch#ServerException":
|
|
1201
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1202
|
-
default:
|
|
1203
|
-
const parsedBody = parsedOutput.body;
|
|
1204
|
-
return throwDefaultError({
|
|
1205
|
-
output,
|
|
1206
|
-
parsedBody,
|
|
1207
|
-
errorCode
|
|
1208
|
-
});
|
|
1209
|
-
}
|
|
1210
|
-
}, "de_DescribeSchedulingPoliciesCommandError");
|
|
1211
925
|
var de_ListJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1212
926
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1213
|
-
return
|
|
927
|
+
return de_CommandError(output, context);
|
|
1214
928
|
}
|
|
1215
929
|
const contents = (0, import_smithy_client.map)({
|
|
1216
930
|
$metadata: deserializeMetadata(output)
|
|
@@ -1223,31 +937,9 @@ var de_ListJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1223
937
|
Object.assign(contents, doc);
|
|
1224
938
|
return contents;
|
|
1225
939
|
}, "de_ListJobsCommand");
|
|
1226
|
-
var de_ListJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
|
-
const parsedOutput = {
|
|
1228
|
-
...output,
|
|
1229
|
-
body: await parseErrorBody(output.body, context)
|
|
1230
|
-
};
|
|
1231
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1232
|
-
switch (errorCode) {
|
|
1233
|
-
case "ClientException":
|
|
1234
|
-
case "com.amazonaws.batch#ClientException":
|
|
1235
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1236
|
-
case "ServerException":
|
|
1237
|
-
case "com.amazonaws.batch#ServerException":
|
|
1238
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1239
|
-
default:
|
|
1240
|
-
const parsedBody = parsedOutput.body;
|
|
1241
|
-
return throwDefaultError({
|
|
1242
|
-
output,
|
|
1243
|
-
parsedBody,
|
|
1244
|
-
errorCode
|
|
1245
|
-
});
|
|
1246
|
-
}
|
|
1247
|
-
}, "de_ListJobsCommandError");
|
|
1248
940
|
var de_ListSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1249
941
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1250
|
-
return
|
|
942
|
+
return de_CommandError(output, context);
|
|
1251
943
|
}
|
|
1252
944
|
const contents = (0, import_smithy_client.map)({
|
|
1253
945
|
$metadata: deserializeMetadata(output)
|
|
@@ -1260,31 +952,9 @@ var de_ListSchedulingPoliciesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1260
952
|
Object.assign(contents, doc);
|
|
1261
953
|
return contents;
|
|
1262
954
|
}, "de_ListSchedulingPoliciesCommand");
|
|
1263
|
-
var de_ListSchedulingPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1264
|
-
const parsedOutput = {
|
|
1265
|
-
...output,
|
|
1266
|
-
body: await parseErrorBody(output.body, context)
|
|
1267
|
-
};
|
|
1268
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1269
|
-
switch (errorCode) {
|
|
1270
|
-
case "ClientException":
|
|
1271
|
-
case "com.amazonaws.batch#ClientException":
|
|
1272
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1273
|
-
case "ServerException":
|
|
1274
|
-
case "com.amazonaws.batch#ServerException":
|
|
1275
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1276
|
-
default:
|
|
1277
|
-
const parsedBody = parsedOutput.body;
|
|
1278
|
-
return throwDefaultError({
|
|
1279
|
-
output,
|
|
1280
|
-
parsedBody,
|
|
1281
|
-
errorCode
|
|
1282
|
-
});
|
|
1283
|
-
}
|
|
1284
|
-
}, "de_ListSchedulingPoliciesCommandError");
|
|
1285
955
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1286
956
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1287
|
-
return
|
|
957
|
+
return de_CommandError(output, context);
|
|
1288
958
|
}
|
|
1289
959
|
const contents = (0, import_smithy_client.map)({
|
|
1290
960
|
$metadata: deserializeMetadata(output)
|
|
@@ -1296,31 +966,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1296
966
|
Object.assign(contents, doc);
|
|
1297
967
|
return contents;
|
|
1298
968
|
}, "de_ListTagsForResourceCommand");
|
|
1299
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
-
const parsedOutput = {
|
|
1301
|
-
...output,
|
|
1302
|
-
body: await parseErrorBody(output.body, context)
|
|
1303
|
-
};
|
|
1304
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1305
|
-
switch (errorCode) {
|
|
1306
|
-
case "ClientException":
|
|
1307
|
-
case "com.amazonaws.batch#ClientException":
|
|
1308
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1309
|
-
case "ServerException":
|
|
1310
|
-
case "com.amazonaws.batch#ServerException":
|
|
1311
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1312
|
-
default:
|
|
1313
|
-
const parsedBody = parsedOutput.body;
|
|
1314
|
-
return throwDefaultError({
|
|
1315
|
-
output,
|
|
1316
|
-
parsedBody,
|
|
1317
|
-
errorCode
|
|
1318
|
-
});
|
|
1319
|
-
}
|
|
1320
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1321
969
|
var de_RegisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
970
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1323
|
-
return
|
|
971
|
+
return de_CommandError(output, context);
|
|
1324
972
|
}
|
|
1325
973
|
const contents = (0, import_smithy_client.map)({
|
|
1326
974
|
$metadata: deserializeMetadata(output)
|
|
@@ -1334,31 +982,9 @@ var de_RegisterJobDefinitionCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1334
982
|
Object.assign(contents, doc);
|
|
1335
983
|
return contents;
|
|
1336
984
|
}, "de_RegisterJobDefinitionCommand");
|
|
1337
|
-
var de_RegisterJobDefinitionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
-
const parsedOutput = {
|
|
1339
|
-
...output,
|
|
1340
|
-
body: await parseErrorBody(output.body, context)
|
|
1341
|
-
};
|
|
1342
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1343
|
-
switch (errorCode) {
|
|
1344
|
-
case "ClientException":
|
|
1345
|
-
case "com.amazonaws.batch#ClientException":
|
|
1346
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1347
|
-
case "ServerException":
|
|
1348
|
-
case "com.amazonaws.batch#ServerException":
|
|
1349
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1350
|
-
default:
|
|
1351
|
-
const parsedBody = parsedOutput.body;
|
|
1352
|
-
return throwDefaultError({
|
|
1353
|
-
output,
|
|
1354
|
-
parsedBody,
|
|
1355
|
-
errorCode
|
|
1356
|
-
});
|
|
1357
|
-
}
|
|
1358
|
-
}, "de_RegisterJobDefinitionCommandError");
|
|
1359
985
|
var de_SubmitJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1360
986
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1361
|
-
return
|
|
987
|
+
return de_CommandError(output, context);
|
|
1362
988
|
}
|
|
1363
989
|
const contents = (0, import_smithy_client.map)({
|
|
1364
990
|
$metadata: deserializeMetadata(output)
|
|
@@ -1372,31 +998,9 @@ var de_SubmitJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1372
998
|
Object.assign(contents, doc);
|
|
1373
999
|
return contents;
|
|
1374
1000
|
}, "de_SubmitJobCommand");
|
|
1375
|
-
var de_SubmitJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1376
|
-
const parsedOutput = {
|
|
1377
|
-
...output,
|
|
1378
|
-
body: await parseErrorBody(output.body, context)
|
|
1379
|
-
};
|
|
1380
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1381
|
-
switch (errorCode) {
|
|
1382
|
-
case "ClientException":
|
|
1383
|
-
case "com.amazonaws.batch#ClientException":
|
|
1384
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1385
|
-
case "ServerException":
|
|
1386
|
-
case "com.amazonaws.batch#ServerException":
|
|
1387
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1388
|
-
default:
|
|
1389
|
-
const parsedBody = parsedOutput.body;
|
|
1390
|
-
return throwDefaultError({
|
|
1391
|
-
output,
|
|
1392
|
-
parsedBody,
|
|
1393
|
-
errorCode
|
|
1394
|
-
});
|
|
1395
|
-
}
|
|
1396
|
-
}, "de_SubmitJobCommandError");
|
|
1397
1001
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
1002
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1399
|
-
return
|
|
1003
|
+
return de_CommandError(output, context);
|
|
1400
1004
|
}
|
|
1401
1005
|
const contents = (0, import_smithy_client.map)({
|
|
1402
1006
|
$metadata: deserializeMetadata(output)
|
|
@@ -1404,31 +1008,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1404
1008
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1405
1009
|
return contents;
|
|
1406
1010
|
}, "de_TagResourceCommand");
|
|
1407
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1408
|
-
const parsedOutput = {
|
|
1409
|
-
...output,
|
|
1410
|
-
body: await parseErrorBody(output.body, context)
|
|
1411
|
-
};
|
|
1412
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1413
|
-
switch (errorCode) {
|
|
1414
|
-
case "ClientException":
|
|
1415
|
-
case "com.amazonaws.batch#ClientException":
|
|
1416
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1417
|
-
case "ServerException":
|
|
1418
|
-
case "com.amazonaws.batch#ServerException":
|
|
1419
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1420
|
-
default:
|
|
1421
|
-
const parsedBody = parsedOutput.body;
|
|
1422
|
-
return throwDefaultError({
|
|
1423
|
-
output,
|
|
1424
|
-
parsedBody,
|
|
1425
|
-
errorCode
|
|
1426
|
-
});
|
|
1427
|
-
}
|
|
1428
|
-
}, "de_TagResourceCommandError");
|
|
1429
1011
|
var de_TerminateJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1430
1012
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1431
|
-
return
|
|
1013
|
+
return de_CommandError(output, context);
|
|
1432
1014
|
}
|
|
1433
1015
|
const contents = (0, import_smithy_client.map)({
|
|
1434
1016
|
$metadata: deserializeMetadata(output)
|
|
@@ -1436,31 +1018,9 @@ var de_TerminateJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1436
1018
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1437
1019
|
return contents;
|
|
1438
1020
|
}, "de_TerminateJobCommand");
|
|
1439
|
-
var de_TerminateJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
|
-
const parsedOutput = {
|
|
1441
|
-
...output,
|
|
1442
|
-
body: await parseErrorBody(output.body, context)
|
|
1443
|
-
};
|
|
1444
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1445
|
-
switch (errorCode) {
|
|
1446
|
-
case "ClientException":
|
|
1447
|
-
case "com.amazonaws.batch#ClientException":
|
|
1448
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1449
|
-
case "ServerException":
|
|
1450
|
-
case "com.amazonaws.batch#ServerException":
|
|
1451
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1452
|
-
default:
|
|
1453
|
-
const parsedBody = parsedOutput.body;
|
|
1454
|
-
return throwDefaultError({
|
|
1455
|
-
output,
|
|
1456
|
-
parsedBody,
|
|
1457
|
-
errorCode
|
|
1458
|
-
});
|
|
1459
|
-
}
|
|
1460
|
-
}, "de_TerminateJobCommandError");
|
|
1461
1021
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1462
1022
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1463
|
-
return
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1464
1024
|
}
|
|
1465
1025
|
const contents = (0, import_smithy_client.map)({
|
|
1466
1026
|
$metadata: deserializeMetadata(output)
|
|
@@ -1468,31 +1028,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1468
1028
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1469
1029
|
return contents;
|
|
1470
1030
|
}, "de_UntagResourceCommand");
|
|
1471
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1472
|
-
const parsedOutput = {
|
|
1473
|
-
...output,
|
|
1474
|
-
body: await parseErrorBody(output.body, context)
|
|
1475
|
-
};
|
|
1476
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1477
|
-
switch (errorCode) {
|
|
1478
|
-
case "ClientException":
|
|
1479
|
-
case "com.amazonaws.batch#ClientException":
|
|
1480
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1481
|
-
case "ServerException":
|
|
1482
|
-
case "com.amazonaws.batch#ServerException":
|
|
1483
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1484
|
-
default:
|
|
1485
|
-
const parsedBody = parsedOutput.body;
|
|
1486
|
-
return throwDefaultError({
|
|
1487
|
-
output,
|
|
1488
|
-
parsedBody,
|
|
1489
|
-
errorCode
|
|
1490
|
-
});
|
|
1491
|
-
}
|
|
1492
|
-
}, "de_UntagResourceCommandError");
|
|
1493
1031
|
var de_UpdateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1494
1032
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1495
|
-
return
|
|
1033
|
+
return de_CommandError(output, context);
|
|
1496
1034
|
}
|
|
1497
1035
|
const contents = (0, import_smithy_client.map)({
|
|
1498
1036
|
$metadata: deserializeMetadata(output)
|
|
@@ -1505,31 +1043,9 @@ var de_UpdateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1505
1043
|
Object.assign(contents, doc);
|
|
1506
1044
|
return contents;
|
|
1507
1045
|
}, "de_UpdateComputeEnvironmentCommand");
|
|
1508
|
-
var de_UpdateComputeEnvironmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1509
|
-
const parsedOutput = {
|
|
1510
|
-
...output,
|
|
1511
|
-
body: await parseErrorBody(output.body, context)
|
|
1512
|
-
};
|
|
1513
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1514
|
-
switch (errorCode) {
|
|
1515
|
-
case "ClientException":
|
|
1516
|
-
case "com.amazonaws.batch#ClientException":
|
|
1517
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1518
|
-
case "ServerException":
|
|
1519
|
-
case "com.amazonaws.batch#ServerException":
|
|
1520
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1521
|
-
default:
|
|
1522
|
-
const parsedBody = parsedOutput.body;
|
|
1523
|
-
return throwDefaultError({
|
|
1524
|
-
output,
|
|
1525
|
-
parsedBody,
|
|
1526
|
-
errorCode
|
|
1527
|
-
});
|
|
1528
|
-
}
|
|
1529
|
-
}, "de_UpdateComputeEnvironmentCommandError");
|
|
1530
1046
|
var de_UpdateJobQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1531
1047
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1532
|
-
return
|
|
1048
|
+
return de_CommandError(output, context);
|
|
1533
1049
|
}
|
|
1534
1050
|
const contents = (0, import_smithy_client.map)({
|
|
1535
1051
|
$metadata: deserializeMetadata(output)
|
|
@@ -1542,31 +1058,9 @@ var de_UpdateJobQueueCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1542
1058
|
Object.assign(contents, doc);
|
|
1543
1059
|
return contents;
|
|
1544
1060
|
}, "de_UpdateJobQueueCommand");
|
|
1545
|
-
var de_UpdateJobQueueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1546
|
-
const parsedOutput = {
|
|
1547
|
-
...output,
|
|
1548
|
-
body: await parseErrorBody(output.body, context)
|
|
1549
|
-
};
|
|
1550
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1551
|
-
switch (errorCode) {
|
|
1552
|
-
case "ClientException":
|
|
1553
|
-
case "com.amazonaws.batch#ClientException":
|
|
1554
|
-
throw await de_ClientExceptionRes(parsedOutput, context);
|
|
1555
|
-
case "ServerException":
|
|
1556
|
-
case "com.amazonaws.batch#ServerException":
|
|
1557
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1558
|
-
default:
|
|
1559
|
-
const parsedBody = parsedOutput.body;
|
|
1560
|
-
return throwDefaultError({
|
|
1561
|
-
output,
|
|
1562
|
-
parsedBody,
|
|
1563
|
-
errorCode
|
|
1564
|
-
});
|
|
1565
|
-
}
|
|
1566
|
-
}, "de_UpdateJobQueueCommandError");
|
|
1567
1061
|
var de_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1568
1062
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1569
|
-
return
|
|
1063
|
+
return de_CommandError(output, context);
|
|
1570
1064
|
}
|
|
1571
1065
|
const contents = (0, import_smithy_client.map)({
|
|
1572
1066
|
$metadata: deserializeMetadata(output)
|
|
@@ -1574,7 +1068,7 @@ var de_UpdateSchedulingPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1574
1068
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1575
1069
|
return contents;
|
|
1576
1070
|
}, "de_UpdateSchedulingPolicyCommand");
|
|
1577
|
-
var
|
|
1071
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1578
1072
|
const parsedOutput = {
|
|
1579
1073
|
...output,
|
|
1580
1074
|
body: await parseErrorBody(output.body, context)
|
|
@@ -1595,7 +1089,7 @@ var de_UpdateSchedulingPolicyCommandError = /* @__PURE__ */ __name(async (output
|
|
|
1595
1089
|
errorCode
|
|
1596
1090
|
});
|
|
1597
1091
|
}
|
|
1598
|
-
}, "
|
|
1092
|
+
}, "de_CommandError");
|
|
1599
1093
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(BatchServiceException);
|
|
1600
1094
|
var de_ClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1601
1095
|
const contents = (0, import_smithy_client.map)({});
|