@aws-sdk/client-route53resolver 3.504.0 → 3.509.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +180 -2356
- package/dist-es/protocols/Aws_json1_1.js +227 -2403
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1159,7 +1159,7 @@ var se_UpdateResolverRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1159
1159
|
}, "se_UpdateResolverRuleCommand");
|
|
1160
1160
|
var de_AssociateFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1161
1161
|
if (output.statusCode >= 300) {
|
|
1162
|
-
return
|
|
1162
|
+
return de_CommandError(output, context);
|
|
1163
1163
|
}
|
|
1164
1164
|
const data = await parseBody(output.body, context);
|
|
1165
1165
|
let contents = {};
|
|
@@ -1170,46 +1170,9 @@ var de_AssociateFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1170
1170
|
};
|
|
1171
1171
|
return response;
|
|
1172
1172
|
}, "de_AssociateFirewallRuleGroupCommand");
|
|
1173
|
-
var de_AssociateFirewallRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
-
const parsedOutput = {
|
|
1175
|
-
...output,
|
|
1176
|
-
body: await parseErrorBody(output.body, context)
|
|
1177
|
-
};
|
|
1178
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1179
|
-
switch (errorCode) {
|
|
1180
|
-
case "AccessDeniedException":
|
|
1181
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1182
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1183
|
-
case "ConflictException":
|
|
1184
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
1185
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1186
|
-
case "InternalServiceErrorException":
|
|
1187
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1188
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1189
|
-
case "LimitExceededException":
|
|
1190
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1191
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1192
|
-
case "ResourceNotFoundException":
|
|
1193
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1194
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1195
|
-
case "ThrottlingException":
|
|
1196
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1197
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1198
|
-
case "ValidationException":
|
|
1199
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1200
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1201
|
-
default:
|
|
1202
|
-
const parsedBody = parsedOutput.body;
|
|
1203
|
-
return throwDefaultError({
|
|
1204
|
-
output,
|
|
1205
|
-
parsedBody,
|
|
1206
|
-
errorCode
|
|
1207
|
-
});
|
|
1208
|
-
}
|
|
1209
|
-
}, "de_AssociateFirewallRuleGroupCommandError");
|
|
1210
1173
|
var de_AssociateResolverEndpointIpAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1211
1174
|
if (output.statusCode >= 300) {
|
|
1212
|
-
return
|
|
1175
|
+
return de_CommandError(output, context);
|
|
1213
1176
|
}
|
|
1214
1177
|
const data = await parseBody(output.body, context);
|
|
1215
1178
|
let contents = {};
|
|
@@ -1220,46 +1183,9 @@ var de_AssociateResolverEndpointIpAddressCommand = /* @__PURE__ */ __name(async
|
|
|
1220
1183
|
};
|
|
1221
1184
|
return response;
|
|
1222
1185
|
}, "de_AssociateResolverEndpointIpAddressCommand");
|
|
1223
|
-
var de_AssociateResolverEndpointIpAddressCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1224
|
-
const parsedOutput = {
|
|
1225
|
-
...output,
|
|
1226
|
-
body: await parseErrorBody(output.body, context)
|
|
1227
|
-
};
|
|
1228
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1229
|
-
switch (errorCode) {
|
|
1230
|
-
case "InternalServiceErrorException":
|
|
1231
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1232
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1233
|
-
case "InvalidParameterException":
|
|
1234
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1235
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1236
|
-
case "InvalidRequestException":
|
|
1237
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1238
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1239
|
-
case "LimitExceededException":
|
|
1240
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1241
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1242
|
-
case "ResourceExistsException":
|
|
1243
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
1244
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1245
|
-
case "ResourceNotFoundException":
|
|
1246
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1247
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1248
|
-
case "ThrottlingException":
|
|
1249
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1250
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1251
|
-
default:
|
|
1252
|
-
const parsedBody = parsedOutput.body;
|
|
1253
|
-
return throwDefaultError({
|
|
1254
|
-
output,
|
|
1255
|
-
parsedBody,
|
|
1256
|
-
errorCode
|
|
1257
|
-
});
|
|
1258
|
-
}
|
|
1259
|
-
}, "de_AssociateResolverEndpointIpAddressCommandError");
|
|
1260
1186
|
var de_AssociateResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1261
1187
|
if (output.statusCode >= 300) {
|
|
1262
|
-
return
|
|
1188
|
+
return de_CommandError(output, context);
|
|
1263
1189
|
}
|
|
1264
1190
|
const data = await parseBody(output.body, context);
|
|
1265
1191
|
let contents = {};
|
|
@@ -1270,49 +1196,9 @@ var de_AssociateResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1270
1196
|
};
|
|
1271
1197
|
return response;
|
|
1272
1198
|
}, "de_AssociateResolverQueryLogConfigCommand");
|
|
1273
|
-
var de_AssociateResolverQueryLogConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1274
|
-
const parsedOutput = {
|
|
1275
|
-
...output,
|
|
1276
|
-
body: await parseErrorBody(output.body, context)
|
|
1277
|
-
};
|
|
1278
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1279
|
-
switch (errorCode) {
|
|
1280
|
-
case "AccessDeniedException":
|
|
1281
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1282
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1283
|
-
case "InternalServiceErrorException":
|
|
1284
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1285
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1286
|
-
case "InvalidParameterException":
|
|
1287
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1288
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1289
|
-
case "InvalidRequestException":
|
|
1290
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1291
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1292
|
-
case "LimitExceededException":
|
|
1293
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1294
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1295
|
-
case "ResourceExistsException":
|
|
1296
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
1297
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1298
|
-
case "ResourceNotFoundException":
|
|
1299
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1300
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1301
|
-
case "ThrottlingException":
|
|
1302
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1303
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1304
|
-
default:
|
|
1305
|
-
const parsedBody = parsedOutput.body;
|
|
1306
|
-
return throwDefaultError({
|
|
1307
|
-
output,
|
|
1308
|
-
parsedBody,
|
|
1309
|
-
errorCode
|
|
1310
|
-
});
|
|
1311
|
-
}
|
|
1312
|
-
}, "de_AssociateResolverQueryLogConfigCommandError");
|
|
1313
1199
|
var de_AssociateResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1314
1200
|
if (output.statusCode >= 300) {
|
|
1315
|
-
return
|
|
1201
|
+
return de_CommandError(output, context);
|
|
1316
1202
|
}
|
|
1317
1203
|
const data = await parseBody(output.body, context);
|
|
1318
1204
|
let contents = {};
|
|
@@ -1323,49 +1209,9 @@ var de_AssociateResolverRuleCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1323
1209
|
};
|
|
1324
1210
|
return response;
|
|
1325
1211
|
}, "de_AssociateResolverRuleCommand");
|
|
1326
|
-
var de_AssociateResolverRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1327
|
-
const parsedOutput = {
|
|
1328
|
-
...output,
|
|
1329
|
-
body: await parseErrorBody(output.body, context)
|
|
1330
|
-
};
|
|
1331
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1332
|
-
switch (errorCode) {
|
|
1333
|
-
case "InternalServiceErrorException":
|
|
1334
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1335
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1336
|
-
case "InvalidParameterException":
|
|
1337
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1338
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1339
|
-
case "InvalidRequestException":
|
|
1340
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1341
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1342
|
-
case "LimitExceededException":
|
|
1343
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1344
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1345
|
-
case "ResourceExistsException":
|
|
1346
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
1347
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1348
|
-
case "ResourceNotFoundException":
|
|
1349
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1350
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1351
|
-
case "ResourceUnavailableException":
|
|
1352
|
-
case "com.amazonaws.route53resolver#ResourceUnavailableException":
|
|
1353
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1354
|
-
case "ThrottlingException":
|
|
1355
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1356
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1357
|
-
default:
|
|
1358
|
-
const parsedBody = parsedOutput.body;
|
|
1359
|
-
return throwDefaultError({
|
|
1360
|
-
output,
|
|
1361
|
-
parsedBody,
|
|
1362
|
-
errorCode
|
|
1363
|
-
});
|
|
1364
|
-
}
|
|
1365
|
-
}, "de_AssociateResolverRuleCommandError");
|
|
1366
1212
|
var de_CreateFirewallDomainListCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1367
1213
|
if (output.statusCode >= 300) {
|
|
1368
|
-
return
|
|
1214
|
+
return de_CommandError(output, context);
|
|
1369
1215
|
}
|
|
1370
1216
|
const data = await parseBody(output.body, context);
|
|
1371
1217
|
let contents = {};
|
|
@@ -1376,40 +1222,9 @@ var de_CreateFirewallDomainListCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1376
1222
|
};
|
|
1377
1223
|
return response;
|
|
1378
1224
|
}, "de_CreateFirewallDomainListCommand");
|
|
1379
|
-
var de_CreateFirewallDomainListCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1380
|
-
const parsedOutput = {
|
|
1381
|
-
...output,
|
|
1382
|
-
body: await parseErrorBody(output.body, context)
|
|
1383
|
-
};
|
|
1384
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1385
|
-
switch (errorCode) {
|
|
1386
|
-
case "AccessDeniedException":
|
|
1387
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1388
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1389
|
-
case "InternalServiceErrorException":
|
|
1390
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1391
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1392
|
-
case "LimitExceededException":
|
|
1393
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1394
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1395
|
-
case "ThrottlingException":
|
|
1396
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1397
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1398
|
-
case "ValidationException":
|
|
1399
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1400
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1401
|
-
default:
|
|
1402
|
-
const parsedBody = parsedOutput.body;
|
|
1403
|
-
return throwDefaultError({
|
|
1404
|
-
output,
|
|
1405
|
-
parsedBody,
|
|
1406
|
-
errorCode
|
|
1407
|
-
});
|
|
1408
|
-
}
|
|
1409
|
-
}, "de_CreateFirewallDomainListCommandError");
|
|
1410
1225
|
var de_CreateFirewallRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1411
1226
|
if (output.statusCode >= 300) {
|
|
1412
|
-
return
|
|
1227
|
+
return de_CommandError(output, context);
|
|
1413
1228
|
}
|
|
1414
1229
|
const data = await parseBody(output.body, context);
|
|
1415
1230
|
let contents = {};
|
|
@@ -1420,43 +1235,9 @@ var de_CreateFirewallRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1420
1235
|
};
|
|
1421
1236
|
return response;
|
|
1422
1237
|
}, "de_CreateFirewallRuleCommand");
|
|
1423
|
-
var de_CreateFirewallRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1424
|
-
const parsedOutput = {
|
|
1425
|
-
...output,
|
|
1426
|
-
body: await parseErrorBody(output.body, context)
|
|
1427
|
-
};
|
|
1428
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1429
|
-
switch (errorCode) {
|
|
1430
|
-
case "AccessDeniedException":
|
|
1431
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1432
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1433
|
-
case "InternalServiceErrorException":
|
|
1434
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1435
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1436
|
-
case "LimitExceededException":
|
|
1437
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1438
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1439
|
-
case "ResourceNotFoundException":
|
|
1440
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1441
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1442
|
-
case "ThrottlingException":
|
|
1443
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1444
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1445
|
-
case "ValidationException":
|
|
1446
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1447
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1448
|
-
default:
|
|
1449
|
-
const parsedBody = parsedOutput.body;
|
|
1450
|
-
return throwDefaultError({
|
|
1451
|
-
output,
|
|
1452
|
-
parsedBody,
|
|
1453
|
-
errorCode
|
|
1454
|
-
});
|
|
1455
|
-
}
|
|
1456
|
-
}, "de_CreateFirewallRuleCommandError");
|
|
1457
1238
|
var de_CreateFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1458
1239
|
if (output.statusCode >= 300) {
|
|
1459
|
-
return
|
|
1240
|
+
return de_CommandError(output, context);
|
|
1460
1241
|
}
|
|
1461
1242
|
const data = await parseBody(output.body, context);
|
|
1462
1243
|
let contents = {};
|
|
@@ -1467,40 +1248,9 @@ var de_CreateFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1467
1248
|
};
|
|
1468
1249
|
return response;
|
|
1469
1250
|
}, "de_CreateFirewallRuleGroupCommand");
|
|
1470
|
-
var de_CreateFirewallRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1471
|
-
const parsedOutput = {
|
|
1472
|
-
...output,
|
|
1473
|
-
body: await parseErrorBody(output.body, context)
|
|
1474
|
-
};
|
|
1475
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1476
|
-
switch (errorCode) {
|
|
1477
|
-
case "AccessDeniedException":
|
|
1478
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1479
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1480
|
-
case "InternalServiceErrorException":
|
|
1481
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1482
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1483
|
-
case "LimitExceededException":
|
|
1484
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1485
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1486
|
-
case "ThrottlingException":
|
|
1487
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1488
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1489
|
-
case "ValidationException":
|
|
1490
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1491
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1492
|
-
default:
|
|
1493
|
-
const parsedBody = parsedOutput.body;
|
|
1494
|
-
return throwDefaultError({
|
|
1495
|
-
output,
|
|
1496
|
-
parsedBody,
|
|
1497
|
-
errorCode
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
}, "de_CreateFirewallRuleGroupCommandError");
|
|
1501
1251
|
var de_CreateOutpostResolverCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1502
1252
|
if (output.statusCode >= 300) {
|
|
1503
|
-
return
|
|
1253
|
+
return de_CommandError(output, context);
|
|
1504
1254
|
}
|
|
1505
1255
|
const data = await parseBody(output.body, context);
|
|
1506
1256
|
let contents = {};
|
|
@@ -1511,96 +1261,22 @@ var de_CreateOutpostResolverCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1511
1261
|
};
|
|
1512
1262
|
return response;
|
|
1513
1263
|
}, "de_CreateOutpostResolverCommand");
|
|
1514
|
-
var
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
case "InternalServiceErrorException":
|
|
1525
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1526
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1527
|
-
case "ResourceNotFoundException":
|
|
1528
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1529
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1530
|
-
case "ServiceQuotaExceededException":
|
|
1531
|
-
case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
|
|
1532
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1533
|
-
case "ThrottlingException":
|
|
1534
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1535
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1536
|
-
case "ValidationException":
|
|
1537
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1538
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1539
|
-
default:
|
|
1540
|
-
const parsedBody = parsedOutput.body;
|
|
1541
|
-
return throwDefaultError({
|
|
1542
|
-
output,
|
|
1543
|
-
parsedBody,
|
|
1544
|
-
errorCode
|
|
1545
|
-
});
|
|
1546
|
-
}
|
|
1547
|
-
}, "de_CreateOutpostResolverCommandError");
|
|
1548
|
-
var de_CreateResolverEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1549
|
-
if (output.statusCode >= 300) {
|
|
1550
|
-
return de_CreateResolverEndpointCommandError(output, context);
|
|
1551
|
-
}
|
|
1552
|
-
const data = await parseBody(output.body, context);
|
|
1553
|
-
let contents = {};
|
|
1554
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1555
|
-
const response = {
|
|
1556
|
-
$metadata: deserializeMetadata(output),
|
|
1557
|
-
...contents
|
|
1264
|
+
var de_CreateResolverEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1265
|
+
if (output.statusCode >= 300) {
|
|
1266
|
+
return de_CommandError(output, context);
|
|
1267
|
+
}
|
|
1268
|
+
const data = await parseBody(output.body, context);
|
|
1269
|
+
let contents = {};
|
|
1270
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1271
|
+
const response = {
|
|
1272
|
+
$metadata: deserializeMetadata(output),
|
|
1273
|
+
...contents
|
|
1558
1274
|
};
|
|
1559
1275
|
return response;
|
|
1560
1276
|
}, "de_CreateResolverEndpointCommand");
|
|
1561
|
-
var de_CreateResolverEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1562
|
-
const parsedOutput = {
|
|
1563
|
-
...output,
|
|
1564
|
-
body: await parseErrorBody(output.body, context)
|
|
1565
|
-
};
|
|
1566
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1567
|
-
switch (errorCode) {
|
|
1568
|
-
case "AccessDeniedException":
|
|
1569
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1570
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1571
|
-
case "InternalServiceErrorException":
|
|
1572
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1573
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1574
|
-
case "InvalidParameterException":
|
|
1575
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1576
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1577
|
-
case "InvalidRequestException":
|
|
1578
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1579
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1580
|
-
case "LimitExceededException":
|
|
1581
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1582
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1583
|
-
case "ResourceExistsException":
|
|
1584
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
1585
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1586
|
-
case "ResourceNotFoundException":
|
|
1587
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1588
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1589
|
-
case "ThrottlingException":
|
|
1590
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1591
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1592
|
-
default:
|
|
1593
|
-
const parsedBody = parsedOutput.body;
|
|
1594
|
-
return throwDefaultError({
|
|
1595
|
-
output,
|
|
1596
|
-
parsedBody,
|
|
1597
|
-
errorCode
|
|
1598
|
-
});
|
|
1599
|
-
}
|
|
1600
|
-
}, "de_CreateResolverEndpointCommandError");
|
|
1601
1277
|
var de_CreateResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1602
1278
|
if (output.statusCode >= 300) {
|
|
1603
|
-
return
|
|
1279
|
+
return de_CommandError(output, context);
|
|
1604
1280
|
}
|
|
1605
1281
|
const data = await parseBody(output.body, context);
|
|
1606
1282
|
let contents = {};
|
|
@@ -1611,49 +1287,9 @@ var de_CreateResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1611
1287
|
};
|
|
1612
1288
|
return response;
|
|
1613
1289
|
}, "de_CreateResolverQueryLogConfigCommand");
|
|
1614
|
-
var de_CreateResolverQueryLogConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1615
|
-
const parsedOutput = {
|
|
1616
|
-
...output,
|
|
1617
|
-
body: await parseErrorBody(output.body, context)
|
|
1618
|
-
};
|
|
1619
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1620
|
-
switch (errorCode) {
|
|
1621
|
-
case "AccessDeniedException":
|
|
1622
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1623
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1624
|
-
case "InternalServiceErrorException":
|
|
1625
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1626
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1627
|
-
case "InvalidParameterException":
|
|
1628
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1629
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1630
|
-
case "InvalidRequestException":
|
|
1631
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1632
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1633
|
-
case "LimitExceededException":
|
|
1634
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1635
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1636
|
-
case "ResourceExistsException":
|
|
1637
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
1638
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1639
|
-
case "ResourceNotFoundException":
|
|
1640
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1641
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1642
|
-
case "ThrottlingException":
|
|
1643
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1644
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1645
|
-
default:
|
|
1646
|
-
const parsedBody = parsedOutput.body;
|
|
1647
|
-
return throwDefaultError({
|
|
1648
|
-
output,
|
|
1649
|
-
parsedBody,
|
|
1650
|
-
errorCode
|
|
1651
|
-
});
|
|
1652
|
-
}
|
|
1653
|
-
}, "de_CreateResolverQueryLogConfigCommandError");
|
|
1654
1290
|
var de_CreateResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1655
1291
|
if (output.statusCode >= 300) {
|
|
1656
|
-
return
|
|
1292
|
+
return de_CommandError(output, context);
|
|
1657
1293
|
}
|
|
1658
1294
|
const data = await parseBody(output.body, context);
|
|
1659
1295
|
let contents = {};
|
|
@@ -1664,52 +1300,9 @@ var de_CreateResolverRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1664
1300
|
};
|
|
1665
1301
|
return response;
|
|
1666
1302
|
}, "de_CreateResolverRuleCommand");
|
|
1667
|
-
var de_CreateResolverRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1668
|
-
const parsedOutput = {
|
|
1669
|
-
...output,
|
|
1670
|
-
body: await parseErrorBody(output.body, context)
|
|
1671
|
-
};
|
|
1672
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1673
|
-
switch (errorCode) {
|
|
1674
|
-
case "AccessDeniedException":
|
|
1675
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1676
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1677
|
-
case "InternalServiceErrorException":
|
|
1678
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1679
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1680
|
-
case "InvalidParameterException":
|
|
1681
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1682
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1683
|
-
case "InvalidRequestException":
|
|
1684
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1685
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1686
|
-
case "LimitExceededException":
|
|
1687
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
1688
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1689
|
-
case "ResourceExistsException":
|
|
1690
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
1691
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1692
|
-
case "ResourceNotFoundException":
|
|
1693
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1694
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1695
|
-
case "ResourceUnavailableException":
|
|
1696
|
-
case "com.amazonaws.route53resolver#ResourceUnavailableException":
|
|
1697
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1698
|
-
case "ThrottlingException":
|
|
1699
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1700
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1701
|
-
default:
|
|
1702
|
-
const parsedBody = parsedOutput.body;
|
|
1703
|
-
return throwDefaultError({
|
|
1704
|
-
output,
|
|
1705
|
-
parsedBody,
|
|
1706
|
-
errorCode
|
|
1707
|
-
});
|
|
1708
|
-
}
|
|
1709
|
-
}, "de_CreateResolverRuleCommandError");
|
|
1710
1303
|
var de_DeleteFirewallDomainListCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1711
1304
|
if (output.statusCode >= 300) {
|
|
1712
|
-
return
|
|
1305
|
+
return de_CommandError(output, context);
|
|
1713
1306
|
}
|
|
1714
1307
|
const data = await parseBody(output.body, context);
|
|
1715
1308
|
let contents = {};
|
|
@@ -1720,40 +1313,9 @@ var de_DeleteFirewallDomainListCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1720
1313
|
};
|
|
1721
1314
|
return response;
|
|
1722
1315
|
}, "de_DeleteFirewallDomainListCommand");
|
|
1723
|
-
var de_DeleteFirewallDomainListCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1724
|
-
const parsedOutput = {
|
|
1725
|
-
...output,
|
|
1726
|
-
body: await parseErrorBody(output.body, context)
|
|
1727
|
-
};
|
|
1728
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1729
|
-
switch (errorCode) {
|
|
1730
|
-
case "AccessDeniedException":
|
|
1731
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1732
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1733
|
-
case "ConflictException":
|
|
1734
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
1735
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1736
|
-
case "InternalServiceErrorException":
|
|
1737
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1738
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1739
|
-
case "ResourceNotFoundException":
|
|
1740
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1741
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1742
|
-
case "ThrottlingException":
|
|
1743
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1744
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1745
|
-
default:
|
|
1746
|
-
const parsedBody = parsedOutput.body;
|
|
1747
|
-
return throwDefaultError({
|
|
1748
|
-
output,
|
|
1749
|
-
parsedBody,
|
|
1750
|
-
errorCode
|
|
1751
|
-
});
|
|
1752
|
-
}
|
|
1753
|
-
}, "de_DeleteFirewallDomainListCommandError");
|
|
1754
1316
|
var de_DeleteFirewallRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1755
1317
|
if (output.statusCode >= 300) {
|
|
1756
|
-
return
|
|
1318
|
+
return de_CommandError(output, context);
|
|
1757
1319
|
}
|
|
1758
1320
|
const data = await parseBody(output.body, context);
|
|
1759
1321
|
let contents = {};
|
|
@@ -1764,37 +1326,9 @@ var de_DeleteFirewallRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1764
1326
|
};
|
|
1765
1327
|
return response;
|
|
1766
1328
|
}, "de_DeleteFirewallRuleCommand");
|
|
1767
|
-
var de_DeleteFirewallRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1768
|
-
const parsedOutput = {
|
|
1769
|
-
...output,
|
|
1770
|
-
body: await parseErrorBody(output.body, context)
|
|
1771
|
-
};
|
|
1772
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1773
|
-
switch (errorCode) {
|
|
1774
|
-
case "AccessDeniedException":
|
|
1775
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1776
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1777
|
-
case "InternalServiceErrorException":
|
|
1778
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1779
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1780
|
-
case "ResourceNotFoundException":
|
|
1781
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1782
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1783
|
-
case "ThrottlingException":
|
|
1784
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1785
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1786
|
-
default:
|
|
1787
|
-
const parsedBody = parsedOutput.body;
|
|
1788
|
-
return throwDefaultError({
|
|
1789
|
-
output,
|
|
1790
|
-
parsedBody,
|
|
1791
|
-
errorCode
|
|
1792
|
-
});
|
|
1793
|
-
}
|
|
1794
|
-
}, "de_DeleteFirewallRuleCommandError");
|
|
1795
1329
|
var de_DeleteFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1796
1330
|
if (output.statusCode >= 300) {
|
|
1797
|
-
return
|
|
1331
|
+
return de_CommandError(output, context);
|
|
1798
1332
|
}
|
|
1799
1333
|
const data = await parseBody(output.body, context);
|
|
1800
1334
|
let contents = {};
|
|
@@ -1805,43 +1339,9 @@ var de_DeleteFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1805
1339
|
};
|
|
1806
1340
|
return response;
|
|
1807
1341
|
}, "de_DeleteFirewallRuleGroupCommand");
|
|
1808
|
-
var de_DeleteFirewallRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1809
|
-
const parsedOutput = {
|
|
1810
|
-
...output,
|
|
1811
|
-
body: await parseErrorBody(output.body, context)
|
|
1812
|
-
};
|
|
1813
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1814
|
-
switch (errorCode) {
|
|
1815
|
-
case "AccessDeniedException":
|
|
1816
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1817
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1818
|
-
case "ConflictException":
|
|
1819
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
1820
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1821
|
-
case "InternalServiceErrorException":
|
|
1822
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1823
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1824
|
-
case "ResourceNotFoundException":
|
|
1825
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1826
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1827
|
-
case "ThrottlingException":
|
|
1828
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1829
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1830
|
-
case "ValidationException":
|
|
1831
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1832
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1833
|
-
default:
|
|
1834
|
-
const parsedBody = parsedOutput.body;
|
|
1835
|
-
return throwDefaultError({
|
|
1836
|
-
output,
|
|
1837
|
-
parsedBody,
|
|
1838
|
-
errorCode
|
|
1839
|
-
});
|
|
1840
|
-
}
|
|
1841
|
-
}, "de_DeleteFirewallRuleGroupCommandError");
|
|
1842
1342
|
var de_DeleteOutpostResolverCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1843
1343
|
if (output.statusCode >= 300) {
|
|
1844
|
-
return
|
|
1344
|
+
return de_CommandError(output, context);
|
|
1845
1345
|
}
|
|
1846
1346
|
const data = await parseBody(output.body, context);
|
|
1847
1347
|
let contents = {};
|
|
@@ -1852,87 +1352,22 @@ var de_DeleteOutpostResolverCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1852
1352
|
};
|
|
1853
1353
|
return response;
|
|
1854
1354
|
}, "de_DeleteOutpostResolverCommand");
|
|
1855
|
-
var
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
case "ConflictException":
|
|
1866
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
1867
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1868
|
-
case "InternalServiceErrorException":
|
|
1869
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1870
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1871
|
-
case "ResourceNotFoundException":
|
|
1872
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1873
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1874
|
-
case "ThrottlingException":
|
|
1875
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1876
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1877
|
-
case "ValidationException":
|
|
1878
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
1879
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1880
|
-
default:
|
|
1881
|
-
const parsedBody = parsedOutput.body;
|
|
1882
|
-
return throwDefaultError({
|
|
1883
|
-
output,
|
|
1884
|
-
parsedBody,
|
|
1885
|
-
errorCode
|
|
1886
|
-
});
|
|
1887
|
-
}
|
|
1888
|
-
}, "de_DeleteOutpostResolverCommandError");
|
|
1889
|
-
var de_DeleteResolverEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1890
|
-
if (output.statusCode >= 300) {
|
|
1891
|
-
return de_DeleteResolverEndpointCommandError(output, context);
|
|
1892
|
-
}
|
|
1893
|
-
const data = await parseBody(output.body, context);
|
|
1894
|
-
let contents = {};
|
|
1895
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1896
|
-
const response = {
|
|
1897
|
-
$metadata: deserializeMetadata(output),
|
|
1898
|
-
...contents
|
|
1355
|
+
var de_DeleteResolverEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1356
|
+
if (output.statusCode >= 300) {
|
|
1357
|
+
return de_CommandError(output, context);
|
|
1358
|
+
}
|
|
1359
|
+
const data = await parseBody(output.body, context);
|
|
1360
|
+
let contents = {};
|
|
1361
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1362
|
+
const response = {
|
|
1363
|
+
$metadata: deserializeMetadata(output),
|
|
1364
|
+
...contents
|
|
1899
1365
|
};
|
|
1900
1366
|
return response;
|
|
1901
1367
|
}, "de_DeleteResolverEndpointCommand");
|
|
1902
|
-
var de_DeleteResolverEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1903
|
-
const parsedOutput = {
|
|
1904
|
-
...output,
|
|
1905
|
-
body: await parseErrorBody(output.body, context)
|
|
1906
|
-
};
|
|
1907
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1908
|
-
switch (errorCode) {
|
|
1909
|
-
case "InternalServiceErrorException":
|
|
1910
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1911
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1912
|
-
case "InvalidParameterException":
|
|
1913
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1914
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1915
|
-
case "InvalidRequestException":
|
|
1916
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1917
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1918
|
-
case "ResourceNotFoundException":
|
|
1919
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1920
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1921
|
-
case "ThrottlingException":
|
|
1922
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1923
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1924
|
-
default:
|
|
1925
|
-
const parsedBody = parsedOutput.body;
|
|
1926
|
-
return throwDefaultError({
|
|
1927
|
-
output,
|
|
1928
|
-
parsedBody,
|
|
1929
|
-
errorCode
|
|
1930
|
-
});
|
|
1931
|
-
}
|
|
1932
|
-
}, "de_DeleteResolverEndpointCommandError");
|
|
1933
1368
|
var de_DeleteResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1934
1369
|
if (output.statusCode >= 300) {
|
|
1935
|
-
return
|
|
1370
|
+
return de_CommandError(output, context);
|
|
1936
1371
|
}
|
|
1937
1372
|
const data = await parseBody(output.body, context);
|
|
1938
1373
|
let contents = {};
|
|
@@ -1943,43 +1378,9 @@ var de_DeleteResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1943
1378
|
};
|
|
1944
1379
|
return response;
|
|
1945
1380
|
}, "de_DeleteResolverQueryLogConfigCommand");
|
|
1946
|
-
var de_DeleteResolverQueryLogConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1947
|
-
const parsedOutput = {
|
|
1948
|
-
...output,
|
|
1949
|
-
body: await parseErrorBody(output.body, context)
|
|
1950
|
-
};
|
|
1951
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1952
|
-
switch (errorCode) {
|
|
1953
|
-
case "AccessDeniedException":
|
|
1954
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
1955
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1956
|
-
case "InternalServiceErrorException":
|
|
1957
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
1958
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1959
|
-
case "InvalidParameterException":
|
|
1960
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
1961
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1962
|
-
case "InvalidRequestException":
|
|
1963
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
1964
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1965
|
-
case "ResourceNotFoundException":
|
|
1966
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
1967
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1968
|
-
case "ThrottlingException":
|
|
1969
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
1970
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1971
|
-
default:
|
|
1972
|
-
const parsedBody = parsedOutput.body;
|
|
1973
|
-
return throwDefaultError({
|
|
1974
|
-
output,
|
|
1975
|
-
parsedBody,
|
|
1976
|
-
errorCode
|
|
1977
|
-
});
|
|
1978
|
-
}
|
|
1979
|
-
}, "de_DeleteResolverQueryLogConfigCommandError");
|
|
1980
1381
|
var de_DeleteResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1981
1382
|
if (output.statusCode >= 300) {
|
|
1982
|
-
return
|
|
1383
|
+
return de_CommandError(output, context);
|
|
1983
1384
|
}
|
|
1984
1385
|
const data = await parseBody(output.body, context);
|
|
1985
1386
|
let contents = {};
|
|
@@ -1990,40 +1391,9 @@ var de_DeleteResolverRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1990
1391
|
};
|
|
1991
1392
|
return response;
|
|
1992
1393
|
}, "de_DeleteResolverRuleCommand");
|
|
1993
|
-
var de_DeleteResolverRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1994
|
-
const parsedOutput = {
|
|
1995
|
-
...output,
|
|
1996
|
-
body: await parseErrorBody(output.body, context)
|
|
1997
|
-
};
|
|
1998
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1999
|
-
switch (errorCode) {
|
|
2000
|
-
case "InternalServiceErrorException":
|
|
2001
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2002
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2003
|
-
case "InvalidParameterException":
|
|
2004
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2005
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2006
|
-
case "ResourceInUseException":
|
|
2007
|
-
case "com.amazonaws.route53resolver#ResourceInUseException":
|
|
2008
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2009
|
-
case "ResourceNotFoundException":
|
|
2010
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2011
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2012
|
-
case "ThrottlingException":
|
|
2013
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2014
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2015
|
-
default:
|
|
2016
|
-
const parsedBody = parsedOutput.body;
|
|
2017
|
-
return throwDefaultError({
|
|
2018
|
-
output,
|
|
2019
|
-
parsedBody,
|
|
2020
|
-
errorCode
|
|
2021
|
-
});
|
|
2022
|
-
}
|
|
2023
|
-
}, "de_DeleteResolverRuleCommandError");
|
|
2024
1394
|
var de_DisassociateFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2025
1395
|
if (output.statusCode >= 300) {
|
|
2026
|
-
return
|
|
1396
|
+
return de_CommandError(output, context);
|
|
2027
1397
|
}
|
|
2028
1398
|
const data = await parseBody(output.body, context);
|
|
2029
1399
|
let contents = {};
|
|
@@ -2034,43 +1404,9 @@ var de_DisassociateFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2034
1404
|
};
|
|
2035
1405
|
return response;
|
|
2036
1406
|
}, "de_DisassociateFirewallRuleGroupCommand");
|
|
2037
|
-
var de_DisassociateFirewallRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2038
|
-
const parsedOutput = {
|
|
2039
|
-
...output,
|
|
2040
|
-
body: await parseErrorBody(output.body, context)
|
|
2041
|
-
};
|
|
2042
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2043
|
-
switch (errorCode) {
|
|
2044
|
-
case "AccessDeniedException":
|
|
2045
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2046
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2047
|
-
case "ConflictException":
|
|
2048
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
2049
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2050
|
-
case "InternalServiceErrorException":
|
|
2051
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2052
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2053
|
-
case "ResourceNotFoundException":
|
|
2054
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2055
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2056
|
-
case "ThrottlingException":
|
|
2057
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2058
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2059
|
-
case "ValidationException":
|
|
2060
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2061
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2062
|
-
default:
|
|
2063
|
-
const parsedBody = parsedOutput.body;
|
|
2064
|
-
return throwDefaultError({
|
|
2065
|
-
output,
|
|
2066
|
-
parsedBody,
|
|
2067
|
-
errorCode
|
|
2068
|
-
});
|
|
2069
|
-
}
|
|
2070
|
-
}, "de_DisassociateFirewallRuleGroupCommandError");
|
|
2071
1407
|
var de_DisassociateResolverEndpointIpAddressCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2072
1408
|
if (output.statusCode >= 300) {
|
|
2073
|
-
return
|
|
1409
|
+
return de_CommandError(output, context);
|
|
2074
1410
|
}
|
|
2075
1411
|
const data = await parseBody(output.body, context);
|
|
2076
1412
|
let contents = {};
|
|
@@ -2081,43 +1417,9 @@ var de_DisassociateResolverEndpointIpAddressCommand = /* @__PURE__ */ __name(asy
|
|
|
2081
1417
|
};
|
|
2082
1418
|
return response;
|
|
2083
1419
|
}, "de_DisassociateResolverEndpointIpAddressCommand");
|
|
2084
|
-
var de_DisassociateResolverEndpointIpAddressCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2085
|
-
const parsedOutput = {
|
|
2086
|
-
...output,
|
|
2087
|
-
body: await parseErrorBody(output.body, context)
|
|
2088
|
-
};
|
|
2089
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2090
|
-
switch (errorCode) {
|
|
2091
|
-
case "InternalServiceErrorException":
|
|
2092
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2093
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2094
|
-
case "InvalidParameterException":
|
|
2095
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2096
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2097
|
-
case "InvalidRequestException":
|
|
2098
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2099
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2100
|
-
case "ResourceExistsException":
|
|
2101
|
-
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
2102
|
-
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
2103
|
-
case "ResourceNotFoundException":
|
|
2104
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2105
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2106
|
-
case "ThrottlingException":
|
|
2107
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2108
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2109
|
-
default:
|
|
2110
|
-
const parsedBody = parsedOutput.body;
|
|
2111
|
-
return throwDefaultError({
|
|
2112
|
-
output,
|
|
2113
|
-
parsedBody,
|
|
2114
|
-
errorCode
|
|
2115
|
-
});
|
|
2116
|
-
}
|
|
2117
|
-
}, "de_DisassociateResolverEndpointIpAddressCommandError");
|
|
2118
1420
|
var de_DisassociateResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2119
1421
|
if (output.statusCode >= 300) {
|
|
2120
|
-
return
|
|
1422
|
+
return de_CommandError(output, context);
|
|
2121
1423
|
}
|
|
2122
1424
|
const data = await parseBody(output.body, context);
|
|
2123
1425
|
let contents = {};
|
|
@@ -2128,43 +1430,9 @@ var de_DisassociateResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async
|
|
|
2128
1430
|
};
|
|
2129
1431
|
return response;
|
|
2130
1432
|
}, "de_DisassociateResolverQueryLogConfigCommand");
|
|
2131
|
-
var de_DisassociateResolverQueryLogConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2132
|
-
const parsedOutput = {
|
|
2133
|
-
...output,
|
|
2134
|
-
body: await parseErrorBody(output.body, context)
|
|
2135
|
-
};
|
|
2136
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2137
|
-
switch (errorCode) {
|
|
2138
|
-
case "AccessDeniedException":
|
|
2139
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2140
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2141
|
-
case "InternalServiceErrorException":
|
|
2142
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2143
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2144
|
-
case "InvalidParameterException":
|
|
2145
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2146
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2147
|
-
case "InvalidRequestException":
|
|
2148
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2149
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2150
|
-
case "ResourceNotFoundException":
|
|
2151
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2152
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2153
|
-
case "ThrottlingException":
|
|
2154
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2155
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2156
|
-
default:
|
|
2157
|
-
const parsedBody = parsedOutput.body;
|
|
2158
|
-
return throwDefaultError({
|
|
2159
|
-
output,
|
|
2160
|
-
parsedBody,
|
|
2161
|
-
errorCode
|
|
2162
|
-
});
|
|
2163
|
-
}
|
|
2164
|
-
}, "de_DisassociateResolverQueryLogConfigCommandError");
|
|
2165
1433
|
var de_DisassociateResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2166
1434
|
if (output.statusCode >= 300) {
|
|
2167
|
-
return
|
|
1435
|
+
return de_CommandError(output, context);
|
|
2168
1436
|
}
|
|
2169
1437
|
const data = await parseBody(output.body, context);
|
|
2170
1438
|
let contents = {};
|
|
@@ -2175,37 +1443,9 @@ var de_DisassociateResolverRuleCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2175
1443
|
};
|
|
2176
1444
|
return response;
|
|
2177
1445
|
}, "de_DisassociateResolverRuleCommand");
|
|
2178
|
-
var de_DisassociateResolverRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2179
|
-
const parsedOutput = {
|
|
2180
|
-
...output,
|
|
2181
|
-
body: await parseErrorBody(output.body, context)
|
|
2182
|
-
};
|
|
2183
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2184
|
-
switch (errorCode) {
|
|
2185
|
-
case "InternalServiceErrorException":
|
|
2186
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2187
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2188
|
-
case "InvalidParameterException":
|
|
2189
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2190
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2191
|
-
case "ResourceNotFoundException":
|
|
2192
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2193
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2194
|
-
case "ThrottlingException":
|
|
2195
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2196
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2197
|
-
default:
|
|
2198
|
-
const parsedBody = parsedOutput.body;
|
|
2199
|
-
return throwDefaultError({
|
|
2200
|
-
output,
|
|
2201
|
-
parsedBody,
|
|
2202
|
-
errorCode
|
|
2203
|
-
});
|
|
2204
|
-
}
|
|
2205
|
-
}, "de_DisassociateResolverRuleCommandError");
|
|
2206
1446
|
var de_GetFirewallConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2207
1447
|
if (output.statusCode >= 300) {
|
|
2208
|
-
return
|
|
1448
|
+
return de_CommandError(output, context);
|
|
2209
1449
|
}
|
|
2210
1450
|
const data = await parseBody(output.body, context);
|
|
2211
1451
|
let contents = {};
|
|
@@ -2216,81 +1456,22 @@ var de_GetFirewallConfigCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2216
1456
|
};
|
|
2217
1457
|
return response;
|
|
2218
1458
|
}, "de_GetFirewallConfigCommand");
|
|
2219
|
-
var
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
case "InternalServiceErrorException":
|
|
2230
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2231
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2232
|
-
case "ResourceNotFoundException":
|
|
2233
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2234
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2235
|
-
case "ThrottlingException":
|
|
2236
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2237
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2238
|
-
case "ValidationException":
|
|
2239
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2240
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2241
|
-
default:
|
|
2242
|
-
const parsedBody = parsedOutput.body;
|
|
2243
|
-
return throwDefaultError({
|
|
2244
|
-
output,
|
|
2245
|
-
parsedBody,
|
|
2246
|
-
errorCode
|
|
2247
|
-
});
|
|
2248
|
-
}
|
|
2249
|
-
}, "de_GetFirewallConfigCommandError");
|
|
2250
|
-
var de_GetFirewallDomainListCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2251
|
-
if (output.statusCode >= 300) {
|
|
2252
|
-
return de_GetFirewallDomainListCommandError(output, context);
|
|
2253
|
-
}
|
|
2254
|
-
const data = await parseBody(output.body, context);
|
|
2255
|
-
let contents = {};
|
|
2256
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2257
|
-
const response = {
|
|
2258
|
-
$metadata: deserializeMetadata(output),
|
|
2259
|
-
...contents
|
|
1459
|
+
var de_GetFirewallDomainListCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1460
|
+
if (output.statusCode >= 300) {
|
|
1461
|
+
return de_CommandError(output, context);
|
|
1462
|
+
}
|
|
1463
|
+
const data = await parseBody(output.body, context);
|
|
1464
|
+
let contents = {};
|
|
1465
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1466
|
+
const response = {
|
|
1467
|
+
$metadata: deserializeMetadata(output),
|
|
1468
|
+
...contents
|
|
2260
1469
|
};
|
|
2261
1470
|
return response;
|
|
2262
1471
|
}, "de_GetFirewallDomainListCommand");
|
|
2263
|
-
var de_GetFirewallDomainListCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2264
|
-
const parsedOutput = {
|
|
2265
|
-
...output,
|
|
2266
|
-
body: await parseErrorBody(output.body, context)
|
|
2267
|
-
};
|
|
2268
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2269
|
-
switch (errorCode) {
|
|
2270
|
-
case "AccessDeniedException":
|
|
2271
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2272
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2273
|
-
case "InternalServiceErrorException":
|
|
2274
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2275
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2276
|
-
case "ResourceNotFoundException":
|
|
2277
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2278
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2279
|
-
case "ThrottlingException":
|
|
2280
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2281
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2282
|
-
default:
|
|
2283
|
-
const parsedBody = parsedOutput.body;
|
|
2284
|
-
return throwDefaultError({
|
|
2285
|
-
output,
|
|
2286
|
-
parsedBody,
|
|
2287
|
-
errorCode
|
|
2288
|
-
});
|
|
2289
|
-
}
|
|
2290
|
-
}, "de_GetFirewallDomainListCommandError");
|
|
2291
1472
|
var de_GetFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2292
1473
|
if (output.statusCode >= 300) {
|
|
2293
|
-
return
|
|
1474
|
+
return de_CommandError(output, context);
|
|
2294
1475
|
}
|
|
2295
1476
|
const data = await parseBody(output.body, context);
|
|
2296
1477
|
let contents = {};
|
|
@@ -2301,37 +1482,9 @@ var de_GetFirewallRuleGroupCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2301
1482
|
};
|
|
2302
1483
|
return response;
|
|
2303
1484
|
}, "de_GetFirewallRuleGroupCommand");
|
|
2304
|
-
var de_GetFirewallRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2305
|
-
const parsedOutput = {
|
|
2306
|
-
...output,
|
|
2307
|
-
body: await parseErrorBody(output.body, context)
|
|
2308
|
-
};
|
|
2309
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2310
|
-
switch (errorCode) {
|
|
2311
|
-
case "AccessDeniedException":
|
|
2312
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2313
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2314
|
-
case "InternalServiceErrorException":
|
|
2315
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2316
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2317
|
-
case "ResourceNotFoundException":
|
|
2318
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2319
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2320
|
-
case "ThrottlingException":
|
|
2321
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2322
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2323
|
-
default:
|
|
2324
|
-
const parsedBody = parsedOutput.body;
|
|
2325
|
-
return throwDefaultError({
|
|
2326
|
-
output,
|
|
2327
|
-
parsedBody,
|
|
2328
|
-
errorCode
|
|
2329
|
-
});
|
|
2330
|
-
}
|
|
2331
|
-
}, "de_GetFirewallRuleGroupCommandError");
|
|
2332
1485
|
var de_GetFirewallRuleGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2333
1486
|
if (output.statusCode >= 300) {
|
|
2334
|
-
return
|
|
1487
|
+
return de_CommandError(output, context);
|
|
2335
1488
|
}
|
|
2336
1489
|
const data = await parseBody(output.body, context);
|
|
2337
1490
|
let contents = {};
|
|
@@ -2342,37 +1495,9 @@ var de_GetFirewallRuleGroupAssociationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2342
1495
|
};
|
|
2343
1496
|
return response;
|
|
2344
1497
|
}, "de_GetFirewallRuleGroupAssociationCommand");
|
|
2345
|
-
var de_GetFirewallRuleGroupAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2346
|
-
const parsedOutput = {
|
|
2347
|
-
...output,
|
|
2348
|
-
body: await parseErrorBody(output.body, context)
|
|
2349
|
-
};
|
|
2350
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2351
|
-
switch (errorCode) {
|
|
2352
|
-
case "AccessDeniedException":
|
|
2353
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2354
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2355
|
-
case "InternalServiceErrorException":
|
|
2356
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2357
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2358
|
-
case "ResourceNotFoundException":
|
|
2359
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2360
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2361
|
-
case "ThrottlingException":
|
|
2362
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2363
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2364
|
-
default:
|
|
2365
|
-
const parsedBody = parsedOutput.body;
|
|
2366
|
-
return throwDefaultError({
|
|
2367
|
-
output,
|
|
2368
|
-
parsedBody,
|
|
2369
|
-
errorCode
|
|
2370
|
-
});
|
|
2371
|
-
}
|
|
2372
|
-
}, "de_GetFirewallRuleGroupAssociationCommandError");
|
|
2373
1498
|
var de_GetFirewallRuleGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2374
1499
|
if (output.statusCode >= 300) {
|
|
2375
|
-
return
|
|
1500
|
+
return de_CommandError(output, context);
|
|
2376
1501
|
}
|
|
2377
1502
|
const data = await parseBody(output.body, context);
|
|
2378
1503
|
let contents = {};
|
|
@@ -2383,40 +1508,9 @@ var de_GetFirewallRuleGroupPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2383
1508
|
};
|
|
2384
1509
|
return response;
|
|
2385
1510
|
}, "de_GetFirewallRuleGroupPolicyCommand");
|
|
2386
|
-
var de_GetFirewallRuleGroupPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2387
|
-
const parsedOutput = {
|
|
2388
|
-
...output,
|
|
2389
|
-
body: await parseErrorBody(output.body, context)
|
|
2390
|
-
};
|
|
2391
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2392
|
-
switch (errorCode) {
|
|
2393
|
-
case "AccessDeniedException":
|
|
2394
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2395
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2396
|
-
case "InternalServiceErrorException":
|
|
2397
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2398
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2399
|
-
case "ResourceNotFoundException":
|
|
2400
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2401
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2402
|
-
case "ThrottlingException":
|
|
2403
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2404
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2405
|
-
case "ValidationException":
|
|
2406
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2407
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2408
|
-
default:
|
|
2409
|
-
const parsedBody = parsedOutput.body;
|
|
2410
|
-
return throwDefaultError({
|
|
2411
|
-
output,
|
|
2412
|
-
parsedBody,
|
|
2413
|
-
errorCode
|
|
2414
|
-
});
|
|
2415
|
-
}
|
|
2416
|
-
}, "de_GetFirewallRuleGroupPolicyCommandError");
|
|
2417
1511
|
var de_GetOutpostResolverCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2418
1512
|
if (output.statusCode >= 300) {
|
|
2419
|
-
return
|
|
1513
|
+
return de_CommandError(output, context);
|
|
2420
1514
|
}
|
|
2421
1515
|
const data = await parseBody(output.body, context);
|
|
2422
1516
|
let contents = {};
|
|
@@ -2427,40 +1521,9 @@ var de_GetOutpostResolverCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2427
1521
|
};
|
|
2428
1522
|
return response;
|
|
2429
1523
|
}, "de_GetOutpostResolverCommand");
|
|
2430
|
-
var de_GetOutpostResolverCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2431
|
-
const parsedOutput = {
|
|
2432
|
-
...output,
|
|
2433
|
-
body: await parseErrorBody(output.body, context)
|
|
2434
|
-
};
|
|
2435
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2436
|
-
switch (errorCode) {
|
|
2437
|
-
case "AccessDeniedException":
|
|
2438
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2439
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2440
|
-
case "InternalServiceErrorException":
|
|
2441
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2442
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2443
|
-
case "ResourceNotFoundException":
|
|
2444
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2445
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2446
|
-
case "ThrottlingException":
|
|
2447
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2448
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2449
|
-
case "ValidationException":
|
|
2450
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2451
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2452
|
-
default:
|
|
2453
|
-
const parsedBody = parsedOutput.body;
|
|
2454
|
-
return throwDefaultError({
|
|
2455
|
-
output,
|
|
2456
|
-
parsedBody,
|
|
2457
|
-
errorCode
|
|
2458
|
-
});
|
|
2459
|
-
}
|
|
2460
|
-
}, "de_GetOutpostResolverCommandError");
|
|
2461
1524
|
var de_GetResolverConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2462
1525
|
if (output.statusCode >= 300) {
|
|
2463
|
-
return
|
|
1526
|
+
return de_CommandError(output, context);
|
|
2464
1527
|
}
|
|
2465
1528
|
const data = await parseBody(output.body, context);
|
|
2466
1529
|
let contents = {};
|
|
@@ -2471,43 +1534,9 @@ var de_GetResolverConfigCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2471
1534
|
};
|
|
2472
1535
|
return response;
|
|
2473
1536
|
}, "de_GetResolverConfigCommand");
|
|
2474
|
-
var de_GetResolverConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2475
|
-
const parsedOutput = {
|
|
2476
|
-
...output,
|
|
2477
|
-
body: await parseErrorBody(output.body, context)
|
|
2478
|
-
};
|
|
2479
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2480
|
-
switch (errorCode) {
|
|
2481
|
-
case "AccessDeniedException":
|
|
2482
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2483
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2484
|
-
case "InternalServiceErrorException":
|
|
2485
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2486
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2487
|
-
case "InvalidParameterException":
|
|
2488
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2489
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2490
|
-
case "ResourceNotFoundException":
|
|
2491
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2492
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2493
|
-
case "ThrottlingException":
|
|
2494
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2495
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2496
|
-
case "ValidationException":
|
|
2497
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2498
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2499
|
-
default:
|
|
2500
|
-
const parsedBody = parsedOutput.body;
|
|
2501
|
-
return throwDefaultError({
|
|
2502
|
-
output,
|
|
2503
|
-
parsedBody,
|
|
2504
|
-
errorCode
|
|
2505
|
-
});
|
|
2506
|
-
}
|
|
2507
|
-
}, "de_GetResolverConfigCommandError");
|
|
2508
1537
|
var de_GetResolverDnssecConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2509
1538
|
if (output.statusCode >= 300) {
|
|
2510
|
-
return
|
|
1539
|
+
return de_CommandError(output, context);
|
|
2511
1540
|
}
|
|
2512
1541
|
const data = await parseBody(output.body, context);
|
|
2513
1542
|
let contents = {};
|
|
@@ -2518,43 +1547,9 @@ var de_GetResolverDnssecConfigCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2518
1547
|
};
|
|
2519
1548
|
return response;
|
|
2520
1549
|
}, "de_GetResolverDnssecConfigCommand");
|
|
2521
|
-
var de_GetResolverDnssecConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2522
|
-
const parsedOutput = {
|
|
2523
|
-
...output,
|
|
2524
|
-
body: await parseErrorBody(output.body, context)
|
|
2525
|
-
};
|
|
2526
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2527
|
-
switch (errorCode) {
|
|
2528
|
-
case "AccessDeniedException":
|
|
2529
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2530
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2531
|
-
case "InternalServiceErrorException":
|
|
2532
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2533
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2534
|
-
case "InvalidParameterException":
|
|
2535
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2536
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2537
|
-
case "InvalidRequestException":
|
|
2538
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2539
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2540
|
-
case "ResourceNotFoundException":
|
|
2541
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2542
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2543
|
-
case "ThrottlingException":
|
|
2544
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2545
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2546
|
-
default:
|
|
2547
|
-
const parsedBody = parsedOutput.body;
|
|
2548
|
-
return throwDefaultError({
|
|
2549
|
-
output,
|
|
2550
|
-
parsedBody,
|
|
2551
|
-
errorCode
|
|
2552
|
-
});
|
|
2553
|
-
}
|
|
2554
|
-
}, "de_GetResolverDnssecConfigCommandError");
|
|
2555
1550
|
var de_GetResolverEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2556
1551
|
if (output.statusCode >= 300) {
|
|
2557
|
-
return
|
|
1552
|
+
return de_CommandError(output, context);
|
|
2558
1553
|
}
|
|
2559
1554
|
const data = await parseBody(output.body, context);
|
|
2560
1555
|
let contents = {};
|
|
@@ -2565,84 +1560,22 @@ var de_GetResolverEndpointCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2565
1560
|
};
|
|
2566
1561
|
return response;
|
|
2567
1562
|
}, "de_GetResolverEndpointCommand");
|
|
2568
|
-
var
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
case "InvalidParameterException":
|
|
2579
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2580
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2581
|
-
case "ResourceNotFoundException":
|
|
2582
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2583
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2584
|
-
case "ThrottlingException":
|
|
2585
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2586
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2587
|
-
default:
|
|
2588
|
-
const parsedBody = parsedOutput.body;
|
|
2589
|
-
return throwDefaultError({
|
|
2590
|
-
output,
|
|
2591
|
-
parsedBody,
|
|
2592
|
-
errorCode
|
|
2593
|
-
});
|
|
2594
|
-
}
|
|
2595
|
-
}, "de_GetResolverEndpointCommandError");
|
|
2596
|
-
var de_GetResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2597
|
-
if (output.statusCode >= 300) {
|
|
2598
|
-
return de_GetResolverQueryLogConfigCommandError(output, context);
|
|
2599
|
-
}
|
|
2600
|
-
const data = await parseBody(output.body, context);
|
|
2601
|
-
let contents = {};
|
|
2602
|
-
contents = (0, import_smithy_client._json)(data);
|
|
2603
|
-
const response = {
|
|
2604
|
-
$metadata: deserializeMetadata(output),
|
|
2605
|
-
...contents
|
|
1563
|
+
var de_GetResolverQueryLogConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1564
|
+
if (output.statusCode >= 300) {
|
|
1565
|
+
return de_CommandError(output, context);
|
|
1566
|
+
}
|
|
1567
|
+
const data = await parseBody(output.body, context);
|
|
1568
|
+
let contents = {};
|
|
1569
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1570
|
+
const response = {
|
|
1571
|
+
$metadata: deserializeMetadata(output),
|
|
1572
|
+
...contents
|
|
2606
1573
|
};
|
|
2607
1574
|
return response;
|
|
2608
1575
|
}, "de_GetResolverQueryLogConfigCommand");
|
|
2609
|
-
var de_GetResolverQueryLogConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2610
|
-
const parsedOutput = {
|
|
2611
|
-
...output,
|
|
2612
|
-
body: await parseErrorBody(output.body, context)
|
|
2613
|
-
};
|
|
2614
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2615
|
-
switch (errorCode) {
|
|
2616
|
-
case "AccessDeniedException":
|
|
2617
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2618
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2619
|
-
case "InternalServiceErrorException":
|
|
2620
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2621
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2622
|
-
case "InvalidParameterException":
|
|
2623
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2624
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2625
|
-
case "InvalidRequestException":
|
|
2626
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2627
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2628
|
-
case "ResourceNotFoundException":
|
|
2629
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2630
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2631
|
-
case "ThrottlingException":
|
|
2632
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2633
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2634
|
-
default:
|
|
2635
|
-
const parsedBody = parsedOutput.body;
|
|
2636
|
-
return throwDefaultError({
|
|
2637
|
-
output,
|
|
2638
|
-
parsedBody,
|
|
2639
|
-
errorCode
|
|
2640
|
-
});
|
|
2641
|
-
}
|
|
2642
|
-
}, "de_GetResolverQueryLogConfigCommandError");
|
|
2643
1576
|
var de_GetResolverQueryLogConfigAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2644
1577
|
if (output.statusCode >= 300) {
|
|
2645
|
-
return
|
|
1578
|
+
return de_CommandError(output, context);
|
|
2646
1579
|
}
|
|
2647
1580
|
const data = await parseBody(output.body, context);
|
|
2648
1581
|
let contents = {};
|
|
@@ -2653,43 +1586,9 @@ var de_GetResolverQueryLogConfigAssociationCommand = /* @__PURE__ */ __name(asyn
|
|
|
2653
1586
|
};
|
|
2654
1587
|
return response;
|
|
2655
1588
|
}, "de_GetResolverQueryLogConfigAssociationCommand");
|
|
2656
|
-
var de_GetResolverQueryLogConfigAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2657
|
-
const parsedOutput = {
|
|
2658
|
-
...output,
|
|
2659
|
-
body: await parseErrorBody(output.body, context)
|
|
2660
|
-
};
|
|
2661
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2662
|
-
switch (errorCode) {
|
|
2663
|
-
case "AccessDeniedException":
|
|
2664
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2665
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2666
|
-
case "InternalServiceErrorException":
|
|
2667
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2668
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "InvalidParameterException":
|
|
2670
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2671
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2672
|
-
case "InvalidRequestException":
|
|
2673
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2674
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2675
|
-
case "ResourceNotFoundException":
|
|
2676
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2677
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2678
|
-
case "ThrottlingException":
|
|
2679
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2680
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2681
|
-
default:
|
|
2682
|
-
const parsedBody = parsedOutput.body;
|
|
2683
|
-
return throwDefaultError({
|
|
2684
|
-
output,
|
|
2685
|
-
parsedBody,
|
|
2686
|
-
errorCode
|
|
2687
|
-
});
|
|
2688
|
-
}
|
|
2689
|
-
}, "de_GetResolverQueryLogConfigAssociationCommandError");
|
|
2690
1589
|
var de_GetResolverQueryLogConfigPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2691
1590
|
if (output.statusCode >= 300) {
|
|
2692
|
-
return
|
|
1591
|
+
return de_CommandError(output, context);
|
|
2693
1592
|
}
|
|
2694
1593
|
const data = await parseBody(output.body, context);
|
|
2695
1594
|
let contents = {};
|
|
@@ -2700,40 +1599,9 @@ var de_GetResolverQueryLogConfigPolicyCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2700
1599
|
};
|
|
2701
1600
|
return response;
|
|
2702
1601
|
}, "de_GetResolverQueryLogConfigPolicyCommand");
|
|
2703
|
-
var de_GetResolverQueryLogConfigPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2704
|
-
const parsedOutput = {
|
|
2705
|
-
...output,
|
|
2706
|
-
body: await parseErrorBody(output.body, context)
|
|
2707
|
-
};
|
|
2708
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2709
|
-
switch (errorCode) {
|
|
2710
|
-
case "AccessDeniedException":
|
|
2711
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2712
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2713
|
-
case "InternalServiceErrorException":
|
|
2714
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2715
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2716
|
-
case "InvalidParameterException":
|
|
2717
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2718
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2719
|
-
case "InvalidRequestException":
|
|
2720
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2721
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2722
|
-
case "UnknownResourceException":
|
|
2723
|
-
case "com.amazonaws.route53resolver#UnknownResourceException":
|
|
2724
|
-
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2725
|
-
default:
|
|
2726
|
-
const parsedBody = parsedOutput.body;
|
|
2727
|
-
return throwDefaultError({
|
|
2728
|
-
output,
|
|
2729
|
-
parsedBody,
|
|
2730
|
-
errorCode
|
|
2731
|
-
});
|
|
2732
|
-
}
|
|
2733
|
-
}, "de_GetResolverQueryLogConfigPolicyCommandError");
|
|
2734
1602
|
var de_GetResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2735
1603
|
if (output.statusCode >= 300) {
|
|
2736
|
-
return
|
|
1604
|
+
return de_CommandError(output, context);
|
|
2737
1605
|
}
|
|
2738
1606
|
const data = await parseBody(output.body, context);
|
|
2739
1607
|
let contents = {};
|
|
@@ -2744,37 +1612,9 @@ var de_GetResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2744
1612
|
};
|
|
2745
1613
|
return response;
|
|
2746
1614
|
}, "de_GetResolverRuleCommand");
|
|
2747
|
-
var de_GetResolverRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2748
|
-
const parsedOutput = {
|
|
2749
|
-
...output,
|
|
2750
|
-
body: await parseErrorBody(output.body, context)
|
|
2751
|
-
};
|
|
2752
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2753
|
-
switch (errorCode) {
|
|
2754
|
-
case "InternalServiceErrorException":
|
|
2755
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2756
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2757
|
-
case "InvalidParameterException":
|
|
2758
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2759
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2760
|
-
case "ResourceNotFoundException":
|
|
2761
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2762
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2763
|
-
case "ThrottlingException":
|
|
2764
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2765
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2766
|
-
default:
|
|
2767
|
-
const parsedBody = parsedOutput.body;
|
|
2768
|
-
return throwDefaultError({
|
|
2769
|
-
output,
|
|
2770
|
-
parsedBody,
|
|
2771
|
-
errorCode
|
|
2772
|
-
});
|
|
2773
|
-
}
|
|
2774
|
-
}, "de_GetResolverRuleCommandError");
|
|
2775
1615
|
var de_GetResolverRuleAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2776
1616
|
if (output.statusCode >= 300) {
|
|
2777
|
-
return
|
|
1617
|
+
return de_CommandError(output, context);
|
|
2778
1618
|
}
|
|
2779
1619
|
const data = await parseBody(output.body, context);
|
|
2780
1620
|
let contents = {};
|
|
@@ -2785,37 +1625,9 @@ var de_GetResolverRuleAssociationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2785
1625
|
};
|
|
2786
1626
|
return response;
|
|
2787
1627
|
}, "de_GetResolverRuleAssociationCommand");
|
|
2788
|
-
var de_GetResolverRuleAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2789
|
-
const parsedOutput = {
|
|
2790
|
-
...output,
|
|
2791
|
-
body: await parseErrorBody(output.body, context)
|
|
2792
|
-
};
|
|
2793
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2794
|
-
switch (errorCode) {
|
|
2795
|
-
case "InternalServiceErrorException":
|
|
2796
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2797
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2798
|
-
case "InvalidParameterException":
|
|
2799
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2800
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2801
|
-
case "ResourceNotFoundException":
|
|
2802
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2803
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2804
|
-
case "ThrottlingException":
|
|
2805
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2806
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2807
|
-
default:
|
|
2808
|
-
const parsedBody = parsedOutput.body;
|
|
2809
|
-
return throwDefaultError({
|
|
2810
|
-
output,
|
|
2811
|
-
parsedBody,
|
|
2812
|
-
errorCode
|
|
2813
|
-
});
|
|
2814
|
-
}
|
|
2815
|
-
}, "de_GetResolverRuleAssociationCommandError");
|
|
2816
1628
|
var de_GetResolverRulePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2817
1629
|
if (output.statusCode >= 300) {
|
|
2818
|
-
return
|
|
1630
|
+
return de_CommandError(output, context);
|
|
2819
1631
|
}
|
|
2820
1632
|
const data = await parseBody(output.body, context);
|
|
2821
1633
|
let contents = {};
|
|
@@ -2826,37 +1638,9 @@ var de_GetResolverRulePolicyCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2826
1638
|
};
|
|
2827
1639
|
return response;
|
|
2828
1640
|
}, "de_GetResolverRulePolicyCommand");
|
|
2829
|
-
var de_GetResolverRulePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2830
|
-
const parsedOutput = {
|
|
2831
|
-
...output,
|
|
2832
|
-
body: await parseErrorBody(output.body, context)
|
|
2833
|
-
};
|
|
2834
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2835
|
-
switch (errorCode) {
|
|
2836
|
-
case "AccessDeniedException":
|
|
2837
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2838
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2839
|
-
case "InternalServiceErrorException":
|
|
2840
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2841
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2842
|
-
case "InvalidParameterException":
|
|
2843
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2844
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2845
|
-
case "UnknownResourceException":
|
|
2846
|
-
case "com.amazonaws.route53resolver#UnknownResourceException":
|
|
2847
|
-
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2848
|
-
default:
|
|
2849
|
-
const parsedBody = parsedOutput.body;
|
|
2850
|
-
return throwDefaultError({
|
|
2851
|
-
output,
|
|
2852
|
-
parsedBody,
|
|
2853
|
-
errorCode
|
|
2854
|
-
});
|
|
2855
|
-
}
|
|
2856
|
-
}, "de_GetResolverRulePolicyCommandError");
|
|
2857
1641
|
var de_ImportFirewallDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2858
1642
|
if (output.statusCode >= 300) {
|
|
2859
|
-
return
|
|
1643
|
+
return de_CommandError(output, context);
|
|
2860
1644
|
}
|
|
2861
1645
|
const data = await parseBody(output.body, context);
|
|
2862
1646
|
let contents = {};
|
|
@@ -2867,46 +1651,9 @@ var de_ImportFirewallDomainsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2867
1651
|
};
|
|
2868
1652
|
return response;
|
|
2869
1653
|
}, "de_ImportFirewallDomainsCommand");
|
|
2870
|
-
var de_ImportFirewallDomainsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2871
|
-
const parsedOutput = {
|
|
2872
|
-
...output,
|
|
2873
|
-
body: await parseErrorBody(output.body, context)
|
|
2874
|
-
};
|
|
2875
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2876
|
-
switch (errorCode) {
|
|
2877
|
-
case "AccessDeniedException":
|
|
2878
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2879
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2880
|
-
case "ConflictException":
|
|
2881
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
2882
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2883
|
-
case "InternalServiceErrorException":
|
|
2884
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2885
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2886
|
-
case "LimitExceededException":
|
|
2887
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
2888
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2889
|
-
case "ResourceNotFoundException":
|
|
2890
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
2891
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2892
|
-
case "ThrottlingException":
|
|
2893
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2894
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2895
|
-
case "ValidationException":
|
|
2896
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2897
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2898
|
-
default:
|
|
2899
|
-
const parsedBody = parsedOutput.body;
|
|
2900
|
-
return throwDefaultError({
|
|
2901
|
-
output,
|
|
2902
|
-
parsedBody,
|
|
2903
|
-
errorCode
|
|
2904
|
-
});
|
|
2905
|
-
}
|
|
2906
|
-
}, "de_ImportFirewallDomainsCommandError");
|
|
2907
1654
|
var de_ListFirewallConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2908
1655
|
if (output.statusCode >= 300) {
|
|
2909
|
-
return
|
|
1656
|
+
return de_CommandError(output, context);
|
|
2910
1657
|
}
|
|
2911
1658
|
const data = await parseBody(output.body, context);
|
|
2912
1659
|
let contents = {};
|
|
@@ -2917,37 +1664,9 @@ var de_ListFirewallConfigsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2917
1664
|
};
|
|
2918
1665
|
return response;
|
|
2919
1666
|
}, "de_ListFirewallConfigsCommand");
|
|
2920
|
-
var de_ListFirewallConfigsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2921
|
-
const parsedOutput = {
|
|
2922
|
-
...output,
|
|
2923
|
-
body: await parseErrorBody(output.body, context)
|
|
2924
|
-
};
|
|
2925
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2926
|
-
switch (errorCode) {
|
|
2927
|
-
case "AccessDeniedException":
|
|
2928
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2929
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2930
|
-
case "InternalServiceErrorException":
|
|
2931
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2932
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2933
|
-
case "ThrottlingException":
|
|
2934
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2935
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2936
|
-
case "ValidationException":
|
|
2937
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2938
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2939
|
-
default:
|
|
2940
|
-
const parsedBody = parsedOutput.body;
|
|
2941
|
-
return throwDefaultError({
|
|
2942
|
-
output,
|
|
2943
|
-
parsedBody,
|
|
2944
|
-
errorCode
|
|
2945
|
-
});
|
|
2946
|
-
}
|
|
2947
|
-
}, "de_ListFirewallConfigsCommandError");
|
|
2948
1667
|
var de_ListFirewallDomainListsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2949
1668
|
if (output.statusCode >= 300) {
|
|
2950
|
-
return
|
|
1669
|
+
return de_CommandError(output, context);
|
|
2951
1670
|
}
|
|
2952
1671
|
const data = await parseBody(output.body, context);
|
|
2953
1672
|
let contents = {};
|
|
@@ -2958,37 +1677,9 @@ var de_ListFirewallDomainListsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2958
1677
|
};
|
|
2959
1678
|
return response;
|
|
2960
1679
|
}, "de_ListFirewallDomainListsCommand");
|
|
2961
|
-
var de_ListFirewallDomainListsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2962
|
-
const parsedOutput = {
|
|
2963
|
-
...output,
|
|
2964
|
-
body: await parseErrorBody(output.body, context)
|
|
2965
|
-
};
|
|
2966
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2967
|
-
switch (errorCode) {
|
|
2968
|
-
case "AccessDeniedException":
|
|
2969
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
2970
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2971
|
-
case "InternalServiceErrorException":
|
|
2972
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
2973
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2974
|
-
case "ThrottlingException":
|
|
2975
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
2976
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2977
|
-
case "ValidationException":
|
|
2978
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
2979
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2980
|
-
default:
|
|
2981
|
-
const parsedBody = parsedOutput.body;
|
|
2982
|
-
return throwDefaultError({
|
|
2983
|
-
output,
|
|
2984
|
-
parsedBody,
|
|
2985
|
-
errorCode
|
|
2986
|
-
});
|
|
2987
|
-
}
|
|
2988
|
-
}, "de_ListFirewallDomainListsCommandError");
|
|
2989
1680
|
var de_ListFirewallDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2990
1681
|
if (output.statusCode >= 300) {
|
|
2991
|
-
return
|
|
1682
|
+
return de_CommandError(output, context);
|
|
2992
1683
|
}
|
|
2993
1684
|
const data = await parseBody(output.body, context);
|
|
2994
1685
|
let contents = {};
|
|
@@ -2999,40 +1690,9 @@ var de_ListFirewallDomainsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2999
1690
|
};
|
|
3000
1691
|
return response;
|
|
3001
1692
|
}, "de_ListFirewallDomainsCommand");
|
|
3002
|
-
var de_ListFirewallDomainsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3003
|
-
const parsedOutput = {
|
|
3004
|
-
...output,
|
|
3005
|
-
body: await parseErrorBody(output.body, context)
|
|
3006
|
-
};
|
|
3007
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3008
|
-
switch (errorCode) {
|
|
3009
|
-
case "AccessDeniedException":
|
|
3010
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3011
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3012
|
-
case "InternalServiceErrorException":
|
|
3013
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3014
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3015
|
-
case "ResourceNotFoundException":
|
|
3016
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3017
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3018
|
-
case "ThrottlingException":
|
|
3019
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3020
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3021
|
-
case "ValidationException":
|
|
3022
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3023
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3024
|
-
default:
|
|
3025
|
-
const parsedBody = parsedOutput.body;
|
|
3026
|
-
return throwDefaultError({
|
|
3027
|
-
output,
|
|
3028
|
-
parsedBody,
|
|
3029
|
-
errorCode
|
|
3030
|
-
});
|
|
3031
|
-
}
|
|
3032
|
-
}, "de_ListFirewallDomainsCommandError");
|
|
3033
1693
|
var de_ListFirewallRuleGroupAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3034
1694
|
if (output.statusCode >= 300) {
|
|
3035
|
-
return
|
|
1695
|
+
return de_CommandError(output, context);
|
|
3036
1696
|
}
|
|
3037
1697
|
const data = await parseBody(output.body, context);
|
|
3038
1698
|
let contents = {};
|
|
@@ -3043,37 +1703,9 @@ var de_ListFirewallRuleGroupAssociationsCommand = /* @__PURE__ */ __name(async (
|
|
|
3043
1703
|
};
|
|
3044
1704
|
return response;
|
|
3045
1705
|
}, "de_ListFirewallRuleGroupAssociationsCommand");
|
|
3046
|
-
var de_ListFirewallRuleGroupAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3047
|
-
const parsedOutput = {
|
|
3048
|
-
...output,
|
|
3049
|
-
body: await parseErrorBody(output.body, context)
|
|
3050
|
-
};
|
|
3051
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3052
|
-
switch (errorCode) {
|
|
3053
|
-
case "AccessDeniedException":
|
|
3054
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3055
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3056
|
-
case "InternalServiceErrorException":
|
|
3057
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3058
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3059
|
-
case "ThrottlingException":
|
|
3060
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3061
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3062
|
-
case "ValidationException":
|
|
3063
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3064
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3065
|
-
default:
|
|
3066
|
-
const parsedBody = parsedOutput.body;
|
|
3067
|
-
return throwDefaultError({
|
|
3068
|
-
output,
|
|
3069
|
-
parsedBody,
|
|
3070
|
-
errorCode
|
|
3071
|
-
});
|
|
3072
|
-
}
|
|
3073
|
-
}, "de_ListFirewallRuleGroupAssociationsCommandError");
|
|
3074
1706
|
var de_ListFirewallRuleGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3075
1707
|
if (output.statusCode >= 300) {
|
|
3076
|
-
return
|
|
1708
|
+
return de_CommandError(output, context);
|
|
3077
1709
|
}
|
|
3078
1710
|
const data = await parseBody(output.body, context);
|
|
3079
1711
|
let contents = {};
|
|
@@ -3084,37 +1716,9 @@ var de_ListFirewallRuleGroupsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3084
1716
|
};
|
|
3085
1717
|
return response;
|
|
3086
1718
|
}, "de_ListFirewallRuleGroupsCommand");
|
|
3087
|
-
var de_ListFirewallRuleGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3088
|
-
const parsedOutput = {
|
|
3089
|
-
...output,
|
|
3090
|
-
body: await parseErrorBody(output.body, context)
|
|
3091
|
-
};
|
|
3092
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3093
|
-
switch (errorCode) {
|
|
3094
|
-
case "AccessDeniedException":
|
|
3095
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3096
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3097
|
-
case "InternalServiceErrorException":
|
|
3098
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3099
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3100
|
-
case "ThrottlingException":
|
|
3101
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3102
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3103
|
-
case "ValidationException":
|
|
3104
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3105
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3106
|
-
default:
|
|
3107
|
-
const parsedBody = parsedOutput.body;
|
|
3108
|
-
return throwDefaultError({
|
|
3109
|
-
output,
|
|
3110
|
-
parsedBody,
|
|
3111
|
-
errorCode
|
|
3112
|
-
});
|
|
3113
|
-
}
|
|
3114
|
-
}, "de_ListFirewallRuleGroupsCommandError");
|
|
3115
1719
|
var de_ListFirewallRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3116
1720
|
if (output.statusCode >= 300) {
|
|
3117
|
-
return
|
|
1721
|
+
return de_CommandError(output, context);
|
|
3118
1722
|
}
|
|
3119
1723
|
const data = await parseBody(output.body, context);
|
|
3120
1724
|
let contents = {};
|
|
@@ -3125,40 +1729,9 @@ var de_ListFirewallRulesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3125
1729
|
};
|
|
3126
1730
|
return response;
|
|
3127
1731
|
}, "de_ListFirewallRulesCommand");
|
|
3128
|
-
var de_ListFirewallRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3129
|
-
const parsedOutput = {
|
|
3130
|
-
...output,
|
|
3131
|
-
body: await parseErrorBody(output.body, context)
|
|
3132
|
-
};
|
|
3133
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3134
|
-
switch (errorCode) {
|
|
3135
|
-
case "AccessDeniedException":
|
|
3136
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3137
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3138
|
-
case "InternalServiceErrorException":
|
|
3139
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3140
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3141
|
-
case "ResourceNotFoundException":
|
|
3142
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3143
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3144
|
-
case "ThrottlingException":
|
|
3145
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3146
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3147
|
-
case "ValidationException":
|
|
3148
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3149
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3150
|
-
default:
|
|
3151
|
-
const parsedBody = parsedOutput.body;
|
|
3152
|
-
return throwDefaultError({
|
|
3153
|
-
output,
|
|
3154
|
-
parsedBody,
|
|
3155
|
-
errorCode
|
|
3156
|
-
});
|
|
3157
|
-
}
|
|
3158
|
-
}, "de_ListFirewallRulesCommandError");
|
|
3159
1732
|
var de_ListOutpostResolversCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3160
1733
|
if (output.statusCode >= 300) {
|
|
3161
|
-
return
|
|
1734
|
+
return de_CommandError(output, context);
|
|
3162
1735
|
}
|
|
3163
1736
|
const data = await parseBody(output.body, context);
|
|
3164
1737
|
let contents = {};
|
|
@@ -3169,40 +1742,9 @@ var de_ListOutpostResolversCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3169
1742
|
};
|
|
3170
1743
|
return response;
|
|
3171
1744
|
}, "de_ListOutpostResolversCommand");
|
|
3172
|
-
var de_ListOutpostResolversCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3173
|
-
const parsedOutput = {
|
|
3174
|
-
...output,
|
|
3175
|
-
body: await parseErrorBody(output.body, context)
|
|
3176
|
-
};
|
|
3177
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3178
|
-
switch (errorCode) {
|
|
3179
|
-
case "AccessDeniedException":
|
|
3180
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3181
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3182
|
-
case "InternalServiceErrorException":
|
|
3183
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3184
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3185
|
-
case "ResourceNotFoundException":
|
|
3186
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3187
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3188
|
-
case "ThrottlingException":
|
|
3189
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3190
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3191
|
-
case "ValidationException":
|
|
3192
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3193
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3194
|
-
default:
|
|
3195
|
-
const parsedBody = parsedOutput.body;
|
|
3196
|
-
return throwDefaultError({
|
|
3197
|
-
output,
|
|
3198
|
-
parsedBody,
|
|
3199
|
-
errorCode
|
|
3200
|
-
});
|
|
3201
|
-
}
|
|
3202
|
-
}, "de_ListOutpostResolversCommandError");
|
|
3203
1745
|
var de_ListResolverConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3204
1746
|
if (output.statusCode >= 300) {
|
|
3205
|
-
return
|
|
1747
|
+
return de_CommandError(output, context);
|
|
3206
1748
|
}
|
|
3207
1749
|
const data = await parseBody(output.body, context);
|
|
3208
1750
|
let contents = {};
|
|
@@ -3213,46 +1755,9 @@ var de_ListResolverConfigsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3213
1755
|
};
|
|
3214
1756
|
return response;
|
|
3215
1757
|
}, "de_ListResolverConfigsCommand");
|
|
3216
|
-
var de_ListResolverConfigsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3217
|
-
const parsedOutput = {
|
|
3218
|
-
...output,
|
|
3219
|
-
body: await parseErrorBody(output.body, context)
|
|
3220
|
-
};
|
|
3221
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3222
|
-
switch (errorCode) {
|
|
3223
|
-
case "AccessDeniedException":
|
|
3224
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3225
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3226
|
-
case "InternalServiceErrorException":
|
|
3227
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3228
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3229
|
-
case "InvalidNextTokenException":
|
|
3230
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3231
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3232
|
-
case "InvalidParameterException":
|
|
3233
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3234
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3235
|
-
case "InvalidRequestException":
|
|
3236
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3237
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3238
|
-
case "ThrottlingException":
|
|
3239
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3240
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3241
|
-
case "ValidationException":
|
|
3242
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3243
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3244
|
-
default:
|
|
3245
|
-
const parsedBody = parsedOutput.body;
|
|
3246
|
-
return throwDefaultError({
|
|
3247
|
-
output,
|
|
3248
|
-
parsedBody,
|
|
3249
|
-
errorCode
|
|
3250
|
-
});
|
|
3251
|
-
}
|
|
3252
|
-
}, "de_ListResolverConfigsCommandError");
|
|
3253
1758
|
var de_ListResolverDnssecConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3254
1759
|
if (output.statusCode >= 300) {
|
|
3255
|
-
return
|
|
1760
|
+
return de_CommandError(output, context);
|
|
3256
1761
|
}
|
|
3257
1762
|
const data = await parseBody(output.body, context);
|
|
3258
1763
|
let contents = {};
|
|
@@ -3263,43 +1768,9 @@ var de_ListResolverDnssecConfigsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3263
1768
|
};
|
|
3264
1769
|
return response;
|
|
3265
1770
|
}, "de_ListResolverDnssecConfigsCommand");
|
|
3266
|
-
var de_ListResolverDnssecConfigsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3267
|
-
const parsedOutput = {
|
|
3268
|
-
...output,
|
|
3269
|
-
body: await parseErrorBody(output.body, context)
|
|
3270
|
-
};
|
|
3271
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3272
|
-
switch (errorCode) {
|
|
3273
|
-
case "AccessDeniedException":
|
|
3274
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3275
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3276
|
-
case "InternalServiceErrorException":
|
|
3277
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3278
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3279
|
-
case "InvalidNextTokenException":
|
|
3280
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3281
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3282
|
-
case "InvalidParameterException":
|
|
3283
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3284
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3285
|
-
case "InvalidRequestException":
|
|
3286
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3287
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3288
|
-
case "ThrottlingException":
|
|
3289
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3290
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3291
|
-
default:
|
|
3292
|
-
const parsedBody = parsedOutput.body;
|
|
3293
|
-
return throwDefaultError({
|
|
3294
|
-
output,
|
|
3295
|
-
parsedBody,
|
|
3296
|
-
errorCode
|
|
3297
|
-
});
|
|
3298
|
-
}
|
|
3299
|
-
}, "de_ListResolverDnssecConfigsCommandError");
|
|
3300
1771
|
var de_ListResolverEndpointIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3301
1772
|
if (output.statusCode >= 300) {
|
|
3302
|
-
return
|
|
1773
|
+
return de_CommandError(output, context);
|
|
3303
1774
|
}
|
|
3304
1775
|
const data = await parseBody(output.body, context);
|
|
3305
1776
|
let contents = {};
|
|
@@ -3310,40 +1781,9 @@ var de_ListResolverEndpointIpAddressesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3310
1781
|
};
|
|
3311
1782
|
return response;
|
|
3312
1783
|
}, "de_ListResolverEndpointIpAddressesCommand");
|
|
3313
|
-
var de_ListResolverEndpointIpAddressesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3314
|
-
const parsedOutput = {
|
|
3315
|
-
...output,
|
|
3316
|
-
body: await parseErrorBody(output.body, context)
|
|
3317
|
-
};
|
|
3318
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3319
|
-
switch (errorCode) {
|
|
3320
|
-
case "InternalServiceErrorException":
|
|
3321
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3322
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3323
|
-
case "InvalidNextTokenException":
|
|
3324
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3325
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3326
|
-
case "InvalidParameterException":
|
|
3327
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3328
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3329
|
-
case "ResourceNotFoundException":
|
|
3330
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3331
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3332
|
-
case "ThrottlingException":
|
|
3333
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3334
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3335
|
-
default:
|
|
3336
|
-
const parsedBody = parsedOutput.body;
|
|
3337
|
-
return throwDefaultError({
|
|
3338
|
-
output,
|
|
3339
|
-
parsedBody,
|
|
3340
|
-
errorCode
|
|
3341
|
-
});
|
|
3342
|
-
}
|
|
3343
|
-
}, "de_ListResolverEndpointIpAddressesCommandError");
|
|
3344
1784
|
var de_ListResolverEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3345
1785
|
if (output.statusCode >= 300) {
|
|
3346
|
-
return
|
|
1786
|
+
return de_CommandError(output, context);
|
|
3347
1787
|
}
|
|
3348
1788
|
const data = await parseBody(output.body, context);
|
|
3349
1789
|
let contents = {};
|
|
@@ -3354,40 +1794,9 @@ var de_ListResolverEndpointsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3354
1794
|
};
|
|
3355
1795
|
return response;
|
|
3356
1796
|
}, "de_ListResolverEndpointsCommand");
|
|
3357
|
-
var de_ListResolverEndpointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3358
|
-
const parsedOutput = {
|
|
3359
|
-
...output,
|
|
3360
|
-
body: await parseErrorBody(output.body, context)
|
|
3361
|
-
};
|
|
3362
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3363
|
-
switch (errorCode) {
|
|
3364
|
-
case "InternalServiceErrorException":
|
|
3365
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3366
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3367
|
-
case "InvalidNextTokenException":
|
|
3368
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3369
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3370
|
-
case "InvalidParameterException":
|
|
3371
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3372
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3373
|
-
case "InvalidRequestException":
|
|
3374
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3375
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3376
|
-
case "ThrottlingException":
|
|
3377
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3378
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3379
|
-
default:
|
|
3380
|
-
const parsedBody = parsedOutput.body;
|
|
3381
|
-
return throwDefaultError({
|
|
3382
|
-
output,
|
|
3383
|
-
parsedBody,
|
|
3384
|
-
errorCode
|
|
3385
|
-
});
|
|
3386
|
-
}
|
|
3387
|
-
}, "de_ListResolverEndpointsCommandError");
|
|
3388
1797
|
var de_ListResolverQueryLogConfigAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3389
1798
|
if (output.statusCode >= 300) {
|
|
3390
|
-
return
|
|
1799
|
+
return de_CommandError(output, context);
|
|
3391
1800
|
}
|
|
3392
1801
|
const data = await parseBody(output.body, context);
|
|
3393
1802
|
let contents = {};
|
|
@@ -3398,43 +1807,9 @@ var de_ListResolverQueryLogConfigAssociationsCommand = /* @__PURE__ */ __name(as
|
|
|
3398
1807
|
};
|
|
3399
1808
|
return response;
|
|
3400
1809
|
}, "de_ListResolverQueryLogConfigAssociationsCommand");
|
|
3401
|
-
var de_ListResolverQueryLogConfigAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3402
|
-
const parsedOutput = {
|
|
3403
|
-
...output,
|
|
3404
|
-
body: await parseErrorBody(output.body, context)
|
|
3405
|
-
};
|
|
3406
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3407
|
-
switch (errorCode) {
|
|
3408
|
-
case "AccessDeniedException":
|
|
3409
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3410
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3411
|
-
case "InternalServiceErrorException":
|
|
3412
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3413
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3414
|
-
case "InvalidParameterException":
|
|
3415
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3416
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3417
|
-
case "InvalidRequestException":
|
|
3418
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3419
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3420
|
-
case "LimitExceededException":
|
|
3421
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
3422
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3423
|
-
case "ThrottlingException":
|
|
3424
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3425
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3426
|
-
default:
|
|
3427
|
-
const parsedBody = parsedOutput.body;
|
|
3428
|
-
return throwDefaultError({
|
|
3429
|
-
output,
|
|
3430
|
-
parsedBody,
|
|
3431
|
-
errorCode
|
|
3432
|
-
});
|
|
3433
|
-
}
|
|
3434
|
-
}, "de_ListResolverQueryLogConfigAssociationsCommandError");
|
|
3435
1810
|
var de_ListResolverQueryLogConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3436
1811
|
if (output.statusCode >= 300) {
|
|
3437
|
-
return
|
|
1812
|
+
return de_CommandError(output, context);
|
|
3438
1813
|
}
|
|
3439
1814
|
const data = await parseBody(output.body, context);
|
|
3440
1815
|
let contents = {};
|
|
@@ -3445,178 +1820,48 @@ var de_ListResolverQueryLogConfigsCommand = /* @__PURE__ */ __name(async (output
|
|
|
3445
1820
|
};
|
|
3446
1821
|
return response;
|
|
3447
1822
|
}, "de_ListResolverQueryLogConfigsCommand");
|
|
3448
|
-
var de_ListResolverQueryLogConfigsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3449
|
-
const parsedOutput = {
|
|
3450
|
-
...output,
|
|
3451
|
-
body: await parseErrorBody(output.body, context)
|
|
3452
|
-
};
|
|
3453
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3454
|
-
switch (errorCode) {
|
|
3455
|
-
case "AccessDeniedException":
|
|
3456
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3457
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3458
|
-
case "InternalServiceErrorException":
|
|
3459
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3460
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3461
|
-
case "InvalidNextTokenException":
|
|
3462
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3463
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3464
|
-
case "InvalidParameterException":
|
|
3465
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3466
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3467
|
-
case "InvalidRequestException":
|
|
3468
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3469
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3470
|
-
case "ThrottlingException":
|
|
3471
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3472
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3473
|
-
default:
|
|
3474
|
-
const parsedBody = parsedOutput.body;
|
|
3475
|
-
return throwDefaultError({
|
|
3476
|
-
output,
|
|
3477
|
-
parsedBody,
|
|
3478
|
-
errorCode
|
|
3479
|
-
});
|
|
3480
|
-
}
|
|
3481
|
-
}, "de_ListResolverQueryLogConfigsCommandError");
|
|
3482
1823
|
var de_ListResolverRuleAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3483
1824
|
if (output.statusCode >= 300) {
|
|
3484
|
-
return
|
|
1825
|
+
return de_CommandError(output, context);
|
|
3485
1826
|
}
|
|
3486
1827
|
const data = await parseBody(output.body, context);
|
|
3487
|
-
let contents = {};
|
|
3488
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3489
|
-
const response = {
|
|
3490
|
-
$metadata: deserializeMetadata(output),
|
|
3491
|
-
...contents
|
|
3492
|
-
};
|
|
3493
|
-
return response;
|
|
3494
|
-
}, "de_ListResolverRuleAssociationsCommand");
|
|
3495
|
-
var
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
case "InvalidRequestException":
|
|
3512
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3513
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3514
|
-
case "ThrottlingException":
|
|
3515
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3516
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3517
|
-
default:
|
|
3518
|
-
const parsedBody = parsedOutput.body;
|
|
3519
|
-
return throwDefaultError({
|
|
3520
|
-
output,
|
|
3521
|
-
parsedBody,
|
|
3522
|
-
errorCode
|
|
3523
|
-
});
|
|
3524
|
-
}
|
|
3525
|
-
}, "de_ListResolverRuleAssociationsCommandError");
|
|
3526
|
-
var de_ListResolverRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3527
|
-
if (output.statusCode >= 300) {
|
|
3528
|
-
return de_ListResolverRulesCommandError(output, context);
|
|
3529
|
-
}
|
|
3530
|
-
const data = await parseBody(output.body, context);
|
|
3531
|
-
let contents = {};
|
|
3532
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3533
|
-
const response = {
|
|
3534
|
-
$metadata: deserializeMetadata(output),
|
|
3535
|
-
...contents
|
|
3536
|
-
};
|
|
3537
|
-
return response;
|
|
3538
|
-
}, "de_ListResolverRulesCommand");
|
|
3539
|
-
var de_ListResolverRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3540
|
-
const parsedOutput = {
|
|
3541
|
-
...output,
|
|
3542
|
-
body: await parseErrorBody(output.body, context)
|
|
3543
|
-
};
|
|
3544
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3545
|
-
switch (errorCode) {
|
|
3546
|
-
case "InternalServiceErrorException":
|
|
3547
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3548
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3549
|
-
case "InvalidNextTokenException":
|
|
3550
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3551
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3552
|
-
case "InvalidParameterException":
|
|
3553
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3554
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3555
|
-
case "InvalidRequestException":
|
|
3556
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3557
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3558
|
-
case "ThrottlingException":
|
|
3559
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3560
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3561
|
-
default:
|
|
3562
|
-
const parsedBody = parsedOutput.body;
|
|
3563
|
-
return throwDefaultError({
|
|
3564
|
-
output,
|
|
3565
|
-
parsedBody,
|
|
3566
|
-
errorCode
|
|
3567
|
-
});
|
|
3568
|
-
}
|
|
3569
|
-
}, "de_ListResolverRulesCommandError");
|
|
3570
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3571
|
-
if (output.statusCode >= 300) {
|
|
3572
|
-
return de_ListTagsForResourceCommandError(output, context);
|
|
3573
|
-
}
|
|
3574
|
-
const data = await parseBody(output.body, context);
|
|
3575
|
-
let contents = {};
|
|
3576
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3577
|
-
const response = {
|
|
3578
|
-
$metadata: deserializeMetadata(output),
|
|
3579
|
-
...contents
|
|
3580
|
-
};
|
|
3581
|
-
return response;
|
|
3582
|
-
}, "de_ListTagsForResourceCommand");
|
|
3583
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3584
|
-
const parsedOutput = {
|
|
3585
|
-
...output,
|
|
3586
|
-
body: await parseErrorBody(output.body, context)
|
|
3587
|
-
};
|
|
3588
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3589
|
-
switch (errorCode) {
|
|
3590
|
-
case "InternalServiceErrorException":
|
|
3591
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3592
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3593
|
-
case "InvalidNextTokenException":
|
|
3594
|
-
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
3595
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
3596
|
-
case "InvalidParameterException":
|
|
3597
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3598
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3599
|
-
case "InvalidRequestException":
|
|
3600
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3601
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3602
|
-
case "ResourceNotFoundException":
|
|
3603
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3604
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3605
|
-
case "ThrottlingException":
|
|
3606
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3607
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3608
|
-
default:
|
|
3609
|
-
const parsedBody = parsedOutput.body;
|
|
3610
|
-
return throwDefaultError({
|
|
3611
|
-
output,
|
|
3612
|
-
parsedBody,
|
|
3613
|
-
errorCode
|
|
3614
|
-
});
|
|
1828
|
+
let contents = {};
|
|
1829
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1830
|
+
const response = {
|
|
1831
|
+
$metadata: deserializeMetadata(output),
|
|
1832
|
+
...contents
|
|
1833
|
+
};
|
|
1834
|
+
return response;
|
|
1835
|
+
}, "de_ListResolverRuleAssociationsCommand");
|
|
1836
|
+
var de_ListResolverRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1837
|
+
if (output.statusCode >= 300) {
|
|
1838
|
+
return de_CommandError(output, context);
|
|
1839
|
+
}
|
|
1840
|
+
const data = await parseBody(output.body, context);
|
|
1841
|
+
let contents = {};
|
|
1842
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1843
|
+
const response = {
|
|
1844
|
+
$metadata: deserializeMetadata(output),
|
|
1845
|
+
...contents
|
|
1846
|
+
};
|
|
1847
|
+
return response;
|
|
1848
|
+
}, "de_ListResolverRulesCommand");
|
|
1849
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1850
|
+
if (output.statusCode >= 300) {
|
|
1851
|
+
return de_CommandError(output, context);
|
|
3615
1852
|
}
|
|
3616
|
-
|
|
1853
|
+
const data = await parseBody(output.body, context);
|
|
1854
|
+
let contents = {};
|
|
1855
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1856
|
+
const response = {
|
|
1857
|
+
$metadata: deserializeMetadata(output),
|
|
1858
|
+
...contents
|
|
1859
|
+
};
|
|
1860
|
+
return response;
|
|
1861
|
+
}, "de_ListTagsForResourceCommand");
|
|
3617
1862
|
var de_PutFirewallRuleGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3618
1863
|
if (output.statusCode >= 300) {
|
|
3619
|
-
return
|
|
1864
|
+
return de_CommandError(output, context);
|
|
3620
1865
|
}
|
|
3621
1866
|
const data = await parseBody(output.body, context);
|
|
3622
1867
|
let contents = {};
|
|
@@ -3627,40 +1872,9 @@ var de_PutFirewallRuleGroupPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3627
1872
|
};
|
|
3628
1873
|
return response;
|
|
3629
1874
|
}, "de_PutFirewallRuleGroupPolicyCommand");
|
|
3630
|
-
var de_PutFirewallRuleGroupPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3631
|
-
const parsedOutput = {
|
|
3632
|
-
...output,
|
|
3633
|
-
body: await parseErrorBody(output.body, context)
|
|
3634
|
-
};
|
|
3635
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3636
|
-
switch (errorCode) {
|
|
3637
|
-
case "AccessDeniedException":
|
|
3638
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3639
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3640
|
-
case "InternalServiceErrorException":
|
|
3641
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3642
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3643
|
-
case "ResourceNotFoundException":
|
|
3644
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3645
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3646
|
-
case "ThrottlingException":
|
|
3647
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3648
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3649
|
-
case "ValidationException":
|
|
3650
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3651
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3652
|
-
default:
|
|
3653
|
-
const parsedBody = parsedOutput.body;
|
|
3654
|
-
return throwDefaultError({
|
|
3655
|
-
output,
|
|
3656
|
-
parsedBody,
|
|
3657
|
-
errorCode
|
|
3658
|
-
});
|
|
3659
|
-
}
|
|
3660
|
-
}, "de_PutFirewallRuleGroupPolicyCommandError");
|
|
3661
1875
|
var de_PutResolverQueryLogConfigPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3662
1876
|
if (output.statusCode >= 300) {
|
|
3663
|
-
return
|
|
1877
|
+
return de_CommandError(output, context);
|
|
3664
1878
|
}
|
|
3665
1879
|
const data = await parseBody(output.body, context);
|
|
3666
1880
|
let contents = {};
|
|
@@ -3671,43 +1885,9 @@ var de_PutResolverQueryLogConfigPolicyCommand = /* @__PURE__ */ __name(async (ou
|
|
|
3671
1885
|
};
|
|
3672
1886
|
return response;
|
|
3673
1887
|
}, "de_PutResolverQueryLogConfigPolicyCommand");
|
|
3674
|
-
var de_PutResolverQueryLogConfigPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3675
|
-
const parsedOutput = {
|
|
3676
|
-
...output,
|
|
3677
|
-
body: await parseErrorBody(output.body, context)
|
|
3678
|
-
};
|
|
3679
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3680
|
-
switch (errorCode) {
|
|
3681
|
-
case "AccessDeniedException":
|
|
3682
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3683
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3684
|
-
case "InternalServiceErrorException":
|
|
3685
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3686
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3687
|
-
case "InvalidParameterException":
|
|
3688
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3689
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3690
|
-
case "InvalidPolicyDocument":
|
|
3691
|
-
case "com.amazonaws.route53resolver#InvalidPolicyDocument":
|
|
3692
|
-
throw await de_InvalidPolicyDocumentRes(parsedOutput, context);
|
|
3693
|
-
case "InvalidRequestException":
|
|
3694
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3695
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3696
|
-
case "UnknownResourceException":
|
|
3697
|
-
case "com.amazonaws.route53resolver#UnknownResourceException":
|
|
3698
|
-
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
3699
|
-
default:
|
|
3700
|
-
const parsedBody = parsedOutput.body;
|
|
3701
|
-
return throwDefaultError({
|
|
3702
|
-
output,
|
|
3703
|
-
parsedBody,
|
|
3704
|
-
errorCode
|
|
3705
|
-
});
|
|
3706
|
-
}
|
|
3707
|
-
}, "de_PutResolverQueryLogConfigPolicyCommandError");
|
|
3708
1888
|
var de_PutResolverRulePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3709
1889
|
if (output.statusCode >= 300) {
|
|
3710
|
-
return
|
|
1890
|
+
return de_CommandError(output, context);
|
|
3711
1891
|
}
|
|
3712
1892
|
const data = await parseBody(output.body, context);
|
|
3713
1893
|
let contents = {};
|
|
@@ -3718,40 +1898,9 @@ var de_PutResolverRulePolicyCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3718
1898
|
};
|
|
3719
1899
|
return response;
|
|
3720
1900
|
}, "de_PutResolverRulePolicyCommand");
|
|
3721
|
-
var de_PutResolverRulePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3722
|
-
const parsedOutput = {
|
|
3723
|
-
...output,
|
|
3724
|
-
body: await parseErrorBody(output.body, context)
|
|
3725
|
-
};
|
|
3726
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3727
|
-
switch (errorCode) {
|
|
3728
|
-
case "AccessDeniedException":
|
|
3729
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3730
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3731
|
-
case "InternalServiceErrorException":
|
|
3732
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3733
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3734
|
-
case "InvalidParameterException":
|
|
3735
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3736
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3737
|
-
case "InvalidPolicyDocument":
|
|
3738
|
-
case "com.amazonaws.route53resolver#InvalidPolicyDocument":
|
|
3739
|
-
throw await de_InvalidPolicyDocumentRes(parsedOutput, context);
|
|
3740
|
-
case "UnknownResourceException":
|
|
3741
|
-
case "com.amazonaws.route53resolver#UnknownResourceException":
|
|
3742
|
-
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
3743
|
-
default:
|
|
3744
|
-
const parsedBody = parsedOutput.body;
|
|
3745
|
-
return throwDefaultError({
|
|
3746
|
-
output,
|
|
3747
|
-
parsedBody,
|
|
3748
|
-
errorCode
|
|
3749
|
-
});
|
|
3750
|
-
}
|
|
3751
|
-
}, "de_PutResolverRulePolicyCommandError");
|
|
3752
1901
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3753
1902
|
if (output.statusCode >= 300) {
|
|
3754
|
-
return
|
|
1903
|
+
return de_CommandError(output, context);
|
|
3755
1904
|
}
|
|
3756
1905
|
const data = await parseBody(output.body, context);
|
|
3757
1906
|
let contents = {};
|
|
@@ -3762,46 +1911,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3762
1911
|
};
|
|
3763
1912
|
return response;
|
|
3764
1913
|
}, "de_TagResourceCommand");
|
|
3765
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3766
|
-
const parsedOutput = {
|
|
3767
|
-
...output,
|
|
3768
|
-
body: await parseErrorBody(output.body, context)
|
|
3769
|
-
};
|
|
3770
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3771
|
-
switch (errorCode) {
|
|
3772
|
-
case "InternalServiceErrorException":
|
|
3773
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3774
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3775
|
-
case "InvalidParameterException":
|
|
3776
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3777
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3778
|
-
case "InvalidRequestException":
|
|
3779
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3780
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3781
|
-
case "InvalidTagException":
|
|
3782
|
-
case "com.amazonaws.route53resolver#InvalidTagException":
|
|
3783
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
3784
|
-
case "LimitExceededException":
|
|
3785
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
3786
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3787
|
-
case "ResourceNotFoundException":
|
|
3788
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3789
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3790
|
-
case "ThrottlingException":
|
|
3791
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3792
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3793
|
-
default:
|
|
3794
|
-
const parsedBody = parsedOutput.body;
|
|
3795
|
-
return throwDefaultError({
|
|
3796
|
-
output,
|
|
3797
|
-
parsedBody,
|
|
3798
|
-
errorCode
|
|
3799
|
-
});
|
|
3800
|
-
}
|
|
3801
|
-
}, "de_TagResourceCommandError");
|
|
3802
1914
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3803
1915
|
if (output.statusCode >= 300) {
|
|
3804
|
-
return
|
|
1916
|
+
return de_CommandError(output, context);
|
|
3805
1917
|
}
|
|
3806
1918
|
const data = await parseBody(output.body, context);
|
|
3807
1919
|
let contents = {};
|
|
@@ -3812,40 +1924,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3812
1924
|
};
|
|
3813
1925
|
return response;
|
|
3814
1926
|
}, "de_UntagResourceCommand");
|
|
3815
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3816
|
-
const parsedOutput = {
|
|
3817
|
-
...output,
|
|
3818
|
-
body: await parseErrorBody(output.body, context)
|
|
3819
|
-
};
|
|
3820
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3821
|
-
switch (errorCode) {
|
|
3822
|
-
case "InternalServiceErrorException":
|
|
3823
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3824
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3825
|
-
case "InvalidParameterException":
|
|
3826
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
3827
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
3828
|
-
case "InvalidRequestException":
|
|
3829
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
3830
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
3831
|
-
case "ResourceNotFoundException":
|
|
3832
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3833
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3834
|
-
case "ThrottlingException":
|
|
3835
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3836
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3837
|
-
default:
|
|
3838
|
-
const parsedBody = parsedOutput.body;
|
|
3839
|
-
return throwDefaultError({
|
|
3840
|
-
output,
|
|
3841
|
-
parsedBody,
|
|
3842
|
-
errorCode
|
|
3843
|
-
});
|
|
3844
|
-
}
|
|
3845
|
-
}, "de_UntagResourceCommandError");
|
|
3846
1927
|
var de_UpdateFirewallConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3847
1928
|
if (output.statusCode >= 300) {
|
|
3848
|
-
return
|
|
1929
|
+
return de_CommandError(output, context);
|
|
3849
1930
|
}
|
|
3850
1931
|
const data = await parseBody(output.body, context);
|
|
3851
1932
|
let contents = {};
|
|
@@ -3856,90 +1937,22 @@ var de_UpdateFirewallConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3856
1937
|
};
|
|
3857
1938
|
return response;
|
|
3858
1939
|
}, "de_UpdateFirewallConfigCommand");
|
|
3859
|
-
var de_UpdateFirewallConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3860
|
-
const parsedOutput = {
|
|
3861
|
-
...output,
|
|
3862
|
-
body: await parseErrorBody(output.body, context)
|
|
3863
|
-
};
|
|
3864
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3865
|
-
switch (errorCode) {
|
|
3866
|
-
case "AccessDeniedException":
|
|
3867
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3868
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3869
|
-
case "InternalServiceErrorException":
|
|
3870
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3871
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3872
|
-
case "ResourceNotFoundException":
|
|
3873
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3874
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3875
|
-
case "ThrottlingException":
|
|
3876
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3877
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3878
|
-
case "ValidationException":
|
|
3879
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3880
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3881
|
-
default:
|
|
3882
|
-
const parsedBody = parsedOutput.body;
|
|
3883
|
-
return throwDefaultError({
|
|
3884
|
-
output,
|
|
3885
|
-
parsedBody,
|
|
3886
|
-
errorCode
|
|
3887
|
-
});
|
|
3888
|
-
}
|
|
3889
|
-
}, "de_UpdateFirewallConfigCommandError");
|
|
3890
1940
|
var de_UpdateFirewallDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3891
1941
|
if (output.statusCode >= 300) {
|
|
3892
|
-
return
|
|
1942
|
+
return de_CommandError(output, context);
|
|
3893
1943
|
}
|
|
3894
1944
|
const data = await parseBody(output.body, context);
|
|
3895
1945
|
let contents = {};
|
|
3896
|
-
contents = (0, import_smithy_client._json)(data);
|
|
3897
|
-
const response = {
|
|
3898
|
-
$metadata: deserializeMetadata(output),
|
|
3899
|
-
...contents
|
|
3900
|
-
};
|
|
3901
|
-
return response;
|
|
3902
|
-
}, "de_UpdateFirewallDomainsCommand");
|
|
3903
|
-
var de_UpdateFirewallDomainsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3904
|
-
const parsedOutput = {
|
|
3905
|
-
...output,
|
|
3906
|
-
body: await parseErrorBody(output.body, context)
|
|
3907
|
-
};
|
|
3908
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3909
|
-
switch (errorCode) {
|
|
3910
|
-
case "AccessDeniedException":
|
|
3911
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3912
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3913
|
-
case "ConflictException":
|
|
3914
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
3915
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3916
|
-
case "InternalServiceErrorException":
|
|
3917
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3918
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3919
|
-
case "LimitExceededException":
|
|
3920
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
3921
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
3922
|
-
case "ResourceNotFoundException":
|
|
3923
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3924
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3925
|
-
case "ThrottlingException":
|
|
3926
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3927
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3928
|
-
case "ValidationException":
|
|
3929
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3930
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3931
|
-
default:
|
|
3932
|
-
const parsedBody = parsedOutput.body;
|
|
3933
|
-
return throwDefaultError({
|
|
3934
|
-
output,
|
|
3935
|
-
parsedBody,
|
|
3936
|
-
errorCode
|
|
3937
|
-
});
|
|
3938
|
-
}
|
|
3939
|
-
}, "de_UpdateFirewallDomainsCommandError");
|
|
1946
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1947
|
+
const response = {
|
|
1948
|
+
$metadata: deserializeMetadata(output),
|
|
1949
|
+
...contents
|
|
1950
|
+
};
|
|
1951
|
+
return response;
|
|
1952
|
+
}, "de_UpdateFirewallDomainsCommand");
|
|
3940
1953
|
var de_UpdateFirewallRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3941
1954
|
if (output.statusCode >= 300) {
|
|
3942
|
-
return
|
|
1955
|
+
return de_CommandError(output, context);
|
|
3943
1956
|
}
|
|
3944
1957
|
const data = await parseBody(output.body, context);
|
|
3945
1958
|
let contents = {};
|
|
@@ -3950,43 +1963,9 @@ var de_UpdateFirewallRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3950
1963
|
};
|
|
3951
1964
|
return response;
|
|
3952
1965
|
}, "de_UpdateFirewallRuleCommand");
|
|
3953
|
-
var de_UpdateFirewallRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3954
|
-
const parsedOutput = {
|
|
3955
|
-
...output,
|
|
3956
|
-
body: await parseErrorBody(output.body, context)
|
|
3957
|
-
};
|
|
3958
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3959
|
-
switch (errorCode) {
|
|
3960
|
-
case "AccessDeniedException":
|
|
3961
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
3962
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3963
|
-
case "ConflictException":
|
|
3964
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
3965
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3966
|
-
case "InternalServiceErrorException":
|
|
3967
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
3968
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
3969
|
-
case "ResourceNotFoundException":
|
|
3970
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
3971
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3972
|
-
case "ThrottlingException":
|
|
3973
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
3974
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3975
|
-
case "ValidationException":
|
|
3976
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
3977
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3978
|
-
default:
|
|
3979
|
-
const parsedBody = parsedOutput.body;
|
|
3980
|
-
return throwDefaultError({
|
|
3981
|
-
output,
|
|
3982
|
-
parsedBody,
|
|
3983
|
-
errorCode
|
|
3984
|
-
});
|
|
3985
|
-
}
|
|
3986
|
-
}, "de_UpdateFirewallRuleCommandError");
|
|
3987
1966
|
var de_UpdateFirewallRuleGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3988
1967
|
if (output.statusCode >= 300) {
|
|
3989
|
-
return
|
|
1968
|
+
return de_CommandError(output, context);
|
|
3990
1969
|
}
|
|
3991
1970
|
const data = await parseBody(output.body, context);
|
|
3992
1971
|
let contents = {};
|
|
@@ -3997,43 +1976,9 @@ var de_UpdateFirewallRuleGroupAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
3997
1976
|
};
|
|
3998
1977
|
return response;
|
|
3999
1978
|
}, "de_UpdateFirewallRuleGroupAssociationCommand");
|
|
4000
|
-
var de_UpdateFirewallRuleGroupAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4001
|
-
const parsedOutput = {
|
|
4002
|
-
...output,
|
|
4003
|
-
body: await parseErrorBody(output.body, context)
|
|
4004
|
-
};
|
|
4005
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4006
|
-
switch (errorCode) {
|
|
4007
|
-
case "AccessDeniedException":
|
|
4008
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
4009
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4010
|
-
case "ConflictException":
|
|
4011
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
4012
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4013
|
-
case "InternalServiceErrorException":
|
|
4014
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
4015
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
4016
|
-
case "ResourceNotFoundException":
|
|
4017
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
4018
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4019
|
-
case "ThrottlingException":
|
|
4020
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
4021
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4022
|
-
case "ValidationException":
|
|
4023
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
4024
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4025
|
-
default:
|
|
4026
|
-
const parsedBody = parsedOutput.body;
|
|
4027
|
-
return throwDefaultError({
|
|
4028
|
-
output,
|
|
4029
|
-
parsedBody,
|
|
4030
|
-
errorCode
|
|
4031
|
-
});
|
|
4032
|
-
}
|
|
4033
|
-
}, "de_UpdateFirewallRuleGroupAssociationCommandError");
|
|
4034
1979
|
var de_UpdateOutpostResolverCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4035
1980
|
if (output.statusCode >= 300) {
|
|
4036
|
-
return
|
|
1981
|
+
return de_CommandError(output, context);
|
|
4037
1982
|
}
|
|
4038
1983
|
const data = await parseBody(output.body, context);
|
|
4039
1984
|
let contents = {};
|
|
@@ -4044,46 +1989,9 @@ var de_UpdateOutpostResolverCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
4044
1989
|
};
|
|
4045
1990
|
return response;
|
|
4046
1991
|
}, "de_UpdateOutpostResolverCommand");
|
|
4047
|
-
var de_UpdateOutpostResolverCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4048
|
-
const parsedOutput = {
|
|
4049
|
-
...output,
|
|
4050
|
-
body: await parseErrorBody(output.body, context)
|
|
4051
|
-
};
|
|
4052
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4053
|
-
switch (errorCode) {
|
|
4054
|
-
case "AccessDeniedException":
|
|
4055
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
4056
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4057
|
-
case "ConflictException":
|
|
4058
|
-
case "com.amazonaws.route53resolver#ConflictException":
|
|
4059
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4060
|
-
case "InternalServiceErrorException":
|
|
4061
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
4062
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
4063
|
-
case "ResourceNotFoundException":
|
|
4064
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
4065
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4066
|
-
case "ServiceQuotaExceededException":
|
|
4067
|
-
case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
|
|
4068
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
4069
|
-
case "ThrottlingException":
|
|
4070
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
4071
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4072
|
-
case "ValidationException":
|
|
4073
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
4074
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4075
|
-
default:
|
|
4076
|
-
const parsedBody = parsedOutput.body;
|
|
4077
|
-
return throwDefaultError({
|
|
4078
|
-
output,
|
|
4079
|
-
parsedBody,
|
|
4080
|
-
errorCode
|
|
4081
|
-
});
|
|
4082
|
-
}
|
|
4083
|
-
}, "de_UpdateOutpostResolverCommandError");
|
|
4084
1992
|
var de_UpdateResolverConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4085
1993
|
if (output.statusCode >= 300) {
|
|
4086
|
-
return
|
|
1994
|
+
return de_CommandError(output, context);
|
|
4087
1995
|
}
|
|
4088
1996
|
const data = await parseBody(output.body, context);
|
|
4089
1997
|
let contents = {};
|
|
@@ -4094,52 +2002,9 @@ var de_UpdateResolverConfigCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4094
2002
|
};
|
|
4095
2003
|
return response;
|
|
4096
2004
|
}, "de_UpdateResolverConfigCommand");
|
|
4097
|
-
var de_UpdateResolverConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4098
|
-
const parsedOutput = {
|
|
4099
|
-
...output,
|
|
4100
|
-
body: await parseErrorBody(output.body, context)
|
|
4101
|
-
};
|
|
4102
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4103
|
-
switch (errorCode) {
|
|
4104
|
-
case "AccessDeniedException":
|
|
4105
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
4106
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4107
|
-
case "InternalServiceErrorException":
|
|
4108
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
4109
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
4110
|
-
case "InvalidParameterException":
|
|
4111
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
4112
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4113
|
-
case "InvalidRequestException":
|
|
4114
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
4115
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4116
|
-
case "LimitExceededException":
|
|
4117
|
-
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
4118
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4119
|
-
case "ResourceNotFoundException":
|
|
4120
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
4121
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4122
|
-
case "ResourceUnavailableException":
|
|
4123
|
-
case "com.amazonaws.route53resolver#ResourceUnavailableException":
|
|
4124
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
4125
|
-
case "ThrottlingException":
|
|
4126
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
4127
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4128
|
-
case "ValidationException":
|
|
4129
|
-
case "com.amazonaws.route53resolver#ValidationException":
|
|
4130
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4131
|
-
default:
|
|
4132
|
-
const parsedBody = parsedOutput.body;
|
|
4133
|
-
return throwDefaultError({
|
|
4134
|
-
output,
|
|
4135
|
-
parsedBody,
|
|
4136
|
-
errorCode
|
|
4137
|
-
});
|
|
4138
|
-
}
|
|
4139
|
-
}, "de_UpdateResolverConfigCommandError");
|
|
4140
2005
|
var de_UpdateResolverDnssecConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4141
2006
|
if (output.statusCode >= 300) {
|
|
4142
|
-
return
|
|
2007
|
+
return de_CommandError(output, context);
|
|
4143
2008
|
}
|
|
4144
2009
|
const data = await parseBody(output.body, context);
|
|
4145
2010
|
let contents = {};
|
|
@@ -4150,43 +2015,9 @@ var de_UpdateResolverDnssecConfigCommand = /* @__PURE__ */ __name(async (output,
|
|
|
4150
2015
|
};
|
|
4151
2016
|
return response;
|
|
4152
2017
|
}, "de_UpdateResolverDnssecConfigCommand");
|
|
4153
|
-
var de_UpdateResolverDnssecConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4154
|
-
const parsedOutput = {
|
|
4155
|
-
...output,
|
|
4156
|
-
body: await parseErrorBody(output.body, context)
|
|
4157
|
-
};
|
|
4158
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4159
|
-
switch (errorCode) {
|
|
4160
|
-
case "AccessDeniedException":
|
|
4161
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
4162
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4163
|
-
case "InternalServiceErrorException":
|
|
4164
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
4165
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
4166
|
-
case "InvalidParameterException":
|
|
4167
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
4168
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4169
|
-
case "InvalidRequestException":
|
|
4170
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
4171
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4172
|
-
case "ResourceNotFoundException":
|
|
4173
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
4174
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4175
|
-
case "ThrottlingException":
|
|
4176
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
4177
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4178
|
-
default:
|
|
4179
|
-
const parsedBody = parsedOutput.body;
|
|
4180
|
-
return throwDefaultError({
|
|
4181
|
-
output,
|
|
4182
|
-
parsedBody,
|
|
4183
|
-
errorCode
|
|
4184
|
-
});
|
|
4185
|
-
}
|
|
4186
|
-
}, "de_UpdateResolverDnssecConfigCommandError");
|
|
4187
2018
|
var de_UpdateResolverEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4188
2019
|
if (output.statusCode >= 300) {
|
|
4189
|
-
return
|
|
2020
|
+
return de_CommandError(output, context);
|
|
4190
2021
|
}
|
|
4191
2022
|
const data = await parseBody(output.body, context);
|
|
4192
2023
|
let contents = {};
|
|
@@ -4197,43 +2028,9 @@ var de_UpdateResolverEndpointCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
4197
2028
|
};
|
|
4198
2029
|
return response;
|
|
4199
2030
|
}, "de_UpdateResolverEndpointCommand");
|
|
4200
|
-
var de_UpdateResolverEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4201
|
-
const parsedOutput = {
|
|
4202
|
-
...output,
|
|
4203
|
-
body: await parseErrorBody(output.body, context)
|
|
4204
|
-
};
|
|
4205
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4206
|
-
switch (errorCode) {
|
|
4207
|
-
case "AccessDeniedException":
|
|
4208
|
-
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
4209
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4210
|
-
case "InternalServiceErrorException":
|
|
4211
|
-
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
4212
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
4213
|
-
case "InvalidParameterException":
|
|
4214
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
4215
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4216
|
-
case "InvalidRequestException":
|
|
4217
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
4218
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4219
|
-
case "ResourceNotFoundException":
|
|
4220
|
-
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
4221
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4222
|
-
case "ThrottlingException":
|
|
4223
|
-
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
4224
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4225
|
-
default:
|
|
4226
|
-
const parsedBody = parsedOutput.body;
|
|
4227
|
-
return throwDefaultError({
|
|
4228
|
-
output,
|
|
4229
|
-
parsedBody,
|
|
4230
|
-
errorCode
|
|
4231
|
-
});
|
|
4232
|
-
}
|
|
4233
|
-
}, "de_UpdateResolverEndpointCommandError");
|
|
4234
2031
|
var de_UpdateResolverRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4235
2032
|
if (output.statusCode >= 300) {
|
|
4236
|
-
return
|
|
2033
|
+
return de_CommandError(output, context);
|
|
4237
2034
|
}
|
|
4238
2035
|
const data = await parseBody(output.body, context);
|
|
4239
2036
|
let contents = {};
|
|
@@ -4244,7 +2041,7 @@ var de_UpdateResolverRuleCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4244
2041
|
};
|
|
4245
2042
|
return response;
|
|
4246
2043
|
}, "de_UpdateResolverRuleCommand");
|
|
4247
|
-
var
|
|
2044
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4248
2045
|
const parsedOutput = {
|
|
4249
2046
|
...output,
|
|
4250
2047
|
body: await parseErrorBody(output.body, context)
|
|
@@ -4254,27 +2051,54 @@ var de_UpdateResolverRuleCommandError = /* @__PURE__ */ __name(async (output, co
|
|
|
4254
2051
|
case "AccessDeniedException":
|
|
4255
2052
|
case "com.amazonaws.route53resolver#AccessDeniedException":
|
|
4256
2053
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2054
|
+
case "ConflictException":
|
|
2055
|
+
case "com.amazonaws.route53resolver#ConflictException":
|
|
2056
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4257
2057
|
case "InternalServiceErrorException":
|
|
4258
2058
|
case "com.amazonaws.route53resolver#InternalServiceErrorException":
|
|
4259
2059
|
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
4260
|
-
case "InvalidParameterException":
|
|
4261
|
-
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
4262
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
4263
|
-
case "InvalidRequestException":
|
|
4264
|
-
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
4265
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4266
2060
|
case "LimitExceededException":
|
|
4267
2061
|
case "com.amazonaws.route53resolver#LimitExceededException":
|
|
4268
2062
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4269
2063
|
case "ResourceNotFoundException":
|
|
4270
2064
|
case "com.amazonaws.route53resolver#ResourceNotFoundException":
|
|
4271
2065
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4272
|
-
case "ResourceUnavailableException":
|
|
4273
|
-
case "com.amazonaws.route53resolver#ResourceUnavailableException":
|
|
4274
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
4275
2066
|
case "ThrottlingException":
|
|
4276
2067
|
case "com.amazonaws.route53resolver#ThrottlingException":
|
|
4277
2068
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2069
|
+
case "ValidationException":
|
|
2070
|
+
case "com.amazonaws.route53resolver#ValidationException":
|
|
2071
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2072
|
+
case "InvalidParameterException":
|
|
2073
|
+
case "com.amazonaws.route53resolver#InvalidParameterException":
|
|
2074
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2075
|
+
case "InvalidRequestException":
|
|
2076
|
+
case "com.amazonaws.route53resolver#InvalidRequestException":
|
|
2077
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2078
|
+
case "ResourceExistsException":
|
|
2079
|
+
case "com.amazonaws.route53resolver#ResourceExistsException":
|
|
2080
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
2081
|
+
case "ResourceUnavailableException":
|
|
2082
|
+
case "com.amazonaws.route53resolver#ResourceUnavailableException":
|
|
2083
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
2084
|
+
case "ServiceQuotaExceededException":
|
|
2085
|
+
case "com.amazonaws.route53resolver#ServiceQuotaExceededException":
|
|
2086
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2087
|
+
case "ResourceInUseException":
|
|
2088
|
+
case "com.amazonaws.route53resolver#ResourceInUseException":
|
|
2089
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2090
|
+
case "UnknownResourceException":
|
|
2091
|
+
case "com.amazonaws.route53resolver#UnknownResourceException":
|
|
2092
|
+
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2093
|
+
case "InvalidNextTokenException":
|
|
2094
|
+
case "com.amazonaws.route53resolver#InvalidNextTokenException":
|
|
2095
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
2096
|
+
case "InvalidPolicyDocument":
|
|
2097
|
+
case "com.amazonaws.route53resolver#InvalidPolicyDocument":
|
|
2098
|
+
throw await de_InvalidPolicyDocumentRes(parsedOutput, context);
|
|
2099
|
+
case "InvalidTagException":
|
|
2100
|
+
case "com.amazonaws.route53resolver#InvalidTagException":
|
|
2101
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
4278
2102
|
default:
|
|
4279
2103
|
const parsedBody = parsedOutput.body;
|
|
4280
2104
|
return throwDefaultError({
|
|
@@ -4283,7 +2107,7 @@ var de_UpdateResolverRuleCommandError = /* @__PURE__ */ __name(async (output, co
|
|
|
4283
2107
|
errorCode
|
|
4284
2108
|
});
|
|
4285
2109
|
}
|
|
4286
|
-
}, "
|
|
2110
|
+
}, "de_CommandError");
|
|
4287
2111
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4288
2112
|
const body = parsedOutput.body;
|
|
4289
2113
|
const deserialized = (0, import_smithy_client._json)(body);
|