@aws-sdk/client-elasticache 3.137.0 → 3.145.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 +30 -0
- package/README.md +1 -1
- package/dist-cjs/protocols/Aws_query.js +688 -1025
- package/dist-es/protocols/Aws_query.js +882 -1026
- package/package.json +11 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read, __values } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { decodeHTML } from "entities";
|
|
5
5
|
import { parse as xmlParse } from "fast-xml-parser";
|
|
6
6
|
import { ElastiCacheServiceException as __BaseException } from "../models/ElastiCacheServiceException";
|
|
@@ -674,7 +674,7 @@ export var deserializeAws_queryAddTagsToResourceCommand = function (output, cont
|
|
|
674
674
|
});
|
|
675
675
|
}); };
|
|
676
676
|
var deserializeAws_queryAddTagsToResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
677
|
-
var parsedOutput, _a,
|
|
677
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
678
678
|
var _c;
|
|
679
679
|
return __generator(this, function (_d) {
|
|
680
680
|
switch (_d.label) {
|
|
@@ -739,14 +739,14 @@ var deserializeAws_queryAddTagsToResourceCommandError = function (output, contex
|
|
|
739
739
|
case 25: throw _d.sent();
|
|
740
740
|
case 26:
|
|
741
741
|
parsedBody = parsedOutput.body;
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
$metadata: $metadata,
|
|
742
|
+
throwDefaultError({
|
|
743
|
+
output: output,
|
|
744
|
+
parsedBody: parsedBody.Error,
|
|
745
|
+
exceptionCtor: __BaseException,
|
|
746
|
+
errorCode: errorCode,
|
|
748
747
|
});
|
|
749
|
-
|
|
748
|
+
_d.label = 27;
|
|
749
|
+
case 27: return [2];
|
|
750
750
|
}
|
|
751
751
|
});
|
|
752
752
|
}); };
|
|
@@ -769,7 +769,7 @@ export var deserializeAws_queryAuthorizeCacheSecurityGroupIngressCommand = funct
|
|
|
769
769
|
});
|
|
770
770
|
}); };
|
|
771
771
|
var deserializeAws_queryAuthorizeCacheSecurityGroupIngressCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
772
|
-
var parsedOutput, _a,
|
|
772
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
773
773
|
var _c;
|
|
774
774
|
return __generator(this, function (_d) {
|
|
775
775
|
switch (_d.label) {
|
|
@@ -806,14 +806,14 @@ var deserializeAws_queryAuthorizeCacheSecurityGroupIngressCommandError = functio
|
|
|
806
806
|
case 11: throw _d.sent();
|
|
807
807
|
case 12:
|
|
808
808
|
parsedBody = parsedOutput.body;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
$metadata: $metadata,
|
|
809
|
+
throwDefaultError({
|
|
810
|
+
output: output,
|
|
811
|
+
parsedBody: parsedBody.Error,
|
|
812
|
+
exceptionCtor: __BaseException,
|
|
813
|
+
errorCode: errorCode,
|
|
815
814
|
});
|
|
816
|
-
|
|
815
|
+
_d.label = 13;
|
|
816
|
+
case 13: return [2];
|
|
817
817
|
}
|
|
818
818
|
});
|
|
819
819
|
}); };
|
|
@@ -836,7 +836,7 @@ export var deserializeAws_queryBatchApplyUpdateActionCommand = function (output,
|
|
|
836
836
|
});
|
|
837
837
|
}); };
|
|
838
838
|
var deserializeAws_queryBatchApplyUpdateActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
839
|
-
var parsedOutput, _a,
|
|
839
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
840
840
|
var _c;
|
|
841
841
|
return __generator(this, function (_d) {
|
|
842
842
|
switch (_d.label) {
|
|
@@ -861,14 +861,14 @@ var deserializeAws_queryBatchApplyUpdateActionCommandError = function (output, c
|
|
|
861
861
|
case 5: throw _d.sent();
|
|
862
862
|
case 6:
|
|
863
863
|
parsedBody = parsedOutput.body;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
$metadata: $metadata,
|
|
864
|
+
throwDefaultError({
|
|
865
|
+
output: output,
|
|
866
|
+
parsedBody: parsedBody.Error,
|
|
867
|
+
exceptionCtor: __BaseException,
|
|
868
|
+
errorCode: errorCode,
|
|
870
869
|
});
|
|
871
|
-
|
|
870
|
+
_d.label = 7;
|
|
871
|
+
case 7: return [2];
|
|
872
872
|
}
|
|
873
873
|
});
|
|
874
874
|
}); };
|
|
@@ -891,7 +891,7 @@ export var deserializeAws_queryBatchStopUpdateActionCommand = function (output,
|
|
|
891
891
|
});
|
|
892
892
|
}); };
|
|
893
893
|
var deserializeAws_queryBatchStopUpdateActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
894
|
-
var parsedOutput, _a,
|
|
894
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
895
895
|
var _c;
|
|
896
896
|
return __generator(this, function (_d) {
|
|
897
897
|
switch (_d.label) {
|
|
@@ -916,14 +916,14 @@ var deserializeAws_queryBatchStopUpdateActionCommandError = function (output, co
|
|
|
916
916
|
case 5: throw _d.sent();
|
|
917
917
|
case 6:
|
|
918
918
|
parsedBody = parsedOutput.body;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
$metadata: $metadata,
|
|
919
|
+
throwDefaultError({
|
|
920
|
+
output: output,
|
|
921
|
+
parsedBody: parsedBody.Error,
|
|
922
|
+
exceptionCtor: __BaseException,
|
|
923
|
+
errorCode: errorCode,
|
|
925
924
|
});
|
|
926
|
-
|
|
925
|
+
_d.label = 7;
|
|
926
|
+
case 7: return [2];
|
|
927
927
|
}
|
|
928
928
|
});
|
|
929
929
|
}); };
|
|
@@ -946,7 +946,7 @@ export var deserializeAws_queryCompleteMigrationCommand = function (output, cont
|
|
|
946
946
|
});
|
|
947
947
|
}); };
|
|
948
948
|
var deserializeAws_queryCompleteMigrationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
949
|
-
var parsedOutput, _a,
|
|
949
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
950
950
|
var _c;
|
|
951
951
|
return __generator(this, function (_d) {
|
|
952
952
|
switch (_d.label) {
|
|
@@ -975,14 +975,14 @@ var deserializeAws_queryCompleteMigrationCommandError = function (output, contex
|
|
|
975
975
|
case 7: throw _d.sent();
|
|
976
976
|
case 8:
|
|
977
977
|
parsedBody = parsedOutput.body;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
$metadata: $metadata,
|
|
978
|
+
throwDefaultError({
|
|
979
|
+
output: output,
|
|
980
|
+
parsedBody: parsedBody.Error,
|
|
981
|
+
exceptionCtor: __BaseException,
|
|
982
|
+
errorCode: errorCode,
|
|
984
983
|
});
|
|
985
|
-
|
|
984
|
+
_d.label = 9;
|
|
985
|
+
case 9: return [2];
|
|
986
986
|
}
|
|
987
987
|
});
|
|
988
988
|
}); };
|
|
@@ -1005,7 +1005,7 @@ export var deserializeAws_queryCopySnapshotCommand = function (output, context)
|
|
|
1005
1005
|
});
|
|
1006
1006
|
}); };
|
|
1007
1007
|
var deserializeAws_queryCopySnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1008
|
-
var parsedOutput, _a,
|
|
1008
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1009
1009
|
var _c;
|
|
1010
1010
|
return __generator(this, function (_d) {
|
|
1011
1011
|
switch (_d.label) {
|
|
@@ -1050,14 +1050,14 @@ var deserializeAws_queryCopySnapshotCommandError = function (output, context) {
|
|
|
1050
1050
|
case 15: throw _d.sent();
|
|
1051
1051
|
case 16:
|
|
1052
1052
|
parsedBody = parsedOutput.body;
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
$metadata: $metadata,
|
|
1053
|
+
throwDefaultError({
|
|
1054
|
+
output: output,
|
|
1055
|
+
parsedBody: parsedBody.Error,
|
|
1056
|
+
exceptionCtor: __BaseException,
|
|
1057
|
+
errorCode: errorCode,
|
|
1059
1058
|
});
|
|
1060
|
-
|
|
1059
|
+
_d.label = 17;
|
|
1060
|
+
case 17: return [2];
|
|
1061
1061
|
}
|
|
1062
1062
|
});
|
|
1063
1063
|
}); };
|
|
@@ -1080,7 +1080,7 @@ export var deserializeAws_queryCreateCacheClusterCommand = function (output, con
|
|
|
1080
1080
|
});
|
|
1081
1081
|
}); };
|
|
1082
1082
|
var deserializeAws_queryCreateCacheClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1083
|
-
var parsedOutput, _a,
|
|
1083
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1084
1084
|
var _c;
|
|
1085
1085
|
return __generator(this, function (_d) {
|
|
1086
1086
|
switch (_d.label) {
|
|
@@ -1153,14 +1153,14 @@ var deserializeAws_queryCreateCacheClusterCommandError = function (output, conte
|
|
|
1153
1153
|
case 29: throw _d.sent();
|
|
1154
1154
|
case 30:
|
|
1155
1155
|
parsedBody = parsedOutput.body;
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
$metadata: $metadata,
|
|
1156
|
+
throwDefaultError({
|
|
1157
|
+
output: output,
|
|
1158
|
+
parsedBody: parsedBody.Error,
|
|
1159
|
+
exceptionCtor: __BaseException,
|
|
1160
|
+
errorCode: errorCode,
|
|
1162
1161
|
});
|
|
1163
|
-
|
|
1162
|
+
_d.label = 31;
|
|
1163
|
+
case 31: return [2];
|
|
1164
1164
|
}
|
|
1165
1165
|
});
|
|
1166
1166
|
}); };
|
|
@@ -1183,7 +1183,7 @@ export var deserializeAws_queryCreateCacheParameterGroupCommand = function (outp
|
|
|
1183
1183
|
});
|
|
1184
1184
|
}); };
|
|
1185
1185
|
var deserializeAws_queryCreateCacheParameterGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1186
|
-
var parsedOutput, _a,
|
|
1186
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1187
1187
|
var _c;
|
|
1188
1188
|
return __generator(this, function (_d) {
|
|
1189
1189
|
switch (_d.label) {
|
|
@@ -1224,14 +1224,14 @@ var deserializeAws_queryCreateCacheParameterGroupCommandError = function (output
|
|
|
1224
1224
|
case 13: throw _d.sent();
|
|
1225
1225
|
case 14:
|
|
1226
1226
|
parsedBody = parsedOutput.body;
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
$metadata: $metadata,
|
|
1227
|
+
throwDefaultError({
|
|
1228
|
+
output: output,
|
|
1229
|
+
parsedBody: parsedBody.Error,
|
|
1230
|
+
exceptionCtor: __BaseException,
|
|
1231
|
+
errorCode: errorCode,
|
|
1233
1232
|
});
|
|
1234
|
-
|
|
1233
|
+
_d.label = 15;
|
|
1234
|
+
case 15: return [2];
|
|
1235
1235
|
}
|
|
1236
1236
|
});
|
|
1237
1237
|
}); };
|
|
@@ -1254,7 +1254,7 @@ export var deserializeAws_queryCreateCacheSecurityGroupCommand = function (outpu
|
|
|
1254
1254
|
});
|
|
1255
1255
|
}); };
|
|
1256
1256
|
var deserializeAws_queryCreateCacheSecurityGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1257
|
-
var parsedOutput, _a,
|
|
1257
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1258
1258
|
var _c;
|
|
1259
1259
|
return __generator(this, function (_d) {
|
|
1260
1260
|
switch (_d.label) {
|
|
@@ -1291,14 +1291,14 @@ var deserializeAws_queryCreateCacheSecurityGroupCommandError = function (output,
|
|
|
1291
1291
|
case 11: throw _d.sent();
|
|
1292
1292
|
case 12:
|
|
1293
1293
|
parsedBody = parsedOutput.body;
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
$metadata: $metadata,
|
|
1294
|
+
throwDefaultError({
|
|
1295
|
+
output: output,
|
|
1296
|
+
parsedBody: parsedBody.Error,
|
|
1297
|
+
exceptionCtor: __BaseException,
|
|
1298
|
+
errorCode: errorCode,
|
|
1300
1299
|
});
|
|
1301
|
-
|
|
1300
|
+
_d.label = 13;
|
|
1301
|
+
case 13: return [2];
|
|
1302
1302
|
}
|
|
1303
1303
|
});
|
|
1304
1304
|
}); };
|
|
@@ -1321,7 +1321,7 @@ export var deserializeAws_queryCreateCacheSubnetGroupCommand = function (output,
|
|
|
1321
1321
|
});
|
|
1322
1322
|
}); };
|
|
1323
1323
|
var deserializeAws_queryCreateCacheSubnetGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1324
|
-
var parsedOutput, _a,
|
|
1324
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1325
1325
|
var _c;
|
|
1326
1326
|
return __generator(this, function (_d) {
|
|
1327
1327
|
switch (_d.label) {
|
|
@@ -1362,14 +1362,14 @@ var deserializeAws_queryCreateCacheSubnetGroupCommandError = function (output, c
|
|
|
1362
1362
|
case 13: throw _d.sent();
|
|
1363
1363
|
case 14:
|
|
1364
1364
|
parsedBody = parsedOutput.body;
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
$metadata: $metadata,
|
|
1365
|
+
throwDefaultError({
|
|
1366
|
+
output: output,
|
|
1367
|
+
parsedBody: parsedBody.Error,
|
|
1368
|
+
exceptionCtor: __BaseException,
|
|
1369
|
+
errorCode: errorCode,
|
|
1371
1370
|
});
|
|
1372
|
-
|
|
1371
|
+
_d.label = 15;
|
|
1372
|
+
case 15: return [2];
|
|
1373
1373
|
}
|
|
1374
1374
|
});
|
|
1375
1375
|
}); };
|
|
@@ -1392,7 +1392,7 @@ export var deserializeAws_queryCreateGlobalReplicationGroupCommand = function (o
|
|
|
1392
1392
|
});
|
|
1393
1393
|
}); };
|
|
1394
1394
|
var deserializeAws_queryCreateGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1395
|
-
var parsedOutput, _a,
|
|
1395
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1396
1396
|
var _c;
|
|
1397
1397
|
return __generator(this, function (_d) {
|
|
1398
1398
|
switch (_d.label) {
|
|
@@ -1429,14 +1429,14 @@ var deserializeAws_queryCreateGlobalReplicationGroupCommandError = function (out
|
|
|
1429
1429
|
case 11: throw _d.sent();
|
|
1430
1430
|
case 12:
|
|
1431
1431
|
parsedBody = parsedOutput.body;
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
$metadata: $metadata,
|
|
1432
|
+
throwDefaultError({
|
|
1433
|
+
output: output,
|
|
1434
|
+
parsedBody: parsedBody.Error,
|
|
1435
|
+
exceptionCtor: __BaseException,
|
|
1436
|
+
errorCode: errorCode,
|
|
1438
1437
|
});
|
|
1439
|
-
|
|
1438
|
+
_d.label = 13;
|
|
1439
|
+
case 13: return [2];
|
|
1440
1440
|
}
|
|
1441
1441
|
});
|
|
1442
1442
|
}); };
|
|
@@ -1459,7 +1459,7 @@ export var deserializeAws_queryCreateReplicationGroupCommand = function (output,
|
|
|
1459
1459
|
});
|
|
1460
1460
|
}); };
|
|
1461
1461
|
var deserializeAws_queryCreateReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1462
|
-
var parsedOutput, _a,
|
|
1462
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1463
1463
|
var _c;
|
|
1464
1464
|
return __generator(this, function (_d) {
|
|
1465
1465
|
switch (_d.label) {
|
|
@@ -1552,14 +1552,14 @@ var deserializeAws_queryCreateReplicationGroupCommandError = function (output, c
|
|
|
1552
1552
|
case 39: throw _d.sent();
|
|
1553
1553
|
case 40:
|
|
1554
1554
|
parsedBody = parsedOutput.body;
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
$metadata: $metadata,
|
|
1555
|
+
throwDefaultError({
|
|
1556
|
+
output: output,
|
|
1557
|
+
parsedBody: parsedBody.Error,
|
|
1558
|
+
exceptionCtor: __BaseException,
|
|
1559
|
+
errorCode: errorCode,
|
|
1561
1560
|
});
|
|
1562
|
-
|
|
1561
|
+
_d.label = 41;
|
|
1562
|
+
case 41: return [2];
|
|
1563
1563
|
}
|
|
1564
1564
|
});
|
|
1565
1565
|
}); };
|
|
@@ -1582,7 +1582,7 @@ export var deserializeAws_queryCreateSnapshotCommand = function (output, context
|
|
|
1582
1582
|
});
|
|
1583
1583
|
}); };
|
|
1584
1584
|
var deserializeAws_queryCreateSnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1585
|
-
var parsedOutput, _a,
|
|
1585
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1586
1586
|
var _c;
|
|
1587
1587
|
return __generator(this, function (_d) {
|
|
1588
1588
|
switch (_d.label) {
|
|
@@ -1639,14 +1639,14 @@ var deserializeAws_queryCreateSnapshotCommandError = function (output, context)
|
|
|
1639
1639
|
case 21: throw _d.sent();
|
|
1640
1640
|
case 22:
|
|
1641
1641
|
parsedBody = parsedOutput.body;
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
$metadata: $metadata,
|
|
1642
|
+
throwDefaultError({
|
|
1643
|
+
output: output,
|
|
1644
|
+
parsedBody: parsedBody.Error,
|
|
1645
|
+
exceptionCtor: __BaseException,
|
|
1646
|
+
errorCode: errorCode,
|
|
1648
1647
|
});
|
|
1649
|
-
|
|
1648
|
+
_d.label = 23;
|
|
1649
|
+
case 23: return [2];
|
|
1650
1650
|
}
|
|
1651
1651
|
});
|
|
1652
1652
|
}); };
|
|
@@ -1669,7 +1669,7 @@ export var deserializeAws_queryCreateUserCommand = function (output, context) {
|
|
|
1669
1669
|
});
|
|
1670
1670
|
}); };
|
|
1671
1671
|
var deserializeAws_queryCreateUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1672
|
-
var parsedOutput, _a,
|
|
1672
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1673
1673
|
var _c;
|
|
1674
1674
|
return __generator(this, function (_d) {
|
|
1675
1675
|
switch (_d.label) {
|
|
@@ -1714,14 +1714,14 @@ var deserializeAws_queryCreateUserCommandError = function (output, context) { re
|
|
|
1714
1714
|
case 15: throw _d.sent();
|
|
1715
1715
|
case 16:
|
|
1716
1716
|
parsedBody = parsedOutput.body;
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
$metadata: $metadata,
|
|
1717
|
+
throwDefaultError({
|
|
1718
|
+
output: output,
|
|
1719
|
+
parsedBody: parsedBody.Error,
|
|
1720
|
+
exceptionCtor: __BaseException,
|
|
1721
|
+
errorCode: errorCode,
|
|
1723
1722
|
});
|
|
1724
|
-
|
|
1723
|
+
_d.label = 17;
|
|
1724
|
+
case 17: return [2];
|
|
1725
1725
|
}
|
|
1726
1726
|
});
|
|
1727
1727
|
}); };
|
|
@@ -1744,7 +1744,7 @@ export var deserializeAws_queryCreateUserGroupCommand = function (output, contex
|
|
|
1744
1744
|
});
|
|
1745
1745
|
}); };
|
|
1746
1746
|
var deserializeAws_queryCreateUserGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1747
|
-
var parsedOutput, _a,
|
|
1747
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1748
1748
|
var _c;
|
|
1749
1749
|
return __generator(this, function (_d) {
|
|
1750
1750
|
switch (_d.label) {
|
|
@@ -1793,14 +1793,14 @@ var deserializeAws_queryCreateUserGroupCommandError = function (output, context)
|
|
|
1793
1793
|
case 17: throw _d.sent();
|
|
1794
1794
|
case 18:
|
|
1795
1795
|
parsedBody = parsedOutput.body;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
$metadata: $metadata,
|
|
1796
|
+
throwDefaultError({
|
|
1797
|
+
output: output,
|
|
1798
|
+
parsedBody: parsedBody.Error,
|
|
1799
|
+
exceptionCtor: __BaseException,
|
|
1800
|
+
errorCode: errorCode,
|
|
1802
1801
|
});
|
|
1803
|
-
|
|
1802
|
+
_d.label = 19;
|
|
1803
|
+
case 19: return [2];
|
|
1804
1804
|
}
|
|
1805
1805
|
});
|
|
1806
1806
|
}); };
|
|
@@ -1823,7 +1823,7 @@ export var deserializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupCommand
|
|
|
1823
1823
|
});
|
|
1824
1824
|
}); };
|
|
1825
1825
|
var deserializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1826
|
-
var parsedOutput, _a,
|
|
1826
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1827
1827
|
var _c;
|
|
1828
1828
|
return __generator(this, function (_d) {
|
|
1829
1829
|
switch (_d.label) {
|
|
@@ -1856,14 +1856,14 @@ var deserializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupCommandError =
|
|
|
1856
1856
|
case 9: throw _d.sent();
|
|
1857
1857
|
case 10:
|
|
1858
1858
|
parsedBody = parsedOutput.body;
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
$metadata: $metadata,
|
|
1859
|
+
throwDefaultError({
|
|
1860
|
+
output: output,
|
|
1861
|
+
parsedBody: parsedBody.Error,
|
|
1862
|
+
exceptionCtor: __BaseException,
|
|
1863
|
+
errorCode: errorCode,
|
|
1865
1864
|
});
|
|
1866
|
-
|
|
1865
|
+
_d.label = 11;
|
|
1866
|
+
case 11: return [2];
|
|
1867
1867
|
}
|
|
1868
1868
|
});
|
|
1869
1869
|
}); };
|
|
@@ -1886,7 +1886,7 @@ export var deserializeAws_queryDecreaseReplicaCountCommand = function (output, c
|
|
|
1886
1886
|
});
|
|
1887
1887
|
}); };
|
|
1888
1888
|
var deserializeAws_queryDecreaseReplicaCountCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1889
|
-
var parsedOutput, _a,
|
|
1889
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1890
1890
|
var _c;
|
|
1891
1891
|
return __generator(this, function (_d) {
|
|
1892
1892
|
switch (_d.label) {
|
|
@@ -1951,14 +1951,14 @@ var deserializeAws_queryDecreaseReplicaCountCommandError = function (output, con
|
|
|
1951
1951
|
case 25: throw _d.sent();
|
|
1952
1952
|
case 26:
|
|
1953
1953
|
parsedBody = parsedOutput.body;
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
$metadata: $metadata,
|
|
1954
|
+
throwDefaultError({
|
|
1955
|
+
output: output,
|
|
1956
|
+
parsedBody: parsedBody.Error,
|
|
1957
|
+
exceptionCtor: __BaseException,
|
|
1958
|
+
errorCode: errorCode,
|
|
1960
1959
|
});
|
|
1961
|
-
|
|
1960
|
+
_d.label = 27;
|
|
1961
|
+
case 27: return [2];
|
|
1962
1962
|
}
|
|
1963
1963
|
});
|
|
1964
1964
|
}); };
|
|
@@ -1981,7 +1981,7 @@ export var deserializeAws_queryDeleteCacheClusterCommand = function (output, con
|
|
|
1981
1981
|
});
|
|
1982
1982
|
}); };
|
|
1983
1983
|
var deserializeAws_queryDeleteCacheClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1984
|
-
var parsedOutput, _a,
|
|
1984
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1985
1985
|
var _c;
|
|
1986
1986
|
return __generator(this, function (_d) {
|
|
1987
1987
|
switch (_d.label) {
|
|
@@ -2026,14 +2026,14 @@ var deserializeAws_queryDeleteCacheClusterCommandError = function (output, conte
|
|
|
2026
2026
|
case 15: throw _d.sent();
|
|
2027
2027
|
case 16:
|
|
2028
2028
|
parsedBody = parsedOutput.body;
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
$metadata: $metadata,
|
|
2029
|
+
throwDefaultError({
|
|
2030
|
+
output: output,
|
|
2031
|
+
parsedBody: parsedBody.Error,
|
|
2032
|
+
exceptionCtor: __BaseException,
|
|
2033
|
+
errorCode: errorCode,
|
|
2035
2034
|
});
|
|
2036
|
-
|
|
2035
|
+
_d.label = 17;
|
|
2036
|
+
case 17: return [2];
|
|
2037
2037
|
}
|
|
2038
2038
|
});
|
|
2039
2039
|
}); };
|
|
@@ -2056,7 +2056,7 @@ export var deserializeAws_queryDeleteCacheParameterGroupCommand = function (outp
|
|
|
2056
2056
|
});
|
|
2057
2057
|
}); };
|
|
2058
2058
|
var deserializeAws_queryDeleteCacheParameterGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2059
|
-
var parsedOutput, _a,
|
|
2059
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2060
2060
|
var _c;
|
|
2061
2061
|
return __generator(this, function (_d) {
|
|
2062
2062
|
switch (_d.label) {
|
|
@@ -2089,14 +2089,14 @@ var deserializeAws_queryDeleteCacheParameterGroupCommandError = function (output
|
|
|
2089
2089
|
case 9: throw _d.sent();
|
|
2090
2090
|
case 10:
|
|
2091
2091
|
parsedBody = parsedOutput.body;
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
$metadata: $metadata,
|
|
2092
|
+
throwDefaultError({
|
|
2093
|
+
output: output,
|
|
2094
|
+
parsedBody: parsedBody.Error,
|
|
2095
|
+
exceptionCtor: __BaseException,
|
|
2096
|
+
errorCode: errorCode,
|
|
2098
2097
|
});
|
|
2099
|
-
|
|
2098
|
+
_d.label = 11;
|
|
2099
|
+
case 11: return [2];
|
|
2100
2100
|
}
|
|
2101
2101
|
});
|
|
2102
2102
|
}); };
|
|
@@ -2119,7 +2119,7 @@ export var deserializeAws_queryDeleteCacheSecurityGroupCommand = function (outpu
|
|
|
2119
2119
|
});
|
|
2120
2120
|
}); };
|
|
2121
2121
|
var deserializeAws_queryDeleteCacheSecurityGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2122
|
-
var parsedOutput, _a,
|
|
2122
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2123
2123
|
var _c;
|
|
2124
2124
|
return __generator(this, function (_d) {
|
|
2125
2125
|
switch (_d.label) {
|
|
@@ -2152,14 +2152,14 @@ var deserializeAws_queryDeleteCacheSecurityGroupCommandError = function (output,
|
|
|
2152
2152
|
case 9: throw _d.sent();
|
|
2153
2153
|
case 10:
|
|
2154
2154
|
parsedBody = parsedOutput.body;
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
$metadata: $metadata,
|
|
2155
|
+
throwDefaultError({
|
|
2156
|
+
output: output,
|
|
2157
|
+
parsedBody: parsedBody.Error,
|
|
2158
|
+
exceptionCtor: __BaseException,
|
|
2159
|
+
errorCode: errorCode,
|
|
2161
2160
|
});
|
|
2162
|
-
|
|
2161
|
+
_d.label = 11;
|
|
2162
|
+
case 11: return [2];
|
|
2163
2163
|
}
|
|
2164
2164
|
});
|
|
2165
2165
|
}); };
|
|
@@ -2182,7 +2182,7 @@ export var deserializeAws_queryDeleteCacheSubnetGroupCommand = function (output,
|
|
|
2182
2182
|
});
|
|
2183
2183
|
}); };
|
|
2184
2184
|
var deserializeAws_queryDeleteCacheSubnetGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2185
|
-
var parsedOutput, _a,
|
|
2185
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2186
2186
|
var _c;
|
|
2187
2187
|
return __generator(this, function (_d) {
|
|
2188
2188
|
switch (_d.label) {
|
|
@@ -2207,14 +2207,14 @@ var deserializeAws_queryDeleteCacheSubnetGroupCommandError = function (output, c
|
|
|
2207
2207
|
case 5: throw _d.sent();
|
|
2208
2208
|
case 6:
|
|
2209
2209
|
parsedBody = parsedOutput.body;
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
$metadata: $metadata,
|
|
2210
|
+
throwDefaultError({
|
|
2211
|
+
output: output,
|
|
2212
|
+
parsedBody: parsedBody.Error,
|
|
2213
|
+
exceptionCtor: __BaseException,
|
|
2214
|
+
errorCode: errorCode,
|
|
2216
2215
|
});
|
|
2217
|
-
|
|
2216
|
+
_d.label = 7;
|
|
2217
|
+
case 7: return [2];
|
|
2218
2218
|
}
|
|
2219
2219
|
});
|
|
2220
2220
|
}); };
|
|
@@ -2237,7 +2237,7 @@ export var deserializeAws_queryDeleteGlobalReplicationGroupCommand = function (o
|
|
|
2237
2237
|
});
|
|
2238
2238
|
}); };
|
|
2239
2239
|
var deserializeAws_queryDeleteGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2240
|
-
var parsedOutput, _a,
|
|
2240
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2241
2241
|
var _c;
|
|
2242
2242
|
return __generator(this, function (_d) {
|
|
2243
2243
|
switch (_d.label) {
|
|
@@ -2266,14 +2266,14 @@ var deserializeAws_queryDeleteGlobalReplicationGroupCommandError = function (out
|
|
|
2266
2266
|
case 7: throw _d.sent();
|
|
2267
2267
|
case 8:
|
|
2268
2268
|
parsedBody = parsedOutput.body;
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
$metadata: $metadata,
|
|
2269
|
+
throwDefaultError({
|
|
2270
|
+
output: output,
|
|
2271
|
+
parsedBody: parsedBody.Error,
|
|
2272
|
+
exceptionCtor: __BaseException,
|
|
2273
|
+
errorCode: errorCode,
|
|
2275
2274
|
});
|
|
2276
|
-
|
|
2275
|
+
_d.label = 9;
|
|
2276
|
+
case 9: return [2];
|
|
2277
2277
|
}
|
|
2278
2278
|
});
|
|
2279
2279
|
}); };
|
|
@@ -2296,7 +2296,7 @@ export var deserializeAws_queryDeleteReplicationGroupCommand = function (output,
|
|
|
2296
2296
|
});
|
|
2297
2297
|
}); };
|
|
2298
2298
|
var deserializeAws_queryDeleteReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2299
|
-
var parsedOutput, _a,
|
|
2299
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2300
2300
|
var _c;
|
|
2301
2301
|
return __generator(this, function (_d) {
|
|
2302
2302
|
switch (_d.label) {
|
|
@@ -2341,14 +2341,14 @@ var deserializeAws_queryDeleteReplicationGroupCommandError = function (output, c
|
|
|
2341
2341
|
case 15: throw _d.sent();
|
|
2342
2342
|
case 16:
|
|
2343
2343
|
parsedBody = parsedOutput.body;
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
$metadata: $metadata,
|
|
2344
|
+
throwDefaultError({
|
|
2345
|
+
output: output,
|
|
2346
|
+
parsedBody: parsedBody.Error,
|
|
2347
|
+
exceptionCtor: __BaseException,
|
|
2348
|
+
errorCode: errorCode,
|
|
2350
2349
|
});
|
|
2351
|
-
|
|
2350
|
+
_d.label = 17;
|
|
2351
|
+
case 17: return [2];
|
|
2352
2352
|
}
|
|
2353
2353
|
});
|
|
2354
2354
|
}); };
|
|
@@ -2371,7 +2371,7 @@ export var deserializeAws_queryDeleteSnapshotCommand = function (output, context
|
|
|
2371
2371
|
});
|
|
2372
2372
|
}); };
|
|
2373
2373
|
var deserializeAws_queryDeleteSnapshotCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2374
|
-
var parsedOutput, _a,
|
|
2374
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2375
2375
|
var _c;
|
|
2376
2376
|
return __generator(this, function (_d) {
|
|
2377
2377
|
switch (_d.label) {
|
|
@@ -2404,14 +2404,14 @@ var deserializeAws_queryDeleteSnapshotCommandError = function (output, context)
|
|
|
2404
2404
|
case 9: throw _d.sent();
|
|
2405
2405
|
case 10:
|
|
2406
2406
|
parsedBody = parsedOutput.body;
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
$metadata: $metadata,
|
|
2407
|
+
throwDefaultError({
|
|
2408
|
+
output: output,
|
|
2409
|
+
parsedBody: parsedBody.Error,
|
|
2410
|
+
exceptionCtor: __BaseException,
|
|
2411
|
+
errorCode: errorCode,
|
|
2413
2412
|
});
|
|
2414
|
-
|
|
2413
|
+
_d.label = 11;
|
|
2414
|
+
case 11: return [2];
|
|
2415
2415
|
}
|
|
2416
2416
|
});
|
|
2417
2417
|
}); };
|
|
@@ -2434,7 +2434,7 @@ export var deserializeAws_queryDeleteUserCommand = function (output, context) {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
}); };
|
|
2436
2436
|
var deserializeAws_queryDeleteUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2437
|
-
var parsedOutput, _a,
|
|
2437
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2438
2438
|
var _c;
|
|
2439
2439
|
return __generator(this, function (_d) {
|
|
2440
2440
|
switch (_d.label) {
|
|
@@ -2471,14 +2471,14 @@ var deserializeAws_queryDeleteUserCommandError = function (output, context) { re
|
|
|
2471
2471
|
case 11: throw _d.sent();
|
|
2472
2472
|
case 12:
|
|
2473
2473
|
parsedBody = parsedOutput.body;
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
$metadata: $metadata,
|
|
2474
|
+
throwDefaultError({
|
|
2475
|
+
output: output,
|
|
2476
|
+
parsedBody: parsedBody.Error,
|
|
2477
|
+
exceptionCtor: __BaseException,
|
|
2478
|
+
errorCode: errorCode,
|
|
2480
2479
|
});
|
|
2481
|
-
|
|
2480
|
+
_d.label = 13;
|
|
2481
|
+
case 13: return [2];
|
|
2482
2482
|
}
|
|
2483
2483
|
});
|
|
2484
2484
|
}); };
|
|
@@ -2501,7 +2501,7 @@ export var deserializeAws_queryDeleteUserGroupCommand = function (output, contex
|
|
|
2501
2501
|
});
|
|
2502
2502
|
}); };
|
|
2503
2503
|
var deserializeAws_queryDeleteUserGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2504
|
-
var parsedOutput, _a,
|
|
2504
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2505
2505
|
var _c;
|
|
2506
2506
|
return __generator(this, function (_d) {
|
|
2507
2507
|
switch (_d.label) {
|
|
@@ -2534,14 +2534,14 @@ var deserializeAws_queryDeleteUserGroupCommandError = function (output, context)
|
|
|
2534
2534
|
case 9: throw _d.sent();
|
|
2535
2535
|
case 10:
|
|
2536
2536
|
parsedBody = parsedOutput.body;
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
$metadata: $metadata,
|
|
2537
|
+
throwDefaultError({
|
|
2538
|
+
output: output,
|
|
2539
|
+
parsedBody: parsedBody.Error,
|
|
2540
|
+
exceptionCtor: __BaseException,
|
|
2541
|
+
errorCode: errorCode,
|
|
2543
2542
|
});
|
|
2544
|
-
|
|
2543
|
+
_d.label = 11;
|
|
2544
|
+
case 11: return [2];
|
|
2545
2545
|
}
|
|
2546
2546
|
});
|
|
2547
2547
|
}); };
|
|
@@ -2564,7 +2564,7 @@ export var deserializeAws_queryDescribeCacheClustersCommand = function (output,
|
|
|
2564
2564
|
});
|
|
2565
2565
|
}); };
|
|
2566
2566
|
var deserializeAws_queryDescribeCacheClustersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2567
|
-
var parsedOutput, _a,
|
|
2567
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2568
2568
|
var _c;
|
|
2569
2569
|
return __generator(this, function (_d) {
|
|
2570
2570
|
switch (_d.label) {
|
|
@@ -2593,14 +2593,14 @@ var deserializeAws_queryDescribeCacheClustersCommandError = function (output, co
|
|
|
2593
2593
|
case 7: throw _d.sent();
|
|
2594
2594
|
case 8:
|
|
2595
2595
|
parsedBody = parsedOutput.body;
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
$metadata: $metadata,
|
|
2596
|
+
throwDefaultError({
|
|
2597
|
+
output: output,
|
|
2598
|
+
parsedBody: parsedBody.Error,
|
|
2599
|
+
exceptionCtor: __BaseException,
|
|
2600
|
+
errorCode: errorCode,
|
|
2602
2601
|
});
|
|
2603
|
-
|
|
2602
|
+
_d.label = 9;
|
|
2603
|
+
case 9: return [2];
|
|
2604
2604
|
}
|
|
2605
2605
|
});
|
|
2606
2606
|
}); };
|
|
@@ -2623,7 +2623,7 @@ export var deserializeAws_queryDescribeCacheEngineVersionsCommand = function (ou
|
|
|
2623
2623
|
});
|
|
2624
2624
|
}); };
|
|
2625
2625
|
var deserializeAws_queryDescribeCacheEngineVersionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2626
|
-
var parsedOutput, _a,
|
|
2626
|
+
var parsedOutput, _a, errorCode, parsedBody;
|
|
2627
2627
|
var _b;
|
|
2628
2628
|
return __generator(this, function (_c) {
|
|
2629
2629
|
switch (_c.label) {
|
|
@@ -2634,18 +2634,13 @@ var deserializeAws_queryDescribeCacheEngineVersionsCommandError = function (outp
|
|
|
2634
2634
|
case 1:
|
|
2635
2635
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
2636
2636
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
$fault: "client",
|
|
2645
|
-
$metadata: $metadata,
|
|
2646
|
-
});
|
|
2647
|
-
throw __decorateServiceException(response, parsedBody.Error);
|
|
2648
|
-
}
|
|
2637
|
+
parsedBody = parsedOutput.body;
|
|
2638
|
+
throwDefaultError({
|
|
2639
|
+
output: output,
|
|
2640
|
+
parsedBody: parsedBody.Error,
|
|
2641
|
+
exceptionCtor: __BaseException,
|
|
2642
|
+
errorCode: errorCode,
|
|
2643
|
+
});
|
|
2649
2644
|
return [2];
|
|
2650
2645
|
}
|
|
2651
2646
|
});
|
|
@@ -2669,7 +2664,7 @@ export var deserializeAws_queryDescribeCacheParameterGroupsCommand = function (o
|
|
|
2669
2664
|
});
|
|
2670
2665
|
}); };
|
|
2671
2666
|
var deserializeAws_queryDescribeCacheParameterGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2672
|
-
var parsedOutput, _a,
|
|
2667
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2673
2668
|
var _c;
|
|
2674
2669
|
return __generator(this, function (_d) {
|
|
2675
2670
|
switch (_d.label) {
|
|
@@ -2698,14 +2693,14 @@ var deserializeAws_queryDescribeCacheParameterGroupsCommandError = function (out
|
|
|
2698
2693
|
case 7: throw _d.sent();
|
|
2699
2694
|
case 8:
|
|
2700
2695
|
parsedBody = parsedOutput.body;
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
$metadata: $metadata,
|
|
2696
|
+
throwDefaultError({
|
|
2697
|
+
output: output,
|
|
2698
|
+
parsedBody: parsedBody.Error,
|
|
2699
|
+
exceptionCtor: __BaseException,
|
|
2700
|
+
errorCode: errorCode,
|
|
2707
2701
|
});
|
|
2708
|
-
|
|
2702
|
+
_d.label = 9;
|
|
2703
|
+
case 9: return [2];
|
|
2709
2704
|
}
|
|
2710
2705
|
});
|
|
2711
2706
|
}); };
|
|
@@ -2728,7 +2723,7 @@ export var deserializeAws_queryDescribeCacheParametersCommand = function (output
|
|
|
2728
2723
|
});
|
|
2729
2724
|
}); };
|
|
2730
2725
|
var deserializeAws_queryDescribeCacheParametersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2731
|
-
var parsedOutput, _a,
|
|
2726
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2732
2727
|
var _c;
|
|
2733
2728
|
return __generator(this, function (_d) {
|
|
2734
2729
|
switch (_d.label) {
|
|
@@ -2757,14 +2752,14 @@ var deserializeAws_queryDescribeCacheParametersCommandError = function (output,
|
|
|
2757
2752
|
case 7: throw _d.sent();
|
|
2758
2753
|
case 8:
|
|
2759
2754
|
parsedBody = parsedOutput.body;
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
$metadata: $metadata,
|
|
2755
|
+
throwDefaultError({
|
|
2756
|
+
output: output,
|
|
2757
|
+
parsedBody: parsedBody.Error,
|
|
2758
|
+
exceptionCtor: __BaseException,
|
|
2759
|
+
errorCode: errorCode,
|
|
2766
2760
|
});
|
|
2767
|
-
|
|
2761
|
+
_d.label = 9;
|
|
2762
|
+
case 9: return [2];
|
|
2768
2763
|
}
|
|
2769
2764
|
});
|
|
2770
2765
|
}); };
|
|
@@ -2787,7 +2782,7 @@ export var deserializeAws_queryDescribeCacheSecurityGroupsCommand = function (ou
|
|
|
2787
2782
|
});
|
|
2788
2783
|
}); };
|
|
2789
2784
|
var deserializeAws_queryDescribeCacheSecurityGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2790
|
-
var parsedOutput, _a,
|
|
2785
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2791
2786
|
var _c;
|
|
2792
2787
|
return __generator(this, function (_d) {
|
|
2793
2788
|
switch (_d.label) {
|
|
@@ -2816,14 +2811,14 @@ var deserializeAws_queryDescribeCacheSecurityGroupsCommandError = function (outp
|
|
|
2816
2811
|
case 7: throw _d.sent();
|
|
2817
2812
|
case 8:
|
|
2818
2813
|
parsedBody = parsedOutput.body;
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
$metadata: $metadata,
|
|
2814
|
+
throwDefaultError({
|
|
2815
|
+
output: output,
|
|
2816
|
+
parsedBody: parsedBody.Error,
|
|
2817
|
+
exceptionCtor: __BaseException,
|
|
2818
|
+
errorCode: errorCode,
|
|
2825
2819
|
});
|
|
2826
|
-
|
|
2820
|
+
_d.label = 9;
|
|
2821
|
+
case 9: return [2];
|
|
2827
2822
|
}
|
|
2828
2823
|
});
|
|
2829
2824
|
}); };
|
|
@@ -2846,7 +2841,7 @@ export var deserializeAws_queryDescribeCacheSubnetGroupsCommand = function (outp
|
|
|
2846
2841
|
});
|
|
2847
2842
|
}); };
|
|
2848
2843
|
var deserializeAws_queryDescribeCacheSubnetGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2849
|
-
var parsedOutput, _a,
|
|
2844
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2850
2845
|
var _c;
|
|
2851
2846
|
return __generator(this, function (_d) {
|
|
2852
2847
|
switch (_d.label) {
|
|
@@ -2867,14 +2862,14 @@ var deserializeAws_queryDescribeCacheSubnetGroupsCommandError = function (output
|
|
|
2867
2862
|
case 3: throw _d.sent();
|
|
2868
2863
|
case 4:
|
|
2869
2864
|
parsedBody = parsedOutput.body;
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
$metadata: $metadata,
|
|
2865
|
+
throwDefaultError({
|
|
2866
|
+
output: output,
|
|
2867
|
+
parsedBody: parsedBody.Error,
|
|
2868
|
+
exceptionCtor: __BaseException,
|
|
2869
|
+
errorCode: errorCode,
|
|
2876
2870
|
});
|
|
2877
|
-
|
|
2871
|
+
_d.label = 5;
|
|
2872
|
+
case 5: return [2];
|
|
2878
2873
|
}
|
|
2879
2874
|
});
|
|
2880
2875
|
}); };
|
|
@@ -2897,7 +2892,7 @@ export var deserializeAws_queryDescribeEngineDefaultParametersCommand = function
|
|
|
2897
2892
|
});
|
|
2898
2893
|
}); };
|
|
2899
2894
|
var deserializeAws_queryDescribeEngineDefaultParametersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2900
|
-
var parsedOutput, _a,
|
|
2895
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2901
2896
|
var _c;
|
|
2902
2897
|
return __generator(this, function (_d) {
|
|
2903
2898
|
switch (_d.label) {
|
|
@@ -2922,14 +2917,14 @@ var deserializeAws_queryDescribeEngineDefaultParametersCommandError = function (
|
|
|
2922
2917
|
case 5: throw _d.sent();
|
|
2923
2918
|
case 6:
|
|
2924
2919
|
parsedBody = parsedOutput.body;
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
$metadata: $metadata,
|
|
2920
|
+
throwDefaultError({
|
|
2921
|
+
output: output,
|
|
2922
|
+
parsedBody: parsedBody.Error,
|
|
2923
|
+
exceptionCtor: __BaseException,
|
|
2924
|
+
errorCode: errorCode,
|
|
2931
2925
|
});
|
|
2932
|
-
|
|
2926
|
+
_d.label = 7;
|
|
2927
|
+
case 7: return [2];
|
|
2933
2928
|
}
|
|
2934
2929
|
});
|
|
2935
2930
|
}); };
|
|
@@ -2952,7 +2947,7 @@ export var deserializeAws_queryDescribeEventsCommand = function (output, context
|
|
|
2952
2947
|
});
|
|
2953
2948
|
}); };
|
|
2954
2949
|
var deserializeAws_queryDescribeEventsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2955
|
-
var parsedOutput, _a,
|
|
2950
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
2956
2951
|
var _c;
|
|
2957
2952
|
return __generator(this, function (_d) {
|
|
2958
2953
|
switch (_d.label) {
|
|
@@ -2977,14 +2972,14 @@ var deserializeAws_queryDescribeEventsCommandError = function (output, context)
|
|
|
2977
2972
|
case 5: throw _d.sent();
|
|
2978
2973
|
case 6:
|
|
2979
2974
|
parsedBody = parsedOutput.body;
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
$metadata: $metadata,
|
|
2975
|
+
throwDefaultError({
|
|
2976
|
+
output: output,
|
|
2977
|
+
parsedBody: parsedBody.Error,
|
|
2978
|
+
exceptionCtor: __BaseException,
|
|
2979
|
+
errorCode: errorCode,
|
|
2986
2980
|
});
|
|
2987
|
-
|
|
2981
|
+
_d.label = 7;
|
|
2982
|
+
case 7: return [2];
|
|
2988
2983
|
}
|
|
2989
2984
|
});
|
|
2990
2985
|
}); };
|
|
@@ -3007,7 +3002,7 @@ export var deserializeAws_queryDescribeGlobalReplicationGroupsCommand = function
|
|
|
3007
3002
|
});
|
|
3008
3003
|
}); };
|
|
3009
3004
|
var deserializeAws_queryDescribeGlobalReplicationGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3010
|
-
var parsedOutput, _a,
|
|
3005
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3011
3006
|
var _c;
|
|
3012
3007
|
return __generator(this, function (_d) {
|
|
3013
3008
|
switch (_d.label) {
|
|
@@ -3036,14 +3031,14 @@ var deserializeAws_queryDescribeGlobalReplicationGroupsCommandError = function (
|
|
|
3036
3031
|
case 7: throw _d.sent();
|
|
3037
3032
|
case 8:
|
|
3038
3033
|
parsedBody = parsedOutput.body;
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
$metadata: $metadata,
|
|
3034
|
+
throwDefaultError({
|
|
3035
|
+
output: output,
|
|
3036
|
+
parsedBody: parsedBody.Error,
|
|
3037
|
+
exceptionCtor: __BaseException,
|
|
3038
|
+
errorCode: errorCode,
|
|
3045
3039
|
});
|
|
3046
|
-
|
|
3040
|
+
_d.label = 9;
|
|
3041
|
+
case 9: return [2];
|
|
3047
3042
|
}
|
|
3048
3043
|
});
|
|
3049
3044
|
}); };
|
|
@@ -3066,7 +3061,7 @@ export var deserializeAws_queryDescribeReplicationGroupsCommand = function (outp
|
|
|
3066
3061
|
});
|
|
3067
3062
|
}); };
|
|
3068
3063
|
var deserializeAws_queryDescribeReplicationGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3069
|
-
var parsedOutput, _a,
|
|
3064
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3070
3065
|
var _c;
|
|
3071
3066
|
return __generator(this, function (_d) {
|
|
3072
3067
|
switch (_d.label) {
|
|
@@ -3095,14 +3090,14 @@ var deserializeAws_queryDescribeReplicationGroupsCommandError = function (output
|
|
|
3095
3090
|
case 7: throw _d.sent();
|
|
3096
3091
|
case 8:
|
|
3097
3092
|
parsedBody = parsedOutput.body;
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
$metadata: $metadata,
|
|
3093
|
+
throwDefaultError({
|
|
3094
|
+
output: output,
|
|
3095
|
+
parsedBody: parsedBody.Error,
|
|
3096
|
+
exceptionCtor: __BaseException,
|
|
3097
|
+
errorCode: errorCode,
|
|
3104
3098
|
});
|
|
3105
|
-
|
|
3099
|
+
_d.label = 9;
|
|
3100
|
+
case 9: return [2];
|
|
3106
3101
|
}
|
|
3107
3102
|
});
|
|
3108
3103
|
}); };
|
|
@@ -3125,7 +3120,7 @@ export var deserializeAws_queryDescribeReservedCacheNodesCommand = function (out
|
|
|
3125
3120
|
});
|
|
3126
3121
|
}); };
|
|
3127
3122
|
var deserializeAws_queryDescribeReservedCacheNodesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3128
|
-
var parsedOutput, _a,
|
|
3123
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3129
3124
|
var _c;
|
|
3130
3125
|
return __generator(this, function (_d) {
|
|
3131
3126
|
switch (_d.label) {
|
|
@@ -3154,14 +3149,14 @@ var deserializeAws_queryDescribeReservedCacheNodesCommandError = function (outpu
|
|
|
3154
3149
|
case 7: throw _d.sent();
|
|
3155
3150
|
case 8:
|
|
3156
3151
|
parsedBody = parsedOutput.body;
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
$metadata: $metadata,
|
|
3152
|
+
throwDefaultError({
|
|
3153
|
+
output: output,
|
|
3154
|
+
parsedBody: parsedBody.Error,
|
|
3155
|
+
exceptionCtor: __BaseException,
|
|
3156
|
+
errorCode: errorCode,
|
|
3163
3157
|
});
|
|
3164
|
-
|
|
3158
|
+
_d.label = 9;
|
|
3159
|
+
case 9: return [2];
|
|
3165
3160
|
}
|
|
3166
3161
|
});
|
|
3167
3162
|
}); };
|
|
@@ -3184,7 +3179,7 @@ export var deserializeAws_queryDescribeReservedCacheNodesOfferingsCommand = func
|
|
|
3184
3179
|
});
|
|
3185
3180
|
}); };
|
|
3186
3181
|
var deserializeAws_queryDescribeReservedCacheNodesOfferingsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3187
|
-
var parsedOutput, _a,
|
|
3182
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3188
3183
|
var _c;
|
|
3189
3184
|
return __generator(this, function (_d) {
|
|
3190
3185
|
switch (_d.label) {
|
|
@@ -3213,14 +3208,14 @@ var deserializeAws_queryDescribeReservedCacheNodesOfferingsCommandError = functi
|
|
|
3213
3208
|
case 7: throw _d.sent();
|
|
3214
3209
|
case 8:
|
|
3215
3210
|
parsedBody = parsedOutput.body;
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
$metadata: $metadata,
|
|
3211
|
+
throwDefaultError({
|
|
3212
|
+
output: output,
|
|
3213
|
+
parsedBody: parsedBody.Error,
|
|
3214
|
+
exceptionCtor: __BaseException,
|
|
3215
|
+
errorCode: errorCode,
|
|
3222
3216
|
});
|
|
3223
|
-
|
|
3217
|
+
_d.label = 9;
|
|
3218
|
+
case 9: return [2];
|
|
3224
3219
|
}
|
|
3225
3220
|
});
|
|
3226
3221
|
}); };
|
|
@@ -3243,7 +3238,7 @@ export var deserializeAws_queryDescribeServiceUpdatesCommand = function (output,
|
|
|
3243
3238
|
});
|
|
3244
3239
|
}); };
|
|
3245
3240
|
var deserializeAws_queryDescribeServiceUpdatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3246
|
-
var parsedOutput, _a,
|
|
3241
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3247
3242
|
var _c;
|
|
3248
3243
|
return __generator(this, function (_d) {
|
|
3249
3244
|
switch (_d.label) {
|
|
@@ -3272,14 +3267,14 @@ var deserializeAws_queryDescribeServiceUpdatesCommandError = function (output, c
|
|
|
3272
3267
|
case 7: throw _d.sent();
|
|
3273
3268
|
case 8:
|
|
3274
3269
|
parsedBody = parsedOutput.body;
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
$metadata: $metadata,
|
|
3270
|
+
throwDefaultError({
|
|
3271
|
+
output: output,
|
|
3272
|
+
parsedBody: parsedBody.Error,
|
|
3273
|
+
exceptionCtor: __BaseException,
|
|
3274
|
+
errorCode: errorCode,
|
|
3281
3275
|
});
|
|
3282
|
-
|
|
3276
|
+
_d.label = 9;
|
|
3277
|
+
case 9: return [2];
|
|
3283
3278
|
}
|
|
3284
3279
|
});
|
|
3285
3280
|
}); };
|
|
@@ -3302,7 +3297,7 @@ export var deserializeAws_queryDescribeSnapshotsCommand = function (output, cont
|
|
|
3302
3297
|
});
|
|
3303
3298
|
}); };
|
|
3304
3299
|
var deserializeAws_queryDescribeSnapshotsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3305
|
-
var parsedOutput, _a,
|
|
3300
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3306
3301
|
var _c;
|
|
3307
3302
|
return __generator(this, function (_d) {
|
|
3308
3303
|
switch (_d.label) {
|
|
@@ -3335,14 +3330,14 @@ var deserializeAws_queryDescribeSnapshotsCommandError = function (output, contex
|
|
|
3335
3330
|
case 9: throw _d.sent();
|
|
3336
3331
|
case 10:
|
|
3337
3332
|
parsedBody = parsedOutput.body;
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
$metadata: $metadata,
|
|
3333
|
+
throwDefaultError({
|
|
3334
|
+
output: output,
|
|
3335
|
+
parsedBody: parsedBody.Error,
|
|
3336
|
+
exceptionCtor: __BaseException,
|
|
3337
|
+
errorCode: errorCode,
|
|
3344
3338
|
});
|
|
3345
|
-
|
|
3339
|
+
_d.label = 11;
|
|
3340
|
+
case 11: return [2];
|
|
3346
3341
|
}
|
|
3347
3342
|
});
|
|
3348
3343
|
}); };
|
|
@@ -3365,7 +3360,7 @@ export var deserializeAws_queryDescribeUpdateActionsCommand = function (output,
|
|
|
3365
3360
|
});
|
|
3366
3361
|
}); };
|
|
3367
3362
|
var deserializeAws_queryDescribeUpdateActionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3368
|
-
var parsedOutput, _a,
|
|
3363
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3369
3364
|
var _c;
|
|
3370
3365
|
return __generator(this, function (_d) {
|
|
3371
3366
|
switch (_d.label) {
|
|
@@ -3390,14 +3385,14 @@ var deserializeAws_queryDescribeUpdateActionsCommandError = function (output, co
|
|
|
3390
3385
|
case 5: throw _d.sent();
|
|
3391
3386
|
case 6:
|
|
3392
3387
|
parsedBody = parsedOutput.body;
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
$metadata: $metadata,
|
|
3388
|
+
throwDefaultError({
|
|
3389
|
+
output: output,
|
|
3390
|
+
parsedBody: parsedBody.Error,
|
|
3391
|
+
exceptionCtor: __BaseException,
|
|
3392
|
+
errorCode: errorCode,
|
|
3399
3393
|
});
|
|
3400
|
-
|
|
3394
|
+
_d.label = 7;
|
|
3395
|
+
case 7: return [2];
|
|
3401
3396
|
}
|
|
3402
3397
|
});
|
|
3403
3398
|
}); };
|
|
@@ -3420,7 +3415,7 @@ export var deserializeAws_queryDescribeUserGroupsCommand = function (output, con
|
|
|
3420
3415
|
});
|
|
3421
3416
|
}); };
|
|
3422
3417
|
var deserializeAws_queryDescribeUserGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3423
|
-
var parsedOutput, _a,
|
|
3418
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3424
3419
|
var _c;
|
|
3425
3420
|
return __generator(this, function (_d) {
|
|
3426
3421
|
switch (_d.label) {
|
|
@@ -3449,14 +3444,14 @@ var deserializeAws_queryDescribeUserGroupsCommandError = function (output, conte
|
|
|
3449
3444
|
case 7: throw _d.sent();
|
|
3450
3445
|
case 8:
|
|
3451
3446
|
parsedBody = parsedOutput.body;
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
$metadata: $metadata,
|
|
3447
|
+
throwDefaultError({
|
|
3448
|
+
output: output,
|
|
3449
|
+
parsedBody: parsedBody.Error,
|
|
3450
|
+
exceptionCtor: __BaseException,
|
|
3451
|
+
errorCode: errorCode,
|
|
3458
3452
|
});
|
|
3459
|
-
|
|
3453
|
+
_d.label = 9;
|
|
3454
|
+
case 9: return [2];
|
|
3460
3455
|
}
|
|
3461
3456
|
});
|
|
3462
3457
|
}); };
|
|
@@ -3479,7 +3474,7 @@ export var deserializeAws_queryDescribeUsersCommand = function (output, context)
|
|
|
3479
3474
|
});
|
|
3480
3475
|
}); };
|
|
3481
3476
|
var deserializeAws_queryDescribeUsersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3482
|
-
var parsedOutput, _a,
|
|
3477
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3483
3478
|
var _c;
|
|
3484
3479
|
return __generator(this, function (_d) {
|
|
3485
3480
|
switch (_d.label) {
|
|
@@ -3508,14 +3503,14 @@ var deserializeAws_queryDescribeUsersCommandError = function (output, context) {
|
|
|
3508
3503
|
case 7: throw _d.sent();
|
|
3509
3504
|
case 8:
|
|
3510
3505
|
parsedBody = parsedOutput.body;
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
$metadata: $metadata,
|
|
3506
|
+
throwDefaultError({
|
|
3507
|
+
output: output,
|
|
3508
|
+
parsedBody: parsedBody.Error,
|
|
3509
|
+
exceptionCtor: __BaseException,
|
|
3510
|
+
errorCode: errorCode,
|
|
3517
3511
|
});
|
|
3518
|
-
|
|
3512
|
+
_d.label = 9;
|
|
3513
|
+
case 9: return [2];
|
|
3519
3514
|
}
|
|
3520
3515
|
});
|
|
3521
3516
|
}); };
|
|
@@ -3538,7 +3533,7 @@ export var deserializeAws_queryDisassociateGlobalReplicationGroupCommand = funct
|
|
|
3538
3533
|
});
|
|
3539
3534
|
}); };
|
|
3540
3535
|
var deserializeAws_queryDisassociateGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3541
|
-
var parsedOutput, _a,
|
|
3536
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3542
3537
|
var _c;
|
|
3543
3538
|
return __generator(this, function (_d) {
|
|
3544
3539
|
switch (_d.label) {
|
|
@@ -3571,14 +3566,14 @@ var deserializeAws_queryDisassociateGlobalReplicationGroupCommandError = functio
|
|
|
3571
3566
|
case 9: throw _d.sent();
|
|
3572
3567
|
case 10:
|
|
3573
3568
|
parsedBody = parsedOutput.body;
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
$metadata: $metadata,
|
|
3569
|
+
throwDefaultError({
|
|
3570
|
+
output: output,
|
|
3571
|
+
parsedBody: parsedBody.Error,
|
|
3572
|
+
exceptionCtor: __BaseException,
|
|
3573
|
+
errorCode: errorCode,
|
|
3580
3574
|
});
|
|
3581
|
-
|
|
3575
|
+
_d.label = 11;
|
|
3576
|
+
case 11: return [2];
|
|
3582
3577
|
}
|
|
3583
3578
|
});
|
|
3584
3579
|
}); };
|
|
@@ -3601,7 +3596,7 @@ export var deserializeAws_queryFailoverGlobalReplicationGroupCommand = function
|
|
|
3601
3596
|
});
|
|
3602
3597
|
}); };
|
|
3603
3598
|
var deserializeAws_queryFailoverGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3604
|
-
var parsedOutput, _a,
|
|
3599
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3605
3600
|
var _c;
|
|
3606
3601
|
return __generator(this, function (_d) {
|
|
3607
3602
|
switch (_d.label) {
|
|
@@ -3634,14 +3629,14 @@ var deserializeAws_queryFailoverGlobalReplicationGroupCommandError = function (o
|
|
|
3634
3629
|
case 9: throw _d.sent();
|
|
3635
3630
|
case 10:
|
|
3636
3631
|
parsedBody = parsedOutput.body;
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
$metadata: $metadata,
|
|
3632
|
+
throwDefaultError({
|
|
3633
|
+
output: output,
|
|
3634
|
+
parsedBody: parsedBody.Error,
|
|
3635
|
+
exceptionCtor: __BaseException,
|
|
3636
|
+
errorCode: errorCode,
|
|
3643
3637
|
});
|
|
3644
|
-
|
|
3638
|
+
_d.label = 11;
|
|
3639
|
+
case 11: return [2];
|
|
3645
3640
|
}
|
|
3646
3641
|
});
|
|
3647
3642
|
}); };
|
|
@@ -3664,7 +3659,7 @@ export var deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommand
|
|
|
3664
3659
|
});
|
|
3665
3660
|
}); };
|
|
3666
3661
|
var deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3667
|
-
var parsedOutput, _a,
|
|
3662
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3668
3663
|
var _c;
|
|
3669
3664
|
return __generator(this, function (_d) {
|
|
3670
3665
|
switch (_d.label) {
|
|
@@ -3693,14 +3688,14 @@ var deserializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupCommandError =
|
|
|
3693
3688
|
case 7: throw _d.sent();
|
|
3694
3689
|
case 8:
|
|
3695
3690
|
parsedBody = parsedOutput.body;
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
$metadata: $metadata,
|
|
3691
|
+
throwDefaultError({
|
|
3692
|
+
output: output,
|
|
3693
|
+
parsedBody: parsedBody.Error,
|
|
3694
|
+
exceptionCtor: __BaseException,
|
|
3695
|
+
errorCode: errorCode,
|
|
3702
3696
|
});
|
|
3703
|
-
|
|
3697
|
+
_d.label = 9;
|
|
3698
|
+
case 9: return [2];
|
|
3704
3699
|
}
|
|
3705
3700
|
});
|
|
3706
3701
|
}); };
|
|
@@ -3723,7 +3718,7 @@ export var deserializeAws_queryIncreaseReplicaCountCommand = function (output, c
|
|
|
3723
3718
|
});
|
|
3724
3719
|
}); };
|
|
3725
3720
|
var deserializeAws_queryIncreaseReplicaCountCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3726
|
-
var parsedOutput, _a,
|
|
3721
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3727
3722
|
var _c;
|
|
3728
3723
|
return __generator(this, function (_d) {
|
|
3729
3724
|
switch (_d.label) {
|
|
@@ -3788,14 +3783,14 @@ var deserializeAws_queryIncreaseReplicaCountCommandError = function (output, con
|
|
|
3788
3783
|
case 25: throw _d.sent();
|
|
3789
3784
|
case 26:
|
|
3790
3785
|
parsedBody = parsedOutput.body;
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
$metadata: $metadata,
|
|
3786
|
+
throwDefaultError({
|
|
3787
|
+
output: output,
|
|
3788
|
+
parsedBody: parsedBody.Error,
|
|
3789
|
+
exceptionCtor: __BaseException,
|
|
3790
|
+
errorCode: errorCode,
|
|
3797
3791
|
});
|
|
3798
|
-
|
|
3792
|
+
_d.label = 27;
|
|
3793
|
+
case 27: return [2];
|
|
3799
3794
|
}
|
|
3800
3795
|
});
|
|
3801
3796
|
}); };
|
|
@@ -3818,7 +3813,7 @@ export var deserializeAws_queryListAllowedNodeTypeModificationsCommand = functio
|
|
|
3818
3813
|
});
|
|
3819
3814
|
}); };
|
|
3820
3815
|
var deserializeAws_queryListAllowedNodeTypeModificationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3821
|
-
var parsedOutput, _a,
|
|
3816
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3822
3817
|
var _c;
|
|
3823
3818
|
return __generator(this, function (_d) {
|
|
3824
3819
|
switch (_d.label) {
|
|
@@ -3851,14 +3846,14 @@ var deserializeAws_queryListAllowedNodeTypeModificationsCommandError = function
|
|
|
3851
3846
|
case 9: throw _d.sent();
|
|
3852
3847
|
case 10:
|
|
3853
3848
|
parsedBody = parsedOutput.body;
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
$metadata: $metadata,
|
|
3849
|
+
throwDefaultError({
|
|
3850
|
+
output: output,
|
|
3851
|
+
parsedBody: parsedBody.Error,
|
|
3852
|
+
exceptionCtor: __BaseException,
|
|
3853
|
+
errorCode: errorCode,
|
|
3860
3854
|
});
|
|
3861
|
-
|
|
3855
|
+
_d.label = 11;
|
|
3856
|
+
case 11: return [2];
|
|
3862
3857
|
}
|
|
3863
3858
|
});
|
|
3864
3859
|
}); };
|
|
@@ -3881,7 +3876,7 @@ export var deserializeAws_queryListTagsForResourceCommand = function (output, co
|
|
|
3881
3876
|
});
|
|
3882
3877
|
}); };
|
|
3883
3878
|
var deserializeAws_queryListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3884
|
-
var parsedOutput, _a,
|
|
3879
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3885
3880
|
var _c;
|
|
3886
3881
|
return __generator(this, function (_d) {
|
|
3887
3882
|
switch (_d.label) {
|
|
@@ -3942,14 +3937,14 @@ var deserializeAws_queryListTagsForResourceCommandError = function (output, cont
|
|
|
3942
3937
|
case 23: throw _d.sent();
|
|
3943
3938
|
case 24:
|
|
3944
3939
|
parsedBody = parsedOutput.body;
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
$metadata: $metadata,
|
|
3940
|
+
throwDefaultError({
|
|
3941
|
+
output: output,
|
|
3942
|
+
parsedBody: parsedBody.Error,
|
|
3943
|
+
exceptionCtor: __BaseException,
|
|
3944
|
+
errorCode: errorCode,
|
|
3951
3945
|
});
|
|
3952
|
-
|
|
3946
|
+
_d.label = 25;
|
|
3947
|
+
case 25: return [2];
|
|
3953
3948
|
}
|
|
3954
3949
|
});
|
|
3955
3950
|
}); };
|
|
@@ -3972,7 +3967,7 @@ export var deserializeAws_queryModifyCacheClusterCommand = function (output, con
|
|
|
3972
3967
|
});
|
|
3973
3968
|
}); };
|
|
3974
3969
|
var deserializeAws_queryModifyCacheClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3975
|
-
var parsedOutput, _a,
|
|
3970
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
3976
3971
|
var _c;
|
|
3977
3972
|
return __generator(this, function (_d) {
|
|
3978
3973
|
switch (_d.label) {
|
|
@@ -4033,14 +4028,14 @@ var deserializeAws_queryModifyCacheClusterCommandError = function (output, conte
|
|
|
4033
4028
|
case 23: throw _d.sent();
|
|
4034
4029
|
case 24:
|
|
4035
4030
|
parsedBody = parsedOutput.body;
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
$metadata: $metadata,
|
|
4031
|
+
throwDefaultError({
|
|
4032
|
+
output: output,
|
|
4033
|
+
parsedBody: parsedBody.Error,
|
|
4034
|
+
exceptionCtor: __BaseException,
|
|
4035
|
+
errorCode: errorCode,
|
|
4042
4036
|
});
|
|
4043
|
-
|
|
4037
|
+
_d.label = 25;
|
|
4038
|
+
case 25: return [2];
|
|
4044
4039
|
}
|
|
4045
4040
|
});
|
|
4046
4041
|
}); };
|
|
@@ -4063,7 +4058,7 @@ export var deserializeAws_queryModifyCacheParameterGroupCommand = function (outp
|
|
|
4063
4058
|
});
|
|
4064
4059
|
}); };
|
|
4065
4060
|
var deserializeAws_queryModifyCacheParameterGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4066
|
-
var parsedOutput, _a,
|
|
4061
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4067
4062
|
var _c;
|
|
4068
4063
|
return __generator(this, function (_d) {
|
|
4069
4064
|
switch (_d.label) {
|
|
@@ -4100,14 +4095,14 @@ var deserializeAws_queryModifyCacheParameterGroupCommandError = function (output
|
|
|
4100
4095
|
case 11: throw _d.sent();
|
|
4101
4096
|
case 12:
|
|
4102
4097
|
parsedBody = parsedOutput.body;
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
$metadata: $metadata,
|
|
4098
|
+
throwDefaultError({
|
|
4099
|
+
output: output,
|
|
4100
|
+
parsedBody: parsedBody.Error,
|
|
4101
|
+
exceptionCtor: __BaseException,
|
|
4102
|
+
errorCode: errorCode,
|
|
4109
4103
|
});
|
|
4110
|
-
|
|
4104
|
+
_d.label = 13;
|
|
4105
|
+
case 13: return [2];
|
|
4111
4106
|
}
|
|
4112
4107
|
});
|
|
4113
4108
|
}); };
|
|
@@ -4130,7 +4125,7 @@ export var deserializeAws_queryModifyCacheSubnetGroupCommand = function (output,
|
|
|
4130
4125
|
});
|
|
4131
4126
|
}); };
|
|
4132
4127
|
var deserializeAws_queryModifyCacheSubnetGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4133
|
-
var parsedOutput, _a,
|
|
4128
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4134
4129
|
var _c;
|
|
4135
4130
|
return __generator(this, function (_d) {
|
|
4136
4131
|
switch (_d.label) {
|
|
@@ -4167,14 +4162,14 @@ var deserializeAws_queryModifyCacheSubnetGroupCommandError = function (output, c
|
|
|
4167
4162
|
case 11: throw _d.sent();
|
|
4168
4163
|
case 12:
|
|
4169
4164
|
parsedBody = parsedOutput.body;
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
$metadata: $metadata,
|
|
4165
|
+
throwDefaultError({
|
|
4166
|
+
output: output,
|
|
4167
|
+
parsedBody: parsedBody.Error,
|
|
4168
|
+
exceptionCtor: __BaseException,
|
|
4169
|
+
errorCode: errorCode,
|
|
4176
4170
|
});
|
|
4177
|
-
|
|
4171
|
+
_d.label = 13;
|
|
4172
|
+
case 13: return [2];
|
|
4178
4173
|
}
|
|
4179
4174
|
});
|
|
4180
4175
|
}); };
|
|
@@ -4197,7 +4192,7 @@ export var deserializeAws_queryModifyGlobalReplicationGroupCommand = function (o
|
|
|
4197
4192
|
});
|
|
4198
4193
|
}); };
|
|
4199
4194
|
var deserializeAws_queryModifyGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4200
|
-
var parsedOutput, _a,
|
|
4195
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4201
4196
|
var _c;
|
|
4202
4197
|
return __generator(this, function (_d) {
|
|
4203
4198
|
switch (_d.label) {
|
|
@@ -4226,14 +4221,14 @@ var deserializeAws_queryModifyGlobalReplicationGroupCommandError = function (out
|
|
|
4226
4221
|
case 7: throw _d.sent();
|
|
4227
4222
|
case 8:
|
|
4228
4223
|
parsedBody = parsedOutput.body;
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
$metadata: $metadata,
|
|
4224
|
+
throwDefaultError({
|
|
4225
|
+
output: output,
|
|
4226
|
+
parsedBody: parsedBody.Error,
|
|
4227
|
+
exceptionCtor: __BaseException,
|
|
4228
|
+
errorCode: errorCode,
|
|
4235
4229
|
});
|
|
4236
|
-
|
|
4230
|
+
_d.label = 9;
|
|
4231
|
+
case 9: return [2];
|
|
4237
4232
|
}
|
|
4238
4233
|
});
|
|
4239
4234
|
}); };
|
|
@@ -4256,7 +4251,7 @@ export var deserializeAws_queryModifyReplicationGroupCommand = function (output,
|
|
|
4256
4251
|
});
|
|
4257
4252
|
}); };
|
|
4258
4253
|
var deserializeAws_queryModifyReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4259
|
-
var parsedOutput, _a,
|
|
4254
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4260
4255
|
var _c;
|
|
4261
4256
|
return __generator(this, function (_d) {
|
|
4262
4257
|
switch (_d.label) {
|
|
@@ -4337,14 +4332,14 @@ var deserializeAws_queryModifyReplicationGroupCommandError = function (output, c
|
|
|
4337
4332
|
case 33: throw _d.sent();
|
|
4338
4333
|
case 34:
|
|
4339
4334
|
parsedBody = parsedOutput.body;
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
$metadata: $metadata,
|
|
4335
|
+
throwDefaultError({
|
|
4336
|
+
output: output,
|
|
4337
|
+
parsedBody: parsedBody.Error,
|
|
4338
|
+
exceptionCtor: __BaseException,
|
|
4339
|
+
errorCode: errorCode,
|
|
4346
4340
|
});
|
|
4347
|
-
|
|
4341
|
+
_d.label = 35;
|
|
4342
|
+
case 35: return [2];
|
|
4348
4343
|
}
|
|
4349
4344
|
});
|
|
4350
4345
|
}); };
|
|
@@ -4367,7 +4362,7 @@ export var deserializeAws_queryModifyReplicationGroupShardConfigurationCommand =
|
|
|
4367
4362
|
});
|
|
4368
4363
|
}); };
|
|
4369
4364
|
var deserializeAws_queryModifyReplicationGroupShardConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4370
|
-
var parsedOutput, _a,
|
|
4365
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4371
4366
|
var _c;
|
|
4372
4367
|
return __generator(this, function (_d) {
|
|
4373
4368
|
switch (_d.label) {
|
|
@@ -4424,14 +4419,14 @@ var deserializeAws_queryModifyReplicationGroupShardConfigurationCommandError = f
|
|
|
4424
4419
|
case 21: throw _d.sent();
|
|
4425
4420
|
case 22:
|
|
4426
4421
|
parsedBody = parsedOutput.body;
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
$metadata: $metadata,
|
|
4422
|
+
throwDefaultError({
|
|
4423
|
+
output: output,
|
|
4424
|
+
parsedBody: parsedBody.Error,
|
|
4425
|
+
exceptionCtor: __BaseException,
|
|
4426
|
+
errorCode: errorCode,
|
|
4433
4427
|
});
|
|
4434
|
-
|
|
4428
|
+
_d.label = 23;
|
|
4429
|
+
case 23: return [2];
|
|
4435
4430
|
}
|
|
4436
4431
|
});
|
|
4437
4432
|
}); };
|
|
@@ -4454,7 +4449,7 @@ export var deserializeAws_queryModifyUserCommand = function (output, context) {
|
|
|
4454
4449
|
});
|
|
4455
4450
|
}); };
|
|
4456
4451
|
var deserializeAws_queryModifyUserCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4457
|
-
var parsedOutput, _a,
|
|
4452
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4458
4453
|
var _c;
|
|
4459
4454
|
return __generator(this, function (_d) {
|
|
4460
4455
|
switch (_d.label) {
|
|
@@ -4491,14 +4486,14 @@ var deserializeAws_queryModifyUserCommandError = function (output, context) { re
|
|
|
4491
4486
|
case 11: throw _d.sent();
|
|
4492
4487
|
case 12:
|
|
4493
4488
|
parsedBody = parsedOutput.body;
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
$metadata: $metadata,
|
|
4489
|
+
throwDefaultError({
|
|
4490
|
+
output: output,
|
|
4491
|
+
parsedBody: parsedBody.Error,
|
|
4492
|
+
exceptionCtor: __BaseException,
|
|
4493
|
+
errorCode: errorCode,
|
|
4500
4494
|
});
|
|
4501
|
-
|
|
4495
|
+
_d.label = 13;
|
|
4496
|
+
case 13: return [2];
|
|
4502
4497
|
}
|
|
4503
4498
|
});
|
|
4504
4499
|
}); };
|
|
@@ -4521,7 +4516,7 @@ export var deserializeAws_queryModifyUserGroupCommand = function (output, contex
|
|
|
4521
4516
|
});
|
|
4522
4517
|
}); };
|
|
4523
4518
|
var deserializeAws_queryModifyUserGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4524
|
-
var parsedOutput, _a,
|
|
4519
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4525
4520
|
var _c;
|
|
4526
4521
|
return __generator(this, function (_d) {
|
|
4527
4522
|
switch (_d.label) {
|
|
@@ -4570,14 +4565,14 @@ var deserializeAws_queryModifyUserGroupCommandError = function (output, context)
|
|
|
4570
4565
|
case 17: throw _d.sent();
|
|
4571
4566
|
case 18:
|
|
4572
4567
|
parsedBody = parsedOutput.body;
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
$metadata: $metadata,
|
|
4568
|
+
throwDefaultError({
|
|
4569
|
+
output: output,
|
|
4570
|
+
parsedBody: parsedBody.Error,
|
|
4571
|
+
exceptionCtor: __BaseException,
|
|
4572
|
+
errorCode: errorCode,
|
|
4579
4573
|
});
|
|
4580
|
-
|
|
4574
|
+
_d.label = 19;
|
|
4575
|
+
case 19: return [2];
|
|
4581
4576
|
}
|
|
4582
4577
|
});
|
|
4583
4578
|
}); };
|
|
@@ -4600,7 +4595,7 @@ export var deserializeAws_queryPurchaseReservedCacheNodesOfferingCommand = funct
|
|
|
4600
4595
|
});
|
|
4601
4596
|
}); };
|
|
4602
4597
|
var deserializeAws_queryPurchaseReservedCacheNodesOfferingCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4603
|
-
var parsedOutput, _a,
|
|
4598
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4604
4599
|
var _c;
|
|
4605
4600
|
return __generator(this, function (_d) {
|
|
4606
4601
|
switch (_d.label) {
|
|
@@ -4641,14 +4636,14 @@ var deserializeAws_queryPurchaseReservedCacheNodesOfferingCommandError = functio
|
|
|
4641
4636
|
case 13: throw _d.sent();
|
|
4642
4637
|
case 14:
|
|
4643
4638
|
parsedBody = parsedOutput.body;
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
$metadata: $metadata,
|
|
4639
|
+
throwDefaultError({
|
|
4640
|
+
output: output,
|
|
4641
|
+
parsedBody: parsedBody.Error,
|
|
4642
|
+
exceptionCtor: __BaseException,
|
|
4643
|
+
errorCode: errorCode,
|
|
4650
4644
|
});
|
|
4651
|
-
|
|
4645
|
+
_d.label = 15;
|
|
4646
|
+
case 15: return [2];
|
|
4652
4647
|
}
|
|
4653
4648
|
});
|
|
4654
4649
|
}); };
|
|
@@ -4671,7 +4666,7 @@ export var deserializeAws_queryRebalanceSlotsInGlobalReplicationGroupCommand = f
|
|
|
4671
4666
|
});
|
|
4672
4667
|
}); };
|
|
4673
4668
|
var deserializeAws_queryRebalanceSlotsInGlobalReplicationGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4674
|
-
var parsedOutput, _a,
|
|
4669
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4675
4670
|
var _c;
|
|
4676
4671
|
return __generator(this, function (_d) {
|
|
4677
4672
|
switch (_d.label) {
|
|
@@ -4700,14 +4695,14 @@ var deserializeAws_queryRebalanceSlotsInGlobalReplicationGroupCommandError = fun
|
|
|
4700
4695
|
case 7: throw _d.sent();
|
|
4701
4696
|
case 8:
|
|
4702
4697
|
parsedBody = parsedOutput.body;
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
$metadata: $metadata,
|
|
4698
|
+
throwDefaultError({
|
|
4699
|
+
output: output,
|
|
4700
|
+
parsedBody: parsedBody.Error,
|
|
4701
|
+
exceptionCtor: __BaseException,
|
|
4702
|
+
errorCode: errorCode,
|
|
4709
4703
|
});
|
|
4710
|
-
|
|
4704
|
+
_d.label = 9;
|
|
4705
|
+
case 9: return [2];
|
|
4711
4706
|
}
|
|
4712
4707
|
});
|
|
4713
4708
|
}); };
|
|
@@ -4730,7 +4725,7 @@ export var deserializeAws_queryRebootCacheClusterCommand = function (output, con
|
|
|
4730
4725
|
});
|
|
4731
4726
|
}); };
|
|
4732
4727
|
var deserializeAws_queryRebootCacheClusterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4733
|
-
var parsedOutput, _a,
|
|
4728
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4734
4729
|
var _c;
|
|
4735
4730
|
return __generator(this, function (_d) {
|
|
4736
4731
|
switch (_d.label) {
|
|
@@ -4755,14 +4750,14 @@ var deserializeAws_queryRebootCacheClusterCommandError = function (output, conte
|
|
|
4755
4750
|
case 5: throw _d.sent();
|
|
4756
4751
|
case 6:
|
|
4757
4752
|
parsedBody = parsedOutput.body;
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
$metadata: $metadata,
|
|
4753
|
+
throwDefaultError({
|
|
4754
|
+
output: output,
|
|
4755
|
+
parsedBody: parsedBody.Error,
|
|
4756
|
+
exceptionCtor: __BaseException,
|
|
4757
|
+
errorCode: errorCode,
|
|
4764
4758
|
});
|
|
4765
|
-
|
|
4759
|
+
_d.label = 7;
|
|
4760
|
+
case 7: return [2];
|
|
4766
4761
|
}
|
|
4767
4762
|
});
|
|
4768
4763
|
}); };
|
|
@@ -4785,7 +4780,7 @@ export var deserializeAws_queryRemoveTagsFromResourceCommand = function (output,
|
|
|
4785
4780
|
});
|
|
4786
4781
|
}); };
|
|
4787
4782
|
var deserializeAws_queryRemoveTagsFromResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4788
|
-
var parsedOutput, _a,
|
|
4783
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4789
4784
|
var _c;
|
|
4790
4785
|
return __generator(this, function (_d) {
|
|
4791
4786
|
switch (_d.label) {
|
|
@@ -4850,14 +4845,14 @@ var deserializeAws_queryRemoveTagsFromResourceCommandError = function (output, c
|
|
|
4850
4845
|
case 25: throw _d.sent();
|
|
4851
4846
|
case 26:
|
|
4852
4847
|
parsedBody = parsedOutput.body;
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
$metadata: $metadata,
|
|
4848
|
+
throwDefaultError({
|
|
4849
|
+
output: output,
|
|
4850
|
+
parsedBody: parsedBody.Error,
|
|
4851
|
+
exceptionCtor: __BaseException,
|
|
4852
|
+
errorCode: errorCode,
|
|
4859
4853
|
});
|
|
4860
|
-
|
|
4854
|
+
_d.label = 27;
|
|
4855
|
+
case 27: return [2];
|
|
4861
4856
|
}
|
|
4862
4857
|
});
|
|
4863
4858
|
}); };
|
|
@@ -4880,7 +4875,7 @@ export var deserializeAws_queryResetCacheParameterGroupCommand = function (outpu
|
|
|
4880
4875
|
});
|
|
4881
4876
|
}); };
|
|
4882
4877
|
var deserializeAws_queryResetCacheParameterGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4883
|
-
var parsedOutput, _a,
|
|
4878
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4884
4879
|
var _c;
|
|
4885
4880
|
return __generator(this, function (_d) {
|
|
4886
4881
|
switch (_d.label) {
|
|
@@ -4917,14 +4912,14 @@ var deserializeAws_queryResetCacheParameterGroupCommandError = function (output,
|
|
|
4917
4912
|
case 11: throw _d.sent();
|
|
4918
4913
|
case 12:
|
|
4919
4914
|
parsedBody = parsedOutput.body;
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
$metadata: $metadata,
|
|
4915
|
+
throwDefaultError({
|
|
4916
|
+
output: output,
|
|
4917
|
+
parsedBody: parsedBody.Error,
|
|
4918
|
+
exceptionCtor: __BaseException,
|
|
4919
|
+
errorCode: errorCode,
|
|
4926
4920
|
});
|
|
4927
|
-
|
|
4921
|
+
_d.label = 13;
|
|
4922
|
+
case 13: return [2];
|
|
4928
4923
|
}
|
|
4929
4924
|
});
|
|
4930
4925
|
}); };
|
|
@@ -4947,7 +4942,7 @@ export var deserializeAws_queryRevokeCacheSecurityGroupIngressCommand = function
|
|
|
4947
4942
|
});
|
|
4948
4943
|
}); };
|
|
4949
4944
|
var deserializeAws_queryRevokeCacheSecurityGroupIngressCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4950
|
-
var parsedOutput, _a,
|
|
4945
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
4951
4946
|
var _c;
|
|
4952
4947
|
return __generator(this, function (_d) {
|
|
4953
4948
|
switch (_d.label) {
|
|
@@ -4984,14 +4979,14 @@ var deserializeAws_queryRevokeCacheSecurityGroupIngressCommandError = function (
|
|
|
4984
4979
|
case 11: throw _d.sent();
|
|
4985
4980
|
case 12:
|
|
4986
4981
|
parsedBody = parsedOutput.body;
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
$metadata: $metadata,
|
|
4982
|
+
throwDefaultError({
|
|
4983
|
+
output: output,
|
|
4984
|
+
parsedBody: parsedBody.Error,
|
|
4985
|
+
exceptionCtor: __BaseException,
|
|
4986
|
+
errorCode: errorCode,
|
|
4993
4987
|
});
|
|
4994
|
-
|
|
4988
|
+
_d.label = 13;
|
|
4989
|
+
case 13: return [2];
|
|
4995
4990
|
}
|
|
4996
4991
|
});
|
|
4997
4992
|
}); };
|
|
@@ -5014,7 +5009,7 @@ export var deserializeAws_queryStartMigrationCommand = function (output, context
|
|
|
5014
5009
|
});
|
|
5015
5010
|
}); };
|
|
5016
5011
|
var deserializeAws_queryStartMigrationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5017
|
-
var parsedOutput, _a,
|
|
5012
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
5018
5013
|
var _c;
|
|
5019
5014
|
return __generator(this, function (_d) {
|
|
5020
5015
|
switch (_d.label) {
|
|
@@ -5047,14 +5042,14 @@ var deserializeAws_queryStartMigrationCommandError = function (output, context)
|
|
|
5047
5042
|
case 9: throw _d.sent();
|
|
5048
5043
|
case 10:
|
|
5049
5044
|
parsedBody = parsedOutput.body;
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
$metadata: $metadata,
|
|
5045
|
+
throwDefaultError({
|
|
5046
|
+
output: output,
|
|
5047
|
+
parsedBody: parsedBody.Error,
|
|
5048
|
+
exceptionCtor: __BaseException,
|
|
5049
|
+
errorCode: errorCode,
|
|
5056
5050
|
});
|
|
5057
|
-
|
|
5051
|
+
_d.label = 11;
|
|
5052
|
+
case 11: return [2];
|
|
5058
5053
|
}
|
|
5059
5054
|
});
|
|
5060
5055
|
}); };
|
|
@@ -5077,7 +5072,7 @@ export var deserializeAws_queryTestFailoverCommand = function (output, context)
|
|
|
5077
5072
|
});
|
|
5078
5073
|
}); };
|
|
5079
5074
|
var deserializeAws_queryTestFailoverCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5080
|
-
var parsedOutput, _a,
|
|
5075
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
5081
5076
|
var _c;
|
|
5082
5077
|
return __generator(this, function (_d) {
|
|
5083
5078
|
switch (_d.label) {
|
|
@@ -5130,14 +5125,14 @@ var deserializeAws_queryTestFailoverCommandError = function (output, context) {
|
|
|
5130
5125
|
case 19: throw _d.sent();
|
|
5131
5126
|
case 20:
|
|
5132
5127
|
parsedBody = parsedOutput.body;
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
$metadata: $metadata,
|
|
5128
|
+
throwDefaultError({
|
|
5129
|
+
output: output,
|
|
5130
|
+
parsedBody: parsedBody.Error,
|
|
5131
|
+
exceptionCtor: __BaseException,
|
|
5132
|
+
errorCode: errorCode,
|
|
5139
5133
|
});
|
|
5140
|
-
|
|
5134
|
+
_d.label = 21;
|
|
5135
|
+
case 21: return [2];
|
|
5141
5136
|
}
|
|
5142
5137
|
});
|
|
5143
5138
|
}); };
|
|
@@ -5746,10 +5741,10 @@ var deserializeAws_queryUserQuotaExceededFaultResponse = function (parsedOutput,
|
|
|
5746
5741
|
}); };
|
|
5747
5742
|
var serializeAws_queryAddTagsToResourceMessage = function (input, context) {
|
|
5748
5743
|
var entries = {};
|
|
5749
|
-
if (input.ResourceName
|
|
5744
|
+
if (input.ResourceName != null) {
|
|
5750
5745
|
entries["ResourceName"] = input.ResourceName;
|
|
5751
5746
|
}
|
|
5752
|
-
if (input.Tags
|
|
5747
|
+
if (input.Tags != null) {
|
|
5753
5748
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5754
5749
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5755
5750
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5761,13 +5756,13 @@ var serializeAws_queryAddTagsToResourceMessage = function (input, context) {
|
|
|
5761
5756
|
};
|
|
5762
5757
|
var serializeAws_queryAuthorizeCacheSecurityGroupIngressMessage = function (input, context) {
|
|
5763
5758
|
var entries = {};
|
|
5764
|
-
if (input.CacheSecurityGroupName
|
|
5759
|
+
if (input.CacheSecurityGroupName != null) {
|
|
5765
5760
|
entries["CacheSecurityGroupName"] = input.CacheSecurityGroupName;
|
|
5766
5761
|
}
|
|
5767
|
-
if (input.EC2SecurityGroupName
|
|
5762
|
+
if (input.EC2SecurityGroupName != null) {
|
|
5768
5763
|
entries["EC2SecurityGroupName"] = input.EC2SecurityGroupName;
|
|
5769
5764
|
}
|
|
5770
|
-
if (input.EC2SecurityGroupOwnerId
|
|
5765
|
+
if (input.EC2SecurityGroupOwnerId != null) {
|
|
5771
5766
|
entries["EC2SecurityGroupOwnerId"] = input.EC2SecurityGroupOwnerId;
|
|
5772
5767
|
}
|
|
5773
5768
|
return entries;
|
|
@@ -5797,7 +5792,7 @@ var serializeAws_queryAvailabilityZonesList = function (input, context) {
|
|
|
5797
5792
|
};
|
|
5798
5793
|
var serializeAws_queryBatchApplyUpdateActionMessage = function (input, context) {
|
|
5799
5794
|
var entries = {};
|
|
5800
|
-
if (input.ReplicationGroupIds
|
|
5795
|
+
if (input.ReplicationGroupIds != null) {
|
|
5801
5796
|
var memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
5802
5797
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5803
5798
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5805,7 +5800,7 @@ var serializeAws_queryBatchApplyUpdateActionMessage = function (input, context)
|
|
|
5805
5800
|
entries[loc] = value;
|
|
5806
5801
|
});
|
|
5807
5802
|
}
|
|
5808
|
-
if (input.CacheClusterIds
|
|
5803
|
+
if (input.CacheClusterIds != null) {
|
|
5809
5804
|
var memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
5810
5805
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5811
5806
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5813,14 +5808,14 @@ var serializeAws_queryBatchApplyUpdateActionMessage = function (input, context)
|
|
|
5813
5808
|
entries[loc] = value;
|
|
5814
5809
|
});
|
|
5815
5810
|
}
|
|
5816
|
-
if (input.ServiceUpdateName
|
|
5811
|
+
if (input.ServiceUpdateName != null) {
|
|
5817
5812
|
entries["ServiceUpdateName"] = input.ServiceUpdateName;
|
|
5818
5813
|
}
|
|
5819
5814
|
return entries;
|
|
5820
5815
|
};
|
|
5821
5816
|
var serializeAws_queryBatchStopUpdateActionMessage = function (input, context) {
|
|
5822
5817
|
var entries = {};
|
|
5823
|
-
if (input.ReplicationGroupIds
|
|
5818
|
+
if (input.ReplicationGroupIds != null) {
|
|
5824
5819
|
var memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
5825
5820
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5826
5821
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5828,7 +5823,7 @@ var serializeAws_queryBatchStopUpdateActionMessage = function (input, context) {
|
|
|
5828
5823
|
entries[loc] = value;
|
|
5829
5824
|
});
|
|
5830
5825
|
}
|
|
5831
|
-
if (input.CacheClusterIds
|
|
5826
|
+
if (input.CacheClusterIds != null) {
|
|
5832
5827
|
var memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
5833
5828
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5834
5829
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5836,7 +5831,7 @@ var serializeAws_queryBatchStopUpdateActionMessage = function (input, context) {
|
|
|
5836
5831
|
entries[loc] = value;
|
|
5837
5832
|
});
|
|
5838
5833
|
}
|
|
5839
|
-
if (input.ServiceUpdateName
|
|
5834
|
+
if (input.ServiceUpdateName != null) {
|
|
5840
5835
|
entries["ServiceUpdateName"] = input.ServiceUpdateName;
|
|
5841
5836
|
}
|
|
5842
5837
|
return entries;
|
|
@@ -5912,30 +5907,30 @@ var serializeAws_queryCacheSecurityGroupNameList = function (input, context) {
|
|
|
5912
5907
|
};
|
|
5913
5908
|
var serializeAws_queryCloudWatchLogsDestinationDetails = function (input, context) {
|
|
5914
5909
|
var entries = {};
|
|
5915
|
-
if (input.LogGroup
|
|
5910
|
+
if (input.LogGroup != null) {
|
|
5916
5911
|
entries["LogGroup"] = input.LogGroup;
|
|
5917
5912
|
}
|
|
5918
5913
|
return entries;
|
|
5919
5914
|
};
|
|
5920
5915
|
var serializeAws_queryCompleteMigrationMessage = function (input, context) {
|
|
5921
5916
|
var entries = {};
|
|
5922
|
-
if (input.ReplicationGroupId
|
|
5917
|
+
if (input.ReplicationGroupId != null) {
|
|
5923
5918
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
5924
5919
|
}
|
|
5925
|
-
if (input.Force
|
|
5920
|
+
if (input.Force != null) {
|
|
5926
5921
|
entries["Force"] = input.Force;
|
|
5927
5922
|
}
|
|
5928
5923
|
return entries;
|
|
5929
5924
|
};
|
|
5930
5925
|
var serializeAws_queryConfigureShard = function (input, context) {
|
|
5931
5926
|
var entries = {};
|
|
5932
|
-
if (input.NodeGroupId
|
|
5927
|
+
if (input.NodeGroupId != null) {
|
|
5933
5928
|
entries["NodeGroupId"] = input.NodeGroupId;
|
|
5934
5929
|
}
|
|
5935
|
-
if (input.NewReplicaCount
|
|
5930
|
+
if (input.NewReplicaCount != null) {
|
|
5936
5931
|
entries["NewReplicaCount"] = input.NewReplicaCount;
|
|
5937
5932
|
}
|
|
5938
|
-
if (input.PreferredAvailabilityZones
|
|
5933
|
+
if (input.PreferredAvailabilityZones != null) {
|
|
5939
5934
|
var memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.PreferredAvailabilityZones, context);
|
|
5940
5935
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5941
5936
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5943,7 +5938,7 @@ var serializeAws_queryConfigureShard = function (input, context) {
|
|
|
5943
5938
|
entries[loc] = value;
|
|
5944
5939
|
});
|
|
5945
5940
|
}
|
|
5946
|
-
if (input.PreferredOutpostArns
|
|
5941
|
+
if (input.PreferredOutpostArns != null) {
|
|
5947
5942
|
var memberEntries = serializeAws_queryPreferredOutpostArnList(input.PreferredOutpostArns, context);
|
|
5948
5943
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5949
5944
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5955,19 +5950,19 @@ var serializeAws_queryConfigureShard = function (input, context) {
|
|
|
5955
5950
|
};
|
|
5956
5951
|
var serializeAws_queryCopySnapshotMessage = function (input, context) {
|
|
5957
5952
|
var entries = {};
|
|
5958
|
-
if (input.SourceSnapshotName
|
|
5953
|
+
if (input.SourceSnapshotName != null) {
|
|
5959
5954
|
entries["SourceSnapshotName"] = input.SourceSnapshotName;
|
|
5960
5955
|
}
|
|
5961
|
-
if (input.TargetSnapshotName
|
|
5956
|
+
if (input.TargetSnapshotName != null) {
|
|
5962
5957
|
entries["TargetSnapshotName"] = input.TargetSnapshotName;
|
|
5963
5958
|
}
|
|
5964
|
-
if (input.TargetBucket
|
|
5959
|
+
if (input.TargetBucket != null) {
|
|
5965
5960
|
entries["TargetBucket"] = input.TargetBucket;
|
|
5966
5961
|
}
|
|
5967
|
-
if (input.KmsKeyId
|
|
5962
|
+
if (input.KmsKeyId != null) {
|
|
5968
5963
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
5969
5964
|
}
|
|
5970
|
-
if (input.Tags
|
|
5965
|
+
if (input.Tags != null) {
|
|
5971
5966
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
5972
5967
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5973
5968
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5979,19 +5974,19 @@ var serializeAws_queryCopySnapshotMessage = function (input, context) {
|
|
|
5979
5974
|
};
|
|
5980
5975
|
var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
5981
5976
|
var entries = {};
|
|
5982
|
-
if (input.CacheClusterId
|
|
5977
|
+
if (input.CacheClusterId != null) {
|
|
5983
5978
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
5984
5979
|
}
|
|
5985
|
-
if (input.ReplicationGroupId
|
|
5980
|
+
if (input.ReplicationGroupId != null) {
|
|
5986
5981
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
5987
5982
|
}
|
|
5988
|
-
if (input.AZMode
|
|
5983
|
+
if (input.AZMode != null) {
|
|
5989
5984
|
entries["AZMode"] = input.AZMode;
|
|
5990
5985
|
}
|
|
5991
|
-
if (input.PreferredAvailabilityZone
|
|
5986
|
+
if (input.PreferredAvailabilityZone != null) {
|
|
5992
5987
|
entries["PreferredAvailabilityZone"] = input.PreferredAvailabilityZone;
|
|
5993
5988
|
}
|
|
5994
|
-
if (input.PreferredAvailabilityZones
|
|
5989
|
+
if (input.PreferredAvailabilityZones != null) {
|
|
5995
5990
|
var memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.PreferredAvailabilityZones, context);
|
|
5996
5991
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
5997
5992
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -5999,25 +5994,25 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
5999
5994
|
entries[loc] = value;
|
|
6000
5995
|
});
|
|
6001
5996
|
}
|
|
6002
|
-
if (input.NumCacheNodes
|
|
5997
|
+
if (input.NumCacheNodes != null) {
|
|
6003
5998
|
entries["NumCacheNodes"] = input.NumCacheNodes;
|
|
6004
5999
|
}
|
|
6005
|
-
if (input.CacheNodeType
|
|
6000
|
+
if (input.CacheNodeType != null) {
|
|
6006
6001
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
6007
6002
|
}
|
|
6008
|
-
if (input.Engine
|
|
6003
|
+
if (input.Engine != null) {
|
|
6009
6004
|
entries["Engine"] = input.Engine;
|
|
6010
6005
|
}
|
|
6011
|
-
if (input.EngineVersion
|
|
6006
|
+
if (input.EngineVersion != null) {
|
|
6012
6007
|
entries["EngineVersion"] = input.EngineVersion;
|
|
6013
6008
|
}
|
|
6014
|
-
if (input.CacheParameterGroupName
|
|
6009
|
+
if (input.CacheParameterGroupName != null) {
|
|
6015
6010
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
6016
6011
|
}
|
|
6017
|
-
if (input.CacheSubnetGroupName
|
|
6012
|
+
if (input.CacheSubnetGroupName != null) {
|
|
6018
6013
|
entries["CacheSubnetGroupName"] = input.CacheSubnetGroupName;
|
|
6019
6014
|
}
|
|
6020
|
-
if (input.CacheSecurityGroupNames
|
|
6015
|
+
if (input.CacheSecurityGroupNames != null) {
|
|
6021
6016
|
var memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
6022
6017
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6023
6018
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6025,7 +6020,7 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
6025
6020
|
entries[loc] = value;
|
|
6026
6021
|
});
|
|
6027
6022
|
}
|
|
6028
|
-
if (input.SecurityGroupIds
|
|
6023
|
+
if (input.SecurityGroupIds != null) {
|
|
6029
6024
|
var memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
6030
6025
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6031
6026
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6033,7 +6028,7 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
6033
6028
|
entries[loc] = value;
|
|
6034
6029
|
});
|
|
6035
6030
|
}
|
|
6036
|
-
if (input.Tags
|
|
6031
|
+
if (input.Tags != null) {
|
|
6037
6032
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6038
6033
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6039
6034
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6041,7 +6036,7 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
6041
6036
|
entries[loc] = value;
|
|
6042
6037
|
});
|
|
6043
6038
|
}
|
|
6044
|
-
if (input.SnapshotArns
|
|
6039
|
+
if (input.SnapshotArns != null) {
|
|
6045
6040
|
var memberEntries = serializeAws_querySnapshotArnsList(input.SnapshotArns, context);
|
|
6046
6041
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6047
6042
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6049,37 +6044,37 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
6049
6044
|
entries[loc] = value;
|
|
6050
6045
|
});
|
|
6051
6046
|
}
|
|
6052
|
-
if (input.SnapshotName
|
|
6047
|
+
if (input.SnapshotName != null) {
|
|
6053
6048
|
entries["SnapshotName"] = input.SnapshotName;
|
|
6054
6049
|
}
|
|
6055
|
-
if (input.PreferredMaintenanceWindow
|
|
6050
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
6056
6051
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
6057
6052
|
}
|
|
6058
|
-
if (input.Port
|
|
6053
|
+
if (input.Port != null) {
|
|
6059
6054
|
entries["Port"] = input.Port;
|
|
6060
6055
|
}
|
|
6061
|
-
if (input.NotificationTopicArn
|
|
6056
|
+
if (input.NotificationTopicArn != null) {
|
|
6062
6057
|
entries["NotificationTopicArn"] = input.NotificationTopicArn;
|
|
6063
6058
|
}
|
|
6064
|
-
if (input.AutoMinorVersionUpgrade
|
|
6059
|
+
if (input.AutoMinorVersionUpgrade != null) {
|
|
6065
6060
|
entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
|
|
6066
6061
|
}
|
|
6067
|
-
if (input.SnapshotRetentionLimit
|
|
6062
|
+
if (input.SnapshotRetentionLimit != null) {
|
|
6068
6063
|
entries["SnapshotRetentionLimit"] = input.SnapshotRetentionLimit;
|
|
6069
6064
|
}
|
|
6070
|
-
if (input.SnapshotWindow
|
|
6065
|
+
if (input.SnapshotWindow != null) {
|
|
6071
6066
|
entries["SnapshotWindow"] = input.SnapshotWindow;
|
|
6072
6067
|
}
|
|
6073
|
-
if (input.AuthToken
|
|
6068
|
+
if (input.AuthToken != null) {
|
|
6074
6069
|
entries["AuthToken"] = input.AuthToken;
|
|
6075
6070
|
}
|
|
6076
|
-
if (input.OutpostMode
|
|
6071
|
+
if (input.OutpostMode != null) {
|
|
6077
6072
|
entries["OutpostMode"] = input.OutpostMode;
|
|
6078
6073
|
}
|
|
6079
|
-
if (input.PreferredOutpostArn
|
|
6074
|
+
if (input.PreferredOutpostArn != null) {
|
|
6080
6075
|
entries["PreferredOutpostArn"] = input.PreferredOutpostArn;
|
|
6081
6076
|
}
|
|
6082
|
-
if (input.PreferredOutpostArns
|
|
6077
|
+
if (input.PreferredOutpostArns != null) {
|
|
6083
6078
|
var memberEntries = serializeAws_queryPreferredOutpostArnList(input.PreferredOutpostArns, context);
|
|
6084
6079
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6085
6080
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6087,7 +6082,7 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
6087
6082
|
entries[loc] = value;
|
|
6088
6083
|
});
|
|
6089
6084
|
}
|
|
6090
|
-
if (input.LogDeliveryConfigurations
|
|
6085
|
+
if (input.LogDeliveryConfigurations != null) {
|
|
6091
6086
|
var memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
6092
6087
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6093
6088
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6095,23 +6090,23 @@ var serializeAws_queryCreateCacheClusterMessage = function (input, context) {
|
|
|
6095
6090
|
entries[loc] = value;
|
|
6096
6091
|
});
|
|
6097
6092
|
}
|
|
6098
|
-
if (input.TransitEncryptionEnabled
|
|
6093
|
+
if (input.TransitEncryptionEnabled != null) {
|
|
6099
6094
|
entries["TransitEncryptionEnabled"] = input.TransitEncryptionEnabled;
|
|
6100
6095
|
}
|
|
6101
6096
|
return entries;
|
|
6102
6097
|
};
|
|
6103
6098
|
var serializeAws_queryCreateCacheParameterGroupMessage = function (input, context) {
|
|
6104
6099
|
var entries = {};
|
|
6105
|
-
if (input.CacheParameterGroupName
|
|
6100
|
+
if (input.CacheParameterGroupName != null) {
|
|
6106
6101
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
6107
6102
|
}
|
|
6108
|
-
if (input.CacheParameterGroupFamily
|
|
6103
|
+
if (input.CacheParameterGroupFamily != null) {
|
|
6109
6104
|
entries["CacheParameterGroupFamily"] = input.CacheParameterGroupFamily;
|
|
6110
6105
|
}
|
|
6111
|
-
if (input.Description
|
|
6106
|
+
if (input.Description != null) {
|
|
6112
6107
|
entries["Description"] = input.Description;
|
|
6113
6108
|
}
|
|
6114
|
-
if (input.Tags
|
|
6109
|
+
if (input.Tags != null) {
|
|
6115
6110
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6116
6111
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6117
6112
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6123,13 +6118,13 @@ var serializeAws_queryCreateCacheParameterGroupMessage = function (input, contex
|
|
|
6123
6118
|
};
|
|
6124
6119
|
var serializeAws_queryCreateCacheSecurityGroupMessage = function (input, context) {
|
|
6125
6120
|
var entries = {};
|
|
6126
|
-
if (input.CacheSecurityGroupName
|
|
6121
|
+
if (input.CacheSecurityGroupName != null) {
|
|
6127
6122
|
entries["CacheSecurityGroupName"] = input.CacheSecurityGroupName;
|
|
6128
6123
|
}
|
|
6129
|
-
if (input.Description
|
|
6124
|
+
if (input.Description != null) {
|
|
6130
6125
|
entries["Description"] = input.Description;
|
|
6131
6126
|
}
|
|
6132
|
-
if (input.Tags
|
|
6127
|
+
if (input.Tags != null) {
|
|
6133
6128
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6134
6129
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6135
6130
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6141,13 +6136,13 @@ var serializeAws_queryCreateCacheSecurityGroupMessage = function (input, context
|
|
|
6141
6136
|
};
|
|
6142
6137
|
var serializeAws_queryCreateCacheSubnetGroupMessage = function (input, context) {
|
|
6143
6138
|
var entries = {};
|
|
6144
|
-
if (input.CacheSubnetGroupName
|
|
6139
|
+
if (input.CacheSubnetGroupName != null) {
|
|
6145
6140
|
entries["CacheSubnetGroupName"] = input.CacheSubnetGroupName;
|
|
6146
6141
|
}
|
|
6147
|
-
if (input.CacheSubnetGroupDescription
|
|
6142
|
+
if (input.CacheSubnetGroupDescription != null) {
|
|
6148
6143
|
entries["CacheSubnetGroupDescription"] = input.CacheSubnetGroupDescription;
|
|
6149
6144
|
}
|
|
6150
|
-
if (input.SubnetIds
|
|
6145
|
+
if (input.SubnetIds != null) {
|
|
6151
6146
|
var memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
6152
6147
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6153
6148
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6155,7 +6150,7 @@ var serializeAws_queryCreateCacheSubnetGroupMessage = function (input, context)
|
|
|
6155
6150
|
entries[loc] = value;
|
|
6156
6151
|
});
|
|
6157
6152
|
}
|
|
6158
|
-
if (input.Tags
|
|
6153
|
+
if (input.Tags != null) {
|
|
6159
6154
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6160
6155
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6161
6156
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6167,41 +6162,41 @@ var serializeAws_queryCreateCacheSubnetGroupMessage = function (input, context)
|
|
|
6167
6162
|
};
|
|
6168
6163
|
var serializeAws_queryCreateGlobalReplicationGroupMessage = function (input, context) {
|
|
6169
6164
|
var entries = {};
|
|
6170
|
-
if (input.GlobalReplicationGroupIdSuffix
|
|
6165
|
+
if (input.GlobalReplicationGroupIdSuffix != null) {
|
|
6171
6166
|
entries["GlobalReplicationGroupIdSuffix"] = input.GlobalReplicationGroupIdSuffix;
|
|
6172
6167
|
}
|
|
6173
|
-
if (input.GlobalReplicationGroupDescription
|
|
6168
|
+
if (input.GlobalReplicationGroupDescription != null) {
|
|
6174
6169
|
entries["GlobalReplicationGroupDescription"] = input.GlobalReplicationGroupDescription;
|
|
6175
6170
|
}
|
|
6176
|
-
if (input.PrimaryReplicationGroupId
|
|
6171
|
+
if (input.PrimaryReplicationGroupId != null) {
|
|
6177
6172
|
entries["PrimaryReplicationGroupId"] = input.PrimaryReplicationGroupId;
|
|
6178
6173
|
}
|
|
6179
6174
|
return entries;
|
|
6180
6175
|
};
|
|
6181
6176
|
var serializeAws_queryCreateReplicationGroupMessage = function (input, context) {
|
|
6182
6177
|
var entries = {};
|
|
6183
|
-
if (input.ReplicationGroupId
|
|
6178
|
+
if (input.ReplicationGroupId != null) {
|
|
6184
6179
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6185
6180
|
}
|
|
6186
|
-
if (input.ReplicationGroupDescription
|
|
6181
|
+
if (input.ReplicationGroupDescription != null) {
|
|
6187
6182
|
entries["ReplicationGroupDescription"] = input.ReplicationGroupDescription;
|
|
6188
6183
|
}
|
|
6189
|
-
if (input.GlobalReplicationGroupId
|
|
6184
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
6190
6185
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
6191
6186
|
}
|
|
6192
|
-
if (input.PrimaryClusterId
|
|
6187
|
+
if (input.PrimaryClusterId != null) {
|
|
6193
6188
|
entries["PrimaryClusterId"] = input.PrimaryClusterId;
|
|
6194
6189
|
}
|
|
6195
|
-
if (input.AutomaticFailoverEnabled
|
|
6190
|
+
if (input.AutomaticFailoverEnabled != null) {
|
|
6196
6191
|
entries["AutomaticFailoverEnabled"] = input.AutomaticFailoverEnabled;
|
|
6197
6192
|
}
|
|
6198
|
-
if (input.MultiAZEnabled
|
|
6193
|
+
if (input.MultiAZEnabled != null) {
|
|
6199
6194
|
entries["MultiAZEnabled"] = input.MultiAZEnabled;
|
|
6200
6195
|
}
|
|
6201
|
-
if (input.NumCacheClusters
|
|
6196
|
+
if (input.NumCacheClusters != null) {
|
|
6202
6197
|
entries["NumCacheClusters"] = input.NumCacheClusters;
|
|
6203
6198
|
}
|
|
6204
|
-
if (input.PreferredCacheClusterAZs
|
|
6199
|
+
if (input.PreferredCacheClusterAZs != null) {
|
|
6205
6200
|
var memberEntries = serializeAws_queryAvailabilityZonesList(input.PreferredCacheClusterAZs, context);
|
|
6206
6201
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6207
6202
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6209,13 +6204,13 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6209
6204
|
entries[loc] = value;
|
|
6210
6205
|
});
|
|
6211
6206
|
}
|
|
6212
|
-
if (input.NumNodeGroups
|
|
6207
|
+
if (input.NumNodeGroups != null) {
|
|
6213
6208
|
entries["NumNodeGroups"] = input.NumNodeGroups;
|
|
6214
6209
|
}
|
|
6215
|
-
if (input.ReplicasPerNodeGroup
|
|
6210
|
+
if (input.ReplicasPerNodeGroup != null) {
|
|
6216
6211
|
entries["ReplicasPerNodeGroup"] = input.ReplicasPerNodeGroup;
|
|
6217
6212
|
}
|
|
6218
|
-
if (input.NodeGroupConfiguration
|
|
6213
|
+
if (input.NodeGroupConfiguration != null) {
|
|
6219
6214
|
var memberEntries = serializeAws_queryNodeGroupConfigurationList(input.NodeGroupConfiguration, context);
|
|
6220
6215
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6221
6216
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6223,22 +6218,22 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6223
6218
|
entries[loc] = value;
|
|
6224
6219
|
});
|
|
6225
6220
|
}
|
|
6226
|
-
if (input.CacheNodeType
|
|
6221
|
+
if (input.CacheNodeType != null) {
|
|
6227
6222
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
6228
6223
|
}
|
|
6229
|
-
if (input.Engine
|
|
6224
|
+
if (input.Engine != null) {
|
|
6230
6225
|
entries["Engine"] = input.Engine;
|
|
6231
6226
|
}
|
|
6232
|
-
if (input.EngineVersion
|
|
6227
|
+
if (input.EngineVersion != null) {
|
|
6233
6228
|
entries["EngineVersion"] = input.EngineVersion;
|
|
6234
6229
|
}
|
|
6235
|
-
if (input.CacheParameterGroupName
|
|
6230
|
+
if (input.CacheParameterGroupName != null) {
|
|
6236
6231
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
6237
6232
|
}
|
|
6238
|
-
if (input.CacheSubnetGroupName
|
|
6233
|
+
if (input.CacheSubnetGroupName != null) {
|
|
6239
6234
|
entries["CacheSubnetGroupName"] = input.CacheSubnetGroupName;
|
|
6240
6235
|
}
|
|
6241
|
-
if (input.CacheSecurityGroupNames
|
|
6236
|
+
if (input.CacheSecurityGroupNames != null) {
|
|
6242
6237
|
var memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
6243
6238
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6244
6239
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6246,7 +6241,7 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6246
6241
|
entries[loc] = value;
|
|
6247
6242
|
});
|
|
6248
6243
|
}
|
|
6249
|
-
if (input.SecurityGroupIds
|
|
6244
|
+
if (input.SecurityGroupIds != null) {
|
|
6250
6245
|
var memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
6251
6246
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6252
6247
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6254,7 +6249,7 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6254
6249
|
entries[loc] = value;
|
|
6255
6250
|
});
|
|
6256
6251
|
}
|
|
6257
|
-
if (input.Tags
|
|
6252
|
+
if (input.Tags != null) {
|
|
6258
6253
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6259
6254
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6260
6255
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6262,7 +6257,7 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6262
6257
|
entries[loc] = value;
|
|
6263
6258
|
});
|
|
6264
6259
|
}
|
|
6265
|
-
if (input.SnapshotArns
|
|
6260
|
+
if (input.SnapshotArns != null) {
|
|
6266
6261
|
var memberEntries = serializeAws_querySnapshotArnsList(input.SnapshotArns, context);
|
|
6267
6262
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6268
6263
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6270,40 +6265,40 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6270
6265
|
entries[loc] = value;
|
|
6271
6266
|
});
|
|
6272
6267
|
}
|
|
6273
|
-
if (input.SnapshotName
|
|
6268
|
+
if (input.SnapshotName != null) {
|
|
6274
6269
|
entries["SnapshotName"] = input.SnapshotName;
|
|
6275
6270
|
}
|
|
6276
|
-
if (input.PreferredMaintenanceWindow
|
|
6271
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
6277
6272
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
6278
6273
|
}
|
|
6279
|
-
if (input.Port
|
|
6274
|
+
if (input.Port != null) {
|
|
6280
6275
|
entries["Port"] = input.Port;
|
|
6281
6276
|
}
|
|
6282
|
-
if (input.NotificationTopicArn
|
|
6277
|
+
if (input.NotificationTopicArn != null) {
|
|
6283
6278
|
entries["NotificationTopicArn"] = input.NotificationTopicArn;
|
|
6284
6279
|
}
|
|
6285
|
-
if (input.AutoMinorVersionUpgrade
|
|
6280
|
+
if (input.AutoMinorVersionUpgrade != null) {
|
|
6286
6281
|
entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
|
|
6287
6282
|
}
|
|
6288
|
-
if (input.SnapshotRetentionLimit
|
|
6283
|
+
if (input.SnapshotRetentionLimit != null) {
|
|
6289
6284
|
entries["SnapshotRetentionLimit"] = input.SnapshotRetentionLimit;
|
|
6290
6285
|
}
|
|
6291
|
-
if (input.SnapshotWindow
|
|
6286
|
+
if (input.SnapshotWindow != null) {
|
|
6292
6287
|
entries["SnapshotWindow"] = input.SnapshotWindow;
|
|
6293
6288
|
}
|
|
6294
|
-
if (input.AuthToken
|
|
6289
|
+
if (input.AuthToken != null) {
|
|
6295
6290
|
entries["AuthToken"] = input.AuthToken;
|
|
6296
6291
|
}
|
|
6297
|
-
if (input.TransitEncryptionEnabled
|
|
6292
|
+
if (input.TransitEncryptionEnabled != null) {
|
|
6298
6293
|
entries["TransitEncryptionEnabled"] = input.TransitEncryptionEnabled;
|
|
6299
6294
|
}
|
|
6300
|
-
if (input.AtRestEncryptionEnabled
|
|
6295
|
+
if (input.AtRestEncryptionEnabled != null) {
|
|
6301
6296
|
entries["AtRestEncryptionEnabled"] = input.AtRestEncryptionEnabled;
|
|
6302
6297
|
}
|
|
6303
|
-
if (input.KmsKeyId
|
|
6298
|
+
if (input.KmsKeyId != null) {
|
|
6304
6299
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
6305
6300
|
}
|
|
6306
|
-
if (input.UserGroupIds
|
|
6301
|
+
if (input.UserGroupIds != null) {
|
|
6307
6302
|
var memberEntries = serializeAws_queryUserGroupIdListInput(input.UserGroupIds, context);
|
|
6308
6303
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6309
6304
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6311,7 +6306,7 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6311
6306
|
entries[loc] = value;
|
|
6312
6307
|
});
|
|
6313
6308
|
}
|
|
6314
|
-
if (input.LogDeliveryConfigurations
|
|
6309
|
+
if (input.LogDeliveryConfigurations != null) {
|
|
6315
6310
|
var memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
6316
6311
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6317
6312
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6319,26 +6314,26 @@ var serializeAws_queryCreateReplicationGroupMessage = function (input, context)
|
|
|
6319
6314
|
entries[loc] = value;
|
|
6320
6315
|
});
|
|
6321
6316
|
}
|
|
6322
|
-
if (input.DataTieringEnabled
|
|
6317
|
+
if (input.DataTieringEnabled != null) {
|
|
6323
6318
|
entries["DataTieringEnabled"] = input.DataTieringEnabled;
|
|
6324
6319
|
}
|
|
6325
6320
|
return entries;
|
|
6326
6321
|
};
|
|
6327
6322
|
var serializeAws_queryCreateSnapshotMessage = function (input, context) {
|
|
6328
6323
|
var entries = {};
|
|
6329
|
-
if (input.ReplicationGroupId
|
|
6324
|
+
if (input.ReplicationGroupId != null) {
|
|
6330
6325
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6331
6326
|
}
|
|
6332
|
-
if (input.CacheClusterId
|
|
6327
|
+
if (input.CacheClusterId != null) {
|
|
6333
6328
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
6334
6329
|
}
|
|
6335
|
-
if (input.SnapshotName
|
|
6330
|
+
if (input.SnapshotName != null) {
|
|
6336
6331
|
entries["SnapshotName"] = input.SnapshotName;
|
|
6337
6332
|
}
|
|
6338
|
-
if (input.KmsKeyId
|
|
6333
|
+
if (input.KmsKeyId != null) {
|
|
6339
6334
|
entries["KmsKeyId"] = input.KmsKeyId;
|
|
6340
6335
|
}
|
|
6341
|
-
if (input.Tags
|
|
6336
|
+
if (input.Tags != null) {
|
|
6342
6337
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6343
6338
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6344
6339
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6350,13 +6345,13 @@ var serializeAws_queryCreateSnapshotMessage = function (input, context) {
|
|
|
6350
6345
|
};
|
|
6351
6346
|
var serializeAws_queryCreateUserGroupMessage = function (input, context) {
|
|
6352
6347
|
var entries = {};
|
|
6353
|
-
if (input.UserGroupId
|
|
6348
|
+
if (input.UserGroupId != null) {
|
|
6354
6349
|
entries["UserGroupId"] = input.UserGroupId;
|
|
6355
6350
|
}
|
|
6356
|
-
if (input.Engine
|
|
6351
|
+
if (input.Engine != null) {
|
|
6357
6352
|
entries["Engine"] = input.Engine;
|
|
6358
6353
|
}
|
|
6359
|
-
if (input.UserIds
|
|
6354
|
+
if (input.UserIds != null) {
|
|
6360
6355
|
var memberEntries = serializeAws_queryUserIdListInput(input.UserIds, context);
|
|
6361
6356
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6362
6357
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6364,7 +6359,7 @@ var serializeAws_queryCreateUserGroupMessage = function (input, context) {
|
|
|
6364
6359
|
entries[loc] = value;
|
|
6365
6360
|
});
|
|
6366
6361
|
}
|
|
6367
|
-
if (input.Tags
|
|
6362
|
+
if (input.Tags != null) {
|
|
6368
6363
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6369
6364
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6370
6365
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6376,16 +6371,16 @@ var serializeAws_queryCreateUserGroupMessage = function (input, context) {
|
|
|
6376
6371
|
};
|
|
6377
6372
|
var serializeAws_queryCreateUserMessage = function (input, context) {
|
|
6378
6373
|
var entries = {};
|
|
6379
|
-
if (input.UserId
|
|
6374
|
+
if (input.UserId != null) {
|
|
6380
6375
|
entries["UserId"] = input.UserId;
|
|
6381
6376
|
}
|
|
6382
|
-
if (input.UserName
|
|
6377
|
+
if (input.UserName != null) {
|
|
6383
6378
|
entries["UserName"] = input.UserName;
|
|
6384
6379
|
}
|
|
6385
|
-
if (input.Engine
|
|
6380
|
+
if (input.Engine != null) {
|
|
6386
6381
|
entries["Engine"] = input.Engine;
|
|
6387
6382
|
}
|
|
6388
|
-
if (input.Passwords
|
|
6383
|
+
if (input.Passwords != null) {
|
|
6389
6384
|
var memberEntries = serializeAws_queryPasswordListInput(input.Passwords, context);
|
|
6390
6385
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6391
6386
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6393,13 +6388,13 @@ var serializeAws_queryCreateUserMessage = function (input, context) {
|
|
|
6393
6388
|
entries[loc] = value;
|
|
6394
6389
|
});
|
|
6395
6390
|
}
|
|
6396
|
-
if (input.AccessString
|
|
6391
|
+
if (input.AccessString != null) {
|
|
6397
6392
|
entries["AccessString"] = input.AccessString;
|
|
6398
6393
|
}
|
|
6399
|
-
if (input.NoPasswordRequired
|
|
6394
|
+
if (input.NoPasswordRequired != null) {
|
|
6400
6395
|
entries["NoPasswordRequired"] = input.NoPasswordRequired;
|
|
6401
6396
|
}
|
|
6402
|
-
if (input.Tags
|
|
6397
|
+
if (input.Tags != null) {
|
|
6403
6398
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
6404
6399
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6405
6400
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6411,10 +6406,10 @@ var serializeAws_queryCreateUserMessage = function (input, context) {
|
|
|
6411
6406
|
};
|
|
6412
6407
|
var serializeAws_queryCustomerNodeEndpoint = function (input, context) {
|
|
6413
6408
|
var entries = {};
|
|
6414
|
-
if (input.Address
|
|
6409
|
+
if (input.Address != null) {
|
|
6415
6410
|
entries["Address"] = input.Address;
|
|
6416
6411
|
}
|
|
6417
|
-
if (input.Port
|
|
6412
|
+
if (input.Port != null) {
|
|
6418
6413
|
entries["Port"] = input.Port;
|
|
6419
6414
|
}
|
|
6420
6415
|
return entries;
|
|
@@ -6448,13 +6443,13 @@ var serializeAws_queryCustomerNodeEndpointList = function (input, context) {
|
|
|
6448
6443
|
};
|
|
6449
6444
|
var serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = function (input, context) {
|
|
6450
6445
|
var entries = {};
|
|
6451
|
-
if (input.GlobalReplicationGroupId
|
|
6446
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
6452
6447
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
6453
6448
|
}
|
|
6454
|
-
if (input.NodeGroupCount
|
|
6449
|
+
if (input.NodeGroupCount != null) {
|
|
6455
6450
|
entries["NodeGroupCount"] = input.NodeGroupCount;
|
|
6456
6451
|
}
|
|
6457
|
-
if (input.GlobalNodeGroupsToRemove
|
|
6452
|
+
if (input.GlobalNodeGroupsToRemove != null) {
|
|
6458
6453
|
var memberEntries = serializeAws_queryGlobalNodeGroupIdList(input.GlobalNodeGroupsToRemove, context);
|
|
6459
6454
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6460
6455
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6462,7 +6457,7 @@ var serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = functi
|
|
|
6462
6457
|
entries[loc] = value;
|
|
6463
6458
|
});
|
|
6464
6459
|
}
|
|
6465
|
-
if (input.GlobalNodeGroupsToRetain
|
|
6460
|
+
if (input.GlobalNodeGroupsToRetain != null) {
|
|
6466
6461
|
var memberEntries = serializeAws_queryGlobalNodeGroupIdList(input.GlobalNodeGroupsToRetain, context);
|
|
6467
6462
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6468
6463
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6470,20 +6465,20 @@ var serializeAws_queryDecreaseNodeGroupsInGlobalReplicationGroupMessage = functi
|
|
|
6470
6465
|
entries[loc] = value;
|
|
6471
6466
|
});
|
|
6472
6467
|
}
|
|
6473
|
-
if (input.ApplyImmediately
|
|
6468
|
+
if (input.ApplyImmediately != null) {
|
|
6474
6469
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
6475
6470
|
}
|
|
6476
6471
|
return entries;
|
|
6477
6472
|
};
|
|
6478
6473
|
var serializeAws_queryDecreaseReplicaCountMessage = function (input, context) {
|
|
6479
6474
|
var entries = {};
|
|
6480
|
-
if (input.ReplicationGroupId
|
|
6475
|
+
if (input.ReplicationGroupId != null) {
|
|
6481
6476
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6482
6477
|
}
|
|
6483
|
-
if (input.NewReplicaCount
|
|
6478
|
+
if (input.NewReplicaCount != null) {
|
|
6484
6479
|
entries["NewReplicaCount"] = input.NewReplicaCount;
|
|
6485
6480
|
}
|
|
6486
|
-
if (input.ReplicaConfiguration
|
|
6481
|
+
if (input.ReplicaConfiguration != null) {
|
|
6487
6482
|
var memberEntries = serializeAws_queryReplicaConfigurationList(input.ReplicaConfiguration, context);
|
|
6488
6483
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6489
6484
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6491,7 +6486,7 @@ var serializeAws_queryDecreaseReplicaCountMessage = function (input, context) {
|
|
|
6491
6486
|
entries[loc] = value;
|
|
6492
6487
|
});
|
|
6493
6488
|
}
|
|
6494
|
-
if (input.ReplicasToRemove
|
|
6489
|
+
if (input.ReplicasToRemove != null) {
|
|
6495
6490
|
var memberEntries = serializeAws_queryRemoveReplicasList(input.ReplicasToRemove, context);
|
|
6496
6491
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6497
6492
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6499,309 +6494,308 @@ var serializeAws_queryDecreaseReplicaCountMessage = function (input, context) {
|
|
|
6499
6494
|
entries[loc] = value;
|
|
6500
6495
|
});
|
|
6501
6496
|
}
|
|
6502
|
-
if (input.ApplyImmediately
|
|
6497
|
+
if (input.ApplyImmediately != null) {
|
|
6503
6498
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
6504
6499
|
}
|
|
6505
6500
|
return entries;
|
|
6506
6501
|
};
|
|
6507
6502
|
var serializeAws_queryDeleteCacheClusterMessage = function (input, context) {
|
|
6508
6503
|
var entries = {};
|
|
6509
|
-
if (input.CacheClusterId
|
|
6504
|
+
if (input.CacheClusterId != null) {
|
|
6510
6505
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
6511
6506
|
}
|
|
6512
|
-
if (input.FinalSnapshotIdentifier
|
|
6507
|
+
if (input.FinalSnapshotIdentifier != null) {
|
|
6513
6508
|
entries["FinalSnapshotIdentifier"] = input.FinalSnapshotIdentifier;
|
|
6514
6509
|
}
|
|
6515
6510
|
return entries;
|
|
6516
6511
|
};
|
|
6517
6512
|
var serializeAws_queryDeleteCacheParameterGroupMessage = function (input, context) {
|
|
6518
6513
|
var entries = {};
|
|
6519
|
-
if (input.CacheParameterGroupName
|
|
6514
|
+
if (input.CacheParameterGroupName != null) {
|
|
6520
6515
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
6521
6516
|
}
|
|
6522
6517
|
return entries;
|
|
6523
6518
|
};
|
|
6524
6519
|
var serializeAws_queryDeleteCacheSecurityGroupMessage = function (input, context) {
|
|
6525
6520
|
var entries = {};
|
|
6526
|
-
if (input.CacheSecurityGroupName
|
|
6521
|
+
if (input.CacheSecurityGroupName != null) {
|
|
6527
6522
|
entries["CacheSecurityGroupName"] = input.CacheSecurityGroupName;
|
|
6528
6523
|
}
|
|
6529
6524
|
return entries;
|
|
6530
6525
|
};
|
|
6531
6526
|
var serializeAws_queryDeleteCacheSubnetGroupMessage = function (input, context) {
|
|
6532
6527
|
var entries = {};
|
|
6533
|
-
if (input.CacheSubnetGroupName
|
|
6528
|
+
if (input.CacheSubnetGroupName != null) {
|
|
6534
6529
|
entries["CacheSubnetGroupName"] = input.CacheSubnetGroupName;
|
|
6535
6530
|
}
|
|
6536
6531
|
return entries;
|
|
6537
6532
|
};
|
|
6538
6533
|
var serializeAws_queryDeleteGlobalReplicationGroupMessage = function (input, context) {
|
|
6539
6534
|
var entries = {};
|
|
6540
|
-
if (input.GlobalReplicationGroupId
|
|
6535
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
6541
6536
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
6542
6537
|
}
|
|
6543
|
-
if (input.RetainPrimaryReplicationGroup
|
|
6538
|
+
if (input.RetainPrimaryReplicationGroup != null) {
|
|
6544
6539
|
entries["RetainPrimaryReplicationGroup"] = input.RetainPrimaryReplicationGroup;
|
|
6545
6540
|
}
|
|
6546
6541
|
return entries;
|
|
6547
6542
|
};
|
|
6548
6543
|
var serializeAws_queryDeleteReplicationGroupMessage = function (input, context) {
|
|
6549
6544
|
var entries = {};
|
|
6550
|
-
if (input.ReplicationGroupId
|
|
6545
|
+
if (input.ReplicationGroupId != null) {
|
|
6551
6546
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6552
6547
|
}
|
|
6553
|
-
if (input.RetainPrimaryCluster
|
|
6548
|
+
if (input.RetainPrimaryCluster != null) {
|
|
6554
6549
|
entries["RetainPrimaryCluster"] = input.RetainPrimaryCluster;
|
|
6555
6550
|
}
|
|
6556
|
-
if (input.FinalSnapshotIdentifier
|
|
6551
|
+
if (input.FinalSnapshotIdentifier != null) {
|
|
6557
6552
|
entries["FinalSnapshotIdentifier"] = input.FinalSnapshotIdentifier;
|
|
6558
6553
|
}
|
|
6559
6554
|
return entries;
|
|
6560
6555
|
};
|
|
6561
6556
|
var serializeAws_queryDeleteSnapshotMessage = function (input, context) {
|
|
6562
6557
|
var entries = {};
|
|
6563
|
-
if (input.SnapshotName
|
|
6558
|
+
if (input.SnapshotName != null) {
|
|
6564
6559
|
entries["SnapshotName"] = input.SnapshotName;
|
|
6565
6560
|
}
|
|
6566
6561
|
return entries;
|
|
6567
6562
|
};
|
|
6568
6563
|
var serializeAws_queryDeleteUserGroupMessage = function (input, context) {
|
|
6569
6564
|
var entries = {};
|
|
6570
|
-
if (input.UserGroupId
|
|
6565
|
+
if (input.UserGroupId != null) {
|
|
6571
6566
|
entries["UserGroupId"] = input.UserGroupId;
|
|
6572
6567
|
}
|
|
6573
6568
|
return entries;
|
|
6574
6569
|
};
|
|
6575
6570
|
var serializeAws_queryDeleteUserMessage = function (input, context) {
|
|
6576
6571
|
var entries = {};
|
|
6577
|
-
if (input.UserId
|
|
6572
|
+
if (input.UserId != null) {
|
|
6578
6573
|
entries["UserId"] = input.UserId;
|
|
6579
6574
|
}
|
|
6580
6575
|
return entries;
|
|
6581
6576
|
};
|
|
6582
6577
|
var serializeAws_queryDescribeCacheClustersMessage = function (input, context) {
|
|
6583
6578
|
var entries = {};
|
|
6584
|
-
if (input.CacheClusterId
|
|
6579
|
+
if (input.CacheClusterId != null) {
|
|
6585
6580
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
6586
6581
|
}
|
|
6587
|
-
if (input.MaxRecords
|
|
6582
|
+
if (input.MaxRecords != null) {
|
|
6588
6583
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6589
6584
|
}
|
|
6590
|
-
if (input.Marker
|
|
6585
|
+
if (input.Marker != null) {
|
|
6591
6586
|
entries["Marker"] = input.Marker;
|
|
6592
6587
|
}
|
|
6593
|
-
if (input.ShowCacheNodeInfo
|
|
6588
|
+
if (input.ShowCacheNodeInfo != null) {
|
|
6594
6589
|
entries["ShowCacheNodeInfo"] = input.ShowCacheNodeInfo;
|
|
6595
6590
|
}
|
|
6596
|
-
if (input.ShowCacheClustersNotInReplicationGroups
|
|
6597
|
-
input.ShowCacheClustersNotInReplicationGroups !== null) {
|
|
6591
|
+
if (input.ShowCacheClustersNotInReplicationGroups != null) {
|
|
6598
6592
|
entries["ShowCacheClustersNotInReplicationGroups"] = input.ShowCacheClustersNotInReplicationGroups;
|
|
6599
6593
|
}
|
|
6600
6594
|
return entries;
|
|
6601
6595
|
};
|
|
6602
6596
|
var serializeAws_queryDescribeCacheEngineVersionsMessage = function (input, context) {
|
|
6603
6597
|
var entries = {};
|
|
6604
|
-
if (input.Engine
|
|
6598
|
+
if (input.Engine != null) {
|
|
6605
6599
|
entries["Engine"] = input.Engine;
|
|
6606
6600
|
}
|
|
6607
|
-
if (input.EngineVersion
|
|
6601
|
+
if (input.EngineVersion != null) {
|
|
6608
6602
|
entries["EngineVersion"] = input.EngineVersion;
|
|
6609
6603
|
}
|
|
6610
|
-
if (input.CacheParameterGroupFamily
|
|
6604
|
+
if (input.CacheParameterGroupFamily != null) {
|
|
6611
6605
|
entries["CacheParameterGroupFamily"] = input.CacheParameterGroupFamily;
|
|
6612
6606
|
}
|
|
6613
|
-
if (input.MaxRecords
|
|
6607
|
+
if (input.MaxRecords != null) {
|
|
6614
6608
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6615
6609
|
}
|
|
6616
|
-
if (input.Marker
|
|
6610
|
+
if (input.Marker != null) {
|
|
6617
6611
|
entries["Marker"] = input.Marker;
|
|
6618
6612
|
}
|
|
6619
|
-
if (input.DefaultOnly
|
|
6613
|
+
if (input.DefaultOnly != null) {
|
|
6620
6614
|
entries["DefaultOnly"] = input.DefaultOnly;
|
|
6621
6615
|
}
|
|
6622
6616
|
return entries;
|
|
6623
6617
|
};
|
|
6624
6618
|
var serializeAws_queryDescribeCacheParameterGroupsMessage = function (input, context) {
|
|
6625
6619
|
var entries = {};
|
|
6626
|
-
if (input.CacheParameterGroupName
|
|
6620
|
+
if (input.CacheParameterGroupName != null) {
|
|
6627
6621
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
6628
6622
|
}
|
|
6629
|
-
if (input.MaxRecords
|
|
6623
|
+
if (input.MaxRecords != null) {
|
|
6630
6624
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6631
6625
|
}
|
|
6632
|
-
if (input.Marker
|
|
6626
|
+
if (input.Marker != null) {
|
|
6633
6627
|
entries["Marker"] = input.Marker;
|
|
6634
6628
|
}
|
|
6635
6629
|
return entries;
|
|
6636
6630
|
};
|
|
6637
6631
|
var serializeAws_queryDescribeCacheParametersMessage = function (input, context) {
|
|
6638
6632
|
var entries = {};
|
|
6639
|
-
if (input.CacheParameterGroupName
|
|
6633
|
+
if (input.CacheParameterGroupName != null) {
|
|
6640
6634
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
6641
6635
|
}
|
|
6642
|
-
if (input.Source
|
|
6636
|
+
if (input.Source != null) {
|
|
6643
6637
|
entries["Source"] = input.Source;
|
|
6644
6638
|
}
|
|
6645
|
-
if (input.MaxRecords
|
|
6639
|
+
if (input.MaxRecords != null) {
|
|
6646
6640
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6647
6641
|
}
|
|
6648
|
-
if (input.Marker
|
|
6642
|
+
if (input.Marker != null) {
|
|
6649
6643
|
entries["Marker"] = input.Marker;
|
|
6650
6644
|
}
|
|
6651
6645
|
return entries;
|
|
6652
6646
|
};
|
|
6653
6647
|
var serializeAws_queryDescribeCacheSecurityGroupsMessage = function (input, context) {
|
|
6654
6648
|
var entries = {};
|
|
6655
|
-
if (input.CacheSecurityGroupName
|
|
6649
|
+
if (input.CacheSecurityGroupName != null) {
|
|
6656
6650
|
entries["CacheSecurityGroupName"] = input.CacheSecurityGroupName;
|
|
6657
6651
|
}
|
|
6658
|
-
if (input.MaxRecords
|
|
6652
|
+
if (input.MaxRecords != null) {
|
|
6659
6653
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6660
6654
|
}
|
|
6661
|
-
if (input.Marker
|
|
6655
|
+
if (input.Marker != null) {
|
|
6662
6656
|
entries["Marker"] = input.Marker;
|
|
6663
6657
|
}
|
|
6664
6658
|
return entries;
|
|
6665
6659
|
};
|
|
6666
6660
|
var serializeAws_queryDescribeCacheSubnetGroupsMessage = function (input, context) {
|
|
6667
6661
|
var entries = {};
|
|
6668
|
-
if (input.CacheSubnetGroupName
|
|
6662
|
+
if (input.CacheSubnetGroupName != null) {
|
|
6669
6663
|
entries["CacheSubnetGroupName"] = input.CacheSubnetGroupName;
|
|
6670
6664
|
}
|
|
6671
|
-
if (input.MaxRecords
|
|
6665
|
+
if (input.MaxRecords != null) {
|
|
6672
6666
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6673
6667
|
}
|
|
6674
|
-
if (input.Marker
|
|
6668
|
+
if (input.Marker != null) {
|
|
6675
6669
|
entries["Marker"] = input.Marker;
|
|
6676
6670
|
}
|
|
6677
6671
|
return entries;
|
|
6678
6672
|
};
|
|
6679
6673
|
var serializeAws_queryDescribeEngineDefaultParametersMessage = function (input, context) {
|
|
6680
6674
|
var entries = {};
|
|
6681
|
-
if (input.CacheParameterGroupFamily
|
|
6675
|
+
if (input.CacheParameterGroupFamily != null) {
|
|
6682
6676
|
entries["CacheParameterGroupFamily"] = input.CacheParameterGroupFamily;
|
|
6683
6677
|
}
|
|
6684
|
-
if (input.MaxRecords
|
|
6678
|
+
if (input.MaxRecords != null) {
|
|
6685
6679
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6686
6680
|
}
|
|
6687
|
-
if (input.Marker
|
|
6681
|
+
if (input.Marker != null) {
|
|
6688
6682
|
entries["Marker"] = input.Marker;
|
|
6689
6683
|
}
|
|
6690
6684
|
return entries;
|
|
6691
6685
|
};
|
|
6692
6686
|
var serializeAws_queryDescribeEventsMessage = function (input, context) {
|
|
6693
6687
|
var entries = {};
|
|
6694
|
-
if (input.SourceIdentifier
|
|
6688
|
+
if (input.SourceIdentifier != null) {
|
|
6695
6689
|
entries["SourceIdentifier"] = input.SourceIdentifier;
|
|
6696
6690
|
}
|
|
6697
|
-
if (input.SourceType
|
|
6691
|
+
if (input.SourceType != null) {
|
|
6698
6692
|
entries["SourceType"] = input.SourceType;
|
|
6699
6693
|
}
|
|
6700
|
-
if (input.StartTime
|
|
6694
|
+
if (input.StartTime != null) {
|
|
6701
6695
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
6702
6696
|
}
|
|
6703
|
-
if (input.EndTime
|
|
6697
|
+
if (input.EndTime != null) {
|
|
6704
6698
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
6705
6699
|
}
|
|
6706
|
-
if (input.Duration
|
|
6700
|
+
if (input.Duration != null) {
|
|
6707
6701
|
entries["Duration"] = input.Duration;
|
|
6708
6702
|
}
|
|
6709
|
-
if (input.MaxRecords
|
|
6703
|
+
if (input.MaxRecords != null) {
|
|
6710
6704
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6711
6705
|
}
|
|
6712
|
-
if (input.Marker
|
|
6706
|
+
if (input.Marker != null) {
|
|
6713
6707
|
entries["Marker"] = input.Marker;
|
|
6714
6708
|
}
|
|
6715
6709
|
return entries;
|
|
6716
6710
|
};
|
|
6717
6711
|
var serializeAws_queryDescribeGlobalReplicationGroupsMessage = function (input, context) {
|
|
6718
6712
|
var entries = {};
|
|
6719
|
-
if (input.GlobalReplicationGroupId
|
|
6713
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
6720
6714
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
6721
6715
|
}
|
|
6722
|
-
if (input.MaxRecords
|
|
6716
|
+
if (input.MaxRecords != null) {
|
|
6723
6717
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6724
6718
|
}
|
|
6725
|
-
if (input.Marker
|
|
6719
|
+
if (input.Marker != null) {
|
|
6726
6720
|
entries["Marker"] = input.Marker;
|
|
6727
6721
|
}
|
|
6728
|
-
if (input.ShowMemberInfo
|
|
6722
|
+
if (input.ShowMemberInfo != null) {
|
|
6729
6723
|
entries["ShowMemberInfo"] = input.ShowMemberInfo;
|
|
6730
6724
|
}
|
|
6731
6725
|
return entries;
|
|
6732
6726
|
};
|
|
6733
6727
|
var serializeAws_queryDescribeReplicationGroupsMessage = function (input, context) {
|
|
6734
6728
|
var entries = {};
|
|
6735
|
-
if (input.ReplicationGroupId
|
|
6729
|
+
if (input.ReplicationGroupId != null) {
|
|
6736
6730
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6737
6731
|
}
|
|
6738
|
-
if (input.MaxRecords
|
|
6732
|
+
if (input.MaxRecords != null) {
|
|
6739
6733
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6740
6734
|
}
|
|
6741
|
-
if (input.Marker
|
|
6735
|
+
if (input.Marker != null) {
|
|
6742
6736
|
entries["Marker"] = input.Marker;
|
|
6743
6737
|
}
|
|
6744
6738
|
return entries;
|
|
6745
6739
|
};
|
|
6746
6740
|
var serializeAws_queryDescribeReservedCacheNodesMessage = function (input, context) {
|
|
6747
6741
|
var entries = {};
|
|
6748
|
-
if (input.ReservedCacheNodeId
|
|
6742
|
+
if (input.ReservedCacheNodeId != null) {
|
|
6749
6743
|
entries["ReservedCacheNodeId"] = input.ReservedCacheNodeId;
|
|
6750
6744
|
}
|
|
6751
|
-
if (input.ReservedCacheNodesOfferingId
|
|
6745
|
+
if (input.ReservedCacheNodesOfferingId != null) {
|
|
6752
6746
|
entries["ReservedCacheNodesOfferingId"] = input.ReservedCacheNodesOfferingId;
|
|
6753
6747
|
}
|
|
6754
|
-
if (input.CacheNodeType
|
|
6748
|
+
if (input.CacheNodeType != null) {
|
|
6755
6749
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
6756
6750
|
}
|
|
6757
|
-
if (input.Duration
|
|
6751
|
+
if (input.Duration != null) {
|
|
6758
6752
|
entries["Duration"] = input.Duration;
|
|
6759
6753
|
}
|
|
6760
|
-
if (input.ProductDescription
|
|
6754
|
+
if (input.ProductDescription != null) {
|
|
6761
6755
|
entries["ProductDescription"] = input.ProductDescription;
|
|
6762
6756
|
}
|
|
6763
|
-
if (input.OfferingType
|
|
6757
|
+
if (input.OfferingType != null) {
|
|
6764
6758
|
entries["OfferingType"] = input.OfferingType;
|
|
6765
6759
|
}
|
|
6766
|
-
if (input.MaxRecords
|
|
6760
|
+
if (input.MaxRecords != null) {
|
|
6767
6761
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6768
6762
|
}
|
|
6769
|
-
if (input.Marker
|
|
6763
|
+
if (input.Marker != null) {
|
|
6770
6764
|
entries["Marker"] = input.Marker;
|
|
6771
6765
|
}
|
|
6772
6766
|
return entries;
|
|
6773
6767
|
};
|
|
6774
6768
|
var serializeAws_queryDescribeReservedCacheNodesOfferingsMessage = function (input, context) {
|
|
6775
6769
|
var entries = {};
|
|
6776
|
-
if (input.ReservedCacheNodesOfferingId
|
|
6770
|
+
if (input.ReservedCacheNodesOfferingId != null) {
|
|
6777
6771
|
entries["ReservedCacheNodesOfferingId"] = input.ReservedCacheNodesOfferingId;
|
|
6778
6772
|
}
|
|
6779
|
-
if (input.CacheNodeType
|
|
6773
|
+
if (input.CacheNodeType != null) {
|
|
6780
6774
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
6781
6775
|
}
|
|
6782
|
-
if (input.Duration
|
|
6776
|
+
if (input.Duration != null) {
|
|
6783
6777
|
entries["Duration"] = input.Duration;
|
|
6784
6778
|
}
|
|
6785
|
-
if (input.ProductDescription
|
|
6779
|
+
if (input.ProductDescription != null) {
|
|
6786
6780
|
entries["ProductDescription"] = input.ProductDescription;
|
|
6787
6781
|
}
|
|
6788
|
-
if (input.OfferingType
|
|
6782
|
+
if (input.OfferingType != null) {
|
|
6789
6783
|
entries["OfferingType"] = input.OfferingType;
|
|
6790
6784
|
}
|
|
6791
|
-
if (input.MaxRecords
|
|
6785
|
+
if (input.MaxRecords != null) {
|
|
6792
6786
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6793
6787
|
}
|
|
6794
|
-
if (input.Marker
|
|
6788
|
+
if (input.Marker != null) {
|
|
6795
6789
|
entries["Marker"] = input.Marker;
|
|
6796
6790
|
}
|
|
6797
6791
|
return entries;
|
|
6798
6792
|
};
|
|
6799
6793
|
var serializeAws_queryDescribeServiceUpdatesMessage = function (input, context) {
|
|
6800
6794
|
var entries = {};
|
|
6801
|
-
if (input.ServiceUpdateName
|
|
6795
|
+
if (input.ServiceUpdateName != null) {
|
|
6802
6796
|
entries["ServiceUpdateName"] = input.ServiceUpdateName;
|
|
6803
6797
|
}
|
|
6804
|
-
if (input.ServiceUpdateStatus
|
|
6798
|
+
if (input.ServiceUpdateStatus != null) {
|
|
6805
6799
|
var memberEntries = serializeAws_queryServiceUpdateStatusList(input.ServiceUpdateStatus, context);
|
|
6806
6800
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6807
6801
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6809,45 +6803,45 @@ var serializeAws_queryDescribeServiceUpdatesMessage = function (input, context)
|
|
|
6809
6803
|
entries[loc] = value;
|
|
6810
6804
|
});
|
|
6811
6805
|
}
|
|
6812
|
-
if (input.MaxRecords
|
|
6806
|
+
if (input.MaxRecords != null) {
|
|
6813
6807
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6814
6808
|
}
|
|
6815
|
-
if (input.Marker
|
|
6809
|
+
if (input.Marker != null) {
|
|
6816
6810
|
entries["Marker"] = input.Marker;
|
|
6817
6811
|
}
|
|
6818
6812
|
return entries;
|
|
6819
6813
|
};
|
|
6820
6814
|
var serializeAws_queryDescribeSnapshotsMessage = function (input, context) {
|
|
6821
6815
|
var entries = {};
|
|
6822
|
-
if (input.ReplicationGroupId
|
|
6816
|
+
if (input.ReplicationGroupId != null) {
|
|
6823
6817
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6824
6818
|
}
|
|
6825
|
-
if (input.CacheClusterId
|
|
6819
|
+
if (input.CacheClusterId != null) {
|
|
6826
6820
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
6827
6821
|
}
|
|
6828
|
-
if (input.SnapshotName
|
|
6822
|
+
if (input.SnapshotName != null) {
|
|
6829
6823
|
entries["SnapshotName"] = input.SnapshotName;
|
|
6830
6824
|
}
|
|
6831
|
-
if (input.SnapshotSource
|
|
6825
|
+
if (input.SnapshotSource != null) {
|
|
6832
6826
|
entries["SnapshotSource"] = input.SnapshotSource;
|
|
6833
6827
|
}
|
|
6834
|
-
if (input.Marker
|
|
6828
|
+
if (input.Marker != null) {
|
|
6835
6829
|
entries["Marker"] = input.Marker;
|
|
6836
6830
|
}
|
|
6837
|
-
if (input.MaxRecords
|
|
6831
|
+
if (input.MaxRecords != null) {
|
|
6838
6832
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6839
6833
|
}
|
|
6840
|
-
if (input.ShowNodeGroupConfig
|
|
6834
|
+
if (input.ShowNodeGroupConfig != null) {
|
|
6841
6835
|
entries["ShowNodeGroupConfig"] = input.ShowNodeGroupConfig;
|
|
6842
6836
|
}
|
|
6843
6837
|
return entries;
|
|
6844
6838
|
};
|
|
6845
6839
|
var serializeAws_queryDescribeUpdateActionsMessage = function (input, context) {
|
|
6846
6840
|
var entries = {};
|
|
6847
|
-
if (input.ServiceUpdateName
|
|
6841
|
+
if (input.ServiceUpdateName != null) {
|
|
6848
6842
|
entries["ServiceUpdateName"] = input.ServiceUpdateName;
|
|
6849
6843
|
}
|
|
6850
|
-
if (input.ReplicationGroupIds
|
|
6844
|
+
if (input.ReplicationGroupIds != null) {
|
|
6851
6845
|
var memberEntries = serializeAws_queryReplicationGroupIdList(input.ReplicationGroupIds, context);
|
|
6852
6846
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6853
6847
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6855,7 +6849,7 @@ var serializeAws_queryDescribeUpdateActionsMessage = function (input, context) {
|
|
|
6855
6849
|
entries[loc] = value;
|
|
6856
6850
|
});
|
|
6857
6851
|
}
|
|
6858
|
-
if (input.CacheClusterIds
|
|
6852
|
+
if (input.CacheClusterIds != null) {
|
|
6859
6853
|
var memberEntries = serializeAws_queryCacheClusterIdList(input.CacheClusterIds, context);
|
|
6860
6854
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6861
6855
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6863,10 +6857,10 @@ var serializeAws_queryDescribeUpdateActionsMessage = function (input, context) {
|
|
|
6863
6857
|
entries[loc] = value;
|
|
6864
6858
|
});
|
|
6865
6859
|
}
|
|
6866
|
-
if (input.Engine
|
|
6860
|
+
if (input.Engine != null) {
|
|
6867
6861
|
entries["Engine"] = input.Engine;
|
|
6868
6862
|
}
|
|
6869
|
-
if (input.ServiceUpdateStatus
|
|
6863
|
+
if (input.ServiceUpdateStatus != null) {
|
|
6870
6864
|
var memberEntries = serializeAws_queryServiceUpdateStatusList(input.ServiceUpdateStatus, context);
|
|
6871
6865
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6872
6866
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6874,7 +6868,7 @@ var serializeAws_queryDescribeUpdateActionsMessage = function (input, context) {
|
|
|
6874
6868
|
entries[loc] = value;
|
|
6875
6869
|
});
|
|
6876
6870
|
}
|
|
6877
|
-
if (input.ServiceUpdateTimeRange
|
|
6871
|
+
if (input.ServiceUpdateTimeRange != null) {
|
|
6878
6872
|
var memberEntries = serializeAws_queryTimeRangeFilter(input.ServiceUpdateTimeRange, context);
|
|
6879
6873
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6880
6874
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6882,7 +6876,7 @@ var serializeAws_queryDescribeUpdateActionsMessage = function (input, context) {
|
|
|
6882
6876
|
entries[loc] = value;
|
|
6883
6877
|
});
|
|
6884
6878
|
}
|
|
6885
|
-
if (input.UpdateActionStatus
|
|
6879
|
+
if (input.UpdateActionStatus != null) {
|
|
6886
6880
|
var memberEntries = serializeAws_queryUpdateActionStatusList(input.UpdateActionStatus, context);
|
|
6887
6881
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6888
6882
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6890,39 +6884,39 @@ var serializeAws_queryDescribeUpdateActionsMessage = function (input, context) {
|
|
|
6890
6884
|
entries[loc] = value;
|
|
6891
6885
|
});
|
|
6892
6886
|
}
|
|
6893
|
-
if (input.ShowNodeLevelUpdateStatus
|
|
6887
|
+
if (input.ShowNodeLevelUpdateStatus != null) {
|
|
6894
6888
|
entries["ShowNodeLevelUpdateStatus"] = input.ShowNodeLevelUpdateStatus;
|
|
6895
6889
|
}
|
|
6896
|
-
if (input.MaxRecords
|
|
6890
|
+
if (input.MaxRecords != null) {
|
|
6897
6891
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6898
6892
|
}
|
|
6899
|
-
if (input.Marker
|
|
6893
|
+
if (input.Marker != null) {
|
|
6900
6894
|
entries["Marker"] = input.Marker;
|
|
6901
6895
|
}
|
|
6902
6896
|
return entries;
|
|
6903
6897
|
};
|
|
6904
6898
|
var serializeAws_queryDescribeUserGroupsMessage = function (input, context) {
|
|
6905
6899
|
var entries = {};
|
|
6906
|
-
if (input.UserGroupId
|
|
6900
|
+
if (input.UserGroupId != null) {
|
|
6907
6901
|
entries["UserGroupId"] = input.UserGroupId;
|
|
6908
6902
|
}
|
|
6909
|
-
if (input.MaxRecords
|
|
6903
|
+
if (input.MaxRecords != null) {
|
|
6910
6904
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6911
6905
|
}
|
|
6912
|
-
if (input.Marker
|
|
6906
|
+
if (input.Marker != null) {
|
|
6913
6907
|
entries["Marker"] = input.Marker;
|
|
6914
6908
|
}
|
|
6915
6909
|
return entries;
|
|
6916
6910
|
};
|
|
6917
6911
|
var serializeAws_queryDescribeUsersMessage = function (input, context) {
|
|
6918
6912
|
var entries = {};
|
|
6919
|
-
if (input.Engine
|
|
6913
|
+
if (input.Engine != null) {
|
|
6920
6914
|
entries["Engine"] = input.Engine;
|
|
6921
6915
|
}
|
|
6922
|
-
if (input.UserId
|
|
6916
|
+
if (input.UserId != null) {
|
|
6923
6917
|
entries["UserId"] = input.UserId;
|
|
6924
6918
|
}
|
|
6925
|
-
if (input.Filters
|
|
6919
|
+
if (input.Filters != null) {
|
|
6926
6920
|
var memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
6927
6921
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6928
6922
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6930,17 +6924,17 @@ var serializeAws_queryDescribeUsersMessage = function (input, context) {
|
|
|
6930
6924
|
entries[loc] = value;
|
|
6931
6925
|
});
|
|
6932
6926
|
}
|
|
6933
|
-
if (input.MaxRecords
|
|
6927
|
+
if (input.MaxRecords != null) {
|
|
6934
6928
|
entries["MaxRecords"] = input.MaxRecords;
|
|
6935
6929
|
}
|
|
6936
|
-
if (input.Marker
|
|
6930
|
+
if (input.Marker != null) {
|
|
6937
6931
|
entries["Marker"] = input.Marker;
|
|
6938
6932
|
}
|
|
6939
6933
|
return entries;
|
|
6940
6934
|
};
|
|
6941
6935
|
var serializeAws_queryDestinationDetails = function (input, context) {
|
|
6942
6936
|
var entries = {};
|
|
6943
|
-
if (input.CloudWatchLogsDetails
|
|
6937
|
+
if (input.CloudWatchLogsDetails != null) {
|
|
6944
6938
|
var memberEntries = serializeAws_queryCloudWatchLogsDestinationDetails(input.CloudWatchLogsDetails, context);
|
|
6945
6939
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6946
6940
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6948,7 +6942,7 @@ var serializeAws_queryDestinationDetails = function (input, context) {
|
|
|
6948
6942
|
entries[loc] = value;
|
|
6949
6943
|
});
|
|
6950
6944
|
}
|
|
6951
|
-
if (input.KinesisFirehoseDetails
|
|
6945
|
+
if (input.KinesisFirehoseDetails != null) {
|
|
6952
6946
|
var memberEntries = serializeAws_queryKinesisFirehoseDestinationDetails(input.KinesisFirehoseDetails, context);
|
|
6953
6947
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6954
6948
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -6960,36 +6954,36 @@ var serializeAws_queryDestinationDetails = function (input, context) {
|
|
|
6960
6954
|
};
|
|
6961
6955
|
var serializeAws_queryDisassociateGlobalReplicationGroupMessage = function (input, context) {
|
|
6962
6956
|
var entries = {};
|
|
6963
|
-
if (input.GlobalReplicationGroupId
|
|
6957
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
6964
6958
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
6965
6959
|
}
|
|
6966
|
-
if (input.ReplicationGroupId
|
|
6960
|
+
if (input.ReplicationGroupId != null) {
|
|
6967
6961
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
6968
6962
|
}
|
|
6969
|
-
if (input.ReplicationGroupRegion
|
|
6963
|
+
if (input.ReplicationGroupRegion != null) {
|
|
6970
6964
|
entries["ReplicationGroupRegion"] = input.ReplicationGroupRegion;
|
|
6971
6965
|
}
|
|
6972
6966
|
return entries;
|
|
6973
6967
|
};
|
|
6974
6968
|
var serializeAws_queryFailoverGlobalReplicationGroupMessage = function (input, context) {
|
|
6975
6969
|
var entries = {};
|
|
6976
|
-
if (input.GlobalReplicationGroupId
|
|
6970
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
6977
6971
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
6978
6972
|
}
|
|
6979
|
-
if (input.PrimaryRegion
|
|
6973
|
+
if (input.PrimaryRegion != null) {
|
|
6980
6974
|
entries["PrimaryRegion"] = input.PrimaryRegion;
|
|
6981
6975
|
}
|
|
6982
|
-
if (input.PrimaryReplicationGroupId
|
|
6976
|
+
if (input.PrimaryReplicationGroupId != null) {
|
|
6983
6977
|
entries["PrimaryReplicationGroupId"] = input.PrimaryReplicationGroupId;
|
|
6984
6978
|
}
|
|
6985
6979
|
return entries;
|
|
6986
6980
|
};
|
|
6987
6981
|
var serializeAws_queryFilter = function (input, context) {
|
|
6988
6982
|
var entries = {};
|
|
6989
|
-
if (input.Name
|
|
6983
|
+
if (input.Name != null) {
|
|
6990
6984
|
entries["Name"] = input.Name;
|
|
6991
6985
|
}
|
|
6992
|
-
if (input.Values
|
|
6986
|
+
if (input.Values != null) {
|
|
6993
6987
|
var memberEntries = serializeAws_queryFilterValueList(input.Values, context);
|
|
6994
6988
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6995
6989
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7074,13 +7068,13 @@ var serializeAws_queryGlobalNodeGroupIdList = function (input, context) {
|
|
|
7074
7068
|
};
|
|
7075
7069
|
var serializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupMessage = function (input, context) {
|
|
7076
7070
|
var entries = {};
|
|
7077
|
-
if (input.GlobalReplicationGroupId
|
|
7071
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
7078
7072
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
7079
7073
|
}
|
|
7080
|
-
if (input.NodeGroupCount
|
|
7074
|
+
if (input.NodeGroupCount != null) {
|
|
7081
7075
|
entries["NodeGroupCount"] = input.NodeGroupCount;
|
|
7082
7076
|
}
|
|
7083
|
-
if (input.RegionalConfigurations
|
|
7077
|
+
if (input.RegionalConfigurations != null) {
|
|
7084
7078
|
var memberEntries = serializeAws_queryRegionalConfigurationList(input.RegionalConfigurations, context);
|
|
7085
7079
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7086
7080
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7088,20 +7082,20 @@ var serializeAws_queryIncreaseNodeGroupsInGlobalReplicationGroupMessage = functi
|
|
|
7088
7082
|
entries[loc] = value;
|
|
7089
7083
|
});
|
|
7090
7084
|
}
|
|
7091
|
-
if (input.ApplyImmediately
|
|
7085
|
+
if (input.ApplyImmediately != null) {
|
|
7092
7086
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7093
7087
|
}
|
|
7094
7088
|
return entries;
|
|
7095
7089
|
};
|
|
7096
7090
|
var serializeAws_queryIncreaseReplicaCountMessage = function (input, context) {
|
|
7097
7091
|
var entries = {};
|
|
7098
|
-
if (input.ReplicationGroupId
|
|
7092
|
+
if (input.ReplicationGroupId != null) {
|
|
7099
7093
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
7100
7094
|
}
|
|
7101
|
-
if (input.NewReplicaCount
|
|
7095
|
+
if (input.NewReplicaCount != null) {
|
|
7102
7096
|
entries["NewReplicaCount"] = input.NewReplicaCount;
|
|
7103
7097
|
}
|
|
7104
|
-
if (input.ReplicaConfiguration
|
|
7098
|
+
if (input.ReplicaConfiguration != null) {
|
|
7105
7099
|
var memberEntries = serializeAws_queryReplicaConfigurationList(input.ReplicaConfiguration, context);
|
|
7106
7100
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7107
7101
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7109,7 +7103,7 @@ var serializeAws_queryIncreaseReplicaCountMessage = function (input, context) {
|
|
|
7109
7103
|
entries[loc] = value;
|
|
7110
7104
|
});
|
|
7111
7105
|
}
|
|
7112
|
-
if (input.ApplyImmediately
|
|
7106
|
+
if (input.ApplyImmediately != null) {
|
|
7113
7107
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7114
7108
|
}
|
|
7115
7109
|
return entries;
|
|
@@ -7139,37 +7133,37 @@ var serializeAws_queryKeyList = function (input, context) {
|
|
|
7139
7133
|
};
|
|
7140
7134
|
var serializeAws_queryKinesisFirehoseDestinationDetails = function (input, context) {
|
|
7141
7135
|
var entries = {};
|
|
7142
|
-
if (input.DeliveryStream
|
|
7136
|
+
if (input.DeliveryStream != null) {
|
|
7143
7137
|
entries["DeliveryStream"] = input.DeliveryStream;
|
|
7144
7138
|
}
|
|
7145
7139
|
return entries;
|
|
7146
7140
|
};
|
|
7147
7141
|
var serializeAws_queryListAllowedNodeTypeModificationsMessage = function (input, context) {
|
|
7148
7142
|
var entries = {};
|
|
7149
|
-
if (input.CacheClusterId
|
|
7143
|
+
if (input.CacheClusterId != null) {
|
|
7150
7144
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
7151
7145
|
}
|
|
7152
|
-
if (input.ReplicationGroupId
|
|
7146
|
+
if (input.ReplicationGroupId != null) {
|
|
7153
7147
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
7154
7148
|
}
|
|
7155
7149
|
return entries;
|
|
7156
7150
|
};
|
|
7157
7151
|
var serializeAws_queryListTagsForResourceMessage = function (input, context) {
|
|
7158
7152
|
var entries = {};
|
|
7159
|
-
if (input.ResourceName
|
|
7153
|
+
if (input.ResourceName != null) {
|
|
7160
7154
|
entries["ResourceName"] = input.ResourceName;
|
|
7161
7155
|
}
|
|
7162
7156
|
return entries;
|
|
7163
7157
|
};
|
|
7164
7158
|
var serializeAws_queryLogDeliveryConfigurationRequest = function (input, context) {
|
|
7165
7159
|
var entries = {};
|
|
7166
|
-
if (input.LogType
|
|
7160
|
+
if (input.LogType != null) {
|
|
7167
7161
|
entries["LogType"] = input.LogType;
|
|
7168
7162
|
}
|
|
7169
|
-
if (input.DestinationType
|
|
7163
|
+
if (input.DestinationType != null) {
|
|
7170
7164
|
entries["DestinationType"] = input.DestinationType;
|
|
7171
7165
|
}
|
|
7172
|
-
if (input.DestinationDetails
|
|
7166
|
+
if (input.DestinationDetails != null) {
|
|
7173
7167
|
var memberEntries = serializeAws_queryDestinationDetails(input.DestinationDetails, context);
|
|
7174
7168
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7175
7169
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7177,10 +7171,10 @@ var serializeAws_queryLogDeliveryConfigurationRequest = function (input, context
|
|
|
7177
7171
|
entries[loc] = value;
|
|
7178
7172
|
});
|
|
7179
7173
|
}
|
|
7180
|
-
if (input.LogFormat
|
|
7174
|
+
if (input.LogFormat != null) {
|
|
7181
7175
|
entries["LogFormat"] = input.LogFormat;
|
|
7182
7176
|
}
|
|
7183
|
-
if (input.Enabled
|
|
7177
|
+
if (input.Enabled != null) {
|
|
7184
7178
|
entries["Enabled"] = input.Enabled;
|
|
7185
7179
|
}
|
|
7186
7180
|
return entries;
|
|
@@ -7214,13 +7208,13 @@ var serializeAws_queryLogDeliveryConfigurationRequestList = function (input, con
|
|
|
7214
7208
|
};
|
|
7215
7209
|
var serializeAws_queryModifyCacheClusterMessage = function (input, context) {
|
|
7216
7210
|
var entries = {};
|
|
7217
|
-
if (input.CacheClusterId
|
|
7211
|
+
if (input.CacheClusterId != null) {
|
|
7218
7212
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
7219
7213
|
}
|
|
7220
|
-
if (input.NumCacheNodes
|
|
7214
|
+
if (input.NumCacheNodes != null) {
|
|
7221
7215
|
entries["NumCacheNodes"] = input.NumCacheNodes;
|
|
7222
7216
|
}
|
|
7223
|
-
if (input.CacheNodeIdsToRemove
|
|
7217
|
+
if (input.CacheNodeIdsToRemove != null) {
|
|
7224
7218
|
var memberEntries = serializeAws_queryCacheNodeIdsList(input.CacheNodeIdsToRemove, context);
|
|
7225
7219
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7226
7220
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7228,10 +7222,10 @@ var serializeAws_queryModifyCacheClusterMessage = function (input, context) {
|
|
|
7228
7222
|
entries[loc] = value;
|
|
7229
7223
|
});
|
|
7230
7224
|
}
|
|
7231
|
-
if (input.AZMode
|
|
7225
|
+
if (input.AZMode != null) {
|
|
7232
7226
|
entries["AZMode"] = input.AZMode;
|
|
7233
7227
|
}
|
|
7234
|
-
if (input.NewAvailabilityZones
|
|
7228
|
+
if (input.NewAvailabilityZones != null) {
|
|
7235
7229
|
var memberEntries = serializeAws_queryPreferredAvailabilityZoneList(input.NewAvailabilityZones, context);
|
|
7236
7230
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7237
7231
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7239,7 +7233,7 @@ var serializeAws_queryModifyCacheClusterMessage = function (input, context) {
|
|
|
7239
7233
|
entries[loc] = value;
|
|
7240
7234
|
});
|
|
7241
7235
|
}
|
|
7242
|
-
if (input.CacheSecurityGroupNames
|
|
7236
|
+
if (input.CacheSecurityGroupNames != null) {
|
|
7243
7237
|
var memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
7244
7238
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7245
7239
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7247,7 +7241,7 @@ var serializeAws_queryModifyCacheClusterMessage = function (input, context) {
|
|
|
7247
7241
|
entries[loc] = value;
|
|
7248
7242
|
});
|
|
7249
7243
|
}
|
|
7250
|
-
if (input.SecurityGroupIds
|
|
7244
|
+
if (input.SecurityGroupIds != null) {
|
|
7251
7245
|
var memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
7252
7246
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7253
7247
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7255,43 +7249,43 @@ var serializeAws_queryModifyCacheClusterMessage = function (input, context) {
|
|
|
7255
7249
|
entries[loc] = value;
|
|
7256
7250
|
});
|
|
7257
7251
|
}
|
|
7258
|
-
if (input.PreferredMaintenanceWindow
|
|
7252
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
7259
7253
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
7260
7254
|
}
|
|
7261
|
-
if (input.NotificationTopicArn
|
|
7255
|
+
if (input.NotificationTopicArn != null) {
|
|
7262
7256
|
entries["NotificationTopicArn"] = input.NotificationTopicArn;
|
|
7263
7257
|
}
|
|
7264
|
-
if (input.CacheParameterGroupName
|
|
7258
|
+
if (input.CacheParameterGroupName != null) {
|
|
7265
7259
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
7266
7260
|
}
|
|
7267
|
-
if (input.NotificationTopicStatus
|
|
7261
|
+
if (input.NotificationTopicStatus != null) {
|
|
7268
7262
|
entries["NotificationTopicStatus"] = input.NotificationTopicStatus;
|
|
7269
7263
|
}
|
|
7270
|
-
if (input.ApplyImmediately
|
|
7264
|
+
if (input.ApplyImmediately != null) {
|
|
7271
7265
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7272
7266
|
}
|
|
7273
|
-
if (input.EngineVersion
|
|
7267
|
+
if (input.EngineVersion != null) {
|
|
7274
7268
|
entries["EngineVersion"] = input.EngineVersion;
|
|
7275
7269
|
}
|
|
7276
|
-
if (input.AutoMinorVersionUpgrade
|
|
7270
|
+
if (input.AutoMinorVersionUpgrade != null) {
|
|
7277
7271
|
entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
|
|
7278
7272
|
}
|
|
7279
|
-
if (input.SnapshotRetentionLimit
|
|
7273
|
+
if (input.SnapshotRetentionLimit != null) {
|
|
7280
7274
|
entries["SnapshotRetentionLimit"] = input.SnapshotRetentionLimit;
|
|
7281
7275
|
}
|
|
7282
|
-
if (input.SnapshotWindow
|
|
7276
|
+
if (input.SnapshotWindow != null) {
|
|
7283
7277
|
entries["SnapshotWindow"] = input.SnapshotWindow;
|
|
7284
7278
|
}
|
|
7285
|
-
if (input.CacheNodeType
|
|
7279
|
+
if (input.CacheNodeType != null) {
|
|
7286
7280
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
7287
7281
|
}
|
|
7288
|
-
if (input.AuthToken
|
|
7282
|
+
if (input.AuthToken != null) {
|
|
7289
7283
|
entries["AuthToken"] = input.AuthToken;
|
|
7290
7284
|
}
|
|
7291
|
-
if (input.AuthTokenUpdateStrategy
|
|
7285
|
+
if (input.AuthTokenUpdateStrategy != null) {
|
|
7292
7286
|
entries["AuthTokenUpdateStrategy"] = input.AuthTokenUpdateStrategy;
|
|
7293
7287
|
}
|
|
7294
|
-
if (input.LogDeliveryConfigurations
|
|
7288
|
+
if (input.LogDeliveryConfigurations != null) {
|
|
7295
7289
|
var memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
7296
7290
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7297
7291
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7303,10 +7297,10 @@ var serializeAws_queryModifyCacheClusterMessage = function (input, context) {
|
|
|
7303
7297
|
};
|
|
7304
7298
|
var serializeAws_queryModifyCacheParameterGroupMessage = function (input, context) {
|
|
7305
7299
|
var entries = {};
|
|
7306
|
-
if (input.CacheParameterGroupName
|
|
7300
|
+
if (input.CacheParameterGroupName != null) {
|
|
7307
7301
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
7308
7302
|
}
|
|
7309
|
-
if (input.ParameterNameValues
|
|
7303
|
+
if (input.ParameterNameValues != null) {
|
|
7310
7304
|
var memberEntries = serializeAws_queryParameterNameValueList(input.ParameterNameValues, context);
|
|
7311
7305
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7312
7306
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7318,13 +7312,13 @@ var serializeAws_queryModifyCacheParameterGroupMessage = function (input, contex
|
|
|
7318
7312
|
};
|
|
7319
7313
|
var serializeAws_queryModifyCacheSubnetGroupMessage = function (input, context) {
|
|
7320
7314
|
var entries = {};
|
|
7321
|
-
if (input.CacheSubnetGroupName
|
|
7315
|
+
if (input.CacheSubnetGroupName != null) {
|
|
7322
7316
|
entries["CacheSubnetGroupName"] = input.CacheSubnetGroupName;
|
|
7323
7317
|
}
|
|
7324
|
-
if (input.CacheSubnetGroupDescription
|
|
7318
|
+
if (input.CacheSubnetGroupDescription != null) {
|
|
7325
7319
|
entries["CacheSubnetGroupDescription"] = input.CacheSubnetGroupDescription;
|
|
7326
7320
|
}
|
|
7327
|
-
if (input.SubnetIds
|
|
7321
|
+
if (input.SubnetIds != null) {
|
|
7328
7322
|
var memberEntries = serializeAws_querySubnetIdentifierList(input.SubnetIds, context);
|
|
7329
7323
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7330
7324
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7336,53 +7330,53 @@ var serializeAws_queryModifyCacheSubnetGroupMessage = function (input, context)
|
|
|
7336
7330
|
};
|
|
7337
7331
|
var serializeAws_queryModifyGlobalReplicationGroupMessage = function (input, context) {
|
|
7338
7332
|
var entries = {};
|
|
7339
|
-
if (input.GlobalReplicationGroupId
|
|
7333
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
7340
7334
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
7341
7335
|
}
|
|
7342
|
-
if (input.ApplyImmediately
|
|
7336
|
+
if (input.ApplyImmediately != null) {
|
|
7343
7337
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7344
7338
|
}
|
|
7345
|
-
if (input.CacheNodeType
|
|
7339
|
+
if (input.CacheNodeType != null) {
|
|
7346
7340
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
7347
7341
|
}
|
|
7348
|
-
if (input.EngineVersion
|
|
7342
|
+
if (input.EngineVersion != null) {
|
|
7349
7343
|
entries["EngineVersion"] = input.EngineVersion;
|
|
7350
7344
|
}
|
|
7351
|
-
if (input.CacheParameterGroupName
|
|
7345
|
+
if (input.CacheParameterGroupName != null) {
|
|
7352
7346
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
7353
7347
|
}
|
|
7354
|
-
if (input.GlobalReplicationGroupDescription
|
|
7348
|
+
if (input.GlobalReplicationGroupDescription != null) {
|
|
7355
7349
|
entries["GlobalReplicationGroupDescription"] = input.GlobalReplicationGroupDescription;
|
|
7356
7350
|
}
|
|
7357
|
-
if (input.AutomaticFailoverEnabled
|
|
7351
|
+
if (input.AutomaticFailoverEnabled != null) {
|
|
7358
7352
|
entries["AutomaticFailoverEnabled"] = input.AutomaticFailoverEnabled;
|
|
7359
7353
|
}
|
|
7360
7354
|
return entries;
|
|
7361
7355
|
};
|
|
7362
7356
|
var serializeAws_queryModifyReplicationGroupMessage = function (input, context) {
|
|
7363
7357
|
var entries = {};
|
|
7364
|
-
if (input.ReplicationGroupId
|
|
7358
|
+
if (input.ReplicationGroupId != null) {
|
|
7365
7359
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
7366
7360
|
}
|
|
7367
|
-
if (input.ReplicationGroupDescription
|
|
7361
|
+
if (input.ReplicationGroupDescription != null) {
|
|
7368
7362
|
entries["ReplicationGroupDescription"] = input.ReplicationGroupDescription;
|
|
7369
7363
|
}
|
|
7370
|
-
if (input.PrimaryClusterId
|
|
7364
|
+
if (input.PrimaryClusterId != null) {
|
|
7371
7365
|
entries["PrimaryClusterId"] = input.PrimaryClusterId;
|
|
7372
7366
|
}
|
|
7373
|
-
if (input.SnapshottingClusterId
|
|
7367
|
+
if (input.SnapshottingClusterId != null) {
|
|
7374
7368
|
entries["SnapshottingClusterId"] = input.SnapshottingClusterId;
|
|
7375
7369
|
}
|
|
7376
|
-
if (input.AutomaticFailoverEnabled
|
|
7370
|
+
if (input.AutomaticFailoverEnabled != null) {
|
|
7377
7371
|
entries["AutomaticFailoverEnabled"] = input.AutomaticFailoverEnabled;
|
|
7378
7372
|
}
|
|
7379
|
-
if (input.MultiAZEnabled
|
|
7373
|
+
if (input.MultiAZEnabled != null) {
|
|
7380
7374
|
entries["MultiAZEnabled"] = input.MultiAZEnabled;
|
|
7381
7375
|
}
|
|
7382
|
-
if (input.NodeGroupId
|
|
7376
|
+
if (input.NodeGroupId != null) {
|
|
7383
7377
|
entries["NodeGroupId"] = input.NodeGroupId;
|
|
7384
7378
|
}
|
|
7385
|
-
if (input.CacheSecurityGroupNames
|
|
7379
|
+
if (input.CacheSecurityGroupNames != null) {
|
|
7386
7380
|
var memberEntries = serializeAws_queryCacheSecurityGroupNameList(input.CacheSecurityGroupNames, context);
|
|
7387
7381
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7388
7382
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7390,7 +7384,7 @@ var serializeAws_queryModifyReplicationGroupMessage = function (input, context)
|
|
|
7390
7384
|
entries[loc] = value;
|
|
7391
7385
|
});
|
|
7392
7386
|
}
|
|
7393
|
-
if (input.SecurityGroupIds
|
|
7387
|
+
if (input.SecurityGroupIds != null) {
|
|
7394
7388
|
var memberEntries = serializeAws_querySecurityGroupIdsList(input.SecurityGroupIds, context);
|
|
7395
7389
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7396
7390
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7398,43 +7392,43 @@ var serializeAws_queryModifyReplicationGroupMessage = function (input, context)
|
|
|
7398
7392
|
entries[loc] = value;
|
|
7399
7393
|
});
|
|
7400
7394
|
}
|
|
7401
|
-
if (input.PreferredMaintenanceWindow
|
|
7395
|
+
if (input.PreferredMaintenanceWindow != null) {
|
|
7402
7396
|
entries["PreferredMaintenanceWindow"] = input.PreferredMaintenanceWindow;
|
|
7403
7397
|
}
|
|
7404
|
-
if (input.NotificationTopicArn
|
|
7398
|
+
if (input.NotificationTopicArn != null) {
|
|
7405
7399
|
entries["NotificationTopicArn"] = input.NotificationTopicArn;
|
|
7406
7400
|
}
|
|
7407
|
-
if (input.CacheParameterGroupName
|
|
7401
|
+
if (input.CacheParameterGroupName != null) {
|
|
7408
7402
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
7409
7403
|
}
|
|
7410
|
-
if (input.NotificationTopicStatus
|
|
7404
|
+
if (input.NotificationTopicStatus != null) {
|
|
7411
7405
|
entries["NotificationTopicStatus"] = input.NotificationTopicStatus;
|
|
7412
7406
|
}
|
|
7413
|
-
if (input.ApplyImmediately
|
|
7407
|
+
if (input.ApplyImmediately != null) {
|
|
7414
7408
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7415
7409
|
}
|
|
7416
|
-
if (input.EngineVersion
|
|
7410
|
+
if (input.EngineVersion != null) {
|
|
7417
7411
|
entries["EngineVersion"] = input.EngineVersion;
|
|
7418
7412
|
}
|
|
7419
|
-
if (input.AutoMinorVersionUpgrade
|
|
7413
|
+
if (input.AutoMinorVersionUpgrade != null) {
|
|
7420
7414
|
entries["AutoMinorVersionUpgrade"] = input.AutoMinorVersionUpgrade;
|
|
7421
7415
|
}
|
|
7422
|
-
if (input.SnapshotRetentionLimit
|
|
7416
|
+
if (input.SnapshotRetentionLimit != null) {
|
|
7423
7417
|
entries["SnapshotRetentionLimit"] = input.SnapshotRetentionLimit;
|
|
7424
7418
|
}
|
|
7425
|
-
if (input.SnapshotWindow
|
|
7419
|
+
if (input.SnapshotWindow != null) {
|
|
7426
7420
|
entries["SnapshotWindow"] = input.SnapshotWindow;
|
|
7427
7421
|
}
|
|
7428
|
-
if (input.CacheNodeType
|
|
7422
|
+
if (input.CacheNodeType != null) {
|
|
7429
7423
|
entries["CacheNodeType"] = input.CacheNodeType;
|
|
7430
7424
|
}
|
|
7431
|
-
if (input.AuthToken
|
|
7425
|
+
if (input.AuthToken != null) {
|
|
7432
7426
|
entries["AuthToken"] = input.AuthToken;
|
|
7433
7427
|
}
|
|
7434
|
-
if (input.AuthTokenUpdateStrategy
|
|
7428
|
+
if (input.AuthTokenUpdateStrategy != null) {
|
|
7435
7429
|
entries["AuthTokenUpdateStrategy"] = input.AuthTokenUpdateStrategy;
|
|
7436
7430
|
}
|
|
7437
|
-
if (input.UserGroupIdsToAdd
|
|
7431
|
+
if (input.UserGroupIdsToAdd != null) {
|
|
7438
7432
|
var memberEntries = serializeAws_queryUserGroupIdList(input.UserGroupIdsToAdd, context);
|
|
7439
7433
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7440
7434
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7442,7 +7436,7 @@ var serializeAws_queryModifyReplicationGroupMessage = function (input, context)
|
|
|
7442
7436
|
entries[loc] = value;
|
|
7443
7437
|
});
|
|
7444
7438
|
}
|
|
7445
|
-
if (input.UserGroupIdsToRemove
|
|
7439
|
+
if (input.UserGroupIdsToRemove != null) {
|
|
7446
7440
|
var memberEntries = serializeAws_queryUserGroupIdList(input.UserGroupIdsToRemove, context);
|
|
7447
7441
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7448
7442
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7450,10 +7444,10 @@ var serializeAws_queryModifyReplicationGroupMessage = function (input, context)
|
|
|
7450
7444
|
entries[loc] = value;
|
|
7451
7445
|
});
|
|
7452
7446
|
}
|
|
7453
|
-
if (input.RemoveUserGroups
|
|
7447
|
+
if (input.RemoveUserGroups != null) {
|
|
7454
7448
|
entries["RemoveUserGroups"] = input.RemoveUserGroups;
|
|
7455
7449
|
}
|
|
7456
|
-
if (input.LogDeliveryConfigurations
|
|
7450
|
+
if (input.LogDeliveryConfigurations != null) {
|
|
7457
7451
|
var memberEntries = serializeAws_queryLogDeliveryConfigurationRequestList(input.LogDeliveryConfigurations, context);
|
|
7458
7452
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7459
7453
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7465,16 +7459,16 @@ var serializeAws_queryModifyReplicationGroupMessage = function (input, context)
|
|
|
7465
7459
|
};
|
|
7466
7460
|
var serializeAws_queryModifyReplicationGroupShardConfigurationMessage = function (input, context) {
|
|
7467
7461
|
var entries = {};
|
|
7468
|
-
if (input.ReplicationGroupId
|
|
7462
|
+
if (input.ReplicationGroupId != null) {
|
|
7469
7463
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
7470
7464
|
}
|
|
7471
|
-
if (input.NodeGroupCount
|
|
7465
|
+
if (input.NodeGroupCount != null) {
|
|
7472
7466
|
entries["NodeGroupCount"] = input.NodeGroupCount;
|
|
7473
7467
|
}
|
|
7474
|
-
if (input.ApplyImmediately
|
|
7468
|
+
if (input.ApplyImmediately != null) {
|
|
7475
7469
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7476
7470
|
}
|
|
7477
|
-
if (input.ReshardingConfiguration
|
|
7471
|
+
if (input.ReshardingConfiguration != null) {
|
|
7478
7472
|
var memberEntries = serializeAws_queryReshardingConfigurationList(input.ReshardingConfiguration, context);
|
|
7479
7473
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7480
7474
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7482,7 +7476,7 @@ var serializeAws_queryModifyReplicationGroupShardConfigurationMessage = function
|
|
|
7482
7476
|
entries[loc] = value;
|
|
7483
7477
|
});
|
|
7484
7478
|
}
|
|
7485
|
-
if (input.NodeGroupsToRemove
|
|
7479
|
+
if (input.NodeGroupsToRemove != null) {
|
|
7486
7480
|
var memberEntries = serializeAws_queryNodeGroupsToRemoveList(input.NodeGroupsToRemove, context);
|
|
7487
7481
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7488
7482
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7490,7 +7484,7 @@ var serializeAws_queryModifyReplicationGroupShardConfigurationMessage = function
|
|
|
7490
7484
|
entries[loc] = value;
|
|
7491
7485
|
});
|
|
7492
7486
|
}
|
|
7493
|
-
if (input.NodeGroupsToRetain
|
|
7487
|
+
if (input.NodeGroupsToRetain != null) {
|
|
7494
7488
|
var memberEntries = serializeAws_queryNodeGroupsToRetainList(input.NodeGroupsToRetain, context);
|
|
7495
7489
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7496
7490
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7502,10 +7496,10 @@ var serializeAws_queryModifyReplicationGroupShardConfigurationMessage = function
|
|
|
7502
7496
|
};
|
|
7503
7497
|
var serializeAws_queryModifyUserGroupMessage = function (input, context) {
|
|
7504
7498
|
var entries = {};
|
|
7505
|
-
if (input.UserGroupId
|
|
7499
|
+
if (input.UserGroupId != null) {
|
|
7506
7500
|
entries["UserGroupId"] = input.UserGroupId;
|
|
7507
7501
|
}
|
|
7508
|
-
if (input.UserIdsToAdd
|
|
7502
|
+
if (input.UserIdsToAdd != null) {
|
|
7509
7503
|
var memberEntries = serializeAws_queryUserIdListInput(input.UserIdsToAdd, context);
|
|
7510
7504
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7511
7505
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7513,7 +7507,7 @@ var serializeAws_queryModifyUserGroupMessage = function (input, context) {
|
|
|
7513
7507
|
entries[loc] = value;
|
|
7514
7508
|
});
|
|
7515
7509
|
}
|
|
7516
|
-
if (input.UserIdsToRemove
|
|
7510
|
+
if (input.UserIdsToRemove != null) {
|
|
7517
7511
|
var memberEntries = serializeAws_queryUserIdListInput(input.UserIdsToRemove, context);
|
|
7518
7512
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7519
7513
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7525,16 +7519,16 @@ var serializeAws_queryModifyUserGroupMessage = function (input, context) {
|
|
|
7525
7519
|
};
|
|
7526
7520
|
var serializeAws_queryModifyUserMessage = function (input, context) {
|
|
7527
7521
|
var entries = {};
|
|
7528
|
-
if (input.UserId
|
|
7522
|
+
if (input.UserId != null) {
|
|
7529
7523
|
entries["UserId"] = input.UserId;
|
|
7530
7524
|
}
|
|
7531
|
-
if (input.AccessString
|
|
7525
|
+
if (input.AccessString != null) {
|
|
7532
7526
|
entries["AccessString"] = input.AccessString;
|
|
7533
7527
|
}
|
|
7534
|
-
if (input.AppendAccessString
|
|
7528
|
+
if (input.AppendAccessString != null) {
|
|
7535
7529
|
entries["AppendAccessString"] = input.AppendAccessString;
|
|
7536
7530
|
}
|
|
7537
|
-
if (input.Passwords
|
|
7531
|
+
if (input.Passwords != null) {
|
|
7538
7532
|
var memberEntries = serializeAws_queryPasswordListInput(input.Passwords, context);
|
|
7539
7533
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7540
7534
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7542,26 +7536,26 @@ var serializeAws_queryModifyUserMessage = function (input, context) {
|
|
|
7542
7536
|
entries[loc] = value;
|
|
7543
7537
|
});
|
|
7544
7538
|
}
|
|
7545
|
-
if (input.NoPasswordRequired
|
|
7539
|
+
if (input.NoPasswordRequired != null) {
|
|
7546
7540
|
entries["NoPasswordRequired"] = input.NoPasswordRequired;
|
|
7547
7541
|
}
|
|
7548
7542
|
return entries;
|
|
7549
7543
|
};
|
|
7550
7544
|
var serializeAws_queryNodeGroupConfiguration = function (input, context) {
|
|
7551
7545
|
var entries = {};
|
|
7552
|
-
if (input.NodeGroupId
|
|
7546
|
+
if (input.NodeGroupId != null) {
|
|
7553
7547
|
entries["NodeGroupId"] = input.NodeGroupId;
|
|
7554
7548
|
}
|
|
7555
|
-
if (input.Slots
|
|
7549
|
+
if (input.Slots != null) {
|
|
7556
7550
|
entries["Slots"] = input.Slots;
|
|
7557
7551
|
}
|
|
7558
|
-
if (input.ReplicaCount
|
|
7552
|
+
if (input.ReplicaCount != null) {
|
|
7559
7553
|
entries["ReplicaCount"] = input.ReplicaCount;
|
|
7560
7554
|
}
|
|
7561
|
-
if (input.PrimaryAvailabilityZone
|
|
7555
|
+
if (input.PrimaryAvailabilityZone != null) {
|
|
7562
7556
|
entries["PrimaryAvailabilityZone"] = input.PrimaryAvailabilityZone;
|
|
7563
7557
|
}
|
|
7564
|
-
if (input.ReplicaAvailabilityZones
|
|
7558
|
+
if (input.ReplicaAvailabilityZones != null) {
|
|
7565
7559
|
var memberEntries = serializeAws_queryAvailabilityZonesList(input.ReplicaAvailabilityZones, context);
|
|
7566
7560
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7567
7561
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7569,10 +7563,10 @@ var serializeAws_queryNodeGroupConfiguration = function (input, context) {
|
|
|
7569
7563
|
entries[loc] = value;
|
|
7570
7564
|
});
|
|
7571
7565
|
}
|
|
7572
|
-
if (input.PrimaryOutpostArn
|
|
7566
|
+
if (input.PrimaryOutpostArn != null) {
|
|
7573
7567
|
entries["PrimaryOutpostArn"] = input.PrimaryOutpostArn;
|
|
7574
7568
|
}
|
|
7575
|
-
if (input.ReplicaOutpostArns
|
|
7569
|
+
if (input.ReplicaOutpostArns != null) {
|
|
7576
7570
|
var memberEntries = serializeAws_queryOutpostArnsList(input.ReplicaOutpostArns, context);
|
|
7577
7571
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7578
7572
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7680,10 +7674,10 @@ var serializeAws_queryOutpostArnsList = function (input, context) {
|
|
|
7680
7674
|
};
|
|
7681
7675
|
var serializeAws_queryParameterNameValue = function (input, context) {
|
|
7682
7676
|
var entries = {};
|
|
7683
|
-
if (input.ParameterName
|
|
7677
|
+
if (input.ParameterName != null) {
|
|
7684
7678
|
entries["ParameterName"] = input.ParameterName;
|
|
7685
7679
|
}
|
|
7686
|
-
if (input.ParameterValue
|
|
7680
|
+
if (input.ParameterValue != null) {
|
|
7687
7681
|
entries["ParameterValue"] = input.ParameterValue;
|
|
7688
7682
|
}
|
|
7689
7683
|
return entries;
|
|
@@ -7786,16 +7780,16 @@ var serializeAws_queryPreferredOutpostArnList = function (input, context) {
|
|
|
7786
7780
|
};
|
|
7787
7781
|
var serializeAws_queryPurchaseReservedCacheNodesOfferingMessage = function (input, context) {
|
|
7788
7782
|
var entries = {};
|
|
7789
|
-
if (input.ReservedCacheNodesOfferingId
|
|
7783
|
+
if (input.ReservedCacheNodesOfferingId != null) {
|
|
7790
7784
|
entries["ReservedCacheNodesOfferingId"] = input.ReservedCacheNodesOfferingId;
|
|
7791
7785
|
}
|
|
7792
|
-
if (input.ReservedCacheNodeId
|
|
7786
|
+
if (input.ReservedCacheNodeId != null) {
|
|
7793
7787
|
entries["ReservedCacheNodeId"] = input.ReservedCacheNodeId;
|
|
7794
7788
|
}
|
|
7795
|
-
if (input.CacheNodeCount
|
|
7789
|
+
if (input.CacheNodeCount != null) {
|
|
7796
7790
|
entries["CacheNodeCount"] = input.CacheNodeCount;
|
|
7797
7791
|
}
|
|
7798
|
-
if (input.Tags
|
|
7792
|
+
if (input.Tags != null) {
|
|
7799
7793
|
var memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
7800
7794
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7801
7795
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7807,20 +7801,20 @@ var serializeAws_queryPurchaseReservedCacheNodesOfferingMessage = function (inpu
|
|
|
7807
7801
|
};
|
|
7808
7802
|
var serializeAws_queryRebalanceSlotsInGlobalReplicationGroupMessage = function (input, context) {
|
|
7809
7803
|
var entries = {};
|
|
7810
|
-
if (input.GlobalReplicationGroupId
|
|
7804
|
+
if (input.GlobalReplicationGroupId != null) {
|
|
7811
7805
|
entries["GlobalReplicationGroupId"] = input.GlobalReplicationGroupId;
|
|
7812
7806
|
}
|
|
7813
|
-
if (input.ApplyImmediately
|
|
7807
|
+
if (input.ApplyImmediately != null) {
|
|
7814
7808
|
entries["ApplyImmediately"] = input.ApplyImmediately;
|
|
7815
7809
|
}
|
|
7816
7810
|
return entries;
|
|
7817
7811
|
};
|
|
7818
7812
|
var serializeAws_queryRebootCacheClusterMessage = function (input, context) {
|
|
7819
7813
|
var entries = {};
|
|
7820
|
-
if (input.CacheClusterId
|
|
7814
|
+
if (input.CacheClusterId != null) {
|
|
7821
7815
|
entries["CacheClusterId"] = input.CacheClusterId;
|
|
7822
7816
|
}
|
|
7823
|
-
if (input.CacheNodeIdsToReboot
|
|
7817
|
+
if (input.CacheNodeIdsToReboot != null) {
|
|
7824
7818
|
var memberEntries = serializeAws_queryCacheNodeIdsList(input.CacheNodeIdsToReboot, context);
|
|
7825
7819
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7826
7820
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7832,13 +7826,13 @@ var serializeAws_queryRebootCacheClusterMessage = function (input, context) {
|
|
|
7832
7826
|
};
|
|
7833
7827
|
var serializeAws_queryRegionalConfiguration = function (input, context) {
|
|
7834
7828
|
var entries = {};
|
|
7835
|
-
if (input.ReplicationGroupId
|
|
7829
|
+
if (input.ReplicationGroupId != null) {
|
|
7836
7830
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
7837
7831
|
}
|
|
7838
|
-
if (input.ReplicationGroupRegion
|
|
7832
|
+
if (input.ReplicationGroupRegion != null) {
|
|
7839
7833
|
entries["ReplicationGroupRegion"] = input.ReplicationGroupRegion;
|
|
7840
7834
|
}
|
|
7841
|
-
if (input.ReshardingConfiguration
|
|
7835
|
+
if (input.ReshardingConfiguration != null) {
|
|
7842
7836
|
var memberEntries = serializeAws_queryReshardingConfigurationList(input.ReshardingConfiguration, context);
|
|
7843
7837
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7844
7838
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7900,10 +7894,10 @@ var serializeAws_queryRemoveReplicasList = function (input, context) {
|
|
|
7900
7894
|
};
|
|
7901
7895
|
var serializeAws_queryRemoveTagsFromResourceMessage = function (input, context) {
|
|
7902
7896
|
var entries = {};
|
|
7903
|
-
if (input.ResourceName
|
|
7897
|
+
if (input.ResourceName != null) {
|
|
7904
7898
|
entries["ResourceName"] = input.ResourceName;
|
|
7905
7899
|
}
|
|
7906
|
-
if (input.TagKeys
|
|
7900
|
+
if (input.TagKeys != null) {
|
|
7907
7901
|
var memberEntries = serializeAws_queryKeyList(input.TagKeys, context);
|
|
7908
7902
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7909
7903
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7965,13 +7959,13 @@ var serializeAws_queryReplicationGroupIdList = function (input, context) {
|
|
|
7965
7959
|
};
|
|
7966
7960
|
var serializeAws_queryResetCacheParameterGroupMessage = function (input, context) {
|
|
7967
7961
|
var entries = {};
|
|
7968
|
-
if (input.CacheParameterGroupName
|
|
7962
|
+
if (input.CacheParameterGroupName != null) {
|
|
7969
7963
|
entries["CacheParameterGroupName"] = input.CacheParameterGroupName;
|
|
7970
7964
|
}
|
|
7971
|
-
if (input.ResetAllParameters
|
|
7965
|
+
if (input.ResetAllParameters != null) {
|
|
7972
7966
|
entries["ResetAllParameters"] = input.ResetAllParameters;
|
|
7973
7967
|
}
|
|
7974
|
-
if (input.ParameterNameValues
|
|
7968
|
+
if (input.ParameterNameValues != null) {
|
|
7975
7969
|
var memberEntries = serializeAws_queryParameterNameValueList(input.ParameterNameValues, context);
|
|
7976
7970
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7977
7971
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -7983,10 +7977,10 @@ var serializeAws_queryResetCacheParameterGroupMessage = function (input, context
|
|
|
7983
7977
|
};
|
|
7984
7978
|
var serializeAws_queryReshardingConfiguration = function (input, context) {
|
|
7985
7979
|
var entries = {};
|
|
7986
|
-
if (input.NodeGroupId
|
|
7980
|
+
if (input.NodeGroupId != null) {
|
|
7987
7981
|
entries["NodeGroupId"] = input.NodeGroupId;
|
|
7988
7982
|
}
|
|
7989
|
-
if (input.PreferredAvailabilityZones
|
|
7983
|
+
if (input.PreferredAvailabilityZones != null) {
|
|
7990
7984
|
var memberEntries = serializeAws_queryAvailabilityZonesList(input.PreferredAvailabilityZones, context);
|
|
7991
7985
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
7992
7986
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -8025,13 +8019,13 @@ var serializeAws_queryReshardingConfigurationList = function (input, context) {
|
|
|
8025
8019
|
};
|
|
8026
8020
|
var serializeAws_queryRevokeCacheSecurityGroupIngressMessage = function (input, context) {
|
|
8027
8021
|
var entries = {};
|
|
8028
|
-
if (input.CacheSecurityGroupName
|
|
8022
|
+
if (input.CacheSecurityGroupName != null) {
|
|
8029
8023
|
entries["CacheSecurityGroupName"] = input.CacheSecurityGroupName;
|
|
8030
8024
|
}
|
|
8031
|
-
if (input.EC2SecurityGroupName
|
|
8025
|
+
if (input.EC2SecurityGroupName != null) {
|
|
8032
8026
|
entries["EC2SecurityGroupName"] = input.EC2SecurityGroupName;
|
|
8033
8027
|
}
|
|
8034
|
-
if (input.EC2SecurityGroupOwnerId
|
|
8028
|
+
if (input.EC2SecurityGroupOwnerId != null) {
|
|
8035
8029
|
entries["EC2SecurityGroupOwnerId"] = input.EC2SecurityGroupOwnerId;
|
|
8036
8030
|
}
|
|
8037
8031
|
return entries;
|
|
@@ -8107,10 +8101,10 @@ var serializeAws_querySnapshotArnsList = function (input, context) {
|
|
|
8107
8101
|
};
|
|
8108
8102
|
var serializeAws_queryStartMigrationMessage = function (input, context) {
|
|
8109
8103
|
var entries = {};
|
|
8110
|
-
if (input.ReplicationGroupId
|
|
8104
|
+
if (input.ReplicationGroupId != null) {
|
|
8111
8105
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
8112
8106
|
}
|
|
8113
|
-
if (input.CustomerNodeEndpointList
|
|
8107
|
+
if (input.CustomerNodeEndpointList != null) {
|
|
8114
8108
|
var memberEntries = serializeAws_queryCustomerNodeEndpointList(input.CustomerNodeEndpointList, context);
|
|
8115
8109
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
8116
8110
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
@@ -8145,10 +8139,10 @@ var serializeAws_querySubnetIdentifierList = function (input, context) {
|
|
|
8145
8139
|
};
|
|
8146
8140
|
var serializeAws_queryTag = function (input, context) {
|
|
8147
8141
|
var entries = {};
|
|
8148
|
-
if (input.Key
|
|
8142
|
+
if (input.Key != null) {
|
|
8149
8143
|
entries["Key"] = input.Key;
|
|
8150
8144
|
}
|
|
8151
|
-
if (input.Value
|
|
8145
|
+
if (input.Value != null) {
|
|
8152
8146
|
entries["Value"] = input.Value;
|
|
8153
8147
|
}
|
|
8154
8148
|
return entries;
|
|
@@ -8182,20 +8176,20 @@ var serializeAws_queryTagList = function (input, context) {
|
|
|
8182
8176
|
};
|
|
8183
8177
|
var serializeAws_queryTestFailoverMessage = function (input, context) {
|
|
8184
8178
|
var entries = {};
|
|
8185
|
-
if (input.ReplicationGroupId
|
|
8179
|
+
if (input.ReplicationGroupId != null) {
|
|
8186
8180
|
entries["ReplicationGroupId"] = input.ReplicationGroupId;
|
|
8187
8181
|
}
|
|
8188
|
-
if (input.NodeGroupId
|
|
8182
|
+
if (input.NodeGroupId != null) {
|
|
8189
8183
|
entries["NodeGroupId"] = input.NodeGroupId;
|
|
8190
8184
|
}
|
|
8191
8185
|
return entries;
|
|
8192
8186
|
};
|
|
8193
8187
|
var serializeAws_queryTimeRangeFilter = function (input, context) {
|
|
8194
8188
|
var entries = {};
|
|
8195
|
-
if (input.StartTime
|
|
8189
|
+
if (input.StartTime != null) {
|
|
8196
8190
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
8197
8191
|
}
|
|
8198
|
-
if (input.EndTime
|
|
8192
|
+
if (input.EndTime != null) {
|
|
8199
8193
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
8200
8194
|
}
|
|
8201
8195
|
return entries;
|
|
@@ -8374,9 +8368,6 @@ var deserializeAws_queryAvailabilityZonesList = function (output, context) {
|
|
|
8374
8368
|
return (output || [])
|
|
8375
8369
|
.filter(function (e) { return e != null; })
|
|
8376
8370
|
.map(function (entry) {
|
|
8377
|
-
if (entry === null) {
|
|
8378
|
-
return null;
|
|
8379
|
-
}
|
|
8380
8371
|
return __expectString(entry);
|
|
8381
8372
|
});
|
|
8382
8373
|
};
|
|
@@ -8532,9 +8523,6 @@ var deserializeAws_queryCacheClusterList = function (output, context) {
|
|
|
8532
8523
|
return (output || [])
|
|
8533
8524
|
.filter(function (e) { return e != null; })
|
|
8534
8525
|
.map(function (entry) {
|
|
8535
|
-
if (entry === null) {
|
|
8536
|
-
return null;
|
|
8537
|
-
}
|
|
8538
8526
|
return deserializeAws_queryCacheCluster(entry, context);
|
|
8539
8527
|
});
|
|
8540
8528
|
};
|
|
@@ -8592,9 +8580,6 @@ var deserializeAws_queryCacheEngineVersionList = function (output, context) {
|
|
|
8592
8580
|
return (output || [])
|
|
8593
8581
|
.filter(function (e) { return e != null; })
|
|
8594
8582
|
.map(function (entry) {
|
|
8595
|
-
if (entry === null) {
|
|
8596
|
-
return null;
|
|
8597
|
-
}
|
|
8598
8583
|
return deserializeAws_queryCacheEngineVersion(entry, context);
|
|
8599
8584
|
});
|
|
8600
8585
|
};
|
|
@@ -8656,9 +8641,6 @@ var deserializeAws_queryCacheNodeIdsList = function (output, context) {
|
|
|
8656
8641
|
return (output || [])
|
|
8657
8642
|
.filter(function (e) { return e != null; })
|
|
8658
8643
|
.map(function (entry) {
|
|
8659
|
-
if (entry === null) {
|
|
8660
|
-
return null;
|
|
8661
|
-
}
|
|
8662
8644
|
return __expectString(entry);
|
|
8663
8645
|
});
|
|
8664
8646
|
};
|
|
@@ -8666,9 +8648,6 @@ var deserializeAws_queryCacheNodeList = function (output, context) {
|
|
|
8666
8648
|
return (output || [])
|
|
8667
8649
|
.filter(function (e) { return e != null; })
|
|
8668
8650
|
.map(function (entry) {
|
|
8669
|
-
if (entry === null) {
|
|
8670
|
-
return null;
|
|
8671
|
-
}
|
|
8672
8651
|
return deserializeAws_queryCacheNode(entry, context);
|
|
8673
8652
|
});
|
|
8674
8653
|
};
|
|
@@ -8721,9 +8700,6 @@ var deserializeAws_queryCacheNodeTypeSpecificParametersList = function (output,
|
|
|
8721
8700
|
return (output || [])
|
|
8722
8701
|
.filter(function (e) { return e != null; })
|
|
8723
8702
|
.map(function (entry) {
|
|
8724
|
-
if (entry === null) {
|
|
8725
|
-
return null;
|
|
8726
|
-
}
|
|
8727
8703
|
return deserializeAws_queryCacheNodeTypeSpecificParameter(entry, context);
|
|
8728
8704
|
});
|
|
8729
8705
|
};
|
|
@@ -8744,9 +8720,6 @@ var deserializeAws_queryCacheNodeTypeSpecificValueList = function (output, conte
|
|
|
8744
8720
|
return (output || [])
|
|
8745
8721
|
.filter(function (e) { return e != null; })
|
|
8746
8722
|
.map(function (entry) {
|
|
8747
|
-
if (entry === null) {
|
|
8748
|
-
return null;
|
|
8749
|
-
}
|
|
8750
8723
|
return deserializeAws_queryCacheNodeTypeSpecificValue(entry, context);
|
|
8751
8724
|
});
|
|
8752
8725
|
};
|
|
@@ -8791,9 +8764,6 @@ var deserializeAws_queryCacheNodeUpdateStatusList = function (output, context) {
|
|
|
8791
8764
|
return (output || [])
|
|
8792
8765
|
.filter(function (e) { return e != null; })
|
|
8793
8766
|
.map(function (entry) {
|
|
8794
|
-
if (entry === null) {
|
|
8795
|
-
return null;
|
|
8796
|
-
}
|
|
8797
8767
|
return deserializeAws_queryCacheNodeUpdateStatus(entry, context);
|
|
8798
8768
|
});
|
|
8799
8769
|
};
|
|
@@ -8859,9 +8829,6 @@ var deserializeAws_queryCacheParameterGroupList = function (output, context) {
|
|
|
8859
8829
|
return (output || [])
|
|
8860
8830
|
.filter(function (e) { return e != null; })
|
|
8861
8831
|
.map(function (entry) {
|
|
8862
|
-
if (entry === null) {
|
|
8863
|
-
return null;
|
|
8864
|
-
}
|
|
8865
8832
|
return deserializeAws_queryCacheParameterGroup(entry, context);
|
|
8866
8833
|
});
|
|
8867
8834
|
};
|
|
@@ -8985,9 +8952,6 @@ var deserializeAws_queryCacheSecurityGroupMembershipList = function (output, con
|
|
|
8985
8952
|
return (output || [])
|
|
8986
8953
|
.filter(function (e) { return e != null; })
|
|
8987
8954
|
.map(function (entry) {
|
|
8988
|
-
if (entry === null) {
|
|
8989
|
-
return null;
|
|
8990
|
-
}
|
|
8991
8955
|
return deserializeAws_queryCacheSecurityGroupMembership(entry, context);
|
|
8992
8956
|
});
|
|
8993
8957
|
};
|
|
@@ -9030,9 +8994,6 @@ var deserializeAws_queryCacheSecurityGroups = function (output, context) {
|
|
|
9030
8994
|
return (output || [])
|
|
9031
8995
|
.filter(function (e) { return e != null; })
|
|
9032
8996
|
.map(function (entry) {
|
|
9033
|
-
if (entry === null) {
|
|
9034
|
-
return null;
|
|
9035
|
-
}
|
|
9036
8997
|
return deserializeAws_queryCacheSecurityGroup(entry, context);
|
|
9037
8998
|
});
|
|
9038
8999
|
};
|
|
@@ -9121,9 +9082,6 @@ var deserializeAws_queryCacheSubnetGroups = function (output, context) {
|
|
|
9121
9082
|
return (output || [])
|
|
9122
9083
|
.filter(function (e) { return e != null; })
|
|
9123
9084
|
.map(function (entry) {
|
|
9124
|
-
if (entry === null) {
|
|
9125
|
-
return null;
|
|
9126
|
-
}
|
|
9127
9085
|
return deserializeAws_queryCacheSubnetGroup(entry, context);
|
|
9128
9086
|
});
|
|
9129
9087
|
};
|
|
@@ -9149,9 +9107,6 @@ var deserializeAws_queryClusterIdList = function (output, context) {
|
|
|
9149
9107
|
return (output || [])
|
|
9150
9108
|
.filter(function (e) { return e != null; })
|
|
9151
9109
|
.map(function (entry) {
|
|
9152
|
-
if (entry === null) {
|
|
9153
|
-
return null;
|
|
9154
|
-
}
|
|
9155
9110
|
return __expectString(entry);
|
|
9156
9111
|
});
|
|
9157
9112
|
};
|
|
@@ -9443,9 +9398,6 @@ var deserializeAws_queryEC2SecurityGroupList = function (output, context) {
|
|
|
9443
9398
|
return (output || [])
|
|
9444
9399
|
.filter(function (e) { return e != null; })
|
|
9445
9400
|
.map(function (entry) {
|
|
9446
|
-
if (entry === null) {
|
|
9447
|
-
return null;
|
|
9448
|
-
}
|
|
9449
9401
|
return deserializeAws_queryEC2SecurityGroup(entry, context);
|
|
9450
9402
|
});
|
|
9451
9403
|
};
|
|
@@ -9515,9 +9467,6 @@ var deserializeAws_queryEventList = function (output, context) {
|
|
|
9515
9467
|
return (output || [])
|
|
9516
9468
|
.filter(function (e) { return e != null; })
|
|
9517
9469
|
.map(function (entry) {
|
|
9518
|
-
if (entry === null) {
|
|
9519
|
-
return null;
|
|
9520
|
-
}
|
|
9521
9470
|
return deserializeAws_queryEvent(entry, context);
|
|
9522
9471
|
});
|
|
9523
9472
|
};
|
|
@@ -9563,9 +9512,6 @@ var deserializeAws_queryGlobalNodeGroupList = function (output, context) {
|
|
|
9563
9512
|
return (output || [])
|
|
9564
9513
|
.filter(function (e) { return e != null; })
|
|
9565
9514
|
.map(function (entry) {
|
|
9566
|
-
if (entry === null) {
|
|
9567
|
-
return null;
|
|
9568
|
-
}
|
|
9569
9515
|
return deserializeAws_queryGlobalNodeGroup(entry, context);
|
|
9570
9516
|
});
|
|
9571
9517
|
};
|
|
@@ -9658,9 +9604,6 @@ var deserializeAws_queryGlobalReplicationGroupList = function (output, context)
|
|
|
9658
9604
|
return (output || [])
|
|
9659
9605
|
.filter(function (e) { return e != null; })
|
|
9660
9606
|
.map(function (entry) {
|
|
9661
|
-
if (entry === null) {
|
|
9662
|
-
return null;
|
|
9663
|
-
}
|
|
9664
9607
|
return deserializeAws_queryGlobalReplicationGroup(entry, context);
|
|
9665
9608
|
});
|
|
9666
9609
|
};
|
|
@@ -9693,9 +9636,6 @@ var deserializeAws_queryGlobalReplicationGroupMemberList = function (output, con
|
|
|
9693
9636
|
return (output || [])
|
|
9694
9637
|
.filter(function (e) { return e != null; })
|
|
9695
9638
|
.map(function (entry) {
|
|
9696
|
-
if (entry === null) {
|
|
9697
|
-
return null;
|
|
9698
|
-
}
|
|
9699
9639
|
return deserializeAws_queryGlobalReplicationGroupMember(entry, context);
|
|
9700
9640
|
});
|
|
9701
9641
|
};
|
|
@@ -9903,9 +9843,6 @@ var deserializeAws_queryLogDeliveryConfigurationList = function (output, context
|
|
|
9903
9843
|
return (output || [])
|
|
9904
9844
|
.filter(function (e) { return e != null; })
|
|
9905
9845
|
.map(function (entry) {
|
|
9906
|
-
if (entry === null) {
|
|
9907
|
-
return null;
|
|
9908
|
-
}
|
|
9909
9846
|
return deserializeAws_queryLogDeliveryConfiguration(entry, context);
|
|
9910
9847
|
});
|
|
9911
9848
|
};
|
|
@@ -10030,9 +9967,6 @@ var deserializeAws_queryNodeGroupList = function (output, context) {
|
|
|
10030
9967
|
return (output || [])
|
|
10031
9968
|
.filter(function (e) { return e != null; })
|
|
10032
9969
|
.map(function (entry) {
|
|
10033
|
-
if (entry === null) {
|
|
10034
|
-
return null;
|
|
10035
|
-
}
|
|
10036
9970
|
return deserializeAws_queryNodeGroup(entry, context);
|
|
10037
9971
|
});
|
|
10038
9972
|
};
|
|
@@ -10069,9 +10003,6 @@ var deserializeAws_queryNodeGroupMemberList = function (output, context) {
|
|
|
10069
10003
|
return (output || [])
|
|
10070
10004
|
.filter(function (e) { return e != null; })
|
|
10071
10005
|
.map(function (entry) {
|
|
10072
|
-
if (entry === null) {
|
|
10073
|
-
return null;
|
|
10074
|
-
}
|
|
10075
10006
|
return deserializeAws_queryNodeGroupMember(entry, context);
|
|
10076
10007
|
});
|
|
10077
10008
|
};
|
|
@@ -10120,9 +10051,6 @@ var deserializeAws_queryNodeGroupMemberUpdateStatusList = function (output, cont
|
|
|
10120
10051
|
return (output || [])
|
|
10121
10052
|
.filter(function (e) { return e != null; })
|
|
10122
10053
|
.map(function (entry) {
|
|
10123
|
-
if (entry === null) {
|
|
10124
|
-
return null;
|
|
10125
|
-
}
|
|
10126
10054
|
return deserializeAws_queryNodeGroupMemberUpdateStatus(entry, context);
|
|
10127
10055
|
});
|
|
10128
10056
|
};
|
|
@@ -10165,9 +10093,6 @@ var deserializeAws_queryNodeGroupUpdateStatusList = function (output, context) {
|
|
|
10165
10093
|
return (output || [])
|
|
10166
10094
|
.filter(function (e) { return e != null; })
|
|
10167
10095
|
.map(function (entry) {
|
|
10168
|
-
if (entry === null) {
|
|
10169
|
-
return null;
|
|
10170
|
-
}
|
|
10171
10096
|
return deserializeAws_queryNodeGroupUpdateStatus(entry, context);
|
|
10172
10097
|
});
|
|
10173
10098
|
};
|
|
@@ -10226,9 +10151,6 @@ var deserializeAws_queryNodeSnapshotList = function (output, context) {
|
|
|
10226
10151
|
return (output || [])
|
|
10227
10152
|
.filter(function (e) { return e != null; })
|
|
10228
10153
|
.map(function (entry) {
|
|
10229
|
-
if (entry === null) {
|
|
10230
|
-
return null;
|
|
10231
|
-
}
|
|
10232
10154
|
return deserializeAws_queryNodeSnapshot(entry, context);
|
|
10233
10155
|
});
|
|
10234
10156
|
};
|
|
@@ -10236,9 +10158,6 @@ var deserializeAws_queryNodeTypeList = function (output, context) {
|
|
|
10236
10158
|
return (output || [])
|
|
10237
10159
|
.filter(function (e) { return e != null; })
|
|
10238
10160
|
.map(function (entry) {
|
|
10239
|
-
if (entry === null) {
|
|
10240
|
-
return null;
|
|
10241
|
-
}
|
|
10242
10161
|
return __expectString(entry);
|
|
10243
10162
|
});
|
|
10244
10163
|
};
|
|
@@ -10268,9 +10187,6 @@ var deserializeAws_queryOutpostArnsList = function (output, context) {
|
|
|
10268
10187
|
return (output || [])
|
|
10269
10188
|
.filter(function (e) { return e != null; })
|
|
10270
10189
|
.map(function (entry) {
|
|
10271
|
-
if (entry === null) {
|
|
10272
|
-
return null;
|
|
10273
|
-
}
|
|
10274
10190
|
return __expectString(entry);
|
|
10275
10191
|
});
|
|
10276
10192
|
};
|
|
@@ -10319,9 +10235,6 @@ var deserializeAws_queryParametersList = function (output, context) {
|
|
|
10319
10235
|
return (output || [])
|
|
10320
10236
|
.filter(function (e) { return e != null; })
|
|
10321
10237
|
.map(function (entry) {
|
|
10322
|
-
if (entry === null) {
|
|
10323
|
-
return null;
|
|
10324
|
-
}
|
|
10325
10238
|
return deserializeAws_queryParameter(entry, context);
|
|
10326
10239
|
});
|
|
10327
10240
|
};
|
|
@@ -10350,9 +10263,6 @@ var deserializeAws_queryPendingLogDeliveryConfigurationList = function (output,
|
|
|
10350
10263
|
return (output || [])
|
|
10351
10264
|
.filter(function (e) { return e != null; })
|
|
10352
10265
|
.map(function (entry) {
|
|
10353
|
-
if (entry === null) {
|
|
10354
|
-
return null;
|
|
10355
|
-
}
|
|
10356
10266
|
return deserializeAws_queryPendingLogDeliveryConfiguration(entry, context);
|
|
10357
10267
|
});
|
|
10358
10268
|
};
|
|
@@ -10418,9 +10328,6 @@ var deserializeAws_queryProcessedUpdateActionList = function (output, context) {
|
|
|
10418
10328
|
return (output || [])
|
|
10419
10329
|
.filter(function (e) { return e != null; })
|
|
10420
10330
|
.map(function (entry) {
|
|
10421
|
-
if (entry === null) {
|
|
10422
|
-
return null;
|
|
10423
|
-
}
|
|
10424
10331
|
return deserializeAws_queryProcessedUpdateAction(entry, context);
|
|
10425
10332
|
});
|
|
10426
10333
|
};
|
|
@@ -10468,9 +10375,6 @@ var deserializeAws_queryRecurringChargeList = function (output, context) {
|
|
|
10468
10375
|
return (output || [])
|
|
10469
10376
|
.filter(function (e) { return e != null; })
|
|
10470
10377
|
.map(function (entry) {
|
|
10471
|
-
if (entry === null) {
|
|
10472
|
-
return null;
|
|
10473
|
-
}
|
|
10474
10378
|
return deserializeAws_queryRecurringCharge(entry, context);
|
|
10475
10379
|
});
|
|
10476
10380
|
};
|
|
@@ -10626,9 +10530,6 @@ var deserializeAws_queryReplicationGroupList = function (output, context) {
|
|
|
10626
10530
|
return (output || [])
|
|
10627
10531
|
.filter(function (e) { return e != null; })
|
|
10628
10532
|
.map(function (entry) {
|
|
10629
|
-
if (entry === null) {
|
|
10630
|
-
return null;
|
|
10631
|
-
}
|
|
10632
10533
|
return deserializeAws_queryReplicationGroup(entry, context);
|
|
10633
10534
|
});
|
|
10634
10535
|
};
|
|
@@ -10671,9 +10572,6 @@ var deserializeAws_queryReplicationGroupOutpostArnList = function (output, conte
|
|
|
10671
10572
|
return (output || [])
|
|
10672
10573
|
.filter(function (e) { return e != null; })
|
|
10673
10574
|
.map(function (entry) {
|
|
10674
|
-
if (entry === null) {
|
|
10675
|
-
return null;
|
|
10676
|
-
}
|
|
10677
10575
|
return __expectString(entry);
|
|
10678
10576
|
});
|
|
10679
10577
|
};
|
|
@@ -10783,9 +10681,6 @@ var deserializeAws_queryReservedCacheNodeList = function (output, context) {
|
|
|
10783
10681
|
return (output || [])
|
|
10784
10682
|
.filter(function (e) { return e != null; })
|
|
10785
10683
|
.map(function (entry) {
|
|
10786
|
-
if (entry === null) {
|
|
10787
|
-
return null;
|
|
10788
|
-
}
|
|
10789
10684
|
return deserializeAws_queryReservedCacheNode(entry, context);
|
|
10790
10685
|
});
|
|
10791
10686
|
};
|
|
@@ -10868,9 +10763,6 @@ var deserializeAws_queryReservedCacheNodesOfferingList = function (output, conte
|
|
|
10868
10763
|
return (output || [])
|
|
10869
10764
|
.filter(function (e) { return e != null; })
|
|
10870
10765
|
.map(function (entry) {
|
|
10871
|
-
if (entry === null) {
|
|
10872
|
-
return null;
|
|
10873
|
-
}
|
|
10874
10766
|
return deserializeAws_queryReservedCacheNodesOffering(entry, context);
|
|
10875
10767
|
});
|
|
10876
10768
|
};
|
|
@@ -10935,9 +10827,6 @@ var deserializeAws_querySecurityGroupMembershipList = function (output, context)
|
|
|
10935
10827
|
return (output || [])
|
|
10936
10828
|
.filter(function (e) { return e != null; })
|
|
10937
10829
|
.map(function (entry) {
|
|
10938
|
-
if (entry === null) {
|
|
10939
|
-
return null;
|
|
10940
|
-
}
|
|
10941
10830
|
return deserializeAws_querySecurityGroupMembership(entry, context);
|
|
10942
10831
|
});
|
|
10943
10832
|
};
|
|
@@ -11007,9 +10896,6 @@ var deserializeAws_queryServiceUpdateList = function (output, context) {
|
|
|
11007
10896
|
return (output || [])
|
|
11008
10897
|
.filter(function (e) { return e != null; })
|
|
11009
10898
|
.map(function (entry) {
|
|
11010
|
-
if (entry === null) {
|
|
11011
|
-
return null;
|
|
11012
|
-
}
|
|
11013
10899
|
return deserializeAws_queryServiceUpdate(entry, context);
|
|
11014
10900
|
});
|
|
11015
10901
|
};
|
|
@@ -11189,9 +11075,6 @@ var deserializeAws_querySnapshotList = function (output, context) {
|
|
|
11189
11075
|
return (output || [])
|
|
11190
11076
|
.filter(function (e) { return e != null; })
|
|
11191
11077
|
.map(function (entry) {
|
|
11192
|
-
if (entry === null) {
|
|
11193
|
-
return null;
|
|
11194
|
-
}
|
|
11195
11078
|
return deserializeAws_querySnapshot(entry, context);
|
|
11196
11079
|
});
|
|
11197
11080
|
};
|
|
@@ -11252,9 +11135,6 @@ var deserializeAws_querySubnetList = function (output, context) {
|
|
|
11252
11135
|
return (output || [])
|
|
11253
11136
|
.filter(function (e) { return e != null; })
|
|
11254
11137
|
.map(function (entry) {
|
|
11255
|
-
if (entry === null) {
|
|
11256
|
-
return null;
|
|
11257
|
-
}
|
|
11258
11138
|
return deserializeAws_querySubnet(entry, context);
|
|
11259
11139
|
});
|
|
11260
11140
|
};
|
|
@@ -11293,9 +11173,6 @@ var deserializeAws_queryTagList = function (output, context) {
|
|
|
11293
11173
|
return (output || [])
|
|
11294
11174
|
.filter(function (e) { return e != null; })
|
|
11295
11175
|
.map(function (entry) {
|
|
11296
|
-
if (entry === null) {
|
|
11297
|
-
return null;
|
|
11298
|
-
}
|
|
11299
11176
|
return deserializeAws_queryTag(entry, context);
|
|
11300
11177
|
});
|
|
11301
11178
|
};
|
|
@@ -11351,9 +11228,6 @@ var deserializeAws_queryUGReplicationGroupIdList = function (output, context) {
|
|
|
11351
11228
|
return (output || [])
|
|
11352
11229
|
.filter(function (e) { return e != null; })
|
|
11353
11230
|
.map(function (entry) {
|
|
11354
|
-
if (entry === null) {
|
|
11355
|
-
return null;
|
|
11356
|
-
}
|
|
11357
11231
|
return __expectString(entry);
|
|
11358
11232
|
});
|
|
11359
11233
|
};
|
|
@@ -11386,9 +11260,6 @@ var deserializeAws_queryUnprocessedUpdateActionList = function (output, context)
|
|
|
11386
11260
|
return (output || [])
|
|
11387
11261
|
.filter(function (e) { return e != null; })
|
|
11388
11262
|
.map(function (entry) {
|
|
11389
|
-
if (entry === null) {
|
|
11390
|
-
return null;
|
|
11391
|
-
}
|
|
11392
11263
|
return deserializeAws_queryUnprocessedUpdateAction(entry, context);
|
|
11393
11264
|
});
|
|
11394
11265
|
};
|
|
@@ -11477,9 +11348,6 @@ var deserializeAws_queryUpdateActionList = function (output, context) {
|
|
|
11477
11348
|
return (output || [])
|
|
11478
11349
|
.filter(function (e) { return e != null; })
|
|
11479
11350
|
.map(function (entry) {
|
|
11480
|
-
if (entry === null) {
|
|
11481
|
-
return null;
|
|
11482
|
-
}
|
|
11483
11351
|
return deserializeAws_queryUpdateAction(entry, context);
|
|
11484
11352
|
});
|
|
11485
11353
|
};
|
|
@@ -11629,9 +11497,6 @@ var deserializeAws_queryUserGroupIdList = function (output, context) {
|
|
|
11629
11497
|
return (output || [])
|
|
11630
11498
|
.filter(function (e) { return e != null; })
|
|
11631
11499
|
.map(function (entry) {
|
|
11632
|
-
if (entry === null) {
|
|
11633
|
-
return null;
|
|
11634
|
-
}
|
|
11635
11500
|
return __expectString(entry);
|
|
11636
11501
|
});
|
|
11637
11502
|
};
|
|
@@ -11639,9 +11504,6 @@ var deserializeAws_queryUserGroupList = function (output, context) {
|
|
|
11639
11504
|
return (output || [])
|
|
11640
11505
|
.filter(function (e) { return e != null; })
|
|
11641
11506
|
.map(function (entry) {
|
|
11642
|
-
if (entry === null) {
|
|
11643
|
-
return null;
|
|
11644
|
-
}
|
|
11645
11507
|
return deserializeAws_queryUserGroup(entry, context);
|
|
11646
11508
|
});
|
|
11647
11509
|
};
|
|
@@ -11705,9 +11567,6 @@ var deserializeAws_queryUserIdList = function (output, context) {
|
|
|
11705
11567
|
return (output || [])
|
|
11706
11568
|
.filter(function (e) { return e != null; })
|
|
11707
11569
|
.map(function (entry) {
|
|
11708
|
-
if (entry === null) {
|
|
11709
|
-
return null;
|
|
11710
|
-
}
|
|
11711
11570
|
return __expectString(entry);
|
|
11712
11571
|
});
|
|
11713
11572
|
};
|
|
@@ -11715,9 +11574,6 @@ var deserializeAws_queryUserList = function (output, context) {
|
|
|
11715
11574
|
return (output || [])
|
|
11716
11575
|
.filter(function (e) { return e != null; })
|
|
11717
11576
|
.map(function (entry) {
|
|
11718
|
-
if (entry === null) {
|
|
11719
|
-
return null;
|
|
11720
|
-
}
|
|
11721
11577
|
return deserializeAws_queryUser(entry, context);
|
|
11722
11578
|
});
|
|
11723
11579
|
};
|