@aws-sdk/client-securitylake 3.504.0 → 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 CHANGED
@@ -805,7 +805,7 @@ var se_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (input
805
805
  }, "se_UpdateSubscriberNotificationCommand");
806
806
  var de_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
807
807
  if (output.statusCode !== 200 && output.statusCode >= 300) {
808
- return de_CreateAwsLogSourceCommandError(output, context);
808
+ return de_CommandError(output, context);
809
809
  }
810
810
  const contents = (0, import_smithy_client.map)({
811
811
  $metadata: deserializeMetadata(output)
@@ -817,43 +817,9 @@ var de_CreateAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context
817
817
  Object.assign(contents, doc);
818
818
  return contents;
819
819
  }, "de_CreateAwsLogSourceCommand");
820
- var de_CreateAwsLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
821
- const parsedOutput = {
822
- ...output,
823
- body: await parseErrorBody(output.body, context)
824
- };
825
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
826
- switch (errorCode) {
827
- case "AccessDeniedException":
828
- case "com.amazonaws.securitylake#AccessDeniedException":
829
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
830
- case "BadRequestException":
831
- case "com.amazonaws.securitylake#BadRequestException":
832
- throw await de_BadRequestExceptionRes(parsedOutput, context);
833
- case "ConflictException":
834
- case "com.amazonaws.securitylake#ConflictException":
835
- throw await de_ConflictExceptionRes(parsedOutput, context);
836
- case "InternalServerException":
837
- case "com.amazonaws.securitylake#InternalServerException":
838
- throw await de_InternalServerExceptionRes(parsedOutput, context);
839
- case "ResourceNotFoundException":
840
- case "com.amazonaws.securitylake#ResourceNotFoundException":
841
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
842
- case "ThrottlingException":
843
- case "com.amazonaws.securitylake#ThrottlingException":
844
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
845
- default:
846
- const parsedBody = parsedOutput.body;
847
- return throwDefaultError({
848
- output,
849
- parsedBody,
850
- errorCode
851
- });
852
- }
853
- }, "de_CreateAwsLogSourceCommandError");
854
820
  var de_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
855
821
  if (output.statusCode !== 200 && output.statusCode >= 300) {
856
- return de_CreateCustomLogSourceCommandError(output, context);
822
+ return de_CommandError(output, context);
857
823
  }
858
824
  const contents = (0, import_smithy_client.map)({
859
825
  $metadata: deserializeMetadata(output)
@@ -865,43 +831,9 @@ var de_CreateCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, cont
865
831
  Object.assign(contents, doc);
866
832
  return contents;
867
833
  }, "de_CreateCustomLogSourceCommand");
868
- var de_CreateCustomLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
869
- const parsedOutput = {
870
- ...output,
871
- body: await parseErrorBody(output.body, context)
872
- };
873
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
874
- switch (errorCode) {
875
- case "AccessDeniedException":
876
- case "com.amazonaws.securitylake#AccessDeniedException":
877
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
878
- case "BadRequestException":
879
- case "com.amazonaws.securitylake#BadRequestException":
880
- throw await de_BadRequestExceptionRes(parsedOutput, context);
881
- case "ConflictException":
882
- case "com.amazonaws.securitylake#ConflictException":
883
- throw await de_ConflictExceptionRes(parsedOutput, context);
884
- case "InternalServerException":
885
- case "com.amazonaws.securitylake#InternalServerException":
886
- throw await de_InternalServerExceptionRes(parsedOutput, context);
887
- case "ResourceNotFoundException":
888
- case "com.amazonaws.securitylake#ResourceNotFoundException":
889
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
890
- case "ThrottlingException":
891
- case "com.amazonaws.securitylake#ThrottlingException":
892
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
893
- default:
894
- const parsedBody = parsedOutput.body;
895
- return throwDefaultError({
896
- output,
897
- parsedBody,
898
- errorCode
899
- });
900
- }
901
- }, "de_CreateCustomLogSourceCommandError");
902
834
  var de_CreateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
903
835
  if (output.statusCode !== 200 && output.statusCode >= 300) {
904
- return de_CreateDataLakeCommandError(output, context);
836
+ return de_CommandError(output, context);
905
837
  }
906
838
  const contents = (0, import_smithy_client.map)({
907
839
  $metadata: deserializeMetadata(output)
@@ -913,43 +845,9 @@ var de_CreateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) =>
913
845
  Object.assign(contents, doc);
914
846
  return contents;
915
847
  }, "de_CreateDataLakeCommand");
916
- var de_CreateDataLakeCommandError = /* @__PURE__ */ __name(async (output, context) => {
917
- const parsedOutput = {
918
- ...output,
919
- body: await parseErrorBody(output.body, context)
920
- };
921
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
922
- switch (errorCode) {
923
- case "AccessDeniedException":
924
- case "com.amazonaws.securitylake#AccessDeniedException":
925
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
926
- case "BadRequestException":
927
- case "com.amazonaws.securitylake#BadRequestException":
928
- throw await de_BadRequestExceptionRes(parsedOutput, context);
929
- case "ConflictException":
930
- case "com.amazonaws.securitylake#ConflictException":
931
- throw await de_ConflictExceptionRes(parsedOutput, context);
932
- case "InternalServerException":
933
- case "com.amazonaws.securitylake#InternalServerException":
934
- throw await de_InternalServerExceptionRes(parsedOutput, context);
935
- case "ResourceNotFoundException":
936
- case "com.amazonaws.securitylake#ResourceNotFoundException":
937
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
938
- case "ThrottlingException":
939
- case "com.amazonaws.securitylake#ThrottlingException":
940
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
941
- default:
942
- const parsedBody = parsedOutput.body;
943
- return throwDefaultError({
944
- output,
945
- parsedBody,
946
- errorCode
947
- });
948
- }
949
- }, "de_CreateDataLakeCommandError");
950
848
  var de_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
951
849
  if (output.statusCode !== 200 && output.statusCode >= 300) {
952
- return de_CreateDataLakeExceptionSubscriptionCommandError(output, context);
850
+ return de_CommandError(output, context);
953
851
  }
954
852
  const contents = (0, import_smithy_client.map)({
955
853
  $metadata: deserializeMetadata(output)
@@ -957,43 +855,9 @@ var de_CreateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async
957
855
  await (0, import_smithy_client.collectBody)(output.body, context);
958
856
  return contents;
959
857
  }, "de_CreateDataLakeExceptionSubscriptionCommand");
960
- var de_CreateDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
961
- const parsedOutput = {
962
- ...output,
963
- body: await parseErrorBody(output.body, context)
964
- };
965
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
966
- switch (errorCode) {
967
- case "AccessDeniedException":
968
- case "com.amazonaws.securitylake#AccessDeniedException":
969
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
970
- case "BadRequestException":
971
- case "com.amazonaws.securitylake#BadRequestException":
972
- throw await de_BadRequestExceptionRes(parsedOutput, context);
973
- case "ConflictException":
974
- case "com.amazonaws.securitylake#ConflictException":
975
- throw await de_ConflictExceptionRes(parsedOutput, context);
976
- case "InternalServerException":
977
- case "com.amazonaws.securitylake#InternalServerException":
978
- throw await de_InternalServerExceptionRes(parsedOutput, context);
979
- case "ResourceNotFoundException":
980
- case "com.amazonaws.securitylake#ResourceNotFoundException":
981
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
982
- case "ThrottlingException":
983
- case "com.amazonaws.securitylake#ThrottlingException":
984
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
985
- default:
986
- const parsedBody = parsedOutput.body;
987
- return throwDefaultError({
988
- output,
989
- parsedBody,
990
- errorCode
991
- });
992
- }
993
- }, "de_CreateDataLakeExceptionSubscriptionCommandError");
994
858
  var de_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
995
859
  if (output.statusCode !== 200 && output.statusCode >= 300) {
996
- return de_CreateDataLakeOrganizationConfigurationCommandError(output, context);
860
+ return de_CommandError(output, context);
997
861
  }
998
862
  const contents = (0, import_smithy_client.map)({
999
863
  $metadata: deserializeMetadata(output)
@@ -1001,43 +865,9 @@ var de_CreateDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(a
1001
865
  await (0, import_smithy_client.collectBody)(output.body, context);
1002
866
  return contents;
1003
867
  }, "de_CreateDataLakeOrganizationConfigurationCommand");
1004
- var de_CreateDataLakeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1005
- const parsedOutput = {
1006
- ...output,
1007
- body: await parseErrorBody(output.body, context)
1008
- };
1009
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1010
- switch (errorCode) {
1011
- case "AccessDeniedException":
1012
- case "com.amazonaws.securitylake#AccessDeniedException":
1013
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1014
- case "BadRequestException":
1015
- case "com.amazonaws.securitylake#BadRequestException":
1016
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1017
- case "ConflictException":
1018
- case "com.amazonaws.securitylake#ConflictException":
1019
- throw await de_ConflictExceptionRes(parsedOutput, context);
1020
- case "InternalServerException":
1021
- case "com.amazonaws.securitylake#InternalServerException":
1022
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1023
- case "ResourceNotFoundException":
1024
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1025
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1026
- case "ThrottlingException":
1027
- case "com.amazonaws.securitylake#ThrottlingException":
1028
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1029
- default:
1030
- const parsedBody = parsedOutput.body;
1031
- return throwDefaultError({
1032
- output,
1033
- parsedBody,
1034
- errorCode
1035
- });
1036
- }
1037
- }, "de_CreateDataLakeOrganizationConfigurationCommandError");
1038
868
  var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
1039
869
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1040
- return de_CreateSubscriberCommandError(output, context);
870
+ return de_CommandError(output, context);
1041
871
  }
1042
872
  const contents = (0, import_smithy_client.map)({
1043
873
  $metadata: deserializeMetadata(output)
@@ -1049,43 +879,9 @@ var de_CreateSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
1049
879
  Object.assign(contents, doc);
1050
880
  return contents;
1051
881
  }, "de_CreateSubscriberCommand");
1052
- var de_CreateSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
1053
- const parsedOutput = {
1054
- ...output,
1055
- body: await parseErrorBody(output.body, context)
1056
- };
1057
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1058
- switch (errorCode) {
1059
- case "AccessDeniedException":
1060
- case "com.amazonaws.securitylake#AccessDeniedException":
1061
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1062
- case "BadRequestException":
1063
- case "com.amazonaws.securitylake#BadRequestException":
1064
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1065
- case "ConflictException":
1066
- case "com.amazonaws.securitylake#ConflictException":
1067
- throw await de_ConflictExceptionRes(parsedOutput, context);
1068
- case "InternalServerException":
1069
- case "com.amazonaws.securitylake#InternalServerException":
1070
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1071
- case "ResourceNotFoundException":
1072
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1073
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1074
- case "ThrottlingException":
1075
- case "com.amazonaws.securitylake#ThrottlingException":
1076
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1077
- default:
1078
- const parsedBody = parsedOutput.body;
1079
- return throwDefaultError({
1080
- output,
1081
- parsedBody,
1082
- errorCode
1083
- });
1084
- }
1085
- }, "de_CreateSubscriberCommandError");
1086
882
  var de_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
1087
883
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1088
- return de_CreateSubscriberNotificationCommandError(output, context);
884
+ return de_CommandError(output, context);
1089
885
  }
1090
886
  const contents = (0, import_smithy_client.map)({
1091
887
  $metadata: deserializeMetadata(output)
@@ -1097,43 +893,9 @@ var de_CreateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (outpu
1097
893
  Object.assign(contents, doc);
1098
894
  return contents;
1099
895
  }, "de_CreateSubscriberNotificationCommand");
1100
- var de_CreateSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1101
- const parsedOutput = {
1102
- ...output,
1103
- body: await parseErrorBody(output.body, context)
1104
- };
1105
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1106
- switch (errorCode) {
1107
- case "AccessDeniedException":
1108
- case "com.amazonaws.securitylake#AccessDeniedException":
1109
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1110
- case "BadRequestException":
1111
- case "com.amazonaws.securitylake#BadRequestException":
1112
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1113
- case "ConflictException":
1114
- case "com.amazonaws.securitylake#ConflictException":
1115
- throw await de_ConflictExceptionRes(parsedOutput, context);
1116
- case "InternalServerException":
1117
- case "com.amazonaws.securitylake#InternalServerException":
1118
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1119
- case "ResourceNotFoundException":
1120
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1121
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1122
- case "ThrottlingException":
1123
- case "com.amazonaws.securitylake#ThrottlingException":
1124
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1125
- default:
1126
- const parsedBody = parsedOutput.body;
1127
- return throwDefaultError({
1128
- output,
1129
- parsedBody,
1130
- errorCode
1131
- });
1132
- }
1133
- }, "de_CreateSubscriberNotificationCommandError");
1134
896
  var de_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1135
897
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1136
- return de_DeleteAwsLogSourceCommandError(output, context);
898
+ return de_CommandError(output, context);
1137
899
  }
1138
900
  const contents = (0, import_smithy_client.map)({
1139
901
  $metadata: deserializeMetadata(output)
@@ -1145,43 +907,9 @@ var de_DeleteAwsLogSourceCommand = /* @__PURE__ */ __name(async (output, context
1145
907
  Object.assign(contents, doc);
1146
908
  return contents;
1147
909
  }, "de_DeleteAwsLogSourceCommand");
1148
- var de_DeleteAwsLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1149
- const parsedOutput = {
1150
- ...output,
1151
- body: await parseErrorBody(output.body, context)
1152
- };
1153
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1154
- switch (errorCode) {
1155
- case "AccessDeniedException":
1156
- case "com.amazonaws.securitylake#AccessDeniedException":
1157
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1158
- case "BadRequestException":
1159
- case "com.amazonaws.securitylake#BadRequestException":
1160
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1161
- case "ConflictException":
1162
- case "com.amazonaws.securitylake#ConflictException":
1163
- throw await de_ConflictExceptionRes(parsedOutput, context);
1164
- case "InternalServerException":
1165
- case "com.amazonaws.securitylake#InternalServerException":
1166
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1167
- case "ResourceNotFoundException":
1168
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1169
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1170
- case "ThrottlingException":
1171
- case "com.amazonaws.securitylake#ThrottlingException":
1172
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1173
- default:
1174
- const parsedBody = parsedOutput.body;
1175
- return throwDefaultError({
1176
- output,
1177
- parsedBody,
1178
- errorCode
1179
- });
1180
- }
1181
- }, "de_DeleteAwsLogSourceCommandError");
1182
910
  var de_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1183
911
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1184
- return de_DeleteCustomLogSourceCommandError(output, context);
912
+ return de_CommandError(output, context);
1185
913
  }
1186
914
  const contents = (0, import_smithy_client.map)({
1187
915
  $metadata: deserializeMetadata(output)
@@ -1189,43 +917,9 @@ var de_DeleteCustomLogSourceCommand = /* @__PURE__ */ __name(async (output, cont
1189
917
  await (0, import_smithy_client.collectBody)(output.body, context);
1190
918
  return contents;
1191
919
  }, "de_DeleteCustomLogSourceCommand");
1192
- var de_DeleteCustomLogSourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1193
- const parsedOutput = {
1194
- ...output,
1195
- body: await parseErrorBody(output.body, context)
1196
- };
1197
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1198
- switch (errorCode) {
1199
- case "AccessDeniedException":
1200
- case "com.amazonaws.securitylake#AccessDeniedException":
1201
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1202
- case "BadRequestException":
1203
- case "com.amazonaws.securitylake#BadRequestException":
1204
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1205
- case "ConflictException":
1206
- case "com.amazonaws.securitylake#ConflictException":
1207
- throw await de_ConflictExceptionRes(parsedOutput, context);
1208
- case "InternalServerException":
1209
- case "com.amazonaws.securitylake#InternalServerException":
1210
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1211
- case "ResourceNotFoundException":
1212
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1213
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1214
- case "ThrottlingException":
1215
- case "com.amazonaws.securitylake#ThrottlingException":
1216
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1217
- default:
1218
- const parsedBody = parsedOutput.body;
1219
- return throwDefaultError({
1220
- output,
1221
- parsedBody,
1222
- errorCode
1223
- });
1224
- }
1225
- }, "de_DeleteCustomLogSourceCommandError");
1226
920
  var de_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
1227
921
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1228
- return de_DeleteDataLakeCommandError(output, context);
922
+ return de_CommandError(output, context);
1229
923
  }
1230
924
  const contents = (0, import_smithy_client.map)({
1231
925
  $metadata: deserializeMetadata(output)
@@ -1233,43 +927,9 @@ var de_DeleteDataLakeCommand = /* @__PURE__ */ __name(async (output, context) =>
1233
927
  await (0, import_smithy_client.collectBody)(output.body, context);
1234
928
  return contents;
1235
929
  }, "de_DeleteDataLakeCommand");
1236
- var de_DeleteDataLakeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1237
- const parsedOutput = {
1238
- ...output,
1239
- body: await parseErrorBody(output.body, context)
1240
- };
1241
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1242
- switch (errorCode) {
1243
- case "AccessDeniedException":
1244
- case "com.amazonaws.securitylake#AccessDeniedException":
1245
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1246
- case "BadRequestException":
1247
- case "com.amazonaws.securitylake#BadRequestException":
1248
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1249
- case "ConflictException":
1250
- case "com.amazonaws.securitylake#ConflictException":
1251
- throw await de_ConflictExceptionRes(parsedOutput, context);
1252
- case "InternalServerException":
1253
- case "com.amazonaws.securitylake#InternalServerException":
1254
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1255
- case "ResourceNotFoundException":
1256
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1257
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1258
- case "ThrottlingException":
1259
- case "com.amazonaws.securitylake#ThrottlingException":
1260
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1261
- default:
1262
- const parsedBody = parsedOutput.body;
1263
- return throwDefaultError({
1264
- output,
1265
- parsedBody,
1266
- errorCode
1267
- });
1268
- }
1269
- }, "de_DeleteDataLakeCommandError");
1270
930
  var de_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1271
931
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1272
- return de_DeleteDataLakeExceptionSubscriptionCommandError(output, context);
932
+ return de_CommandError(output, context);
1273
933
  }
1274
934
  const contents = (0, import_smithy_client.map)({
1275
935
  $metadata: deserializeMetadata(output)
@@ -1277,43 +937,9 @@ var de_DeleteDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async
1277
937
  await (0, import_smithy_client.collectBody)(output.body, context);
1278
938
  return contents;
1279
939
  }, "de_DeleteDataLakeExceptionSubscriptionCommand");
1280
- var de_DeleteDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1281
- const parsedOutput = {
1282
- ...output,
1283
- body: await parseErrorBody(output.body, context)
1284
- };
1285
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1286
- switch (errorCode) {
1287
- case "AccessDeniedException":
1288
- case "com.amazonaws.securitylake#AccessDeniedException":
1289
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1290
- case "BadRequestException":
1291
- case "com.amazonaws.securitylake#BadRequestException":
1292
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1293
- case "ConflictException":
1294
- case "com.amazonaws.securitylake#ConflictException":
1295
- throw await de_ConflictExceptionRes(parsedOutput, context);
1296
- case "InternalServerException":
1297
- case "com.amazonaws.securitylake#InternalServerException":
1298
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1299
- case "ResourceNotFoundException":
1300
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1301
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1302
- case "ThrottlingException":
1303
- case "com.amazonaws.securitylake#ThrottlingException":
1304
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1305
- default:
1306
- const parsedBody = parsedOutput.body;
1307
- return throwDefaultError({
1308
- output,
1309
- parsedBody,
1310
- errorCode
1311
- });
1312
- }
1313
- }, "de_DeleteDataLakeExceptionSubscriptionCommandError");
1314
940
  var de_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1315
941
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1316
- return de_DeleteDataLakeOrganizationConfigurationCommandError(output, context);
942
+ return de_CommandError(output, context);
1317
943
  }
1318
944
  const contents = (0, import_smithy_client.map)({
1319
945
  $metadata: deserializeMetadata(output)
@@ -1321,43 +947,9 @@ var de_DeleteDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(a
1321
947
  await (0, import_smithy_client.collectBody)(output.body, context);
1322
948
  return contents;
1323
949
  }, "de_DeleteDataLakeOrganizationConfigurationCommand");
1324
- var de_DeleteDataLakeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1325
- const parsedOutput = {
1326
- ...output,
1327
- body: await parseErrorBody(output.body, context)
1328
- };
1329
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1330
- switch (errorCode) {
1331
- case "AccessDeniedException":
1332
- case "com.amazonaws.securitylake#AccessDeniedException":
1333
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1334
- case "BadRequestException":
1335
- case "com.amazonaws.securitylake#BadRequestException":
1336
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1337
- case "ConflictException":
1338
- case "com.amazonaws.securitylake#ConflictException":
1339
- throw await de_ConflictExceptionRes(parsedOutput, context);
1340
- case "InternalServerException":
1341
- case "com.amazonaws.securitylake#InternalServerException":
1342
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1343
- case "ResourceNotFoundException":
1344
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1345
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1346
- case "ThrottlingException":
1347
- case "com.amazonaws.securitylake#ThrottlingException":
1348
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1349
- default:
1350
- const parsedBody = parsedOutput.body;
1351
- return throwDefaultError({
1352
- output,
1353
- parsedBody,
1354
- errorCode
1355
- });
1356
- }
1357
- }, "de_DeleteDataLakeOrganizationConfigurationCommandError");
1358
950
  var de_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
1359
951
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1360
- return de_DeleteSubscriberCommandError(output, context);
952
+ return de_CommandError(output, context);
1361
953
  }
1362
954
  const contents = (0, import_smithy_client.map)({
1363
955
  $metadata: deserializeMetadata(output)
@@ -1365,43 +957,9 @@ var de_DeleteSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
1365
957
  await (0, import_smithy_client.collectBody)(output.body, context);
1366
958
  return contents;
1367
959
  }, "de_DeleteSubscriberCommand");
1368
- var de_DeleteSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
1369
- const parsedOutput = {
1370
- ...output,
1371
- body: await parseErrorBody(output.body, context)
1372
- };
1373
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1374
- switch (errorCode) {
1375
- case "AccessDeniedException":
1376
- case "com.amazonaws.securitylake#AccessDeniedException":
1377
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1378
- case "BadRequestException":
1379
- case "com.amazonaws.securitylake#BadRequestException":
1380
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1381
- case "ConflictException":
1382
- case "com.amazonaws.securitylake#ConflictException":
1383
- throw await de_ConflictExceptionRes(parsedOutput, context);
1384
- case "InternalServerException":
1385
- case "com.amazonaws.securitylake#InternalServerException":
1386
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1387
- case "ResourceNotFoundException":
1388
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1389
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1390
- case "ThrottlingException":
1391
- case "com.amazonaws.securitylake#ThrottlingException":
1392
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1393
- default:
1394
- const parsedBody = parsedOutput.body;
1395
- return throwDefaultError({
1396
- output,
1397
- parsedBody,
1398
- errorCode
1399
- });
1400
- }
1401
- }, "de_DeleteSubscriberCommandError");
1402
960
  var de_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
1403
961
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1404
- return de_DeleteSubscriberNotificationCommandError(output, context);
962
+ return de_CommandError(output, context);
1405
963
  }
1406
964
  const contents = (0, import_smithy_client.map)({
1407
965
  $metadata: deserializeMetadata(output)
@@ -1409,43 +967,9 @@ var de_DeleteSubscriberNotificationCommand = /* @__PURE__ */ __name(async (outpu
1409
967
  await (0, import_smithy_client.collectBody)(output.body, context);
1410
968
  return contents;
1411
969
  }, "de_DeleteSubscriberNotificationCommand");
1412
- var de_DeleteSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1413
- const parsedOutput = {
1414
- ...output,
1415
- body: await parseErrorBody(output.body, context)
1416
- };
1417
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1418
- switch (errorCode) {
1419
- case "AccessDeniedException":
1420
- case "com.amazonaws.securitylake#AccessDeniedException":
1421
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1422
- case "BadRequestException":
1423
- case "com.amazonaws.securitylake#BadRequestException":
1424
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1425
- case "ConflictException":
1426
- case "com.amazonaws.securitylake#ConflictException":
1427
- throw await de_ConflictExceptionRes(parsedOutput, context);
1428
- case "InternalServerException":
1429
- case "com.amazonaws.securitylake#InternalServerException":
1430
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1431
- case "ResourceNotFoundException":
1432
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1433
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1434
- case "ThrottlingException":
1435
- case "com.amazonaws.securitylake#ThrottlingException":
1436
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1437
- default:
1438
- const parsedBody = parsedOutput.body;
1439
- return throwDefaultError({
1440
- output,
1441
- parsedBody,
1442
- errorCode
1443
- });
1444
- }
1445
- }, "de_DeleteSubscriberNotificationCommandError");
1446
970
  var de_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {
1447
971
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1448
- return de_DeregisterDataLakeDelegatedAdministratorCommandError(output, context);
972
+ return de_CommandError(output, context);
1449
973
  }
1450
974
  const contents = (0, import_smithy_client.map)({
1451
975
  $metadata: deserializeMetadata(output)
@@ -1453,43 +977,9 @@ var de_DeregisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(
1453
977
  await (0, import_smithy_client.collectBody)(output.body, context);
1454
978
  return contents;
1455
979
  }, "de_DeregisterDataLakeDelegatedAdministratorCommand");
1456
- var de_DeregisterDataLakeDelegatedAdministratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
1457
- const parsedOutput = {
1458
- ...output,
1459
- body: await parseErrorBody(output.body, context)
1460
- };
1461
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1462
- switch (errorCode) {
1463
- case "AccessDeniedException":
1464
- case "com.amazonaws.securitylake#AccessDeniedException":
1465
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1466
- case "BadRequestException":
1467
- case "com.amazonaws.securitylake#BadRequestException":
1468
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1469
- case "ConflictException":
1470
- case "com.amazonaws.securitylake#ConflictException":
1471
- throw await de_ConflictExceptionRes(parsedOutput, context);
1472
- case "InternalServerException":
1473
- case "com.amazonaws.securitylake#InternalServerException":
1474
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1475
- case "ResourceNotFoundException":
1476
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1477
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1478
- case "ThrottlingException":
1479
- case "com.amazonaws.securitylake#ThrottlingException":
1480
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1481
- default:
1482
- const parsedBody = parsedOutput.body;
1483
- return throwDefaultError({
1484
- output,
1485
- parsedBody,
1486
- errorCode
1487
- });
1488
- }
1489
- }, "de_DeregisterDataLakeDelegatedAdministratorCommandError");
1490
980
  var de_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
1491
981
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1492
- return de_GetDataLakeExceptionSubscriptionCommandError(output, context);
982
+ return de_CommandError(output, context);
1493
983
  }
1494
984
  const contents = (0, import_smithy_client.map)({
1495
985
  $metadata: deserializeMetadata(output)
@@ -1503,43 +993,9 @@ var de_GetDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (o
1503
993
  Object.assign(contents, doc);
1504
994
  return contents;
1505
995
  }, "de_GetDataLakeExceptionSubscriptionCommand");
1506
- var de_GetDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1507
- const parsedOutput = {
1508
- ...output,
1509
- body: await parseErrorBody(output.body, context)
1510
- };
1511
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1512
- switch (errorCode) {
1513
- case "AccessDeniedException":
1514
- case "com.amazonaws.securitylake#AccessDeniedException":
1515
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1516
- case "BadRequestException":
1517
- case "com.amazonaws.securitylake#BadRequestException":
1518
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1519
- case "ConflictException":
1520
- case "com.amazonaws.securitylake#ConflictException":
1521
- throw await de_ConflictExceptionRes(parsedOutput, context);
1522
- case "InternalServerException":
1523
- case "com.amazonaws.securitylake#InternalServerException":
1524
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1525
- case "ResourceNotFoundException":
1526
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1527
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1528
- case "ThrottlingException":
1529
- case "com.amazonaws.securitylake#ThrottlingException":
1530
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1531
- default:
1532
- const parsedBody = parsedOutput.body;
1533
- return throwDefaultError({
1534
- output,
1535
- parsedBody,
1536
- errorCode
1537
- });
1538
- }
1539
- }, "de_GetDataLakeExceptionSubscriptionCommandError");
1540
996
  var de_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1541
997
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1542
- return de_GetDataLakeOrganizationConfigurationCommandError(output, context);
998
+ return de_CommandError(output, context);
1543
999
  }
1544
1000
  const contents = (0, import_smithy_client.map)({
1545
1001
  $metadata: deserializeMetadata(output)
@@ -1551,43 +1007,9 @@ var de_GetDataLakeOrganizationConfigurationCommand = /* @__PURE__ */ __name(asyn
1551
1007
  Object.assign(contents, doc);
1552
1008
  return contents;
1553
1009
  }, "de_GetDataLakeOrganizationConfigurationCommand");
1554
- var de_GetDataLakeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1555
- const parsedOutput = {
1556
- ...output,
1557
- body: await parseErrorBody(output.body, context)
1558
- };
1559
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1560
- switch (errorCode) {
1561
- case "AccessDeniedException":
1562
- case "com.amazonaws.securitylake#AccessDeniedException":
1563
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1564
- case "BadRequestException":
1565
- case "com.amazonaws.securitylake#BadRequestException":
1566
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1567
- case "ConflictException":
1568
- case "com.amazonaws.securitylake#ConflictException":
1569
- throw await de_ConflictExceptionRes(parsedOutput, context);
1570
- case "InternalServerException":
1571
- case "com.amazonaws.securitylake#InternalServerException":
1572
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1573
- case "ResourceNotFoundException":
1574
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1575
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1576
- case "ThrottlingException":
1577
- case "com.amazonaws.securitylake#ThrottlingException":
1578
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1579
- default:
1580
- const parsedBody = parsedOutput.body;
1581
- return throwDefaultError({
1582
- output,
1583
- parsedBody,
1584
- errorCode
1585
- });
1586
- }
1587
- }, "de_GetDataLakeOrganizationConfigurationCommandError");
1588
1010
  var de_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1589
1011
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1590
- return de_GetDataLakeSourcesCommandError(output, context);
1012
+ return de_CommandError(output, context);
1591
1013
  }
1592
1014
  const contents = (0, import_smithy_client.map)({
1593
1015
  $metadata: deserializeMetadata(output)
@@ -1601,43 +1023,9 @@ var de_GetDataLakeSourcesCommand = /* @__PURE__ */ __name(async (output, context
1601
1023
  Object.assign(contents, doc);
1602
1024
  return contents;
1603
1025
  }, "de_GetDataLakeSourcesCommand");
1604
- var de_GetDataLakeSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1605
- const parsedOutput = {
1606
- ...output,
1607
- body: await parseErrorBody(output.body, context)
1608
- };
1609
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1610
- switch (errorCode) {
1611
- case "AccessDeniedException":
1612
- case "com.amazonaws.securitylake#AccessDeniedException":
1613
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1614
- case "BadRequestException":
1615
- case "com.amazonaws.securitylake#BadRequestException":
1616
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1617
- case "ConflictException":
1618
- case "com.amazonaws.securitylake#ConflictException":
1619
- throw await de_ConflictExceptionRes(parsedOutput, context);
1620
- case "InternalServerException":
1621
- case "com.amazonaws.securitylake#InternalServerException":
1622
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1623
- case "ResourceNotFoundException":
1624
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1625
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1626
- case "ThrottlingException":
1627
- case "com.amazonaws.securitylake#ThrottlingException":
1628
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1629
- default:
1630
- const parsedBody = parsedOutput.body;
1631
- return throwDefaultError({
1632
- output,
1633
- parsedBody,
1634
- errorCode
1635
- });
1636
- }
1637
- }, "de_GetDataLakeSourcesCommandError");
1638
1026
  var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
1639
1027
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1640
- return de_GetSubscriberCommandError(output, context);
1028
+ return de_CommandError(output, context);
1641
1029
  }
1642
1030
  const contents = (0, import_smithy_client.map)({
1643
1031
  $metadata: deserializeMetadata(output)
@@ -1649,43 +1037,9 @@ var de_GetSubscriberCommand = /* @__PURE__ */ __name(async (output, context) =>
1649
1037
  Object.assign(contents, doc);
1650
1038
  return contents;
1651
1039
  }, "de_GetSubscriberCommand");
1652
- var de_GetSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
1653
- const parsedOutput = {
1654
- ...output,
1655
- body: await parseErrorBody(output.body, context)
1656
- };
1657
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1658
- switch (errorCode) {
1659
- case "AccessDeniedException":
1660
- case "com.amazonaws.securitylake#AccessDeniedException":
1661
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1662
- case "BadRequestException":
1663
- case "com.amazonaws.securitylake#BadRequestException":
1664
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1665
- case "ConflictException":
1666
- case "com.amazonaws.securitylake#ConflictException":
1667
- throw await de_ConflictExceptionRes(parsedOutput, context);
1668
- case "InternalServerException":
1669
- case "com.amazonaws.securitylake#InternalServerException":
1670
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1671
- case "ResourceNotFoundException":
1672
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1673
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1674
- case "ThrottlingException":
1675
- case "com.amazonaws.securitylake#ThrottlingException":
1676
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1677
- default:
1678
- const parsedBody = parsedOutput.body;
1679
- return throwDefaultError({
1680
- output,
1681
- parsedBody,
1682
- errorCode
1683
- });
1684
- }
1685
- }, "de_GetSubscriberCommandError");
1686
1040
  var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1687
1041
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1688
- return de_ListDataLakeExceptionsCommandError(output, context);
1042
+ return de_CommandError(output, context);
1689
1043
  }
1690
1044
  const contents = (0, import_smithy_client.map)({
1691
1045
  $metadata: deserializeMetadata(output)
@@ -1698,43 +1052,9 @@ var de_ListDataLakeExceptionsCommand = /* @__PURE__ */ __name(async (output, con
1698
1052
  Object.assign(contents, doc);
1699
1053
  return contents;
1700
1054
  }, "de_ListDataLakeExceptionsCommand");
1701
- var de_ListDataLakeExceptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1702
- const parsedOutput = {
1703
- ...output,
1704
- body: await parseErrorBody(output.body, context)
1705
- };
1706
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1707
- switch (errorCode) {
1708
- case "AccessDeniedException":
1709
- case "com.amazonaws.securitylake#AccessDeniedException":
1710
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1711
- case "BadRequestException":
1712
- case "com.amazonaws.securitylake#BadRequestException":
1713
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1714
- case "ConflictException":
1715
- case "com.amazonaws.securitylake#ConflictException":
1716
- throw await de_ConflictExceptionRes(parsedOutput, context);
1717
- case "InternalServerException":
1718
- case "com.amazonaws.securitylake#InternalServerException":
1719
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1720
- case "ResourceNotFoundException":
1721
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1722
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1723
- case "ThrottlingException":
1724
- case "com.amazonaws.securitylake#ThrottlingException":
1725
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1726
- default:
1727
- const parsedBody = parsedOutput.body;
1728
- return throwDefaultError({
1729
- output,
1730
- parsedBody,
1731
- errorCode
1732
- });
1733
- }
1734
- }, "de_ListDataLakeExceptionsCommandError");
1735
1055
  var de_ListDataLakesCommand = /* @__PURE__ */ __name(async (output, context) => {
1736
1056
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1737
- return de_ListDataLakesCommandError(output, context);
1057
+ return de_CommandError(output, context);
1738
1058
  }
1739
1059
  const contents = (0, import_smithy_client.map)({
1740
1060
  $metadata: deserializeMetadata(output)
@@ -1746,43 +1066,9 @@ var de_ListDataLakesCommand = /* @__PURE__ */ __name(async (output, context) =>
1746
1066
  Object.assign(contents, doc);
1747
1067
  return contents;
1748
1068
  }, "de_ListDataLakesCommand");
1749
- var de_ListDataLakesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1750
- const parsedOutput = {
1751
- ...output,
1752
- body: await parseErrorBody(output.body, context)
1753
- };
1754
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1755
- switch (errorCode) {
1756
- case "AccessDeniedException":
1757
- case "com.amazonaws.securitylake#AccessDeniedException":
1758
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1759
- case "BadRequestException":
1760
- case "com.amazonaws.securitylake#BadRequestException":
1761
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1762
- case "ConflictException":
1763
- case "com.amazonaws.securitylake#ConflictException":
1764
- throw await de_ConflictExceptionRes(parsedOutput, context);
1765
- case "InternalServerException":
1766
- case "com.amazonaws.securitylake#InternalServerException":
1767
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1768
- case "ResourceNotFoundException":
1769
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1770
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1771
- case "ThrottlingException":
1772
- case "com.amazonaws.securitylake#ThrottlingException":
1773
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1774
- default:
1775
- const parsedBody = parsedOutput.body;
1776
- return throwDefaultError({
1777
- output,
1778
- parsedBody,
1779
- errorCode
1780
- });
1781
- }
1782
- }, "de_ListDataLakesCommandError");
1783
1069
  var de_ListLogSourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1784
1070
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1785
- return de_ListLogSourcesCommandError(output, context);
1071
+ return de_CommandError(output, context);
1786
1072
  }
1787
1073
  const contents = (0, import_smithy_client.map)({
1788
1074
  $metadata: deserializeMetadata(output)
@@ -1795,43 +1081,9 @@ var de_ListLogSourcesCommand = /* @__PURE__ */ __name(async (output, context) =>
1795
1081
  Object.assign(contents, doc);
1796
1082
  return contents;
1797
1083
  }, "de_ListLogSourcesCommand");
1798
- var de_ListLogSourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1799
- const parsedOutput = {
1800
- ...output,
1801
- body: await parseErrorBody(output.body, context)
1802
- };
1803
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1804
- switch (errorCode) {
1805
- case "AccessDeniedException":
1806
- case "com.amazonaws.securitylake#AccessDeniedException":
1807
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1808
- case "BadRequestException":
1809
- case "com.amazonaws.securitylake#BadRequestException":
1810
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1811
- case "ConflictException":
1812
- case "com.amazonaws.securitylake#ConflictException":
1813
- throw await de_ConflictExceptionRes(parsedOutput, context);
1814
- case "InternalServerException":
1815
- case "com.amazonaws.securitylake#InternalServerException":
1816
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1817
- case "ResourceNotFoundException":
1818
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1819
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1820
- case "ThrottlingException":
1821
- case "com.amazonaws.securitylake#ThrottlingException":
1822
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1823
- default:
1824
- const parsedBody = parsedOutput.body;
1825
- return throwDefaultError({
1826
- output,
1827
- parsedBody,
1828
- errorCode
1829
- });
1830
- }
1831
- }, "de_ListLogSourcesCommandError");
1832
1084
  var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) => {
1833
1085
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1834
- return de_ListSubscribersCommandError(output, context);
1086
+ return de_CommandError(output, context);
1835
1087
  }
1836
1088
  const contents = (0, import_smithy_client.map)({
1837
1089
  $metadata: deserializeMetadata(output)
@@ -1844,43 +1096,9 @@ var de_ListSubscribersCommand = /* @__PURE__ */ __name(async (output, context) =
1844
1096
  Object.assign(contents, doc);
1845
1097
  return contents;
1846
1098
  }, "de_ListSubscribersCommand");
1847
- var de_ListSubscribersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1848
- const parsedOutput = {
1849
- ...output,
1850
- body: await parseErrorBody(output.body, context)
1851
- };
1852
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1853
- switch (errorCode) {
1854
- case "AccessDeniedException":
1855
- case "com.amazonaws.securitylake#AccessDeniedException":
1856
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1857
- case "BadRequestException":
1858
- case "com.amazonaws.securitylake#BadRequestException":
1859
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1860
- case "ConflictException":
1861
- case "com.amazonaws.securitylake#ConflictException":
1862
- throw await de_ConflictExceptionRes(parsedOutput, context);
1863
- case "InternalServerException":
1864
- case "com.amazonaws.securitylake#InternalServerException":
1865
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1866
- case "ResourceNotFoundException":
1867
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1868
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1869
- case "ThrottlingException":
1870
- case "com.amazonaws.securitylake#ThrottlingException":
1871
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1872
- default:
1873
- const parsedBody = parsedOutput.body;
1874
- return throwDefaultError({
1875
- output,
1876
- parsedBody,
1877
- errorCode
1878
- });
1879
- }
1880
- }, "de_ListSubscribersCommandError");
1881
1099
  var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1882
1100
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1883
- return de_ListTagsForResourceCommandError(output, context);
1101
+ return de_CommandError(output, context);
1884
1102
  }
1885
1103
  const contents = (0, import_smithy_client.map)({
1886
1104
  $metadata: deserializeMetadata(output)
@@ -1892,43 +1110,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
1892
1110
  Object.assign(contents, doc);
1893
1111
  return contents;
1894
1112
  }, "de_ListTagsForResourceCommand");
1895
- var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1896
- const parsedOutput = {
1897
- ...output,
1898
- body: await parseErrorBody(output.body, context)
1899
- };
1900
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1901
- switch (errorCode) {
1902
- case "AccessDeniedException":
1903
- case "com.amazonaws.securitylake#AccessDeniedException":
1904
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1905
- case "BadRequestException":
1906
- case "com.amazonaws.securitylake#BadRequestException":
1907
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1908
- case "ConflictException":
1909
- case "com.amazonaws.securitylake#ConflictException":
1910
- throw await de_ConflictExceptionRes(parsedOutput, context);
1911
- case "InternalServerException":
1912
- case "com.amazonaws.securitylake#InternalServerException":
1913
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1914
- case "ResourceNotFoundException":
1915
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1916
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1917
- case "ThrottlingException":
1918
- case "com.amazonaws.securitylake#ThrottlingException":
1919
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1920
- default:
1921
- const parsedBody = parsedOutput.body;
1922
- return throwDefaultError({
1923
- output,
1924
- parsedBody,
1925
- errorCode
1926
- });
1927
- }
1928
- }, "de_ListTagsForResourceCommandError");
1929
1113
  var de_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(async (output, context) => {
1930
1114
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1931
- return de_RegisterDataLakeDelegatedAdministratorCommandError(output, context);
1115
+ return de_CommandError(output, context);
1932
1116
  }
1933
1117
  const contents = (0, import_smithy_client.map)({
1934
1118
  $metadata: deserializeMetadata(output)
@@ -1936,43 +1120,9 @@ var de_RegisterDataLakeDelegatedAdministratorCommand = /* @__PURE__ */ __name(as
1936
1120
  await (0, import_smithy_client.collectBody)(output.body, context);
1937
1121
  return contents;
1938
1122
  }, "de_RegisterDataLakeDelegatedAdministratorCommand");
1939
- var de_RegisterDataLakeDelegatedAdministratorCommandError = /* @__PURE__ */ __name(async (output, context) => {
1940
- const parsedOutput = {
1941
- ...output,
1942
- body: await parseErrorBody(output.body, context)
1943
- };
1944
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1945
- switch (errorCode) {
1946
- case "AccessDeniedException":
1947
- case "com.amazonaws.securitylake#AccessDeniedException":
1948
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1949
- case "BadRequestException":
1950
- case "com.amazonaws.securitylake#BadRequestException":
1951
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1952
- case "ConflictException":
1953
- case "com.amazonaws.securitylake#ConflictException":
1954
- throw await de_ConflictExceptionRes(parsedOutput, context);
1955
- case "InternalServerException":
1956
- case "com.amazonaws.securitylake#InternalServerException":
1957
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1958
- case "ResourceNotFoundException":
1959
- case "com.amazonaws.securitylake#ResourceNotFoundException":
1960
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1961
- case "ThrottlingException":
1962
- case "com.amazonaws.securitylake#ThrottlingException":
1963
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1964
- default:
1965
- const parsedBody = parsedOutput.body;
1966
- return throwDefaultError({
1967
- output,
1968
- parsedBody,
1969
- errorCode
1970
- });
1971
- }
1972
- }, "de_RegisterDataLakeDelegatedAdministratorCommandError");
1973
1123
  var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1974
1124
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1975
- return de_TagResourceCommandError(output, context);
1125
+ return de_CommandError(output, context);
1976
1126
  }
1977
1127
  const contents = (0, import_smithy_client.map)({
1978
1128
  $metadata: deserializeMetadata(output)
@@ -1980,43 +1130,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1980
1130
  await (0, import_smithy_client.collectBody)(output.body, context);
1981
1131
  return contents;
1982
1132
  }, "de_TagResourceCommand");
1983
- var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1984
- const parsedOutput = {
1985
- ...output,
1986
- body: await parseErrorBody(output.body, context)
1987
- };
1988
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1989
- switch (errorCode) {
1990
- case "AccessDeniedException":
1991
- case "com.amazonaws.securitylake#AccessDeniedException":
1992
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1993
- case "BadRequestException":
1994
- case "com.amazonaws.securitylake#BadRequestException":
1995
- throw await de_BadRequestExceptionRes(parsedOutput, context);
1996
- case "ConflictException":
1997
- case "com.amazonaws.securitylake#ConflictException":
1998
- throw await de_ConflictExceptionRes(parsedOutput, context);
1999
- case "InternalServerException":
2000
- case "com.amazonaws.securitylake#InternalServerException":
2001
- throw await de_InternalServerExceptionRes(parsedOutput, context);
2002
- case "ResourceNotFoundException":
2003
- case "com.amazonaws.securitylake#ResourceNotFoundException":
2004
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2005
- case "ThrottlingException":
2006
- case "com.amazonaws.securitylake#ThrottlingException":
2007
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
2008
- default:
2009
- const parsedBody = parsedOutput.body;
2010
- return throwDefaultError({
2011
- output,
2012
- parsedBody,
2013
- errorCode
2014
- });
2015
- }
2016
- }, "de_TagResourceCommandError");
2017
1133
  var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2018
1134
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2019
- return de_UntagResourceCommandError(output, context);
1135
+ return de_CommandError(output, context);
2020
1136
  }
2021
1137
  const contents = (0, import_smithy_client.map)({
2022
1138
  $metadata: deserializeMetadata(output)
@@ -2024,43 +1140,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
2024
1140
  await (0, import_smithy_client.collectBody)(output.body, context);
2025
1141
  return contents;
2026
1142
  }, "de_UntagResourceCommand");
2027
- var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2028
- const parsedOutput = {
2029
- ...output,
2030
- body: await parseErrorBody(output.body, context)
2031
- };
2032
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2033
- switch (errorCode) {
2034
- case "AccessDeniedException":
2035
- case "com.amazonaws.securitylake#AccessDeniedException":
2036
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2037
- case "BadRequestException":
2038
- case "com.amazonaws.securitylake#BadRequestException":
2039
- throw await de_BadRequestExceptionRes(parsedOutput, context);
2040
- case "ConflictException":
2041
- case "com.amazonaws.securitylake#ConflictException":
2042
- throw await de_ConflictExceptionRes(parsedOutput, context);
2043
- case "InternalServerException":
2044
- case "com.amazonaws.securitylake#InternalServerException":
2045
- throw await de_InternalServerExceptionRes(parsedOutput, context);
2046
- case "ResourceNotFoundException":
2047
- case "com.amazonaws.securitylake#ResourceNotFoundException":
2048
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2049
- case "ThrottlingException":
2050
- case "com.amazonaws.securitylake#ThrottlingException":
2051
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
2052
- default:
2053
- const parsedBody = parsedOutput.body;
2054
- return throwDefaultError({
2055
- output,
2056
- parsedBody,
2057
- errorCode
2058
- });
2059
- }
2060
- }, "de_UntagResourceCommandError");
2061
1143
  var de_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) => {
2062
1144
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2063
- return de_UpdateDataLakeCommandError(output, context);
1145
+ return de_CommandError(output, context);
2064
1146
  }
2065
1147
  const contents = (0, import_smithy_client.map)({
2066
1148
  $metadata: deserializeMetadata(output)
@@ -2072,43 +1154,9 @@ var de_UpdateDataLakeCommand = /* @__PURE__ */ __name(async (output, context) =>
2072
1154
  Object.assign(contents, doc);
2073
1155
  return contents;
2074
1156
  }, "de_UpdateDataLakeCommand");
2075
- var de_UpdateDataLakeCommandError = /* @__PURE__ */ __name(async (output, context) => {
2076
- const parsedOutput = {
2077
- ...output,
2078
- body: await parseErrorBody(output.body, context)
2079
- };
2080
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2081
- switch (errorCode) {
2082
- case "AccessDeniedException":
2083
- case "com.amazonaws.securitylake#AccessDeniedException":
2084
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2085
- case "BadRequestException":
2086
- case "com.amazonaws.securitylake#BadRequestException":
2087
- throw await de_BadRequestExceptionRes(parsedOutput, context);
2088
- case "ConflictException":
2089
- case "com.amazonaws.securitylake#ConflictException":
2090
- throw await de_ConflictExceptionRes(parsedOutput, context);
2091
- case "InternalServerException":
2092
- case "com.amazonaws.securitylake#InternalServerException":
2093
- throw await de_InternalServerExceptionRes(parsedOutput, context);
2094
- case "ResourceNotFoundException":
2095
- case "com.amazonaws.securitylake#ResourceNotFoundException":
2096
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2097
- case "ThrottlingException":
2098
- case "com.amazonaws.securitylake#ThrottlingException":
2099
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
2100
- default:
2101
- const parsedBody = parsedOutput.body;
2102
- return throwDefaultError({
2103
- output,
2104
- parsedBody,
2105
- errorCode
2106
- });
2107
- }
2108
- }, "de_UpdateDataLakeCommandError");
2109
1157
  var de_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
2110
1158
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2111
- return de_UpdateDataLakeExceptionSubscriptionCommandError(output, context);
1159
+ return de_CommandError(output, context);
2112
1160
  }
2113
1161
  const contents = (0, import_smithy_client.map)({
2114
1162
  $metadata: deserializeMetadata(output)
@@ -2116,43 +1164,9 @@ var de_UpdateDataLakeExceptionSubscriptionCommand = /* @__PURE__ */ __name(async
2116
1164
  await (0, import_smithy_client.collectBody)(output.body, context);
2117
1165
  return contents;
2118
1166
  }, "de_UpdateDataLakeExceptionSubscriptionCommand");
2119
- var de_UpdateDataLakeExceptionSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
2120
- const parsedOutput = {
2121
- ...output,
2122
- body: await parseErrorBody(output.body, context)
2123
- };
2124
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2125
- switch (errorCode) {
2126
- case "AccessDeniedException":
2127
- case "com.amazonaws.securitylake#AccessDeniedException":
2128
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2129
- case "BadRequestException":
2130
- case "com.amazonaws.securitylake#BadRequestException":
2131
- throw await de_BadRequestExceptionRes(parsedOutput, context);
2132
- case "ConflictException":
2133
- case "com.amazonaws.securitylake#ConflictException":
2134
- throw await de_ConflictExceptionRes(parsedOutput, context);
2135
- case "InternalServerException":
2136
- case "com.amazonaws.securitylake#InternalServerException":
2137
- throw await de_InternalServerExceptionRes(parsedOutput, context);
2138
- case "ResourceNotFoundException":
2139
- case "com.amazonaws.securitylake#ResourceNotFoundException":
2140
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2141
- case "ThrottlingException":
2142
- case "com.amazonaws.securitylake#ThrottlingException":
2143
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
2144
- default:
2145
- const parsedBody = parsedOutput.body;
2146
- return throwDefaultError({
2147
- output,
2148
- parsedBody,
2149
- errorCode
2150
- });
2151
- }
2152
- }, "de_UpdateDataLakeExceptionSubscriptionCommandError");
2153
1167
  var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context) => {
2154
1168
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2155
- return de_UpdateSubscriberCommandError(output, context);
1169
+ return de_CommandError(output, context);
2156
1170
  }
2157
1171
  const contents = (0, import_smithy_client.map)({
2158
1172
  $metadata: deserializeMetadata(output)
@@ -2164,43 +1178,9 @@ var de_UpdateSubscriberCommand = /* @__PURE__ */ __name(async (output, context)
2164
1178
  Object.assign(contents, doc);
2165
1179
  return contents;
2166
1180
  }, "de_UpdateSubscriberCommand");
2167
- var de_UpdateSubscriberCommandError = /* @__PURE__ */ __name(async (output, context) => {
2168
- const parsedOutput = {
2169
- ...output,
2170
- body: await parseErrorBody(output.body, context)
2171
- };
2172
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2173
- switch (errorCode) {
2174
- case "AccessDeniedException":
2175
- case "com.amazonaws.securitylake#AccessDeniedException":
2176
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2177
- case "BadRequestException":
2178
- case "com.amazonaws.securitylake#BadRequestException":
2179
- throw await de_BadRequestExceptionRes(parsedOutput, context);
2180
- case "ConflictException":
2181
- case "com.amazonaws.securitylake#ConflictException":
2182
- throw await de_ConflictExceptionRes(parsedOutput, context);
2183
- case "InternalServerException":
2184
- case "com.amazonaws.securitylake#InternalServerException":
2185
- throw await de_InternalServerExceptionRes(parsedOutput, context);
2186
- case "ResourceNotFoundException":
2187
- case "com.amazonaws.securitylake#ResourceNotFoundException":
2188
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2189
- case "ThrottlingException":
2190
- case "com.amazonaws.securitylake#ThrottlingException":
2191
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
2192
- default:
2193
- const parsedBody = parsedOutput.body;
2194
- return throwDefaultError({
2195
- output,
2196
- parsedBody,
2197
- errorCode
2198
- });
2199
- }
2200
- }, "de_UpdateSubscriberCommandError");
2201
1181
  var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (output, context) => {
2202
1182
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2203
- return de_UpdateSubscriberNotificationCommandError(output, context);
1183
+ return de_CommandError(output, context);
2204
1184
  }
2205
1185
  const contents = (0, import_smithy_client.map)({
2206
1186
  $metadata: deserializeMetadata(output)
@@ -2212,7 +1192,7 @@ var de_UpdateSubscriberNotificationCommand = /* @__PURE__ */ __name(async (outpu
2212
1192
  Object.assign(contents, doc);
2213
1193
  return contents;
2214
1194
  }, "de_UpdateSubscriberNotificationCommand");
2215
- var de_UpdateSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (output, context) => {
1195
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2216
1196
  const parsedOutput = {
2217
1197
  ...output,
2218
1198
  body: await parseErrorBody(output.body, context)
@@ -2245,7 +1225,7 @@ var de_UpdateSubscriberNotificationCommandError = /* @__PURE__ */ __name(async (
2245
1225
  errorCode
2246
1226
  });
2247
1227
  }
2248
- }, "de_UpdateSubscriberNotificationCommandError");
1228
+ }, "de_CommandError");
2249
1229
  var throwDefaultError = (0, import_smithy_client.withBaseException)(SecurityLakeServiceException);
2250
1230
  var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2251
1231
  const contents = (0, import_smithy_client.map)({});