@aws-sdk/client-gamelift 3.141.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +475 -841
- package/dist-es/protocols/Aws_json1_1.js +761 -842
- package/package.json +11 -6
|
@@ -977,7 +977,6 @@ const deserializeAws_json1_1AcceptMatchCommandError = async (output, context) =>
|
|
|
977
977
|
...output,
|
|
978
978
|
body: await parseBody(output.body, context),
|
|
979
979
|
};
|
|
980
|
-
let response;
|
|
981
980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
982
981
|
switch (errorCode) {
|
|
983
982
|
case "InternalServiceException":
|
|
@@ -994,14 +993,12 @@ const deserializeAws_json1_1AcceptMatchCommandError = async (output, context) =>
|
|
|
994
993
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
995
994
|
default:
|
|
996
995
|
const parsedBody = parsedOutput.body;
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
$metadata,
|
|
996
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
997
|
+
output,
|
|
998
|
+
parsedBody,
|
|
999
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1000
|
+
errorCode,
|
|
1003
1001
|
});
|
|
1004
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1005
1002
|
}
|
|
1006
1003
|
};
|
|
1007
1004
|
const deserializeAws_json1_1ClaimGameServerCommand = async (output, context) => {
|
|
@@ -1023,7 +1020,6 @@ const deserializeAws_json1_1ClaimGameServerCommandError = async (output, context
|
|
|
1023
1020
|
...output,
|
|
1024
1021
|
body: await parseBody(output.body, context),
|
|
1025
1022
|
};
|
|
1026
|
-
let response;
|
|
1027
1023
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1028
1024
|
switch (errorCode) {
|
|
1029
1025
|
case "ConflictException":
|
|
@@ -1046,14 +1042,12 @@ const deserializeAws_json1_1ClaimGameServerCommandError = async (output, context
|
|
|
1046
1042
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1047
1043
|
default:
|
|
1048
1044
|
const parsedBody = parsedOutput.body;
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
$metadata,
|
|
1045
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1046
|
+
output,
|
|
1047
|
+
parsedBody,
|
|
1048
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1049
|
+
errorCode,
|
|
1055
1050
|
});
|
|
1056
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1057
1051
|
}
|
|
1058
1052
|
};
|
|
1059
1053
|
const deserializeAws_json1_1CreateAliasCommand = async (output, context) => {
|
|
@@ -1075,7 +1069,6 @@ const deserializeAws_json1_1CreateAliasCommandError = async (output, context) =>
|
|
|
1075
1069
|
...output,
|
|
1076
1070
|
body: await parseBody(output.body, context),
|
|
1077
1071
|
};
|
|
1078
|
-
let response;
|
|
1079
1072
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1080
1073
|
switch (errorCode) {
|
|
1081
1074
|
case "ConflictException":
|
|
@@ -1098,14 +1091,12 @@ const deserializeAws_json1_1CreateAliasCommandError = async (output, context) =>
|
|
|
1098
1091
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1099
1092
|
default:
|
|
1100
1093
|
const parsedBody = parsedOutput.body;
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
$metadata,
|
|
1094
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1095
|
+
output,
|
|
1096
|
+
parsedBody,
|
|
1097
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1098
|
+
errorCode,
|
|
1107
1099
|
});
|
|
1108
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1109
1100
|
}
|
|
1110
1101
|
};
|
|
1111
1102
|
const deserializeAws_json1_1CreateBuildCommand = async (output, context) => {
|
|
@@ -1127,7 +1118,6 @@ const deserializeAws_json1_1CreateBuildCommandError = async (output, context) =>
|
|
|
1127
1118
|
...output,
|
|
1128
1119
|
body: await parseBody(output.body, context),
|
|
1129
1120
|
};
|
|
1130
|
-
let response;
|
|
1131
1121
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1132
1122
|
switch (errorCode) {
|
|
1133
1123
|
case "ConflictException":
|
|
@@ -1147,14 +1137,12 @@ const deserializeAws_json1_1CreateBuildCommandError = async (output, context) =>
|
|
|
1147
1137
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1148
1138
|
default:
|
|
1149
1139
|
const parsedBody = parsedOutput.body;
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
$metadata,
|
|
1140
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1141
|
+
output,
|
|
1142
|
+
parsedBody,
|
|
1143
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1144
|
+
errorCode,
|
|
1156
1145
|
});
|
|
1157
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1158
1146
|
}
|
|
1159
1147
|
};
|
|
1160
1148
|
const deserializeAws_json1_1CreateFleetCommand = async (output, context) => {
|
|
@@ -1176,7 +1164,6 @@ const deserializeAws_json1_1CreateFleetCommandError = async (output, context) =>
|
|
|
1176
1164
|
...output,
|
|
1177
1165
|
body: await parseBody(output.body, context),
|
|
1178
1166
|
};
|
|
1179
|
-
let response;
|
|
1180
1167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1181
1168
|
switch (errorCode) {
|
|
1182
1169
|
case "ConflictException":
|
|
@@ -1205,14 +1192,12 @@ const deserializeAws_json1_1CreateFleetCommandError = async (output, context) =>
|
|
|
1205
1192
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
1206
1193
|
default:
|
|
1207
1194
|
const parsedBody = parsedOutput.body;
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
$metadata,
|
|
1195
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1196
|
+
output,
|
|
1197
|
+
parsedBody,
|
|
1198
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1199
|
+
errorCode,
|
|
1214
1200
|
});
|
|
1215
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1216
1201
|
}
|
|
1217
1202
|
};
|
|
1218
1203
|
const deserializeAws_json1_1CreateFleetLocationsCommand = async (output, context) => {
|
|
@@ -1234,7 +1219,6 @@ const deserializeAws_json1_1CreateFleetLocationsCommandError = async (output, co
|
|
|
1234
1219
|
...output,
|
|
1235
1220
|
body: await parseBody(output.body, context),
|
|
1236
1221
|
};
|
|
1237
|
-
let response;
|
|
1238
1222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1239
1223
|
switch (errorCode) {
|
|
1240
1224
|
case "InternalServiceException":
|
|
@@ -1257,14 +1241,12 @@ const deserializeAws_json1_1CreateFleetLocationsCommandError = async (output, co
|
|
|
1257
1241
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
1258
1242
|
default:
|
|
1259
1243
|
const parsedBody = parsedOutput.body;
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
$metadata,
|
|
1244
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1245
|
+
output,
|
|
1246
|
+
parsedBody,
|
|
1247
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1248
|
+
errorCode,
|
|
1266
1249
|
});
|
|
1267
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1268
1250
|
}
|
|
1269
1251
|
};
|
|
1270
1252
|
const deserializeAws_json1_1CreateGameServerGroupCommand = async (output, context) => {
|
|
@@ -1286,7 +1268,6 @@ const deserializeAws_json1_1CreateGameServerGroupCommandError = async (output, c
|
|
|
1286
1268
|
...output,
|
|
1287
1269
|
body: await parseBody(output.body, context),
|
|
1288
1270
|
};
|
|
1289
|
-
let response;
|
|
1290
1271
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1291
1272
|
switch (errorCode) {
|
|
1292
1273
|
case "ConflictException":
|
|
@@ -1306,14 +1287,12 @@ const deserializeAws_json1_1CreateGameServerGroupCommandError = async (output, c
|
|
|
1306
1287
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1307
1288
|
default:
|
|
1308
1289
|
const parsedBody = parsedOutput.body;
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
$metadata,
|
|
1290
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1291
|
+
output,
|
|
1292
|
+
parsedBody,
|
|
1293
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1294
|
+
errorCode,
|
|
1315
1295
|
});
|
|
1316
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1317
1296
|
}
|
|
1318
1297
|
};
|
|
1319
1298
|
const deserializeAws_json1_1CreateGameSessionCommand = async (output, context) => {
|
|
@@ -1335,7 +1314,6 @@ const deserializeAws_json1_1CreateGameSessionCommandError = async (output, conte
|
|
|
1335
1314
|
...output,
|
|
1336
1315
|
body: await parseBody(output.body, context),
|
|
1337
1316
|
};
|
|
1338
|
-
let response;
|
|
1339
1317
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1340
1318
|
switch (errorCode) {
|
|
1341
1319
|
case "ConflictException":
|
|
@@ -1373,14 +1351,12 @@ const deserializeAws_json1_1CreateGameSessionCommandError = async (output, conte
|
|
|
1373
1351
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
1374
1352
|
default:
|
|
1375
1353
|
const parsedBody = parsedOutput.body;
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
$metadata,
|
|
1354
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1355
|
+
output,
|
|
1356
|
+
parsedBody,
|
|
1357
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1358
|
+
errorCode,
|
|
1382
1359
|
});
|
|
1383
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1384
1360
|
}
|
|
1385
1361
|
};
|
|
1386
1362
|
const deserializeAws_json1_1CreateGameSessionQueueCommand = async (output, context) => {
|
|
@@ -1402,7 +1378,6 @@ const deserializeAws_json1_1CreateGameSessionQueueCommandError = async (output,
|
|
|
1402
1378
|
...output,
|
|
1403
1379
|
body: await parseBody(output.body, context),
|
|
1404
1380
|
};
|
|
1405
|
-
let response;
|
|
1406
1381
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1407
1382
|
switch (errorCode) {
|
|
1408
1383
|
case "InternalServiceException":
|
|
@@ -1425,14 +1400,12 @@ const deserializeAws_json1_1CreateGameSessionQueueCommandError = async (output,
|
|
|
1425
1400
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1426
1401
|
default:
|
|
1427
1402
|
const parsedBody = parsedOutput.body;
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
$metadata,
|
|
1403
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1404
|
+
output,
|
|
1405
|
+
parsedBody,
|
|
1406
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1407
|
+
errorCode,
|
|
1434
1408
|
});
|
|
1435
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1436
1409
|
}
|
|
1437
1410
|
};
|
|
1438
1411
|
const deserializeAws_json1_1CreateMatchmakingConfigurationCommand = async (output, context) => {
|
|
@@ -1454,7 +1427,6 @@ const deserializeAws_json1_1CreateMatchmakingConfigurationCommandError = async (
|
|
|
1454
1427
|
...output,
|
|
1455
1428
|
body: await parseBody(output.body, context),
|
|
1456
1429
|
};
|
|
1457
|
-
let response;
|
|
1458
1430
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1459
1431
|
switch (errorCode) {
|
|
1460
1432
|
case "InternalServiceException":
|
|
@@ -1477,14 +1449,12 @@ const deserializeAws_json1_1CreateMatchmakingConfigurationCommandError = async (
|
|
|
1477
1449
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
1478
1450
|
default:
|
|
1479
1451
|
const parsedBody = parsedOutput.body;
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
$metadata,
|
|
1452
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1453
|
+
output,
|
|
1454
|
+
parsedBody,
|
|
1455
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1456
|
+
errorCode,
|
|
1486
1457
|
});
|
|
1487
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1488
1458
|
}
|
|
1489
1459
|
};
|
|
1490
1460
|
const deserializeAws_json1_1CreateMatchmakingRuleSetCommand = async (output, context) => {
|
|
@@ -1506,7 +1476,6 @@ const deserializeAws_json1_1CreateMatchmakingRuleSetCommandError = async (output
|
|
|
1506
1476
|
...output,
|
|
1507
1477
|
body: await parseBody(output.body, context),
|
|
1508
1478
|
};
|
|
1509
|
-
let response;
|
|
1510
1479
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1511
1480
|
switch (errorCode) {
|
|
1512
1481
|
case "InternalServiceException":
|
|
@@ -1523,14 +1492,12 @@ const deserializeAws_json1_1CreateMatchmakingRuleSetCommandError = async (output
|
|
|
1523
1492
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
1524
1493
|
default:
|
|
1525
1494
|
const parsedBody = parsedOutput.body;
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
$metadata,
|
|
1495
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1496
|
+
output,
|
|
1497
|
+
parsedBody,
|
|
1498
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1499
|
+
errorCode,
|
|
1532
1500
|
});
|
|
1533
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1534
1501
|
}
|
|
1535
1502
|
};
|
|
1536
1503
|
const deserializeAws_json1_1CreatePlayerSessionCommand = async (output, context) => {
|
|
@@ -1552,7 +1519,6 @@ const deserializeAws_json1_1CreatePlayerSessionCommandError = async (output, con
|
|
|
1552
1519
|
...output,
|
|
1553
1520
|
body: await parseBody(output.body, context),
|
|
1554
1521
|
};
|
|
1555
|
-
let response;
|
|
1556
1522
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1557
1523
|
switch (errorCode) {
|
|
1558
1524
|
case "GameSessionFullException":
|
|
@@ -1578,14 +1544,12 @@ const deserializeAws_json1_1CreatePlayerSessionCommandError = async (output, con
|
|
|
1578
1544
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1579
1545
|
default:
|
|
1580
1546
|
const parsedBody = parsedOutput.body;
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
$metadata,
|
|
1547
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1548
|
+
output,
|
|
1549
|
+
parsedBody,
|
|
1550
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1551
|
+
errorCode,
|
|
1587
1552
|
});
|
|
1588
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1589
1553
|
}
|
|
1590
1554
|
};
|
|
1591
1555
|
const deserializeAws_json1_1CreatePlayerSessionsCommand = async (output, context) => {
|
|
@@ -1607,7 +1571,6 @@ const deserializeAws_json1_1CreatePlayerSessionsCommandError = async (output, co
|
|
|
1607
1571
|
...output,
|
|
1608
1572
|
body: await parseBody(output.body, context),
|
|
1609
1573
|
};
|
|
1610
|
-
let response;
|
|
1611
1574
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1612
1575
|
switch (errorCode) {
|
|
1613
1576
|
case "GameSessionFullException":
|
|
@@ -1633,14 +1596,12 @@ const deserializeAws_json1_1CreatePlayerSessionsCommandError = async (output, co
|
|
|
1633
1596
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1634
1597
|
default:
|
|
1635
1598
|
const parsedBody = parsedOutput.body;
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
$metadata,
|
|
1599
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1600
|
+
output,
|
|
1601
|
+
parsedBody,
|
|
1602
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1603
|
+
errorCode,
|
|
1642
1604
|
});
|
|
1643
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1644
1605
|
}
|
|
1645
1606
|
};
|
|
1646
1607
|
const deserializeAws_json1_1CreateScriptCommand = async (output, context) => {
|
|
@@ -1662,7 +1623,6 @@ const deserializeAws_json1_1CreateScriptCommandError = async (output, context) =
|
|
|
1662
1623
|
...output,
|
|
1663
1624
|
body: await parseBody(output.body, context),
|
|
1664
1625
|
};
|
|
1665
|
-
let response;
|
|
1666
1626
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1667
1627
|
switch (errorCode) {
|
|
1668
1628
|
case "ConflictException":
|
|
@@ -1682,14 +1642,12 @@ const deserializeAws_json1_1CreateScriptCommandError = async (output, context) =
|
|
|
1682
1642
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1683
1643
|
default:
|
|
1684
1644
|
const parsedBody = parsedOutput.body;
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
$metadata,
|
|
1645
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1646
|
+
output,
|
|
1647
|
+
parsedBody,
|
|
1648
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1649
|
+
errorCode,
|
|
1691
1650
|
});
|
|
1692
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1693
1651
|
}
|
|
1694
1652
|
};
|
|
1695
1653
|
const deserializeAws_json1_1CreateVpcPeeringAuthorizationCommand = async (output, context) => {
|
|
@@ -1711,7 +1669,6 @@ const deserializeAws_json1_1CreateVpcPeeringAuthorizationCommandError = async (o
|
|
|
1711
1669
|
...output,
|
|
1712
1670
|
body: await parseBody(output.body, context),
|
|
1713
1671
|
};
|
|
1714
|
-
let response;
|
|
1715
1672
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1716
1673
|
switch (errorCode) {
|
|
1717
1674
|
case "InternalServiceException":
|
|
@@ -1728,14 +1685,12 @@ const deserializeAws_json1_1CreateVpcPeeringAuthorizationCommandError = async (o
|
|
|
1728
1685
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1729
1686
|
default:
|
|
1730
1687
|
const parsedBody = parsedOutput.body;
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
$metadata,
|
|
1688
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1689
|
+
output,
|
|
1690
|
+
parsedBody,
|
|
1691
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1692
|
+
errorCode,
|
|
1737
1693
|
});
|
|
1738
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1739
1694
|
}
|
|
1740
1695
|
};
|
|
1741
1696
|
const deserializeAws_json1_1CreateVpcPeeringConnectionCommand = async (output, context) => {
|
|
@@ -1757,7 +1712,6 @@ const deserializeAws_json1_1CreateVpcPeeringConnectionCommandError = async (outp
|
|
|
1757
1712
|
...output,
|
|
1758
1713
|
body: await parseBody(output.body, context),
|
|
1759
1714
|
};
|
|
1760
|
-
let response;
|
|
1761
1715
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1762
1716
|
switch (errorCode) {
|
|
1763
1717
|
case "InternalServiceException":
|
|
@@ -1774,14 +1728,12 @@ const deserializeAws_json1_1CreateVpcPeeringConnectionCommandError = async (outp
|
|
|
1774
1728
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1775
1729
|
default:
|
|
1776
1730
|
const parsedBody = parsedOutput.body;
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
$metadata,
|
|
1731
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1732
|
+
output,
|
|
1733
|
+
parsedBody,
|
|
1734
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1735
|
+
errorCode,
|
|
1783
1736
|
});
|
|
1784
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1785
1737
|
}
|
|
1786
1738
|
};
|
|
1787
1739
|
const deserializeAws_json1_1DeleteAliasCommand = async (output, context) => {
|
|
@@ -1800,7 +1752,6 @@ const deserializeAws_json1_1DeleteAliasCommandError = async (output, context) =>
|
|
|
1800
1752
|
...output,
|
|
1801
1753
|
body: await parseBody(output.body, context),
|
|
1802
1754
|
};
|
|
1803
|
-
let response;
|
|
1804
1755
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1805
1756
|
switch (errorCode) {
|
|
1806
1757
|
case "InternalServiceException":
|
|
@@ -1820,14 +1771,12 @@ const deserializeAws_json1_1DeleteAliasCommandError = async (output, context) =>
|
|
|
1820
1771
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1821
1772
|
default:
|
|
1822
1773
|
const parsedBody = parsedOutput.body;
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
$metadata,
|
|
1774
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1775
|
+
output,
|
|
1776
|
+
parsedBody,
|
|
1777
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1778
|
+
errorCode,
|
|
1829
1779
|
});
|
|
1830
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1831
1780
|
}
|
|
1832
1781
|
};
|
|
1833
1782
|
const deserializeAws_json1_1DeleteBuildCommand = async (output, context) => {
|
|
@@ -1846,7 +1795,6 @@ const deserializeAws_json1_1DeleteBuildCommandError = async (output, context) =>
|
|
|
1846
1795
|
...output,
|
|
1847
1796
|
body: await parseBody(output.body, context),
|
|
1848
1797
|
};
|
|
1849
|
-
let response;
|
|
1850
1798
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1851
1799
|
switch (errorCode) {
|
|
1852
1800
|
case "InternalServiceException":
|
|
@@ -1866,14 +1814,12 @@ const deserializeAws_json1_1DeleteBuildCommandError = async (output, context) =>
|
|
|
1866
1814
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1867
1815
|
default:
|
|
1868
1816
|
const parsedBody = parsedOutput.body;
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
$metadata,
|
|
1817
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1818
|
+
output,
|
|
1819
|
+
parsedBody,
|
|
1820
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1821
|
+
errorCode,
|
|
1875
1822
|
});
|
|
1876
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1877
1823
|
}
|
|
1878
1824
|
};
|
|
1879
1825
|
const deserializeAws_json1_1DeleteFleetCommand = async (output, context) => {
|
|
@@ -1892,7 +1838,6 @@ const deserializeAws_json1_1DeleteFleetCommandError = async (output, context) =>
|
|
|
1892
1838
|
...output,
|
|
1893
1839
|
body: await parseBody(output.body, context),
|
|
1894
1840
|
};
|
|
1895
|
-
let response;
|
|
1896
1841
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1897
1842
|
switch (errorCode) {
|
|
1898
1843
|
case "InternalServiceException":
|
|
@@ -1915,14 +1860,12 @@ const deserializeAws_json1_1DeleteFleetCommandError = async (output, context) =>
|
|
|
1915
1860
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1916
1861
|
default:
|
|
1917
1862
|
const parsedBody = parsedOutput.body;
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
$metadata,
|
|
1863
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1864
|
+
output,
|
|
1865
|
+
parsedBody,
|
|
1866
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1867
|
+
errorCode,
|
|
1924
1868
|
});
|
|
1925
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1926
1869
|
}
|
|
1927
1870
|
};
|
|
1928
1871
|
const deserializeAws_json1_1DeleteFleetLocationsCommand = async (output, context) => {
|
|
@@ -1944,7 +1887,6 @@ const deserializeAws_json1_1DeleteFleetLocationsCommandError = async (output, co
|
|
|
1944
1887
|
...output,
|
|
1945
1888
|
body: await parseBody(output.body, context),
|
|
1946
1889
|
};
|
|
1947
|
-
let response;
|
|
1948
1890
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1949
1891
|
switch (errorCode) {
|
|
1950
1892
|
case "InternalServiceException":
|
|
@@ -1964,14 +1906,12 @@ const deserializeAws_json1_1DeleteFleetLocationsCommandError = async (output, co
|
|
|
1964
1906
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
1965
1907
|
default:
|
|
1966
1908
|
const parsedBody = parsedOutput.body;
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
$metadata,
|
|
1909
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1910
|
+
output,
|
|
1911
|
+
parsedBody,
|
|
1912
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1913
|
+
errorCode,
|
|
1973
1914
|
});
|
|
1974
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1975
1915
|
}
|
|
1976
1916
|
};
|
|
1977
1917
|
const deserializeAws_json1_1DeleteGameServerGroupCommand = async (output, context) => {
|
|
@@ -1993,7 +1933,6 @@ const deserializeAws_json1_1DeleteGameServerGroupCommandError = async (output, c
|
|
|
1993
1933
|
...output,
|
|
1994
1934
|
body: await parseBody(output.body, context),
|
|
1995
1935
|
};
|
|
1996
|
-
let response;
|
|
1997
1936
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1998
1937
|
switch (errorCode) {
|
|
1999
1938
|
case "InternalServiceException":
|
|
@@ -2010,14 +1949,12 @@ const deserializeAws_json1_1DeleteGameServerGroupCommandError = async (output, c
|
|
|
2010
1949
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2011
1950
|
default:
|
|
2012
1951
|
const parsedBody = parsedOutput.body;
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
$metadata,
|
|
1952
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1953
|
+
output,
|
|
1954
|
+
parsedBody,
|
|
1955
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
1956
|
+
errorCode,
|
|
2019
1957
|
});
|
|
2020
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2021
1958
|
}
|
|
2022
1959
|
};
|
|
2023
1960
|
const deserializeAws_json1_1DeleteGameSessionQueueCommand = async (output, context) => {
|
|
@@ -2039,7 +1976,6 @@ const deserializeAws_json1_1DeleteGameSessionQueueCommandError = async (output,
|
|
|
2039
1976
|
...output,
|
|
2040
1977
|
body: await parseBody(output.body, context),
|
|
2041
1978
|
};
|
|
2042
|
-
let response;
|
|
2043
1979
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2044
1980
|
switch (errorCode) {
|
|
2045
1981
|
case "InternalServiceException":
|
|
@@ -2059,14 +1995,12 @@ const deserializeAws_json1_1DeleteGameSessionQueueCommandError = async (output,
|
|
|
2059
1995
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2060
1996
|
default:
|
|
2061
1997
|
const parsedBody = parsedOutput.body;
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
$metadata,
|
|
1998
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1999
|
+
output,
|
|
2000
|
+
parsedBody,
|
|
2001
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2002
|
+
errorCode,
|
|
2068
2003
|
});
|
|
2069
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2070
2004
|
}
|
|
2071
2005
|
};
|
|
2072
2006
|
const deserializeAws_json1_1DeleteMatchmakingConfigurationCommand = async (output, context) => {
|
|
@@ -2088,7 +2022,6 @@ const deserializeAws_json1_1DeleteMatchmakingConfigurationCommandError = async (
|
|
|
2088
2022
|
...output,
|
|
2089
2023
|
body: await parseBody(output.body, context),
|
|
2090
2024
|
};
|
|
2091
|
-
let response;
|
|
2092
2025
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2093
2026
|
switch (errorCode) {
|
|
2094
2027
|
case "InternalServiceException":
|
|
@@ -2108,14 +2041,12 @@ const deserializeAws_json1_1DeleteMatchmakingConfigurationCommandError = async (
|
|
|
2108
2041
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2109
2042
|
default:
|
|
2110
2043
|
const parsedBody = parsedOutput.body;
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
$metadata,
|
|
2044
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2045
|
+
output,
|
|
2046
|
+
parsedBody,
|
|
2047
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2048
|
+
errorCode,
|
|
2117
2049
|
});
|
|
2118
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2119
2050
|
}
|
|
2120
2051
|
};
|
|
2121
2052
|
const deserializeAws_json1_1DeleteMatchmakingRuleSetCommand = async (output, context) => {
|
|
@@ -2137,7 +2068,6 @@ const deserializeAws_json1_1DeleteMatchmakingRuleSetCommandError = async (output
|
|
|
2137
2068
|
...output,
|
|
2138
2069
|
body: await parseBody(output.body, context),
|
|
2139
2070
|
};
|
|
2140
|
-
let response;
|
|
2141
2071
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2142
2072
|
switch (errorCode) {
|
|
2143
2073
|
case "InternalServiceException":
|
|
@@ -2157,14 +2087,12 @@ const deserializeAws_json1_1DeleteMatchmakingRuleSetCommandError = async (output
|
|
|
2157
2087
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2158
2088
|
default:
|
|
2159
2089
|
const parsedBody = parsedOutput.body;
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
$metadata,
|
|
2090
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2091
|
+
output,
|
|
2092
|
+
parsedBody,
|
|
2093
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2094
|
+
errorCode,
|
|
2166
2095
|
});
|
|
2167
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2168
2096
|
}
|
|
2169
2097
|
};
|
|
2170
2098
|
const deserializeAws_json1_1DeleteScalingPolicyCommand = async (output, context) => {
|
|
@@ -2183,7 +2111,6 @@ const deserializeAws_json1_1DeleteScalingPolicyCommandError = async (output, con
|
|
|
2183
2111
|
...output,
|
|
2184
2112
|
body: await parseBody(output.body, context),
|
|
2185
2113
|
};
|
|
2186
|
-
let response;
|
|
2187
2114
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2188
2115
|
switch (errorCode) {
|
|
2189
2116
|
case "InternalServiceException":
|
|
@@ -2200,14 +2127,12 @@ const deserializeAws_json1_1DeleteScalingPolicyCommandError = async (output, con
|
|
|
2200
2127
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2201
2128
|
default:
|
|
2202
2129
|
const parsedBody = parsedOutput.body;
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
$metadata,
|
|
2130
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2131
|
+
output,
|
|
2132
|
+
parsedBody,
|
|
2133
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2134
|
+
errorCode,
|
|
2209
2135
|
});
|
|
2210
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2211
2136
|
}
|
|
2212
2137
|
};
|
|
2213
2138
|
const deserializeAws_json1_1DeleteScriptCommand = async (output, context) => {
|
|
@@ -2226,7 +2151,6 @@ const deserializeAws_json1_1DeleteScriptCommandError = async (output, context) =
|
|
|
2226
2151
|
...output,
|
|
2227
2152
|
body: await parseBody(output.body, context),
|
|
2228
2153
|
};
|
|
2229
|
-
let response;
|
|
2230
2154
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2231
2155
|
switch (errorCode) {
|
|
2232
2156
|
case "InternalServiceException":
|
|
@@ -2246,14 +2170,12 @@ const deserializeAws_json1_1DeleteScriptCommandError = async (output, context) =
|
|
|
2246
2170
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2247
2171
|
default:
|
|
2248
2172
|
const parsedBody = parsedOutput.body;
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
$metadata,
|
|
2173
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2174
|
+
output,
|
|
2175
|
+
parsedBody,
|
|
2176
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2177
|
+
errorCode,
|
|
2255
2178
|
});
|
|
2256
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2257
2179
|
}
|
|
2258
2180
|
};
|
|
2259
2181
|
const deserializeAws_json1_1DeleteVpcPeeringAuthorizationCommand = async (output, context) => {
|
|
@@ -2275,7 +2197,6 @@ const deserializeAws_json1_1DeleteVpcPeeringAuthorizationCommandError = async (o
|
|
|
2275
2197
|
...output,
|
|
2276
2198
|
body: await parseBody(output.body, context),
|
|
2277
2199
|
};
|
|
2278
|
-
let response;
|
|
2279
2200
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2280
2201
|
switch (errorCode) {
|
|
2281
2202
|
case "InternalServiceException":
|
|
@@ -2292,14 +2213,12 @@ const deserializeAws_json1_1DeleteVpcPeeringAuthorizationCommandError = async (o
|
|
|
2292
2213
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2293
2214
|
default:
|
|
2294
2215
|
const parsedBody = parsedOutput.body;
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
$metadata,
|
|
2216
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2217
|
+
output,
|
|
2218
|
+
parsedBody,
|
|
2219
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2220
|
+
errorCode,
|
|
2301
2221
|
});
|
|
2302
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2303
2222
|
}
|
|
2304
2223
|
};
|
|
2305
2224
|
const deserializeAws_json1_1DeleteVpcPeeringConnectionCommand = async (output, context) => {
|
|
@@ -2321,7 +2240,6 @@ const deserializeAws_json1_1DeleteVpcPeeringConnectionCommandError = async (outp
|
|
|
2321
2240
|
...output,
|
|
2322
2241
|
body: await parseBody(output.body, context),
|
|
2323
2242
|
};
|
|
2324
|
-
let response;
|
|
2325
2243
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2326
2244
|
switch (errorCode) {
|
|
2327
2245
|
case "InternalServiceException":
|
|
@@ -2338,14 +2256,12 @@ const deserializeAws_json1_1DeleteVpcPeeringConnectionCommandError = async (outp
|
|
|
2338
2256
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2339
2257
|
default:
|
|
2340
2258
|
const parsedBody = parsedOutput.body;
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
$metadata,
|
|
2259
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2260
|
+
output,
|
|
2261
|
+
parsedBody,
|
|
2262
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2263
|
+
errorCode,
|
|
2347
2264
|
});
|
|
2348
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2349
2265
|
}
|
|
2350
2266
|
};
|
|
2351
2267
|
const deserializeAws_json1_1DeregisterGameServerCommand = async (output, context) => {
|
|
@@ -2364,7 +2280,6 @@ const deserializeAws_json1_1DeregisterGameServerCommandError = async (output, co
|
|
|
2364
2280
|
...output,
|
|
2365
2281
|
body: await parseBody(output.body, context),
|
|
2366
2282
|
};
|
|
2367
|
-
let response;
|
|
2368
2283
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2369
2284
|
switch (errorCode) {
|
|
2370
2285
|
case "InternalServiceException":
|
|
@@ -2381,14 +2296,12 @@ const deserializeAws_json1_1DeregisterGameServerCommandError = async (output, co
|
|
|
2381
2296
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2382
2297
|
default:
|
|
2383
2298
|
const parsedBody = parsedOutput.body;
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
$metadata,
|
|
2299
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2300
|
+
output,
|
|
2301
|
+
parsedBody,
|
|
2302
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2303
|
+
errorCode,
|
|
2390
2304
|
});
|
|
2391
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2392
2305
|
}
|
|
2393
2306
|
};
|
|
2394
2307
|
const deserializeAws_json1_1DescribeAliasCommand = async (output, context) => {
|
|
@@ -2410,7 +2323,6 @@ const deserializeAws_json1_1DescribeAliasCommandError = async (output, context)
|
|
|
2410
2323
|
...output,
|
|
2411
2324
|
body: await parseBody(output.body, context),
|
|
2412
2325
|
};
|
|
2413
|
-
let response;
|
|
2414
2326
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2415
2327
|
switch (errorCode) {
|
|
2416
2328
|
case "InternalServiceException":
|
|
@@ -2427,14 +2339,12 @@ const deserializeAws_json1_1DescribeAliasCommandError = async (output, context)
|
|
|
2427
2339
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2428
2340
|
default:
|
|
2429
2341
|
const parsedBody = parsedOutput.body;
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
$metadata,
|
|
2342
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2343
|
+
output,
|
|
2344
|
+
parsedBody,
|
|
2345
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2346
|
+
errorCode,
|
|
2436
2347
|
});
|
|
2437
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2438
2348
|
}
|
|
2439
2349
|
};
|
|
2440
2350
|
const deserializeAws_json1_1DescribeBuildCommand = async (output, context) => {
|
|
@@ -2456,7 +2366,6 @@ const deserializeAws_json1_1DescribeBuildCommandError = async (output, context)
|
|
|
2456
2366
|
...output,
|
|
2457
2367
|
body: await parseBody(output.body, context),
|
|
2458
2368
|
};
|
|
2459
|
-
let response;
|
|
2460
2369
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2461
2370
|
switch (errorCode) {
|
|
2462
2371
|
case "InternalServiceException":
|
|
@@ -2473,14 +2382,12 @@ const deserializeAws_json1_1DescribeBuildCommandError = async (output, context)
|
|
|
2473
2382
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2474
2383
|
default:
|
|
2475
2384
|
const parsedBody = parsedOutput.body;
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
$metadata,
|
|
2385
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2386
|
+
output,
|
|
2387
|
+
parsedBody,
|
|
2388
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2389
|
+
errorCode,
|
|
2482
2390
|
});
|
|
2483
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2484
2391
|
}
|
|
2485
2392
|
};
|
|
2486
2393
|
const deserializeAws_json1_1DescribeEC2InstanceLimitsCommand = async (output, context) => {
|
|
@@ -2502,7 +2409,6 @@ const deserializeAws_json1_1DescribeEC2InstanceLimitsCommandError = async (outpu
|
|
|
2502
2409
|
...output,
|
|
2503
2410
|
body: await parseBody(output.body, context),
|
|
2504
2411
|
};
|
|
2505
|
-
let response;
|
|
2506
2412
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2507
2413
|
switch (errorCode) {
|
|
2508
2414
|
case "InternalServiceException":
|
|
@@ -2519,14 +2425,12 @@ const deserializeAws_json1_1DescribeEC2InstanceLimitsCommandError = async (outpu
|
|
|
2519
2425
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2520
2426
|
default:
|
|
2521
2427
|
const parsedBody = parsedOutput.body;
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
$metadata,
|
|
2428
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2429
|
+
output,
|
|
2430
|
+
parsedBody,
|
|
2431
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2432
|
+
errorCode,
|
|
2528
2433
|
});
|
|
2529
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2530
2434
|
}
|
|
2531
2435
|
};
|
|
2532
2436
|
const deserializeAws_json1_1DescribeFleetAttributesCommand = async (output, context) => {
|
|
@@ -2548,7 +2452,6 @@ const deserializeAws_json1_1DescribeFleetAttributesCommandError = async (output,
|
|
|
2548
2452
|
...output,
|
|
2549
2453
|
body: await parseBody(output.body, context),
|
|
2550
2454
|
};
|
|
2551
|
-
let response;
|
|
2552
2455
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2553
2456
|
switch (errorCode) {
|
|
2554
2457
|
case "InternalServiceException":
|
|
@@ -2565,14 +2468,12 @@ const deserializeAws_json1_1DescribeFleetAttributesCommandError = async (output,
|
|
|
2565
2468
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2566
2469
|
default:
|
|
2567
2470
|
const parsedBody = parsedOutput.body;
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
$metadata,
|
|
2471
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2472
|
+
output,
|
|
2473
|
+
parsedBody,
|
|
2474
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2475
|
+
errorCode,
|
|
2574
2476
|
});
|
|
2575
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2576
2477
|
}
|
|
2577
2478
|
};
|
|
2578
2479
|
const deserializeAws_json1_1DescribeFleetCapacityCommand = async (output, context) => {
|
|
@@ -2594,7 +2495,6 @@ const deserializeAws_json1_1DescribeFleetCapacityCommandError = async (output, c
|
|
|
2594
2495
|
...output,
|
|
2595
2496
|
body: await parseBody(output.body, context),
|
|
2596
2497
|
};
|
|
2597
|
-
let response;
|
|
2598
2498
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2599
2499
|
switch (errorCode) {
|
|
2600
2500
|
case "InternalServiceException":
|
|
@@ -2611,14 +2511,12 @@ const deserializeAws_json1_1DescribeFleetCapacityCommandError = async (output, c
|
|
|
2611
2511
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2612
2512
|
default:
|
|
2613
2513
|
const parsedBody = parsedOutput.body;
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
$metadata,
|
|
2514
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2515
|
+
output,
|
|
2516
|
+
parsedBody,
|
|
2517
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2518
|
+
errorCode,
|
|
2620
2519
|
});
|
|
2621
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2622
2520
|
}
|
|
2623
2521
|
};
|
|
2624
2522
|
const deserializeAws_json1_1DescribeFleetEventsCommand = async (output, context) => {
|
|
@@ -2640,7 +2538,6 @@ const deserializeAws_json1_1DescribeFleetEventsCommandError = async (output, con
|
|
|
2640
2538
|
...output,
|
|
2641
2539
|
body: await parseBody(output.body, context),
|
|
2642
2540
|
};
|
|
2643
|
-
let response;
|
|
2644
2541
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2645
2542
|
switch (errorCode) {
|
|
2646
2543
|
case "InternalServiceException":
|
|
@@ -2657,14 +2554,12 @@ const deserializeAws_json1_1DescribeFleetEventsCommandError = async (output, con
|
|
|
2657
2554
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2658
2555
|
default:
|
|
2659
2556
|
const parsedBody = parsedOutput.body;
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
$metadata,
|
|
2557
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2558
|
+
output,
|
|
2559
|
+
parsedBody,
|
|
2560
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2561
|
+
errorCode,
|
|
2666
2562
|
});
|
|
2667
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2668
2563
|
}
|
|
2669
2564
|
};
|
|
2670
2565
|
const deserializeAws_json1_1DescribeFleetLocationAttributesCommand = async (output, context) => {
|
|
@@ -2686,7 +2581,6 @@ const deserializeAws_json1_1DescribeFleetLocationAttributesCommandError = async
|
|
|
2686
2581
|
...output,
|
|
2687
2582
|
body: await parseBody(output.body, context),
|
|
2688
2583
|
};
|
|
2689
|
-
let response;
|
|
2690
2584
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2691
2585
|
switch (errorCode) {
|
|
2692
2586
|
case "InternalServiceException":
|
|
@@ -2706,14 +2600,12 @@ const deserializeAws_json1_1DescribeFleetLocationAttributesCommandError = async
|
|
|
2706
2600
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2707
2601
|
default:
|
|
2708
2602
|
const parsedBody = parsedOutput.body;
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
$metadata,
|
|
2603
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2604
|
+
output,
|
|
2605
|
+
parsedBody,
|
|
2606
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2607
|
+
errorCode,
|
|
2715
2608
|
});
|
|
2716
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2717
2609
|
}
|
|
2718
2610
|
};
|
|
2719
2611
|
const deserializeAws_json1_1DescribeFleetLocationCapacityCommand = async (output, context) => {
|
|
@@ -2735,7 +2627,6 @@ const deserializeAws_json1_1DescribeFleetLocationCapacityCommandError = async (o
|
|
|
2735
2627
|
...output,
|
|
2736
2628
|
body: await parseBody(output.body, context),
|
|
2737
2629
|
};
|
|
2738
|
-
let response;
|
|
2739
2630
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2740
2631
|
switch (errorCode) {
|
|
2741
2632
|
case "InternalServiceException":
|
|
@@ -2755,14 +2646,12 @@ const deserializeAws_json1_1DescribeFleetLocationCapacityCommandError = async (o
|
|
|
2755
2646
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2756
2647
|
default:
|
|
2757
2648
|
const parsedBody = parsedOutput.body;
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
$metadata,
|
|
2649
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2650
|
+
output,
|
|
2651
|
+
parsedBody,
|
|
2652
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2653
|
+
errorCode,
|
|
2764
2654
|
});
|
|
2765
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2766
2655
|
}
|
|
2767
2656
|
};
|
|
2768
2657
|
const deserializeAws_json1_1DescribeFleetLocationUtilizationCommand = async (output, context) => {
|
|
@@ -2784,7 +2673,6 @@ const deserializeAws_json1_1DescribeFleetLocationUtilizationCommandError = async
|
|
|
2784
2673
|
...output,
|
|
2785
2674
|
body: await parseBody(output.body, context),
|
|
2786
2675
|
};
|
|
2787
|
-
let response;
|
|
2788
2676
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2789
2677
|
switch (errorCode) {
|
|
2790
2678
|
case "InternalServiceException":
|
|
@@ -2804,14 +2692,12 @@ const deserializeAws_json1_1DescribeFleetLocationUtilizationCommandError = async
|
|
|
2804
2692
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2805
2693
|
default:
|
|
2806
2694
|
const parsedBody = parsedOutput.body;
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
$metadata,
|
|
2695
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2696
|
+
output,
|
|
2697
|
+
parsedBody,
|
|
2698
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2699
|
+
errorCode,
|
|
2813
2700
|
});
|
|
2814
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2815
2701
|
}
|
|
2816
2702
|
};
|
|
2817
2703
|
const deserializeAws_json1_1DescribeFleetPortSettingsCommand = async (output, context) => {
|
|
@@ -2833,7 +2719,6 @@ const deserializeAws_json1_1DescribeFleetPortSettingsCommandError = async (outpu
|
|
|
2833
2719
|
...output,
|
|
2834
2720
|
body: await parseBody(output.body, context),
|
|
2835
2721
|
};
|
|
2836
|
-
let response;
|
|
2837
2722
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2838
2723
|
switch (errorCode) {
|
|
2839
2724
|
case "InternalServiceException":
|
|
@@ -2850,14 +2735,12 @@ const deserializeAws_json1_1DescribeFleetPortSettingsCommandError = async (outpu
|
|
|
2850
2735
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2851
2736
|
default:
|
|
2852
2737
|
const parsedBody = parsedOutput.body;
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
$metadata,
|
|
2738
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2739
|
+
output,
|
|
2740
|
+
parsedBody,
|
|
2741
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2742
|
+
errorCode,
|
|
2859
2743
|
});
|
|
2860
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2861
2744
|
}
|
|
2862
2745
|
};
|
|
2863
2746
|
const deserializeAws_json1_1DescribeFleetUtilizationCommand = async (output, context) => {
|
|
@@ -2879,7 +2762,6 @@ const deserializeAws_json1_1DescribeFleetUtilizationCommandError = async (output
|
|
|
2879
2762
|
...output,
|
|
2880
2763
|
body: await parseBody(output.body, context),
|
|
2881
2764
|
};
|
|
2882
|
-
let response;
|
|
2883
2765
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2884
2766
|
switch (errorCode) {
|
|
2885
2767
|
case "InternalServiceException":
|
|
@@ -2896,14 +2778,12 @@ const deserializeAws_json1_1DescribeFleetUtilizationCommandError = async (output
|
|
|
2896
2778
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2897
2779
|
default:
|
|
2898
2780
|
const parsedBody = parsedOutput.body;
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
$metadata,
|
|
2781
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2782
|
+
output,
|
|
2783
|
+
parsedBody,
|
|
2784
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2785
|
+
errorCode,
|
|
2905
2786
|
});
|
|
2906
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2907
2787
|
}
|
|
2908
2788
|
};
|
|
2909
2789
|
const deserializeAws_json1_1DescribeGameServerCommand = async (output, context) => {
|
|
@@ -2925,7 +2805,6 @@ const deserializeAws_json1_1DescribeGameServerCommandError = async (output, cont
|
|
|
2925
2805
|
...output,
|
|
2926
2806
|
body: await parseBody(output.body, context),
|
|
2927
2807
|
};
|
|
2928
|
-
let response;
|
|
2929
2808
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2930
2809
|
switch (errorCode) {
|
|
2931
2810
|
case "InternalServiceException":
|
|
@@ -2942,14 +2821,12 @@ const deserializeAws_json1_1DescribeGameServerCommandError = async (output, cont
|
|
|
2942
2821
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2943
2822
|
default:
|
|
2944
2823
|
const parsedBody = parsedOutput.body;
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
$metadata,
|
|
2824
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2825
|
+
output,
|
|
2826
|
+
parsedBody,
|
|
2827
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2828
|
+
errorCode,
|
|
2951
2829
|
});
|
|
2952
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2953
2830
|
}
|
|
2954
2831
|
};
|
|
2955
2832
|
const deserializeAws_json1_1DescribeGameServerGroupCommand = async (output, context) => {
|
|
@@ -2971,7 +2848,6 @@ const deserializeAws_json1_1DescribeGameServerGroupCommandError = async (output,
|
|
|
2971
2848
|
...output,
|
|
2972
2849
|
body: await parseBody(output.body, context),
|
|
2973
2850
|
};
|
|
2974
|
-
let response;
|
|
2975
2851
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2976
2852
|
switch (errorCode) {
|
|
2977
2853
|
case "InternalServiceException":
|
|
@@ -2988,14 +2864,12 @@ const deserializeAws_json1_1DescribeGameServerGroupCommandError = async (output,
|
|
|
2988
2864
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2989
2865
|
default:
|
|
2990
2866
|
const parsedBody = parsedOutput.body;
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
$metadata,
|
|
2867
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2868
|
+
output,
|
|
2869
|
+
parsedBody,
|
|
2870
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2871
|
+
errorCode,
|
|
2997
2872
|
});
|
|
2998
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2999
2873
|
}
|
|
3000
2874
|
};
|
|
3001
2875
|
const deserializeAws_json1_1DescribeGameServerInstancesCommand = async (output, context) => {
|
|
@@ -3017,7 +2891,6 @@ const deserializeAws_json1_1DescribeGameServerInstancesCommandError = async (out
|
|
|
3017
2891
|
...output,
|
|
3018
2892
|
body: await parseBody(output.body, context),
|
|
3019
2893
|
};
|
|
3020
|
-
let response;
|
|
3021
2894
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3022
2895
|
switch (errorCode) {
|
|
3023
2896
|
case "InternalServiceException":
|
|
@@ -3034,14 +2907,12 @@ const deserializeAws_json1_1DescribeGameServerInstancesCommandError = async (out
|
|
|
3034
2907
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3035
2908
|
default:
|
|
3036
2909
|
const parsedBody = parsedOutput.body;
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
$metadata,
|
|
2910
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2911
|
+
output,
|
|
2912
|
+
parsedBody,
|
|
2913
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2914
|
+
errorCode,
|
|
3043
2915
|
});
|
|
3044
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3045
2916
|
}
|
|
3046
2917
|
};
|
|
3047
2918
|
const deserializeAws_json1_1DescribeGameSessionDetailsCommand = async (output, context) => {
|
|
@@ -3063,7 +2934,6 @@ const deserializeAws_json1_1DescribeGameSessionDetailsCommandError = async (outp
|
|
|
3063
2934
|
...output,
|
|
3064
2935
|
body: await parseBody(output.body, context),
|
|
3065
2936
|
};
|
|
3066
|
-
let response;
|
|
3067
2937
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3068
2938
|
switch (errorCode) {
|
|
3069
2939
|
case "InternalServiceException":
|
|
@@ -3086,14 +2956,12 @@ const deserializeAws_json1_1DescribeGameSessionDetailsCommandError = async (outp
|
|
|
3086
2956
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3087
2957
|
default:
|
|
3088
2958
|
const parsedBody = parsedOutput.body;
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
$metadata,
|
|
2959
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2960
|
+
output,
|
|
2961
|
+
parsedBody,
|
|
2962
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
2963
|
+
errorCode,
|
|
3095
2964
|
});
|
|
3096
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3097
2965
|
}
|
|
3098
2966
|
};
|
|
3099
2967
|
const deserializeAws_json1_1DescribeGameSessionPlacementCommand = async (output, context) => {
|
|
@@ -3115,7 +2983,6 @@ const deserializeAws_json1_1DescribeGameSessionPlacementCommandError = async (ou
|
|
|
3115
2983
|
...output,
|
|
3116
2984
|
body: await parseBody(output.body, context),
|
|
3117
2985
|
};
|
|
3118
|
-
let response;
|
|
3119
2986
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3120
2987
|
switch (errorCode) {
|
|
3121
2988
|
case "InternalServiceException":
|
|
@@ -3132,14 +2999,12 @@ const deserializeAws_json1_1DescribeGameSessionPlacementCommandError = async (ou
|
|
|
3132
2999
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3133
3000
|
default:
|
|
3134
3001
|
const parsedBody = parsedOutput.body;
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
$metadata,
|
|
3002
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3003
|
+
output,
|
|
3004
|
+
parsedBody,
|
|
3005
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3006
|
+
errorCode,
|
|
3141
3007
|
});
|
|
3142
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3143
3008
|
}
|
|
3144
3009
|
};
|
|
3145
3010
|
const deserializeAws_json1_1DescribeGameSessionQueuesCommand = async (output, context) => {
|
|
@@ -3161,7 +3026,6 @@ const deserializeAws_json1_1DescribeGameSessionQueuesCommandError = async (outpu
|
|
|
3161
3026
|
...output,
|
|
3162
3027
|
body: await parseBody(output.body, context),
|
|
3163
3028
|
};
|
|
3164
|
-
let response;
|
|
3165
3029
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3166
3030
|
switch (errorCode) {
|
|
3167
3031
|
case "InternalServiceException":
|
|
@@ -3178,14 +3042,12 @@ const deserializeAws_json1_1DescribeGameSessionQueuesCommandError = async (outpu
|
|
|
3178
3042
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3179
3043
|
default:
|
|
3180
3044
|
const parsedBody = parsedOutput.body;
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
$metadata,
|
|
3045
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3046
|
+
output,
|
|
3047
|
+
parsedBody,
|
|
3048
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3049
|
+
errorCode,
|
|
3187
3050
|
});
|
|
3188
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3189
3051
|
}
|
|
3190
3052
|
};
|
|
3191
3053
|
const deserializeAws_json1_1DescribeGameSessionsCommand = async (output, context) => {
|
|
@@ -3207,7 +3069,6 @@ const deserializeAws_json1_1DescribeGameSessionsCommandError = async (output, co
|
|
|
3207
3069
|
...output,
|
|
3208
3070
|
body: await parseBody(output.body, context),
|
|
3209
3071
|
};
|
|
3210
|
-
let response;
|
|
3211
3072
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3212
3073
|
switch (errorCode) {
|
|
3213
3074
|
case "InternalServiceException":
|
|
@@ -3230,14 +3091,12 @@ const deserializeAws_json1_1DescribeGameSessionsCommandError = async (output, co
|
|
|
3230
3091
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3231
3092
|
default:
|
|
3232
3093
|
const parsedBody = parsedOutput.body;
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
$metadata,
|
|
3094
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3095
|
+
output,
|
|
3096
|
+
parsedBody,
|
|
3097
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3098
|
+
errorCode,
|
|
3239
3099
|
});
|
|
3240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3241
3100
|
}
|
|
3242
3101
|
};
|
|
3243
3102
|
const deserializeAws_json1_1DescribeInstancesCommand = async (output, context) => {
|
|
@@ -3259,7 +3118,6 @@ const deserializeAws_json1_1DescribeInstancesCommandError = async (output, conte
|
|
|
3259
3118
|
...output,
|
|
3260
3119
|
body: await parseBody(output.body, context),
|
|
3261
3120
|
};
|
|
3262
|
-
let response;
|
|
3263
3121
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3264
3122
|
switch (errorCode) {
|
|
3265
3123
|
case "InternalServiceException":
|
|
@@ -3279,14 +3137,12 @@ const deserializeAws_json1_1DescribeInstancesCommandError = async (output, conte
|
|
|
3279
3137
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3280
3138
|
default:
|
|
3281
3139
|
const parsedBody = parsedOutput.body;
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
$metadata,
|
|
3140
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3141
|
+
output,
|
|
3142
|
+
parsedBody,
|
|
3143
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3144
|
+
errorCode,
|
|
3288
3145
|
});
|
|
3289
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3290
3146
|
}
|
|
3291
3147
|
};
|
|
3292
3148
|
const deserializeAws_json1_1DescribeMatchmakingCommand = async (output, context) => {
|
|
@@ -3308,7 +3164,6 @@ const deserializeAws_json1_1DescribeMatchmakingCommandError = async (output, con
|
|
|
3308
3164
|
...output,
|
|
3309
3165
|
body: await parseBody(output.body, context),
|
|
3310
3166
|
};
|
|
3311
|
-
let response;
|
|
3312
3167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3313
3168
|
switch (errorCode) {
|
|
3314
3169
|
case "InternalServiceException":
|
|
@@ -3322,14 +3177,12 @@ const deserializeAws_json1_1DescribeMatchmakingCommandError = async (output, con
|
|
|
3322
3177
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3323
3178
|
default:
|
|
3324
3179
|
const parsedBody = parsedOutput.body;
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
$metadata,
|
|
3180
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3181
|
+
output,
|
|
3182
|
+
parsedBody,
|
|
3183
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3184
|
+
errorCode,
|
|
3331
3185
|
});
|
|
3332
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3333
3186
|
}
|
|
3334
3187
|
};
|
|
3335
3188
|
const deserializeAws_json1_1DescribeMatchmakingConfigurationsCommand = async (output, context) => {
|
|
@@ -3351,7 +3204,6 @@ const deserializeAws_json1_1DescribeMatchmakingConfigurationsCommandError = asyn
|
|
|
3351
3204
|
...output,
|
|
3352
3205
|
body: await parseBody(output.body, context),
|
|
3353
3206
|
};
|
|
3354
|
-
let response;
|
|
3355
3207
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3356
3208
|
switch (errorCode) {
|
|
3357
3209
|
case "InternalServiceException":
|
|
@@ -3365,14 +3217,12 @@ const deserializeAws_json1_1DescribeMatchmakingConfigurationsCommandError = asyn
|
|
|
3365
3217
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3366
3218
|
default:
|
|
3367
3219
|
const parsedBody = parsedOutput.body;
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
$metadata,
|
|
3220
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3221
|
+
output,
|
|
3222
|
+
parsedBody,
|
|
3223
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3224
|
+
errorCode,
|
|
3374
3225
|
});
|
|
3375
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3376
3226
|
}
|
|
3377
3227
|
};
|
|
3378
3228
|
const deserializeAws_json1_1DescribeMatchmakingRuleSetsCommand = async (output, context) => {
|
|
@@ -3394,7 +3244,6 @@ const deserializeAws_json1_1DescribeMatchmakingRuleSetsCommandError = async (out
|
|
|
3394
3244
|
...output,
|
|
3395
3245
|
body: await parseBody(output.body, context),
|
|
3396
3246
|
};
|
|
3397
|
-
let response;
|
|
3398
3247
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3399
3248
|
switch (errorCode) {
|
|
3400
3249
|
case "InternalServiceException":
|
|
@@ -3411,14 +3260,12 @@ const deserializeAws_json1_1DescribeMatchmakingRuleSetsCommandError = async (out
|
|
|
3411
3260
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3412
3261
|
default:
|
|
3413
3262
|
const parsedBody = parsedOutput.body;
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
$metadata,
|
|
3263
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3264
|
+
output,
|
|
3265
|
+
parsedBody,
|
|
3266
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3267
|
+
errorCode,
|
|
3420
3268
|
});
|
|
3421
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3422
3269
|
}
|
|
3423
3270
|
};
|
|
3424
3271
|
const deserializeAws_json1_1DescribePlayerSessionsCommand = async (output, context) => {
|
|
@@ -3440,7 +3287,6 @@ const deserializeAws_json1_1DescribePlayerSessionsCommandError = async (output,
|
|
|
3440
3287
|
...output,
|
|
3441
3288
|
body: await parseBody(output.body, context),
|
|
3442
3289
|
};
|
|
3443
|
-
let response;
|
|
3444
3290
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3445
3291
|
switch (errorCode) {
|
|
3446
3292
|
case "InternalServiceException":
|
|
@@ -3457,14 +3303,12 @@ const deserializeAws_json1_1DescribePlayerSessionsCommandError = async (output,
|
|
|
3457
3303
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3458
3304
|
default:
|
|
3459
3305
|
const parsedBody = parsedOutput.body;
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
$metadata,
|
|
3306
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3307
|
+
output,
|
|
3308
|
+
parsedBody,
|
|
3309
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3310
|
+
errorCode,
|
|
3466
3311
|
});
|
|
3467
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3468
3312
|
}
|
|
3469
3313
|
};
|
|
3470
3314
|
const deserializeAws_json1_1DescribeRuntimeConfigurationCommand = async (output, context) => {
|
|
@@ -3486,7 +3330,6 @@ const deserializeAws_json1_1DescribeRuntimeConfigurationCommandError = async (ou
|
|
|
3486
3330
|
...output,
|
|
3487
3331
|
body: await parseBody(output.body, context),
|
|
3488
3332
|
};
|
|
3489
|
-
let response;
|
|
3490
3333
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3491
3334
|
switch (errorCode) {
|
|
3492
3335
|
case "InternalServiceException":
|
|
@@ -3503,14 +3346,12 @@ const deserializeAws_json1_1DescribeRuntimeConfigurationCommandError = async (ou
|
|
|
3503
3346
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3504
3347
|
default:
|
|
3505
3348
|
const parsedBody = parsedOutput.body;
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
$metadata,
|
|
3349
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3350
|
+
output,
|
|
3351
|
+
parsedBody,
|
|
3352
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3353
|
+
errorCode,
|
|
3512
3354
|
});
|
|
3513
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3514
3355
|
}
|
|
3515
3356
|
};
|
|
3516
3357
|
const deserializeAws_json1_1DescribeScalingPoliciesCommand = async (output, context) => {
|
|
@@ -3532,7 +3373,6 @@ const deserializeAws_json1_1DescribeScalingPoliciesCommandError = async (output,
|
|
|
3532
3373
|
...output,
|
|
3533
3374
|
body: await parseBody(output.body, context),
|
|
3534
3375
|
};
|
|
3535
|
-
let response;
|
|
3536
3376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3537
3377
|
switch (errorCode) {
|
|
3538
3378
|
case "InternalServiceException":
|
|
@@ -3552,14 +3392,12 @@ const deserializeAws_json1_1DescribeScalingPoliciesCommandError = async (output,
|
|
|
3552
3392
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
3553
3393
|
default:
|
|
3554
3394
|
const parsedBody = parsedOutput.body;
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
$metadata,
|
|
3395
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3396
|
+
output,
|
|
3397
|
+
parsedBody,
|
|
3398
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3399
|
+
errorCode,
|
|
3561
3400
|
});
|
|
3562
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3563
3401
|
}
|
|
3564
3402
|
};
|
|
3565
3403
|
const deserializeAws_json1_1DescribeScriptCommand = async (output, context) => {
|
|
@@ -3581,7 +3419,6 @@ const deserializeAws_json1_1DescribeScriptCommandError = async (output, context)
|
|
|
3581
3419
|
...output,
|
|
3582
3420
|
body: await parseBody(output.body, context),
|
|
3583
3421
|
};
|
|
3584
|
-
let response;
|
|
3585
3422
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3586
3423
|
switch (errorCode) {
|
|
3587
3424
|
case "InternalServiceException":
|
|
@@ -3598,14 +3435,12 @@ const deserializeAws_json1_1DescribeScriptCommandError = async (output, context)
|
|
|
3598
3435
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3599
3436
|
default:
|
|
3600
3437
|
const parsedBody = parsedOutput.body;
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
$metadata,
|
|
3438
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3439
|
+
output,
|
|
3440
|
+
parsedBody,
|
|
3441
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3442
|
+
errorCode,
|
|
3607
3443
|
});
|
|
3608
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3609
3444
|
}
|
|
3610
3445
|
};
|
|
3611
3446
|
const deserializeAws_json1_1DescribeVpcPeeringAuthorizationsCommand = async (output, context) => {
|
|
@@ -3627,7 +3462,6 @@ const deserializeAws_json1_1DescribeVpcPeeringAuthorizationsCommandError = async
|
|
|
3627
3462
|
...output,
|
|
3628
3463
|
body: await parseBody(output.body, context),
|
|
3629
3464
|
};
|
|
3630
|
-
let response;
|
|
3631
3465
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3632
3466
|
switch (errorCode) {
|
|
3633
3467
|
case "InternalServiceException":
|
|
@@ -3641,14 +3475,12 @@ const deserializeAws_json1_1DescribeVpcPeeringAuthorizationsCommandError = async
|
|
|
3641
3475
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3642
3476
|
default:
|
|
3643
3477
|
const parsedBody = parsedOutput.body;
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
$metadata,
|
|
3478
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3479
|
+
output,
|
|
3480
|
+
parsedBody,
|
|
3481
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3482
|
+
errorCode,
|
|
3650
3483
|
});
|
|
3651
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3652
3484
|
}
|
|
3653
3485
|
};
|
|
3654
3486
|
const deserializeAws_json1_1DescribeVpcPeeringConnectionsCommand = async (output, context) => {
|
|
@@ -3670,7 +3502,6 @@ const deserializeAws_json1_1DescribeVpcPeeringConnectionsCommandError = async (o
|
|
|
3670
3502
|
...output,
|
|
3671
3503
|
body: await parseBody(output.body, context),
|
|
3672
3504
|
};
|
|
3673
|
-
let response;
|
|
3674
3505
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3675
3506
|
switch (errorCode) {
|
|
3676
3507
|
case "InternalServiceException":
|
|
@@ -3687,14 +3518,12 @@ const deserializeAws_json1_1DescribeVpcPeeringConnectionsCommandError = async (o
|
|
|
3687
3518
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3688
3519
|
default:
|
|
3689
3520
|
const parsedBody = parsedOutput.body;
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
$metadata,
|
|
3521
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3522
|
+
output,
|
|
3523
|
+
parsedBody,
|
|
3524
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3525
|
+
errorCode,
|
|
3696
3526
|
});
|
|
3697
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3698
3527
|
}
|
|
3699
3528
|
};
|
|
3700
3529
|
const deserializeAws_json1_1GetGameSessionLogUrlCommand = async (output, context) => {
|
|
@@ -3716,7 +3545,6 @@ const deserializeAws_json1_1GetGameSessionLogUrlCommandError = async (output, co
|
|
|
3716
3545
|
...output,
|
|
3717
3546
|
body: await parseBody(output.body, context),
|
|
3718
3547
|
};
|
|
3719
|
-
let response;
|
|
3720
3548
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3721
3549
|
switch (errorCode) {
|
|
3722
3550
|
case "InternalServiceException":
|
|
@@ -3733,14 +3561,12 @@ const deserializeAws_json1_1GetGameSessionLogUrlCommandError = async (output, co
|
|
|
3733
3561
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3734
3562
|
default:
|
|
3735
3563
|
const parsedBody = parsedOutput.body;
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
$metadata,
|
|
3564
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3565
|
+
output,
|
|
3566
|
+
parsedBody,
|
|
3567
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3568
|
+
errorCode,
|
|
3742
3569
|
});
|
|
3743
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3744
3570
|
}
|
|
3745
3571
|
};
|
|
3746
3572
|
const deserializeAws_json1_1GetInstanceAccessCommand = async (output, context) => {
|
|
@@ -3762,7 +3588,6 @@ const deserializeAws_json1_1GetInstanceAccessCommandError = async (output, conte
|
|
|
3762
3588
|
...output,
|
|
3763
3589
|
body: await parseBody(output.body, context),
|
|
3764
3590
|
};
|
|
3765
|
-
let response;
|
|
3766
3591
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3767
3592
|
switch (errorCode) {
|
|
3768
3593
|
case "InternalServiceException":
|
|
@@ -3779,14 +3604,12 @@ const deserializeAws_json1_1GetInstanceAccessCommandError = async (output, conte
|
|
|
3779
3604
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3780
3605
|
default:
|
|
3781
3606
|
const parsedBody = parsedOutput.body;
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
$metadata,
|
|
3607
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3608
|
+
output,
|
|
3609
|
+
parsedBody,
|
|
3610
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3611
|
+
errorCode,
|
|
3788
3612
|
});
|
|
3789
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3790
3613
|
}
|
|
3791
3614
|
};
|
|
3792
3615
|
const deserializeAws_json1_1ListAliasesCommand = async (output, context) => {
|
|
@@ -3808,7 +3631,6 @@ const deserializeAws_json1_1ListAliasesCommandError = async (output, context) =>
|
|
|
3808
3631
|
...output,
|
|
3809
3632
|
body: await parseBody(output.body, context),
|
|
3810
3633
|
};
|
|
3811
|
-
let response;
|
|
3812
3634
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3813
3635
|
switch (errorCode) {
|
|
3814
3636
|
case "InternalServiceException":
|
|
@@ -3822,14 +3644,12 @@ const deserializeAws_json1_1ListAliasesCommandError = async (output, context) =>
|
|
|
3822
3644
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3823
3645
|
default:
|
|
3824
3646
|
const parsedBody = parsedOutput.body;
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
$metadata,
|
|
3647
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3648
|
+
output,
|
|
3649
|
+
parsedBody,
|
|
3650
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3651
|
+
errorCode,
|
|
3831
3652
|
});
|
|
3832
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3833
3653
|
}
|
|
3834
3654
|
};
|
|
3835
3655
|
const deserializeAws_json1_1ListBuildsCommand = async (output, context) => {
|
|
@@ -3851,7 +3671,6 @@ const deserializeAws_json1_1ListBuildsCommandError = async (output, context) =>
|
|
|
3851
3671
|
...output,
|
|
3852
3672
|
body: await parseBody(output.body, context),
|
|
3853
3673
|
};
|
|
3854
|
-
let response;
|
|
3855
3674
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3856
3675
|
switch (errorCode) {
|
|
3857
3676
|
case "InternalServiceException":
|
|
@@ -3865,14 +3684,12 @@ const deserializeAws_json1_1ListBuildsCommandError = async (output, context) =>
|
|
|
3865
3684
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3866
3685
|
default:
|
|
3867
3686
|
const parsedBody = parsedOutput.body;
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
$metadata,
|
|
3687
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3688
|
+
output,
|
|
3689
|
+
parsedBody,
|
|
3690
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3691
|
+
errorCode,
|
|
3874
3692
|
});
|
|
3875
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3876
3693
|
}
|
|
3877
3694
|
};
|
|
3878
3695
|
const deserializeAws_json1_1ListFleetsCommand = async (output, context) => {
|
|
@@ -3894,7 +3711,6 @@ const deserializeAws_json1_1ListFleetsCommandError = async (output, context) =>
|
|
|
3894
3711
|
...output,
|
|
3895
3712
|
body: await parseBody(output.body, context),
|
|
3896
3713
|
};
|
|
3897
|
-
let response;
|
|
3898
3714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3899
3715
|
switch (errorCode) {
|
|
3900
3716
|
case "InternalServiceException":
|
|
@@ -3911,14 +3727,12 @@ const deserializeAws_json1_1ListFleetsCommandError = async (output, context) =>
|
|
|
3911
3727
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3912
3728
|
default:
|
|
3913
3729
|
const parsedBody = parsedOutput.body;
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
$metadata,
|
|
3730
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3731
|
+
output,
|
|
3732
|
+
parsedBody,
|
|
3733
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3734
|
+
errorCode,
|
|
3920
3735
|
});
|
|
3921
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3922
3736
|
}
|
|
3923
3737
|
};
|
|
3924
3738
|
const deserializeAws_json1_1ListGameServerGroupsCommand = async (output, context) => {
|
|
@@ -3940,7 +3754,6 @@ const deserializeAws_json1_1ListGameServerGroupsCommandError = async (output, co
|
|
|
3940
3754
|
...output,
|
|
3941
3755
|
body: await parseBody(output.body, context),
|
|
3942
3756
|
};
|
|
3943
|
-
let response;
|
|
3944
3757
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3945
3758
|
switch (errorCode) {
|
|
3946
3759
|
case "InternalServiceException":
|
|
@@ -3954,14 +3767,12 @@ const deserializeAws_json1_1ListGameServerGroupsCommandError = async (output, co
|
|
|
3954
3767
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3955
3768
|
default:
|
|
3956
3769
|
const parsedBody = parsedOutput.body;
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
$metadata,
|
|
3770
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3771
|
+
output,
|
|
3772
|
+
parsedBody,
|
|
3773
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3774
|
+
errorCode,
|
|
3963
3775
|
});
|
|
3964
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3965
3776
|
}
|
|
3966
3777
|
};
|
|
3967
3778
|
const deserializeAws_json1_1ListGameServersCommand = async (output, context) => {
|
|
@@ -3983,7 +3794,6 @@ const deserializeAws_json1_1ListGameServersCommandError = async (output, context
|
|
|
3983
3794
|
...output,
|
|
3984
3795
|
body: await parseBody(output.body, context),
|
|
3985
3796
|
};
|
|
3986
|
-
let response;
|
|
3987
3797
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3988
3798
|
switch (errorCode) {
|
|
3989
3799
|
case "InternalServiceException":
|
|
@@ -3997,14 +3807,12 @@ const deserializeAws_json1_1ListGameServersCommandError = async (output, context
|
|
|
3997
3807
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3998
3808
|
default:
|
|
3999
3809
|
const parsedBody = parsedOutput.body;
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
$metadata,
|
|
3810
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3811
|
+
output,
|
|
3812
|
+
parsedBody,
|
|
3813
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3814
|
+
errorCode,
|
|
4006
3815
|
});
|
|
4007
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4008
3816
|
}
|
|
4009
3817
|
};
|
|
4010
3818
|
const deserializeAws_json1_1ListScriptsCommand = async (output, context) => {
|
|
@@ -4026,7 +3834,6 @@ const deserializeAws_json1_1ListScriptsCommandError = async (output, context) =>
|
|
|
4026
3834
|
...output,
|
|
4027
3835
|
body: await parseBody(output.body, context),
|
|
4028
3836
|
};
|
|
4029
|
-
let response;
|
|
4030
3837
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4031
3838
|
switch (errorCode) {
|
|
4032
3839
|
case "InternalServiceException":
|
|
@@ -4040,14 +3847,12 @@ const deserializeAws_json1_1ListScriptsCommandError = async (output, context) =>
|
|
|
4040
3847
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4041
3848
|
default:
|
|
4042
3849
|
const parsedBody = parsedOutput.body;
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
$metadata,
|
|
3850
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3851
|
+
output,
|
|
3852
|
+
parsedBody,
|
|
3853
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3854
|
+
errorCode,
|
|
4049
3855
|
});
|
|
4050
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4051
3856
|
}
|
|
4052
3857
|
};
|
|
4053
3858
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -4069,7 +3874,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
4069
3874
|
...output,
|
|
4070
3875
|
body: await parseBody(output.body, context),
|
|
4071
3876
|
};
|
|
4072
|
-
let response;
|
|
4073
3877
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4074
3878
|
switch (errorCode) {
|
|
4075
3879
|
case "InternalServiceException":
|
|
@@ -4086,14 +3890,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
4086
3890
|
throw await deserializeAws_json1_1TaggingFailedExceptionResponse(parsedOutput, context);
|
|
4087
3891
|
default:
|
|
4088
3892
|
const parsedBody = parsedOutput.body;
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
$metadata,
|
|
3893
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3894
|
+
output,
|
|
3895
|
+
parsedBody,
|
|
3896
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3897
|
+
errorCode,
|
|
4095
3898
|
});
|
|
4096
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4097
3899
|
}
|
|
4098
3900
|
};
|
|
4099
3901
|
const deserializeAws_json1_1PutScalingPolicyCommand = async (output, context) => {
|
|
@@ -4115,7 +3917,6 @@ const deserializeAws_json1_1PutScalingPolicyCommandError = async (output, contex
|
|
|
4115
3917
|
...output,
|
|
4116
3918
|
body: await parseBody(output.body, context),
|
|
4117
3919
|
};
|
|
4118
|
-
let response;
|
|
4119
3920
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4120
3921
|
switch (errorCode) {
|
|
4121
3922
|
case "InternalServiceException":
|
|
@@ -4132,14 +3933,12 @@ const deserializeAws_json1_1PutScalingPolicyCommandError = async (output, contex
|
|
|
4132
3933
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4133
3934
|
default:
|
|
4134
3935
|
const parsedBody = parsedOutput.body;
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
$metadata,
|
|
3936
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3937
|
+
output,
|
|
3938
|
+
parsedBody,
|
|
3939
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3940
|
+
errorCode,
|
|
4141
3941
|
});
|
|
4142
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4143
3942
|
}
|
|
4144
3943
|
};
|
|
4145
3944
|
const deserializeAws_json1_1RegisterGameServerCommand = async (output, context) => {
|
|
@@ -4161,7 +3960,6 @@ const deserializeAws_json1_1RegisterGameServerCommandError = async (output, cont
|
|
|
4161
3960
|
...output,
|
|
4162
3961
|
body: await parseBody(output.body, context),
|
|
4163
3962
|
};
|
|
4164
|
-
let response;
|
|
4165
3963
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4166
3964
|
switch (errorCode) {
|
|
4167
3965
|
case "ConflictException":
|
|
@@ -4181,14 +3979,12 @@ const deserializeAws_json1_1RegisterGameServerCommandError = async (output, cont
|
|
|
4181
3979
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4182
3980
|
default:
|
|
4183
3981
|
const parsedBody = parsedOutput.body;
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
$metadata,
|
|
3982
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3983
|
+
output,
|
|
3984
|
+
parsedBody,
|
|
3985
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
3986
|
+
errorCode,
|
|
4190
3987
|
});
|
|
4191
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4192
3988
|
}
|
|
4193
3989
|
};
|
|
4194
3990
|
const deserializeAws_json1_1RequestUploadCredentialsCommand = async (output, context) => {
|
|
@@ -4210,7 +4006,6 @@ const deserializeAws_json1_1RequestUploadCredentialsCommandError = async (output
|
|
|
4210
4006
|
...output,
|
|
4211
4007
|
body: await parseBody(output.body, context),
|
|
4212
4008
|
};
|
|
4213
|
-
let response;
|
|
4214
4009
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4215
4010
|
switch (errorCode) {
|
|
4216
4011
|
case "InternalServiceException":
|
|
@@ -4227,14 +4022,12 @@ const deserializeAws_json1_1RequestUploadCredentialsCommandError = async (output
|
|
|
4227
4022
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4228
4023
|
default:
|
|
4229
4024
|
const parsedBody = parsedOutput.body;
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
$metadata,
|
|
4025
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4026
|
+
output,
|
|
4027
|
+
parsedBody,
|
|
4028
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4029
|
+
errorCode,
|
|
4236
4030
|
});
|
|
4237
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4238
4031
|
}
|
|
4239
4032
|
};
|
|
4240
4033
|
const deserializeAws_json1_1ResolveAliasCommand = async (output, context) => {
|
|
@@ -4256,7 +4049,6 @@ const deserializeAws_json1_1ResolveAliasCommandError = async (output, context) =
|
|
|
4256
4049
|
...output,
|
|
4257
4050
|
body: await parseBody(output.body, context),
|
|
4258
4051
|
};
|
|
4259
|
-
let response;
|
|
4260
4052
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4261
4053
|
switch (errorCode) {
|
|
4262
4054
|
case "InternalServiceException":
|
|
@@ -4276,14 +4068,12 @@ const deserializeAws_json1_1ResolveAliasCommandError = async (output, context) =
|
|
|
4276
4068
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4277
4069
|
default:
|
|
4278
4070
|
const parsedBody = parsedOutput.body;
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
$metadata,
|
|
4071
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4072
|
+
output,
|
|
4073
|
+
parsedBody,
|
|
4074
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4075
|
+
errorCode,
|
|
4285
4076
|
});
|
|
4286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4287
4077
|
}
|
|
4288
4078
|
};
|
|
4289
4079
|
const deserializeAws_json1_1ResumeGameServerGroupCommand = async (output, context) => {
|
|
@@ -4305,7 +4095,6 @@ const deserializeAws_json1_1ResumeGameServerGroupCommandError = async (output, c
|
|
|
4305
4095
|
...output,
|
|
4306
4096
|
body: await parseBody(output.body, context),
|
|
4307
4097
|
};
|
|
4308
|
-
let response;
|
|
4309
4098
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4310
4099
|
switch (errorCode) {
|
|
4311
4100
|
case "InternalServiceException":
|
|
@@ -4322,14 +4111,12 @@ const deserializeAws_json1_1ResumeGameServerGroupCommandError = async (output, c
|
|
|
4322
4111
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4323
4112
|
default:
|
|
4324
4113
|
const parsedBody = parsedOutput.body;
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
$metadata,
|
|
4114
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4115
|
+
output,
|
|
4116
|
+
parsedBody,
|
|
4117
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4118
|
+
errorCode,
|
|
4331
4119
|
});
|
|
4332
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4333
4120
|
}
|
|
4334
4121
|
};
|
|
4335
4122
|
const deserializeAws_json1_1SearchGameSessionsCommand = async (output, context) => {
|
|
@@ -4351,7 +4138,6 @@ const deserializeAws_json1_1SearchGameSessionsCommandError = async (output, cont
|
|
|
4351
4138
|
...output,
|
|
4352
4139
|
body: await parseBody(output.body, context),
|
|
4353
4140
|
};
|
|
4354
|
-
let response;
|
|
4355
4141
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4356
4142
|
switch (errorCode) {
|
|
4357
4143
|
case "InternalServiceException":
|
|
@@ -4374,14 +4160,12 @@ const deserializeAws_json1_1SearchGameSessionsCommandError = async (output, cont
|
|
|
4374
4160
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
4375
4161
|
default:
|
|
4376
4162
|
const parsedBody = parsedOutput.body;
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
$metadata,
|
|
4163
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4164
|
+
output,
|
|
4165
|
+
parsedBody,
|
|
4166
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4167
|
+
errorCode,
|
|
4383
4168
|
});
|
|
4384
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4385
4169
|
}
|
|
4386
4170
|
};
|
|
4387
4171
|
const deserializeAws_json1_1StartFleetActionsCommand = async (output, context) => {
|
|
@@ -4403,7 +4187,6 @@ const deserializeAws_json1_1StartFleetActionsCommandError = async (output, conte
|
|
|
4403
4187
|
...output,
|
|
4404
4188
|
body: await parseBody(output.body, context),
|
|
4405
4189
|
};
|
|
4406
|
-
let response;
|
|
4407
4190
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4408
4191
|
switch (errorCode) {
|
|
4409
4192
|
case "InternalServiceException":
|
|
@@ -4423,14 +4206,12 @@ const deserializeAws_json1_1StartFleetActionsCommandError = async (output, conte
|
|
|
4423
4206
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
4424
4207
|
default:
|
|
4425
4208
|
const parsedBody = parsedOutput.body;
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
$metadata,
|
|
4209
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4210
|
+
output,
|
|
4211
|
+
parsedBody,
|
|
4212
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4213
|
+
errorCode,
|
|
4432
4214
|
});
|
|
4433
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4434
4215
|
}
|
|
4435
4216
|
};
|
|
4436
4217
|
const deserializeAws_json1_1StartGameSessionPlacementCommand = async (output, context) => {
|
|
@@ -4452,7 +4233,6 @@ const deserializeAws_json1_1StartGameSessionPlacementCommandError = async (outpu
|
|
|
4452
4233
|
...output,
|
|
4453
4234
|
body: await parseBody(output.body, context),
|
|
4454
4235
|
};
|
|
4455
|
-
let response;
|
|
4456
4236
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4457
4237
|
switch (errorCode) {
|
|
4458
4238
|
case "InternalServiceException":
|
|
@@ -4469,14 +4249,12 @@ const deserializeAws_json1_1StartGameSessionPlacementCommandError = async (outpu
|
|
|
4469
4249
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4470
4250
|
default:
|
|
4471
4251
|
const parsedBody = parsedOutput.body;
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
$metadata,
|
|
4252
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4253
|
+
output,
|
|
4254
|
+
parsedBody,
|
|
4255
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4256
|
+
errorCode,
|
|
4478
4257
|
});
|
|
4479
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4480
4258
|
}
|
|
4481
4259
|
};
|
|
4482
4260
|
const deserializeAws_json1_1StartMatchBackfillCommand = async (output, context) => {
|
|
@@ -4498,7 +4276,6 @@ const deserializeAws_json1_1StartMatchBackfillCommandError = async (output, cont
|
|
|
4498
4276
|
...output,
|
|
4499
4277
|
body: await parseBody(output.body, context),
|
|
4500
4278
|
};
|
|
4501
|
-
let response;
|
|
4502
4279
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4503
4280
|
switch (errorCode) {
|
|
4504
4281
|
case "InternalServiceException":
|
|
@@ -4515,14 +4292,12 @@ const deserializeAws_json1_1StartMatchBackfillCommandError = async (output, cont
|
|
|
4515
4292
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
4516
4293
|
default:
|
|
4517
4294
|
const parsedBody = parsedOutput.body;
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
$metadata,
|
|
4295
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4296
|
+
output,
|
|
4297
|
+
parsedBody,
|
|
4298
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4299
|
+
errorCode,
|
|
4524
4300
|
});
|
|
4525
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4526
4301
|
}
|
|
4527
4302
|
};
|
|
4528
4303
|
const deserializeAws_json1_1StartMatchmakingCommand = async (output, context) => {
|
|
@@ -4544,7 +4319,6 @@ const deserializeAws_json1_1StartMatchmakingCommandError = async (output, contex
|
|
|
4544
4319
|
...output,
|
|
4545
4320
|
body: await parseBody(output.body, context),
|
|
4546
4321
|
};
|
|
4547
|
-
let response;
|
|
4548
4322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4549
4323
|
switch (errorCode) {
|
|
4550
4324
|
case "InternalServiceException":
|
|
@@ -4561,14 +4335,12 @@ const deserializeAws_json1_1StartMatchmakingCommandError = async (output, contex
|
|
|
4561
4335
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
4562
4336
|
default:
|
|
4563
4337
|
const parsedBody = parsedOutput.body;
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
$metadata,
|
|
4338
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4339
|
+
output,
|
|
4340
|
+
parsedBody,
|
|
4341
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4342
|
+
errorCode,
|
|
4570
4343
|
});
|
|
4571
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4572
4344
|
}
|
|
4573
4345
|
};
|
|
4574
4346
|
const deserializeAws_json1_1StopFleetActionsCommand = async (output, context) => {
|
|
@@ -4590,7 +4362,6 @@ const deserializeAws_json1_1StopFleetActionsCommandError = async (output, contex
|
|
|
4590
4362
|
...output,
|
|
4591
4363
|
body: await parseBody(output.body, context),
|
|
4592
4364
|
};
|
|
4593
|
-
let response;
|
|
4594
4365
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4595
4366
|
switch (errorCode) {
|
|
4596
4367
|
case "InternalServiceException":
|
|
@@ -4610,14 +4381,12 @@ const deserializeAws_json1_1StopFleetActionsCommandError = async (output, contex
|
|
|
4610
4381
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
4611
4382
|
default:
|
|
4612
4383
|
const parsedBody = parsedOutput.body;
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
$metadata,
|
|
4384
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4385
|
+
output,
|
|
4386
|
+
parsedBody,
|
|
4387
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4388
|
+
errorCode,
|
|
4619
4389
|
});
|
|
4620
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4621
4390
|
}
|
|
4622
4391
|
};
|
|
4623
4392
|
const deserializeAws_json1_1StopGameSessionPlacementCommand = async (output, context) => {
|
|
@@ -4639,7 +4408,6 @@ const deserializeAws_json1_1StopGameSessionPlacementCommandError = async (output
|
|
|
4639
4408
|
...output,
|
|
4640
4409
|
body: await parseBody(output.body, context),
|
|
4641
4410
|
};
|
|
4642
|
-
let response;
|
|
4643
4411
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4644
4412
|
switch (errorCode) {
|
|
4645
4413
|
case "InternalServiceException":
|
|
@@ -4656,14 +4424,12 @@ const deserializeAws_json1_1StopGameSessionPlacementCommandError = async (output
|
|
|
4656
4424
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4657
4425
|
default:
|
|
4658
4426
|
const parsedBody = parsedOutput.body;
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
$metadata,
|
|
4427
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4428
|
+
output,
|
|
4429
|
+
parsedBody,
|
|
4430
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4431
|
+
errorCode,
|
|
4665
4432
|
});
|
|
4666
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4667
4433
|
}
|
|
4668
4434
|
};
|
|
4669
4435
|
const deserializeAws_json1_1StopMatchmakingCommand = async (output, context) => {
|
|
@@ -4685,7 +4451,6 @@ const deserializeAws_json1_1StopMatchmakingCommandError = async (output, context
|
|
|
4685
4451
|
...output,
|
|
4686
4452
|
body: await parseBody(output.body, context),
|
|
4687
4453
|
};
|
|
4688
|
-
let response;
|
|
4689
4454
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4690
4455
|
switch (errorCode) {
|
|
4691
4456
|
case "InternalServiceException":
|
|
@@ -4702,14 +4467,12 @@ const deserializeAws_json1_1StopMatchmakingCommandError = async (output, context
|
|
|
4702
4467
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
4703
4468
|
default:
|
|
4704
4469
|
const parsedBody = parsedOutput.body;
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
$metadata,
|
|
4470
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4471
|
+
output,
|
|
4472
|
+
parsedBody,
|
|
4473
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4474
|
+
errorCode,
|
|
4711
4475
|
});
|
|
4712
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4713
4476
|
}
|
|
4714
4477
|
};
|
|
4715
4478
|
const deserializeAws_json1_1SuspendGameServerGroupCommand = async (output, context) => {
|
|
@@ -4731,7 +4494,6 @@ const deserializeAws_json1_1SuspendGameServerGroupCommandError = async (output,
|
|
|
4731
4494
|
...output,
|
|
4732
4495
|
body: await parseBody(output.body, context),
|
|
4733
4496
|
};
|
|
4734
|
-
let response;
|
|
4735
4497
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4736
4498
|
switch (errorCode) {
|
|
4737
4499
|
case "InternalServiceException":
|
|
@@ -4748,14 +4510,12 @@ const deserializeAws_json1_1SuspendGameServerGroupCommandError = async (output,
|
|
|
4748
4510
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4749
4511
|
default:
|
|
4750
4512
|
const parsedBody = parsedOutput.body;
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
$metadata,
|
|
4513
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4514
|
+
output,
|
|
4515
|
+
parsedBody,
|
|
4516
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4517
|
+
errorCode,
|
|
4757
4518
|
});
|
|
4758
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4759
4519
|
}
|
|
4760
4520
|
};
|
|
4761
4521
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -4777,7 +4537,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
4777
4537
|
...output,
|
|
4778
4538
|
body: await parseBody(output.body, context),
|
|
4779
4539
|
};
|
|
4780
|
-
let response;
|
|
4781
4540
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4782
4541
|
switch (errorCode) {
|
|
4783
4542
|
case "InternalServiceException":
|
|
@@ -4794,14 +4553,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
4794
4553
|
throw await deserializeAws_json1_1TaggingFailedExceptionResponse(parsedOutput, context);
|
|
4795
4554
|
default:
|
|
4796
4555
|
const parsedBody = parsedOutput.body;
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
$metadata,
|
|
4556
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4557
|
+
output,
|
|
4558
|
+
parsedBody,
|
|
4559
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4560
|
+
errorCode,
|
|
4803
4561
|
});
|
|
4804
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4805
4562
|
}
|
|
4806
4563
|
};
|
|
4807
4564
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -4823,7 +4580,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
4823
4580
|
...output,
|
|
4824
4581
|
body: await parseBody(output.body, context),
|
|
4825
4582
|
};
|
|
4826
|
-
let response;
|
|
4827
4583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4828
4584
|
switch (errorCode) {
|
|
4829
4585
|
case "InternalServiceException":
|
|
@@ -4840,14 +4596,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
4840
4596
|
throw await deserializeAws_json1_1TaggingFailedExceptionResponse(parsedOutput, context);
|
|
4841
4597
|
default:
|
|
4842
4598
|
const parsedBody = parsedOutput.body;
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
$metadata,
|
|
4599
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4600
|
+
output,
|
|
4601
|
+
parsedBody,
|
|
4602
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4603
|
+
errorCode,
|
|
4849
4604
|
});
|
|
4850
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4851
4605
|
}
|
|
4852
4606
|
};
|
|
4853
4607
|
const deserializeAws_json1_1UpdateAliasCommand = async (output, context) => {
|
|
@@ -4869,7 +4623,6 @@ const deserializeAws_json1_1UpdateAliasCommandError = async (output, context) =>
|
|
|
4869
4623
|
...output,
|
|
4870
4624
|
body: await parseBody(output.body, context),
|
|
4871
4625
|
};
|
|
4872
|
-
let response;
|
|
4873
4626
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4874
4627
|
switch (errorCode) {
|
|
4875
4628
|
case "InternalServiceException":
|
|
@@ -4886,14 +4639,12 @@ const deserializeAws_json1_1UpdateAliasCommandError = async (output, context) =>
|
|
|
4886
4639
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4887
4640
|
default:
|
|
4888
4641
|
const parsedBody = parsedOutput.body;
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
$metadata,
|
|
4642
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4643
|
+
output,
|
|
4644
|
+
parsedBody,
|
|
4645
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4646
|
+
errorCode,
|
|
4895
4647
|
});
|
|
4896
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4897
4648
|
}
|
|
4898
4649
|
};
|
|
4899
4650
|
const deserializeAws_json1_1UpdateBuildCommand = async (output, context) => {
|
|
@@ -4915,7 +4666,6 @@ const deserializeAws_json1_1UpdateBuildCommandError = async (output, context) =>
|
|
|
4915
4666
|
...output,
|
|
4916
4667
|
body: await parseBody(output.body, context),
|
|
4917
4668
|
};
|
|
4918
|
-
let response;
|
|
4919
4669
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4920
4670
|
switch (errorCode) {
|
|
4921
4671
|
case "InternalServiceException":
|
|
@@ -4932,14 +4682,12 @@ const deserializeAws_json1_1UpdateBuildCommandError = async (output, context) =>
|
|
|
4932
4682
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4933
4683
|
default:
|
|
4934
4684
|
const parsedBody = parsedOutput.body;
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
$metadata,
|
|
4685
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4686
|
+
output,
|
|
4687
|
+
parsedBody,
|
|
4688
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4689
|
+
errorCode,
|
|
4941
4690
|
});
|
|
4942
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4943
4691
|
}
|
|
4944
4692
|
};
|
|
4945
4693
|
const deserializeAws_json1_1UpdateFleetAttributesCommand = async (output, context) => {
|
|
@@ -4961,7 +4709,6 @@ const deserializeAws_json1_1UpdateFleetAttributesCommandError = async (output, c
|
|
|
4961
4709
|
...output,
|
|
4962
4710
|
body: await parseBody(output.body, context),
|
|
4963
4711
|
};
|
|
4964
|
-
let response;
|
|
4965
4712
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4966
4713
|
switch (errorCode) {
|
|
4967
4714
|
case "ConflictException":
|
|
@@ -4987,14 +4734,12 @@ const deserializeAws_json1_1UpdateFleetAttributesCommandError = async (output, c
|
|
|
4987
4734
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4988
4735
|
default:
|
|
4989
4736
|
const parsedBody = parsedOutput.body;
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
$metadata,
|
|
4737
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4738
|
+
output,
|
|
4739
|
+
parsedBody,
|
|
4740
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4741
|
+
errorCode,
|
|
4996
4742
|
});
|
|
4997
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4998
4743
|
}
|
|
4999
4744
|
};
|
|
5000
4745
|
const deserializeAws_json1_1UpdateFleetCapacityCommand = async (output, context) => {
|
|
@@ -5016,7 +4761,6 @@ const deserializeAws_json1_1UpdateFleetCapacityCommandError = async (output, con
|
|
|
5016
4761
|
...output,
|
|
5017
4762
|
body: await parseBody(output.body, context),
|
|
5018
4763
|
};
|
|
5019
|
-
let response;
|
|
5020
4764
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5021
4765
|
switch (errorCode) {
|
|
5022
4766
|
case "ConflictException":
|
|
@@ -5045,14 +4789,12 @@ const deserializeAws_json1_1UpdateFleetCapacityCommandError = async (output, con
|
|
|
5045
4789
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
5046
4790
|
default:
|
|
5047
4791
|
const parsedBody = parsedOutput.body;
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
$metadata,
|
|
4792
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4793
|
+
output,
|
|
4794
|
+
parsedBody,
|
|
4795
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4796
|
+
errorCode,
|
|
5054
4797
|
});
|
|
5055
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5056
4798
|
}
|
|
5057
4799
|
};
|
|
5058
4800
|
const deserializeAws_json1_1UpdateFleetPortSettingsCommand = async (output, context) => {
|
|
@@ -5074,7 +4816,6 @@ const deserializeAws_json1_1UpdateFleetPortSettingsCommandError = async (output,
|
|
|
5074
4816
|
...output,
|
|
5075
4817
|
body: await parseBody(output.body, context),
|
|
5076
4818
|
};
|
|
5077
|
-
let response;
|
|
5078
4819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5079
4820
|
switch (errorCode) {
|
|
5080
4821
|
case "ConflictException":
|
|
@@ -5100,14 +4841,12 @@ const deserializeAws_json1_1UpdateFleetPortSettingsCommandError = async (output,
|
|
|
5100
4841
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5101
4842
|
default:
|
|
5102
4843
|
const parsedBody = parsedOutput.body;
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
$metadata,
|
|
4844
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4845
|
+
output,
|
|
4846
|
+
parsedBody,
|
|
4847
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4848
|
+
errorCode,
|
|
5109
4849
|
});
|
|
5110
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5111
4850
|
}
|
|
5112
4851
|
};
|
|
5113
4852
|
const deserializeAws_json1_1UpdateGameServerCommand = async (output, context) => {
|
|
@@ -5129,7 +4868,6 @@ const deserializeAws_json1_1UpdateGameServerCommandError = async (output, contex
|
|
|
5129
4868
|
...output,
|
|
5130
4869
|
body: await parseBody(output.body, context),
|
|
5131
4870
|
};
|
|
5132
|
-
let response;
|
|
5133
4871
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5134
4872
|
switch (errorCode) {
|
|
5135
4873
|
case "InternalServiceException":
|
|
@@ -5146,14 +4884,12 @@ const deserializeAws_json1_1UpdateGameServerCommandError = async (output, contex
|
|
|
5146
4884
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5147
4885
|
default:
|
|
5148
4886
|
const parsedBody = parsedOutput.body;
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
$metadata,
|
|
4887
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4888
|
+
output,
|
|
4889
|
+
parsedBody,
|
|
4890
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4891
|
+
errorCode,
|
|
5155
4892
|
});
|
|
5156
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5157
4893
|
}
|
|
5158
4894
|
};
|
|
5159
4895
|
const deserializeAws_json1_1UpdateGameServerGroupCommand = async (output, context) => {
|
|
@@ -5175,7 +4911,6 @@ const deserializeAws_json1_1UpdateGameServerGroupCommandError = async (output, c
|
|
|
5175
4911
|
...output,
|
|
5176
4912
|
body: await parseBody(output.body, context),
|
|
5177
4913
|
};
|
|
5178
|
-
let response;
|
|
5179
4914
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5180
4915
|
switch (errorCode) {
|
|
5181
4916
|
case "InternalServiceException":
|
|
@@ -5192,14 +4927,12 @@ const deserializeAws_json1_1UpdateGameServerGroupCommandError = async (output, c
|
|
|
5192
4927
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5193
4928
|
default:
|
|
5194
4929
|
const parsedBody = parsedOutput.body;
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
$metadata,
|
|
4930
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4931
|
+
output,
|
|
4932
|
+
parsedBody,
|
|
4933
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4934
|
+
errorCode,
|
|
5201
4935
|
});
|
|
5202
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5203
4936
|
}
|
|
5204
4937
|
};
|
|
5205
4938
|
const deserializeAws_json1_1UpdateGameSessionCommand = async (output, context) => {
|
|
@@ -5221,7 +4954,6 @@ const deserializeAws_json1_1UpdateGameSessionCommandError = async (output, conte
|
|
|
5221
4954
|
...output,
|
|
5222
4955
|
body: await parseBody(output.body, context),
|
|
5223
4956
|
};
|
|
5224
|
-
let response;
|
|
5225
4957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5226
4958
|
switch (errorCode) {
|
|
5227
4959
|
case "ConflictException":
|
|
@@ -5244,14 +4976,12 @@ const deserializeAws_json1_1UpdateGameSessionCommandError = async (output, conte
|
|
|
5244
4976
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5245
4977
|
default:
|
|
5246
4978
|
const parsedBody = parsedOutput.body;
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
$metadata,
|
|
4979
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4980
|
+
output,
|
|
4981
|
+
parsedBody,
|
|
4982
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
4983
|
+
errorCode,
|
|
5253
4984
|
});
|
|
5254
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5255
4985
|
}
|
|
5256
4986
|
};
|
|
5257
4987
|
const deserializeAws_json1_1UpdateGameSessionQueueCommand = async (output, context) => {
|
|
@@ -5273,7 +5003,6 @@ const deserializeAws_json1_1UpdateGameSessionQueueCommandError = async (output,
|
|
|
5273
5003
|
...output,
|
|
5274
5004
|
body: await parseBody(output.body, context),
|
|
5275
5005
|
};
|
|
5276
|
-
let response;
|
|
5277
5006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5278
5007
|
switch (errorCode) {
|
|
5279
5008
|
case "InternalServiceException":
|
|
@@ -5290,14 +5019,12 @@ const deserializeAws_json1_1UpdateGameSessionQueueCommandError = async (output,
|
|
|
5290
5019
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5291
5020
|
default:
|
|
5292
5021
|
const parsedBody = parsedOutput.body;
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
$metadata,
|
|
5022
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5023
|
+
output,
|
|
5024
|
+
parsedBody,
|
|
5025
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
5026
|
+
errorCode,
|
|
5299
5027
|
});
|
|
5300
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5301
5028
|
}
|
|
5302
5029
|
};
|
|
5303
5030
|
const deserializeAws_json1_1UpdateMatchmakingConfigurationCommand = async (output, context) => {
|
|
@@ -5319,7 +5046,6 @@ const deserializeAws_json1_1UpdateMatchmakingConfigurationCommandError = async (
|
|
|
5319
5046
|
...output,
|
|
5320
5047
|
body: await parseBody(output.body, context),
|
|
5321
5048
|
};
|
|
5322
|
-
let response;
|
|
5323
5049
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5324
5050
|
switch (errorCode) {
|
|
5325
5051
|
case "InternalServiceException":
|
|
@@ -5336,14 +5062,12 @@ const deserializeAws_json1_1UpdateMatchmakingConfigurationCommandError = async (
|
|
|
5336
5062
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
5337
5063
|
default:
|
|
5338
5064
|
const parsedBody = parsedOutput.body;
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
$metadata,
|
|
5065
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5066
|
+
output,
|
|
5067
|
+
parsedBody,
|
|
5068
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
5069
|
+
errorCode,
|
|
5345
5070
|
});
|
|
5346
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5347
5071
|
}
|
|
5348
5072
|
};
|
|
5349
5073
|
const deserializeAws_json1_1UpdateRuntimeConfigurationCommand = async (output, context) => {
|
|
@@ -5365,7 +5089,6 @@ const deserializeAws_json1_1UpdateRuntimeConfigurationCommandError = async (outp
|
|
|
5365
5089
|
...output,
|
|
5366
5090
|
body: await parseBody(output.body, context),
|
|
5367
5091
|
};
|
|
5368
|
-
let response;
|
|
5369
5092
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5370
5093
|
switch (errorCode) {
|
|
5371
5094
|
case "InternalServiceException":
|
|
@@ -5385,14 +5108,12 @@ const deserializeAws_json1_1UpdateRuntimeConfigurationCommandError = async (outp
|
|
|
5385
5108
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5386
5109
|
default:
|
|
5387
5110
|
const parsedBody = parsedOutput.body;
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
$metadata,
|
|
5111
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5112
|
+
output,
|
|
5113
|
+
parsedBody,
|
|
5114
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
5115
|
+
errorCode,
|
|
5394
5116
|
});
|
|
5395
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5396
5117
|
}
|
|
5397
5118
|
};
|
|
5398
5119
|
const deserializeAws_json1_1UpdateScriptCommand = async (output, context) => {
|
|
@@ -5414,7 +5135,6 @@ const deserializeAws_json1_1UpdateScriptCommandError = async (output, context) =
|
|
|
5414
5135
|
...output,
|
|
5415
5136
|
body: await parseBody(output.body, context),
|
|
5416
5137
|
};
|
|
5417
|
-
let response;
|
|
5418
5138
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5419
5139
|
switch (errorCode) {
|
|
5420
5140
|
case "InternalServiceException":
|
|
@@ -5431,14 +5151,12 @@ const deserializeAws_json1_1UpdateScriptCommandError = async (output, context) =
|
|
|
5431
5151
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
5432
5152
|
default:
|
|
5433
5153
|
const parsedBody = parsedOutput.body;
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
$metadata,
|
|
5154
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5155
|
+
output,
|
|
5156
|
+
parsedBody,
|
|
5157
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
5158
|
+
errorCode,
|
|
5440
5159
|
});
|
|
5441
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5442
5160
|
}
|
|
5443
5161
|
};
|
|
5444
5162
|
const deserializeAws_json1_1ValidateMatchmakingRuleSetCommand = async (output, context) => {
|
|
@@ -5460,7 +5178,6 @@ const deserializeAws_json1_1ValidateMatchmakingRuleSetCommandError = async (outp
|
|
|
5460
5178
|
...output,
|
|
5461
5179
|
body: await parseBody(output.body, context),
|
|
5462
5180
|
};
|
|
5463
|
-
let response;
|
|
5464
5181
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5465
5182
|
switch (errorCode) {
|
|
5466
5183
|
case "InternalServiceException":
|
|
@@ -5474,14 +5191,12 @@ const deserializeAws_json1_1ValidateMatchmakingRuleSetCommandError = async (outp
|
|
|
5474
5191
|
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
5475
5192
|
default:
|
|
5476
5193
|
const parsedBody = parsedOutput.body;
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
$metadata,
|
|
5194
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5195
|
+
output,
|
|
5196
|
+
parsedBody,
|
|
5197
|
+
exceptionCtor: GameLiftServiceException_1.GameLiftServiceException,
|
|
5198
|
+
errorCode,
|
|
5483
5199
|
});
|
|
5484
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5485
5200
|
}
|
|
5486
5201
|
};
|
|
5487
5202
|
const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -6115,9 +5830,6 @@ const serializeAws_json1_1DesiredPlayerSessionList = (input, context) => {
|
|
|
6115
5830
|
return input
|
|
6116
5831
|
.filter((e) => e != null)
|
|
6117
5832
|
.map((entry) => {
|
|
6118
|
-
if (entry === null) {
|
|
6119
|
-
return null;
|
|
6120
|
-
}
|
|
6121
5833
|
return serializeAws_json1_1DesiredPlayerSession(entry, context);
|
|
6122
5834
|
});
|
|
6123
5835
|
};
|
|
@@ -6132,9 +5844,6 @@ const serializeAws_json1_1FleetActionList = (input, context) => {
|
|
|
6132
5844
|
return input
|
|
6133
5845
|
.filter((e) => e != null)
|
|
6134
5846
|
.map((entry) => {
|
|
6135
|
-
if (entry === null) {
|
|
6136
|
-
return null;
|
|
6137
|
-
}
|
|
6138
5847
|
return entry;
|
|
6139
5848
|
});
|
|
6140
5849
|
};
|
|
@@ -6142,9 +5851,6 @@ const serializeAws_json1_1FleetIdOrArnList = (input, context) => {
|
|
|
6142
5851
|
return input
|
|
6143
5852
|
.filter((e) => e != null)
|
|
6144
5853
|
.map((entry) => {
|
|
6145
|
-
if (entry === null) {
|
|
6146
|
-
return null;
|
|
6147
|
-
}
|
|
6148
5854
|
return entry;
|
|
6149
5855
|
});
|
|
6150
5856
|
};
|
|
@@ -6158,9 +5864,6 @@ const serializeAws_json1_1GamePropertyList = (input, context) => {
|
|
|
6158
5864
|
return input
|
|
6159
5865
|
.filter((e) => e != null)
|
|
6160
5866
|
.map((entry) => {
|
|
6161
|
-
if (entry === null) {
|
|
6162
|
-
return null;
|
|
6163
|
-
}
|
|
6164
5867
|
return serializeAws_json1_1GameProperty(entry, context);
|
|
6165
5868
|
});
|
|
6166
5869
|
};
|
|
@@ -6168,9 +5871,6 @@ const serializeAws_json1_1GameServerGroupActions = (input, context) => {
|
|
|
6168
5871
|
return input
|
|
6169
5872
|
.filter((e) => e != null)
|
|
6170
5873
|
.map((entry) => {
|
|
6171
|
-
if (entry === null) {
|
|
6172
|
-
return null;
|
|
6173
|
-
}
|
|
6174
5874
|
return entry;
|
|
6175
5875
|
});
|
|
6176
5876
|
};
|
|
@@ -6186,9 +5886,6 @@ const serializeAws_json1_1GameServerInstanceIds = (input, context) => {
|
|
|
6186
5886
|
return input
|
|
6187
5887
|
.filter((e) => e != null)
|
|
6188
5888
|
.map((entry) => {
|
|
6189
|
-
if (entry === null) {
|
|
6190
|
-
return null;
|
|
6191
|
-
}
|
|
6192
5889
|
return entry;
|
|
6193
5890
|
});
|
|
6194
5891
|
};
|
|
@@ -6201,9 +5898,6 @@ const serializeAws_json1_1GameSessionQueueDestinationList = (input, context) =>
|
|
|
6201
5898
|
return input
|
|
6202
5899
|
.filter((e) => e != null)
|
|
6203
5900
|
.map((entry) => {
|
|
6204
|
-
if (entry === null) {
|
|
6205
|
-
return null;
|
|
6206
|
-
}
|
|
6207
5901
|
return serializeAws_json1_1GameSessionQueueDestination(entry, context);
|
|
6208
5902
|
});
|
|
6209
5903
|
};
|
|
@@ -6211,9 +5905,6 @@ const serializeAws_json1_1GameSessionQueueNameOrArnList = (input, context) => {
|
|
|
6211
5905
|
return input
|
|
6212
5906
|
.filter((e) => e != null)
|
|
6213
5907
|
.map((entry) => {
|
|
6214
|
-
if (entry === null) {
|
|
6215
|
-
return null;
|
|
6216
|
-
}
|
|
6217
5908
|
return entry;
|
|
6218
5909
|
});
|
|
6219
5910
|
};
|
|
@@ -6238,9 +5929,6 @@ const serializeAws_json1_1InstanceDefinitions = (input, context) => {
|
|
|
6238
5929
|
return input
|
|
6239
5930
|
.filter((e) => e != null)
|
|
6240
5931
|
.map((entry) => {
|
|
6241
|
-
if (entry === null) {
|
|
6242
|
-
return null;
|
|
6243
|
-
}
|
|
6244
5932
|
return serializeAws_json1_1InstanceDefinition(entry, context);
|
|
6245
5933
|
});
|
|
6246
5934
|
};
|
|
@@ -6256,9 +5944,6 @@ const serializeAws_json1_1IpPermissionsList = (input, context) => {
|
|
|
6256
5944
|
return input
|
|
6257
5945
|
.filter((e) => e != null)
|
|
6258
5946
|
.map((entry) => {
|
|
6259
|
-
if (entry === null) {
|
|
6260
|
-
return null;
|
|
6261
|
-
}
|
|
6262
5947
|
return serializeAws_json1_1IpPermission(entry, context);
|
|
6263
5948
|
});
|
|
6264
5949
|
};
|
|
@@ -6337,9 +6022,6 @@ const serializeAws_json1_1LocationConfigurationList = (input, context) => {
|
|
|
6337
6022
|
return input
|
|
6338
6023
|
.filter((e) => e != null)
|
|
6339
6024
|
.map((entry) => {
|
|
6340
|
-
if (entry === null) {
|
|
6341
|
-
return null;
|
|
6342
|
-
}
|
|
6343
6025
|
return serializeAws_json1_1LocationConfiguration(entry, context);
|
|
6344
6026
|
});
|
|
6345
6027
|
};
|
|
@@ -6347,9 +6029,6 @@ const serializeAws_json1_1LocationList = (input, context) => {
|
|
|
6347
6029
|
return input
|
|
6348
6030
|
.filter((e) => e != null)
|
|
6349
6031
|
.map((entry) => {
|
|
6350
|
-
if (entry === null) {
|
|
6351
|
-
return null;
|
|
6352
|
-
}
|
|
6353
6032
|
return entry;
|
|
6354
6033
|
});
|
|
6355
6034
|
};
|
|
@@ -6357,9 +6036,6 @@ const serializeAws_json1_1MatchmakingConfigurationNameList = (input, context) =>
|
|
|
6357
6036
|
return input
|
|
6358
6037
|
.filter((e) => e != null)
|
|
6359
6038
|
.map((entry) => {
|
|
6360
|
-
if (entry === null) {
|
|
6361
|
-
return null;
|
|
6362
|
-
}
|
|
6363
6039
|
return entry;
|
|
6364
6040
|
});
|
|
6365
6041
|
};
|
|
@@ -6367,9 +6043,6 @@ const serializeAws_json1_1MatchmakingIdList = (input, context) => {
|
|
|
6367
6043
|
return input
|
|
6368
6044
|
.filter((e) => e != null)
|
|
6369
6045
|
.map((entry) => {
|
|
6370
|
-
if (entry === null) {
|
|
6371
|
-
return null;
|
|
6372
|
-
}
|
|
6373
6046
|
return entry;
|
|
6374
6047
|
});
|
|
6375
6048
|
};
|
|
@@ -6377,9 +6050,6 @@ const serializeAws_json1_1MatchmakingRuleSetNameList = (input, context) => {
|
|
|
6377
6050
|
return input
|
|
6378
6051
|
.filter((e) => e != null)
|
|
6379
6052
|
.map((entry) => {
|
|
6380
|
-
if (entry === null) {
|
|
6381
|
-
return null;
|
|
6382
|
-
}
|
|
6383
6053
|
return entry;
|
|
6384
6054
|
});
|
|
6385
6055
|
};
|
|
@@ -6387,9 +6057,6 @@ const serializeAws_json1_1MetricGroupList = (input, context) => {
|
|
|
6387
6057
|
return input
|
|
6388
6058
|
.filter((e) => e != null)
|
|
6389
6059
|
.map((entry) => {
|
|
6390
|
-
if (entry === null) {
|
|
6391
|
-
return null;
|
|
6392
|
-
}
|
|
6393
6060
|
return entry;
|
|
6394
6061
|
});
|
|
6395
6062
|
};
|
|
@@ -6429,9 +6096,6 @@ const serializeAws_json1_1PlayerIdList = (input, context) => {
|
|
|
6429
6096
|
return input
|
|
6430
6097
|
.filter((e) => e != null)
|
|
6431
6098
|
.map((entry) => {
|
|
6432
|
-
if (entry === null) {
|
|
6433
|
-
return null;
|
|
6434
|
-
}
|
|
6435
6099
|
return entry;
|
|
6436
6100
|
});
|
|
6437
6101
|
};
|
|
@@ -6448,9 +6112,6 @@ const serializeAws_json1_1PlayerLatencyList = (input, context) => {
|
|
|
6448
6112
|
return input
|
|
6449
6113
|
.filter((e) => e != null)
|
|
6450
6114
|
.map((entry) => {
|
|
6451
|
-
if (entry === null) {
|
|
6452
|
-
return null;
|
|
6453
|
-
}
|
|
6454
6115
|
return serializeAws_json1_1PlayerLatency(entry, context);
|
|
6455
6116
|
});
|
|
6456
6117
|
};
|
|
@@ -6466,9 +6127,6 @@ const serializeAws_json1_1PlayerLatencyPolicyList = (input, context) => {
|
|
|
6466
6127
|
return input
|
|
6467
6128
|
.filter((e) => e != null)
|
|
6468
6129
|
.map((entry) => {
|
|
6469
|
-
if (entry === null) {
|
|
6470
|
-
return null;
|
|
6471
|
-
}
|
|
6472
6130
|
return serializeAws_json1_1PlayerLatencyPolicy(entry, context);
|
|
6473
6131
|
});
|
|
6474
6132
|
};
|
|
@@ -6476,9 +6134,6 @@ const serializeAws_json1_1PlayerList = (input, context) => {
|
|
|
6476
6134
|
return input
|
|
6477
6135
|
.filter((e) => e != null)
|
|
6478
6136
|
.map((entry) => {
|
|
6479
|
-
if (entry === null) {
|
|
6480
|
-
return null;
|
|
6481
|
-
}
|
|
6482
6137
|
return serializeAws_json1_1Player(entry, context);
|
|
6483
6138
|
});
|
|
6484
6139
|
};
|
|
@@ -6496,9 +6151,6 @@ const serializeAws_json1_1PriorityTypeList = (input, context) => {
|
|
|
6496
6151
|
return input
|
|
6497
6152
|
.filter((e) => e != null)
|
|
6498
6153
|
.map((entry) => {
|
|
6499
|
-
if (entry === null) {
|
|
6500
|
-
return null;
|
|
6501
|
-
}
|
|
6502
6154
|
return entry;
|
|
6503
6155
|
});
|
|
6504
6156
|
};
|
|
@@ -6522,9 +6174,6 @@ const serializeAws_json1_1QueueArnsList = (input, context) => {
|
|
|
6522
6174
|
return input
|
|
6523
6175
|
.filter((e) => e != null)
|
|
6524
6176
|
.map((entry) => {
|
|
6525
|
-
if (entry === null) {
|
|
6526
|
-
return null;
|
|
6527
|
-
}
|
|
6528
6177
|
return entry;
|
|
6529
6178
|
});
|
|
6530
6179
|
};
|
|
@@ -6611,9 +6260,6 @@ const serializeAws_json1_1ServerProcessList = (input, context) => {
|
|
|
6611
6260
|
return input
|
|
6612
6261
|
.filter((e) => e != null)
|
|
6613
6262
|
.map((entry) => {
|
|
6614
|
-
if (entry === null) {
|
|
6615
|
-
return null;
|
|
6616
|
-
}
|
|
6617
6263
|
return serializeAws_json1_1ServerProcess(entry, context);
|
|
6618
6264
|
});
|
|
6619
6265
|
};
|
|
@@ -6689,9 +6335,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
6689
6335
|
return input
|
|
6690
6336
|
.filter((e) => e != null)
|
|
6691
6337
|
.map((entry) => {
|
|
6692
|
-
if (entry === null) {
|
|
6693
|
-
return null;
|
|
6694
|
-
}
|
|
6695
6338
|
return entry;
|
|
6696
6339
|
});
|
|
6697
6340
|
};
|
|
@@ -6713,9 +6356,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
6713
6356
|
return input
|
|
6714
6357
|
.filter((e) => e != null)
|
|
6715
6358
|
.map((entry) => {
|
|
6716
|
-
if (entry === null) {
|
|
6717
|
-
return null;
|
|
6718
|
-
}
|
|
6719
6359
|
return entry;
|
|
6720
6360
|
});
|
|
6721
6361
|
};
|
|
@@ -6723,9 +6363,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
6723
6363
|
return input
|
|
6724
6364
|
.filter((e) => e != null)
|
|
6725
6365
|
.map((entry) => {
|
|
6726
|
-
if (entry === null) {
|
|
6727
|
-
return null;
|
|
6728
|
-
}
|
|
6729
6366
|
return serializeAws_json1_1Tag(entry, context);
|
|
6730
6367
|
});
|
|
6731
6368
|
};
|
|
@@ -6905,9 +6542,6 @@ const serializeAws_json1_1VpcSubnets = (input, context) => {
|
|
|
6905
6542
|
return input
|
|
6906
6543
|
.filter((e) => e != null)
|
|
6907
6544
|
.map((entry) => {
|
|
6908
|
-
if (entry === null) {
|
|
6909
|
-
return null;
|
|
6910
|
-
}
|
|
6911
6545
|
return entry;
|
|
6912
6546
|
});
|
|
6913
6547
|
};
|