@aws-sdk/client-neptune 3.312.0 → 3.316.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/Neptune.js +73 -966
- package/dist-cjs/protocols/Aws_query.js +139 -207
- package/dist-es/Neptune.js +73 -966
- package/dist-es/protocols/Aws_query.js +140 -208
- package/dist-types/Neptune.d.ts +92 -431
- package/dist-types/ts3.4/Neptune.d.ts +2 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AuthorizationNotFoundFault, CertificateNotFoundFault, DBClusterAlreadyExistsFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleNotFoundFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceNotFoundFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBSecurityGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DBUpgradeDependencyFailureFault, DomainNotFoundFault, EventSubscriptionQuotaExceededFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBClusterCapacityFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidGlobalClusterStateFault, InvalidRestoreFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, OptionGroupNotFoundFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SharedSnapshotQuotaExceededFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubnetAlreadyInUse, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
|
|
5
5
|
import { NeptuneServiceException as __BaseException } from "../models/NeptuneServiceException";
|
|
@@ -701,7 +701,7 @@ export const de_AddRoleToDBClusterCommand = async (output, context) => {
|
|
|
701
701
|
const response = {
|
|
702
702
|
$metadata: deserializeMetadata(output),
|
|
703
703
|
};
|
|
704
|
-
return
|
|
704
|
+
return response;
|
|
705
705
|
};
|
|
706
706
|
const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
707
707
|
const parsedOutput = {
|
|
@@ -724,10 +724,9 @@ const de_AddRoleToDBClusterCommandError = async (output, context) => {
|
|
|
724
724
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
725
725
|
default:
|
|
726
726
|
const parsedBody = parsedOutput.body;
|
|
727
|
-
throwDefaultError({
|
|
727
|
+
return throwDefaultError({
|
|
728
728
|
output,
|
|
729
729
|
parsedBody: parsedBody.Error,
|
|
730
|
-
exceptionCtor: __BaseException,
|
|
731
730
|
errorCode,
|
|
732
731
|
});
|
|
733
732
|
}
|
|
@@ -743,7 +742,7 @@ export const de_AddSourceIdentifierToSubscriptionCommand = async (output, contex
|
|
|
743
742
|
$metadata: deserializeMetadata(output),
|
|
744
743
|
...contents,
|
|
745
744
|
};
|
|
746
|
-
return
|
|
745
|
+
return response;
|
|
747
746
|
};
|
|
748
747
|
const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context) => {
|
|
749
748
|
const parsedOutput = {
|
|
@@ -760,10 +759,9 @@ const de_AddSourceIdentifierToSubscriptionCommandError = async (output, context)
|
|
|
760
759
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
761
760
|
default:
|
|
762
761
|
const parsedBody = parsedOutput.body;
|
|
763
|
-
throwDefaultError({
|
|
762
|
+
return throwDefaultError({
|
|
764
763
|
output,
|
|
765
764
|
parsedBody: parsedBody.Error,
|
|
766
|
-
exceptionCtor: __BaseException,
|
|
767
765
|
errorCode,
|
|
768
766
|
});
|
|
769
767
|
}
|
|
@@ -776,7 +774,7 @@ export const de_AddTagsToResourceCommand = async (output, context) => {
|
|
|
776
774
|
const response = {
|
|
777
775
|
$metadata: deserializeMetadata(output),
|
|
778
776
|
};
|
|
779
|
-
return
|
|
777
|
+
return response;
|
|
780
778
|
};
|
|
781
779
|
const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
782
780
|
const parsedOutput = {
|
|
@@ -796,10 +794,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
796
794
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
797
795
|
default:
|
|
798
796
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
throwDefaultError({
|
|
797
|
+
return throwDefaultError({
|
|
800
798
|
output,
|
|
801
799
|
parsedBody: parsedBody.Error,
|
|
802
|
-
exceptionCtor: __BaseException,
|
|
803
800
|
errorCode,
|
|
804
801
|
});
|
|
805
802
|
}
|
|
@@ -815,7 +812,7 @@ export const de_ApplyPendingMaintenanceActionCommand = async (output, context) =
|
|
|
815
812
|
$metadata: deserializeMetadata(output),
|
|
816
813
|
...contents,
|
|
817
814
|
};
|
|
818
|
-
return
|
|
815
|
+
return response;
|
|
819
816
|
};
|
|
820
817
|
const de_ApplyPendingMaintenanceActionCommandError = async (output, context) => {
|
|
821
818
|
const parsedOutput = {
|
|
@@ -829,10 +826,9 @@ const de_ApplyPendingMaintenanceActionCommandError = async (output, context) =>
|
|
|
829
826
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
830
827
|
default:
|
|
831
828
|
const parsedBody = parsedOutput.body;
|
|
832
|
-
throwDefaultError({
|
|
829
|
+
return throwDefaultError({
|
|
833
830
|
output,
|
|
834
831
|
parsedBody: parsedBody.Error,
|
|
835
|
-
exceptionCtor: __BaseException,
|
|
836
832
|
errorCode,
|
|
837
833
|
});
|
|
838
834
|
}
|
|
@@ -848,7 +844,7 @@ export const de_CopyDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
848
844
|
$metadata: deserializeMetadata(output),
|
|
849
845
|
...contents,
|
|
850
846
|
};
|
|
851
|
-
return
|
|
847
|
+
return response;
|
|
852
848
|
};
|
|
853
849
|
const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
854
850
|
const parsedOutput = {
|
|
@@ -868,10 +864,9 @@ const de_CopyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
868
864
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
869
865
|
default:
|
|
870
866
|
const parsedBody = parsedOutput.body;
|
|
871
|
-
throwDefaultError({
|
|
867
|
+
return throwDefaultError({
|
|
872
868
|
output,
|
|
873
869
|
parsedBody: parsedBody.Error,
|
|
874
|
-
exceptionCtor: __BaseException,
|
|
875
870
|
errorCode,
|
|
876
871
|
});
|
|
877
872
|
}
|
|
@@ -887,7 +882,7 @@ export const de_CopyDBClusterSnapshotCommand = async (output, context) => {
|
|
|
887
882
|
$metadata: deserializeMetadata(output),
|
|
888
883
|
...contents,
|
|
889
884
|
};
|
|
890
|
-
return
|
|
885
|
+
return response;
|
|
891
886
|
};
|
|
892
887
|
const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
893
888
|
const parsedOutput = {
|
|
@@ -916,10 +911,9 @@ const de_CopyDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
916
911
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
917
912
|
default:
|
|
918
913
|
const parsedBody = parsedOutput.body;
|
|
919
|
-
throwDefaultError({
|
|
914
|
+
return throwDefaultError({
|
|
920
915
|
output,
|
|
921
916
|
parsedBody: parsedBody.Error,
|
|
922
|
-
exceptionCtor: __BaseException,
|
|
923
917
|
errorCode,
|
|
924
918
|
});
|
|
925
919
|
}
|
|
@@ -935,7 +929,7 @@ export const de_CopyDBParameterGroupCommand = async (output, context) => {
|
|
|
935
929
|
$metadata: deserializeMetadata(output),
|
|
936
930
|
...contents,
|
|
937
931
|
};
|
|
938
|
-
return
|
|
932
|
+
return response;
|
|
939
933
|
};
|
|
940
934
|
const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
941
935
|
const parsedOutput = {
|
|
@@ -955,10 +949,9 @@ const de_CopyDBParameterGroupCommandError = async (output, context) => {
|
|
|
955
949
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
956
950
|
default:
|
|
957
951
|
const parsedBody = parsedOutput.body;
|
|
958
|
-
throwDefaultError({
|
|
952
|
+
return throwDefaultError({
|
|
959
953
|
output,
|
|
960
954
|
parsedBody: parsedBody.Error,
|
|
961
|
-
exceptionCtor: __BaseException,
|
|
962
955
|
errorCode,
|
|
963
956
|
});
|
|
964
957
|
}
|
|
@@ -974,7 +967,7 @@ export const de_CreateDBClusterCommand = async (output, context) => {
|
|
|
974
967
|
$metadata: deserializeMetadata(output),
|
|
975
968
|
...contents,
|
|
976
969
|
};
|
|
977
|
-
return
|
|
970
|
+
return response;
|
|
978
971
|
};
|
|
979
972
|
const de_CreateDBClusterCommandError = async (output, context) => {
|
|
980
973
|
const parsedOutput = {
|
|
@@ -1036,10 +1029,9 @@ const de_CreateDBClusterCommandError = async (output, context) => {
|
|
|
1036
1029
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
1037
1030
|
default:
|
|
1038
1031
|
const parsedBody = parsedOutput.body;
|
|
1039
|
-
throwDefaultError({
|
|
1032
|
+
return throwDefaultError({
|
|
1040
1033
|
output,
|
|
1041
1034
|
parsedBody: parsedBody.Error,
|
|
1042
|
-
exceptionCtor: __BaseException,
|
|
1043
1035
|
errorCode,
|
|
1044
1036
|
});
|
|
1045
1037
|
}
|
|
@@ -1055,7 +1047,7 @@ export const de_CreateDBClusterEndpointCommand = async (output, context) => {
|
|
|
1055
1047
|
$metadata: deserializeMetadata(output),
|
|
1056
1048
|
...contents,
|
|
1057
1049
|
};
|
|
1058
|
-
return
|
|
1050
|
+
return response;
|
|
1059
1051
|
};
|
|
1060
1052
|
const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
1061
1053
|
const parsedOutput = {
|
|
@@ -1084,10 +1076,9 @@ const de_CreateDBClusterEndpointCommandError = async (output, context) => {
|
|
|
1084
1076
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
1085
1077
|
default:
|
|
1086
1078
|
const parsedBody = parsedOutput.body;
|
|
1087
|
-
throwDefaultError({
|
|
1079
|
+
return throwDefaultError({
|
|
1088
1080
|
output,
|
|
1089
1081
|
parsedBody: parsedBody.Error,
|
|
1090
|
-
exceptionCtor: __BaseException,
|
|
1091
1082
|
errorCode,
|
|
1092
1083
|
});
|
|
1093
1084
|
}
|
|
@@ -1103,7 +1094,7 @@ export const de_CreateDBClusterParameterGroupCommand = async (output, context) =
|
|
|
1103
1094
|
$metadata: deserializeMetadata(output),
|
|
1104
1095
|
...contents,
|
|
1105
1096
|
};
|
|
1106
|
-
return
|
|
1097
|
+
return response;
|
|
1107
1098
|
};
|
|
1108
1099
|
const de_CreateDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1109
1100
|
const parsedOutput = {
|
|
@@ -1120,10 +1111,9 @@ const de_CreateDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1120
1111
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1121
1112
|
default:
|
|
1122
1113
|
const parsedBody = parsedOutput.body;
|
|
1123
|
-
throwDefaultError({
|
|
1114
|
+
return throwDefaultError({
|
|
1124
1115
|
output,
|
|
1125
1116
|
parsedBody: parsedBody.Error,
|
|
1126
|
-
exceptionCtor: __BaseException,
|
|
1127
1117
|
errorCode,
|
|
1128
1118
|
});
|
|
1129
1119
|
}
|
|
@@ -1139,7 +1129,7 @@ export const de_CreateDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1139
1129
|
$metadata: deserializeMetadata(output),
|
|
1140
1130
|
...contents,
|
|
1141
1131
|
};
|
|
1142
|
-
return
|
|
1132
|
+
return response;
|
|
1143
1133
|
};
|
|
1144
1134
|
const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
1145
1135
|
const parsedOutput = {
|
|
@@ -1165,10 +1155,9 @@ const de_CreateDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1165
1155
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1166
1156
|
default:
|
|
1167
1157
|
const parsedBody = parsedOutput.body;
|
|
1168
|
-
throwDefaultError({
|
|
1158
|
+
return throwDefaultError({
|
|
1169
1159
|
output,
|
|
1170
1160
|
parsedBody: parsedBody.Error,
|
|
1171
|
-
exceptionCtor: __BaseException,
|
|
1172
1161
|
errorCode,
|
|
1173
1162
|
});
|
|
1174
1163
|
}
|
|
@@ -1184,7 +1173,7 @@ export const de_CreateDBInstanceCommand = async (output, context) => {
|
|
|
1184
1173
|
$metadata: deserializeMetadata(output),
|
|
1185
1174
|
...contents,
|
|
1186
1175
|
};
|
|
1187
|
-
return
|
|
1176
|
+
return response;
|
|
1188
1177
|
};
|
|
1189
1178
|
const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
1190
1179
|
const parsedOutput = {
|
|
@@ -1249,10 +1238,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
1249
1238
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
1250
1239
|
default:
|
|
1251
1240
|
const parsedBody = parsedOutput.body;
|
|
1252
|
-
throwDefaultError({
|
|
1241
|
+
return throwDefaultError({
|
|
1253
1242
|
output,
|
|
1254
1243
|
parsedBody: parsedBody.Error,
|
|
1255
|
-
exceptionCtor: __BaseException,
|
|
1256
1244
|
errorCode,
|
|
1257
1245
|
});
|
|
1258
1246
|
}
|
|
@@ -1268,7 +1256,7 @@ export const de_CreateDBParameterGroupCommand = async (output, context) => {
|
|
|
1268
1256
|
$metadata: deserializeMetadata(output),
|
|
1269
1257
|
...contents,
|
|
1270
1258
|
};
|
|
1271
|
-
return
|
|
1259
|
+
return response;
|
|
1272
1260
|
};
|
|
1273
1261
|
const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
1274
1262
|
const parsedOutput = {
|
|
@@ -1285,10 +1273,9 @@ const de_CreateDBParameterGroupCommandError = async (output, context) => {
|
|
|
1285
1273
|
throw await de_DBParameterGroupQuotaExceededFaultRes(parsedOutput, context);
|
|
1286
1274
|
default:
|
|
1287
1275
|
const parsedBody = parsedOutput.body;
|
|
1288
|
-
throwDefaultError({
|
|
1276
|
+
return throwDefaultError({
|
|
1289
1277
|
output,
|
|
1290
1278
|
parsedBody: parsedBody.Error,
|
|
1291
|
-
exceptionCtor: __BaseException,
|
|
1292
1279
|
errorCode,
|
|
1293
1280
|
});
|
|
1294
1281
|
}
|
|
@@ -1304,7 +1291,7 @@ export const de_CreateDBSubnetGroupCommand = async (output, context) => {
|
|
|
1304
1291
|
$metadata: deserializeMetadata(output),
|
|
1305
1292
|
...contents,
|
|
1306
1293
|
};
|
|
1307
|
-
return
|
|
1294
|
+
return response;
|
|
1308
1295
|
};
|
|
1309
1296
|
const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
1310
1297
|
const parsedOutput = {
|
|
@@ -1330,10 +1317,9 @@ const de_CreateDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1330
1317
|
throw await de_InvalidSubnetRes(parsedOutput, context);
|
|
1331
1318
|
default:
|
|
1332
1319
|
const parsedBody = parsedOutput.body;
|
|
1333
|
-
throwDefaultError({
|
|
1320
|
+
return throwDefaultError({
|
|
1334
1321
|
output,
|
|
1335
1322
|
parsedBody: parsedBody.Error,
|
|
1336
|
-
exceptionCtor: __BaseException,
|
|
1337
1323
|
errorCode,
|
|
1338
1324
|
});
|
|
1339
1325
|
}
|
|
@@ -1349,7 +1335,7 @@ export const de_CreateEventSubscriptionCommand = async (output, context) => {
|
|
|
1349
1335
|
$metadata: deserializeMetadata(output),
|
|
1350
1336
|
...contents,
|
|
1351
1337
|
};
|
|
1352
|
-
return
|
|
1338
|
+
return response;
|
|
1353
1339
|
};
|
|
1354
1340
|
const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
1355
1341
|
const parsedOutput = {
|
|
@@ -1381,10 +1367,9 @@ const de_CreateEventSubscriptionCommandError = async (output, context) => {
|
|
|
1381
1367
|
throw await de_SubscriptionCategoryNotFoundFaultRes(parsedOutput, context);
|
|
1382
1368
|
default:
|
|
1383
1369
|
const parsedBody = parsedOutput.body;
|
|
1384
|
-
throwDefaultError({
|
|
1370
|
+
return throwDefaultError({
|
|
1385
1371
|
output,
|
|
1386
1372
|
parsedBody: parsedBody.Error,
|
|
1387
|
-
exceptionCtor: __BaseException,
|
|
1388
1373
|
errorCode,
|
|
1389
1374
|
});
|
|
1390
1375
|
}
|
|
@@ -1400,7 +1385,7 @@ export const de_CreateGlobalClusterCommand = async (output, context) => {
|
|
|
1400
1385
|
$metadata: deserializeMetadata(output),
|
|
1401
1386
|
...contents,
|
|
1402
1387
|
};
|
|
1403
|
-
return
|
|
1388
|
+
return response;
|
|
1404
1389
|
};
|
|
1405
1390
|
const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
1406
1391
|
const parsedOutput = {
|
|
@@ -1423,10 +1408,9 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
1423
1408
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1424
1409
|
default:
|
|
1425
1410
|
const parsedBody = parsedOutput.body;
|
|
1426
|
-
throwDefaultError({
|
|
1411
|
+
return throwDefaultError({
|
|
1427
1412
|
output,
|
|
1428
1413
|
parsedBody: parsedBody.Error,
|
|
1429
|
-
exceptionCtor: __BaseException,
|
|
1430
1414
|
errorCode,
|
|
1431
1415
|
});
|
|
1432
1416
|
}
|
|
@@ -1442,7 +1426,7 @@ export const de_DeleteDBClusterCommand = async (output, context) => {
|
|
|
1442
1426
|
$metadata: deserializeMetadata(output),
|
|
1443
1427
|
...contents,
|
|
1444
1428
|
};
|
|
1445
|
-
return
|
|
1429
|
+
return response;
|
|
1446
1430
|
};
|
|
1447
1431
|
const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
1448
1432
|
const parsedOutput = {
|
|
@@ -1468,10 +1452,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
1468
1452
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1469
1453
|
default:
|
|
1470
1454
|
const parsedBody = parsedOutput.body;
|
|
1471
|
-
throwDefaultError({
|
|
1455
|
+
return throwDefaultError({
|
|
1472
1456
|
output,
|
|
1473
1457
|
parsedBody: parsedBody.Error,
|
|
1474
|
-
exceptionCtor: __BaseException,
|
|
1475
1458
|
errorCode,
|
|
1476
1459
|
});
|
|
1477
1460
|
}
|
|
@@ -1487,7 +1470,7 @@ export const de_DeleteDBClusterEndpointCommand = async (output, context) => {
|
|
|
1487
1470
|
$metadata: deserializeMetadata(output),
|
|
1488
1471
|
...contents,
|
|
1489
1472
|
};
|
|
1490
|
-
return
|
|
1473
|
+
return response;
|
|
1491
1474
|
};
|
|
1492
1475
|
const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
1493
1476
|
const parsedOutput = {
|
|
@@ -1507,10 +1490,9 @@ const de_DeleteDBClusterEndpointCommandError = async (output, context) => {
|
|
|
1507
1490
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
1508
1491
|
default:
|
|
1509
1492
|
const parsedBody = parsedOutput.body;
|
|
1510
|
-
throwDefaultError({
|
|
1493
|
+
return throwDefaultError({
|
|
1511
1494
|
output,
|
|
1512
1495
|
parsedBody: parsedBody.Error,
|
|
1513
|
-
exceptionCtor: __BaseException,
|
|
1514
1496
|
errorCode,
|
|
1515
1497
|
});
|
|
1516
1498
|
}
|
|
@@ -1523,7 +1505,7 @@ export const de_DeleteDBClusterParameterGroupCommand = async (output, context) =
|
|
|
1523
1505
|
const response = {
|
|
1524
1506
|
$metadata: deserializeMetadata(output),
|
|
1525
1507
|
};
|
|
1526
|
-
return
|
|
1508
|
+
return response;
|
|
1527
1509
|
};
|
|
1528
1510
|
const de_DeleteDBClusterParameterGroupCommandError = async (output, context) => {
|
|
1529
1511
|
const parsedOutput = {
|
|
@@ -1540,10 +1522,9 @@ const de_DeleteDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
1540
1522
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1541
1523
|
default:
|
|
1542
1524
|
const parsedBody = parsedOutput.body;
|
|
1543
|
-
throwDefaultError({
|
|
1525
|
+
return throwDefaultError({
|
|
1544
1526
|
output,
|
|
1545
1527
|
parsedBody: parsedBody.Error,
|
|
1546
|
-
exceptionCtor: __BaseException,
|
|
1547
1528
|
errorCode,
|
|
1548
1529
|
});
|
|
1549
1530
|
}
|
|
@@ -1559,7 +1540,7 @@ export const de_DeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
|
1559
1540
|
$metadata: deserializeMetadata(output),
|
|
1560
1541
|
...contents,
|
|
1561
1542
|
};
|
|
1562
|
-
return
|
|
1543
|
+
return response;
|
|
1563
1544
|
};
|
|
1564
1545
|
const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
1565
1546
|
const parsedOutput = {
|
|
@@ -1576,10 +1557,9 @@ const de_DeleteDBClusterSnapshotCommandError = async (output, context) => {
|
|
|
1576
1557
|
throw await de_InvalidDBClusterSnapshotStateFaultRes(parsedOutput, context);
|
|
1577
1558
|
default:
|
|
1578
1559
|
const parsedBody = parsedOutput.body;
|
|
1579
|
-
throwDefaultError({
|
|
1560
|
+
return throwDefaultError({
|
|
1580
1561
|
output,
|
|
1581
1562
|
parsedBody: parsedBody.Error,
|
|
1582
|
-
exceptionCtor: __BaseException,
|
|
1583
1563
|
errorCode,
|
|
1584
1564
|
});
|
|
1585
1565
|
}
|
|
@@ -1595,7 +1575,7 @@ export const de_DeleteDBInstanceCommand = async (output, context) => {
|
|
|
1595
1575
|
$metadata: deserializeMetadata(output),
|
|
1596
1576
|
...contents,
|
|
1597
1577
|
};
|
|
1598
|
-
return
|
|
1578
|
+
return response;
|
|
1599
1579
|
};
|
|
1600
1580
|
const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
1601
1581
|
const parsedOutput = {
|
|
@@ -1621,10 +1601,9 @@ const de_DeleteDBInstanceCommandError = async (output, context) => {
|
|
|
1621
1601
|
throw await de_SnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
1622
1602
|
default:
|
|
1623
1603
|
const parsedBody = parsedOutput.body;
|
|
1624
|
-
throwDefaultError({
|
|
1604
|
+
return throwDefaultError({
|
|
1625
1605
|
output,
|
|
1626
1606
|
parsedBody: parsedBody.Error,
|
|
1627
|
-
exceptionCtor: __BaseException,
|
|
1628
1607
|
errorCode,
|
|
1629
1608
|
});
|
|
1630
1609
|
}
|
|
@@ -1637,7 +1616,7 @@ export const de_DeleteDBParameterGroupCommand = async (output, context) => {
|
|
|
1637
1616
|
const response = {
|
|
1638
1617
|
$metadata: deserializeMetadata(output),
|
|
1639
1618
|
};
|
|
1640
|
-
return
|
|
1619
|
+
return response;
|
|
1641
1620
|
};
|
|
1642
1621
|
const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
1643
1622
|
const parsedOutput = {
|
|
@@ -1654,10 +1633,9 @@ const de_DeleteDBParameterGroupCommandError = async (output, context) => {
|
|
|
1654
1633
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
1655
1634
|
default:
|
|
1656
1635
|
const parsedBody = parsedOutput.body;
|
|
1657
|
-
throwDefaultError({
|
|
1636
|
+
return throwDefaultError({
|
|
1658
1637
|
output,
|
|
1659
1638
|
parsedBody: parsedBody.Error,
|
|
1660
|
-
exceptionCtor: __BaseException,
|
|
1661
1639
|
errorCode,
|
|
1662
1640
|
});
|
|
1663
1641
|
}
|
|
@@ -1670,7 +1648,7 @@ export const de_DeleteDBSubnetGroupCommand = async (output, context) => {
|
|
|
1670
1648
|
const response = {
|
|
1671
1649
|
$metadata: deserializeMetadata(output),
|
|
1672
1650
|
};
|
|
1673
|
-
return
|
|
1651
|
+
return response;
|
|
1674
1652
|
};
|
|
1675
1653
|
const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
1676
1654
|
const parsedOutput = {
|
|
@@ -1690,10 +1668,9 @@ const de_DeleteDBSubnetGroupCommandError = async (output, context) => {
|
|
|
1690
1668
|
throw await de_InvalidDBSubnetStateFaultRes(parsedOutput, context);
|
|
1691
1669
|
default:
|
|
1692
1670
|
const parsedBody = parsedOutput.body;
|
|
1693
|
-
throwDefaultError({
|
|
1671
|
+
return throwDefaultError({
|
|
1694
1672
|
output,
|
|
1695
1673
|
parsedBody: parsedBody.Error,
|
|
1696
|
-
exceptionCtor: __BaseException,
|
|
1697
1674
|
errorCode,
|
|
1698
1675
|
});
|
|
1699
1676
|
}
|
|
@@ -1709,7 +1686,7 @@ export const de_DeleteEventSubscriptionCommand = async (output, context) => {
|
|
|
1709
1686
|
$metadata: deserializeMetadata(output),
|
|
1710
1687
|
...contents,
|
|
1711
1688
|
};
|
|
1712
|
-
return
|
|
1689
|
+
return response;
|
|
1713
1690
|
};
|
|
1714
1691
|
const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
1715
1692
|
const parsedOutput = {
|
|
@@ -1726,10 +1703,9 @@ const de_DeleteEventSubscriptionCommandError = async (output, context) => {
|
|
|
1726
1703
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
1727
1704
|
default:
|
|
1728
1705
|
const parsedBody = parsedOutput.body;
|
|
1729
|
-
throwDefaultError({
|
|
1706
|
+
return throwDefaultError({
|
|
1730
1707
|
output,
|
|
1731
1708
|
parsedBody: parsedBody.Error,
|
|
1732
|
-
exceptionCtor: __BaseException,
|
|
1733
1709
|
errorCode,
|
|
1734
1710
|
});
|
|
1735
1711
|
}
|
|
@@ -1745,7 +1721,7 @@ export const de_DeleteGlobalClusterCommand = async (output, context) => {
|
|
|
1745
1721
|
$metadata: deserializeMetadata(output),
|
|
1746
1722
|
...contents,
|
|
1747
1723
|
};
|
|
1748
|
-
return
|
|
1724
|
+
return response;
|
|
1749
1725
|
};
|
|
1750
1726
|
const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
1751
1727
|
const parsedOutput = {
|
|
@@ -1762,10 +1738,9 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
1762
1738
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
1763
1739
|
default:
|
|
1764
1740
|
const parsedBody = parsedOutput.body;
|
|
1765
|
-
throwDefaultError({
|
|
1741
|
+
return throwDefaultError({
|
|
1766
1742
|
output,
|
|
1767
1743
|
parsedBody: parsedBody.Error,
|
|
1768
|
-
exceptionCtor: __BaseException,
|
|
1769
1744
|
errorCode,
|
|
1770
1745
|
});
|
|
1771
1746
|
}
|
|
@@ -1781,7 +1756,7 @@ export const de_DescribeDBClusterEndpointsCommand = async (output, context) => {
|
|
|
1781
1756
|
$metadata: deserializeMetadata(output),
|
|
1782
1757
|
...contents,
|
|
1783
1758
|
};
|
|
1784
|
-
return
|
|
1759
|
+
return response;
|
|
1785
1760
|
};
|
|
1786
1761
|
const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
1787
1762
|
const parsedOutput = {
|
|
@@ -1795,10 +1770,9 @@ const de_DescribeDBClusterEndpointsCommandError = async (output, context) => {
|
|
|
1795
1770
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
1796
1771
|
default:
|
|
1797
1772
|
const parsedBody = parsedOutput.body;
|
|
1798
|
-
throwDefaultError({
|
|
1773
|
+
return throwDefaultError({
|
|
1799
1774
|
output,
|
|
1800
1775
|
parsedBody: parsedBody.Error,
|
|
1801
|
-
exceptionCtor: __BaseException,
|
|
1802
1776
|
errorCode,
|
|
1803
1777
|
});
|
|
1804
1778
|
}
|
|
@@ -1814,7 +1788,7 @@ export const de_DescribeDBClusterParameterGroupsCommand = async (output, context
|
|
|
1814
1788
|
$metadata: deserializeMetadata(output),
|
|
1815
1789
|
...contents,
|
|
1816
1790
|
};
|
|
1817
|
-
return
|
|
1791
|
+
return response;
|
|
1818
1792
|
};
|
|
1819
1793
|
const de_DescribeDBClusterParameterGroupsCommandError = async (output, context) => {
|
|
1820
1794
|
const parsedOutput = {
|
|
@@ -1828,10 +1802,9 @@ const de_DescribeDBClusterParameterGroupsCommandError = async (output, context)
|
|
|
1828
1802
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1829
1803
|
default:
|
|
1830
1804
|
const parsedBody = parsedOutput.body;
|
|
1831
|
-
throwDefaultError({
|
|
1805
|
+
return throwDefaultError({
|
|
1832
1806
|
output,
|
|
1833
1807
|
parsedBody: parsedBody.Error,
|
|
1834
|
-
exceptionCtor: __BaseException,
|
|
1835
1808
|
errorCode,
|
|
1836
1809
|
});
|
|
1837
1810
|
}
|
|
@@ -1847,7 +1820,7 @@ export const de_DescribeDBClusterParametersCommand = async (output, context) =>
|
|
|
1847
1820
|
$metadata: deserializeMetadata(output),
|
|
1848
1821
|
...contents,
|
|
1849
1822
|
};
|
|
1850
|
-
return
|
|
1823
|
+
return response;
|
|
1851
1824
|
};
|
|
1852
1825
|
const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
1853
1826
|
const parsedOutput = {
|
|
@@ -1861,10 +1834,9 @@ const de_DescribeDBClusterParametersCommandError = async (output, context) => {
|
|
|
1861
1834
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
1862
1835
|
default:
|
|
1863
1836
|
const parsedBody = parsedOutput.body;
|
|
1864
|
-
throwDefaultError({
|
|
1837
|
+
return throwDefaultError({
|
|
1865
1838
|
output,
|
|
1866
1839
|
parsedBody: parsedBody.Error,
|
|
1867
|
-
exceptionCtor: __BaseException,
|
|
1868
1840
|
errorCode,
|
|
1869
1841
|
});
|
|
1870
1842
|
}
|
|
@@ -1880,7 +1852,7 @@ export const de_DescribeDBClustersCommand = async (output, context) => {
|
|
|
1880
1852
|
$metadata: deserializeMetadata(output),
|
|
1881
1853
|
...contents,
|
|
1882
1854
|
};
|
|
1883
|
-
return
|
|
1855
|
+
return response;
|
|
1884
1856
|
};
|
|
1885
1857
|
const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
1886
1858
|
const parsedOutput = {
|
|
@@ -1894,10 +1866,9 @@ const de_DescribeDBClustersCommandError = async (output, context) => {
|
|
|
1894
1866
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
1895
1867
|
default:
|
|
1896
1868
|
const parsedBody = parsedOutput.body;
|
|
1897
|
-
throwDefaultError({
|
|
1869
|
+
return throwDefaultError({
|
|
1898
1870
|
output,
|
|
1899
1871
|
parsedBody: parsedBody.Error,
|
|
1900
|
-
exceptionCtor: __BaseException,
|
|
1901
1872
|
errorCode,
|
|
1902
1873
|
});
|
|
1903
1874
|
}
|
|
@@ -1913,7 +1884,7 @@ export const de_DescribeDBClusterSnapshotAttributesCommand = async (output, cont
|
|
|
1913
1884
|
$metadata: deserializeMetadata(output),
|
|
1914
1885
|
...contents,
|
|
1915
1886
|
};
|
|
1916
|
-
return
|
|
1887
|
+
return response;
|
|
1917
1888
|
};
|
|
1918
1889
|
const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, context) => {
|
|
1919
1890
|
const parsedOutput = {
|
|
@@ -1927,10 +1898,9 @@ const de_DescribeDBClusterSnapshotAttributesCommandError = async (output, contex
|
|
|
1927
1898
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1928
1899
|
default:
|
|
1929
1900
|
const parsedBody = parsedOutput.body;
|
|
1930
|
-
throwDefaultError({
|
|
1901
|
+
return throwDefaultError({
|
|
1931
1902
|
output,
|
|
1932
1903
|
parsedBody: parsedBody.Error,
|
|
1933
|
-
exceptionCtor: __BaseException,
|
|
1934
1904
|
errorCode,
|
|
1935
1905
|
});
|
|
1936
1906
|
}
|
|
@@ -1946,7 +1916,7 @@ export const de_DescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
|
1946
1916
|
$metadata: deserializeMetadata(output),
|
|
1947
1917
|
...contents,
|
|
1948
1918
|
};
|
|
1949
|
-
return
|
|
1919
|
+
return response;
|
|
1950
1920
|
};
|
|
1951
1921
|
const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
1952
1922
|
const parsedOutput = {
|
|
@@ -1960,10 +1930,9 @@ const de_DescribeDBClusterSnapshotsCommandError = async (output, context) => {
|
|
|
1960
1930
|
throw await de_DBClusterSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1961
1931
|
default:
|
|
1962
1932
|
const parsedBody = parsedOutput.body;
|
|
1963
|
-
throwDefaultError({
|
|
1933
|
+
return throwDefaultError({
|
|
1964
1934
|
output,
|
|
1965
1935
|
parsedBody: parsedBody.Error,
|
|
1966
|
-
exceptionCtor: __BaseException,
|
|
1967
1936
|
errorCode,
|
|
1968
1937
|
});
|
|
1969
1938
|
}
|
|
@@ -1979,7 +1948,7 @@ export const de_DescribeDBEngineVersionsCommand = async (output, context) => {
|
|
|
1979
1948
|
$metadata: deserializeMetadata(output),
|
|
1980
1949
|
...contents,
|
|
1981
1950
|
};
|
|
1982
|
-
return
|
|
1951
|
+
return response;
|
|
1983
1952
|
};
|
|
1984
1953
|
const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
1985
1954
|
const parsedOutput = {
|
|
@@ -1988,10 +1957,9 @@ const de_DescribeDBEngineVersionsCommandError = async (output, context) => {
|
|
|
1988
1957
|
};
|
|
1989
1958
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1990
1959
|
const parsedBody = parsedOutput.body;
|
|
1991
|
-
throwDefaultError({
|
|
1960
|
+
return throwDefaultError({
|
|
1992
1961
|
output,
|
|
1993
1962
|
parsedBody: parsedBody.Error,
|
|
1994
|
-
exceptionCtor: __BaseException,
|
|
1995
1963
|
errorCode,
|
|
1996
1964
|
});
|
|
1997
1965
|
};
|
|
@@ -2006,7 +1974,7 @@ export const de_DescribeDBInstancesCommand = async (output, context) => {
|
|
|
2006
1974
|
$metadata: deserializeMetadata(output),
|
|
2007
1975
|
...contents,
|
|
2008
1976
|
};
|
|
2009
|
-
return
|
|
1977
|
+
return response;
|
|
2010
1978
|
};
|
|
2011
1979
|
const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
2012
1980
|
const parsedOutput = {
|
|
@@ -2020,10 +1988,9 @@ const de_DescribeDBInstancesCommandError = async (output, context) => {
|
|
|
2020
1988
|
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
2021
1989
|
default:
|
|
2022
1990
|
const parsedBody = parsedOutput.body;
|
|
2023
|
-
throwDefaultError({
|
|
1991
|
+
return throwDefaultError({
|
|
2024
1992
|
output,
|
|
2025
1993
|
parsedBody: parsedBody.Error,
|
|
2026
|
-
exceptionCtor: __BaseException,
|
|
2027
1994
|
errorCode,
|
|
2028
1995
|
});
|
|
2029
1996
|
}
|
|
@@ -2039,7 +2006,7 @@ export const de_DescribeDBParameterGroupsCommand = async (output, context) => {
|
|
|
2039
2006
|
$metadata: deserializeMetadata(output),
|
|
2040
2007
|
...contents,
|
|
2041
2008
|
};
|
|
2042
|
-
return
|
|
2009
|
+
return response;
|
|
2043
2010
|
};
|
|
2044
2011
|
const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
2045
2012
|
const parsedOutput = {
|
|
@@ -2053,10 +2020,9 @@ const de_DescribeDBParameterGroupsCommandError = async (output, context) => {
|
|
|
2053
2020
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2054
2021
|
default:
|
|
2055
2022
|
const parsedBody = parsedOutput.body;
|
|
2056
|
-
throwDefaultError({
|
|
2023
|
+
return throwDefaultError({
|
|
2057
2024
|
output,
|
|
2058
2025
|
parsedBody: parsedBody.Error,
|
|
2059
|
-
exceptionCtor: __BaseException,
|
|
2060
2026
|
errorCode,
|
|
2061
2027
|
});
|
|
2062
2028
|
}
|
|
@@ -2072,7 +2038,7 @@ export const de_DescribeDBParametersCommand = async (output, context) => {
|
|
|
2072
2038
|
$metadata: deserializeMetadata(output),
|
|
2073
2039
|
...contents,
|
|
2074
2040
|
};
|
|
2075
|
-
return
|
|
2041
|
+
return response;
|
|
2076
2042
|
};
|
|
2077
2043
|
const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
2078
2044
|
const parsedOutput = {
|
|
@@ -2086,10 +2052,9 @@ const de_DescribeDBParametersCommandError = async (output, context) => {
|
|
|
2086
2052
|
throw await de_DBParameterGroupNotFoundFaultRes(parsedOutput, context);
|
|
2087
2053
|
default:
|
|
2088
2054
|
const parsedBody = parsedOutput.body;
|
|
2089
|
-
throwDefaultError({
|
|
2055
|
+
return throwDefaultError({
|
|
2090
2056
|
output,
|
|
2091
2057
|
parsedBody: parsedBody.Error,
|
|
2092
|
-
exceptionCtor: __BaseException,
|
|
2093
2058
|
errorCode,
|
|
2094
2059
|
});
|
|
2095
2060
|
}
|
|
@@ -2105,7 +2070,7 @@ export const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
|
2105
2070
|
$metadata: deserializeMetadata(output),
|
|
2106
2071
|
...contents,
|
|
2107
2072
|
};
|
|
2108
|
-
return
|
|
2073
|
+
return response;
|
|
2109
2074
|
};
|
|
2110
2075
|
const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
2111
2076
|
const parsedOutput = {
|
|
@@ -2119,10 +2084,9 @@ const de_DescribeDBSubnetGroupsCommandError = async (output, context) => {
|
|
|
2119
2084
|
throw await de_DBSubnetGroupNotFoundFaultRes(parsedOutput, context);
|
|
2120
2085
|
default:
|
|
2121
2086
|
const parsedBody = parsedOutput.body;
|
|
2122
|
-
throwDefaultError({
|
|
2087
|
+
return throwDefaultError({
|
|
2123
2088
|
output,
|
|
2124
2089
|
parsedBody: parsedBody.Error,
|
|
2125
|
-
exceptionCtor: __BaseException,
|
|
2126
2090
|
errorCode,
|
|
2127
2091
|
});
|
|
2128
2092
|
}
|
|
@@ -2138,7 +2102,7 @@ export const de_DescribeEngineDefaultClusterParametersCommand = async (output, c
|
|
|
2138
2102
|
$metadata: deserializeMetadata(output),
|
|
2139
2103
|
...contents,
|
|
2140
2104
|
};
|
|
2141
|
-
return
|
|
2105
|
+
return response;
|
|
2142
2106
|
};
|
|
2143
2107
|
const de_DescribeEngineDefaultClusterParametersCommandError = async (output, context) => {
|
|
2144
2108
|
const parsedOutput = {
|
|
@@ -2147,10 +2111,9 @@ const de_DescribeEngineDefaultClusterParametersCommandError = async (output, con
|
|
|
2147
2111
|
};
|
|
2148
2112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2149
2113
|
const parsedBody = parsedOutput.body;
|
|
2150
|
-
throwDefaultError({
|
|
2114
|
+
return throwDefaultError({
|
|
2151
2115
|
output,
|
|
2152
2116
|
parsedBody: parsedBody.Error,
|
|
2153
|
-
exceptionCtor: __BaseException,
|
|
2154
2117
|
errorCode,
|
|
2155
2118
|
});
|
|
2156
2119
|
};
|
|
@@ -2165,7 +2128,7 @@ export const de_DescribeEngineDefaultParametersCommand = async (output, context)
|
|
|
2165
2128
|
$metadata: deserializeMetadata(output),
|
|
2166
2129
|
...contents,
|
|
2167
2130
|
};
|
|
2168
|
-
return
|
|
2131
|
+
return response;
|
|
2169
2132
|
};
|
|
2170
2133
|
const de_DescribeEngineDefaultParametersCommandError = async (output, context) => {
|
|
2171
2134
|
const parsedOutput = {
|
|
@@ -2174,10 +2137,9 @@ const de_DescribeEngineDefaultParametersCommandError = async (output, context) =
|
|
|
2174
2137
|
};
|
|
2175
2138
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2176
2139
|
const parsedBody = parsedOutput.body;
|
|
2177
|
-
throwDefaultError({
|
|
2140
|
+
return throwDefaultError({
|
|
2178
2141
|
output,
|
|
2179
2142
|
parsedBody: parsedBody.Error,
|
|
2180
|
-
exceptionCtor: __BaseException,
|
|
2181
2143
|
errorCode,
|
|
2182
2144
|
});
|
|
2183
2145
|
};
|
|
@@ -2192,7 +2154,7 @@ export const de_DescribeEventCategoriesCommand = async (output, context) => {
|
|
|
2192
2154
|
$metadata: deserializeMetadata(output),
|
|
2193
2155
|
...contents,
|
|
2194
2156
|
};
|
|
2195
|
-
return
|
|
2157
|
+
return response;
|
|
2196
2158
|
};
|
|
2197
2159
|
const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
2198
2160
|
const parsedOutput = {
|
|
@@ -2201,10 +2163,9 @@ const de_DescribeEventCategoriesCommandError = async (output, context) => {
|
|
|
2201
2163
|
};
|
|
2202
2164
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2203
2165
|
const parsedBody = parsedOutput.body;
|
|
2204
|
-
throwDefaultError({
|
|
2166
|
+
return throwDefaultError({
|
|
2205
2167
|
output,
|
|
2206
2168
|
parsedBody: parsedBody.Error,
|
|
2207
|
-
exceptionCtor: __BaseException,
|
|
2208
2169
|
errorCode,
|
|
2209
2170
|
});
|
|
2210
2171
|
};
|
|
@@ -2219,7 +2180,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
2219
2180
|
$metadata: deserializeMetadata(output),
|
|
2220
2181
|
...contents,
|
|
2221
2182
|
};
|
|
2222
|
-
return
|
|
2183
|
+
return response;
|
|
2223
2184
|
};
|
|
2224
2185
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
2225
2186
|
const parsedOutput = {
|
|
@@ -2228,10 +2189,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
2228
2189
|
};
|
|
2229
2190
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2230
2191
|
const parsedBody = parsedOutput.body;
|
|
2231
|
-
throwDefaultError({
|
|
2192
|
+
return throwDefaultError({
|
|
2232
2193
|
output,
|
|
2233
2194
|
parsedBody: parsedBody.Error,
|
|
2234
|
-
exceptionCtor: __BaseException,
|
|
2235
2195
|
errorCode,
|
|
2236
2196
|
});
|
|
2237
2197
|
};
|
|
@@ -2246,7 +2206,7 @@ export const de_DescribeEventSubscriptionsCommand = async (output, context) => {
|
|
|
2246
2206
|
$metadata: deserializeMetadata(output),
|
|
2247
2207
|
...contents,
|
|
2248
2208
|
};
|
|
2249
|
-
return
|
|
2209
|
+
return response;
|
|
2250
2210
|
};
|
|
2251
2211
|
const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
2252
2212
|
const parsedOutput = {
|
|
@@ -2260,10 +2220,9 @@ const de_DescribeEventSubscriptionsCommandError = async (output, context) => {
|
|
|
2260
2220
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2261
2221
|
default:
|
|
2262
2222
|
const parsedBody = parsedOutput.body;
|
|
2263
|
-
throwDefaultError({
|
|
2223
|
+
return throwDefaultError({
|
|
2264
2224
|
output,
|
|
2265
2225
|
parsedBody: parsedBody.Error,
|
|
2266
|
-
exceptionCtor: __BaseException,
|
|
2267
2226
|
errorCode,
|
|
2268
2227
|
});
|
|
2269
2228
|
}
|
|
@@ -2279,7 +2238,7 @@ export const de_DescribeGlobalClustersCommand = async (output, context) => {
|
|
|
2279
2238
|
$metadata: deserializeMetadata(output),
|
|
2280
2239
|
...contents,
|
|
2281
2240
|
};
|
|
2282
|
-
return
|
|
2241
|
+
return response;
|
|
2283
2242
|
};
|
|
2284
2243
|
const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
2285
2244
|
const parsedOutput = {
|
|
@@ -2293,10 +2252,9 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
2293
2252
|
throw await de_GlobalClusterNotFoundFaultRes(parsedOutput, context);
|
|
2294
2253
|
default:
|
|
2295
2254
|
const parsedBody = parsedOutput.body;
|
|
2296
|
-
throwDefaultError({
|
|
2255
|
+
return throwDefaultError({
|
|
2297
2256
|
output,
|
|
2298
2257
|
parsedBody: parsedBody.Error,
|
|
2299
|
-
exceptionCtor: __BaseException,
|
|
2300
2258
|
errorCode,
|
|
2301
2259
|
});
|
|
2302
2260
|
}
|
|
@@ -2312,7 +2270,7 @@ export const de_DescribeOrderableDBInstanceOptionsCommand = async (output, conte
|
|
|
2312
2270
|
$metadata: deserializeMetadata(output),
|
|
2313
2271
|
...contents,
|
|
2314
2272
|
};
|
|
2315
|
-
return
|
|
2273
|
+
return response;
|
|
2316
2274
|
};
|
|
2317
2275
|
const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context) => {
|
|
2318
2276
|
const parsedOutput = {
|
|
@@ -2321,10 +2279,9 @@ const de_DescribeOrderableDBInstanceOptionsCommandError = async (output, context
|
|
|
2321
2279
|
};
|
|
2322
2280
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2323
2281
|
const parsedBody = parsedOutput.body;
|
|
2324
|
-
throwDefaultError({
|
|
2282
|
+
return throwDefaultError({
|
|
2325
2283
|
output,
|
|
2326
2284
|
parsedBody: parsedBody.Error,
|
|
2327
|
-
exceptionCtor: __BaseException,
|
|
2328
2285
|
errorCode,
|
|
2329
2286
|
});
|
|
2330
2287
|
};
|
|
@@ -2339,7 +2296,7 @@ export const de_DescribePendingMaintenanceActionsCommand = async (output, contex
|
|
|
2339
2296
|
$metadata: deserializeMetadata(output),
|
|
2340
2297
|
...contents,
|
|
2341
2298
|
};
|
|
2342
|
-
return
|
|
2299
|
+
return response;
|
|
2343
2300
|
};
|
|
2344
2301
|
const de_DescribePendingMaintenanceActionsCommandError = async (output, context) => {
|
|
2345
2302
|
const parsedOutput = {
|
|
@@ -2353,10 +2310,9 @@ const de_DescribePendingMaintenanceActionsCommandError = async (output, context)
|
|
|
2353
2310
|
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
2354
2311
|
default:
|
|
2355
2312
|
const parsedBody = parsedOutput.body;
|
|
2356
|
-
throwDefaultError({
|
|
2313
|
+
return throwDefaultError({
|
|
2357
2314
|
output,
|
|
2358
2315
|
parsedBody: parsedBody.Error,
|
|
2359
|
-
exceptionCtor: __BaseException,
|
|
2360
2316
|
errorCode,
|
|
2361
2317
|
});
|
|
2362
2318
|
}
|
|
@@ -2372,7 +2328,7 @@ export const de_DescribeValidDBInstanceModificationsCommand = async (output, con
|
|
|
2372
2328
|
$metadata: deserializeMetadata(output),
|
|
2373
2329
|
...contents,
|
|
2374
2330
|
};
|
|
2375
|
-
return
|
|
2331
|
+
return response;
|
|
2376
2332
|
};
|
|
2377
2333
|
const de_DescribeValidDBInstanceModificationsCommandError = async (output, context) => {
|
|
2378
2334
|
const parsedOutput = {
|
|
@@ -2389,10 +2345,9 @@ const de_DescribeValidDBInstanceModificationsCommandError = async (output, conte
|
|
|
2389
2345
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2390
2346
|
default:
|
|
2391
2347
|
const parsedBody = parsedOutput.body;
|
|
2392
|
-
throwDefaultError({
|
|
2348
|
+
return throwDefaultError({
|
|
2393
2349
|
output,
|
|
2394
2350
|
parsedBody: parsedBody.Error,
|
|
2395
|
-
exceptionCtor: __BaseException,
|
|
2396
2351
|
errorCode,
|
|
2397
2352
|
});
|
|
2398
2353
|
}
|
|
@@ -2408,7 +2363,7 @@ export const de_FailoverDBClusterCommand = async (output, context) => {
|
|
|
2408
2363
|
$metadata: deserializeMetadata(output),
|
|
2409
2364
|
...contents,
|
|
2410
2365
|
};
|
|
2411
|
-
return
|
|
2366
|
+
return response;
|
|
2412
2367
|
};
|
|
2413
2368
|
const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
2414
2369
|
const parsedOutput = {
|
|
@@ -2428,10 +2383,9 @@ const de_FailoverDBClusterCommandError = async (output, context) => {
|
|
|
2428
2383
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2429
2384
|
default:
|
|
2430
2385
|
const parsedBody = parsedOutput.body;
|
|
2431
|
-
throwDefaultError({
|
|
2386
|
+
return throwDefaultError({
|
|
2432
2387
|
output,
|
|
2433
2388
|
parsedBody: parsedBody.Error,
|
|
2434
|
-
exceptionCtor: __BaseException,
|
|
2435
2389
|
errorCode,
|
|
2436
2390
|
});
|
|
2437
2391
|
}
|
|
@@ -2447,7 +2401,7 @@ export const de_FailoverGlobalClusterCommand = async (output, context) => {
|
|
|
2447
2401
|
$metadata: deserializeMetadata(output),
|
|
2448
2402
|
...contents,
|
|
2449
2403
|
};
|
|
2450
|
-
return
|
|
2404
|
+
return response;
|
|
2451
2405
|
};
|
|
2452
2406
|
const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
2453
2407
|
const parsedOutput = {
|
|
@@ -2470,10 +2424,9 @@ const de_FailoverGlobalClusterCommandError = async (output, context) => {
|
|
|
2470
2424
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2471
2425
|
default:
|
|
2472
2426
|
const parsedBody = parsedOutput.body;
|
|
2473
|
-
throwDefaultError({
|
|
2427
|
+
return throwDefaultError({
|
|
2474
2428
|
output,
|
|
2475
2429
|
parsedBody: parsedBody.Error,
|
|
2476
|
-
exceptionCtor: __BaseException,
|
|
2477
2430
|
errorCode,
|
|
2478
2431
|
});
|
|
2479
2432
|
}
|
|
@@ -2489,7 +2442,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2489
2442
|
$metadata: deserializeMetadata(output),
|
|
2490
2443
|
...contents,
|
|
2491
2444
|
};
|
|
2492
|
-
return
|
|
2445
|
+
return response;
|
|
2493
2446
|
};
|
|
2494
2447
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2495
2448
|
const parsedOutput = {
|
|
@@ -2509,10 +2462,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2509
2462
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
2510
2463
|
default:
|
|
2511
2464
|
const parsedBody = parsedOutput.body;
|
|
2512
|
-
throwDefaultError({
|
|
2465
|
+
return throwDefaultError({
|
|
2513
2466
|
output,
|
|
2514
2467
|
parsedBody: parsedBody.Error,
|
|
2515
|
-
exceptionCtor: __BaseException,
|
|
2516
2468
|
errorCode,
|
|
2517
2469
|
});
|
|
2518
2470
|
}
|
|
@@ -2528,7 +2480,7 @@ export const de_ModifyDBClusterCommand = async (output, context) => {
|
|
|
2528
2480
|
$metadata: deserializeMetadata(output),
|
|
2529
2481
|
...contents,
|
|
2530
2482
|
};
|
|
2531
|
-
return
|
|
2483
|
+
return response;
|
|
2532
2484
|
};
|
|
2533
2485
|
const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
2534
2486
|
const parsedOutput = {
|
|
@@ -2572,10 +2524,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
|
|
|
2572
2524
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
2573
2525
|
default:
|
|
2574
2526
|
const parsedBody = parsedOutput.body;
|
|
2575
|
-
throwDefaultError({
|
|
2527
|
+
return throwDefaultError({
|
|
2576
2528
|
output,
|
|
2577
2529
|
parsedBody: parsedBody.Error,
|
|
2578
|
-
exceptionCtor: __BaseException,
|
|
2579
2530
|
errorCode,
|
|
2580
2531
|
});
|
|
2581
2532
|
}
|
|
@@ -2591,7 +2542,7 @@ export const de_ModifyDBClusterEndpointCommand = async (output, context) => {
|
|
|
2591
2542
|
$metadata: deserializeMetadata(output),
|
|
2592
2543
|
...contents,
|
|
2593
2544
|
};
|
|
2594
|
-
return
|
|
2545
|
+
return response;
|
|
2595
2546
|
};
|
|
2596
2547
|
const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
2597
2548
|
const parsedOutput = {
|
|
@@ -2617,10 +2568,9 @@ const de_ModifyDBClusterEndpointCommandError = async (output, context) => {
|
|
|
2617
2568
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
2618
2569
|
default:
|
|
2619
2570
|
const parsedBody = parsedOutput.body;
|
|
2620
|
-
throwDefaultError({
|
|
2571
|
+
return throwDefaultError({
|
|
2621
2572
|
output,
|
|
2622
2573
|
parsedBody: parsedBody.Error,
|
|
2623
|
-
exceptionCtor: __BaseException,
|
|
2624
2574
|
errorCode,
|
|
2625
2575
|
});
|
|
2626
2576
|
}
|
|
@@ -2636,7 +2586,7 @@ export const de_ModifyDBClusterParameterGroupCommand = async (output, context) =
|
|
|
2636
2586
|
$metadata: deserializeMetadata(output),
|
|
2637
2587
|
...contents,
|
|
2638
2588
|
};
|
|
2639
|
-
return
|
|
2589
|
+
return response;
|
|
2640
2590
|
};
|
|
2641
2591
|
const de_ModifyDBClusterParameterGroupCommandError = async (output, context) => {
|
|
2642
2592
|
const parsedOutput = {
|
|
@@ -2653,10 +2603,9 @@ const de_ModifyDBClusterParameterGroupCommandError = async (output, context) =>
|
|
|
2653
2603
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2654
2604
|
default:
|
|
2655
2605
|
const parsedBody = parsedOutput.body;
|
|
2656
|
-
throwDefaultError({
|
|
2606
|
+
return throwDefaultError({
|
|
2657
2607
|
output,
|
|
2658
2608
|
parsedBody: parsedBody.Error,
|
|
2659
|
-
exceptionCtor: __BaseException,
|
|
2660
2609
|
errorCode,
|
|
2661
2610
|
});
|
|
2662
2611
|
}
|
|
@@ -2672,7 +2621,7 @@ export const de_ModifyDBClusterSnapshotAttributeCommand = async (output, context
|
|
|
2672
2621
|
$metadata: deserializeMetadata(output),
|
|
2673
2622
|
...contents,
|
|
2674
2623
|
};
|
|
2675
|
-
return
|
|
2624
|
+
return response;
|
|
2676
2625
|
};
|
|
2677
2626
|
const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context) => {
|
|
2678
2627
|
const parsedOutput = {
|
|
@@ -2692,10 +2641,9 @@ const de_ModifyDBClusterSnapshotAttributeCommandError = async (output, context)
|
|
|
2692
2641
|
throw await de_SharedSnapshotQuotaExceededFaultRes(parsedOutput, context);
|
|
2693
2642
|
default:
|
|
2694
2643
|
const parsedBody = parsedOutput.body;
|
|
2695
|
-
throwDefaultError({
|
|
2644
|
+
return throwDefaultError({
|
|
2696
2645
|
output,
|
|
2697
2646
|
parsedBody: parsedBody.Error,
|
|
2698
|
-
exceptionCtor: __BaseException,
|
|
2699
2647
|
errorCode,
|
|
2700
2648
|
});
|
|
2701
2649
|
}
|
|
@@ -2711,7 +2659,7 @@ export const de_ModifyDBInstanceCommand = async (output, context) => {
|
|
|
2711
2659
|
$metadata: deserializeMetadata(output),
|
|
2712
2660
|
...contents,
|
|
2713
2661
|
};
|
|
2714
|
-
return
|
|
2662
|
+
return response;
|
|
2715
2663
|
};
|
|
2716
2664
|
const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
2717
2665
|
const parsedOutput = {
|
|
@@ -2770,10 +2718,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
2770
2718
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2771
2719
|
default:
|
|
2772
2720
|
const parsedBody = parsedOutput.body;
|
|
2773
|
-
throwDefaultError({
|
|
2721
|
+
return throwDefaultError({
|
|
2774
2722
|
output,
|
|
2775
2723
|
parsedBody: parsedBody.Error,
|
|
2776
|
-
exceptionCtor: __BaseException,
|
|
2777
2724
|
errorCode,
|
|
2778
2725
|
});
|
|
2779
2726
|
}
|
|
@@ -2789,7 +2736,7 @@ export const de_ModifyDBParameterGroupCommand = async (output, context) => {
|
|
|
2789
2736
|
$metadata: deserializeMetadata(output),
|
|
2790
2737
|
...contents,
|
|
2791
2738
|
};
|
|
2792
|
-
return
|
|
2739
|
+
return response;
|
|
2793
2740
|
};
|
|
2794
2741
|
const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
2795
2742
|
const parsedOutput = {
|
|
@@ -2806,10 +2753,9 @@ const de_ModifyDBParameterGroupCommandError = async (output, context) => {
|
|
|
2806
2753
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
2807
2754
|
default:
|
|
2808
2755
|
const parsedBody = parsedOutput.body;
|
|
2809
|
-
throwDefaultError({
|
|
2756
|
+
return throwDefaultError({
|
|
2810
2757
|
output,
|
|
2811
2758
|
parsedBody: parsedBody.Error,
|
|
2812
|
-
exceptionCtor: __BaseException,
|
|
2813
2759
|
errorCode,
|
|
2814
2760
|
});
|
|
2815
2761
|
}
|
|
@@ -2825,7 +2771,7 @@ export const de_ModifyDBSubnetGroupCommand = async (output, context) => {
|
|
|
2825
2771
|
$metadata: deserializeMetadata(output),
|
|
2826
2772
|
...contents,
|
|
2827
2773
|
};
|
|
2828
|
-
return
|
|
2774
|
+
return response;
|
|
2829
2775
|
};
|
|
2830
2776
|
const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
2831
2777
|
const parsedOutput = {
|
|
@@ -2851,10 +2797,9 @@ const de_ModifyDBSubnetGroupCommandError = async (output, context) => {
|
|
|
2851
2797
|
throw await de_SubnetAlreadyInUseRes(parsedOutput, context);
|
|
2852
2798
|
default:
|
|
2853
2799
|
const parsedBody = parsedOutput.body;
|
|
2854
|
-
throwDefaultError({
|
|
2800
|
+
return throwDefaultError({
|
|
2855
2801
|
output,
|
|
2856
2802
|
parsedBody: parsedBody.Error,
|
|
2857
|
-
exceptionCtor: __BaseException,
|
|
2858
2803
|
errorCode,
|
|
2859
2804
|
});
|
|
2860
2805
|
}
|
|
@@ -2870,7 +2815,7 @@ export const de_ModifyEventSubscriptionCommand = async (output, context) => {
|
|
|
2870
2815
|
$metadata: deserializeMetadata(output),
|
|
2871
2816
|
...contents,
|
|
2872
2817
|
};
|
|
2873
|
-
return
|
|
2818
|
+
return response;
|
|
2874
2819
|
};
|
|
2875
2820
|
const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
2876
2821
|
const parsedOutput = {
|
|
@@ -2899,10 +2844,9 @@ const de_ModifyEventSubscriptionCommandError = async (output, context) => {
|
|
|
2899
2844
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
2900
2845
|
default:
|
|
2901
2846
|
const parsedBody = parsedOutput.body;
|
|
2902
|
-
throwDefaultError({
|
|
2847
|
+
return throwDefaultError({
|
|
2903
2848
|
output,
|
|
2904
2849
|
parsedBody: parsedBody.Error,
|
|
2905
|
-
exceptionCtor: __BaseException,
|
|
2906
2850
|
errorCode,
|
|
2907
2851
|
});
|
|
2908
2852
|
}
|
|
@@ -2918,7 +2862,7 @@ export const de_ModifyGlobalClusterCommand = async (output, context) => {
|
|
|
2918
2862
|
$metadata: deserializeMetadata(output),
|
|
2919
2863
|
...contents,
|
|
2920
2864
|
};
|
|
2921
|
-
return
|
|
2865
|
+
return response;
|
|
2922
2866
|
};
|
|
2923
2867
|
const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
2924
2868
|
const parsedOutput = {
|
|
@@ -2935,10 +2879,9 @@ const de_ModifyGlobalClusterCommandError = async (output, context) => {
|
|
|
2935
2879
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
2936
2880
|
default:
|
|
2937
2881
|
const parsedBody = parsedOutput.body;
|
|
2938
|
-
throwDefaultError({
|
|
2882
|
+
return throwDefaultError({
|
|
2939
2883
|
output,
|
|
2940
2884
|
parsedBody: parsedBody.Error,
|
|
2941
|
-
exceptionCtor: __BaseException,
|
|
2942
2885
|
errorCode,
|
|
2943
2886
|
});
|
|
2944
2887
|
}
|
|
@@ -2954,7 +2897,7 @@ export const de_PromoteReadReplicaDBClusterCommand = async (output, context) =>
|
|
|
2954
2897
|
$metadata: deserializeMetadata(output),
|
|
2955
2898
|
...contents,
|
|
2956
2899
|
};
|
|
2957
|
-
return
|
|
2900
|
+
return response;
|
|
2958
2901
|
};
|
|
2959
2902
|
const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
2960
2903
|
const parsedOutput = {
|
|
@@ -2971,10 +2914,9 @@ const de_PromoteReadReplicaDBClusterCommandError = async (output, context) => {
|
|
|
2971
2914
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
2972
2915
|
default:
|
|
2973
2916
|
const parsedBody = parsedOutput.body;
|
|
2974
|
-
throwDefaultError({
|
|
2917
|
+
return throwDefaultError({
|
|
2975
2918
|
output,
|
|
2976
2919
|
parsedBody: parsedBody.Error,
|
|
2977
|
-
exceptionCtor: __BaseException,
|
|
2978
2920
|
errorCode,
|
|
2979
2921
|
});
|
|
2980
2922
|
}
|
|
@@ -2990,7 +2932,7 @@ export const de_RebootDBInstanceCommand = async (output, context) => {
|
|
|
2990
2932
|
$metadata: deserializeMetadata(output),
|
|
2991
2933
|
...contents,
|
|
2992
2934
|
};
|
|
2993
|
-
return
|
|
2935
|
+
return response;
|
|
2994
2936
|
};
|
|
2995
2937
|
const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
2996
2938
|
const parsedOutput = {
|
|
@@ -3007,10 +2949,9 @@ const de_RebootDBInstanceCommandError = async (output, context) => {
|
|
|
3007
2949
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3008
2950
|
default:
|
|
3009
2951
|
const parsedBody = parsedOutput.body;
|
|
3010
|
-
throwDefaultError({
|
|
2952
|
+
return throwDefaultError({
|
|
3011
2953
|
output,
|
|
3012
2954
|
parsedBody: parsedBody.Error,
|
|
3013
|
-
exceptionCtor: __BaseException,
|
|
3014
2955
|
errorCode,
|
|
3015
2956
|
});
|
|
3016
2957
|
}
|
|
@@ -3026,7 +2967,7 @@ export const de_RemoveFromGlobalClusterCommand = async (output, context) => {
|
|
|
3026
2967
|
$metadata: deserializeMetadata(output),
|
|
3027
2968
|
...contents,
|
|
3028
2969
|
};
|
|
3029
|
-
return
|
|
2970
|
+
return response;
|
|
3030
2971
|
};
|
|
3031
2972
|
const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
3032
2973
|
const parsedOutput = {
|
|
@@ -3046,10 +2987,9 @@ const de_RemoveFromGlobalClusterCommandError = async (output, context) => {
|
|
|
3046
2987
|
throw await de_InvalidGlobalClusterStateFaultRes(parsedOutput, context);
|
|
3047
2988
|
default:
|
|
3048
2989
|
const parsedBody = parsedOutput.body;
|
|
3049
|
-
throwDefaultError({
|
|
2990
|
+
return throwDefaultError({
|
|
3050
2991
|
output,
|
|
3051
2992
|
parsedBody: parsedBody.Error,
|
|
3052
|
-
exceptionCtor: __BaseException,
|
|
3053
2993
|
errorCode,
|
|
3054
2994
|
});
|
|
3055
2995
|
}
|
|
@@ -3062,7 +3002,7 @@ export const de_RemoveRoleFromDBClusterCommand = async (output, context) => {
|
|
|
3062
3002
|
const response = {
|
|
3063
3003
|
$metadata: deserializeMetadata(output),
|
|
3064
3004
|
};
|
|
3065
|
-
return
|
|
3005
|
+
return response;
|
|
3066
3006
|
};
|
|
3067
3007
|
const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
3068
3008
|
const parsedOutput = {
|
|
@@ -3082,10 +3022,9 @@ const de_RemoveRoleFromDBClusterCommandError = async (output, context) => {
|
|
|
3082
3022
|
throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
|
|
3083
3023
|
default:
|
|
3084
3024
|
const parsedBody = parsedOutput.body;
|
|
3085
|
-
throwDefaultError({
|
|
3025
|
+
return throwDefaultError({
|
|
3086
3026
|
output,
|
|
3087
3027
|
parsedBody: parsedBody.Error,
|
|
3088
|
-
exceptionCtor: __BaseException,
|
|
3089
3028
|
errorCode,
|
|
3090
3029
|
});
|
|
3091
3030
|
}
|
|
@@ -3101,7 +3040,7 @@ export const de_RemoveSourceIdentifierFromSubscriptionCommand = async (output, c
|
|
|
3101
3040
|
$metadata: deserializeMetadata(output),
|
|
3102
3041
|
...contents,
|
|
3103
3042
|
};
|
|
3104
|
-
return
|
|
3043
|
+
return response;
|
|
3105
3044
|
};
|
|
3106
3045
|
const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, context) => {
|
|
3107
3046
|
const parsedOutput = {
|
|
@@ -3118,10 +3057,9 @@ const de_RemoveSourceIdentifierFromSubscriptionCommandError = async (output, con
|
|
|
3118
3057
|
throw await de_SubscriptionNotFoundFaultRes(parsedOutput, context);
|
|
3119
3058
|
default:
|
|
3120
3059
|
const parsedBody = parsedOutput.body;
|
|
3121
|
-
throwDefaultError({
|
|
3060
|
+
return throwDefaultError({
|
|
3122
3061
|
output,
|
|
3123
3062
|
parsedBody: parsedBody.Error,
|
|
3124
|
-
exceptionCtor: __BaseException,
|
|
3125
3063
|
errorCode,
|
|
3126
3064
|
});
|
|
3127
3065
|
}
|
|
@@ -3134,7 +3072,7 @@ export const de_RemoveTagsFromResourceCommand = async (output, context) => {
|
|
|
3134
3072
|
const response = {
|
|
3135
3073
|
$metadata: deserializeMetadata(output),
|
|
3136
3074
|
};
|
|
3137
|
-
return
|
|
3075
|
+
return response;
|
|
3138
3076
|
};
|
|
3139
3077
|
const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
3140
3078
|
const parsedOutput = {
|
|
@@ -3154,10 +3092,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
3154
3092
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
3155
3093
|
default:
|
|
3156
3094
|
const parsedBody = parsedOutput.body;
|
|
3157
|
-
throwDefaultError({
|
|
3095
|
+
return throwDefaultError({
|
|
3158
3096
|
output,
|
|
3159
3097
|
parsedBody: parsedBody.Error,
|
|
3160
|
-
exceptionCtor: __BaseException,
|
|
3161
3098
|
errorCode,
|
|
3162
3099
|
});
|
|
3163
3100
|
}
|
|
@@ -3173,7 +3110,7 @@ export const de_ResetDBClusterParameterGroupCommand = async (output, context) =>
|
|
|
3173
3110
|
$metadata: deserializeMetadata(output),
|
|
3174
3111
|
...contents,
|
|
3175
3112
|
};
|
|
3176
|
-
return
|
|
3113
|
+
return response;
|
|
3177
3114
|
};
|
|
3178
3115
|
const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
3179
3116
|
const parsedOutput = {
|
|
@@ -3190,10 +3127,9 @@ const de_ResetDBClusterParameterGroupCommandError = async (output, context) => {
|
|
|
3190
3127
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3191
3128
|
default:
|
|
3192
3129
|
const parsedBody = parsedOutput.body;
|
|
3193
|
-
throwDefaultError({
|
|
3130
|
+
return throwDefaultError({
|
|
3194
3131
|
output,
|
|
3195
3132
|
parsedBody: parsedBody.Error,
|
|
3196
|
-
exceptionCtor: __BaseException,
|
|
3197
3133
|
errorCode,
|
|
3198
3134
|
});
|
|
3199
3135
|
}
|
|
@@ -3209,7 +3145,7 @@ export const de_ResetDBParameterGroupCommand = async (output, context) => {
|
|
|
3209
3145
|
$metadata: deserializeMetadata(output),
|
|
3210
3146
|
...contents,
|
|
3211
3147
|
};
|
|
3212
|
-
return
|
|
3148
|
+
return response;
|
|
3213
3149
|
};
|
|
3214
3150
|
const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
3215
3151
|
const parsedOutput = {
|
|
@@ -3226,10 +3162,9 @@ const de_ResetDBParameterGroupCommandError = async (output, context) => {
|
|
|
3226
3162
|
throw await de_InvalidDBParameterGroupStateFaultRes(parsedOutput, context);
|
|
3227
3163
|
default:
|
|
3228
3164
|
const parsedBody = parsedOutput.body;
|
|
3229
|
-
throwDefaultError({
|
|
3165
|
+
return throwDefaultError({
|
|
3230
3166
|
output,
|
|
3231
3167
|
parsedBody: parsedBody.Error,
|
|
3232
|
-
exceptionCtor: __BaseException,
|
|
3233
3168
|
errorCode,
|
|
3234
3169
|
});
|
|
3235
3170
|
}
|
|
@@ -3245,7 +3180,7 @@ export const de_RestoreDBClusterFromSnapshotCommand = async (output, context) =>
|
|
|
3245
3180
|
$metadata: deserializeMetadata(output),
|
|
3246
3181
|
...contents,
|
|
3247
3182
|
};
|
|
3248
|
-
return
|
|
3183
|
+
return response;
|
|
3249
3184
|
};
|
|
3250
3185
|
const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
3251
3186
|
const parsedOutput = {
|
|
@@ -3304,10 +3239,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async (output, context) => {
|
|
|
3304
3239
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3305
3240
|
default:
|
|
3306
3241
|
const parsedBody = parsedOutput.body;
|
|
3307
|
-
throwDefaultError({
|
|
3242
|
+
return throwDefaultError({
|
|
3308
3243
|
output,
|
|
3309
3244
|
parsedBody: parsedBody.Error,
|
|
3310
|
-
exceptionCtor: __BaseException,
|
|
3311
3245
|
errorCode,
|
|
3312
3246
|
});
|
|
3313
3247
|
}
|
|
@@ -3323,7 +3257,7 @@ export const de_RestoreDBClusterToPointInTimeCommand = async (output, context) =
|
|
|
3323
3257
|
$metadata: deserializeMetadata(output),
|
|
3324
3258
|
...contents,
|
|
3325
3259
|
};
|
|
3326
|
-
return
|
|
3260
|
+
return response;
|
|
3327
3261
|
};
|
|
3328
3262
|
const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) => {
|
|
3329
3263
|
const parsedOutput = {
|
|
@@ -3385,10 +3319,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
3385
3319
|
throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
|
|
3386
3320
|
default:
|
|
3387
3321
|
const parsedBody = parsedOutput.body;
|
|
3388
|
-
throwDefaultError({
|
|
3322
|
+
return throwDefaultError({
|
|
3389
3323
|
output,
|
|
3390
3324
|
parsedBody: parsedBody.Error,
|
|
3391
|
-
exceptionCtor: __BaseException,
|
|
3392
3325
|
errorCode,
|
|
3393
3326
|
});
|
|
3394
3327
|
}
|
|
@@ -3404,7 +3337,7 @@ export const de_StartDBClusterCommand = async (output, context) => {
|
|
|
3404
3337
|
$metadata: deserializeMetadata(output),
|
|
3405
3338
|
...contents,
|
|
3406
3339
|
};
|
|
3407
|
-
return
|
|
3340
|
+
return response;
|
|
3408
3341
|
};
|
|
3409
3342
|
const de_StartDBClusterCommandError = async (output, context) => {
|
|
3410
3343
|
const parsedOutput = {
|
|
@@ -3424,10 +3357,9 @@ const de_StartDBClusterCommandError = async (output, context) => {
|
|
|
3424
3357
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3425
3358
|
default:
|
|
3426
3359
|
const parsedBody = parsedOutput.body;
|
|
3427
|
-
throwDefaultError({
|
|
3360
|
+
return throwDefaultError({
|
|
3428
3361
|
output,
|
|
3429
3362
|
parsedBody: parsedBody.Error,
|
|
3430
|
-
exceptionCtor: __BaseException,
|
|
3431
3363
|
errorCode,
|
|
3432
3364
|
});
|
|
3433
3365
|
}
|
|
@@ -3443,7 +3375,7 @@ export const de_StopDBClusterCommand = async (output, context) => {
|
|
|
3443
3375
|
$metadata: deserializeMetadata(output),
|
|
3444
3376
|
...contents,
|
|
3445
3377
|
};
|
|
3446
|
-
return
|
|
3378
|
+
return response;
|
|
3447
3379
|
};
|
|
3448
3380
|
const de_StopDBClusterCommandError = async (output, context) => {
|
|
3449
3381
|
const parsedOutput = {
|
|
@@ -3463,10 +3395,9 @@ const de_StopDBClusterCommandError = async (output, context) => {
|
|
|
3463
3395
|
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3464
3396
|
default:
|
|
3465
3397
|
const parsedBody = parsedOutput.body;
|
|
3466
|
-
throwDefaultError({
|
|
3398
|
+
return throwDefaultError({
|
|
3467
3399
|
output,
|
|
3468
3400
|
parsedBody: parsedBody.Error,
|
|
3469
|
-
exceptionCtor: __BaseException,
|
|
3470
3401
|
errorCode,
|
|
3471
3402
|
});
|
|
3472
3403
|
}
|
|
@@ -8876,6 +8807,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
8876
8807
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
8877
8808
|
};
|
|
8878
8809
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
8810
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
8879
8811
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
8880
8812
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8881
8813
|
const contents = {
|