@aws-sdk/client-docdb 3.141.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_query.js +534 -807
- package/dist-es/protocols/Aws_query.js +684 -808
- package/package.json +11 -6
|
@@ -717,7 +717,6 @@ const deserializeAws_queryAddSourceIdentifierToSubscriptionCommandError = async
|
|
|
717
717
|
...output,
|
|
718
718
|
body: await parseBody(output.body, context),
|
|
719
719
|
};
|
|
720
|
-
let response;
|
|
721
720
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
722
721
|
switch (errorCode) {
|
|
723
722
|
case "SourceNotFoundFault":
|
|
@@ -728,14 +727,12 @@ const deserializeAws_queryAddSourceIdentifierToSubscriptionCommandError = async
|
|
|
728
727
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
729
728
|
default:
|
|
730
729
|
const parsedBody = parsedOutput.body;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
$metadata,
|
|
730
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
731
|
+
output,
|
|
732
|
+
parsedBody: parsedBody.Error,
|
|
733
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
734
|
+
errorCode,
|
|
737
735
|
});
|
|
738
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
739
736
|
}
|
|
740
737
|
};
|
|
741
738
|
const deserializeAws_queryAddTagsToResourceCommand = async (output, context) => {
|
|
@@ -754,7 +751,6 @@ const deserializeAws_queryAddTagsToResourceCommandError = async (output, context
|
|
|
754
751
|
...output,
|
|
755
752
|
body: await parseBody(output.body, context),
|
|
756
753
|
};
|
|
757
|
-
let response;
|
|
758
754
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
759
755
|
switch (errorCode) {
|
|
760
756
|
case "DBClusterNotFoundFault":
|
|
@@ -768,14 +764,12 @@ const deserializeAws_queryAddTagsToResourceCommandError = async (output, context
|
|
|
768
764
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
769
765
|
default:
|
|
770
766
|
const parsedBody = parsedOutput.body;
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
$metadata,
|
|
767
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
768
|
+
output,
|
|
769
|
+
parsedBody: parsedBody.Error,
|
|
770
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
771
|
+
errorCode,
|
|
777
772
|
});
|
|
778
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
779
773
|
}
|
|
780
774
|
};
|
|
781
775
|
const deserializeAws_queryApplyPendingMaintenanceActionCommand = async (output, context) => {
|
|
@@ -797,7 +791,6 @@ const deserializeAws_queryApplyPendingMaintenanceActionCommandError = async (out
|
|
|
797
791
|
...output,
|
|
798
792
|
body: await parseBody(output.body, context),
|
|
799
793
|
};
|
|
800
|
-
let response;
|
|
801
794
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
802
795
|
switch (errorCode) {
|
|
803
796
|
case "InvalidDBClusterStateFault":
|
|
@@ -811,14 +804,12 @@ const deserializeAws_queryApplyPendingMaintenanceActionCommandError = async (out
|
|
|
811
804
|
throw await deserializeAws_queryResourceNotFoundFaultResponse(parsedOutput, context);
|
|
812
805
|
default:
|
|
813
806
|
const parsedBody = parsedOutput.body;
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
$metadata,
|
|
807
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
808
|
+
output,
|
|
809
|
+
parsedBody: parsedBody.Error,
|
|
810
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
811
|
+
errorCode,
|
|
820
812
|
});
|
|
821
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
822
813
|
}
|
|
823
814
|
};
|
|
824
815
|
const deserializeAws_queryCopyDBClusterParameterGroupCommand = async (output, context) => {
|
|
@@ -840,7 +831,6 @@ const deserializeAws_queryCopyDBClusterParameterGroupCommandError = async (outpu
|
|
|
840
831
|
...output,
|
|
841
832
|
body: await parseBody(output.body, context),
|
|
842
833
|
};
|
|
843
|
-
let response;
|
|
844
834
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
845
835
|
switch (errorCode) {
|
|
846
836
|
case "DBParameterGroupAlreadyExistsFault":
|
|
@@ -854,14 +844,12 @@ const deserializeAws_queryCopyDBClusterParameterGroupCommandError = async (outpu
|
|
|
854
844
|
throw await deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
855
845
|
default:
|
|
856
846
|
const parsedBody = parsedOutput.body;
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
$metadata,
|
|
847
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
848
|
+
output,
|
|
849
|
+
parsedBody: parsedBody.Error,
|
|
850
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
851
|
+
errorCode,
|
|
863
852
|
});
|
|
864
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
865
853
|
}
|
|
866
854
|
};
|
|
867
855
|
const deserializeAws_queryCopyDBClusterSnapshotCommand = async (output, context) => {
|
|
@@ -883,7 +871,6 @@ const deserializeAws_queryCopyDBClusterSnapshotCommandError = async (output, con
|
|
|
883
871
|
...output,
|
|
884
872
|
body: await parseBody(output.body, context),
|
|
885
873
|
};
|
|
886
|
-
let response;
|
|
887
874
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
888
875
|
switch (errorCode) {
|
|
889
876
|
case "DBClusterSnapshotAlreadyExistsFault":
|
|
@@ -906,14 +893,12 @@ const deserializeAws_queryCopyDBClusterSnapshotCommandError = async (output, con
|
|
|
906
893
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
907
894
|
default:
|
|
908
895
|
const parsedBody = parsedOutput.body;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
$metadata,
|
|
896
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
897
|
+
output,
|
|
898
|
+
parsedBody: parsedBody.Error,
|
|
899
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
900
|
+
errorCode,
|
|
915
901
|
});
|
|
916
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
917
902
|
}
|
|
918
903
|
};
|
|
919
904
|
const deserializeAws_queryCreateDBClusterCommand = async (output, context) => {
|
|
@@ -935,7 +920,6 @@ const deserializeAws_queryCreateDBClusterCommandError = async (output, context)
|
|
|
935
920
|
...output,
|
|
936
921
|
body: await parseBody(output.body, context),
|
|
937
922
|
};
|
|
938
|
-
let response;
|
|
939
923
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
940
924
|
switch (errorCode) {
|
|
941
925
|
case "DBClusterAlreadyExistsFault":
|
|
@@ -991,14 +975,12 @@ const deserializeAws_queryCreateDBClusterCommandError = async (output, context)
|
|
|
991
975
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
992
976
|
default:
|
|
993
977
|
const parsedBody = parsedOutput.body;
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
$metadata,
|
|
978
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
979
|
+
output,
|
|
980
|
+
parsedBody: parsedBody.Error,
|
|
981
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
982
|
+
errorCode,
|
|
1000
983
|
});
|
|
1001
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1002
984
|
}
|
|
1003
985
|
};
|
|
1004
986
|
const deserializeAws_queryCreateDBClusterParameterGroupCommand = async (output, context) => {
|
|
@@ -1020,7 +1002,6 @@ const deserializeAws_queryCreateDBClusterParameterGroupCommandError = async (out
|
|
|
1020
1002
|
...output,
|
|
1021
1003
|
body: await parseBody(output.body, context),
|
|
1022
1004
|
};
|
|
1023
|
-
let response;
|
|
1024
1005
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1025
1006
|
switch (errorCode) {
|
|
1026
1007
|
case "DBParameterGroupAlreadyExistsFault":
|
|
@@ -1031,14 +1012,12 @@ const deserializeAws_queryCreateDBClusterParameterGroupCommandError = async (out
|
|
|
1031
1012
|
throw await deserializeAws_queryDBParameterGroupQuotaExceededFaultResponse(parsedOutput, context);
|
|
1032
1013
|
default:
|
|
1033
1014
|
const parsedBody = parsedOutput.body;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
$metadata,
|
|
1015
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1016
|
+
output,
|
|
1017
|
+
parsedBody: parsedBody.Error,
|
|
1018
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1019
|
+
errorCode,
|
|
1040
1020
|
});
|
|
1041
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1042
1021
|
}
|
|
1043
1022
|
};
|
|
1044
1023
|
const deserializeAws_queryCreateDBClusterSnapshotCommand = async (output, context) => {
|
|
@@ -1060,7 +1039,6 @@ const deserializeAws_queryCreateDBClusterSnapshotCommandError = async (output, c
|
|
|
1060
1039
|
...output,
|
|
1061
1040
|
body: await parseBody(output.body, context),
|
|
1062
1041
|
};
|
|
1063
|
-
let response;
|
|
1064
1042
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1065
1043
|
switch (errorCode) {
|
|
1066
1044
|
case "DBClusterNotFoundFault":
|
|
@@ -1080,14 +1058,12 @@ const deserializeAws_queryCreateDBClusterSnapshotCommandError = async (output, c
|
|
|
1080
1058
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1081
1059
|
default:
|
|
1082
1060
|
const parsedBody = parsedOutput.body;
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
$metadata,
|
|
1061
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1062
|
+
output,
|
|
1063
|
+
parsedBody: parsedBody.Error,
|
|
1064
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1065
|
+
errorCode,
|
|
1089
1066
|
});
|
|
1090
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1091
1067
|
}
|
|
1092
1068
|
};
|
|
1093
1069
|
const deserializeAws_queryCreateDBInstanceCommand = async (output, context) => {
|
|
@@ -1109,7 +1085,6 @@ const deserializeAws_queryCreateDBInstanceCommandError = async (output, context)
|
|
|
1109
1085
|
...output,
|
|
1110
1086
|
body: await parseBody(output.body, context),
|
|
1111
1087
|
};
|
|
1112
|
-
let response;
|
|
1113
1088
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1114
1089
|
switch (errorCode) {
|
|
1115
1090
|
case "AuthorizationNotFoundFault":
|
|
@@ -1159,14 +1134,12 @@ const deserializeAws_queryCreateDBInstanceCommandError = async (output, context)
|
|
|
1159
1134
|
throw await deserializeAws_queryStorageTypeNotSupportedFaultResponse(parsedOutput, context);
|
|
1160
1135
|
default:
|
|
1161
1136
|
const parsedBody = parsedOutput.body;
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
$metadata,
|
|
1137
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1138
|
+
output,
|
|
1139
|
+
parsedBody: parsedBody.Error,
|
|
1140
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1141
|
+
errorCode,
|
|
1168
1142
|
});
|
|
1169
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1170
1143
|
}
|
|
1171
1144
|
};
|
|
1172
1145
|
const deserializeAws_queryCreateDBSubnetGroupCommand = async (output, context) => {
|
|
@@ -1188,7 +1161,6 @@ const deserializeAws_queryCreateDBSubnetGroupCommandError = async (output, conte
|
|
|
1188
1161
|
...output,
|
|
1189
1162
|
body: await parseBody(output.body, context),
|
|
1190
1163
|
};
|
|
1191
|
-
let response;
|
|
1192
1164
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1193
1165
|
switch (errorCode) {
|
|
1194
1166
|
case "DBSubnetGroupAlreadyExistsFault":
|
|
@@ -1208,14 +1180,12 @@ const deserializeAws_queryCreateDBSubnetGroupCommandError = async (output, conte
|
|
|
1208
1180
|
throw await deserializeAws_queryInvalidSubnetResponse(parsedOutput, context);
|
|
1209
1181
|
default:
|
|
1210
1182
|
const parsedBody = parsedOutput.body;
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
$metadata,
|
|
1183
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1184
|
+
output,
|
|
1185
|
+
parsedBody: parsedBody.Error,
|
|
1186
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1187
|
+
errorCode,
|
|
1217
1188
|
});
|
|
1218
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1219
1189
|
}
|
|
1220
1190
|
};
|
|
1221
1191
|
const deserializeAws_queryCreateEventSubscriptionCommand = async (output, context) => {
|
|
@@ -1237,7 +1207,6 @@ const deserializeAws_queryCreateEventSubscriptionCommandError = async (output, c
|
|
|
1237
1207
|
...output,
|
|
1238
1208
|
body: await parseBody(output.body, context),
|
|
1239
1209
|
};
|
|
1240
|
-
let response;
|
|
1241
1210
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1242
1211
|
switch (errorCode) {
|
|
1243
1212
|
case "EventSubscriptionQuotaExceededFault":
|
|
@@ -1263,14 +1232,12 @@ const deserializeAws_queryCreateEventSubscriptionCommandError = async (output, c
|
|
|
1263
1232
|
throw await deserializeAws_querySubscriptionCategoryNotFoundFaultResponse(parsedOutput, context);
|
|
1264
1233
|
default:
|
|
1265
1234
|
const parsedBody = parsedOutput.body;
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
$metadata,
|
|
1235
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1236
|
+
output,
|
|
1237
|
+
parsedBody: parsedBody.Error,
|
|
1238
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1239
|
+
errorCode,
|
|
1272
1240
|
});
|
|
1273
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1274
1241
|
}
|
|
1275
1242
|
};
|
|
1276
1243
|
const deserializeAws_queryCreateGlobalClusterCommand = async (output, context) => {
|
|
@@ -1292,7 +1259,6 @@ const deserializeAws_queryCreateGlobalClusterCommandError = async (output, conte
|
|
|
1292
1259
|
...output,
|
|
1293
1260
|
body: await parseBody(output.body, context),
|
|
1294
1261
|
};
|
|
1295
|
-
let response;
|
|
1296
1262
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1297
1263
|
switch (errorCode) {
|
|
1298
1264
|
case "DBClusterNotFoundFault":
|
|
@@ -1309,14 +1275,12 @@ const deserializeAws_queryCreateGlobalClusterCommandError = async (output, conte
|
|
|
1309
1275
|
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
1310
1276
|
default:
|
|
1311
1277
|
const parsedBody = parsedOutput.body;
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
$metadata,
|
|
1278
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1279
|
+
output,
|
|
1280
|
+
parsedBody: parsedBody.Error,
|
|
1281
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1282
|
+
errorCode,
|
|
1318
1283
|
});
|
|
1319
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1320
1284
|
}
|
|
1321
1285
|
};
|
|
1322
1286
|
const deserializeAws_queryDeleteDBClusterCommand = async (output, context) => {
|
|
@@ -1338,7 +1302,6 @@ const deserializeAws_queryDeleteDBClusterCommandError = async (output, context)
|
|
|
1338
1302
|
...output,
|
|
1339
1303
|
body: await parseBody(output.body, context),
|
|
1340
1304
|
};
|
|
1341
|
-
let response;
|
|
1342
1305
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1343
1306
|
switch (errorCode) {
|
|
1344
1307
|
case "DBClusterNotFoundFault":
|
|
@@ -1358,14 +1321,12 @@ const deserializeAws_queryDeleteDBClusterCommandError = async (output, context)
|
|
|
1358
1321
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1359
1322
|
default:
|
|
1360
1323
|
const parsedBody = parsedOutput.body;
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
$metadata,
|
|
1324
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1325
|
+
output,
|
|
1326
|
+
parsedBody: parsedBody.Error,
|
|
1327
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1328
|
+
errorCode,
|
|
1367
1329
|
});
|
|
1368
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1369
1330
|
}
|
|
1370
1331
|
};
|
|
1371
1332
|
const deserializeAws_queryDeleteDBClusterParameterGroupCommand = async (output, context) => {
|
|
@@ -1384,7 +1345,6 @@ const deserializeAws_queryDeleteDBClusterParameterGroupCommandError = async (out
|
|
|
1384
1345
|
...output,
|
|
1385
1346
|
body: await parseBody(output.body, context),
|
|
1386
1347
|
};
|
|
1387
|
-
let response;
|
|
1388
1348
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1389
1349
|
switch (errorCode) {
|
|
1390
1350
|
case "DBParameterGroupNotFoundFault":
|
|
@@ -1395,14 +1355,12 @@ const deserializeAws_queryDeleteDBClusterParameterGroupCommandError = async (out
|
|
|
1395
1355
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
1396
1356
|
default:
|
|
1397
1357
|
const parsedBody = parsedOutput.body;
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
$metadata,
|
|
1358
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1359
|
+
output,
|
|
1360
|
+
parsedBody: parsedBody.Error,
|
|
1361
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1362
|
+
errorCode,
|
|
1404
1363
|
});
|
|
1405
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1406
1364
|
}
|
|
1407
1365
|
};
|
|
1408
1366
|
const deserializeAws_queryDeleteDBClusterSnapshotCommand = async (output, context) => {
|
|
@@ -1424,7 +1382,6 @@ const deserializeAws_queryDeleteDBClusterSnapshotCommandError = async (output, c
|
|
|
1424
1382
|
...output,
|
|
1425
1383
|
body: await parseBody(output.body, context),
|
|
1426
1384
|
};
|
|
1427
|
-
let response;
|
|
1428
1385
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1429
1386
|
switch (errorCode) {
|
|
1430
1387
|
case "DBClusterSnapshotNotFoundFault":
|
|
@@ -1435,14 +1392,12 @@ const deserializeAws_queryDeleteDBClusterSnapshotCommandError = async (output, c
|
|
|
1435
1392
|
throw await deserializeAws_queryInvalidDBClusterSnapshotStateFaultResponse(parsedOutput, context);
|
|
1436
1393
|
default:
|
|
1437
1394
|
const parsedBody = parsedOutput.body;
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
$metadata,
|
|
1395
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1396
|
+
output,
|
|
1397
|
+
parsedBody: parsedBody.Error,
|
|
1398
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1399
|
+
errorCode,
|
|
1444
1400
|
});
|
|
1445
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1446
1401
|
}
|
|
1447
1402
|
};
|
|
1448
1403
|
const deserializeAws_queryDeleteDBInstanceCommand = async (output, context) => {
|
|
@@ -1464,7 +1419,6 @@ const deserializeAws_queryDeleteDBInstanceCommandError = async (output, context)
|
|
|
1464
1419
|
...output,
|
|
1465
1420
|
body: await parseBody(output.body, context),
|
|
1466
1421
|
};
|
|
1467
|
-
let response;
|
|
1468
1422
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1469
1423
|
switch (errorCode) {
|
|
1470
1424
|
case "DBInstanceNotFoundFault":
|
|
@@ -1484,14 +1438,12 @@ const deserializeAws_queryDeleteDBInstanceCommandError = async (output, context)
|
|
|
1484
1438
|
throw await deserializeAws_querySnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
1485
1439
|
default:
|
|
1486
1440
|
const parsedBody = parsedOutput.body;
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
$metadata,
|
|
1441
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1442
|
+
output,
|
|
1443
|
+
parsedBody: parsedBody.Error,
|
|
1444
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1445
|
+
errorCode,
|
|
1493
1446
|
});
|
|
1494
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1495
1447
|
}
|
|
1496
1448
|
};
|
|
1497
1449
|
const deserializeAws_queryDeleteDBSubnetGroupCommand = async (output, context) => {
|
|
@@ -1510,7 +1462,6 @@ const deserializeAws_queryDeleteDBSubnetGroupCommandError = async (output, conte
|
|
|
1510
1462
|
...output,
|
|
1511
1463
|
body: await parseBody(output.body, context),
|
|
1512
1464
|
};
|
|
1513
|
-
let response;
|
|
1514
1465
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1515
1466
|
switch (errorCode) {
|
|
1516
1467
|
case "DBSubnetGroupNotFoundFault":
|
|
@@ -1524,14 +1475,12 @@ const deserializeAws_queryDeleteDBSubnetGroupCommandError = async (output, conte
|
|
|
1524
1475
|
throw await deserializeAws_queryInvalidDBSubnetStateFaultResponse(parsedOutput, context);
|
|
1525
1476
|
default:
|
|
1526
1477
|
const parsedBody = parsedOutput.body;
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
$metadata,
|
|
1478
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1479
|
+
output,
|
|
1480
|
+
parsedBody: parsedBody.Error,
|
|
1481
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1482
|
+
errorCode,
|
|
1533
1483
|
});
|
|
1534
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1535
1484
|
}
|
|
1536
1485
|
};
|
|
1537
1486
|
const deserializeAws_queryDeleteEventSubscriptionCommand = async (output, context) => {
|
|
@@ -1553,7 +1502,6 @@ const deserializeAws_queryDeleteEventSubscriptionCommandError = async (output, c
|
|
|
1553
1502
|
...output,
|
|
1554
1503
|
body: await parseBody(output.body, context),
|
|
1555
1504
|
};
|
|
1556
|
-
let response;
|
|
1557
1505
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1558
1506
|
switch (errorCode) {
|
|
1559
1507
|
case "InvalidEventSubscriptionStateFault":
|
|
@@ -1564,14 +1512,12 @@ const deserializeAws_queryDeleteEventSubscriptionCommandError = async (output, c
|
|
|
1564
1512
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
1565
1513
|
default:
|
|
1566
1514
|
const parsedBody = parsedOutput.body;
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
$metadata,
|
|
1515
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1516
|
+
output,
|
|
1517
|
+
parsedBody: parsedBody.Error,
|
|
1518
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1519
|
+
errorCode,
|
|
1573
1520
|
});
|
|
1574
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1575
1521
|
}
|
|
1576
1522
|
};
|
|
1577
1523
|
const deserializeAws_queryDeleteGlobalClusterCommand = async (output, context) => {
|
|
@@ -1593,7 +1539,6 @@ const deserializeAws_queryDeleteGlobalClusterCommandError = async (output, conte
|
|
|
1593
1539
|
...output,
|
|
1594
1540
|
body: await parseBody(output.body, context),
|
|
1595
1541
|
};
|
|
1596
|
-
let response;
|
|
1597
1542
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1598
1543
|
switch (errorCode) {
|
|
1599
1544
|
case "GlobalClusterNotFoundFault":
|
|
@@ -1604,14 +1549,12 @@ const deserializeAws_queryDeleteGlobalClusterCommandError = async (output, conte
|
|
|
1604
1549
|
throw await deserializeAws_queryInvalidGlobalClusterStateFaultResponse(parsedOutput, context);
|
|
1605
1550
|
default:
|
|
1606
1551
|
const parsedBody = parsedOutput.body;
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
$metadata,
|
|
1552
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1553
|
+
output,
|
|
1554
|
+
parsedBody: parsedBody.Error,
|
|
1555
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1556
|
+
errorCode,
|
|
1613
1557
|
});
|
|
1614
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1615
1558
|
}
|
|
1616
1559
|
};
|
|
1617
1560
|
const deserializeAws_queryDescribeCertificatesCommand = async (output, context) => {
|
|
@@ -1633,7 +1576,6 @@ const deserializeAws_queryDescribeCertificatesCommandError = async (output, cont
|
|
|
1633
1576
|
...output,
|
|
1634
1577
|
body: await parseBody(output.body, context),
|
|
1635
1578
|
};
|
|
1636
|
-
let response;
|
|
1637
1579
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1638
1580
|
switch (errorCode) {
|
|
1639
1581
|
case "CertificateNotFoundFault":
|
|
@@ -1641,14 +1583,12 @@ const deserializeAws_queryDescribeCertificatesCommandError = async (output, cont
|
|
|
1641
1583
|
throw await deserializeAws_queryCertificateNotFoundFaultResponse(parsedOutput, context);
|
|
1642
1584
|
default:
|
|
1643
1585
|
const parsedBody = parsedOutput.body;
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
$metadata,
|
|
1586
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1587
|
+
output,
|
|
1588
|
+
parsedBody: parsedBody.Error,
|
|
1589
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1590
|
+
errorCode,
|
|
1650
1591
|
});
|
|
1651
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1652
1592
|
}
|
|
1653
1593
|
};
|
|
1654
1594
|
const deserializeAws_queryDescribeDBClusterParameterGroupsCommand = async (output, context) => {
|
|
@@ -1670,7 +1610,6 @@ const deserializeAws_queryDescribeDBClusterParameterGroupsCommandError = async (
|
|
|
1670
1610
|
...output,
|
|
1671
1611
|
body: await parseBody(output.body, context),
|
|
1672
1612
|
};
|
|
1673
|
-
let response;
|
|
1674
1613
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1675
1614
|
switch (errorCode) {
|
|
1676
1615
|
case "DBParameterGroupNotFoundFault":
|
|
@@ -1678,14 +1617,12 @@ const deserializeAws_queryDescribeDBClusterParameterGroupsCommandError = async (
|
|
|
1678
1617
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1679
1618
|
default:
|
|
1680
1619
|
const parsedBody = parsedOutput.body;
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
$metadata,
|
|
1620
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1621
|
+
output,
|
|
1622
|
+
parsedBody: parsedBody.Error,
|
|
1623
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1624
|
+
errorCode,
|
|
1687
1625
|
});
|
|
1688
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1689
1626
|
}
|
|
1690
1627
|
};
|
|
1691
1628
|
const deserializeAws_queryDescribeDBClusterParametersCommand = async (output, context) => {
|
|
@@ -1707,7 +1644,6 @@ const deserializeAws_queryDescribeDBClusterParametersCommandError = async (outpu
|
|
|
1707
1644
|
...output,
|
|
1708
1645
|
body: await parseBody(output.body, context),
|
|
1709
1646
|
};
|
|
1710
|
-
let response;
|
|
1711
1647
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1712
1648
|
switch (errorCode) {
|
|
1713
1649
|
case "DBParameterGroupNotFoundFault":
|
|
@@ -1715,14 +1651,12 @@ const deserializeAws_queryDescribeDBClusterParametersCommandError = async (outpu
|
|
|
1715
1651
|
throw await deserializeAws_queryDBParameterGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1716
1652
|
default:
|
|
1717
1653
|
const parsedBody = parsedOutput.body;
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
$metadata,
|
|
1654
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1655
|
+
output,
|
|
1656
|
+
parsedBody: parsedBody.Error,
|
|
1657
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1658
|
+
errorCode,
|
|
1724
1659
|
});
|
|
1725
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1726
1660
|
}
|
|
1727
1661
|
};
|
|
1728
1662
|
const deserializeAws_queryDescribeDBClustersCommand = async (output, context) => {
|
|
@@ -1744,7 +1678,6 @@ const deserializeAws_queryDescribeDBClustersCommandError = async (output, contex
|
|
|
1744
1678
|
...output,
|
|
1745
1679
|
body: await parseBody(output.body, context),
|
|
1746
1680
|
};
|
|
1747
|
-
let response;
|
|
1748
1681
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1749
1682
|
switch (errorCode) {
|
|
1750
1683
|
case "DBClusterNotFoundFault":
|
|
@@ -1752,14 +1685,12 @@ const deserializeAws_queryDescribeDBClustersCommandError = async (output, contex
|
|
|
1752
1685
|
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
1753
1686
|
default:
|
|
1754
1687
|
const parsedBody = parsedOutput.body;
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
$metadata,
|
|
1688
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1689
|
+
output,
|
|
1690
|
+
parsedBody: parsedBody.Error,
|
|
1691
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1692
|
+
errorCode,
|
|
1761
1693
|
});
|
|
1762
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1763
1694
|
}
|
|
1764
1695
|
};
|
|
1765
1696
|
const deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand = async (output, context) => {
|
|
@@ -1781,7 +1712,6 @@ const deserializeAws_queryDescribeDBClusterSnapshotAttributesCommandError = asyn
|
|
|
1781
1712
|
...output,
|
|
1782
1713
|
body: await parseBody(output.body, context),
|
|
1783
1714
|
};
|
|
1784
|
-
let response;
|
|
1785
1715
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1786
1716
|
switch (errorCode) {
|
|
1787
1717
|
case "DBClusterSnapshotNotFoundFault":
|
|
@@ -1789,14 +1719,12 @@ const deserializeAws_queryDescribeDBClusterSnapshotAttributesCommandError = asyn
|
|
|
1789
1719
|
throw await deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
1790
1720
|
default:
|
|
1791
1721
|
const parsedBody = parsedOutput.body;
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
$metadata,
|
|
1722
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1723
|
+
output,
|
|
1724
|
+
parsedBody: parsedBody.Error,
|
|
1725
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1726
|
+
errorCode,
|
|
1798
1727
|
});
|
|
1799
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1800
1728
|
}
|
|
1801
1729
|
};
|
|
1802
1730
|
const deserializeAws_queryDescribeDBClusterSnapshotsCommand = async (output, context) => {
|
|
@@ -1818,7 +1746,6 @@ const deserializeAws_queryDescribeDBClusterSnapshotsCommandError = async (output
|
|
|
1818
1746
|
...output,
|
|
1819
1747
|
body: await parseBody(output.body, context),
|
|
1820
1748
|
};
|
|
1821
|
-
let response;
|
|
1822
1749
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1823
1750
|
switch (errorCode) {
|
|
1824
1751
|
case "DBClusterSnapshotNotFoundFault":
|
|
@@ -1826,14 +1753,12 @@ const deserializeAws_queryDescribeDBClusterSnapshotsCommandError = async (output
|
|
|
1826
1753
|
throw await deserializeAws_queryDBClusterSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
1827
1754
|
default:
|
|
1828
1755
|
const parsedBody = parsedOutput.body;
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
$metadata,
|
|
1756
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1757
|
+
output,
|
|
1758
|
+
parsedBody: parsedBody.Error,
|
|
1759
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1760
|
+
errorCode,
|
|
1835
1761
|
});
|
|
1836
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1837
1762
|
}
|
|
1838
1763
|
};
|
|
1839
1764
|
const deserializeAws_queryDescribeDBEngineVersionsCommand = async (output, context) => {
|
|
@@ -1855,20 +1780,14 @@ const deserializeAws_queryDescribeDBEngineVersionsCommandError = async (output,
|
|
|
1855
1780
|
...output,
|
|
1856
1781
|
body: await parseBody(output.body, context),
|
|
1857
1782
|
};
|
|
1858
|
-
let response;
|
|
1859
1783
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
$fault: "client",
|
|
1868
|
-
$metadata,
|
|
1869
|
-
});
|
|
1870
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1871
|
-
}
|
|
1784
|
+
const parsedBody = parsedOutput.body;
|
|
1785
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1786
|
+
output,
|
|
1787
|
+
parsedBody: parsedBody.Error,
|
|
1788
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1789
|
+
errorCode,
|
|
1790
|
+
});
|
|
1872
1791
|
};
|
|
1873
1792
|
const deserializeAws_queryDescribeDBInstancesCommand = async (output, context) => {
|
|
1874
1793
|
if (output.statusCode >= 300) {
|
|
@@ -1889,7 +1808,6 @@ const deserializeAws_queryDescribeDBInstancesCommandError = async (output, conte
|
|
|
1889
1808
|
...output,
|
|
1890
1809
|
body: await parseBody(output.body, context),
|
|
1891
1810
|
};
|
|
1892
|
-
let response;
|
|
1893
1811
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1894
1812
|
switch (errorCode) {
|
|
1895
1813
|
case "DBInstanceNotFoundFault":
|
|
@@ -1897,14 +1815,12 @@ const deserializeAws_queryDescribeDBInstancesCommandError = async (output, conte
|
|
|
1897
1815
|
throw await deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context);
|
|
1898
1816
|
default:
|
|
1899
1817
|
const parsedBody = parsedOutput.body;
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
$metadata,
|
|
1818
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1819
|
+
output,
|
|
1820
|
+
parsedBody: parsedBody.Error,
|
|
1821
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1822
|
+
errorCode,
|
|
1906
1823
|
});
|
|
1907
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1908
1824
|
}
|
|
1909
1825
|
};
|
|
1910
1826
|
const deserializeAws_queryDescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
@@ -1926,7 +1842,6 @@ const deserializeAws_queryDescribeDBSubnetGroupsCommandError = async (output, co
|
|
|
1926
1842
|
...output,
|
|
1927
1843
|
body: await parseBody(output.body, context),
|
|
1928
1844
|
};
|
|
1929
|
-
let response;
|
|
1930
1845
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1931
1846
|
switch (errorCode) {
|
|
1932
1847
|
case "DBSubnetGroupNotFoundFault":
|
|
@@ -1934,14 +1849,12 @@ const deserializeAws_queryDescribeDBSubnetGroupsCommandError = async (output, co
|
|
|
1934
1849
|
throw await deserializeAws_queryDBSubnetGroupNotFoundFaultResponse(parsedOutput, context);
|
|
1935
1850
|
default:
|
|
1936
1851
|
const parsedBody = parsedOutput.body;
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
$metadata,
|
|
1852
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1853
|
+
output,
|
|
1854
|
+
parsedBody: parsedBody.Error,
|
|
1855
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1856
|
+
errorCode,
|
|
1943
1857
|
});
|
|
1944
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1945
1858
|
}
|
|
1946
1859
|
};
|
|
1947
1860
|
const deserializeAws_queryDescribeEngineDefaultClusterParametersCommand = async (output, context) => {
|
|
@@ -1963,20 +1876,14 @@ const deserializeAws_queryDescribeEngineDefaultClusterParametersCommandError = a
|
|
|
1963
1876
|
...output,
|
|
1964
1877
|
body: await parseBody(output.body, context),
|
|
1965
1878
|
};
|
|
1966
|
-
let response;
|
|
1967
1879
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
$fault: "client",
|
|
1976
|
-
$metadata,
|
|
1977
|
-
});
|
|
1978
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1979
|
-
}
|
|
1880
|
+
const parsedBody = parsedOutput.body;
|
|
1881
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1882
|
+
output,
|
|
1883
|
+
parsedBody: parsedBody.Error,
|
|
1884
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1885
|
+
errorCode,
|
|
1886
|
+
});
|
|
1980
1887
|
};
|
|
1981
1888
|
const deserializeAws_queryDescribeEventCategoriesCommand = async (output, context) => {
|
|
1982
1889
|
if (output.statusCode >= 300) {
|
|
@@ -1997,20 +1904,14 @@ const deserializeAws_queryDescribeEventCategoriesCommandError = async (output, c
|
|
|
1997
1904
|
...output,
|
|
1998
1905
|
body: await parseBody(output.body, context),
|
|
1999
1906
|
};
|
|
2000
|
-
let response;
|
|
2001
1907
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
$fault: "client",
|
|
2010
|
-
$metadata,
|
|
2011
|
-
});
|
|
2012
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2013
|
-
}
|
|
1908
|
+
const parsedBody = parsedOutput.body;
|
|
1909
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1910
|
+
output,
|
|
1911
|
+
parsedBody: parsedBody.Error,
|
|
1912
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1913
|
+
errorCode,
|
|
1914
|
+
});
|
|
2014
1915
|
};
|
|
2015
1916
|
const deserializeAws_queryDescribeEventsCommand = async (output, context) => {
|
|
2016
1917
|
if (output.statusCode >= 300) {
|
|
@@ -2031,20 +1932,14 @@ const deserializeAws_queryDescribeEventsCommandError = async (output, context) =
|
|
|
2031
1932
|
...output,
|
|
2032
1933
|
body: await parseBody(output.body, context),
|
|
2033
1934
|
};
|
|
2034
|
-
let response;
|
|
2035
1935
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
$fault: "client",
|
|
2044
|
-
$metadata,
|
|
2045
|
-
});
|
|
2046
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2047
|
-
}
|
|
1936
|
+
const parsedBody = parsedOutput.body;
|
|
1937
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1938
|
+
output,
|
|
1939
|
+
parsedBody: parsedBody.Error,
|
|
1940
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1941
|
+
errorCode,
|
|
1942
|
+
});
|
|
2048
1943
|
};
|
|
2049
1944
|
const deserializeAws_queryDescribeEventSubscriptionsCommand = async (output, context) => {
|
|
2050
1945
|
if (output.statusCode >= 300) {
|
|
@@ -2065,7 +1960,6 @@ const deserializeAws_queryDescribeEventSubscriptionsCommandError = async (output
|
|
|
2065
1960
|
...output,
|
|
2066
1961
|
body: await parseBody(output.body, context),
|
|
2067
1962
|
};
|
|
2068
|
-
let response;
|
|
2069
1963
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2070
1964
|
switch (errorCode) {
|
|
2071
1965
|
case "SubscriptionNotFoundFault":
|
|
@@ -2073,14 +1967,12 @@ const deserializeAws_queryDescribeEventSubscriptionsCommandError = async (output
|
|
|
2073
1967
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
2074
1968
|
default:
|
|
2075
1969
|
const parsedBody = parsedOutput.body;
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
$metadata,
|
|
1970
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1971
|
+
output,
|
|
1972
|
+
parsedBody: parsedBody.Error,
|
|
1973
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
1974
|
+
errorCode,
|
|
2082
1975
|
});
|
|
2083
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2084
1976
|
}
|
|
2085
1977
|
};
|
|
2086
1978
|
const deserializeAws_queryDescribeGlobalClustersCommand = async (output, context) => {
|
|
@@ -2102,7 +1994,6 @@ const deserializeAws_queryDescribeGlobalClustersCommandError = async (output, co
|
|
|
2102
1994
|
...output,
|
|
2103
1995
|
body: await parseBody(output.body, context),
|
|
2104
1996
|
};
|
|
2105
|
-
let response;
|
|
2106
1997
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2107
1998
|
switch (errorCode) {
|
|
2108
1999
|
case "GlobalClusterNotFoundFault":
|
|
@@ -2110,14 +2001,12 @@ const deserializeAws_queryDescribeGlobalClustersCommandError = async (output, co
|
|
|
2110
2001
|
throw await deserializeAws_queryGlobalClusterNotFoundFaultResponse(parsedOutput, context);
|
|
2111
2002
|
default:
|
|
2112
2003
|
const parsedBody = parsedOutput.body;
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
$metadata,
|
|
2004
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2005
|
+
output,
|
|
2006
|
+
parsedBody: parsedBody.Error,
|
|
2007
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2008
|
+
errorCode,
|
|
2119
2009
|
});
|
|
2120
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2121
2010
|
}
|
|
2122
2011
|
};
|
|
2123
2012
|
const deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand = async (output, context) => {
|
|
@@ -2139,20 +2028,14 @@ const deserializeAws_queryDescribeOrderableDBInstanceOptionsCommandError = async
|
|
|
2139
2028
|
...output,
|
|
2140
2029
|
body: await parseBody(output.body, context),
|
|
2141
2030
|
};
|
|
2142
|
-
let response;
|
|
2143
2031
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
$fault: "client",
|
|
2152
|
-
$metadata,
|
|
2153
|
-
});
|
|
2154
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2155
|
-
}
|
|
2032
|
+
const parsedBody = parsedOutput.body;
|
|
2033
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2034
|
+
output,
|
|
2035
|
+
parsedBody: parsedBody.Error,
|
|
2036
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2037
|
+
errorCode,
|
|
2038
|
+
});
|
|
2156
2039
|
};
|
|
2157
2040
|
const deserializeAws_queryDescribePendingMaintenanceActionsCommand = async (output, context) => {
|
|
2158
2041
|
if (output.statusCode >= 300) {
|
|
@@ -2173,7 +2056,6 @@ const deserializeAws_queryDescribePendingMaintenanceActionsCommandError = async
|
|
|
2173
2056
|
...output,
|
|
2174
2057
|
body: await parseBody(output.body, context),
|
|
2175
2058
|
};
|
|
2176
|
-
let response;
|
|
2177
2059
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2178
2060
|
switch (errorCode) {
|
|
2179
2061
|
case "ResourceNotFoundFault":
|
|
@@ -2181,14 +2063,12 @@ const deserializeAws_queryDescribePendingMaintenanceActionsCommandError = async
|
|
|
2181
2063
|
throw await deserializeAws_queryResourceNotFoundFaultResponse(parsedOutput, context);
|
|
2182
2064
|
default:
|
|
2183
2065
|
const parsedBody = parsedOutput.body;
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
$metadata,
|
|
2066
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2067
|
+
output,
|
|
2068
|
+
parsedBody: parsedBody.Error,
|
|
2069
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2070
|
+
errorCode,
|
|
2190
2071
|
});
|
|
2191
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2192
2072
|
}
|
|
2193
2073
|
};
|
|
2194
2074
|
const deserializeAws_queryFailoverDBClusterCommand = async (output, context) => {
|
|
@@ -2210,7 +2090,6 @@ const deserializeAws_queryFailoverDBClusterCommandError = async (output, context
|
|
|
2210
2090
|
...output,
|
|
2211
2091
|
body: await parseBody(output.body, context),
|
|
2212
2092
|
};
|
|
2213
|
-
let response;
|
|
2214
2093
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2215
2094
|
switch (errorCode) {
|
|
2216
2095
|
case "DBClusterNotFoundFault":
|
|
@@ -2224,14 +2103,12 @@ const deserializeAws_queryFailoverDBClusterCommandError = async (output, context
|
|
|
2224
2103
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
2225
2104
|
default:
|
|
2226
2105
|
const parsedBody = parsedOutput.body;
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
$metadata,
|
|
2106
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2107
|
+
output,
|
|
2108
|
+
parsedBody: parsedBody.Error,
|
|
2109
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2110
|
+
errorCode,
|
|
2233
2111
|
});
|
|
2234
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2235
2112
|
}
|
|
2236
2113
|
};
|
|
2237
2114
|
const deserializeAws_queryListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2253,7 +2130,6 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
|
|
|
2253
2130
|
...output,
|
|
2254
2131
|
body: await parseBody(output.body, context),
|
|
2255
2132
|
};
|
|
2256
|
-
let response;
|
|
2257
2133
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2258
2134
|
switch (errorCode) {
|
|
2259
2135
|
case "DBClusterNotFoundFault":
|
|
@@ -2267,14 +2143,12 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
|
|
|
2267
2143
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
2268
2144
|
default:
|
|
2269
2145
|
const parsedBody = parsedOutput.body;
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
$metadata,
|
|
2146
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2147
|
+
output,
|
|
2148
|
+
parsedBody: parsedBody.Error,
|
|
2149
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2150
|
+
errorCode,
|
|
2276
2151
|
});
|
|
2277
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2278
2152
|
}
|
|
2279
2153
|
};
|
|
2280
2154
|
const deserializeAws_queryModifyDBClusterCommand = async (output, context) => {
|
|
@@ -2296,7 +2170,6 @@ const deserializeAws_queryModifyDBClusterCommandError = async (output, context)
|
|
|
2296
2170
|
...output,
|
|
2297
2171
|
body: await parseBody(output.body, context),
|
|
2298
2172
|
};
|
|
2299
|
-
let response;
|
|
2300
2173
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2301
2174
|
switch (errorCode) {
|
|
2302
2175
|
case "DBClusterAlreadyExistsFault":
|
|
@@ -2334,14 +2207,12 @@ const deserializeAws_queryModifyDBClusterCommandError = async (output, context)
|
|
|
2334
2207
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
2335
2208
|
default:
|
|
2336
2209
|
const parsedBody = parsedOutput.body;
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
$metadata,
|
|
2210
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2211
|
+
output,
|
|
2212
|
+
parsedBody: parsedBody.Error,
|
|
2213
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2214
|
+
errorCode,
|
|
2343
2215
|
});
|
|
2344
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2345
2216
|
}
|
|
2346
2217
|
};
|
|
2347
2218
|
const deserializeAws_queryModifyDBClusterParameterGroupCommand = async (output, context) => {
|
|
@@ -2363,7 +2234,6 @@ const deserializeAws_queryModifyDBClusterParameterGroupCommandError = async (out
|
|
|
2363
2234
|
...output,
|
|
2364
2235
|
body: await parseBody(output.body, context),
|
|
2365
2236
|
};
|
|
2366
|
-
let response;
|
|
2367
2237
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2368
2238
|
switch (errorCode) {
|
|
2369
2239
|
case "DBParameterGroupNotFoundFault":
|
|
@@ -2374,14 +2244,12 @@ const deserializeAws_queryModifyDBClusterParameterGroupCommandError = async (out
|
|
|
2374
2244
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
2375
2245
|
default:
|
|
2376
2246
|
const parsedBody = parsedOutput.body;
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
$metadata,
|
|
2247
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2248
|
+
output,
|
|
2249
|
+
parsedBody: parsedBody.Error,
|
|
2250
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2251
|
+
errorCode,
|
|
2383
2252
|
});
|
|
2384
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2385
2253
|
}
|
|
2386
2254
|
};
|
|
2387
2255
|
const deserializeAws_queryModifyDBClusterSnapshotAttributeCommand = async (output, context) => {
|
|
@@ -2403,7 +2271,6 @@ const deserializeAws_queryModifyDBClusterSnapshotAttributeCommandError = async (
|
|
|
2403
2271
|
...output,
|
|
2404
2272
|
body: await parseBody(output.body, context),
|
|
2405
2273
|
};
|
|
2406
|
-
let response;
|
|
2407
2274
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2408
2275
|
switch (errorCode) {
|
|
2409
2276
|
case "DBClusterSnapshotNotFoundFault":
|
|
@@ -2417,14 +2284,12 @@ const deserializeAws_queryModifyDBClusterSnapshotAttributeCommandError = async (
|
|
|
2417
2284
|
throw await deserializeAws_querySharedSnapshotQuotaExceededFaultResponse(parsedOutput, context);
|
|
2418
2285
|
default:
|
|
2419
2286
|
const parsedBody = parsedOutput.body;
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
$metadata,
|
|
2287
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2288
|
+
output,
|
|
2289
|
+
parsedBody: parsedBody.Error,
|
|
2290
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2291
|
+
errorCode,
|
|
2426
2292
|
});
|
|
2427
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2428
2293
|
}
|
|
2429
2294
|
};
|
|
2430
2295
|
const deserializeAws_queryModifyDBInstanceCommand = async (output, context) => {
|
|
@@ -2446,7 +2311,6 @@ const deserializeAws_queryModifyDBInstanceCommandError = async (output, context)
|
|
|
2446
2311
|
...output,
|
|
2447
2312
|
body: await parseBody(output.body, context),
|
|
2448
2313
|
};
|
|
2449
|
-
let response;
|
|
2450
2314
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2451
2315
|
switch (errorCode) {
|
|
2452
2316
|
case "AuthorizationNotFoundFault":
|
|
@@ -2490,14 +2354,12 @@ const deserializeAws_queryModifyDBInstanceCommandError = async (output, context)
|
|
|
2490
2354
|
throw await deserializeAws_queryStorageTypeNotSupportedFaultResponse(parsedOutput, context);
|
|
2491
2355
|
default:
|
|
2492
2356
|
const parsedBody = parsedOutput.body;
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
$metadata,
|
|
2357
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2358
|
+
output,
|
|
2359
|
+
parsedBody: parsedBody.Error,
|
|
2360
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2361
|
+
errorCode,
|
|
2499
2362
|
});
|
|
2500
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2501
2363
|
}
|
|
2502
2364
|
};
|
|
2503
2365
|
const deserializeAws_queryModifyDBSubnetGroupCommand = async (output, context) => {
|
|
@@ -2519,7 +2381,6 @@ const deserializeAws_queryModifyDBSubnetGroupCommandError = async (output, conte
|
|
|
2519
2381
|
...output,
|
|
2520
2382
|
body: await parseBody(output.body, context),
|
|
2521
2383
|
};
|
|
2522
|
-
let response;
|
|
2523
2384
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2524
2385
|
switch (errorCode) {
|
|
2525
2386
|
case "DBSubnetGroupDoesNotCoverEnoughAZs":
|
|
@@ -2539,14 +2400,12 @@ const deserializeAws_queryModifyDBSubnetGroupCommandError = async (output, conte
|
|
|
2539
2400
|
throw await deserializeAws_querySubnetAlreadyInUseResponse(parsedOutput, context);
|
|
2540
2401
|
default:
|
|
2541
2402
|
const parsedBody = parsedOutput.body;
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
$metadata,
|
|
2403
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2404
|
+
output,
|
|
2405
|
+
parsedBody: parsedBody.Error,
|
|
2406
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2407
|
+
errorCode,
|
|
2548
2408
|
});
|
|
2549
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2550
2409
|
}
|
|
2551
2410
|
};
|
|
2552
2411
|
const deserializeAws_queryModifyEventSubscriptionCommand = async (output, context) => {
|
|
@@ -2568,7 +2427,6 @@ const deserializeAws_queryModifyEventSubscriptionCommandError = async (output, c
|
|
|
2568
2427
|
...output,
|
|
2569
2428
|
body: await parseBody(output.body, context),
|
|
2570
2429
|
};
|
|
2571
|
-
let response;
|
|
2572
2430
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2573
2431
|
switch (errorCode) {
|
|
2574
2432
|
case "EventSubscriptionQuotaExceededFault":
|
|
@@ -2591,14 +2449,12 @@ const deserializeAws_queryModifyEventSubscriptionCommandError = async (output, c
|
|
|
2591
2449
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
2592
2450
|
default:
|
|
2593
2451
|
const parsedBody = parsedOutput.body;
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
$metadata,
|
|
2452
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2453
|
+
output,
|
|
2454
|
+
parsedBody: parsedBody.Error,
|
|
2455
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2456
|
+
errorCode,
|
|
2600
2457
|
});
|
|
2601
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2602
2458
|
}
|
|
2603
2459
|
};
|
|
2604
2460
|
const deserializeAws_queryModifyGlobalClusterCommand = async (output, context) => {
|
|
@@ -2620,7 +2476,6 @@ const deserializeAws_queryModifyGlobalClusterCommandError = async (output, conte
|
|
|
2620
2476
|
...output,
|
|
2621
2477
|
body: await parseBody(output.body, context),
|
|
2622
2478
|
};
|
|
2623
|
-
let response;
|
|
2624
2479
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2625
2480
|
switch (errorCode) {
|
|
2626
2481
|
case "GlobalClusterNotFoundFault":
|
|
@@ -2631,14 +2486,12 @@ const deserializeAws_queryModifyGlobalClusterCommandError = async (output, conte
|
|
|
2631
2486
|
throw await deserializeAws_queryInvalidGlobalClusterStateFaultResponse(parsedOutput, context);
|
|
2632
2487
|
default:
|
|
2633
2488
|
const parsedBody = parsedOutput.body;
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
$metadata,
|
|
2489
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2490
|
+
output,
|
|
2491
|
+
parsedBody: parsedBody.Error,
|
|
2492
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2493
|
+
errorCode,
|
|
2640
2494
|
});
|
|
2641
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2642
2495
|
}
|
|
2643
2496
|
};
|
|
2644
2497
|
const deserializeAws_queryRebootDBInstanceCommand = async (output, context) => {
|
|
@@ -2660,7 +2513,6 @@ const deserializeAws_queryRebootDBInstanceCommandError = async (output, context)
|
|
|
2660
2513
|
...output,
|
|
2661
2514
|
body: await parseBody(output.body, context),
|
|
2662
2515
|
};
|
|
2663
|
-
let response;
|
|
2664
2516
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2665
2517
|
switch (errorCode) {
|
|
2666
2518
|
case "DBInstanceNotFoundFault":
|
|
@@ -2671,14 +2523,12 @@ const deserializeAws_queryRebootDBInstanceCommandError = async (output, context)
|
|
|
2671
2523
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
2672
2524
|
default:
|
|
2673
2525
|
const parsedBody = parsedOutput.body;
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
$metadata,
|
|
2526
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2527
|
+
output,
|
|
2528
|
+
parsedBody: parsedBody.Error,
|
|
2529
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2530
|
+
errorCode,
|
|
2680
2531
|
});
|
|
2681
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2682
2532
|
}
|
|
2683
2533
|
};
|
|
2684
2534
|
const deserializeAws_queryRemoveFromGlobalClusterCommand = async (output, context) => {
|
|
@@ -2700,7 +2550,6 @@ const deserializeAws_queryRemoveFromGlobalClusterCommandError = async (output, c
|
|
|
2700
2550
|
...output,
|
|
2701
2551
|
body: await parseBody(output.body, context),
|
|
2702
2552
|
};
|
|
2703
|
-
let response;
|
|
2704
2553
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2705
2554
|
switch (errorCode) {
|
|
2706
2555
|
case "DBClusterNotFoundFault":
|
|
@@ -2714,14 +2563,12 @@ const deserializeAws_queryRemoveFromGlobalClusterCommandError = async (output, c
|
|
|
2714
2563
|
throw await deserializeAws_queryInvalidGlobalClusterStateFaultResponse(parsedOutput, context);
|
|
2715
2564
|
default:
|
|
2716
2565
|
const parsedBody = parsedOutput.body;
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
$metadata,
|
|
2566
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2567
|
+
output,
|
|
2568
|
+
parsedBody: parsedBody.Error,
|
|
2569
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2570
|
+
errorCode,
|
|
2723
2571
|
});
|
|
2724
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2725
2572
|
}
|
|
2726
2573
|
};
|
|
2727
2574
|
const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = async (output, context) => {
|
|
@@ -2743,7 +2590,6 @@ const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommandError = a
|
|
|
2743
2590
|
...output,
|
|
2744
2591
|
body: await parseBody(output.body, context),
|
|
2745
2592
|
};
|
|
2746
|
-
let response;
|
|
2747
2593
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2748
2594
|
switch (errorCode) {
|
|
2749
2595
|
case "SourceNotFoundFault":
|
|
@@ -2754,14 +2600,12 @@ const deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommandError = a
|
|
|
2754
2600
|
throw await deserializeAws_querySubscriptionNotFoundFaultResponse(parsedOutput, context);
|
|
2755
2601
|
default:
|
|
2756
2602
|
const parsedBody = parsedOutput.body;
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
$metadata,
|
|
2603
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2604
|
+
output,
|
|
2605
|
+
parsedBody: parsedBody.Error,
|
|
2606
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2607
|
+
errorCode,
|
|
2763
2608
|
});
|
|
2764
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2765
2609
|
}
|
|
2766
2610
|
};
|
|
2767
2611
|
const deserializeAws_queryRemoveTagsFromResourceCommand = async (output, context) => {
|
|
@@ -2780,7 +2624,6 @@ const deserializeAws_queryRemoveTagsFromResourceCommandError = async (output, co
|
|
|
2780
2624
|
...output,
|
|
2781
2625
|
body: await parseBody(output.body, context),
|
|
2782
2626
|
};
|
|
2783
|
-
let response;
|
|
2784
2627
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2785
2628
|
switch (errorCode) {
|
|
2786
2629
|
case "DBClusterNotFoundFault":
|
|
@@ -2794,14 +2637,12 @@ const deserializeAws_queryRemoveTagsFromResourceCommandError = async (output, co
|
|
|
2794
2637
|
throw await deserializeAws_queryDBSnapshotNotFoundFaultResponse(parsedOutput, context);
|
|
2795
2638
|
default:
|
|
2796
2639
|
const parsedBody = parsedOutput.body;
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
$metadata,
|
|
2640
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2641
|
+
output,
|
|
2642
|
+
parsedBody: parsedBody.Error,
|
|
2643
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2644
|
+
errorCode,
|
|
2803
2645
|
});
|
|
2804
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2805
2646
|
}
|
|
2806
2647
|
};
|
|
2807
2648
|
const deserializeAws_queryResetDBClusterParameterGroupCommand = async (output, context) => {
|
|
@@ -2823,7 +2664,6 @@ const deserializeAws_queryResetDBClusterParameterGroupCommandError = async (outp
|
|
|
2823
2664
|
...output,
|
|
2824
2665
|
body: await parseBody(output.body, context),
|
|
2825
2666
|
};
|
|
2826
|
-
let response;
|
|
2827
2667
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2828
2668
|
switch (errorCode) {
|
|
2829
2669
|
case "DBParameterGroupNotFoundFault":
|
|
@@ -2834,14 +2674,12 @@ const deserializeAws_queryResetDBClusterParameterGroupCommandError = async (outp
|
|
|
2834
2674
|
throw await deserializeAws_queryInvalidDBParameterGroupStateFaultResponse(parsedOutput, context);
|
|
2835
2675
|
default:
|
|
2836
2676
|
const parsedBody = parsedOutput.body;
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
$metadata,
|
|
2677
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2678
|
+
output,
|
|
2679
|
+
parsedBody: parsedBody.Error,
|
|
2680
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2681
|
+
errorCode,
|
|
2843
2682
|
});
|
|
2844
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2845
2683
|
}
|
|
2846
2684
|
};
|
|
2847
2685
|
const deserializeAws_queryRestoreDBClusterFromSnapshotCommand = async (output, context) => {
|
|
@@ -2863,7 +2701,6 @@ const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (outp
|
|
|
2863
2701
|
...output,
|
|
2864
2702
|
body: await parseBody(output.body, context),
|
|
2865
2703
|
};
|
|
2866
|
-
let response;
|
|
2867
2704
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2868
2705
|
switch (errorCode) {
|
|
2869
2706
|
case "DBClusterAlreadyExistsFault":
|
|
@@ -2910,14 +2747,12 @@ const deserializeAws_queryRestoreDBClusterFromSnapshotCommandError = async (outp
|
|
|
2910
2747
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
2911
2748
|
default:
|
|
2912
2749
|
const parsedBody = parsedOutput.body;
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
$metadata,
|
|
2750
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2751
|
+
output,
|
|
2752
|
+
parsedBody: parsedBody.Error,
|
|
2753
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2754
|
+
errorCode,
|
|
2919
2755
|
});
|
|
2920
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2921
2756
|
}
|
|
2922
2757
|
};
|
|
2923
2758
|
const deserializeAws_queryRestoreDBClusterToPointInTimeCommand = async (output, context) => {
|
|
@@ -2939,7 +2774,6 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
|
|
|
2939
2774
|
...output,
|
|
2940
2775
|
body: await parseBody(output.body, context),
|
|
2941
2776
|
};
|
|
2942
|
-
let response;
|
|
2943
2777
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2944
2778
|
switch (errorCode) {
|
|
2945
2779
|
case "DBClusterAlreadyExistsFault":
|
|
@@ -2989,14 +2823,12 @@ const deserializeAws_queryRestoreDBClusterToPointInTimeCommandError = async (out
|
|
|
2989
2823
|
throw await deserializeAws_queryStorageQuotaExceededFaultResponse(parsedOutput, context);
|
|
2990
2824
|
default:
|
|
2991
2825
|
const parsedBody = parsedOutput.body;
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
$metadata,
|
|
2826
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2827
|
+
output,
|
|
2828
|
+
parsedBody: parsedBody.Error,
|
|
2829
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2830
|
+
errorCode,
|
|
2998
2831
|
});
|
|
2999
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3000
2832
|
}
|
|
3001
2833
|
};
|
|
3002
2834
|
const deserializeAws_queryStartDBClusterCommand = async (output, context) => {
|
|
@@ -3018,7 +2850,6 @@ const deserializeAws_queryStartDBClusterCommandError = async (output, context) =
|
|
|
3018
2850
|
...output,
|
|
3019
2851
|
body: await parseBody(output.body, context),
|
|
3020
2852
|
};
|
|
3021
|
-
let response;
|
|
3022
2853
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3023
2854
|
switch (errorCode) {
|
|
3024
2855
|
case "DBClusterNotFoundFault":
|
|
@@ -3032,14 +2863,12 @@ const deserializeAws_queryStartDBClusterCommandError = async (output, context) =
|
|
|
3032
2863
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
3033
2864
|
default:
|
|
3034
2865
|
const parsedBody = parsedOutput.body;
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
$metadata,
|
|
2866
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2867
|
+
output,
|
|
2868
|
+
parsedBody: parsedBody.Error,
|
|
2869
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2870
|
+
errorCode,
|
|
3041
2871
|
});
|
|
3042
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3043
2872
|
}
|
|
3044
2873
|
};
|
|
3045
2874
|
const deserializeAws_queryStopDBClusterCommand = async (output, context) => {
|
|
@@ -3061,7 +2890,6 @@ const deserializeAws_queryStopDBClusterCommandError = async (output, context) =>
|
|
|
3061
2890
|
...output,
|
|
3062
2891
|
body: await parseBody(output.body, context),
|
|
3063
2892
|
};
|
|
3064
|
-
let response;
|
|
3065
2893
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3066
2894
|
switch (errorCode) {
|
|
3067
2895
|
case "DBClusterNotFoundFault":
|
|
@@ -3075,14 +2903,12 @@ const deserializeAws_queryStopDBClusterCommandError = async (output, context) =>
|
|
|
3075
2903
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
3076
2904
|
default:
|
|
3077
2905
|
const parsedBody = parsedOutput.body;
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
$metadata,
|
|
2906
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2907
|
+
output,
|
|
2908
|
+
parsedBody: parsedBody.Error,
|
|
2909
|
+
exceptionCtor: DocDBServiceException_1.DocDBServiceException,
|
|
2910
|
+
errorCode,
|
|
3084
2911
|
});
|
|
3085
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3086
2912
|
}
|
|
3087
2913
|
};
|
|
3088
2914
|
const deserializeAws_queryAuthorizationNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
@@ -3600,20 +3426,20 @@ const deserializeAws_querySubscriptionNotFoundFaultResponse = async (parsedOutpu
|
|
|
3600
3426
|
};
|
|
3601
3427
|
const serializeAws_queryAddSourceIdentifierToSubscriptionMessage = (input, context) => {
|
|
3602
3428
|
const entries = {};
|
|
3603
|
-
if (input.SubscriptionName
|
|
3429
|
+
if (input.SubscriptionName != null) {
|
|
3604
3430
|
entries["SubscriptionName"] = input.SubscriptionName;
|
|
3605
3431
|
}
|
|
3606
|
-
if (input.SourceIdentifier
|
|
3432
|
+
if (input.SourceIdentifier != null) {
|
|
3607
3433
|
entries["SourceIdentifier"] = input.SourceIdentifier;
|
|
3608
3434
|
}
|
|
3609
3435
|
return entries;
|
|
3610
3436
|
};
|
|
3611
3437
|
const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
|
|
3612
3438
|
const entries = {};
|
|
3613
|
-
if (input.ResourceName
|
|
3439
|
+
if (input.ResourceName != null) {
|
|
3614
3440
|
entries["ResourceName"] = input.ResourceName;
|
|
3615
3441
|
}
|
|
3616
|
-
if (input.Tags
|
|
3442
|
+
if (input.Tags != null) {
|
|
3617
3443
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3618
3444
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3619
3445
|
const loc = `Tags.${key}`;
|
|
@@ -3624,13 +3450,13 @@ const serializeAws_queryAddTagsToResourceMessage = (input, context) => {
|
|
|
3624
3450
|
};
|
|
3625
3451
|
const serializeAws_queryApplyPendingMaintenanceActionMessage = (input, context) => {
|
|
3626
3452
|
const entries = {};
|
|
3627
|
-
if (input.ResourceIdentifier
|
|
3453
|
+
if (input.ResourceIdentifier != null) {
|
|
3628
3454
|
entries["ResourceIdentifier"] = input.ResourceIdentifier;
|
|
3629
3455
|
}
|
|
3630
|
-
if (input.ApplyAction
|
|
3456
|
+
if (input.ApplyAction != null) {
|
|
3631
3457
|
entries["ApplyAction"] = input.ApplyAction;
|
|
3632
3458
|
}
|
|
3633
|
-
if (input.OptInType
|
|
3459
|
+
if (input.OptInType != null) {
|
|
3634
3460
|
entries["OptInType"] = input.OptInType;
|
|
3635
3461
|
}
|
|
3636
3462
|
return entries;
|
|
@@ -3661,14 +3487,14 @@ const serializeAws_queryAvailabilityZones = (input, context) => {
|
|
|
3661
3487
|
};
|
|
3662
3488
|
const serializeAws_queryCloudwatchLogsExportConfiguration = (input, context) => {
|
|
3663
3489
|
const entries = {};
|
|
3664
|
-
if (input.EnableLogTypes
|
|
3490
|
+
if (input.EnableLogTypes != null) {
|
|
3665
3491
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableLogTypes, context);
|
|
3666
3492
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3667
3493
|
const loc = `EnableLogTypes.${key}`;
|
|
3668
3494
|
entries[loc] = value;
|
|
3669
3495
|
});
|
|
3670
3496
|
}
|
|
3671
|
-
if (input.DisableLogTypes
|
|
3497
|
+
if (input.DisableLogTypes != null) {
|
|
3672
3498
|
const memberEntries = serializeAws_queryLogTypeList(input.DisableLogTypes, context);
|
|
3673
3499
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3674
3500
|
const loc = `DisableLogTypes.${key}`;
|
|
@@ -3679,19 +3505,16 @@ const serializeAws_queryCloudwatchLogsExportConfiguration = (input, context) =>
|
|
|
3679
3505
|
};
|
|
3680
3506
|
const serializeAws_queryCopyDBClusterParameterGroupMessage = (input, context) => {
|
|
3681
3507
|
const entries = {};
|
|
3682
|
-
if (input.SourceDBClusterParameterGroupIdentifier
|
|
3683
|
-
input.SourceDBClusterParameterGroupIdentifier !== null) {
|
|
3508
|
+
if (input.SourceDBClusterParameterGroupIdentifier != null) {
|
|
3684
3509
|
entries["SourceDBClusterParameterGroupIdentifier"] = input.SourceDBClusterParameterGroupIdentifier;
|
|
3685
3510
|
}
|
|
3686
|
-
if (input.TargetDBClusterParameterGroupIdentifier
|
|
3687
|
-
input.TargetDBClusterParameterGroupIdentifier !== null) {
|
|
3511
|
+
if (input.TargetDBClusterParameterGroupIdentifier != null) {
|
|
3688
3512
|
entries["TargetDBClusterParameterGroupIdentifier"] = input.TargetDBClusterParameterGroupIdentifier;
|
|
3689
3513
|
}
|
|
3690
|
-
if (input.TargetDBClusterParameterGroupDescription
|
|
3691
|
-
input.TargetDBClusterParameterGroupDescription !== null) {
|
|
3514
|
+
if (input.TargetDBClusterParameterGroupDescription != null) {
|
|
3692
3515
|
entries["TargetDBClusterParameterGroupDescription"] = input.TargetDBClusterParameterGroupDescription;
|
|
3693
3516
|
}
|
|
3694
|
-
if (input.Tags
|
|
3517
|
+
if (input.Tags != null) {
|
|
3695
3518
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3696
3519
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3697
3520
|
const loc = `Tags.${key}`;
|
|
@@ -3702,22 +3525,22 @@ const serializeAws_queryCopyDBClusterParameterGroupMessage = (input, context) =>
|
|
|
3702
3525
|
};
|
|
3703
3526
|
const serializeAws_queryCopyDBClusterSnapshotMessage = (input, context) => {
|
|
3704
3527
|
const entries = {};
|
|
3705
|
-
if (input.SourceDBClusterSnapshotIdentifier
|
|
3528
|
+
if (input.SourceDBClusterSnapshotIdentifier != null) {
|
|
3706
3529
|
entries["SourceDBClusterSnapshotIdentifier"] = input.SourceDBClusterSnapshotIdentifier;
|
|
3707
3530
|
}
|
|
3708
|
-
if (input.TargetDBClusterSnapshotIdentifier
|
|
3531
|
+
if (input.TargetDBClusterSnapshotIdentifier != null) {
|
|
3709
3532
|
entries["TargetDBClusterSnapshotIdentifier"] = input.TargetDBClusterSnapshotIdentifier;
|
|
3710
3533
|
}
|
|
3711
|
-
if (input.KmsKeyId
|
|
3534
|
+
if (input.KmsKeyId != null) {
|
|
3712
3535
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
3713
3536
|
}
|
|
3714
|
-
if (input.PreSignedUrl
|
|
3537
|
+
if (input.PreSignedUrl != null) {
|
|
3715
3538
|
entries["PreSignedUrl"] = input.PreSignedUrl;
|
|
3716
3539
|
}
|
|
3717
|
-
if (input.CopyTags
|
|
3540
|
+
if (input.CopyTags != null) {
|
|
3718
3541
|
entries["CopyTags"] = input.CopyTags;
|
|
3719
3542
|
}
|
|
3720
|
-
if (input.Tags
|
|
3543
|
+
if (input.Tags != null) {
|
|
3721
3544
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3722
3545
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3723
3546
|
const loc = `Tags.${key}`;
|
|
@@ -3728,96 +3551,96 @@ const serializeAws_queryCopyDBClusterSnapshotMessage = (input, context) => {
|
|
|
3728
3551
|
};
|
|
3729
3552
|
const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
3730
3553
|
const entries = {};
|
|
3731
|
-
if (input.AvailabilityZones
|
|
3554
|
+
if (input.AvailabilityZones != null) {
|
|
3732
3555
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
3733
3556
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3734
3557
|
const loc = `AvailabilityZones.${key}`;
|
|
3735
3558
|
entries[loc] = value;
|
|
3736
3559
|
});
|
|
3737
3560
|
}
|
|
3738
|
-
if (input.BackupRetentionPeriod
|
|
3561
|
+
if (input.BackupRetentionPeriod != null) {
|
|
3739
3562
|
entries["BackupRetentionPeriod"] = input.BackupRetentionPeriod;
|
|
3740
3563
|
}
|
|
3741
|
-
if (input.DBClusterIdentifier
|
|
3564
|
+
if (input.DBClusterIdentifier != null) {
|
|
3742
3565
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
3743
3566
|
}
|
|
3744
|
-
if (input.DBClusterParameterGroupName
|
|
3567
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
3745
3568
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
3746
3569
|
}
|
|
3747
|
-
if (input.VpcSecurityGroupIds
|
|
3570
|
+
if (input.VpcSecurityGroupIds != null) {
|
|
3748
3571
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
3749
3572
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3750
3573
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
3751
3574
|
entries[loc] = value;
|
|
3752
3575
|
});
|
|
3753
3576
|
}
|
|
3754
|
-
if (input.DBSubnetGroupName
|
|
3577
|
+
if (input.DBSubnetGroupName != null) {
|
|
3755
3578
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
3756
3579
|
}
|
|
3757
|
-
if (input.Engine
|
|
3580
|
+
if (input.Engine != null) {
|
|
3758
3581
|
entries["Engine"] = input.Engine;
|
|
3759
3582
|
}
|
|
3760
|
-
if (input.EngineVersion
|
|
3583
|
+
if (input.EngineVersion != null) {
|
|
3761
3584
|
entries["EngineVersion"] = input.EngineVersion;
|
|
3762
3585
|
}
|
|
3763
|
-
if (input.Port
|
|
3586
|
+
if (input.Port != null) {
|
|
3764
3587
|
entries["Port"] = input.Port;
|
|
3765
3588
|
}
|
|
3766
|
-
if (input.MasterUsername
|
|
3589
|
+
if (input.MasterUsername != null) {
|
|
3767
3590
|
entries["MasterUsername"] = input.MasterUsername;
|
|
3768
3591
|
}
|
|
3769
|
-
if (input.MasterUserPassword
|
|
3592
|
+
if (input.MasterUserPassword != null) {
|
|
3770
3593
|
entries["MasterUserPassword"] = input.MasterUserPassword;
|
|
3771
3594
|
}
|
|
3772
|
-
if (input.PreferredBackupWindow
|
|
3595
|
+
if (input.PreferredBackupWindow != null) {
|
|
3773
3596
|
entries["PreferredBackupWindow"] = input.PreferredBackupWindow;
|
|
3774
3597
|
}
|
|
3775
|
-
if (input.PreferredMaintenanceWindow
|
|
3598
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
3776
3599
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
3777
3600
|
}
|
|
3778
|
-
if (input.Tags
|
|
3601
|
+
if (input.Tags != null) {
|
|
3779
3602
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3780
3603
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3781
3604
|
const loc = `Tags.${key}`;
|
|
3782
3605
|
entries[loc] = value;
|
|
3783
3606
|
});
|
|
3784
3607
|
}
|
|
3785
|
-
if (input.StorageEncrypted
|
|
3608
|
+
if (input.StorageEncrypted != null) {
|
|
3786
3609
|
entries["StorageEncrypted"] = input.StorageEncrypted;
|
|
3787
3610
|
}
|
|
3788
|
-
if (input.KmsKeyId
|
|
3611
|
+
if (input.KmsKeyId != null) {
|
|
3789
3612
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
3790
3613
|
}
|
|
3791
|
-
if (input.PreSignedUrl
|
|
3614
|
+
if (input.PreSignedUrl != null) {
|
|
3792
3615
|
entries["PreSignedUrl"] = input.PreSignedUrl;
|
|
3793
3616
|
}
|
|
3794
|
-
if (input.EnableCloudwatchLogsExports
|
|
3617
|
+
if (input.EnableCloudwatchLogsExports != null) {
|
|
3795
3618
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
3796
3619
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3797
3620
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
3798
3621
|
entries[loc] = value;
|
|
3799
3622
|
});
|
|
3800
3623
|
}
|
|
3801
|
-
if (input.DeletionProtection
|
|
3624
|
+
if (input.DeletionProtection != null) {
|
|
3802
3625
|
entries["DeletionProtection"] = input.DeletionProtection;
|
|
3803
3626
|
}
|
|
3804
|
-
if (input.GlobalClusterIdentifier
|
|
3627
|
+
if (input.GlobalClusterIdentifier != null) {
|
|
3805
3628
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
3806
3629
|
}
|
|
3807
3630
|
return entries;
|
|
3808
3631
|
};
|
|
3809
3632
|
const serializeAws_queryCreateDBClusterParameterGroupMessage = (input, context) => {
|
|
3810
3633
|
const entries = {};
|
|
3811
|
-
if (input.DBClusterParameterGroupName
|
|
3634
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
3812
3635
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
3813
3636
|
}
|
|
3814
|
-
if (input.DBParameterGroupFamily
|
|
3637
|
+
if (input.DBParameterGroupFamily != null) {
|
|
3815
3638
|
entries["DBParameterGroupFamily"] = input.DBParameterGroupFamily;
|
|
3816
3639
|
}
|
|
3817
|
-
if (input.Description
|
|
3640
|
+
if (input.Description != null) {
|
|
3818
3641
|
entries["Description"] = input.Description;
|
|
3819
3642
|
}
|
|
3820
|
-
if (input.Tags
|
|
3643
|
+
if (input.Tags != null) {
|
|
3821
3644
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3822
3645
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3823
3646
|
const loc = `Tags.${key}`;
|
|
@@ -3828,13 +3651,13 @@ const serializeAws_queryCreateDBClusterParameterGroupMessage = (input, context)
|
|
|
3828
3651
|
};
|
|
3829
3652
|
const serializeAws_queryCreateDBClusterSnapshotMessage = (input, context) => {
|
|
3830
3653
|
const entries = {};
|
|
3831
|
-
if (input.DBClusterSnapshotIdentifier
|
|
3654
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
3832
3655
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
3833
3656
|
}
|
|
3834
|
-
if (input.DBClusterIdentifier
|
|
3657
|
+
if (input.DBClusterIdentifier != null) {
|
|
3835
3658
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
3836
3659
|
}
|
|
3837
|
-
if (input.Tags
|
|
3660
|
+
if (input.Tags != null) {
|
|
3838
3661
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3839
3662
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3840
3663
|
const loc = `Tags.${key}`;
|
|
@@ -3845,64 +3668,64 @@ const serializeAws_queryCreateDBClusterSnapshotMessage = (input, context) => {
|
|
|
3845
3668
|
};
|
|
3846
3669
|
const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
3847
3670
|
const entries = {};
|
|
3848
|
-
if (input.DBInstanceIdentifier
|
|
3671
|
+
if (input.DBInstanceIdentifier != null) {
|
|
3849
3672
|
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
3850
3673
|
}
|
|
3851
|
-
if (input.DBInstanceClass
|
|
3674
|
+
if (input.DBInstanceClass != null) {
|
|
3852
3675
|
entries["DBInstanceClass"] = input.DBInstanceClass;
|
|
3853
3676
|
}
|
|
3854
|
-
if (input.Engine
|
|
3677
|
+
if (input.Engine != null) {
|
|
3855
3678
|
entries["Engine"] = input.Engine;
|
|
3856
3679
|
}
|
|
3857
|
-
if (input.AvailabilityZone
|
|
3680
|
+
if (input.AvailabilityZone != null) {
|
|
3858
3681
|
entries["AvailabilityZone"] = input.AvailabilityZone;
|
|
3859
3682
|
}
|
|
3860
|
-
if (input.PreferredMaintenanceWindow
|
|
3683
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
3861
3684
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
3862
3685
|
}
|
|
3863
|
-
if (input.AutoMinorVersionUpgrade
|
|
3686
|
+
if (input.AutoMinorVersionUpgrade != null) {
|
|
3864
3687
|
entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
|
|
3865
3688
|
}
|
|
3866
|
-
if (input.Tags
|
|
3689
|
+
if (input.Tags != null) {
|
|
3867
3690
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3868
3691
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3869
3692
|
const loc = `Tags.${key}`;
|
|
3870
3693
|
entries[loc] = value;
|
|
3871
3694
|
});
|
|
3872
3695
|
}
|
|
3873
|
-
if (input.DBClusterIdentifier
|
|
3696
|
+
if (input.DBClusterIdentifier != null) {
|
|
3874
3697
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
3875
3698
|
}
|
|
3876
|
-
if (input.CopyTagsToSnapshot
|
|
3699
|
+
if (input.CopyTagsToSnapshot != null) {
|
|
3877
3700
|
entries["CopyTagsToSnapshot"] = input.CopyTagsToSnapshot;
|
|
3878
3701
|
}
|
|
3879
|
-
if (input.PromotionTier
|
|
3702
|
+
if (input.PromotionTier != null) {
|
|
3880
3703
|
entries["PromotionTier"] = input.PromotionTier;
|
|
3881
3704
|
}
|
|
3882
|
-
if (input.EnablePerformanceInsights
|
|
3705
|
+
if (input.EnablePerformanceInsights != null) {
|
|
3883
3706
|
entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
|
|
3884
3707
|
}
|
|
3885
|
-
if (input.PerformanceInsightsKMSKeyId
|
|
3708
|
+
if (input.PerformanceInsightsKMSKeyId != null) {
|
|
3886
3709
|
entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
|
|
3887
3710
|
}
|
|
3888
3711
|
return entries;
|
|
3889
3712
|
};
|
|
3890
3713
|
const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
3891
3714
|
const entries = {};
|
|
3892
|
-
if (input.DBSubnetGroupName
|
|
3715
|
+
if (input.DBSubnetGroupName != null) {
|
|
3893
3716
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
3894
3717
|
}
|
|
3895
|
-
if (input.DBSubnetGroupDescription
|
|
3718
|
+
if (input.DBSubnetGroupDescription != null) {
|
|
3896
3719
|
entries["DBSubnetGroupDescription"] = input.DBSubnetGroupDescription;
|
|
3897
3720
|
}
|
|
3898
|
-
if (input.SubnetIds
|
|
3721
|
+
if (input.SubnetIds != null) {
|
|
3899
3722
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
3900
3723
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3901
3724
|
const loc = `SubnetIds.${key}`;
|
|
3902
3725
|
entries[loc] = value;
|
|
3903
3726
|
});
|
|
3904
3727
|
}
|
|
3905
|
-
if (input.Tags
|
|
3728
|
+
if (input.Tags != null) {
|
|
3906
3729
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3907
3730
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3908
3731
|
const loc = `Tags.${key}`;
|
|
@@ -3913,33 +3736,33 @@ const serializeAws_queryCreateDBSubnetGroupMessage = (input, context) => {
|
|
|
3913
3736
|
};
|
|
3914
3737
|
const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
3915
3738
|
const entries = {};
|
|
3916
|
-
if (input.SubscriptionName
|
|
3739
|
+
if (input.SubscriptionName != null) {
|
|
3917
3740
|
entries["SubscriptionName"] = input.SubscriptionName;
|
|
3918
3741
|
}
|
|
3919
|
-
if (input.SnsTopicArn
|
|
3742
|
+
if (input.SnsTopicArn != null) {
|
|
3920
3743
|
entries["SnsTopicArn"] = input.SnsTopicArn;
|
|
3921
3744
|
}
|
|
3922
|
-
if (input.SourceType
|
|
3745
|
+
if (input.SourceType != null) {
|
|
3923
3746
|
entries["SourceType"] = input.SourceType;
|
|
3924
3747
|
}
|
|
3925
|
-
if (input.EventCategories
|
|
3748
|
+
if (input.EventCategories != null) {
|
|
3926
3749
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
3927
3750
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3928
3751
|
const loc = `EventCategories.${key}`;
|
|
3929
3752
|
entries[loc] = value;
|
|
3930
3753
|
});
|
|
3931
3754
|
}
|
|
3932
|
-
if (input.SourceIds
|
|
3755
|
+
if (input.SourceIds != null) {
|
|
3933
3756
|
const memberEntries = serializeAws_querySourceIdsList(input.SourceIds, context);
|
|
3934
3757
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3935
3758
|
const loc = `SourceIds.${key}`;
|
|
3936
3759
|
entries[loc] = value;
|
|
3937
3760
|
});
|
|
3938
3761
|
}
|
|
3939
|
-
if (input.Enabled
|
|
3762
|
+
if (input.Enabled != null) {
|
|
3940
3763
|
entries["Enabled"] = input.Enabled;
|
|
3941
3764
|
}
|
|
3942
|
-
if (input.Tags
|
|
3765
|
+
if (input.Tags != null) {
|
|
3943
3766
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
3944
3767
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3945
3768
|
const loc = `Tags.${key}`;
|
|
@@ -3950,307 +3773,307 @@ const serializeAws_queryCreateEventSubscriptionMessage = (input, context) => {
|
|
|
3950
3773
|
};
|
|
3951
3774
|
const serializeAws_queryCreateGlobalClusterMessage = (input, context) => {
|
|
3952
3775
|
const entries = {};
|
|
3953
|
-
if (input.GlobalClusterIdentifier
|
|
3776
|
+
if (input.GlobalClusterIdentifier != null) {
|
|
3954
3777
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
3955
3778
|
}
|
|
3956
|
-
if (input.SourceDBClusterIdentifier
|
|
3779
|
+
if (input.SourceDBClusterIdentifier != null) {
|
|
3957
3780
|
entries["SourceDBClusterIdentifier"] = input.SourceDBClusterIdentifier;
|
|
3958
3781
|
}
|
|
3959
|
-
if (input.Engine
|
|
3782
|
+
if (input.Engine != null) {
|
|
3960
3783
|
entries["Engine"] = input.Engine;
|
|
3961
3784
|
}
|
|
3962
|
-
if (input.EngineVersion
|
|
3785
|
+
if (input.EngineVersion != null) {
|
|
3963
3786
|
entries["EngineVersion"] = input.EngineVersion;
|
|
3964
3787
|
}
|
|
3965
|
-
if (input.DeletionProtection
|
|
3788
|
+
if (input.DeletionProtection != null) {
|
|
3966
3789
|
entries["DeletionProtection"] = input.DeletionProtection;
|
|
3967
3790
|
}
|
|
3968
|
-
if (input.DatabaseName
|
|
3791
|
+
if (input.DatabaseName != null) {
|
|
3969
3792
|
entries["DatabaseName"] = input.DatabaseName;
|
|
3970
3793
|
}
|
|
3971
|
-
if (input.StorageEncrypted
|
|
3794
|
+
if (input.StorageEncrypted != null) {
|
|
3972
3795
|
entries["StorageEncrypted"] = input.StorageEncrypted;
|
|
3973
3796
|
}
|
|
3974
3797
|
return entries;
|
|
3975
3798
|
};
|
|
3976
3799
|
const serializeAws_queryDeleteDBClusterMessage = (input, context) => {
|
|
3977
3800
|
const entries = {};
|
|
3978
|
-
if (input.DBClusterIdentifier
|
|
3801
|
+
if (input.DBClusterIdentifier != null) {
|
|
3979
3802
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
3980
3803
|
}
|
|
3981
|
-
if (input.SkipFinalSnapshot
|
|
3804
|
+
if (input.SkipFinalSnapshot != null) {
|
|
3982
3805
|
entries["SkipFinalSnapshot"] = input.SkipFinalSnapshot;
|
|
3983
3806
|
}
|
|
3984
|
-
if (input.FinalDBSnapshotIdentifier
|
|
3807
|
+
if (input.FinalDBSnapshotIdentifier != null) {
|
|
3985
3808
|
entries["FinalDBSnapshotIdentifier"] = input.FinalDBSnapshotIdentifier;
|
|
3986
3809
|
}
|
|
3987
3810
|
return entries;
|
|
3988
3811
|
};
|
|
3989
3812
|
const serializeAws_queryDeleteDBClusterParameterGroupMessage = (input, context) => {
|
|
3990
3813
|
const entries = {};
|
|
3991
|
-
if (input.DBClusterParameterGroupName
|
|
3814
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
3992
3815
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
3993
3816
|
}
|
|
3994
3817
|
return entries;
|
|
3995
3818
|
};
|
|
3996
3819
|
const serializeAws_queryDeleteDBClusterSnapshotMessage = (input, context) => {
|
|
3997
3820
|
const entries = {};
|
|
3998
|
-
if (input.DBClusterSnapshotIdentifier
|
|
3821
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
3999
3822
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
4000
3823
|
}
|
|
4001
3824
|
return entries;
|
|
4002
3825
|
};
|
|
4003
3826
|
const serializeAws_queryDeleteDBInstanceMessage = (input, context) => {
|
|
4004
3827
|
const entries = {};
|
|
4005
|
-
if (input.DBInstanceIdentifier
|
|
3828
|
+
if (input.DBInstanceIdentifier != null) {
|
|
4006
3829
|
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
4007
3830
|
}
|
|
4008
3831
|
return entries;
|
|
4009
3832
|
};
|
|
4010
3833
|
const serializeAws_queryDeleteDBSubnetGroupMessage = (input, context) => {
|
|
4011
3834
|
const entries = {};
|
|
4012
|
-
if (input.DBSubnetGroupName
|
|
3835
|
+
if (input.DBSubnetGroupName != null) {
|
|
4013
3836
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
4014
3837
|
}
|
|
4015
3838
|
return entries;
|
|
4016
3839
|
};
|
|
4017
3840
|
const serializeAws_queryDeleteEventSubscriptionMessage = (input, context) => {
|
|
4018
3841
|
const entries = {};
|
|
4019
|
-
if (input.SubscriptionName
|
|
3842
|
+
if (input.SubscriptionName != null) {
|
|
4020
3843
|
entries["SubscriptionName"] = input.SubscriptionName;
|
|
4021
3844
|
}
|
|
4022
3845
|
return entries;
|
|
4023
3846
|
};
|
|
4024
3847
|
const serializeAws_queryDeleteGlobalClusterMessage = (input, context) => {
|
|
4025
3848
|
const entries = {};
|
|
4026
|
-
if (input.GlobalClusterIdentifier
|
|
3849
|
+
if (input.GlobalClusterIdentifier != null) {
|
|
4027
3850
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
4028
3851
|
}
|
|
4029
3852
|
return entries;
|
|
4030
3853
|
};
|
|
4031
3854
|
const serializeAws_queryDescribeCertificatesMessage = (input, context) => {
|
|
4032
3855
|
const entries = {};
|
|
4033
|
-
if (input.CertificateIdentifier
|
|
3856
|
+
if (input.CertificateIdentifier != null) {
|
|
4034
3857
|
entries["CertificateIdentifier"] = input.CertificateIdentifier;
|
|
4035
3858
|
}
|
|
4036
|
-
if (input.Filters
|
|
3859
|
+
if (input.Filters != null) {
|
|
4037
3860
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4038
3861
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4039
3862
|
const loc = `Filters.${key}`;
|
|
4040
3863
|
entries[loc] = value;
|
|
4041
3864
|
});
|
|
4042
3865
|
}
|
|
4043
|
-
if (input.MaxRecords
|
|
3866
|
+
if (input.MaxRecords != null) {
|
|
4044
3867
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4045
3868
|
}
|
|
4046
|
-
if (input.Marker
|
|
3869
|
+
if (input.Marker != null) {
|
|
4047
3870
|
entries["Marker"] = input.Marker;
|
|
4048
3871
|
}
|
|
4049
3872
|
return entries;
|
|
4050
3873
|
};
|
|
4051
3874
|
const serializeAws_queryDescribeDBClusterParameterGroupsMessage = (input, context) => {
|
|
4052
3875
|
const entries = {};
|
|
4053
|
-
if (input.DBClusterParameterGroupName
|
|
3876
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
4054
3877
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
4055
3878
|
}
|
|
4056
|
-
if (input.Filters
|
|
3879
|
+
if (input.Filters != null) {
|
|
4057
3880
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4058
3881
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4059
3882
|
const loc = `Filters.${key}`;
|
|
4060
3883
|
entries[loc] = value;
|
|
4061
3884
|
});
|
|
4062
3885
|
}
|
|
4063
|
-
if (input.MaxRecords
|
|
3886
|
+
if (input.MaxRecords != null) {
|
|
4064
3887
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4065
3888
|
}
|
|
4066
|
-
if (input.Marker
|
|
3889
|
+
if (input.Marker != null) {
|
|
4067
3890
|
entries["Marker"] = input.Marker;
|
|
4068
3891
|
}
|
|
4069
3892
|
return entries;
|
|
4070
3893
|
};
|
|
4071
3894
|
const serializeAws_queryDescribeDBClusterParametersMessage = (input, context) => {
|
|
4072
3895
|
const entries = {};
|
|
4073
|
-
if (input.DBClusterParameterGroupName
|
|
3896
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
4074
3897
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
4075
3898
|
}
|
|
4076
|
-
if (input.Source
|
|
3899
|
+
if (input.Source != null) {
|
|
4077
3900
|
entries["Source"] = input.Source;
|
|
4078
3901
|
}
|
|
4079
|
-
if (input.Filters
|
|
3902
|
+
if (input.Filters != null) {
|
|
4080
3903
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4081
3904
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4082
3905
|
const loc = `Filters.${key}`;
|
|
4083
3906
|
entries[loc] = value;
|
|
4084
3907
|
});
|
|
4085
3908
|
}
|
|
4086
|
-
if (input.MaxRecords
|
|
3909
|
+
if (input.MaxRecords != null) {
|
|
4087
3910
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4088
3911
|
}
|
|
4089
|
-
if (input.Marker
|
|
3912
|
+
if (input.Marker != null) {
|
|
4090
3913
|
entries["Marker"] = input.Marker;
|
|
4091
3914
|
}
|
|
4092
3915
|
return entries;
|
|
4093
3916
|
};
|
|
4094
3917
|
const serializeAws_queryDescribeDBClustersMessage = (input, context) => {
|
|
4095
3918
|
const entries = {};
|
|
4096
|
-
if (input.DBClusterIdentifier
|
|
3919
|
+
if (input.DBClusterIdentifier != null) {
|
|
4097
3920
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4098
3921
|
}
|
|
4099
|
-
if (input.Filters
|
|
3922
|
+
if (input.Filters != null) {
|
|
4100
3923
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4101
3924
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4102
3925
|
const loc = `Filters.${key}`;
|
|
4103
3926
|
entries[loc] = value;
|
|
4104
3927
|
});
|
|
4105
3928
|
}
|
|
4106
|
-
if (input.MaxRecords
|
|
3929
|
+
if (input.MaxRecords != null) {
|
|
4107
3930
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4108
3931
|
}
|
|
4109
|
-
if (input.Marker
|
|
3932
|
+
if (input.Marker != null) {
|
|
4110
3933
|
entries["Marker"] = input.Marker;
|
|
4111
3934
|
}
|
|
4112
3935
|
return entries;
|
|
4113
3936
|
};
|
|
4114
3937
|
const serializeAws_queryDescribeDBClusterSnapshotAttributesMessage = (input, context) => {
|
|
4115
3938
|
const entries = {};
|
|
4116
|
-
if (input.DBClusterSnapshotIdentifier
|
|
3939
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
4117
3940
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
4118
3941
|
}
|
|
4119
3942
|
return entries;
|
|
4120
3943
|
};
|
|
4121
3944
|
const serializeAws_queryDescribeDBClusterSnapshotsMessage = (input, context) => {
|
|
4122
3945
|
const entries = {};
|
|
4123
|
-
if (input.DBClusterIdentifier
|
|
3946
|
+
if (input.DBClusterIdentifier != null) {
|
|
4124
3947
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4125
3948
|
}
|
|
4126
|
-
if (input.DBClusterSnapshotIdentifier
|
|
3949
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
4127
3950
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
4128
3951
|
}
|
|
4129
|
-
if (input.SnapshotType
|
|
3952
|
+
if (input.SnapshotType != null) {
|
|
4130
3953
|
entries["SnapshotType"] = input.SnapshotType;
|
|
4131
3954
|
}
|
|
4132
|
-
if (input.Filters
|
|
3955
|
+
if (input.Filters != null) {
|
|
4133
3956
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4134
3957
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4135
3958
|
const loc = `Filters.${key}`;
|
|
4136
3959
|
entries[loc] = value;
|
|
4137
3960
|
});
|
|
4138
3961
|
}
|
|
4139
|
-
if (input.MaxRecords
|
|
3962
|
+
if (input.MaxRecords != null) {
|
|
4140
3963
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4141
3964
|
}
|
|
4142
|
-
if (input.Marker
|
|
3965
|
+
if (input.Marker != null) {
|
|
4143
3966
|
entries["Marker"] = input.Marker;
|
|
4144
3967
|
}
|
|
4145
|
-
if (input.IncludeShared
|
|
3968
|
+
if (input.IncludeShared != null) {
|
|
4146
3969
|
entries["IncludeShared"] = input.IncludeShared;
|
|
4147
3970
|
}
|
|
4148
|
-
if (input.IncludePublic
|
|
3971
|
+
if (input.IncludePublic != null) {
|
|
4149
3972
|
entries["IncludePublic"] = input.IncludePublic;
|
|
4150
3973
|
}
|
|
4151
3974
|
return entries;
|
|
4152
3975
|
};
|
|
4153
3976
|
const serializeAws_queryDescribeDBEngineVersionsMessage = (input, context) => {
|
|
4154
3977
|
const entries = {};
|
|
4155
|
-
if (input.Engine
|
|
3978
|
+
if (input.Engine != null) {
|
|
4156
3979
|
entries["Engine"] = input.Engine;
|
|
4157
3980
|
}
|
|
4158
|
-
if (input.EngineVersion
|
|
3981
|
+
if (input.EngineVersion != null) {
|
|
4159
3982
|
entries["EngineVersion"] = input.EngineVersion;
|
|
4160
3983
|
}
|
|
4161
|
-
if (input.DBParameterGroupFamily
|
|
3984
|
+
if (input.DBParameterGroupFamily != null) {
|
|
4162
3985
|
entries["DBParameterGroupFamily"] = input.DBParameterGroupFamily;
|
|
4163
3986
|
}
|
|
4164
|
-
if (input.Filters
|
|
3987
|
+
if (input.Filters != null) {
|
|
4165
3988
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4166
3989
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4167
3990
|
const loc = `Filters.${key}`;
|
|
4168
3991
|
entries[loc] = value;
|
|
4169
3992
|
});
|
|
4170
3993
|
}
|
|
4171
|
-
if (input.MaxRecords
|
|
3994
|
+
if (input.MaxRecords != null) {
|
|
4172
3995
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4173
3996
|
}
|
|
4174
|
-
if (input.Marker
|
|
3997
|
+
if (input.Marker != null) {
|
|
4175
3998
|
entries["Marker"] = input.Marker;
|
|
4176
3999
|
}
|
|
4177
|
-
if (input.DefaultOnly
|
|
4000
|
+
if (input.DefaultOnly != null) {
|
|
4178
4001
|
entries["DefaultOnly"] = input.DefaultOnly;
|
|
4179
4002
|
}
|
|
4180
|
-
if (input.ListSupportedCharacterSets
|
|
4003
|
+
if (input.ListSupportedCharacterSets != null) {
|
|
4181
4004
|
entries["ListSupportedCharacterSets"] = input.ListSupportedCharacterSets;
|
|
4182
4005
|
}
|
|
4183
|
-
if (input.ListSupportedTimezones
|
|
4006
|
+
if (input.ListSupportedTimezones != null) {
|
|
4184
4007
|
entries["ListSupportedTimezones"] = input.ListSupportedTimezones;
|
|
4185
4008
|
}
|
|
4186
4009
|
return entries;
|
|
4187
4010
|
};
|
|
4188
4011
|
const serializeAws_queryDescribeDBInstancesMessage = (input, context) => {
|
|
4189
4012
|
const entries = {};
|
|
4190
|
-
if (input.DBInstanceIdentifier
|
|
4013
|
+
if (input.DBInstanceIdentifier != null) {
|
|
4191
4014
|
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
4192
4015
|
}
|
|
4193
|
-
if (input.Filters
|
|
4016
|
+
if (input.Filters != null) {
|
|
4194
4017
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4195
4018
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4196
4019
|
const loc = `Filters.${key}`;
|
|
4197
4020
|
entries[loc] = value;
|
|
4198
4021
|
});
|
|
4199
4022
|
}
|
|
4200
|
-
if (input.MaxRecords
|
|
4023
|
+
if (input.MaxRecords != null) {
|
|
4201
4024
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4202
4025
|
}
|
|
4203
|
-
if (input.Marker
|
|
4026
|
+
if (input.Marker != null) {
|
|
4204
4027
|
entries["Marker"] = input.Marker;
|
|
4205
4028
|
}
|
|
4206
4029
|
return entries;
|
|
4207
4030
|
};
|
|
4208
4031
|
const serializeAws_queryDescribeDBSubnetGroupsMessage = (input, context) => {
|
|
4209
4032
|
const entries = {};
|
|
4210
|
-
if (input.DBSubnetGroupName
|
|
4033
|
+
if (input.DBSubnetGroupName != null) {
|
|
4211
4034
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
4212
4035
|
}
|
|
4213
|
-
if (input.Filters
|
|
4036
|
+
if (input.Filters != null) {
|
|
4214
4037
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4215
4038
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4216
4039
|
const loc = `Filters.${key}`;
|
|
4217
4040
|
entries[loc] = value;
|
|
4218
4041
|
});
|
|
4219
4042
|
}
|
|
4220
|
-
if (input.MaxRecords
|
|
4043
|
+
if (input.MaxRecords != null) {
|
|
4221
4044
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4222
4045
|
}
|
|
4223
|
-
if (input.Marker
|
|
4046
|
+
if (input.Marker != null) {
|
|
4224
4047
|
entries["Marker"] = input.Marker;
|
|
4225
4048
|
}
|
|
4226
4049
|
return entries;
|
|
4227
4050
|
};
|
|
4228
4051
|
const serializeAws_queryDescribeEngineDefaultClusterParametersMessage = (input, context) => {
|
|
4229
4052
|
const entries = {};
|
|
4230
|
-
if (input.DBParameterGroupFamily
|
|
4053
|
+
if (input.DBParameterGroupFamily != null) {
|
|
4231
4054
|
entries["DBParameterGroupFamily"] = input.DBParameterGroupFamily;
|
|
4232
4055
|
}
|
|
4233
|
-
if (input.Filters
|
|
4056
|
+
if (input.Filters != null) {
|
|
4234
4057
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4235
4058
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4236
4059
|
const loc = `Filters.${key}`;
|
|
4237
4060
|
entries[loc] = value;
|
|
4238
4061
|
});
|
|
4239
4062
|
}
|
|
4240
|
-
if (input.MaxRecords
|
|
4063
|
+
if (input.MaxRecords != null) {
|
|
4241
4064
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4242
4065
|
}
|
|
4243
|
-
if (input.Marker
|
|
4066
|
+
if (input.Marker != null) {
|
|
4244
4067
|
entries["Marker"] = input.Marker;
|
|
4245
4068
|
}
|
|
4246
4069
|
return entries;
|
|
4247
4070
|
};
|
|
4248
4071
|
const serializeAws_queryDescribeEventCategoriesMessage = (input, context) => {
|
|
4249
4072
|
const entries = {};
|
|
4250
|
-
if (input.SourceType
|
|
4073
|
+
if (input.SourceType != null) {
|
|
4251
4074
|
entries["SourceType"] = input.SourceType;
|
|
4252
4075
|
}
|
|
4253
|
-
if (input.Filters
|
|
4076
|
+
if (input.Filters != null) {
|
|
4254
4077
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4255
4078
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4256
4079
|
const loc = `Filters.${key}`;
|
|
@@ -4261,131 +4084,131 @@ const serializeAws_queryDescribeEventCategoriesMessage = (input, context) => {
|
|
|
4261
4084
|
};
|
|
4262
4085
|
const serializeAws_queryDescribeEventsMessage = (input, context) => {
|
|
4263
4086
|
const entries = {};
|
|
4264
|
-
if (input.SourceIdentifier
|
|
4087
|
+
if (input.SourceIdentifier != null) {
|
|
4265
4088
|
entries["SourceIdentifier"] = input.SourceIdentifier;
|
|
4266
4089
|
}
|
|
4267
|
-
if (input.SourceType
|
|
4090
|
+
if (input.SourceType != null) {
|
|
4268
4091
|
entries["SourceType"] = input.SourceType;
|
|
4269
4092
|
}
|
|
4270
|
-
if (input.StartTime
|
|
4093
|
+
if (input.StartTime != null) {
|
|
4271
4094
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
4272
4095
|
}
|
|
4273
|
-
if (input.EndTime
|
|
4096
|
+
if (input.EndTime != null) {
|
|
4274
4097
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
4275
4098
|
}
|
|
4276
|
-
if (input.Duration
|
|
4099
|
+
if (input.Duration != null) {
|
|
4277
4100
|
entries["Duration"] = input.Duration;
|
|
4278
4101
|
}
|
|
4279
|
-
if (input.EventCategories
|
|
4102
|
+
if (input.EventCategories != null) {
|
|
4280
4103
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
4281
4104
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4282
4105
|
const loc = `EventCategories.${key}`;
|
|
4283
4106
|
entries[loc] = value;
|
|
4284
4107
|
});
|
|
4285
4108
|
}
|
|
4286
|
-
if (input.Filters
|
|
4109
|
+
if (input.Filters != null) {
|
|
4287
4110
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4288
4111
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4289
4112
|
const loc = `Filters.${key}`;
|
|
4290
4113
|
entries[loc] = value;
|
|
4291
4114
|
});
|
|
4292
4115
|
}
|
|
4293
|
-
if (input.MaxRecords
|
|
4116
|
+
if (input.MaxRecords != null) {
|
|
4294
4117
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4295
4118
|
}
|
|
4296
|
-
if (input.Marker
|
|
4119
|
+
if (input.Marker != null) {
|
|
4297
4120
|
entries["Marker"] = input.Marker;
|
|
4298
4121
|
}
|
|
4299
4122
|
return entries;
|
|
4300
4123
|
};
|
|
4301
4124
|
const serializeAws_queryDescribeEventSubscriptionsMessage = (input, context) => {
|
|
4302
4125
|
const entries = {};
|
|
4303
|
-
if (input.SubscriptionName
|
|
4126
|
+
if (input.SubscriptionName != null) {
|
|
4304
4127
|
entries["SubscriptionName"] = input.SubscriptionName;
|
|
4305
4128
|
}
|
|
4306
|
-
if (input.Filters
|
|
4129
|
+
if (input.Filters != null) {
|
|
4307
4130
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4308
4131
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4309
4132
|
const loc = `Filters.${key}`;
|
|
4310
4133
|
entries[loc] = value;
|
|
4311
4134
|
});
|
|
4312
4135
|
}
|
|
4313
|
-
if (input.MaxRecords
|
|
4136
|
+
if (input.MaxRecords != null) {
|
|
4314
4137
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4315
4138
|
}
|
|
4316
|
-
if (input.Marker
|
|
4139
|
+
if (input.Marker != null) {
|
|
4317
4140
|
entries["Marker"] = input.Marker;
|
|
4318
4141
|
}
|
|
4319
4142
|
return entries;
|
|
4320
4143
|
};
|
|
4321
4144
|
const serializeAws_queryDescribeGlobalClustersMessage = (input, context) => {
|
|
4322
4145
|
const entries = {};
|
|
4323
|
-
if (input.GlobalClusterIdentifier
|
|
4146
|
+
if (input.GlobalClusterIdentifier != null) {
|
|
4324
4147
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
4325
4148
|
}
|
|
4326
|
-
if (input.Filters
|
|
4149
|
+
if (input.Filters != null) {
|
|
4327
4150
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4328
4151
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4329
4152
|
const loc = `Filters.${key}`;
|
|
4330
4153
|
entries[loc] = value;
|
|
4331
4154
|
});
|
|
4332
4155
|
}
|
|
4333
|
-
if (input.MaxRecords
|
|
4156
|
+
if (input.MaxRecords != null) {
|
|
4334
4157
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4335
4158
|
}
|
|
4336
|
-
if (input.Marker
|
|
4159
|
+
if (input.Marker != null) {
|
|
4337
4160
|
entries["Marker"] = input.Marker;
|
|
4338
4161
|
}
|
|
4339
4162
|
return entries;
|
|
4340
4163
|
};
|
|
4341
4164
|
const serializeAws_queryDescribeOrderableDBInstanceOptionsMessage = (input, context) => {
|
|
4342
4165
|
const entries = {};
|
|
4343
|
-
if (input.Engine
|
|
4166
|
+
if (input.Engine != null) {
|
|
4344
4167
|
entries["Engine"] = input.Engine;
|
|
4345
4168
|
}
|
|
4346
|
-
if (input.EngineVersion
|
|
4169
|
+
if (input.EngineVersion != null) {
|
|
4347
4170
|
entries["EngineVersion"] = input.EngineVersion;
|
|
4348
4171
|
}
|
|
4349
|
-
if (input.DBInstanceClass
|
|
4172
|
+
if (input.DBInstanceClass != null) {
|
|
4350
4173
|
entries["DBInstanceClass"] = input.DBInstanceClass;
|
|
4351
4174
|
}
|
|
4352
|
-
if (input.LicenseModel
|
|
4175
|
+
if (input.LicenseModel != null) {
|
|
4353
4176
|
entries["LicenseModel"] = input.LicenseModel;
|
|
4354
4177
|
}
|
|
4355
|
-
if (input.Vpc
|
|
4178
|
+
if (input.Vpc != null) {
|
|
4356
4179
|
entries["Vpc"] = input.Vpc;
|
|
4357
4180
|
}
|
|
4358
|
-
if (input.Filters
|
|
4181
|
+
if (input.Filters != null) {
|
|
4359
4182
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4360
4183
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4361
4184
|
const loc = `Filters.${key}`;
|
|
4362
4185
|
entries[loc] = value;
|
|
4363
4186
|
});
|
|
4364
4187
|
}
|
|
4365
|
-
if (input.MaxRecords
|
|
4188
|
+
if (input.MaxRecords != null) {
|
|
4366
4189
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4367
4190
|
}
|
|
4368
|
-
if (input.Marker
|
|
4191
|
+
if (input.Marker != null) {
|
|
4369
4192
|
entries["Marker"] = input.Marker;
|
|
4370
4193
|
}
|
|
4371
4194
|
return entries;
|
|
4372
4195
|
};
|
|
4373
4196
|
const serializeAws_queryDescribePendingMaintenanceActionsMessage = (input, context) => {
|
|
4374
4197
|
const entries = {};
|
|
4375
|
-
if (input.ResourceIdentifier
|
|
4198
|
+
if (input.ResourceIdentifier != null) {
|
|
4376
4199
|
entries["ResourceIdentifier"] = input.ResourceIdentifier;
|
|
4377
4200
|
}
|
|
4378
|
-
if (input.Filters
|
|
4201
|
+
if (input.Filters != null) {
|
|
4379
4202
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4380
4203
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4381
4204
|
const loc = `Filters.${key}`;
|
|
4382
4205
|
entries[loc] = value;
|
|
4383
4206
|
});
|
|
4384
4207
|
}
|
|
4385
|
-
if (input.Marker
|
|
4208
|
+
if (input.Marker != null) {
|
|
4386
4209
|
entries["Marker"] = input.Marker;
|
|
4387
4210
|
}
|
|
4388
|
-
if (input.MaxRecords
|
|
4211
|
+
if (input.MaxRecords != null) {
|
|
4389
4212
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4390
4213
|
}
|
|
4391
4214
|
return entries;
|
|
@@ -4404,20 +4227,20 @@ const serializeAws_queryEventCategoriesList = (input, context) => {
|
|
|
4404
4227
|
};
|
|
4405
4228
|
const serializeAws_queryFailoverDBClusterMessage = (input, context) => {
|
|
4406
4229
|
const entries = {};
|
|
4407
|
-
if (input.DBClusterIdentifier
|
|
4230
|
+
if (input.DBClusterIdentifier != null) {
|
|
4408
4231
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4409
4232
|
}
|
|
4410
|
-
if (input.TargetDBInstanceIdentifier
|
|
4233
|
+
if (input.TargetDBInstanceIdentifier != null) {
|
|
4411
4234
|
entries["TargetDBInstanceIdentifier"] = input.TargetDBInstanceIdentifier;
|
|
4412
4235
|
}
|
|
4413
4236
|
return entries;
|
|
4414
4237
|
};
|
|
4415
4238
|
const serializeAws_queryFilter = (input, context) => {
|
|
4416
4239
|
const entries = {};
|
|
4417
|
-
if (input.Name
|
|
4240
|
+
if (input.Name != null) {
|
|
4418
4241
|
entries["Name"] = input.Name;
|
|
4419
4242
|
}
|
|
4420
|
-
if (input.Values
|
|
4243
|
+
if (input.Values != null) {
|
|
4421
4244
|
const memberEntries = serializeAws_queryFilterValueList(input.Values, context);
|
|
4422
4245
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4423
4246
|
const loc = `Values.${key}`;
|
|
@@ -4467,10 +4290,10 @@ const serializeAws_queryKeyList = (input, context) => {
|
|
|
4467
4290
|
};
|
|
4468
4291
|
const serializeAws_queryListTagsForResourceMessage = (input, context) => {
|
|
4469
4292
|
const entries = {};
|
|
4470
|
-
if (input.ResourceName
|
|
4293
|
+
if (input.ResourceName != null) {
|
|
4471
4294
|
entries["ResourceName"] = input.ResourceName;
|
|
4472
4295
|
}
|
|
4473
|
-
if (input.Filters
|
|
4296
|
+
if (input.Filters != null) {
|
|
4474
4297
|
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
4475
4298
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4476
4299
|
const loc = `Filters.${key}`;
|
|
@@ -4493,61 +4316,61 @@ const serializeAws_queryLogTypeList = (input, context) => {
|
|
|
4493
4316
|
};
|
|
4494
4317
|
const serializeAws_queryModifyDBClusterMessage = (input, context) => {
|
|
4495
4318
|
const entries = {};
|
|
4496
|
-
if (input.DBClusterIdentifier
|
|
4319
|
+
if (input.DBClusterIdentifier != null) {
|
|
4497
4320
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4498
4321
|
}
|
|
4499
|
-
if (input.NewDBClusterIdentifier
|
|
4322
|
+
if (input.NewDBClusterIdentifier != null) {
|
|
4500
4323
|
entries["NewDBClusterIdentifier"] = input.NewDBClusterIdentifier;
|
|
4501
4324
|
}
|
|
4502
|
-
if (input.ApplyImmediately
|
|
4325
|
+
if (input.ApplyImmediately != null) {
|
|
4503
4326
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
4504
4327
|
}
|
|
4505
|
-
if (input.BackupRetentionPeriod
|
|
4328
|
+
if (input.BackupRetentionPeriod != null) {
|
|
4506
4329
|
entries["BackupRetentionPeriod"] = input.BackupRetentionPeriod;
|
|
4507
4330
|
}
|
|
4508
|
-
if (input.DBClusterParameterGroupName
|
|
4331
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
4509
4332
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
4510
4333
|
}
|
|
4511
|
-
if (input.VpcSecurityGroupIds
|
|
4334
|
+
if (input.VpcSecurityGroupIds != null) {
|
|
4512
4335
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4513
4336
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4514
4337
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4515
4338
|
entries[loc] = value;
|
|
4516
4339
|
});
|
|
4517
4340
|
}
|
|
4518
|
-
if (input.Port
|
|
4341
|
+
if (input.Port != null) {
|
|
4519
4342
|
entries["Port"] = input.Port;
|
|
4520
4343
|
}
|
|
4521
|
-
if (input.MasterUserPassword
|
|
4344
|
+
if (input.MasterUserPassword != null) {
|
|
4522
4345
|
entries["MasterUserPassword"] = input.MasterUserPassword;
|
|
4523
4346
|
}
|
|
4524
|
-
if (input.PreferredBackupWindow
|
|
4347
|
+
if (input.PreferredBackupWindow != null) {
|
|
4525
4348
|
entries["PreferredBackupWindow"] = input.PreferredBackupWindow;
|
|
4526
4349
|
}
|
|
4527
|
-
if (input.PreferredMaintenanceWindow
|
|
4350
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
4528
4351
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
4529
4352
|
}
|
|
4530
|
-
if (input.CloudwatchLogsExportConfiguration
|
|
4353
|
+
if (input.CloudwatchLogsExportConfiguration != null) {
|
|
4531
4354
|
const memberEntries = serializeAws_queryCloudwatchLogsExportConfiguration(input.CloudwatchLogsExportConfiguration, context);
|
|
4532
4355
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4533
4356
|
const loc = `CloudwatchLogsExportConfiguration.${key}`;
|
|
4534
4357
|
entries[loc] = value;
|
|
4535
4358
|
});
|
|
4536
4359
|
}
|
|
4537
|
-
if (input.EngineVersion
|
|
4360
|
+
if (input.EngineVersion != null) {
|
|
4538
4361
|
entries["EngineVersion"] = input.EngineVersion;
|
|
4539
4362
|
}
|
|
4540
|
-
if (input.DeletionProtection
|
|
4363
|
+
if (input.DeletionProtection != null) {
|
|
4541
4364
|
entries["DeletionProtection"] = input.DeletionProtection;
|
|
4542
4365
|
}
|
|
4543
4366
|
return entries;
|
|
4544
4367
|
};
|
|
4545
4368
|
const serializeAws_queryModifyDBClusterParameterGroupMessage = (input, context) => {
|
|
4546
4369
|
const entries = {};
|
|
4547
|
-
if (input.DBClusterParameterGroupName
|
|
4370
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
4548
4371
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
4549
4372
|
}
|
|
4550
|
-
if (input.Parameters
|
|
4373
|
+
if (input.Parameters != null) {
|
|
4551
4374
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
4552
4375
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4553
4376
|
const loc = `Parameters.${key}`;
|
|
@@ -4558,20 +4381,20 @@ const serializeAws_queryModifyDBClusterParameterGroupMessage = (input, context)
|
|
|
4558
4381
|
};
|
|
4559
4382
|
const serializeAws_queryModifyDBClusterSnapshotAttributeMessage = (input, context) => {
|
|
4560
4383
|
const entries = {};
|
|
4561
|
-
if (input.DBClusterSnapshotIdentifier
|
|
4384
|
+
if (input.DBClusterSnapshotIdentifier != null) {
|
|
4562
4385
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
4563
4386
|
}
|
|
4564
|
-
if (input.AttributeName
|
|
4387
|
+
if (input.AttributeName != null) {
|
|
4565
4388
|
entries["AttributeName"] = input.AttributeName;
|
|
4566
4389
|
}
|
|
4567
|
-
if (input.ValuesToAdd
|
|
4390
|
+
if (input.ValuesToAdd != null) {
|
|
4568
4391
|
const memberEntries = serializeAws_queryAttributeValueList(input.ValuesToAdd, context);
|
|
4569
4392
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4570
4393
|
const loc = `ValuesToAdd.${key}`;
|
|
4571
4394
|
entries[loc] = value;
|
|
4572
4395
|
});
|
|
4573
4396
|
}
|
|
4574
|
-
if (input.ValuesToRemove
|
|
4397
|
+
if (input.ValuesToRemove != null) {
|
|
4575
4398
|
const memberEntries = serializeAws_queryAttributeValueList(input.ValuesToRemove, context);
|
|
4576
4399
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4577
4400
|
const loc = `ValuesToRemove.${key}`;
|
|
@@ -4582,50 +4405,50 @@ const serializeAws_queryModifyDBClusterSnapshotAttributeMessage = (input, contex
|
|
|
4582
4405
|
};
|
|
4583
4406
|
const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
4584
4407
|
const entries = {};
|
|
4585
|
-
if (input.DBInstanceIdentifier
|
|
4408
|
+
if (input.DBInstanceIdentifier != null) {
|
|
4586
4409
|
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
4587
4410
|
}
|
|
4588
|
-
if (input.DBInstanceClass
|
|
4411
|
+
if (input.DBInstanceClass != null) {
|
|
4589
4412
|
entries["DBInstanceClass"] = input.DBInstanceClass;
|
|
4590
4413
|
}
|
|
4591
|
-
if (input.ApplyImmediately
|
|
4414
|
+
if (input.ApplyImmediately != null) {
|
|
4592
4415
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
4593
4416
|
}
|
|
4594
|
-
if (input.PreferredMaintenanceWindow
|
|
4417
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
4595
4418
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
4596
4419
|
}
|
|
4597
|
-
if (input.AutoMinorVersionUpgrade
|
|
4420
|
+
if (input.AutoMinorVersionUpgrade != null) {
|
|
4598
4421
|
entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
|
|
4599
4422
|
}
|
|
4600
|
-
if (input.NewDBInstanceIdentifier
|
|
4423
|
+
if (input.NewDBInstanceIdentifier != null) {
|
|
4601
4424
|
entries["NewDBInstanceIdentifier"] = input.NewDBInstanceIdentifier;
|
|
4602
4425
|
}
|
|
4603
|
-
if (input.CACertificateIdentifier
|
|
4426
|
+
if (input.CACertificateIdentifier != null) {
|
|
4604
4427
|
entries["CACertificateIdentifier"] = input.CACertificateIdentifier;
|
|
4605
4428
|
}
|
|
4606
|
-
if (input.CopyTagsToSnapshot
|
|
4429
|
+
if (input.CopyTagsToSnapshot != null) {
|
|
4607
4430
|
entries["CopyTagsToSnapshot"] = input.CopyTagsToSnapshot;
|
|
4608
4431
|
}
|
|
4609
|
-
if (input.PromotionTier
|
|
4432
|
+
if (input.PromotionTier != null) {
|
|
4610
4433
|
entries["PromotionTier"] = input.PromotionTier;
|
|
4611
4434
|
}
|
|
4612
|
-
if (input.EnablePerformanceInsights
|
|
4435
|
+
if (input.EnablePerformanceInsights != null) {
|
|
4613
4436
|
entries["EnablePerformanceInsights"] = input.EnablePerformanceInsights;
|
|
4614
4437
|
}
|
|
4615
|
-
if (input.PerformanceInsightsKMSKeyId
|
|
4438
|
+
if (input.PerformanceInsightsKMSKeyId != null) {
|
|
4616
4439
|
entries["PerformanceInsightsKMSKeyId"] = input.PerformanceInsightsKMSKeyId;
|
|
4617
4440
|
}
|
|
4618
4441
|
return entries;
|
|
4619
4442
|
};
|
|
4620
4443
|
const serializeAws_queryModifyDBSubnetGroupMessage = (input, context) => {
|
|
4621
4444
|
const entries = {};
|
|
4622
|
-
if (input.DBSubnetGroupName
|
|
4445
|
+
if (input.DBSubnetGroupName != null) {
|
|
4623
4446
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
4624
4447
|
}
|
|
4625
|
-
if (input.DBSubnetGroupDescription
|
|
4448
|
+
if (input.DBSubnetGroupDescription != null) {
|
|
4626
4449
|
entries["DBSubnetGroupDescription"] = input.DBSubnetGroupDescription;
|
|
4627
4450
|
}
|
|
4628
|
-
if (input.SubnetIds
|
|
4451
|
+
if (input.SubnetIds != null) {
|
|
4629
4452
|
const memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
4630
4453
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4631
4454
|
const loc = `SubnetIds.${key}`;
|
|
@@ -4636,70 +4459,70 @@ const serializeAws_queryModifyDBSubnetGroupMessage = (input, context) => {
|
|
|
4636
4459
|
};
|
|
4637
4460
|
const serializeAws_queryModifyEventSubscriptionMessage = (input, context) => {
|
|
4638
4461
|
const entries = {};
|
|
4639
|
-
if (input.SubscriptionName
|
|
4462
|
+
if (input.SubscriptionName != null) {
|
|
4640
4463
|
entries["SubscriptionName"] = input.SubscriptionName;
|
|
4641
4464
|
}
|
|
4642
|
-
if (input.SnsTopicArn
|
|
4465
|
+
if (input.SnsTopicArn != null) {
|
|
4643
4466
|
entries["SnsTopicArn"] = input.SnsTopicArn;
|
|
4644
4467
|
}
|
|
4645
|
-
if (input.SourceType
|
|
4468
|
+
if (input.SourceType != null) {
|
|
4646
4469
|
entries["SourceType"] = input.SourceType;
|
|
4647
4470
|
}
|
|
4648
|
-
if (input.EventCategories
|
|
4471
|
+
if (input.EventCategories != null) {
|
|
4649
4472
|
const memberEntries = serializeAws_queryEventCategoriesList(input.EventCategories, context);
|
|
4650
4473
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4651
4474
|
const loc = `EventCategories.${key}`;
|
|
4652
4475
|
entries[loc] = value;
|
|
4653
4476
|
});
|
|
4654
4477
|
}
|
|
4655
|
-
if (input.Enabled
|
|
4478
|
+
if (input.Enabled != null) {
|
|
4656
4479
|
entries["Enabled"] = input.Enabled;
|
|
4657
4480
|
}
|
|
4658
4481
|
return entries;
|
|
4659
4482
|
};
|
|
4660
4483
|
const serializeAws_queryModifyGlobalClusterMessage = (input, context) => {
|
|
4661
4484
|
const entries = {};
|
|
4662
|
-
if (input.GlobalClusterIdentifier
|
|
4485
|
+
if (input.GlobalClusterIdentifier != null) {
|
|
4663
4486
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
4664
4487
|
}
|
|
4665
|
-
if (input.NewGlobalClusterIdentifier
|
|
4488
|
+
if (input.NewGlobalClusterIdentifier != null) {
|
|
4666
4489
|
entries["NewGlobalClusterIdentifier"] = input.NewGlobalClusterIdentifier;
|
|
4667
4490
|
}
|
|
4668
|
-
if (input.DeletionProtection
|
|
4491
|
+
if (input.DeletionProtection != null) {
|
|
4669
4492
|
entries["DeletionProtection"] = input.DeletionProtection;
|
|
4670
4493
|
}
|
|
4671
4494
|
return entries;
|
|
4672
4495
|
};
|
|
4673
4496
|
const serializeAws_queryParameter = (input, context) => {
|
|
4674
4497
|
const entries = {};
|
|
4675
|
-
if (input.ParameterName
|
|
4498
|
+
if (input.ParameterName != null) {
|
|
4676
4499
|
entries["ParameterName"] = input.ParameterName;
|
|
4677
4500
|
}
|
|
4678
|
-
if (input.ParameterValue
|
|
4501
|
+
if (input.ParameterValue != null) {
|
|
4679
4502
|
entries["ParameterValue"] = input.ParameterValue;
|
|
4680
4503
|
}
|
|
4681
|
-
if (input.Description
|
|
4504
|
+
if (input.Description != null) {
|
|
4682
4505
|
entries["Description"] = input.Description;
|
|
4683
4506
|
}
|
|
4684
|
-
if (input.Source
|
|
4507
|
+
if (input.Source != null) {
|
|
4685
4508
|
entries["Source"] = input.Source;
|
|
4686
4509
|
}
|
|
4687
|
-
if (input.ApplyType
|
|
4510
|
+
if (input.ApplyType != null) {
|
|
4688
4511
|
entries["ApplyType"] = input.ApplyType;
|
|
4689
4512
|
}
|
|
4690
|
-
if (input.DataType
|
|
4513
|
+
if (input.DataType != null) {
|
|
4691
4514
|
entries["DataType"] = input.DataType;
|
|
4692
4515
|
}
|
|
4693
|
-
if (input.AllowedValues
|
|
4516
|
+
if (input.AllowedValues != null) {
|
|
4694
4517
|
entries["AllowedValues"] = input.AllowedValues;
|
|
4695
4518
|
}
|
|
4696
|
-
if (input.IsModifiable
|
|
4519
|
+
if (input.IsModifiable != null) {
|
|
4697
4520
|
entries["IsModifiable"] = input.IsModifiable;
|
|
4698
4521
|
}
|
|
4699
|
-
if (input.MinimumEngineVersion
|
|
4522
|
+
if (input.MinimumEngineVersion != null) {
|
|
4700
4523
|
entries["MinimumEngineVersion"] = input.MinimumEngineVersion;
|
|
4701
4524
|
}
|
|
4702
|
-
if (input.ApplyMethod
|
|
4525
|
+
if (input.ApplyMethod != null) {
|
|
4703
4526
|
entries["ApplyMethod"] = input.ApplyMethod;
|
|
4704
4527
|
}
|
|
4705
4528
|
return entries;
|
|
@@ -4721,40 +4544,40 @@ const serializeAws_queryParametersList = (input, context) => {
|
|
|
4721
4544
|
};
|
|
4722
4545
|
const serializeAws_queryRebootDBInstanceMessage = (input, context) => {
|
|
4723
4546
|
const entries = {};
|
|
4724
|
-
if (input.DBInstanceIdentifier
|
|
4547
|
+
if (input.DBInstanceIdentifier != null) {
|
|
4725
4548
|
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
4726
4549
|
}
|
|
4727
|
-
if (input.ForceFailover
|
|
4550
|
+
if (input.ForceFailover != null) {
|
|
4728
4551
|
entries["ForceFailover"] = input.ForceFailover;
|
|
4729
4552
|
}
|
|
4730
4553
|
return entries;
|
|
4731
4554
|
};
|
|
4732
4555
|
const serializeAws_queryRemoveFromGlobalClusterMessage = (input, context) => {
|
|
4733
4556
|
const entries = {};
|
|
4734
|
-
if (input.GlobalClusterIdentifier
|
|
4557
|
+
if (input.GlobalClusterIdentifier != null) {
|
|
4735
4558
|
entries["GlobalClusterIdentifier"] = input.GlobalClusterIdentifier;
|
|
4736
4559
|
}
|
|
4737
|
-
if (input.DbClusterIdentifier
|
|
4560
|
+
if (input.DbClusterIdentifier != null) {
|
|
4738
4561
|
entries["DbClusterIdentifier"] = input.DbClusterIdentifier;
|
|
4739
4562
|
}
|
|
4740
4563
|
return entries;
|
|
4741
4564
|
};
|
|
4742
4565
|
const serializeAws_queryRemoveSourceIdentifierFromSubscriptionMessage = (input, context) => {
|
|
4743
4566
|
const entries = {};
|
|
4744
|
-
if (input.SubscriptionName
|
|
4567
|
+
if (input.SubscriptionName != null) {
|
|
4745
4568
|
entries["SubscriptionName"] = input.SubscriptionName;
|
|
4746
4569
|
}
|
|
4747
|
-
if (input.SourceIdentifier
|
|
4570
|
+
if (input.SourceIdentifier != null) {
|
|
4748
4571
|
entries["SourceIdentifier"] = input.SourceIdentifier;
|
|
4749
4572
|
}
|
|
4750
4573
|
return entries;
|
|
4751
4574
|
};
|
|
4752
4575
|
const serializeAws_queryRemoveTagsFromResourceMessage = (input, context) => {
|
|
4753
4576
|
const entries = {};
|
|
4754
|
-
if (input.ResourceName
|
|
4577
|
+
if (input.ResourceName != null) {
|
|
4755
4578
|
entries["ResourceName"] = input.ResourceName;
|
|
4756
4579
|
}
|
|
4757
|
-
if (input.TagKeys
|
|
4580
|
+
if (input.TagKeys != null) {
|
|
4758
4581
|
const memberEntries = serializeAws_queryKeyList(input.TagKeys, context);
|
|
4759
4582
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4760
4583
|
const loc = `TagKeys.${key}`;
|
|
@@ -4765,13 +4588,13 @@ const serializeAws_queryRemoveTagsFromResourceMessage = (input, context) => {
|
|
|
4765
4588
|
};
|
|
4766
4589
|
const serializeAws_queryResetDBClusterParameterGroupMessage = (input, context) => {
|
|
4767
4590
|
const entries = {};
|
|
4768
|
-
if (input.DBClusterParameterGroupName
|
|
4591
|
+
if (input.DBClusterParameterGroupName != null) {
|
|
4769
4592
|
entries["DBClusterParameterGroupName"] = input.DBClusterParameterGroupName;
|
|
4770
4593
|
}
|
|
4771
|
-
if (input.ResetAllParameters
|
|
4594
|
+
if (input.ResetAllParameters != null) {
|
|
4772
4595
|
entries["ResetAllParameters"] = input.ResetAllParameters;
|
|
4773
4596
|
}
|
|
4774
|
-
if (input.Parameters
|
|
4597
|
+
if (input.Parameters != null) {
|
|
4775
4598
|
const memberEntries = serializeAws_queryParametersList(input.Parameters, context);
|
|
4776
4599
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4777
4600
|
const loc = `Parameters.${key}`;
|
|
@@ -4782,108 +4605,108 @@ const serializeAws_queryResetDBClusterParameterGroupMessage = (input, context) =
|
|
|
4782
4605
|
};
|
|
4783
4606
|
const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) => {
|
|
4784
4607
|
const entries = {};
|
|
4785
|
-
if (input.AvailabilityZones
|
|
4608
|
+
if (input.AvailabilityZones != null) {
|
|
4786
4609
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
4787
4610
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4788
4611
|
const loc = `AvailabilityZones.${key}`;
|
|
4789
4612
|
entries[loc] = value;
|
|
4790
4613
|
});
|
|
4791
4614
|
}
|
|
4792
|
-
if (input.DBClusterIdentifier
|
|
4615
|
+
if (input.DBClusterIdentifier != null) {
|
|
4793
4616
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4794
4617
|
}
|
|
4795
|
-
if (input.SnapshotIdentifier
|
|
4618
|
+
if (input.SnapshotIdentifier != null) {
|
|
4796
4619
|
entries["SnapshotIdentifier"] = input.SnapshotIdentifier;
|
|
4797
4620
|
}
|
|
4798
|
-
if (input.Engine
|
|
4621
|
+
if (input.Engine != null) {
|
|
4799
4622
|
entries["Engine"] = input.Engine;
|
|
4800
4623
|
}
|
|
4801
|
-
if (input.EngineVersion
|
|
4624
|
+
if (input.EngineVersion != null) {
|
|
4802
4625
|
entries["EngineVersion"] = input.EngineVersion;
|
|
4803
4626
|
}
|
|
4804
|
-
if (input.Port
|
|
4627
|
+
if (input.Port != null) {
|
|
4805
4628
|
entries["Port"] = input.Port;
|
|
4806
4629
|
}
|
|
4807
|
-
if (input.DBSubnetGroupName
|
|
4630
|
+
if (input.DBSubnetGroupName != null) {
|
|
4808
4631
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
4809
4632
|
}
|
|
4810
|
-
if (input.VpcSecurityGroupIds
|
|
4633
|
+
if (input.VpcSecurityGroupIds != null) {
|
|
4811
4634
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4812
4635
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4813
4636
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4814
4637
|
entries[loc] = value;
|
|
4815
4638
|
});
|
|
4816
4639
|
}
|
|
4817
|
-
if (input.Tags
|
|
4640
|
+
if (input.Tags != null) {
|
|
4818
4641
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4819
4642
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4820
4643
|
const loc = `Tags.${key}`;
|
|
4821
4644
|
entries[loc] = value;
|
|
4822
4645
|
});
|
|
4823
4646
|
}
|
|
4824
|
-
if (input.KmsKeyId
|
|
4647
|
+
if (input.KmsKeyId != null) {
|
|
4825
4648
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
4826
4649
|
}
|
|
4827
|
-
if (input.EnableCloudwatchLogsExports
|
|
4650
|
+
if (input.EnableCloudwatchLogsExports != null) {
|
|
4828
4651
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
4829
4652
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4830
4653
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
4831
4654
|
entries[loc] = value;
|
|
4832
4655
|
});
|
|
4833
4656
|
}
|
|
4834
|
-
if (input.DeletionProtection
|
|
4657
|
+
if (input.DeletionProtection != null) {
|
|
4835
4658
|
entries["DeletionProtection"] = input.DeletionProtection;
|
|
4836
4659
|
}
|
|
4837
4660
|
return entries;
|
|
4838
4661
|
};
|
|
4839
4662
|
const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
4840
4663
|
const entries = {};
|
|
4841
|
-
if (input.DBClusterIdentifier
|
|
4664
|
+
if (input.DBClusterIdentifier != null) {
|
|
4842
4665
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4843
4666
|
}
|
|
4844
|
-
if (input.RestoreType
|
|
4667
|
+
if (input.RestoreType != null) {
|
|
4845
4668
|
entries["RestoreType"] = input.RestoreType;
|
|
4846
4669
|
}
|
|
4847
|
-
if (input.SourceDBClusterIdentifier
|
|
4670
|
+
if (input.SourceDBClusterIdentifier != null) {
|
|
4848
4671
|
entries["SourceDBClusterIdentifier"] = input.SourceDBClusterIdentifier;
|
|
4849
4672
|
}
|
|
4850
|
-
if (input.RestoreToTime
|
|
4673
|
+
if (input.RestoreToTime != null) {
|
|
4851
4674
|
entries["RestoreToTime"] = input.RestoreToTime.toISOString().split(".")[0] + "Z";
|
|
4852
4675
|
}
|
|
4853
|
-
if (input.UseLatestRestorableTime
|
|
4676
|
+
if (input.UseLatestRestorableTime != null) {
|
|
4854
4677
|
entries["UseLatestRestorableTime"] = input.UseLatestRestorableTime;
|
|
4855
4678
|
}
|
|
4856
|
-
if (input.Port
|
|
4679
|
+
if (input.Port != null) {
|
|
4857
4680
|
entries["Port"] = input.Port;
|
|
4858
4681
|
}
|
|
4859
|
-
if (input.DBSubnetGroupName
|
|
4682
|
+
if (input.DBSubnetGroupName != null) {
|
|
4860
4683
|
entries["DBSubnetGroupName"] = input.DBSubnetGroupName;
|
|
4861
4684
|
}
|
|
4862
|
-
if (input.VpcSecurityGroupIds
|
|
4685
|
+
if (input.VpcSecurityGroupIds != null) {
|
|
4863
4686
|
const memberEntries = serializeAws_queryVpcSecurityGroupIdList(input.VpcSecurityGroupIds, context);
|
|
4864
4687
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4865
4688
|
const loc = `VpcSecurityGroupIds.${key}`;
|
|
4866
4689
|
entries[loc] = value;
|
|
4867
4690
|
});
|
|
4868
4691
|
}
|
|
4869
|
-
if (input.Tags
|
|
4692
|
+
if (input.Tags != null) {
|
|
4870
4693
|
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
4871
4694
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4872
4695
|
const loc = `Tags.${key}`;
|
|
4873
4696
|
entries[loc] = value;
|
|
4874
4697
|
});
|
|
4875
4698
|
}
|
|
4876
|
-
if (input.KmsKeyId
|
|
4699
|
+
if (input.KmsKeyId != null) {
|
|
4877
4700
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
4878
4701
|
}
|
|
4879
|
-
if (input.EnableCloudwatchLogsExports
|
|
4702
|
+
if (input.EnableCloudwatchLogsExports != null) {
|
|
4880
4703
|
const memberEntries = serializeAws_queryLogTypeList(input.EnableCloudwatchLogsExports, context);
|
|
4881
4704
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4882
4705
|
const loc = `EnableCloudwatchLogsExports.${key}`;
|
|
4883
4706
|
entries[loc] = value;
|
|
4884
4707
|
});
|
|
4885
4708
|
}
|
|
4886
|
-
if (input.DeletionProtection
|
|
4709
|
+
if (input.DeletionProtection != null) {
|
|
4887
4710
|
entries["DeletionProtection"] = input.DeletionProtection;
|
|
4888
4711
|
}
|
|
4889
4712
|
return entries;
|
|
@@ -4902,14 +4725,14 @@ const serializeAws_querySourceIdsList = (input, context) => {
|
|
|
4902
4725
|
};
|
|
4903
4726
|
const serializeAws_queryStartDBClusterMessage = (input, context) => {
|
|
4904
4727
|
const entries = {};
|
|
4905
|
-
if (input.DBClusterIdentifier
|
|
4728
|
+
if (input.DBClusterIdentifier != null) {
|
|
4906
4729
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4907
4730
|
}
|
|
4908
4731
|
return entries;
|
|
4909
4732
|
};
|
|
4910
4733
|
const serializeAws_queryStopDBClusterMessage = (input, context) => {
|
|
4911
4734
|
const entries = {};
|
|
4912
|
-
if (input.DBClusterIdentifier
|
|
4735
|
+
if (input.DBClusterIdentifier != null) {
|
|
4913
4736
|
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
4914
4737
|
}
|
|
4915
4738
|
return entries;
|
|
@@ -4928,10 +4751,10 @@ const serializeAws_querySubnetIdentifierList = (input, context) => {
|
|
|
4928
4751
|
};
|
|
4929
4752
|
const serializeAws_queryTag = (input, context) => {
|
|
4930
4753
|
const entries = {};
|
|
4931
|
-
if (input.Key
|
|
4754
|
+
if (input.Key != null) {
|
|
4932
4755
|
entries["Key"] = input.Key;
|
|
4933
4756
|
}
|
|
4934
|
-
if (input.Value
|
|
4757
|
+
if (input.Value != null) {
|
|
4935
4758
|
entries["Value"] = input.Value;
|
|
4936
4759
|
}
|
|
4937
4760
|
return entries;
|
|
@@ -4985,9 +4808,6 @@ const deserializeAws_queryAttributeValueList = (output, context) => {
|
|
|
4985
4808
|
return (output || [])
|
|
4986
4809
|
.filter((e) => e != null)
|
|
4987
4810
|
.map((entry) => {
|
|
4988
|
-
if (entry === null) {
|
|
4989
|
-
return null;
|
|
4990
|
-
}
|
|
4991
4811
|
return (0, smithy_client_1.expectString)(entry);
|
|
4992
4812
|
});
|
|
4993
4813
|
};
|
|
@@ -5013,9 +4833,6 @@ const deserializeAws_queryAvailabilityZoneList = (output, context) => {
|
|
|
5013
4833
|
return (output || [])
|
|
5014
4834
|
.filter((e) => e != null)
|
|
5015
4835
|
.map((entry) => {
|
|
5016
|
-
if (entry === null) {
|
|
5017
|
-
return null;
|
|
5018
|
-
}
|
|
5019
4836
|
return deserializeAws_queryAvailabilityZone(entry, context);
|
|
5020
4837
|
});
|
|
5021
4838
|
};
|
|
@@ -5023,9 +4840,6 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
5023
4840
|
return (output || [])
|
|
5024
4841
|
.filter((e) => e != null)
|
|
5025
4842
|
.map((entry) => {
|
|
5026
|
-
if (entry === null) {
|
|
5027
|
-
return null;
|
|
5028
|
-
}
|
|
5029
4843
|
return (0, smithy_client_1.expectString)(entry);
|
|
5030
4844
|
});
|
|
5031
4845
|
};
|
|
@@ -5062,9 +4876,6 @@ const deserializeAws_queryCertificateList = (output, context) => {
|
|
|
5062
4876
|
return (output || [])
|
|
5063
4877
|
.filter((e) => e != null)
|
|
5064
4878
|
.map((entry) => {
|
|
5065
|
-
if (entry === null) {
|
|
5066
|
-
return null;
|
|
5067
|
-
}
|
|
5068
4879
|
return deserializeAws_queryCertificate(entry, context);
|
|
5069
4880
|
});
|
|
5070
4881
|
};
|
|
@@ -5342,9 +5153,6 @@ const deserializeAws_queryDBClusterList = (output, context) => {
|
|
|
5342
5153
|
return (output || [])
|
|
5343
5154
|
.filter((e) => e != null)
|
|
5344
5155
|
.map((entry) => {
|
|
5345
|
-
if (entry === null) {
|
|
5346
|
-
return null;
|
|
5347
|
-
}
|
|
5348
5156
|
return deserializeAws_queryDBCluster(entry, context);
|
|
5349
5157
|
});
|
|
5350
5158
|
};
|
|
@@ -5373,9 +5181,6 @@ const deserializeAws_queryDBClusterMemberList = (output, context) => {
|
|
|
5373
5181
|
return (output || [])
|
|
5374
5182
|
.filter((e) => e != null)
|
|
5375
5183
|
.map((entry) => {
|
|
5376
|
-
if (entry === null) {
|
|
5377
|
-
return null;
|
|
5378
|
-
}
|
|
5379
5184
|
return deserializeAws_queryDBClusterMember(entry, context);
|
|
5380
5185
|
});
|
|
5381
5186
|
};
|
|
@@ -5445,9 +5250,6 @@ const deserializeAws_queryDBClusterParameterGroupList = (output, context) => {
|
|
|
5445
5250
|
return (output || [])
|
|
5446
5251
|
.filter((e) => e != null)
|
|
5447
5252
|
.map((entry) => {
|
|
5448
|
-
if (entry === null) {
|
|
5449
|
-
return null;
|
|
5450
|
-
}
|
|
5451
5253
|
return deserializeAws_queryDBClusterParameterGroup(entry, context);
|
|
5452
5254
|
});
|
|
5453
5255
|
};
|
|
@@ -5512,9 +5314,6 @@ const deserializeAws_queryDBClusterRoles = (output, context) => {
|
|
|
5512
5314
|
return (output || [])
|
|
5513
5315
|
.filter((e) => e != null)
|
|
5514
5316
|
.map((entry) => {
|
|
5515
|
-
if (entry === null) {
|
|
5516
|
-
return null;
|
|
5517
|
-
}
|
|
5518
5317
|
return deserializeAws_queryDBClusterRole(entry, context);
|
|
5519
5318
|
});
|
|
5520
5319
|
};
|
|
@@ -5624,9 +5423,6 @@ const deserializeAws_queryDBClusterSnapshotAttributeList = (output, context) =>
|
|
|
5624
5423
|
return (output || [])
|
|
5625
5424
|
.filter((e) => e != null)
|
|
5626
5425
|
.map((entry) => {
|
|
5627
|
-
if (entry === null) {
|
|
5628
|
-
return null;
|
|
5629
|
-
}
|
|
5630
5426
|
return deserializeAws_queryDBClusterSnapshotAttribute(entry, context);
|
|
5631
5427
|
});
|
|
5632
5428
|
};
|
|
@@ -5651,9 +5447,6 @@ const deserializeAws_queryDBClusterSnapshotList = (output, context) => {
|
|
|
5651
5447
|
return (output || [])
|
|
5652
5448
|
.filter((e) => e != null)
|
|
5653
5449
|
.map((entry) => {
|
|
5654
|
-
if (entry === null) {
|
|
5655
|
-
return null;
|
|
5656
|
-
}
|
|
5657
5450
|
return deserializeAws_queryDBClusterSnapshot(entry, context);
|
|
5658
5451
|
});
|
|
5659
5452
|
};
|
|
@@ -5731,9 +5524,6 @@ const deserializeAws_queryDBEngineVersionList = (output, context) => {
|
|
|
5731
5524
|
return (output || [])
|
|
5732
5525
|
.filter((e) => e != null)
|
|
5733
5526
|
.map((entry) => {
|
|
5734
|
-
if (entry === null) {
|
|
5735
|
-
return null;
|
|
5736
|
-
}
|
|
5737
5527
|
return deserializeAws_queryDBEngineVersion(entry, context);
|
|
5738
5528
|
});
|
|
5739
5529
|
};
|
|
@@ -5890,9 +5680,6 @@ const deserializeAws_queryDBInstanceList = (output, context) => {
|
|
|
5890
5680
|
return (output || [])
|
|
5891
5681
|
.filter((e) => e != null)
|
|
5892
5682
|
.map((entry) => {
|
|
5893
|
-
if (entry === null) {
|
|
5894
|
-
return null;
|
|
5895
|
-
}
|
|
5896
5683
|
return deserializeAws_queryDBInstance(entry, context);
|
|
5897
5684
|
});
|
|
5898
5685
|
};
|
|
@@ -5946,9 +5733,6 @@ const deserializeAws_queryDBInstanceStatusInfoList = (output, context) => {
|
|
|
5946
5733
|
return (output || [])
|
|
5947
5734
|
.filter((e) => e != null)
|
|
5948
5735
|
.map((entry) => {
|
|
5949
|
-
if (entry === null) {
|
|
5950
|
-
return null;
|
|
5951
|
-
}
|
|
5952
5736
|
return deserializeAws_queryDBInstanceStatusInfo(entry, context);
|
|
5953
5737
|
});
|
|
5954
5738
|
};
|
|
@@ -6094,9 +5878,6 @@ const deserializeAws_queryDBSubnetGroups = (output, context) => {
|
|
|
6094
5878
|
return (output || [])
|
|
6095
5879
|
.filter((e) => e != null)
|
|
6096
5880
|
.map((entry) => {
|
|
6097
|
-
if (entry === null) {
|
|
6098
|
-
return null;
|
|
6099
|
-
}
|
|
6100
5881
|
return deserializeAws_queryDBSubnetGroup(entry, context);
|
|
6101
5882
|
});
|
|
6102
5883
|
};
|
|
@@ -6254,9 +6035,6 @@ const deserializeAws_queryEventCategoriesList = (output, context) => {
|
|
|
6254
6035
|
return (output || [])
|
|
6255
6036
|
.filter((e) => e != null)
|
|
6256
6037
|
.map((entry) => {
|
|
6257
|
-
if (entry === null) {
|
|
6258
|
-
return null;
|
|
6259
|
-
}
|
|
6260
6038
|
return (0, smithy_client_1.expectString)(entry);
|
|
6261
6039
|
});
|
|
6262
6040
|
};
|
|
@@ -6280,9 +6058,6 @@ const deserializeAws_queryEventCategoriesMapList = (output, context) => {
|
|
|
6280
6058
|
return (output || [])
|
|
6281
6059
|
.filter((e) => e != null)
|
|
6282
6060
|
.map((entry) => {
|
|
6283
|
-
if (entry === null) {
|
|
6284
|
-
return null;
|
|
6285
|
-
}
|
|
6286
6061
|
return deserializeAws_queryEventCategoriesMap(entry, context);
|
|
6287
6062
|
});
|
|
6288
6063
|
};
|
|
@@ -6303,9 +6078,6 @@ const deserializeAws_queryEventList = (output, context) => {
|
|
|
6303
6078
|
return (output || [])
|
|
6304
6079
|
.filter((e) => e != null)
|
|
6305
6080
|
.map((entry) => {
|
|
6306
|
-
if (entry === null) {
|
|
6307
|
-
return null;
|
|
6308
|
-
}
|
|
6309
6081
|
return deserializeAws_queryEvent(entry, context);
|
|
6310
6082
|
});
|
|
6311
6083
|
};
|
|
@@ -6390,9 +6162,6 @@ const deserializeAws_queryEventSubscriptionsList = (output, context) => {
|
|
|
6390
6162
|
return (output || [])
|
|
6391
6163
|
.filter((e) => e != null)
|
|
6392
6164
|
.map((entry) => {
|
|
6393
|
-
if (entry === null) {
|
|
6394
|
-
return null;
|
|
6395
|
-
}
|
|
6396
6165
|
return deserializeAws_queryEventSubscription(entry, context);
|
|
6397
6166
|
});
|
|
6398
6167
|
};
|
|
@@ -6484,9 +6253,6 @@ const deserializeAws_queryGlobalClusterList = (output, context) => {
|
|
|
6484
6253
|
return (output || [])
|
|
6485
6254
|
.filter((e) => e != null)
|
|
6486
6255
|
.map((entry) => {
|
|
6487
|
-
if (entry === null) {
|
|
6488
|
-
return null;
|
|
6489
|
-
}
|
|
6490
6256
|
return deserializeAws_queryGlobalCluster(entry, context);
|
|
6491
6257
|
});
|
|
6492
6258
|
};
|
|
@@ -6514,9 +6280,6 @@ const deserializeAws_queryGlobalClusterMemberList = (output, context) => {
|
|
|
6514
6280
|
return (output || [])
|
|
6515
6281
|
.filter((e) => e != null)
|
|
6516
6282
|
.map((entry) => {
|
|
6517
|
-
if (entry === null) {
|
|
6518
|
-
return null;
|
|
6519
|
-
}
|
|
6520
6283
|
return deserializeAws_queryGlobalClusterMember(entry, context);
|
|
6521
6284
|
});
|
|
6522
6285
|
};
|
|
@@ -6720,9 +6483,6 @@ const deserializeAws_queryLogTypeList = (output, context) => {
|
|
|
6720
6483
|
return (output || [])
|
|
6721
6484
|
.filter((e) => e != null)
|
|
6722
6485
|
.map((entry) => {
|
|
6723
|
-
if (entry === null) {
|
|
6724
|
-
return null;
|
|
6725
|
-
}
|
|
6726
6486
|
return (0, smithy_client_1.expectString)(entry);
|
|
6727
6487
|
});
|
|
6728
6488
|
};
|
|
@@ -6817,9 +6577,6 @@ const deserializeAws_queryOrderableDBInstanceOptionsList = (output, context) =>
|
|
|
6817
6577
|
return (output || [])
|
|
6818
6578
|
.filter((e) => e != null)
|
|
6819
6579
|
.map((entry) => {
|
|
6820
|
-
if (entry === null) {
|
|
6821
|
-
return null;
|
|
6822
|
-
}
|
|
6823
6580
|
return deserializeAws_queryOrderableDBInstanceOption(entry, context);
|
|
6824
6581
|
});
|
|
6825
6582
|
};
|
|
@@ -6889,9 +6646,6 @@ const deserializeAws_queryParametersList = (output, context) => {
|
|
|
6889
6646
|
return (output || [])
|
|
6890
6647
|
.filter((e) => e != null)
|
|
6891
6648
|
.map((entry) => {
|
|
6892
|
-
if (entry === null) {
|
|
6893
|
-
return null;
|
|
6894
|
-
}
|
|
6895
6649
|
return deserializeAws_queryParameter(entry, context);
|
|
6896
6650
|
});
|
|
6897
6651
|
};
|
|
@@ -6947,9 +6701,6 @@ const deserializeAws_queryPendingMaintenanceActionDetails = (output, context) =>
|
|
|
6947
6701
|
return (output || [])
|
|
6948
6702
|
.filter((e) => e != null)
|
|
6949
6703
|
.map((entry) => {
|
|
6950
|
-
if (entry === null) {
|
|
6951
|
-
return null;
|
|
6952
|
-
}
|
|
6953
6704
|
return deserializeAws_queryPendingMaintenanceAction(entry, context);
|
|
6954
6705
|
});
|
|
6955
6706
|
};
|
|
@@ -6957,9 +6708,6 @@ const deserializeAws_queryPendingMaintenanceActions = (output, context) => {
|
|
|
6957
6708
|
return (output || [])
|
|
6958
6709
|
.filter((e) => e != null)
|
|
6959
6710
|
.map((entry) => {
|
|
6960
|
-
if (entry === null) {
|
|
6961
|
-
return null;
|
|
6962
|
-
}
|
|
6963
6711
|
return deserializeAws_queryResourcePendingMaintenanceActions(entry, context);
|
|
6964
6712
|
});
|
|
6965
6713
|
};
|
|
@@ -7045,9 +6793,6 @@ const deserializeAws_queryReadersArnList = (output, context) => {
|
|
|
7045
6793
|
return (output || [])
|
|
7046
6794
|
.filter((e) => e != null)
|
|
7047
6795
|
.map((entry) => {
|
|
7048
|
-
if (entry === null) {
|
|
7049
|
-
return null;
|
|
7050
|
-
}
|
|
7051
6796
|
return (0, smithy_client_1.expectString)(entry);
|
|
7052
6797
|
});
|
|
7053
6798
|
};
|
|
@@ -7055,9 +6800,6 @@ const deserializeAws_queryReadReplicaIdentifierList = (output, context) => {
|
|
|
7055
6800
|
return (output || [])
|
|
7056
6801
|
.filter((e) => e != null)
|
|
7057
6802
|
.map((entry) => {
|
|
7058
|
-
if (entry === null) {
|
|
7059
|
-
return null;
|
|
7060
|
-
}
|
|
7061
6803
|
return (0, smithy_client_1.expectString)(entry);
|
|
7062
6804
|
});
|
|
7063
6805
|
};
|
|
@@ -7181,9 +6923,6 @@ const deserializeAws_querySourceIdsList = (output, context) => {
|
|
|
7181
6923
|
return (output || [])
|
|
7182
6924
|
.filter((e) => e != null)
|
|
7183
6925
|
.map((entry) => {
|
|
7184
|
-
if (entry === null) {
|
|
7185
|
-
return null;
|
|
7186
|
-
}
|
|
7187
6926
|
return (0, smithy_client_1.expectString)(entry);
|
|
7188
6927
|
});
|
|
7189
6928
|
};
|
|
@@ -7262,9 +7001,6 @@ const deserializeAws_querySubnetList = (output, context) => {
|
|
|
7262
7001
|
return (output || [])
|
|
7263
7002
|
.filter((e) => e != null)
|
|
7264
7003
|
.map((entry) => {
|
|
7265
|
-
if (entry === null) {
|
|
7266
|
-
return null;
|
|
7267
|
-
}
|
|
7268
7004
|
return deserializeAws_querySubnet(entry, context);
|
|
7269
7005
|
});
|
|
7270
7006
|
};
|
|
@@ -7312,9 +7048,6 @@ const deserializeAws_queryTagList = (output, context) => {
|
|
|
7312
7048
|
return (output || [])
|
|
7313
7049
|
.filter((e) => e != null)
|
|
7314
7050
|
.map((entry) => {
|
|
7315
|
-
if (entry === null) {
|
|
7316
|
-
return null;
|
|
7317
|
-
}
|
|
7318
7051
|
return deserializeAws_queryTag(entry, context);
|
|
7319
7052
|
});
|
|
7320
7053
|
};
|
|
@@ -7359,9 +7092,6 @@ const deserializeAws_queryValidUpgradeTargetList = (output, context) => {
|
|
|
7359
7092
|
return (output || [])
|
|
7360
7093
|
.filter((e) => e != null)
|
|
7361
7094
|
.map((entry) => {
|
|
7362
|
-
if (entry === null) {
|
|
7363
|
-
return null;
|
|
7364
|
-
}
|
|
7365
7095
|
return deserializeAws_queryUpgradeTarget(entry, context);
|
|
7366
7096
|
});
|
|
7367
7097
|
};
|
|
@@ -7382,9 +7112,6 @@ const deserializeAws_queryVpcSecurityGroupMembershipList = (output, context) =>
|
|
|
7382
7112
|
return (output || [])
|
|
7383
7113
|
.filter((e) => e != null)
|
|
7384
7114
|
.map((entry) => {
|
|
7385
|
-
if (entry === null) {
|
|
7386
|
-
return null;
|
|
7387
|
-
}
|
|
7388
7115
|
return deserializeAws_queryVpcSecurityGroupMembership(entry, context);
|
|
7389
7116
|
});
|
|
7390
7117
|
};
|