@aws-sdk/client-waf 3.504.0 → 3.507.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 +136 -2420
- package/dist-es/protocols/Aws_json1_1.js +285 -2569
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1408,7 +1408,7 @@ var se_UpdateXssMatchSetCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1408
1408
|
}, "se_UpdateXssMatchSetCommand");
|
|
1409
1409
|
var de_CreateByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1410
1410
|
if (output.statusCode >= 300) {
|
|
1411
|
-
return
|
|
1411
|
+
return de_CommandError(output, context);
|
|
1412
1412
|
}
|
|
1413
1413
|
const data = await parseBody(output.body, context);
|
|
1414
1414
|
let contents = {};
|
|
@@ -1419,43 +1419,9 @@ var de_CreateByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1419
1419
|
};
|
|
1420
1420
|
return response;
|
|
1421
1421
|
}, "de_CreateByteMatchSetCommand");
|
|
1422
|
-
var de_CreateByteMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1423
|
-
const parsedOutput = {
|
|
1424
|
-
...output,
|
|
1425
|
-
body: await parseErrorBody(output.body, context)
|
|
1426
|
-
};
|
|
1427
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1428
|
-
switch (errorCode) {
|
|
1429
|
-
case "WAFDisallowedNameException":
|
|
1430
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1431
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1432
|
-
case "WAFInternalErrorException":
|
|
1433
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1434
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1435
|
-
case "WAFInvalidAccountException":
|
|
1436
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
1437
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
1438
|
-
case "WAFInvalidParameterException":
|
|
1439
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1440
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1441
|
-
case "WAFLimitsExceededException":
|
|
1442
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1443
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1444
|
-
case "WAFStaleDataException":
|
|
1445
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1446
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1447
|
-
default:
|
|
1448
|
-
const parsedBody = parsedOutput.body;
|
|
1449
|
-
return throwDefaultError({
|
|
1450
|
-
output,
|
|
1451
|
-
parsedBody,
|
|
1452
|
-
errorCode
|
|
1453
|
-
});
|
|
1454
|
-
}
|
|
1455
|
-
}, "de_CreateByteMatchSetCommandError");
|
|
1456
1422
|
var de_CreateGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1457
1423
|
if (output.statusCode >= 300) {
|
|
1458
|
-
return
|
|
1424
|
+
return de_CommandError(output, context);
|
|
1459
1425
|
}
|
|
1460
1426
|
const data = await parseBody(output.body, context);
|
|
1461
1427
|
let contents = {};
|
|
@@ -1466,43 +1432,9 @@ var de_CreateGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1466
1432
|
};
|
|
1467
1433
|
return response;
|
|
1468
1434
|
}, "de_CreateGeoMatchSetCommand");
|
|
1469
|
-
var de_CreateGeoMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1470
|
-
const parsedOutput = {
|
|
1471
|
-
...output,
|
|
1472
|
-
body: await parseErrorBody(output.body, context)
|
|
1473
|
-
};
|
|
1474
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1475
|
-
switch (errorCode) {
|
|
1476
|
-
case "WAFDisallowedNameException":
|
|
1477
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1478
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1479
|
-
case "WAFInternalErrorException":
|
|
1480
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1481
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1482
|
-
case "WAFInvalidAccountException":
|
|
1483
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
1484
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
1485
|
-
case "WAFInvalidParameterException":
|
|
1486
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1487
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1488
|
-
case "WAFLimitsExceededException":
|
|
1489
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1490
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1491
|
-
case "WAFStaleDataException":
|
|
1492
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1493
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1494
|
-
default:
|
|
1495
|
-
const parsedBody = parsedOutput.body;
|
|
1496
|
-
return throwDefaultError({
|
|
1497
|
-
output,
|
|
1498
|
-
parsedBody,
|
|
1499
|
-
errorCode
|
|
1500
|
-
});
|
|
1501
|
-
}
|
|
1502
|
-
}, "de_CreateGeoMatchSetCommandError");
|
|
1503
1435
|
var de_CreateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1504
1436
|
if (output.statusCode >= 300) {
|
|
1505
|
-
return
|
|
1437
|
+
return de_CommandError(output, context);
|
|
1506
1438
|
}
|
|
1507
1439
|
const data = await parseBody(output.body, context);
|
|
1508
1440
|
let contents = {};
|
|
@@ -1513,43 +1445,9 @@ var de_CreateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1513
1445
|
};
|
|
1514
1446
|
return response;
|
|
1515
1447
|
}, "de_CreateIPSetCommand");
|
|
1516
|
-
var de_CreateIPSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
|
-
const parsedOutput = {
|
|
1518
|
-
...output,
|
|
1519
|
-
body: await parseErrorBody(output.body, context)
|
|
1520
|
-
};
|
|
1521
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
|
-
switch (errorCode) {
|
|
1523
|
-
case "WAFDisallowedNameException":
|
|
1524
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1525
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1526
|
-
case "WAFInternalErrorException":
|
|
1527
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1528
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1529
|
-
case "WAFInvalidAccountException":
|
|
1530
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
1531
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "WAFInvalidParameterException":
|
|
1533
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1534
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1535
|
-
case "WAFLimitsExceededException":
|
|
1536
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1537
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1538
|
-
case "WAFStaleDataException":
|
|
1539
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1540
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1541
|
-
default:
|
|
1542
|
-
const parsedBody = parsedOutput.body;
|
|
1543
|
-
return throwDefaultError({
|
|
1544
|
-
output,
|
|
1545
|
-
parsedBody,
|
|
1546
|
-
errorCode
|
|
1547
|
-
});
|
|
1548
|
-
}
|
|
1549
|
-
}, "de_CreateIPSetCommandError");
|
|
1550
1448
|
var de_CreateRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1551
1449
|
if (output.statusCode >= 300) {
|
|
1552
|
-
return
|
|
1450
|
+
return de_CommandError(output, context);
|
|
1553
1451
|
}
|
|
1554
1452
|
const data = await parseBody(output.body, context);
|
|
1555
1453
|
let contents = {};
|
|
@@ -1560,49 +1458,9 @@ var de_CreateRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1560
1458
|
};
|
|
1561
1459
|
return response;
|
|
1562
1460
|
}, "de_CreateRateBasedRuleCommand");
|
|
1563
|
-
var de_CreateRateBasedRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1564
|
-
const parsedOutput = {
|
|
1565
|
-
...output,
|
|
1566
|
-
body: await parseErrorBody(output.body, context)
|
|
1567
|
-
};
|
|
1568
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1569
|
-
switch (errorCode) {
|
|
1570
|
-
case "WAFBadRequestException":
|
|
1571
|
-
case "com.amazonaws.waf#WAFBadRequestException":
|
|
1572
|
-
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
1573
|
-
case "WAFDisallowedNameException":
|
|
1574
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1575
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1576
|
-
case "WAFInternalErrorException":
|
|
1577
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1578
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1579
|
-
case "WAFInvalidParameterException":
|
|
1580
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1581
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1582
|
-
case "WAFLimitsExceededException":
|
|
1583
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1584
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1585
|
-
case "WAFStaleDataException":
|
|
1586
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1587
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1588
|
-
case "WAFTagOperationException":
|
|
1589
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
1590
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
1591
|
-
case "WAFTagOperationInternalErrorException":
|
|
1592
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
1593
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1594
|
-
default:
|
|
1595
|
-
const parsedBody = parsedOutput.body;
|
|
1596
|
-
return throwDefaultError({
|
|
1597
|
-
output,
|
|
1598
|
-
parsedBody,
|
|
1599
|
-
errorCode
|
|
1600
|
-
});
|
|
1601
|
-
}
|
|
1602
|
-
}, "de_CreateRateBasedRuleCommandError");
|
|
1603
1461
|
var de_CreateRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1604
1462
|
if (output.statusCode >= 300) {
|
|
1605
|
-
return
|
|
1463
|
+
return de_CommandError(output, context);
|
|
1606
1464
|
}
|
|
1607
1465
|
const data = await parseBody(output.body, context);
|
|
1608
1466
|
let contents = {};
|
|
@@ -1613,37 +1471,9 @@ var de_CreateRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1613
1471
|
};
|
|
1614
1472
|
return response;
|
|
1615
1473
|
}, "de_CreateRegexMatchSetCommand");
|
|
1616
|
-
var de_CreateRegexMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1617
|
-
const parsedOutput = {
|
|
1618
|
-
...output,
|
|
1619
|
-
body: await parseErrorBody(output.body, context)
|
|
1620
|
-
};
|
|
1621
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1622
|
-
switch (errorCode) {
|
|
1623
|
-
case "WAFDisallowedNameException":
|
|
1624
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1625
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1626
|
-
case "WAFInternalErrorException":
|
|
1627
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1628
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "WAFLimitsExceededException":
|
|
1630
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1631
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1632
|
-
case "WAFStaleDataException":
|
|
1633
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1634
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1635
|
-
default:
|
|
1636
|
-
const parsedBody = parsedOutput.body;
|
|
1637
|
-
return throwDefaultError({
|
|
1638
|
-
output,
|
|
1639
|
-
parsedBody,
|
|
1640
|
-
errorCode
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}, "de_CreateRegexMatchSetCommandError");
|
|
1644
1474
|
var de_CreateRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
1475
|
if (output.statusCode >= 300) {
|
|
1646
|
-
return
|
|
1476
|
+
return de_CommandError(output, context);
|
|
1647
1477
|
}
|
|
1648
1478
|
const data = await parseBody(output.body, context);
|
|
1649
1479
|
let contents = {};
|
|
@@ -1654,37 +1484,9 @@ var de_CreateRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1654
1484
|
};
|
|
1655
1485
|
return response;
|
|
1656
1486
|
}, "de_CreateRegexPatternSetCommand");
|
|
1657
|
-
var de_CreateRegexPatternSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1658
|
-
const parsedOutput = {
|
|
1659
|
-
...output,
|
|
1660
|
-
body: await parseErrorBody(output.body, context)
|
|
1661
|
-
};
|
|
1662
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1663
|
-
switch (errorCode) {
|
|
1664
|
-
case "WAFDisallowedNameException":
|
|
1665
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1666
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1667
|
-
case "WAFInternalErrorException":
|
|
1668
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1669
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1670
|
-
case "WAFLimitsExceededException":
|
|
1671
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1672
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1673
|
-
case "WAFStaleDataException":
|
|
1674
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1675
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1676
|
-
default:
|
|
1677
|
-
const parsedBody = parsedOutput.body;
|
|
1678
|
-
return throwDefaultError({
|
|
1679
|
-
output,
|
|
1680
|
-
parsedBody,
|
|
1681
|
-
errorCode
|
|
1682
|
-
});
|
|
1683
|
-
}
|
|
1684
|
-
}, "de_CreateRegexPatternSetCommandError");
|
|
1685
1487
|
var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1686
1488
|
if (output.statusCode >= 300) {
|
|
1687
|
-
return
|
|
1489
|
+
return de_CommandError(output, context);
|
|
1688
1490
|
}
|
|
1689
1491
|
const data = await parseBody(output.body, context);
|
|
1690
1492
|
let contents = {};
|
|
@@ -1695,49 +1497,9 @@ var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1695
1497
|
};
|
|
1696
1498
|
return response;
|
|
1697
1499
|
}, "de_CreateRuleCommand");
|
|
1698
|
-
var de_CreateRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1699
|
-
const parsedOutput = {
|
|
1700
|
-
...output,
|
|
1701
|
-
body: await parseErrorBody(output.body, context)
|
|
1702
|
-
};
|
|
1703
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1704
|
-
switch (errorCode) {
|
|
1705
|
-
case "WAFBadRequestException":
|
|
1706
|
-
case "com.amazonaws.waf#WAFBadRequestException":
|
|
1707
|
-
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
1708
|
-
case "WAFDisallowedNameException":
|
|
1709
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1710
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1711
|
-
case "WAFInternalErrorException":
|
|
1712
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1713
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1714
|
-
case "WAFInvalidParameterException":
|
|
1715
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1716
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1717
|
-
case "WAFLimitsExceededException":
|
|
1718
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1719
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1720
|
-
case "WAFStaleDataException":
|
|
1721
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1722
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1723
|
-
case "WAFTagOperationException":
|
|
1724
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
1725
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
1726
|
-
case "WAFTagOperationInternalErrorException":
|
|
1727
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
1728
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1729
|
-
default:
|
|
1730
|
-
const parsedBody = parsedOutput.body;
|
|
1731
|
-
return throwDefaultError({
|
|
1732
|
-
output,
|
|
1733
|
-
parsedBody,
|
|
1734
|
-
errorCode
|
|
1735
|
-
});
|
|
1736
|
-
}
|
|
1737
|
-
}, "de_CreateRuleCommandError");
|
|
1738
1500
|
var de_CreateRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1739
1501
|
if (output.statusCode >= 300) {
|
|
1740
|
-
return
|
|
1502
|
+
return de_CommandError(output, context);
|
|
1741
1503
|
}
|
|
1742
1504
|
const data = await parseBody(output.body, context);
|
|
1743
1505
|
let contents = {};
|
|
@@ -1748,93 +1510,22 @@ var de_CreateRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1748
1510
|
};
|
|
1749
1511
|
return response;
|
|
1750
1512
|
}, "de_CreateRuleGroupCommand");
|
|
1751
|
-
var
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
case "WAFDisallowedNameException":
|
|
1762
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1763
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1764
|
-
case "WAFInternalErrorException":
|
|
1765
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1766
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1767
|
-
case "WAFLimitsExceededException":
|
|
1768
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1769
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1770
|
-
case "WAFStaleDataException":
|
|
1771
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1772
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1773
|
-
case "WAFTagOperationException":
|
|
1774
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
1775
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
1776
|
-
case "WAFTagOperationInternalErrorException":
|
|
1777
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
1778
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1779
|
-
default:
|
|
1780
|
-
const parsedBody = parsedOutput.body;
|
|
1781
|
-
return throwDefaultError({
|
|
1782
|
-
output,
|
|
1783
|
-
parsedBody,
|
|
1784
|
-
errorCode
|
|
1785
|
-
});
|
|
1786
|
-
}
|
|
1787
|
-
}, "de_CreateRuleGroupCommandError");
|
|
1788
|
-
var de_CreateSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1789
|
-
if (output.statusCode >= 300) {
|
|
1790
|
-
return de_CreateSizeConstraintSetCommandError(output, context);
|
|
1791
|
-
}
|
|
1792
|
-
const data = await parseBody(output.body, context);
|
|
1793
|
-
let contents = {};
|
|
1794
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1795
|
-
const response = {
|
|
1796
|
-
$metadata: deserializeMetadata(output),
|
|
1797
|
-
...contents
|
|
1513
|
+
var de_CreateSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1514
|
+
if (output.statusCode >= 300) {
|
|
1515
|
+
return de_CommandError(output, context);
|
|
1516
|
+
}
|
|
1517
|
+
const data = await parseBody(output.body, context);
|
|
1518
|
+
let contents = {};
|
|
1519
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1520
|
+
const response = {
|
|
1521
|
+
$metadata: deserializeMetadata(output),
|
|
1522
|
+
...contents
|
|
1798
1523
|
};
|
|
1799
1524
|
return response;
|
|
1800
1525
|
}, "de_CreateSizeConstraintSetCommand");
|
|
1801
|
-
var de_CreateSizeConstraintSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1802
|
-
const parsedOutput = {
|
|
1803
|
-
...output,
|
|
1804
|
-
body: await parseErrorBody(output.body, context)
|
|
1805
|
-
};
|
|
1806
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1807
|
-
switch (errorCode) {
|
|
1808
|
-
case "WAFDisallowedNameException":
|
|
1809
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1810
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1811
|
-
case "WAFInternalErrorException":
|
|
1812
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1813
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1814
|
-
case "WAFInvalidAccountException":
|
|
1815
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
1816
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
1817
|
-
case "WAFInvalidParameterException":
|
|
1818
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1819
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1820
|
-
case "WAFLimitsExceededException":
|
|
1821
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1822
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1823
|
-
case "WAFStaleDataException":
|
|
1824
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1825
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1826
|
-
default:
|
|
1827
|
-
const parsedBody = parsedOutput.body;
|
|
1828
|
-
return throwDefaultError({
|
|
1829
|
-
output,
|
|
1830
|
-
parsedBody,
|
|
1831
|
-
errorCode
|
|
1832
|
-
});
|
|
1833
|
-
}
|
|
1834
|
-
}, "de_CreateSizeConstraintSetCommandError");
|
|
1835
1526
|
var de_CreateSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1836
1527
|
if (output.statusCode >= 300) {
|
|
1837
|
-
return
|
|
1528
|
+
return de_CommandError(output, context);
|
|
1838
1529
|
}
|
|
1839
1530
|
const data = await parseBody(output.body, context);
|
|
1840
1531
|
let contents = {};
|
|
@@ -1845,43 +1536,9 @@ var de_CreateSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1845
1536
|
};
|
|
1846
1537
|
return response;
|
|
1847
1538
|
}, "de_CreateSqlInjectionMatchSetCommand");
|
|
1848
|
-
var de_CreateSqlInjectionMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1849
|
-
const parsedOutput = {
|
|
1850
|
-
...output,
|
|
1851
|
-
body: await parseErrorBody(output.body, context)
|
|
1852
|
-
};
|
|
1853
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1854
|
-
switch (errorCode) {
|
|
1855
|
-
case "WAFDisallowedNameException":
|
|
1856
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1857
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1858
|
-
case "WAFInternalErrorException":
|
|
1859
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1860
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1861
|
-
case "WAFInvalidAccountException":
|
|
1862
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
1863
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
1864
|
-
case "WAFInvalidParameterException":
|
|
1865
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1866
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1867
|
-
case "WAFLimitsExceededException":
|
|
1868
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1869
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1870
|
-
case "WAFStaleDataException":
|
|
1871
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1872
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1873
|
-
default:
|
|
1874
|
-
const parsedBody = parsedOutput.body;
|
|
1875
|
-
return throwDefaultError({
|
|
1876
|
-
output,
|
|
1877
|
-
parsedBody,
|
|
1878
|
-
errorCode
|
|
1879
|
-
});
|
|
1880
|
-
}
|
|
1881
|
-
}, "de_CreateSqlInjectionMatchSetCommandError");
|
|
1882
1539
|
var de_CreateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1883
1540
|
if (output.statusCode >= 300) {
|
|
1884
|
-
return
|
|
1541
|
+
return de_CommandError(output, context);
|
|
1885
1542
|
}
|
|
1886
1543
|
const data = await parseBody(output.body, context);
|
|
1887
1544
|
let contents = {};
|
|
@@ -1892,52 +1549,9 @@ var de_CreateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1892
1549
|
};
|
|
1893
1550
|
return response;
|
|
1894
1551
|
}, "de_CreateWebACLCommand");
|
|
1895
|
-
var de_CreateWebACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1896
|
-
const parsedOutput = {
|
|
1897
|
-
...output,
|
|
1898
|
-
body: await parseErrorBody(output.body, context)
|
|
1899
|
-
};
|
|
1900
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1901
|
-
switch (errorCode) {
|
|
1902
|
-
case "WAFBadRequestException":
|
|
1903
|
-
case "com.amazonaws.waf#WAFBadRequestException":
|
|
1904
|
-
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
1905
|
-
case "WAFDisallowedNameException":
|
|
1906
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
1907
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
1908
|
-
case "WAFInternalErrorException":
|
|
1909
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1910
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1911
|
-
case "WAFInvalidAccountException":
|
|
1912
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
1913
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
1914
|
-
case "WAFInvalidParameterException":
|
|
1915
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1916
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1917
|
-
case "WAFLimitsExceededException":
|
|
1918
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
1919
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
1920
|
-
case "WAFStaleDataException":
|
|
1921
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
1922
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1923
|
-
case "WAFTagOperationException":
|
|
1924
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
1925
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
1926
|
-
case "WAFTagOperationInternalErrorException":
|
|
1927
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
1928
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1929
|
-
default:
|
|
1930
|
-
const parsedBody = parsedOutput.body;
|
|
1931
|
-
return throwDefaultError({
|
|
1932
|
-
output,
|
|
1933
|
-
parsedBody,
|
|
1934
|
-
errorCode
|
|
1935
|
-
});
|
|
1936
|
-
}
|
|
1937
|
-
}, "de_CreateWebACLCommandError");
|
|
1938
1552
|
var de_CreateWebACLMigrationStackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1939
1553
|
if (output.statusCode >= 300) {
|
|
1940
|
-
return
|
|
1554
|
+
return de_CommandError(output, context);
|
|
1941
1555
|
}
|
|
1942
1556
|
const data = await parseBody(output.body, context);
|
|
1943
1557
|
let contents = {};
|
|
@@ -1948,40 +1562,9 @@ var de_CreateWebACLMigrationStackCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1948
1562
|
};
|
|
1949
1563
|
return response;
|
|
1950
1564
|
}, "de_CreateWebACLMigrationStackCommand");
|
|
1951
|
-
var de_CreateWebACLMigrationStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1952
|
-
const parsedOutput = {
|
|
1953
|
-
...output,
|
|
1954
|
-
body: await parseErrorBody(output.body, context)
|
|
1955
|
-
};
|
|
1956
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1957
|
-
switch (errorCode) {
|
|
1958
|
-
case "WAFEntityMigrationException":
|
|
1959
|
-
case "com.amazonaws.waf#WAFEntityMigrationException":
|
|
1960
|
-
throw await de_WAFEntityMigrationExceptionRes(parsedOutput, context);
|
|
1961
|
-
case "WAFInternalErrorException":
|
|
1962
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
1963
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1964
|
-
case "WAFInvalidOperationException":
|
|
1965
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
1966
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
1967
|
-
case "WAFInvalidParameterException":
|
|
1968
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
1969
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1970
|
-
case "WAFNonexistentItemException":
|
|
1971
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
1972
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
1973
|
-
default:
|
|
1974
|
-
const parsedBody = parsedOutput.body;
|
|
1975
|
-
return throwDefaultError({
|
|
1976
|
-
output,
|
|
1977
|
-
parsedBody,
|
|
1978
|
-
errorCode
|
|
1979
|
-
});
|
|
1980
|
-
}
|
|
1981
|
-
}, "de_CreateWebACLMigrationStackCommandError");
|
|
1982
1565
|
var de_CreateXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1983
1566
|
if (output.statusCode >= 300) {
|
|
1984
|
-
return
|
|
1567
|
+
return de_CommandError(output, context);
|
|
1985
1568
|
}
|
|
1986
1569
|
const data = await parseBody(output.body, context);
|
|
1987
1570
|
let contents = {};
|
|
@@ -1992,43 +1575,9 @@ var de_CreateXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1992
1575
|
};
|
|
1993
1576
|
return response;
|
|
1994
1577
|
}, "de_CreateXssMatchSetCommand");
|
|
1995
|
-
var de_CreateXssMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1996
|
-
const parsedOutput = {
|
|
1997
|
-
...output,
|
|
1998
|
-
body: await parseErrorBody(output.body, context)
|
|
1999
|
-
};
|
|
2000
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2001
|
-
switch (errorCode) {
|
|
2002
|
-
case "WAFDisallowedNameException":
|
|
2003
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
2004
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
2005
|
-
case "WAFInternalErrorException":
|
|
2006
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2007
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2008
|
-
case "WAFInvalidAccountException":
|
|
2009
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2010
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2011
|
-
case "WAFInvalidParameterException":
|
|
2012
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
2013
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
2014
|
-
case "WAFLimitsExceededException":
|
|
2015
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
2016
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
2017
|
-
case "WAFStaleDataException":
|
|
2018
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2019
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2020
|
-
default:
|
|
2021
|
-
const parsedBody = parsedOutput.body;
|
|
2022
|
-
return throwDefaultError({
|
|
2023
|
-
output,
|
|
2024
|
-
parsedBody,
|
|
2025
|
-
errorCode
|
|
2026
|
-
});
|
|
2027
|
-
}
|
|
2028
|
-
}, "de_CreateXssMatchSetCommandError");
|
|
2029
1578
|
var de_DeleteByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2030
1579
|
if (output.statusCode >= 300) {
|
|
2031
|
-
return
|
|
1580
|
+
return de_CommandError(output, context);
|
|
2032
1581
|
}
|
|
2033
1582
|
const data = await parseBody(output.body, context);
|
|
2034
1583
|
let contents = {};
|
|
@@ -2039,43 +1588,9 @@ var de_DeleteByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2039
1588
|
};
|
|
2040
1589
|
return response;
|
|
2041
1590
|
}, "de_DeleteByteMatchSetCommand");
|
|
2042
|
-
var de_DeleteByteMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2043
|
-
const parsedOutput = {
|
|
2044
|
-
...output,
|
|
2045
|
-
body: await parseErrorBody(output.body, context)
|
|
2046
|
-
};
|
|
2047
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2048
|
-
switch (errorCode) {
|
|
2049
|
-
case "WAFInternalErrorException":
|
|
2050
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2051
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2052
|
-
case "WAFInvalidAccountException":
|
|
2053
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2054
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2055
|
-
case "WAFNonEmptyEntityException":
|
|
2056
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2057
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2058
|
-
case "WAFNonexistentItemException":
|
|
2059
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2060
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2061
|
-
case "WAFReferencedItemException":
|
|
2062
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2063
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2064
|
-
case "WAFStaleDataException":
|
|
2065
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2066
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2067
|
-
default:
|
|
2068
|
-
const parsedBody = parsedOutput.body;
|
|
2069
|
-
return throwDefaultError({
|
|
2070
|
-
output,
|
|
2071
|
-
parsedBody,
|
|
2072
|
-
errorCode
|
|
2073
|
-
});
|
|
2074
|
-
}
|
|
2075
|
-
}, "de_DeleteByteMatchSetCommandError");
|
|
2076
1591
|
var de_DeleteGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2077
1592
|
if (output.statusCode >= 300) {
|
|
2078
|
-
return
|
|
1593
|
+
return de_CommandError(output, context);
|
|
2079
1594
|
}
|
|
2080
1595
|
const data = await parseBody(output.body, context);
|
|
2081
1596
|
let contents = {};
|
|
@@ -2086,43 +1601,9 @@ var de_DeleteGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2086
1601
|
};
|
|
2087
1602
|
return response;
|
|
2088
1603
|
}, "de_DeleteGeoMatchSetCommand");
|
|
2089
|
-
var de_DeleteGeoMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2090
|
-
const parsedOutput = {
|
|
2091
|
-
...output,
|
|
2092
|
-
body: await parseErrorBody(output.body, context)
|
|
2093
|
-
};
|
|
2094
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2095
|
-
switch (errorCode) {
|
|
2096
|
-
case "WAFInternalErrorException":
|
|
2097
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2098
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2099
|
-
case "WAFInvalidAccountException":
|
|
2100
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2101
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2102
|
-
case "WAFNonEmptyEntityException":
|
|
2103
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2104
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2105
|
-
case "WAFNonexistentItemException":
|
|
2106
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2107
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2108
|
-
case "WAFReferencedItemException":
|
|
2109
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2110
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2111
|
-
case "WAFStaleDataException":
|
|
2112
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2113
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2114
|
-
default:
|
|
2115
|
-
const parsedBody = parsedOutput.body;
|
|
2116
|
-
return throwDefaultError({
|
|
2117
|
-
output,
|
|
2118
|
-
parsedBody,
|
|
2119
|
-
errorCode
|
|
2120
|
-
});
|
|
2121
|
-
}
|
|
2122
|
-
}, "de_DeleteGeoMatchSetCommandError");
|
|
2123
1604
|
var de_DeleteIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2124
1605
|
if (output.statusCode >= 300) {
|
|
2125
|
-
return
|
|
1606
|
+
return de_CommandError(output, context);
|
|
2126
1607
|
}
|
|
2127
1608
|
const data = await parseBody(output.body, context);
|
|
2128
1609
|
let contents = {};
|
|
@@ -2133,43 +1614,9 @@ var de_DeleteIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2133
1614
|
};
|
|
2134
1615
|
return response;
|
|
2135
1616
|
}, "de_DeleteIPSetCommand");
|
|
2136
|
-
var de_DeleteIPSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2137
|
-
const parsedOutput = {
|
|
2138
|
-
...output,
|
|
2139
|
-
body: await parseErrorBody(output.body, context)
|
|
2140
|
-
};
|
|
2141
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2142
|
-
switch (errorCode) {
|
|
2143
|
-
case "WAFInternalErrorException":
|
|
2144
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2145
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2146
|
-
case "WAFInvalidAccountException":
|
|
2147
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2148
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2149
|
-
case "WAFNonEmptyEntityException":
|
|
2150
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2151
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2152
|
-
case "WAFNonexistentItemException":
|
|
2153
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2154
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2155
|
-
case "WAFReferencedItemException":
|
|
2156
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2157
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2158
|
-
case "WAFStaleDataException":
|
|
2159
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2160
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2161
|
-
default:
|
|
2162
|
-
const parsedBody = parsedOutput.body;
|
|
2163
|
-
return throwDefaultError({
|
|
2164
|
-
output,
|
|
2165
|
-
parsedBody,
|
|
2166
|
-
errorCode
|
|
2167
|
-
});
|
|
2168
|
-
}
|
|
2169
|
-
}, "de_DeleteIPSetCommandError");
|
|
2170
1617
|
var de_DeleteLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2171
1618
|
if (output.statusCode >= 300) {
|
|
2172
|
-
return
|
|
1619
|
+
return de_CommandError(output, context);
|
|
2173
1620
|
}
|
|
2174
1621
|
const data = await parseBody(output.body, context);
|
|
2175
1622
|
let contents = {};
|
|
@@ -2180,34 +1627,9 @@ var de_DeleteLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2180
1627
|
};
|
|
2181
1628
|
return response;
|
|
2182
1629
|
}, "de_DeleteLoggingConfigurationCommand");
|
|
2183
|
-
var de_DeleteLoggingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2184
|
-
const parsedOutput = {
|
|
2185
|
-
...output,
|
|
2186
|
-
body: await parseErrorBody(output.body, context)
|
|
2187
|
-
};
|
|
2188
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2189
|
-
switch (errorCode) {
|
|
2190
|
-
case "WAFInternalErrorException":
|
|
2191
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2192
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2193
|
-
case "WAFNonexistentItemException":
|
|
2194
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2195
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2196
|
-
case "WAFStaleDataException":
|
|
2197
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2198
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2199
|
-
default:
|
|
2200
|
-
const parsedBody = parsedOutput.body;
|
|
2201
|
-
return throwDefaultError({
|
|
2202
|
-
output,
|
|
2203
|
-
parsedBody,
|
|
2204
|
-
errorCode
|
|
2205
|
-
});
|
|
2206
|
-
}
|
|
2207
|
-
}, "de_DeleteLoggingConfigurationCommandError");
|
|
2208
1630
|
var de_DeletePermissionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2209
1631
|
if (output.statusCode >= 300) {
|
|
2210
|
-
return
|
|
1632
|
+
return de_CommandError(output, context);
|
|
2211
1633
|
}
|
|
2212
1634
|
const data = await parseBody(output.body, context);
|
|
2213
1635
|
let contents = {};
|
|
@@ -2218,34 +1640,9 @@ var de_DeletePermissionPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2218
1640
|
};
|
|
2219
1641
|
return response;
|
|
2220
1642
|
}, "de_DeletePermissionPolicyCommand");
|
|
2221
|
-
var de_DeletePermissionPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2222
|
-
const parsedOutput = {
|
|
2223
|
-
...output,
|
|
2224
|
-
body: await parseErrorBody(output.body, context)
|
|
2225
|
-
};
|
|
2226
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2227
|
-
switch (errorCode) {
|
|
2228
|
-
case "WAFInternalErrorException":
|
|
2229
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2230
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2231
|
-
case "WAFNonexistentItemException":
|
|
2232
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2233
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2234
|
-
case "WAFStaleDataException":
|
|
2235
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2236
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2237
|
-
default:
|
|
2238
|
-
const parsedBody = parsedOutput.body;
|
|
2239
|
-
return throwDefaultError({
|
|
2240
|
-
output,
|
|
2241
|
-
parsedBody,
|
|
2242
|
-
errorCode
|
|
2243
|
-
});
|
|
2244
|
-
}
|
|
2245
|
-
}, "de_DeletePermissionPolicyCommandError");
|
|
2246
1643
|
var de_DeleteRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2247
1644
|
if (output.statusCode >= 300) {
|
|
2248
|
-
return
|
|
1645
|
+
return de_CommandError(output, context);
|
|
2249
1646
|
}
|
|
2250
1647
|
const data = await parseBody(output.body, context);
|
|
2251
1648
|
let contents = {};
|
|
@@ -2256,49 +1653,9 @@ var de_DeleteRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2256
1653
|
};
|
|
2257
1654
|
return response;
|
|
2258
1655
|
}, "de_DeleteRateBasedRuleCommand");
|
|
2259
|
-
var de_DeleteRateBasedRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2260
|
-
const parsedOutput = {
|
|
2261
|
-
...output,
|
|
2262
|
-
body: await parseErrorBody(output.body, context)
|
|
2263
|
-
};
|
|
2264
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2265
|
-
switch (errorCode) {
|
|
2266
|
-
case "WAFInternalErrorException":
|
|
2267
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2268
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2269
|
-
case "WAFInvalidAccountException":
|
|
2270
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2271
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2272
|
-
case "WAFNonEmptyEntityException":
|
|
2273
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2274
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2275
|
-
case "WAFNonexistentItemException":
|
|
2276
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2277
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2278
|
-
case "WAFReferencedItemException":
|
|
2279
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2280
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2281
|
-
case "WAFStaleDataException":
|
|
2282
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2283
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2284
|
-
case "WAFTagOperationException":
|
|
2285
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
2286
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
2287
|
-
case "WAFTagOperationInternalErrorException":
|
|
2288
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
2289
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
2290
|
-
default:
|
|
2291
|
-
const parsedBody = parsedOutput.body;
|
|
2292
|
-
return throwDefaultError({
|
|
2293
|
-
output,
|
|
2294
|
-
parsedBody,
|
|
2295
|
-
errorCode
|
|
2296
|
-
});
|
|
2297
|
-
}
|
|
2298
|
-
}, "de_DeleteRateBasedRuleCommandError");
|
|
2299
1656
|
var de_DeleteRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2300
1657
|
if (output.statusCode >= 300) {
|
|
2301
|
-
return
|
|
1658
|
+
return de_CommandError(output, context);
|
|
2302
1659
|
}
|
|
2303
1660
|
const data = await parseBody(output.body, context);
|
|
2304
1661
|
let contents = {};
|
|
@@ -2309,43 +1666,9 @@ var de_DeleteRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2309
1666
|
};
|
|
2310
1667
|
return response;
|
|
2311
1668
|
}, "de_DeleteRegexMatchSetCommand");
|
|
2312
|
-
var de_DeleteRegexMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2313
|
-
const parsedOutput = {
|
|
2314
|
-
...output,
|
|
2315
|
-
body: await parseErrorBody(output.body, context)
|
|
2316
|
-
};
|
|
2317
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2318
|
-
switch (errorCode) {
|
|
2319
|
-
case "WAFInternalErrorException":
|
|
2320
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2321
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2322
|
-
case "WAFInvalidAccountException":
|
|
2323
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2324
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2325
|
-
case "WAFNonEmptyEntityException":
|
|
2326
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2327
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2328
|
-
case "WAFNonexistentItemException":
|
|
2329
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2330
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2331
|
-
case "WAFReferencedItemException":
|
|
2332
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2333
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2334
|
-
case "WAFStaleDataException":
|
|
2335
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2336
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2337
|
-
default:
|
|
2338
|
-
const parsedBody = parsedOutput.body;
|
|
2339
|
-
return throwDefaultError({
|
|
2340
|
-
output,
|
|
2341
|
-
parsedBody,
|
|
2342
|
-
errorCode
|
|
2343
|
-
});
|
|
2344
|
-
}
|
|
2345
|
-
}, "de_DeleteRegexMatchSetCommandError");
|
|
2346
1669
|
var de_DeleteRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2347
1670
|
if (output.statusCode >= 300) {
|
|
2348
|
-
return
|
|
1671
|
+
return de_CommandError(output, context);
|
|
2349
1672
|
}
|
|
2350
1673
|
const data = await parseBody(output.body, context);
|
|
2351
1674
|
let contents = {};
|
|
@@ -2356,43 +1679,9 @@ var de_DeleteRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2356
1679
|
};
|
|
2357
1680
|
return response;
|
|
2358
1681
|
}, "de_DeleteRegexPatternSetCommand");
|
|
2359
|
-
var de_DeleteRegexPatternSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2360
|
-
const parsedOutput = {
|
|
2361
|
-
...output,
|
|
2362
|
-
body: await parseErrorBody(output.body, context)
|
|
2363
|
-
};
|
|
2364
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2365
|
-
switch (errorCode) {
|
|
2366
|
-
case "WAFInternalErrorException":
|
|
2367
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2368
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2369
|
-
case "WAFInvalidAccountException":
|
|
2370
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2371
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2372
|
-
case "WAFNonEmptyEntityException":
|
|
2373
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2374
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2375
|
-
case "WAFNonexistentItemException":
|
|
2376
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2377
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2378
|
-
case "WAFReferencedItemException":
|
|
2379
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2380
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2381
|
-
case "WAFStaleDataException":
|
|
2382
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2383
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2384
|
-
default:
|
|
2385
|
-
const parsedBody = parsedOutput.body;
|
|
2386
|
-
return throwDefaultError({
|
|
2387
|
-
output,
|
|
2388
|
-
parsedBody,
|
|
2389
|
-
errorCode
|
|
2390
|
-
});
|
|
2391
|
-
}
|
|
2392
|
-
}, "de_DeleteRegexPatternSetCommandError");
|
|
2393
1682
|
var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2394
1683
|
if (output.statusCode >= 300) {
|
|
2395
|
-
return
|
|
1684
|
+
return de_CommandError(output, context);
|
|
2396
1685
|
}
|
|
2397
1686
|
const data = await parseBody(output.body, context);
|
|
2398
1687
|
let contents = {};
|
|
@@ -2403,49 +1692,9 @@ var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2403
1692
|
};
|
|
2404
1693
|
return response;
|
|
2405
1694
|
}, "de_DeleteRuleCommand");
|
|
2406
|
-
var de_DeleteRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2407
|
-
const parsedOutput = {
|
|
2408
|
-
...output,
|
|
2409
|
-
body: await parseErrorBody(output.body, context)
|
|
2410
|
-
};
|
|
2411
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2412
|
-
switch (errorCode) {
|
|
2413
|
-
case "WAFInternalErrorException":
|
|
2414
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2415
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2416
|
-
case "WAFInvalidAccountException":
|
|
2417
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2418
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2419
|
-
case "WAFNonEmptyEntityException":
|
|
2420
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2421
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2422
|
-
case "WAFNonexistentItemException":
|
|
2423
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2424
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2425
|
-
case "WAFReferencedItemException":
|
|
2426
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2427
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2428
|
-
case "WAFStaleDataException":
|
|
2429
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2430
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2431
|
-
case "WAFTagOperationException":
|
|
2432
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
2433
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
2434
|
-
case "WAFTagOperationInternalErrorException":
|
|
2435
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
2436
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
2437
|
-
default:
|
|
2438
|
-
const parsedBody = parsedOutput.body;
|
|
2439
|
-
return throwDefaultError({
|
|
2440
|
-
output,
|
|
2441
|
-
parsedBody,
|
|
2442
|
-
errorCode
|
|
2443
|
-
});
|
|
2444
|
-
}
|
|
2445
|
-
}, "de_DeleteRuleCommandError");
|
|
2446
1695
|
var de_DeleteRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2447
1696
|
if (output.statusCode >= 300) {
|
|
2448
|
-
return
|
|
1697
|
+
return de_CommandError(output, context);
|
|
2449
1698
|
}
|
|
2450
1699
|
const data = await parseBody(output.body, context);
|
|
2451
1700
|
let contents = {};
|
|
@@ -2456,49 +1705,9 @@ var de_DeleteRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2456
1705
|
};
|
|
2457
1706
|
return response;
|
|
2458
1707
|
}, "de_DeleteRuleGroupCommand");
|
|
2459
|
-
var de_DeleteRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2460
|
-
const parsedOutput = {
|
|
2461
|
-
...output,
|
|
2462
|
-
body: await parseErrorBody(output.body, context)
|
|
2463
|
-
};
|
|
2464
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2465
|
-
switch (errorCode) {
|
|
2466
|
-
case "WAFInternalErrorException":
|
|
2467
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2468
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2469
|
-
case "WAFInvalidOperationException":
|
|
2470
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
2471
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
2472
|
-
case "WAFNonEmptyEntityException":
|
|
2473
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2474
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2475
|
-
case "WAFNonexistentItemException":
|
|
2476
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2477
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2478
|
-
case "WAFReferencedItemException":
|
|
2479
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2480
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2481
|
-
case "WAFStaleDataException":
|
|
2482
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2483
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2484
|
-
case "WAFTagOperationException":
|
|
2485
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
2486
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
2487
|
-
case "WAFTagOperationInternalErrorException":
|
|
2488
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
2489
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
2490
|
-
default:
|
|
2491
|
-
const parsedBody = parsedOutput.body;
|
|
2492
|
-
return throwDefaultError({
|
|
2493
|
-
output,
|
|
2494
|
-
parsedBody,
|
|
2495
|
-
errorCode
|
|
2496
|
-
});
|
|
2497
|
-
}
|
|
2498
|
-
}, "de_DeleteRuleGroupCommandError");
|
|
2499
1708
|
var de_DeleteSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2500
1709
|
if (output.statusCode >= 300) {
|
|
2501
|
-
return
|
|
1710
|
+
return de_CommandError(output, context);
|
|
2502
1711
|
}
|
|
2503
1712
|
const data = await parseBody(output.body, context);
|
|
2504
1713
|
let contents = {};
|
|
@@ -2509,43 +1718,9 @@ var de_DeleteSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2509
1718
|
};
|
|
2510
1719
|
return response;
|
|
2511
1720
|
}, "de_DeleteSizeConstraintSetCommand");
|
|
2512
|
-
var de_DeleteSizeConstraintSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2513
|
-
const parsedOutput = {
|
|
2514
|
-
...output,
|
|
2515
|
-
body: await parseErrorBody(output.body, context)
|
|
2516
|
-
};
|
|
2517
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2518
|
-
switch (errorCode) {
|
|
2519
|
-
case "WAFInternalErrorException":
|
|
2520
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2521
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2522
|
-
case "WAFInvalidAccountException":
|
|
2523
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2524
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2525
|
-
case "WAFNonEmptyEntityException":
|
|
2526
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2527
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2528
|
-
case "WAFNonexistentItemException":
|
|
2529
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2530
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2531
|
-
case "WAFReferencedItemException":
|
|
2532
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2533
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2534
|
-
case "WAFStaleDataException":
|
|
2535
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2536
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2537
|
-
default:
|
|
2538
|
-
const parsedBody = parsedOutput.body;
|
|
2539
|
-
return throwDefaultError({
|
|
2540
|
-
output,
|
|
2541
|
-
parsedBody,
|
|
2542
|
-
errorCode
|
|
2543
|
-
});
|
|
2544
|
-
}
|
|
2545
|
-
}, "de_DeleteSizeConstraintSetCommandError");
|
|
2546
1721
|
var de_DeleteSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2547
1722
|
if (output.statusCode >= 300) {
|
|
2548
|
-
return
|
|
1723
|
+
return de_CommandError(output, context);
|
|
2549
1724
|
}
|
|
2550
1725
|
const data = await parseBody(output.body, context);
|
|
2551
1726
|
let contents = {};
|
|
@@ -2556,43 +1731,9 @@ var de_DeleteSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2556
1731
|
};
|
|
2557
1732
|
return response;
|
|
2558
1733
|
}, "de_DeleteSqlInjectionMatchSetCommand");
|
|
2559
|
-
var de_DeleteSqlInjectionMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2560
|
-
const parsedOutput = {
|
|
2561
|
-
...output,
|
|
2562
|
-
body: await parseErrorBody(output.body, context)
|
|
2563
|
-
};
|
|
2564
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2565
|
-
switch (errorCode) {
|
|
2566
|
-
case "WAFInternalErrorException":
|
|
2567
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2568
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2569
|
-
case "WAFInvalidAccountException":
|
|
2570
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2571
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2572
|
-
case "WAFNonEmptyEntityException":
|
|
2573
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2574
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2575
|
-
case "WAFNonexistentItemException":
|
|
2576
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2577
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2578
|
-
case "WAFReferencedItemException":
|
|
2579
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2580
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2581
|
-
case "WAFStaleDataException":
|
|
2582
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2583
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2584
|
-
default:
|
|
2585
|
-
const parsedBody = parsedOutput.body;
|
|
2586
|
-
return throwDefaultError({
|
|
2587
|
-
output,
|
|
2588
|
-
parsedBody,
|
|
2589
|
-
errorCode
|
|
2590
|
-
});
|
|
2591
|
-
}
|
|
2592
|
-
}, "de_DeleteSqlInjectionMatchSetCommandError");
|
|
2593
1734
|
var de_DeleteWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2594
1735
|
if (output.statusCode >= 300) {
|
|
2595
|
-
return
|
|
1736
|
+
return de_CommandError(output, context);
|
|
2596
1737
|
}
|
|
2597
1738
|
const data = await parseBody(output.body, context);
|
|
2598
1739
|
let contents = {};
|
|
@@ -2603,49 +1744,9 @@ var de_DeleteWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2603
1744
|
};
|
|
2604
1745
|
return response;
|
|
2605
1746
|
}, "de_DeleteWebACLCommand");
|
|
2606
|
-
var de_DeleteWebACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2607
|
-
const parsedOutput = {
|
|
2608
|
-
...output,
|
|
2609
|
-
body: await parseErrorBody(output.body, context)
|
|
2610
|
-
};
|
|
2611
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2612
|
-
switch (errorCode) {
|
|
2613
|
-
case "WAFInternalErrorException":
|
|
2614
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2615
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2616
|
-
case "WAFInvalidAccountException":
|
|
2617
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2618
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2619
|
-
case "WAFNonEmptyEntityException":
|
|
2620
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2621
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2622
|
-
case "WAFNonexistentItemException":
|
|
2623
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2624
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2625
|
-
case "WAFReferencedItemException":
|
|
2626
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2627
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2628
|
-
case "WAFStaleDataException":
|
|
2629
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2630
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2631
|
-
case "WAFTagOperationException":
|
|
2632
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
2633
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
2634
|
-
case "WAFTagOperationInternalErrorException":
|
|
2635
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
2636
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
2637
|
-
default:
|
|
2638
|
-
const parsedBody = parsedOutput.body;
|
|
2639
|
-
return throwDefaultError({
|
|
2640
|
-
output,
|
|
2641
|
-
parsedBody,
|
|
2642
|
-
errorCode
|
|
2643
|
-
});
|
|
2644
|
-
}
|
|
2645
|
-
}, "de_DeleteWebACLCommandError");
|
|
2646
1747
|
var de_DeleteXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2647
1748
|
if (output.statusCode >= 300) {
|
|
2648
|
-
return
|
|
1749
|
+
return de_CommandError(output, context);
|
|
2649
1750
|
}
|
|
2650
1751
|
const data = await parseBody(output.body, context);
|
|
2651
1752
|
let contents = {};
|
|
@@ -2656,43 +1757,9 @@ var de_DeleteXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2656
1757
|
};
|
|
2657
1758
|
return response;
|
|
2658
1759
|
}, "de_DeleteXssMatchSetCommand");
|
|
2659
|
-
var de_DeleteXssMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2660
|
-
const parsedOutput = {
|
|
2661
|
-
...output,
|
|
2662
|
-
body: await parseErrorBody(output.body, context)
|
|
2663
|
-
};
|
|
2664
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2665
|
-
switch (errorCode) {
|
|
2666
|
-
case "WAFInternalErrorException":
|
|
2667
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2668
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2669
|
-
case "WAFInvalidAccountException":
|
|
2670
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2671
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2672
|
-
case "WAFNonEmptyEntityException":
|
|
2673
|
-
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2674
|
-
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2675
|
-
case "WAFNonexistentItemException":
|
|
2676
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2677
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2678
|
-
case "WAFReferencedItemException":
|
|
2679
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2680
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2681
|
-
case "WAFStaleDataException":
|
|
2682
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
2683
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2684
|
-
default:
|
|
2685
|
-
const parsedBody = parsedOutput.body;
|
|
2686
|
-
return throwDefaultError({
|
|
2687
|
-
output,
|
|
2688
|
-
parsedBody,
|
|
2689
|
-
errorCode
|
|
2690
|
-
});
|
|
2691
|
-
}
|
|
2692
|
-
}, "de_DeleteXssMatchSetCommandError");
|
|
2693
1760
|
var de_GetByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2694
1761
|
if (output.statusCode >= 300) {
|
|
2695
|
-
return
|
|
1762
|
+
return de_CommandError(output, context);
|
|
2696
1763
|
}
|
|
2697
1764
|
const data = await parseBody(output.body, context);
|
|
2698
1765
|
let contents = {};
|
|
@@ -2703,34 +1770,9 @@ var de_GetByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2703
1770
|
};
|
|
2704
1771
|
return response;
|
|
2705
1772
|
}, "de_GetByteMatchSetCommand");
|
|
2706
|
-
var de_GetByteMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2707
|
-
const parsedOutput = {
|
|
2708
|
-
...output,
|
|
2709
|
-
body: await parseErrorBody(output.body, context)
|
|
2710
|
-
};
|
|
2711
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2712
|
-
switch (errorCode) {
|
|
2713
|
-
case "WAFInternalErrorException":
|
|
2714
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2715
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2716
|
-
case "WAFInvalidAccountException":
|
|
2717
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2718
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2719
|
-
case "WAFNonexistentItemException":
|
|
2720
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2721
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2722
|
-
default:
|
|
2723
|
-
const parsedBody = parsedOutput.body;
|
|
2724
|
-
return throwDefaultError({
|
|
2725
|
-
output,
|
|
2726
|
-
parsedBody,
|
|
2727
|
-
errorCode
|
|
2728
|
-
});
|
|
2729
|
-
}
|
|
2730
|
-
}, "de_GetByteMatchSetCommandError");
|
|
2731
1773
|
var de_GetChangeTokenCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2732
1774
|
if (output.statusCode >= 300) {
|
|
2733
|
-
return
|
|
1775
|
+
return de_CommandError(output, context);
|
|
2734
1776
|
}
|
|
2735
1777
|
const data = await parseBody(output.body, context);
|
|
2736
1778
|
let contents = {};
|
|
@@ -2741,28 +1783,9 @@ var de_GetChangeTokenCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2741
1783
|
};
|
|
2742
1784
|
return response;
|
|
2743
1785
|
}, "de_GetChangeTokenCommand");
|
|
2744
|
-
var de_GetChangeTokenCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2745
|
-
const parsedOutput = {
|
|
2746
|
-
...output,
|
|
2747
|
-
body: await parseErrorBody(output.body, context)
|
|
2748
|
-
};
|
|
2749
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2750
|
-
switch (errorCode) {
|
|
2751
|
-
case "WAFInternalErrorException":
|
|
2752
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2753
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2754
|
-
default:
|
|
2755
|
-
const parsedBody = parsedOutput.body;
|
|
2756
|
-
return throwDefaultError({
|
|
2757
|
-
output,
|
|
2758
|
-
parsedBody,
|
|
2759
|
-
errorCode
|
|
2760
|
-
});
|
|
2761
|
-
}
|
|
2762
|
-
}, "de_GetChangeTokenCommandError");
|
|
2763
1786
|
var de_GetChangeTokenStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2764
1787
|
if (output.statusCode >= 300) {
|
|
2765
|
-
return
|
|
1788
|
+
return de_CommandError(output, context);
|
|
2766
1789
|
}
|
|
2767
1790
|
const data = await parseBody(output.body, context);
|
|
2768
1791
|
let contents = {};
|
|
@@ -2773,31 +1796,9 @@ var de_GetChangeTokenStatusCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2773
1796
|
};
|
|
2774
1797
|
return response;
|
|
2775
1798
|
}, "de_GetChangeTokenStatusCommand");
|
|
2776
|
-
var de_GetChangeTokenStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2777
|
-
const parsedOutput = {
|
|
2778
|
-
...output,
|
|
2779
|
-
body: await parseErrorBody(output.body, context)
|
|
2780
|
-
};
|
|
2781
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2782
|
-
switch (errorCode) {
|
|
2783
|
-
case "WAFInternalErrorException":
|
|
2784
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2785
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2786
|
-
case "WAFNonexistentItemException":
|
|
2787
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2788
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2789
|
-
default:
|
|
2790
|
-
const parsedBody = parsedOutput.body;
|
|
2791
|
-
return throwDefaultError({
|
|
2792
|
-
output,
|
|
2793
|
-
parsedBody,
|
|
2794
|
-
errorCode
|
|
2795
|
-
});
|
|
2796
|
-
}
|
|
2797
|
-
}, "de_GetChangeTokenStatusCommandError");
|
|
2798
1799
|
var de_GetGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2799
1800
|
if (output.statusCode >= 300) {
|
|
2800
|
-
return
|
|
1801
|
+
return de_CommandError(output, context);
|
|
2801
1802
|
}
|
|
2802
1803
|
const data = await parseBody(output.body, context);
|
|
2803
1804
|
let contents = {};
|
|
@@ -2808,34 +1809,9 @@ var de_GetGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2808
1809
|
};
|
|
2809
1810
|
return response;
|
|
2810
1811
|
}, "de_GetGeoMatchSetCommand");
|
|
2811
|
-
var de_GetGeoMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2812
|
-
const parsedOutput = {
|
|
2813
|
-
...output,
|
|
2814
|
-
body: await parseErrorBody(output.body, context)
|
|
2815
|
-
};
|
|
2816
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2817
|
-
switch (errorCode) {
|
|
2818
|
-
case "WAFInternalErrorException":
|
|
2819
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2820
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2821
|
-
case "WAFInvalidAccountException":
|
|
2822
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2823
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2824
|
-
case "WAFNonexistentItemException":
|
|
2825
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2826
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2827
|
-
default:
|
|
2828
|
-
const parsedBody = parsedOutput.body;
|
|
2829
|
-
return throwDefaultError({
|
|
2830
|
-
output,
|
|
2831
|
-
parsedBody,
|
|
2832
|
-
errorCode
|
|
2833
|
-
});
|
|
2834
|
-
}
|
|
2835
|
-
}, "de_GetGeoMatchSetCommandError");
|
|
2836
1812
|
var de_GetIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2837
1813
|
if (output.statusCode >= 300) {
|
|
2838
|
-
return
|
|
1814
|
+
return de_CommandError(output, context);
|
|
2839
1815
|
}
|
|
2840
1816
|
const data = await parseBody(output.body, context);
|
|
2841
1817
|
let contents = {};
|
|
@@ -2846,34 +1822,9 @@ var de_GetIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2846
1822
|
};
|
|
2847
1823
|
return response;
|
|
2848
1824
|
}, "de_GetIPSetCommand");
|
|
2849
|
-
var de_GetIPSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2850
|
-
const parsedOutput = {
|
|
2851
|
-
...output,
|
|
2852
|
-
body: await parseErrorBody(output.body, context)
|
|
2853
|
-
};
|
|
2854
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2855
|
-
switch (errorCode) {
|
|
2856
|
-
case "WAFInternalErrorException":
|
|
2857
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2858
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2859
|
-
case "WAFInvalidAccountException":
|
|
2860
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2861
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2862
|
-
case "WAFNonexistentItemException":
|
|
2863
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2864
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2865
|
-
default:
|
|
2866
|
-
const parsedBody = parsedOutput.body;
|
|
2867
|
-
return throwDefaultError({
|
|
2868
|
-
output,
|
|
2869
|
-
parsedBody,
|
|
2870
|
-
errorCode
|
|
2871
|
-
});
|
|
2872
|
-
}
|
|
2873
|
-
}, "de_GetIPSetCommandError");
|
|
2874
1825
|
var de_GetLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2875
1826
|
if (output.statusCode >= 300) {
|
|
2876
|
-
return
|
|
1827
|
+
return de_CommandError(output, context);
|
|
2877
1828
|
}
|
|
2878
1829
|
const data = await parseBody(output.body, context);
|
|
2879
1830
|
let contents = {};
|
|
@@ -2884,31 +1835,9 @@ var de_GetLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2884
1835
|
};
|
|
2885
1836
|
return response;
|
|
2886
1837
|
}, "de_GetLoggingConfigurationCommand");
|
|
2887
|
-
var de_GetLoggingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2888
|
-
const parsedOutput = {
|
|
2889
|
-
...output,
|
|
2890
|
-
body: await parseErrorBody(output.body, context)
|
|
2891
|
-
};
|
|
2892
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2893
|
-
switch (errorCode) {
|
|
2894
|
-
case "WAFInternalErrorException":
|
|
2895
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2896
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2897
|
-
case "WAFNonexistentItemException":
|
|
2898
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2899
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2900
|
-
default:
|
|
2901
|
-
const parsedBody = parsedOutput.body;
|
|
2902
|
-
return throwDefaultError({
|
|
2903
|
-
output,
|
|
2904
|
-
parsedBody,
|
|
2905
|
-
errorCode
|
|
2906
|
-
});
|
|
2907
|
-
}
|
|
2908
|
-
}, "de_GetLoggingConfigurationCommandError");
|
|
2909
1838
|
var de_GetPermissionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2910
1839
|
if (output.statusCode >= 300) {
|
|
2911
|
-
return
|
|
1840
|
+
return de_CommandError(output, context);
|
|
2912
1841
|
}
|
|
2913
1842
|
const data = await parseBody(output.body, context);
|
|
2914
1843
|
let contents = {};
|
|
@@ -2919,31 +1848,9 @@ var de_GetPermissionPolicyCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2919
1848
|
};
|
|
2920
1849
|
return response;
|
|
2921
1850
|
}, "de_GetPermissionPolicyCommand");
|
|
2922
|
-
var de_GetPermissionPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2923
|
-
const parsedOutput = {
|
|
2924
|
-
...output,
|
|
2925
|
-
body: await parseErrorBody(output.body, context)
|
|
2926
|
-
};
|
|
2927
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2928
|
-
switch (errorCode) {
|
|
2929
|
-
case "WAFInternalErrorException":
|
|
2930
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2931
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2932
|
-
case "WAFNonexistentItemException":
|
|
2933
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2934
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2935
|
-
default:
|
|
2936
|
-
const parsedBody = parsedOutput.body;
|
|
2937
|
-
return throwDefaultError({
|
|
2938
|
-
output,
|
|
2939
|
-
parsedBody,
|
|
2940
|
-
errorCode
|
|
2941
|
-
});
|
|
2942
|
-
}
|
|
2943
|
-
}, "de_GetPermissionPolicyCommandError");
|
|
2944
1851
|
var de_GetRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2945
1852
|
if (output.statusCode >= 300) {
|
|
2946
|
-
return
|
|
1853
|
+
return de_CommandError(output, context);
|
|
2947
1854
|
}
|
|
2948
1855
|
const data = await parseBody(output.body, context);
|
|
2949
1856
|
let contents = {};
|
|
@@ -2954,34 +1861,9 @@ var de_GetRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2954
1861
|
};
|
|
2955
1862
|
return response;
|
|
2956
1863
|
}, "de_GetRateBasedRuleCommand");
|
|
2957
|
-
var de_GetRateBasedRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2958
|
-
const parsedOutput = {
|
|
2959
|
-
...output,
|
|
2960
|
-
body: await parseErrorBody(output.body, context)
|
|
2961
|
-
};
|
|
2962
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2963
|
-
switch (errorCode) {
|
|
2964
|
-
case "WAFInternalErrorException":
|
|
2965
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
2966
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2967
|
-
case "WAFInvalidAccountException":
|
|
2968
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
2969
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2970
|
-
case "WAFNonexistentItemException":
|
|
2971
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2972
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2973
|
-
default:
|
|
2974
|
-
const parsedBody = parsedOutput.body;
|
|
2975
|
-
return throwDefaultError({
|
|
2976
|
-
output,
|
|
2977
|
-
parsedBody,
|
|
2978
|
-
errorCode
|
|
2979
|
-
});
|
|
2980
|
-
}
|
|
2981
|
-
}, "de_GetRateBasedRuleCommandError");
|
|
2982
1864
|
var de_GetRateBasedRuleManagedKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2983
1865
|
if (output.statusCode >= 300) {
|
|
2984
|
-
return
|
|
1866
|
+
return de_CommandError(output, context);
|
|
2985
1867
|
}
|
|
2986
1868
|
const data = await parseBody(output.body, context);
|
|
2987
1869
|
let contents = {};
|
|
@@ -2992,37 +1874,9 @@ var de_GetRateBasedRuleManagedKeysCommand = /* @__PURE__ */ __name(async (output
|
|
|
2992
1874
|
};
|
|
2993
1875
|
return response;
|
|
2994
1876
|
}, "de_GetRateBasedRuleManagedKeysCommand");
|
|
2995
|
-
var de_GetRateBasedRuleManagedKeysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2996
|
-
const parsedOutput = {
|
|
2997
|
-
...output,
|
|
2998
|
-
body: await parseErrorBody(output.body, context)
|
|
2999
|
-
};
|
|
3000
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3001
|
-
switch (errorCode) {
|
|
3002
|
-
case "WAFInternalErrorException":
|
|
3003
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3004
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3005
|
-
case "WAFInvalidAccountException":
|
|
3006
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3007
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3008
|
-
case "WAFInvalidParameterException":
|
|
3009
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
3010
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
3011
|
-
case "WAFNonexistentItemException":
|
|
3012
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3013
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3014
|
-
default:
|
|
3015
|
-
const parsedBody = parsedOutput.body;
|
|
3016
|
-
return throwDefaultError({
|
|
3017
|
-
output,
|
|
3018
|
-
parsedBody,
|
|
3019
|
-
errorCode
|
|
3020
|
-
});
|
|
3021
|
-
}
|
|
3022
|
-
}, "de_GetRateBasedRuleManagedKeysCommandError");
|
|
3023
1877
|
var de_GetRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3024
1878
|
if (output.statusCode >= 300) {
|
|
3025
|
-
return
|
|
1879
|
+
return de_CommandError(output, context);
|
|
3026
1880
|
}
|
|
3027
1881
|
const data = await parseBody(output.body, context);
|
|
3028
1882
|
let contents = {};
|
|
@@ -3033,34 +1887,9 @@ var de_GetRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3033
1887
|
};
|
|
3034
1888
|
return response;
|
|
3035
1889
|
}, "de_GetRegexMatchSetCommand");
|
|
3036
|
-
var de_GetRegexMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3037
|
-
const parsedOutput = {
|
|
3038
|
-
...output,
|
|
3039
|
-
body: await parseErrorBody(output.body, context)
|
|
3040
|
-
};
|
|
3041
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3042
|
-
switch (errorCode) {
|
|
3043
|
-
case "WAFInternalErrorException":
|
|
3044
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3045
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3046
|
-
case "WAFInvalidAccountException":
|
|
3047
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3048
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3049
|
-
case "WAFNonexistentItemException":
|
|
3050
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3051
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3052
|
-
default:
|
|
3053
|
-
const parsedBody = parsedOutput.body;
|
|
3054
|
-
return throwDefaultError({
|
|
3055
|
-
output,
|
|
3056
|
-
parsedBody,
|
|
3057
|
-
errorCode
|
|
3058
|
-
});
|
|
3059
|
-
}
|
|
3060
|
-
}, "de_GetRegexMatchSetCommandError");
|
|
3061
1890
|
var de_GetRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3062
1891
|
if (output.statusCode >= 300) {
|
|
3063
|
-
return
|
|
1892
|
+
return de_CommandError(output, context);
|
|
3064
1893
|
}
|
|
3065
1894
|
const data = await parseBody(output.body, context);
|
|
3066
1895
|
let contents = {};
|
|
@@ -3071,34 +1900,9 @@ var de_GetRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3071
1900
|
};
|
|
3072
1901
|
return response;
|
|
3073
1902
|
}, "de_GetRegexPatternSetCommand");
|
|
3074
|
-
var de_GetRegexPatternSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3075
|
-
const parsedOutput = {
|
|
3076
|
-
...output,
|
|
3077
|
-
body: await parseErrorBody(output.body, context)
|
|
3078
|
-
};
|
|
3079
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3080
|
-
switch (errorCode) {
|
|
3081
|
-
case "WAFInternalErrorException":
|
|
3082
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3083
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3084
|
-
case "WAFInvalidAccountException":
|
|
3085
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3086
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3087
|
-
case "WAFNonexistentItemException":
|
|
3088
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3089
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3090
|
-
default:
|
|
3091
|
-
const parsedBody = parsedOutput.body;
|
|
3092
|
-
return throwDefaultError({
|
|
3093
|
-
output,
|
|
3094
|
-
parsedBody,
|
|
3095
|
-
errorCode
|
|
3096
|
-
});
|
|
3097
|
-
}
|
|
3098
|
-
}, "de_GetRegexPatternSetCommandError");
|
|
3099
1903
|
var de_GetRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3100
1904
|
if (output.statusCode >= 300) {
|
|
3101
|
-
return
|
|
1905
|
+
return de_CommandError(output, context);
|
|
3102
1906
|
}
|
|
3103
1907
|
const data = await parseBody(output.body, context);
|
|
3104
1908
|
let contents = {};
|
|
@@ -3109,34 +1913,9 @@ var de_GetRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3109
1913
|
};
|
|
3110
1914
|
return response;
|
|
3111
1915
|
}, "de_GetRuleCommand");
|
|
3112
|
-
var de_GetRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3113
|
-
const parsedOutput = {
|
|
3114
|
-
...output,
|
|
3115
|
-
body: await parseErrorBody(output.body, context)
|
|
3116
|
-
};
|
|
3117
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3118
|
-
switch (errorCode) {
|
|
3119
|
-
case "WAFInternalErrorException":
|
|
3120
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3121
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3122
|
-
case "WAFInvalidAccountException":
|
|
3123
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3124
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3125
|
-
case "WAFNonexistentItemException":
|
|
3126
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3127
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3128
|
-
default:
|
|
3129
|
-
const parsedBody = parsedOutput.body;
|
|
3130
|
-
return throwDefaultError({
|
|
3131
|
-
output,
|
|
3132
|
-
parsedBody,
|
|
3133
|
-
errorCode
|
|
3134
|
-
});
|
|
3135
|
-
}
|
|
3136
|
-
}, "de_GetRuleCommandError");
|
|
3137
1916
|
var de_GetRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3138
1917
|
if (output.statusCode >= 300) {
|
|
3139
|
-
return
|
|
1918
|
+
return de_CommandError(output, context);
|
|
3140
1919
|
}
|
|
3141
1920
|
const data = await parseBody(output.body, context);
|
|
3142
1921
|
let contents = {};
|
|
@@ -3147,31 +1926,9 @@ var de_GetRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3147
1926
|
};
|
|
3148
1927
|
return response;
|
|
3149
1928
|
}, "de_GetRuleGroupCommand");
|
|
3150
|
-
var de_GetRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3151
|
-
const parsedOutput = {
|
|
3152
|
-
...output,
|
|
3153
|
-
body: await parseErrorBody(output.body, context)
|
|
3154
|
-
};
|
|
3155
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3156
|
-
switch (errorCode) {
|
|
3157
|
-
case "WAFInternalErrorException":
|
|
3158
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3159
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3160
|
-
case "WAFNonexistentItemException":
|
|
3161
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3162
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3163
|
-
default:
|
|
3164
|
-
const parsedBody = parsedOutput.body;
|
|
3165
|
-
return throwDefaultError({
|
|
3166
|
-
output,
|
|
3167
|
-
parsedBody,
|
|
3168
|
-
errorCode
|
|
3169
|
-
});
|
|
3170
|
-
}
|
|
3171
|
-
}, "de_GetRuleGroupCommandError");
|
|
3172
1929
|
var de_GetSampledRequestsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3173
1930
|
if (output.statusCode >= 300) {
|
|
3174
|
-
return
|
|
1931
|
+
return de_CommandError(output, context);
|
|
3175
1932
|
}
|
|
3176
1933
|
const data = await parseBody(output.body, context);
|
|
3177
1934
|
let contents = {};
|
|
@@ -3182,31 +1939,9 @@ var de_GetSampledRequestsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3182
1939
|
};
|
|
3183
1940
|
return response;
|
|
3184
1941
|
}, "de_GetSampledRequestsCommand");
|
|
3185
|
-
var de_GetSampledRequestsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3186
|
-
const parsedOutput = {
|
|
3187
|
-
...output,
|
|
3188
|
-
body: await parseErrorBody(output.body, context)
|
|
3189
|
-
};
|
|
3190
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3191
|
-
switch (errorCode) {
|
|
3192
|
-
case "WAFInternalErrorException":
|
|
3193
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3194
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3195
|
-
case "WAFNonexistentItemException":
|
|
3196
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3197
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3198
|
-
default:
|
|
3199
|
-
const parsedBody = parsedOutput.body;
|
|
3200
|
-
return throwDefaultError({
|
|
3201
|
-
output,
|
|
3202
|
-
parsedBody,
|
|
3203
|
-
errorCode
|
|
3204
|
-
});
|
|
3205
|
-
}
|
|
3206
|
-
}, "de_GetSampledRequestsCommandError");
|
|
3207
1942
|
var de_GetSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3208
1943
|
if (output.statusCode >= 300) {
|
|
3209
|
-
return
|
|
1944
|
+
return de_CommandError(output, context);
|
|
3210
1945
|
}
|
|
3211
1946
|
const data = await parseBody(output.body, context);
|
|
3212
1947
|
let contents = {};
|
|
@@ -3217,34 +1952,9 @@ var de_GetSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3217
1952
|
};
|
|
3218
1953
|
return response;
|
|
3219
1954
|
}, "de_GetSizeConstraintSetCommand");
|
|
3220
|
-
var de_GetSizeConstraintSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3221
|
-
const parsedOutput = {
|
|
3222
|
-
...output,
|
|
3223
|
-
body: await parseErrorBody(output.body, context)
|
|
3224
|
-
};
|
|
3225
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3226
|
-
switch (errorCode) {
|
|
3227
|
-
case "WAFInternalErrorException":
|
|
3228
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3229
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3230
|
-
case "WAFInvalidAccountException":
|
|
3231
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3232
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3233
|
-
case "WAFNonexistentItemException":
|
|
3234
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3235
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3236
|
-
default:
|
|
3237
|
-
const parsedBody = parsedOutput.body;
|
|
3238
|
-
return throwDefaultError({
|
|
3239
|
-
output,
|
|
3240
|
-
parsedBody,
|
|
3241
|
-
errorCode
|
|
3242
|
-
});
|
|
3243
|
-
}
|
|
3244
|
-
}, "de_GetSizeConstraintSetCommandError");
|
|
3245
1955
|
var de_GetSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3246
1956
|
if (output.statusCode >= 300) {
|
|
3247
|
-
return
|
|
1957
|
+
return de_CommandError(output, context);
|
|
3248
1958
|
}
|
|
3249
1959
|
const data = await parseBody(output.body, context);
|
|
3250
1960
|
let contents = {};
|
|
@@ -3255,34 +1965,9 @@ var de_GetSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3255
1965
|
};
|
|
3256
1966
|
return response;
|
|
3257
1967
|
}, "de_GetSqlInjectionMatchSetCommand");
|
|
3258
|
-
var de_GetSqlInjectionMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3259
|
-
const parsedOutput = {
|
|
3260
|
-
...output,
|
|
3261
|
-
body: await parseErrorBody(output.body, context)
|
|
3262
|
-
};
|
|
3263
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3264
|
-
switch (errorCode) {
|
|
3265
|
-
case "WAFInternalErrorException":
|
|
3266
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3267
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3268
|
-
case "WAFInvalidAccountException":
|
|
3269
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3270
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3271
|
-
case "WAFNonexistentItemException":
|
|
3272
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3273
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3274
|
-
default:
|
|
3275
|
-
const parsedBody = parsedOutput.body;
|
|
3276
|
-
return throwDefaultError({
|
|
3277
|
-
output,
|
|
3278
|
-
parsedBody,
|
|
3279
|
-
errorCode
|
|
3280
|
-
});
|
|
3281
|
-
}
|
|
3282
|
-
}, "de_GetSqlInjectionMatchSetCommandError");
|
|
3283
1968
|
var de_GetWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3284
1969
|
if (output.statusCode >= 300) {
|
|
3285
|
-
return
|
|
1970
|
+
return de_CommandError(output, context);
|
|
3286
1971
|
}
|
|
3287
1972
|
const data = await parseBody(output.body, context);
|
|
3288
1973
|
let contents = {};
|
|
@@ -3293,34 +1978,9 @@ var de_GetWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3293
1978
|
};
|
|
3294
1979
|
return response;
|
|
3295
1980
|
}, "de_GetWebACLCommand");
|
|
3296
|
-
var de_GetWebACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3297
|
-
const parsedOutput = {
|
|
3298
|
-
...output,
|
|
3299
|
-
body: await parseErrorBody(output.body, context)
|
|
3300
|
-
};
|
|
3301
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3302
|
-
switch (errorCode) {
|
|
3303
|
-
case "WAFInternalErrorException":
|
|
3304
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3305
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3306
|
-
case "WAFInvalidAccountException":
|
|
3307
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3308
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3309
|
-
case "WAFNonexistentItemException":
|
|
3310
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3311
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3312
|
-
default:
|
|
3313
|
-
const parsedBody = parsedOutput.body;
|
|
3314
|
-
return throwDefaultError({
|
|
3315
|
-
output,
|
|
3316
|
-
parsedBody,
|
|
3317
|
-
errorCode
|
|
3318
|
-
});
|
|
3319
|
-
}
|
|
3320
|
-
}, "de_GetWebACLCommandError");
|
|
3321
1981
|
var de_GetXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3322
1982
|
if (output.statusCode >= 300) {
|
|
3323
|
-
return
|
|
1983
|
+
return de_CommandError(output, context);
|
|
3324
1984
|
}
|
|
3325
1985
|
const data = await parseBody(output.body, context);
|
|
3326
1986
|
let contents = {};
|
|
@@ -3331,34 +1991,9 @@ var de_GetXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3331
1991
|
};
|
|
3332
1992
|
return response;
|
|
3333
1993
|
}, "de_GetXssMatchSetCommand");
|
|
3334
|
-
var de_GetXssMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3335
|
-
const parsedOutput = {
|
|
3336
|
-
...output,
|
|
3337
|
-
body: await parseErrorBody(output.body, context)
|
|
3338
|
-
};
|
|
3339
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3340
|
-
switch (errorCode) {
|
|
3341
|
-
case "WAFInternalErrorException":
|
|
3342
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3343
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3344
|
-
case "WAFInvalidAccountException":
|
|
3345
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3346
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3347
|
-
case "WAFNonexistentItemException":
|
|
3348
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3349
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3350
|
-
default:
|
|
3351
|
-
const parsedBody = parsedOutput.body;
|
|
3352
|
-
return throwDefaultError({
|
|
3353
|
-
output,
|
|
3354
|
-
parsedBody,
|
|
3355
|
-
errorCode
|
|
3356
|
-
});
|
|
3357
|
-
}
|
|
3358
|
-
}, "de_GetXssMatchSetCommandError");
|
|
3359
1994
|
var de_ListActivatedRulesInRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3360
1995
|
if (output.statusCode >= 300) {
|
|
3361
|
-
return
|
|
1996
|
+
return de_CommandError(output, context);
|
|
3362
1997
|
}
|
|
3363
1998
|
const data = await parseBody(output.body, context);
|
|
3364
1999
|
let contents = {};
|
|
@@ -3369,34 +2004,9 @@ var de_ListActivatedRulesInRuleGroupCommand = /* @__PURE__ */ __name(async (outp
|
|
|
3369
2004
|
};
|
|
3370
2005
|
return response;
|
|
3371
2006
|
}, "de_ListActivatedRulesInRuleGroupCommand");
|
|
3372
|
-
var de_ListActivatedRulesInRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3373
|
-
const parsedOutput = {
|
|
3374
|
-
...output,
|
|
3375
|
-
body: await parseErrorBody(output.body, context)
|
|
3376
|
-
};
|
|
3377
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3378
|
-
switch (errorCode) {
|
|
3379
|
-
case "WAFInternalErrorException":
|
|
3380
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3381
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3382
|
-
case "WAFInvalidParameterException":
|
|
3383
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
3384
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
3385
|
-
case "WAFNonexistentItemException":
|
|
3386
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3387
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3388
|
-
default:
|
|
3389
|
-
const parsedBody = parsedOutput.body;
|
|
3390
|
-
return throwDefaultError({
|
|
3391
|
-
output,
|
|
3392
|
-
parsedBody,
|
|
3393
|
-
errorCode
|
|
3394
|
-
});
|
|
3395
|
-
}
|
|
3396
|
-
}, "de_ListActivatedRulesInRuleGroupCommandError");
|
|
3397
2007
|
var de_ListByteMatchSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3398
2008
|
if (output.statusCode >= 300) {
|
|
3399
|
-
return
|
|
2009
|
+
return de_CommandError(output, context);
|
|
3400
2010
|
}
|
|
3401
2011
|
const data = await parseBody(output.body, context);
|
|
3402
2012
|
let contents = {};
|
|
@@ -3407,31 +2017,9 @@ var de_ListByteMatchSetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3407
2017
|
};
|
|
3408
2018
|
return response;
|
|
3409
2019
|
}, "de_ListByteMatchSetsCommand");
|
|
3410
|
-
var de_ListByteMatchSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3411
|
-
const parsedOutput = {
|
|
3412
|
-
...output,
|
|
3413
|
-
body: await parseErrorBody(output.body, context)
|
|
3414
|
-
};
|
|
3415
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3416
|
-
switch (errorCode) {
|
|
3417
|
-
case "WAFInternalErrorException":
|
|
3418
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3419
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3420
|
-
case "WAFInvalidAccountException":
|
|
3421
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3422
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3423
|
-
default:
|
|
3424
|
-
const parsedBody = parsedOutput.body;
|
|
3425
|
-
return throwDefaultError({
|
|
3426
|
-
output,
|
|
3427
|
-
parsedBody,
|
|
3428
|
-
errorCode
|
|
3429
|
-
});
|
|
3430
|
-
}
|
|
3431
|
-
}, "de_ListByteMatchSetsCommandError");
|
|
3432
2020
|
var de_ListGeoMatchSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3433
2021
|
if (output.statusCode >= 300) {
|
|
3434
|
-
return
|
|
2022
|
+
return de_CommandError(output, context);
|
|
3435
2023
|
}
|
|
3436
2024
|
const data = await parseBody(output.body, context);
|
|
3437
2025
|
let contents = {};
|
|
@@ -3442,31 +2030,9 @@ var de_ListGeoMatchSetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3442
2030
|
};
|
|
3443
2031
|
return response;
|
|
3444
2032
|
}, "de_ListGeoMatchSetsCommand");
|
|
3445
|
-
var de_ListGeoMatchSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3446
|
-
const parsedOutput = {
|
|
3447
|
-
...output,
|
|
3448
|
-
body: await parseErrorBody(output.body, context)
|
|
3449
|
-
};
|
|
3450
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3451
|
-
switch (errorCode) {
|
|
3452
|
-
case "WAFInternalErrorException":
|
|
3453
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3454
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3455
|
-
case "WAFInvalidAccountException":
|
|
3456
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3457
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3458
|
-
default:
|
|
3459
|
-
const parsedBody = parsedOutput.body;
|
|
3460
|
-
return throwDefaultError({
|
|
3461
|
-
output,
|
|
3462
|
-
parsedBody,
|
|
3463
|
-
errorCode
|
|
3464
|
-
});
|
|
3465
|
-
}
|
|
3466
|
-
}, "de_ListGeoMatchSetsCommandError");
|
|
3467
2033
|
var de_ListIPSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3468
2034
|
if (output.statusCode >= 300) {
|
|
3469
|
-
return
|
|
2035
|
+
return de_CommandError(output, context);
|
|
3470
2036
|
}
|
|
3471
2037
|
const data = await parseBody(output.body, context);
|
|
3472
2038
|
let contents = {};
|
|
@@ -3477,31 +2043,9 @@ var de_ListIPSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3477
2043
|
};
|
|
3478
2044
|
return response;
|
|
3479
2045
|
}, "de_ListIPSetsCommand");
|
|
3480
|
-
var de_ListIPSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3481
|
-
const parsedOutput = {
|
|
3482
|
-
...output,
|
|
3483
|
-
body: await parseErrorBody(output.body, context)
|
|
3484
|
-
};
|
|
3485
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3486
|
-
switch (errorCode) {
|
|
3487
|
-
case "WAFInternalErrorException":
|
|
3488
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3489
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3490
|
-
case "WAFInvalidAccountException":
|
|
3491
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3492
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3493
|
-
default:
|
|
3494
|
-
const parsedBody = parsedOutput.body;
|
|
3495
|
-
return throwDefaultError({
|
|
3496
|
-
output,
|
|
3497
|
-
parsedBody,
|
|
3498
|
-
errorCode
|
|
3499
|
-
});
|
|
3500
|
-
}
|
|
3501
|
-
}, "de_ListIPSetsCommandError");
|
|
3502
2046
|
var de_ListLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3503
2047
|
if (output.statusCode >= 300) {
|
|
3504
|
-
return
|
|
2048
|
+
return de_CommandError(output, context);
|
|
3505
2049
|
}
|
|
3506
2050
|
const data = await parseBody(output.body, context);
|
|
3507
2051
|
let contents = {};
|
|
@@ -3512,34 +2056,9 @@ var de_ListLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3512
2056
|
};
|
|
3513
2057
|
return response;
|
|
3514
2058
|
}, "de_ListLoggingConfigurationsCommand");
|
|
3515
|
-
var de_ListLoggingConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3516
|
-
const parsedOutput = {
|
|
3517
|
-
...output,
|
|
3518
|
-
body: await parseErrorBody(output.body, context)
|
|
3519
|
-
};
|
|
3520
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3521
|
-
switch (errorCode) {
|
|
3522
|
-
case "WAFInternalErrorException":
|
|
3523
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3524
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3525
|
-
case "WAFInvalidParameterException":
|
|
3526
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
3527
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
3528
|
-
case "WAFNonexistentItemException":
|
|
3529
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3530
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3531
|
-
default:
|
|
3532
|
-
const parsedBody = parsedOutput.body;
|
|
3533
|
-
return throwDefaultError({
|
|
3534
|
-
output,
|
|
3535
|
-
parsedBody,
|
|
3536
|
-
errorCode
|
|
3537
|
-
});
|
|
3538
|
-
}
|
|
3539
|
-
}, "de_ListLoggingConfigurationsCommandError");
|
|
3540
2059
|
var de_ListRateBasedRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3541
2060
|
if (output.statusCode >= 300) {
|
|
3542
|
-
return
|
|
2061
|
+
return de_CommandError(output, context);
|
|
3543
2062
|
}
|
|
3544
2063
|
const data = await parseBody(output.body, context);
|
|
3545
2064
|
let contents = {};
|
|
@@ -3550,31 +2069,9 @@ var de_ListRateBasedRulesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3550
2069
|
};
|
|
3551
2070
|
return response;
|
|
3552
2071
|
}, "de_ListRateBasedRulesCommand");
|
|
3553
|
-
var de_ListRateBasedRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3554
|
-
const parsedOutput = {
|
|
3555
|
-
...output,
|
|
3556
|
-
body: await parseErrorBody(output.body, context)
|
|
3557
|
-
};
|
|
3558
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3559
|
-
switch (errorCode) {
|
|
3560
|
-
case "WAFInternalErrorException":
|
|
3561
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3562
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3563
|
-
case "WAFInvalidAccountException":
|
|
3564
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3565
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3566
|
-
default:
|
|
3567
|
-
const parsedBody = parsedOutput.body;
|
|
3568
|
-
return throwDefaultError({
|
|
3569
|
-
output,
|
|
3570
|
-
parsedBody,
|
|
3571
|
-
errorCode
|
|
3572
|
-
});
|
|
3573
|
-
}
|
|
3574
|
-
}, "de_ListRateBasedRulesCommandError");
|
|
3575
2072
|
var de_ListRegexMatchSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3576
2073
|
if (output.statusCode >= 300) {
|
|
3577
|
-
return
|
|
2074
|
+
return de_CommandError(output, context);
|
|
3578
2075
|
}
|
|
3579
2076
|
const data = await parseBody(output.body, context);
|
|
3580
2077
|
let contents = {};
|
|
@@ -3585,31 +2082,9 @@ var de_ListRegexMatchSetsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3585
2082
|
};
|
|
3586
2083
|
return response;
|
|
3587
2084
|
}, "de_ListRegexMatchSetsCommand");
|
|
3588
|
-
var de_ListRegexMatchSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3589
|
-
const parsedOutput = {
|
|
3590
|
-
...output,
|
|
3591
|
-
body: await parseErrorBody(output.body, context)
|
|
3592
|
-
};
|
|
3593
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3594
|
-
switch (errorCode) {
|
|
3595
|
-
case "WAFInternalErrorException":
|
|
3596
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3597
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3598
|
-
case "WAFInvalidAccountException":
|
|
3599
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3600
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3601
|
-
default:
|
|
3602
|
-
const parsedBody = parsedOutput.body;
|
|
3603
|
-
return throwDefaultError({
|
|
3604
|
-
output,
|
|
3605
|
-
parsedBody,
|
|
3606
|
-
errorCode
|
|
3607
|
-
});
|
|
3608
|
-
}
|
|
3609
|
-
}, "de_ListRegexMatchSetsCommandError");
|
|
3610
2085
|
var de_ListRegexPatternSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3611
2086
|
if (output.statusCode >= 300) {
|
|
3612
|
-
return
|
|
2087
|
+
return de_CommandError(output, context);
|
|
3613
2088
|
}
|
|
3614
2089
|
const data = await parseBody(output.body, context);
|
|
3615
2090
|
let contents = {};
|
|
@@ -3620,31 +2095,9 @@ var de_ListRegexPatternSetsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3620
2095
|
};
|
|
3621
2096
|
return response;
|
|
3622
2097
|
}, "de_ListRegexPatternSetsCommand");
|
|
3623
|
-
var de_ListRegexPatternSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3624
|
-
const parsedOutput = {
|
|
3625
|
-
...output,
|
|
3626
|
-
body: await parseErrorBody(output.body, context)
|
|
3627
|
-
};
|
|
3628
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3629
|
-
switch (errorCode) {
|
|
3630
|
-
case "WAFInternalErrorException":
|
|
3631
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3632
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3633
|
-
case "WAFInvalidAccountException":
|
|
3634
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3635
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3636
|
-
default:
|
|
3637
|
-
const parsedBody = parsedOutput.body;
|
|
3638
|
-
return throwDefaultError({
|
|
3639
|
-
output,
|
|
3640
|
-
parsedBody,
|
|
3641
|
-
errorCode
|
|
3642
|
-
});
|
|
3643
|
-
}
|
|
3644
|
-
}, "de_ListRegexPatternSetsCommandError");
|
|
3645
2098
|
var de_ListRuleGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3646
2099
|
if (output.statusCode >= 300) {
|
|
3647
|
-
return
|
|
2100
|
+
return de_CommandError(output, context);
|
|
3648
2101
|
}
|
|
3649
2102
|
const data = await parseBody(output.body, context);
|
|
3650
2103
|
let contents = {};
|
|
@@ -3655,28 +2108,9 @@ var de_ListRuleGroupsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3655
2108
|
};
|
|
3656
2109
|
return response;
|
|
3657
2110
|
}, "de_ListRuleGroupsCommand");
|
|
3658
|
-
var de_ListRuleGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3659
|
-
const parsedOutput = {
|
|
3660
|
-
...output,
|
|
3661
|
-
body: await parseErrorBody(output.body, context)
|
|
3662
|
-
};
|
|
3663
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3664
|
-
switch (errorCode) {
|
|
3665
|
-
case "WAFInternalErrorException":
|
|
3666
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3667
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3668
|
-
default:
|
|
3669
|
-
const parsedBody = parsedOutput.body;
|
|
3670
|
-
return throwDefaultError({
|
|
3671
|
-
output,
|
|
3672
|
-
parsedBody,
|
|
3673
|
-
errorCode
|
|
3674
|
-
});
|
|
3675
|
-
}
|
|
3676
|
-
}, "de_ListRuleGroupsCommandError");
|
|
3677
2111
|
var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3678
2112
|
if (output.statusCode >= 300) {
|
|
3679
|
-
return
|
|
2113
|
+
return de_CommandError(output, context);
|
|
3680
2114
|
}
|
|
3681
2115
|
const data = await parseBody(output.body, context);
|
|
3682
2116
|
let contents = {};
|
|
@@ -3687,31 +2121,9 @@ var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3687
2121
|
};
|
|
3688
2122
|
return response;
|
|
3689
2123
|
}, "de_ListRulesCommand");
|
|
3690
|
-
var de_ListRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3691
|
-
const parsedOutput = {
|
|
3692
|
-
...output,
|
|
3693
|
-
body: await parseErrorBody(output.body, context)
|
|
3694
|
-
};
|
|
3695
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3696
|
-
switch (errorCode) {
|
|
3697
|
-
case "WAFInternalErrorException":
|
|
3698
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3699
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3700
|
-
case "WAFInvalidAccountException":
|
|
3701
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3702
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3703
|
-
default:
|
|
3704
|
-
const parsedBody = parsedOutput.body;
|
|
3705
|
-
return throwDefaultError({
|
|
3706
|
-
output,
|
|
3707
|
-
parsedBody,
|
|
3708
|
-
errorCode
|
|
3709
|
-
});
|
|
3710
|
-
}
|
|
3711
|
-
}, "de_ListRulesCommandError");
|
|
3712
2124
|
var de_ListSizeConstraintSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3713
2125
|
if (output.statusCode >= 300) {
|
|
3714
|
-
return
|
|
2126
|
+
return de_CommandError(output, context);
|
|
3715
2127
|
}
|
|
3716
2128
|
const data = await parseBody(output.body, context);
|
|
3717
2129
|
let contents = {};
|
|
@@ -3722,31 +2134,9 @@ var de_ListSizeConstraintSetsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3722
2134
|
};
|
|
3723
2135
|
return response;
|
|
3724
2136
|
}, "de_ListSizeConstraintSetsCommand");
|
|
3725
|
-
var de_ListSizeConstraintSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3726
|
-
const parsedOutput = {
|
|
3727
|
-
...output,
|
|
3728
|
-
body: await parseErrorBody(output.body, context)
|
|
3729
|
-
};
|
|
3730
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3731
|
-
switch (errorCode) {
|
|
3732
|
-
case "WAFInternalErrorException":
|
|
3733
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3734
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3735
|
-
case "WAFInvalidAccountException":
|
|
3736
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3737
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3738
|
-
default:
|
|
3739
|
-
const parsedBody = parsedOutput.body;
|
|
3740
|
-
return throwDefaultError({
|
|
3741
|
-
output,
|
|
3742
|
-
parsedBody,
|
|
3743
|
-
errorCode
|
|
3744
|
-
});
|
|
3745
|
-
}
|
|
3746
|
-
}, "de_ListSizeConstraintSetsCommandError");
|
|
3747
2137
|
var de_ListSqlInjectionMatchSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3748
2138
|
if (output.statusCode >= 300) {
|
|
3749
|
-
return
|
|
2139
|
+
return de_CommandError(output, context);
|
|
3750
2140
|
}
|
|
3751
2141
|
const data = await parseBody(output.body, context);
|
|
3752
2142
|
let contents = {};
|
|
@@ -3757,31 +2147,9 @@ var de_ListSqlInjectionMatchSetsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3757
2147
|
};
|
|
3758
2148
|
return response;
|
|
3759
2149
|
}, "de_ListSqlInjectionMatchSetsCommand");
|
|
3760
|
-
var de_ListSqlInjectionMatchSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3761
|
-
const parsedOutput = {
|
|
3762
|
-
...output,
|
|
3763
|
-
body: await parseErrorBody(output.body, context)
|
|
3764
|
-
};
|
|
3765
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3766
|
-
switch (errorCode) {
|
|
3767
|
-
case "WAFInternalErrorException":
|
|
3768
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3769
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3770
|
-
case "WAFInvalidAccountException":
|
|
3771
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3772
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3773
|
-
default:
|
|
3774
|
-
const parsedBody = parsedOutput.body;
|
|
3775
|
-
return throwDefaultError({
|
|
3776
|
-
output,
|
|
3777
|
-
parsedBody,
|
|
3778
|
-
errorCode
|
|
3779
|
-
});
|
|
3780
|
-
}
|
|
3781
|
-
}, "de_ListSqlInjectionMatchSetsCommandError");
|
|
3782
2150
|
var de_ListSubscribedRuleGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3783
2151
|
if (output.statusCode >= 300) {
|
|
3784
|
-
return
|
|
2152
|
+
return de_CommandError(output, context);
|
|
3785
2153
|
}
|
|
3786
2154
|
const data = await parseBody(output.body, context);
|
|
3787
2155
|
let contents = {};
|
|
@@ -3792,31 +2160,9 @@ var de_ListSubscribedRuleGroupsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3792
2160
|
};
|
|
3793
2161
|
return response;
|
|
3794
2162
|
}, "de_ListSubscribedRuleGroupsCommand");
|
|
3795
|
-
var de_ListSubscribedRuleGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3796
|
-
const parsedOutput = {
|
|
3797
|
-
...output,
|
|
3798
|
-
body: await parseErrorBody(output.body, context)
|
|
3799
|
-
};
|
|
3800
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3801
|
-
switch (errorCode) {
|
|
3802
|
-
case "WAFInternalErrorException":
|
|
3803
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3804
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3805
|
-
case "WAFNonexistentItemException":
|
|
3806
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3807
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3808
|
-
default:
|
|
3809
|
-
const parsedBody = parsedOutput.body;
|
|
3810
|
-
return throwDefaultError({
|
|
3811
|
-
output,
|
|
3812
|
-
parsedBody,
|
|
3813
|
-
errorCode
|
|
3814
|
-
});
|
|
3815
|
-
}
|
|
3816
|
-
}, "de_ListSubscribedRuleGroupsCommandError");
|
|
3817
2163
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3818
2164
|
if (output.statusCode >= 300) {
|
|
3819
|
-
return
|
|
2165
|
+
return de_CommandError(output, context);
|
|
3820
2166
|
}
|
|
3821
2167
|
const data = await parseBody(output.body, context);
|
|
3822
2168
|
let contents = {};
|
|
@@ -3827,43 +2173,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3827
2173
|
};
|
|
3828
2174
|
return response;
|
|
3829
2175
|
}, "de_ListTagsForResourceCommand");
|
|
3830
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3831
|
-
const parsedOutput = {
|
|
3832
|
-
...output,
|
|
3833
|
-
body: await parseErrorBody(output.body, context)
|
|
3834
|
-
};
|
|
3835
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3836
|
-
switch (errorCode) {
|
|
3837
|
-
case "WAFBadRequestException":
|
|
3838
|
-
case "com.amazonaws.waf#WAFBadRequestException":
|
|
3839
|
-
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
3840
|
-
case "WAFInternalErrorException":
|
|
3841
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3842
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3843
|
-
case "WAFInvalidParameterException":
|
|
3844
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
3845
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
3846
|
-
case "WAFNonexistentItemException":
|
|
3847
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3848
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3849
|
-
case "WAFTagOperationException":
|
|
3850
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
3851
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
3852
|
-
case "WAFTagOperationInternalErrorException":
|
|
3853
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
3854
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
3855
|
-
default:
|
|
3856
|
-
const parsedBody = parsedOutput.body;
|
|
3857
|
-
return throwDefaultError({
|
|
3858
|
-
output,
|
|
3859
|
-
parsedBody,
|
|
3860
|
-
errorCode
|
|
3861
|
-
});
|
|
3862
|
-
}
|
|
3863
|
-
}, "de_ListTagsForResourceCommandError");
|
|
3864
2176
|
var de_ListWebACLsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3865
2177
|
if (output.statusCode >= 300) {
|
|
3866
|
-
return
|
|
2178
|
+
return de_CommandError(output, context);
|
|
3867
2179
|
}
|
|
3868
2180
|
const data = await parseBody(output.body, context);
|
|
3869
2181
|
let contents = {};
|
|
@@ -3874,31 +2186,9 @@ var de_ListWebACLsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3874
2186
|
};
|
|
3875
2187
|
return response;
|
|
3876
2188
|
}, "de_ListWebACLsCommand");
|
|
3877
|
-
var de_ListWebACLsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3878
|
-
const parsedOutput = {
|
|
3879
|
-
...output,
|
|
3880
|
-
body: await parseErrorBody(output.body, context)
|
|
3881
|
-
};
|
|
3882
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3883
|
-
switch (errorCode) {
|
|
3884
|
-
case "WAFInternalErrorException":
|
|
3885
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3886
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3887
|
-
case "WAFInvalidAccountException":
|
|
3888
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3889
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3890
|
-
default:
|
|
3891
|
-
const parsedBody = parsedOutput.body;
|
|
3892
|
-
return throwDefaultError({
|
|
3893
|
-
output,
|
|
3894
|
-
parsedBody,
|
|
3895
|
-
errorCode
|
|
3896
|
-
});
|
|
3897
|
-
}
|
|
3898
|
-
}, "de_ListWebACLsCommandError");
|
|
3899
2189
|
var de_ListXssMatchSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3900
2190
|
if (output.statusCode >= 300) {
|
|
3901
|
-
return
|
|
2191
|
+
return de_CommandError(output, context);
|
|
3902
2192
|
}
|
|
3903
2193
|
const data = await parseBody(output.body, context);
|
|
3904
2194
|
let contents = {};
|
|
@@ -3909,31 +2199,9 @@ var de_ListXssMatchSetsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3909
2199
|
};
|
|
3910
2200
|
return response;
|
|
3911
2201
|
}, "de_ListXssMatchSetsCommand");
|
|
3912
|
-
var de_ListXssMatchSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3913
|
-
const parsedOutput = {
|
|
3914
|
-
...output,
|
|
3915
|
-
body: await parseErrorBody(output.body, context)
|
|
3916
|
-
};
|
|
3917
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3918
|
-
switch (errorCode) {
|
|
3919
|
-
case "WAFInternalErrorException":
|
|
3920
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3921
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3922
|
-
case "WAFInvalidAccountException":
|
|
3923
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
3924
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3925
|
-
default:
|
|
3926
|
-
const parsedBody = parsedOutput.body;
|
|
3927
|
-
return throwDefaultError({
|
|
3928
|
-
output,
|
|
3929
|
-
parsedBody,
|
|
3930
|
-
errorCode
|
|
3931
|
-
});
|
|
3932
|
-
}
|
|
3933
|
-
}, "de_ListXssMatchSetsCommandError");
|
|
3934
2202
|
var de_PutLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3935
2203
|
if (output.statusCode >= 300) {
|
|
3936
|
-
return
|
|
2204
|
+
return de_CommandError(output, context);
|
|
3937
2205
|
}
|
|
3938
2206
|
const data = await parseBody(output.body, context);
|
|
3939
2207
|
let contents = {};
|
|
@@ -3944,37 +2212,9 @@ var de_PutLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3944
2212
|
};
|
|
3945
2213
|
return response;
|
|
3946
2214
|
}, "de_PutLoggingConfigurationCommand");
|
|
3947
|
-
var de_PutLoggingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3948
|
-
const parsedOutput = {
|
|
3949
|
-
...output,
|
|
3950
|
-
body: await parseErrorBody(output.body, context)
|
|
3951
|
-
};
|
|
3952
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3953
|
-
switch (errorCode) {
|
|
3954
|
-
case "WAFInternalErrorException":
|
|
3955
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3956
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3957
|
-
case "WAFNonexistentItemException":
|
|
3958
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
3959
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3960
|
-
case "WAFServiceLinkedRoleErrorException":
|
|
3961
|
-
case "com.amazonaws.waf#WAFServiceLinkedRoleErrorException":
|
|
3962
|
-
throw await de_WAFServiceLinkedRoleErrorExceptionRes(parsedOutput, context);
|
|
3963
|
-
case "WAFStaleDataException":
|
|
3964
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
3965
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3966
|
-
default:
|
|
3967
|
-
const parsedBody = parsedOutput.body;
|
|
3968
|
-
return throwDefaultError({
|
|
3969
|
-
output,
|
|
3970
|
-
parsedBody,
|
|
3971
|
-
errorCode
|
|
3972
|
-
});
|
|
3973
|
-
}
|
|
3974
|
-
}, "de_PutLoggingConfigurationCommandError");
|
|
3975
2215
|
var de_PutPermissionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3976
2216
|
if (output.statusCode >= 300) {
|
|
3977
|
-
return
|
|
2217
|
+
return de_CommandError(output, context);
|
|
3978
2218
|
}
|
|
3979
2219
|
const data = await parseBody(output.body, context);
|
|
3980
2220
|
let contents = {};
|
|
@@ -3985,37 +2225,9 @@ var de_PutPermissionPolicyCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3985
2225
|
};
|
|
3986
2226
|
return response;
|
|
3987
2227
|
}, "de_PutPermissionPolicyCommand");
|
|
3988
|
-
var de_PutPermissionPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3989
|
-
const parsedOutput = {
|
|
3990
|
-
...output,
|
|
3991
|
-
body: await parseErrorBody(output.body, context)
|
|
3992
|
-
};
|
|
3993
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3994
|
-
switch (errorCode) {
|
|
3995
|
-
case "WAFInternalErrorException":
|
|
3996
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
3997
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
3998
|
-
case "WAFInvalidPermissionPolicyException":
|
|
3999
|
-
case "com.amazonaws.waf#WAFInvalidPermissionPolicyException":
|
|
4000
|
-
throw await de_WAFInvalidPermissionPolicyExceptionRes(parsedOutput, context);
|
|
4001
|
-
case "WAFNonexistentItemException":
|
|
4002
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4003
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4004
|
-
case "WAFStaleDataException":
|
|
4005
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4006
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4007
|
-
default:
|
|
4008
|
-
const parsedBody = parsedOutput.body;
|
|
4009
|
-
return throwDefaultError({
|
|
4010
|
-
output,
|
|
4011
|
-
parsedBody,
|
|
4012
|
-
errorCode
|
|
4013
|
-
});
|
|
4014
|
-
}
|
|
4015
|
-
}, "de_PutPermissionPolicyCommandError");
|
|
4016
2228
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4017
2229
|
if (output.statusCode >= 300) {
|
|
4018
|
-
return
|
|
2230
|
+
return de_CommandError(output, context);
|
|
4019
2231
|
}
|
|
4020
2232
|
const data = await parseBody(output.body, context);
|
|
4021
2233
|
let contents = {};
|
|
@@ -4026,46 +2238,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4026
2238
|
};
|
|
4027
2239
|
return response;
|
|
4028
2240
|
}, "de_TagResourceCommand");
|
|
4029
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4030
|
-
const parsedOutput = {
|
|
4031
|
-
...output,
|
|
4032
|
-
body: await parseErrorBody(output.body, context)
|
|
4033
|
-
};
|
|
4034
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4035
|
-
switch (errorCode) {
|
|
4036
|
-
case "WAFBadRequestException":
|
|
4037
|
-
case "com.amazonaws.waf#WAFBadRequestException":
|
|
4038
|
-
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
4039
|
-
case "WAFInternalErrorException":
|
|
4040
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4041
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4042
|
-
case "WAFInvalidParameterException":
|
|
4043
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4044
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4045
|
-
case "WAFLimitsExceededException":
|
|
4046
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4047
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4048
|
-
case "WAFNonexistentItemException":
|
|
4049
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4050
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4051
|
-
case "WAFTagOperationException":
|
|
4052
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
4053
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
4054
|
-
case "WAFTagOperationInternalErrorException":
|
|
4055
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
4056
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
4057
|
-
default:
|
|
4058
|
-
const parsedBody = parsedOutput.body;
|
|
4059
|
-
return throwDefaultError({
|
|
4060
|
-
output,
|
|
4061
|
-
parsedBody,
|
|
4062
|
-
errorCode
|
|
4063
|
-
});
|
|
4064
|
-
}
|
|
4065
|
-
}, "de_TagResourceCommandError");
|
|
4066
2241
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4067
2242
|
if (output.statusCode >= 300) {
|
|
4068
|
-
return
|
|
2243
|
+
return de_CommandError(output, context);
|
|
4069
2244
|
}
|
|
4070
2245
|
const data = await parseBody(output.body, context);
|
|
4071
2246
|
let contents = {};
|
|
@@ -4076,43 +2251,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
4076
2251
|
};
|
|
4077
2252
|
return response;
|
|
4078
2253
|
}, "de_UntagResourceCommand");
|
|
4079
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4080
|
-
const parsedOutput = {
|
|
4081
|
-
...output,
|
|
4082
|
-
body: await parseErrorBody(output.body, context)
|
|
4083
|
-
};
|
|
4084
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4085
|
-
switch (errorCode) {
|
|
4086
|
-
case "WAFBadRequestException":
|
|
4087
|
-
case "com.amazonaws.waf#WAFBadRequestException":
|
|
4088
|
-
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
4089
|
-
case "WAFInternalErrorException":
|
|
4090
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4091
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4092
|
-
case "WAFInvalidParameterException":
|
|
4093
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4094
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4095
|
-
case "WAFNonexistentItemException":
|
|
4096
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4097
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4098
|
-
case "WAFTagOperationException":
|
|
4099
|
-
case "com.amazonaws.waf#WAFTagOperationException":
|
|
4100
|
-
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
4101
|
-
case "WAFTagOperationInternalErrorException":
|
|
4102
|
-
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
4103
|
-
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
4104
|
-
default:
|
|
4105
|
-
const parsedBody = parsedOutput.body;
|
|
4106
|
-
return throwDefaultError({
|
|
4107
|
-
output,
|
|
4108
|
-
parsedBody,
|
|
4109
|
-
errorCode
|
|
4110
|
-
});
|
|
4111
|
-
}
|
|
4112
|
-
}, "de_UntagResourceCommandError");
|
|
4113
2254
|
var de_UpdateByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4114
2255
|
if (output.statusCode >= 300) {
|
|
4115
|
-
return
|
|
2256
|
+
return de_CommandError(output, context);
|
|
4116
2257
|
}
|
|
4117
2258
|
const data = await parseBody(output.body, context);
|
|
4118
2259
|
let contents = {};
|
|
@@ -4123,49 +2264,9 @@ var de_UpdateByteMatchSetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
4123
2264
|
};
|
|
4124
2265
|
return response;
|
|
4125
2266
|
}, "de_UpdateByteMatchSetCommand");
|
|
4126
|
-
var de_UpdateByteMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4127
|
-
const parsedOutput = {
|
|
4128
|
-
...output,
|
|
4129
|
-
body: await parseErrorBody(output.body, context)
|
|
4130
|
-
};
|
|
4131
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4132
|
-
switch (errorCode) {
|
|
4133
|
-
case "WAFInternalErrorException":
|
|
4134
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4135
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4136
|
-
case "WAFInvalidAccountException":
|
|
4137
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4138
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4139
|
-
case "WAFInvalidOperationException":
|
|
4140
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4141
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4142
|
-
case "WAFInvalidParameterException":
|
|
4143
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4144
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4145
|
-
case "WAFLimitsExceededException":
|
|
4146
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4147
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4148
|
-
case "WAFNonexistentContainerException":
|
|
4149
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4150
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4151
|
-
case "WAFNonexistentItemException":
|
|
4152
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4153
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4154
|
-
case "WAFStaleDataException":
|
|
4155
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4156
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4157
|
-
default:
|
|
4158
|
-
const parsedBody = parsedOutput.body;
|
|
4159
|
-
return throwDefaultError({
|
|
4160
|
-
output,
|
|
4161
|
-
parsedBody,
|
|
4162
|
-
errorCode
|
|
4163
|
-
});
|
|
4164
|
-
}
|
|
4165
|
-
}, "de_UpdateByteMatchSetCommandError");
|
|
4166
2267
|
var de_UpdateGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4167
2268
|
if (output.statusCode >= 300) {
|
|
4168
|
-
return
|
|
2269
|
+
return de_CommandError(output, context);
|
|
4169
2270
|
}
|
|
4170
2271
|
const data = await parseBody(output.body, context);
|
|
4171
2272
|
let contents = {};
|
|
@@ -4176,52 +2277,9 @@ var de_UpdateGeoMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4176
2277
|
};
|
|
4177
2278
|
return response;
|
|
4178
2279
|
}, "de_UpdateGeoMatchSetCommand");
|
|
4179
|
-
var de_UpdateGeoMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4180
|
-
const parsedOutput = {
|
|
4181
|
-
...output,
|
|
4182
|
-
body: await parseErrorBody(output.body, context)
|
|
4183
|
-
};
|
|
4184
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4185
|
-
switch (errorCode) {
|
|
4186
|
-
case "WAFInternalErrorException":
|
|
4187
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4188
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4189
|
-
case "WAFInvalidAccountException":
|
|
4190
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4191
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4192
|
-
case "WAFInvalidOperationException":
|
|
4193
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4194
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4195
|
-
case "WAFInvalidParameterException":
|
|
4196
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4197
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4198
|
-
case "WAFLimitsExceededException":
|
|
4199
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4200
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4201
|
-
case "WAFNonexistentContainerException":
|
|
4202
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4203
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4204
|
-
case "WAFNonexistentItemException":
|
|
4205
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4206
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4207
|
-
case "WAFReferencedItemException":
|
|
4208
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
4209
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
4210
|
-
case "WAFStaleDataException":
|
|
4211
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4212
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4213
|
-
default:
|
|
4214
|
-
const parsedBody = parsedOutput.body;
|
|
4215
|
-
return throwDefaultError({
|
|
4216
|
-
output,
|
|
4217
|
-
parsedBody,
|
|
4218
|
-
errorCode
|
|
4219
|
-
});
|
|
4220
|
-
}
|
|
4221
|
-
}, "de_UpdateGeoMatchSetCommandError");
|
|
4222
2280
|
var de_UpdateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4223
2281
|
if (output.statusCode >= 300) {
|
|
4224
|
-
return
|
|
2282
|
+
return de_CommandError(output, context);
|
|
4225
2283
|
}
|
|
4226
2284
|
const data = await parseBody(output.body, context);
|
|
4227
2285
|
let contents = {};
|
|
@@ -4232,52 +2290,9 @@ var de_UpdateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4232
2290
|
};
|
|
4233
2291
|
return response;
|
|
4234
2292
|
}, "de_UpdateIPSetCommand");
|
|
4235
|
-
var de_UpdateIPSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4236
|
-
const parsedOutput = {
|
|
4237
|
-
...output,
|
|
4238
|
-
body: await parseErrorBody(output.body, context)
|
|
4239
|
-
};
|
|
4240
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4241
|
-
switch (errorCode) {
|
|
4242
|
-
case "WAFInternalErrorException":
|
|
4243
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4244
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4245
|
-
case "WAFInvalidAccountException":
|
|
4246
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4247
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4248
|
-
case "WAFInvalidOperationException":
|
|
4249
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4250
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4251
|
-
case "WAFInvalidParameterException":
|
|
4252
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4253
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4254
|
-
case "WAFLimitsExceededException":
|
|
4255
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4256
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4257
|
-
case "WAFNonexistentContainerException":
|
|
4258
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4259
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4260
|
-
case "WAFNonexistentItemException":
|
|
4261
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4262
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4263
|
-
case "WAFReferencedItemException":
|
|
4264
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
4265
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
4266
|
-
case "WAFStaleDataException":
|
|
4267
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4268
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4269
|
-
default:
|
|
4270
|
-
const parsedBody = parsedOutput.body;
|
|
4271
|
-
return throwDefaultError({
|
|
4272
|
-
output,
|
|
4273
|
-
parsedBody,
|
|
4274
|
-
errorCode
|
|
4275
|
-
});
|
|
4276
|
-
}
|
|
4277
|
-
}, "de_UpdateIPSetCommandError");
|
|
4278
2293
|
var de_UpdateRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4279
2294
|
if (output.statusCode >= 300) {
|
|
4280
|
-
return
|
|
2295
|
+
return de_CommandError(output, context);
|
|
4281
2296
|
}
|
|
4282
2297
|
const data = await parseBody(output.body, context);
|
|
4283
2298
|
let contents = {};
|
|
@@ -4288,52 +2303,9 @@ var de_UpdateRateBasedRuleCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4288
2303
|
};
|
|
4289
2304
|
return response;
|
|
4290
2305
|
}, "de_UpdateRateBasedRuleCommand");
|
|
4291
|
-
var de_UpdateRateBasedRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4292
|
-
const parsedOutput = {
|
|
4293
|
-
...output,
|
|
4294
|
-
body: await parseErrorBody(output.body, context)
|
|
4295
|
-
};
|
|
4296
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4297
|
-
switch (errorCode) {
|
|
4298
|
-
case "WAFInternalErrorException":
|
|
4299
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4300
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4301
|
-
case "WAFInvalidAccountException":
|
|
4302
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4303
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4304
|
-
case "WAFInvalidOperationException":
|
|
4305
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4306
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4307
|
-
case "WAFInvalidParameterException":
|
|
4308
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4309
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4310
|
-
case "WAFLimitsExceededException":
|
|
4311
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4312
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4313
|
-
case "WAFNonexistentContainerException":
|
|
4314
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4315
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4316
|
-
case "WAFNonexistentItemException":
|
|
4317
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4318
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4319
|
-
case "WAFReferencedItemException":
|
|
4320
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
4321
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
4322
|
-
case "WAFStaleDataException":
|
|
4323
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4324
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4325
|
-
default:
|
|
4326
|
-
const parsedBody = parsedOutput.body;
|
|
4327
|
-
return throwDefaultError({
|
|
4328
|
-
output,
|
|
4329
|
-
parsedBody,
|
|
4330
|
-
errorCode
|
|
4331
|
-
});
|
|
4332
|
-
}
|
|
4333
|
-
}, "de_UpdateRateBasedRuleCommandError");
|
|
4334
2306
|
var de_UpdateRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4335
2307
|
if (output.statusCode >= 300) {
|
|
4336
|
-
return
|
|
2308
|
+
return de_CommandError(output, context);
|
|
4337
2309
|
}
|
|
4338
2310
|
const data = await parseBody(output.body, context);
|
|
4339
2311
|
let contents = {};
|
|
@@ -4344,102 +2316,22 @@ var de_UpdateRegexMatchSetCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
4344
2316
|
};
|
|
4345
2317
|
return response;
|
|
4346
2318
|
}, "de_UpdateRegexMatchSetCommand");
|
|
4347
|
-
var de_UpdateRegexMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4348
|
-
const parsedOutput = {
|
|
4349
|
-
...output,
|
|
4350
|
-
body: await parseErrorBody(output.body, context)
|
|
4351
|
-
};
|
|
4352
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4353
|
-
switch (errorCode) {
|
|
4354
|
-
case "WAFDisallowedNameException":
|
|
4355
|
-
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
4356
|
-
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
4357
|
-
case "WAFInternalErrorException":
|
|
4358
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4359
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4360
|
-
case "WAFInvalidAccountException":
|
|
4361
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4362
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4363
|
-
case "WAFInvalidOperationException":
|
|
4364
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4365
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4366
|
-
case "WAFLimitsExceededException":
|
|
4367
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4368
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4369
|
-
case "WAFNonexistentContainerException":
|
|
4370
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4371
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4372
|
-
case "WAFNonexistentItemException":
|
|
4373
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4374
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4375
|
-
case "WAFStaleDataException":
|
|
4376
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4377
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4378
|
-
default:
|
|
4379
|
-
const parsedBody = parsedOutput.body;
|
|
4380
|
-
return throwDefaultError({
|
|
4381
|
-
output,
|
|
4382
|
-
parsedBody,
|
|
4383
|
-
errorCode
|
|
4384
|
-
});
|
|
4385
|
-
}
|
|
4386
|
-
}, "de_UpdateRegexMatchSetCommandError");
|
|
4387
2319
|
var de_UpdateRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4388
2320
|
if (output.statusCode >= 300) {
|
|
4389
|
-
return
|
|
2321
|
+
return de_CommandError(output, context);
|
|
4390
2322
|
}
|
|
4391
2323
|
const data = await parseBody(output.body, context);
|
|
4392
2324
|
let contents = {};
|
|
4393
2325
|
contents = (0, import_smithy_client._json)(data);
|
|
4394
|
-
const response = {
|
|
4395
|
-
$metadata: deserializeMetadata(output),
|
|
4396
|
-
...contents
|
|
4397
|
-
};
|
|
4398
|
-
return response;
|
|
4399
|
-
}, "de_UpdateRegexPatternSetCommand");
|
|
4400
|
-
var de_UpdateRegexPatternSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4401
|
-
const parsedOutput = {
|
|
4402
|
-
...output,
|
|
4403
|
-
body: await parseErrorBody(output.body, context)
|
|
4404
|
-
};
|
|
4405
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4406
|
-
switch (errorCode) {
|
|
4407
|
-
case "WAFInternalErrorException":
|
|
4408
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4409
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4410
|
-
case "WAFInvalidAccountException":
|
|
4411
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4412
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4413
|
-
case "WAFInvalidOperationException":
|
|
4414
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4415
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4416
|
-
case "WAFInvalidRegexPatternException":
|
|
4417
|
-
case "com.amazonaws.waf#WAFInvalidRegexPatternException":
|
|
4418
|
-
throw await de_WAFInvalidRegexPatternExceptionRes(parsedOutput, context);
|
|
4419
|
-
case "WAFLimitsExceededException":
|
|
4420
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4421
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4422
|
-
case "WAFNonexistentContainerException":
|
|
4423
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4424
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4425
|
-
case "WAFNonexistentItemException":
|
|
4426
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4427
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4428
|
-
case "WAFStaleDataException":
|
|
4429
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4430
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4431
|
-
default:
|
|
4432
|
-
const parsedBody = parsedOutput.body;
|
|
4433
|
-
return throwDefaultError({
|
|
4434
|
-
output,
|
|
4435
|
-
parsedBody,
|
|
4436
|
-
errorCode
|
|
4437
|
-
});
|
|
4438
|
-
}
|
|
4439
|
-
}, "de_UpdateRegexPatternSetCommandError");
|
|
2326
|
+
const response = {
|
|
2327
|
+
$metadata: deserializeMetadata(output),
|
|
2328
|
+
...contents
|
|
2329
|
+
};
|
|
2330
|
+
return response;
|
|
2331
|
+
}, "de_UpdateRegexPatternSetCommand");
|
|
4440
2332
|
var de_UpdateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4441
2333
|
if (output.statusCode >= 300) {
|
|
4442
|
-
return
|
|
2334
|
+
return de_CommandError(output, context);
|
|
4443
2335
|
}
|
|
4444
2336
|
const data = await parseBody(output.body, context);
|
|
4445
2337
|
let contents = {};
|
|
@@ -4450,52 +2342,9 @@ var de_UpdateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4450
2342
|
};
|
|
4451
2343
|
return response;
|
|
4452
2344
|
}, "de_UpdateRuleCommand");
|
|
4453
|
-
var de_UpdateRuleCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4454
|
-
const parsedOutput = {
|
|
4455
|
-
...output,
|
|
4456
|
-
body: await parseErrorBody(output.body, context)
|
|
4457
|
-
};
|
|
4458
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4459
|
-
switch (errorCode) {
|
|
4460
|
-
case "WAFInternalErrorException":
|
|
4461
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4462
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4463
|
-
case "WAFInvalidAccountException":
|
|
4464
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4465
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4466
|
-
case "WAFInvalidOperationException":
|
|
4467
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4468
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4469
|
-
case "WAFInvalidParameterException":
|
|
4470
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4471
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4472
|
-
case "WAFLimitsExceededException":
|
|
4473
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4474
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4475
|
-
case "WAFNonexistentContainerException":
|
|
4476
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4477
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4478
|
-
case "WAFNonexistentItemException":
|
|
4479
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4480
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4481
|
-
case "WAFReferencedItemException":
|
|
4482
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
4483
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
4484
|
-
case "WAFStaleDataException":
|
|
4485
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4486
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4487
|
-
default:
|
|
4488
|
-
const parsedBody = parsedOutput.body;
|
|
4489
|
-
return throwDefaultError({
|
|
4490
|
-
output,
|
|
4491
|
-
parsedBody,
|
|
4492
|
-
errorCode
|
|
4493
|
-
});
|
|
4494
|
-
}
|
|
4495
|
-
}, "de_UpdateRuleCommandError");
|
|
4496
2345
|
var de_UpdateRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4497
2346
|
if (output.statusCode >= 300) {
|
|
4498
|
-
return
|
|
2347
|
+
return de_CommandError(output, context);
|
|
4499
2348
|
}
|
|
4500
2349
|
const data = await parseBody(output.body, context);
|
|
4501
2350
|
let contents = {};
|
|
@@ -4506,46 +2355,9 @@ var de_UpdateRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
4506
2355
|
};
|
|
4507
2356
|
return response;
|
|
4508
2357
|
}, "de_UpdateRuleGroupCommand");
|
|
4509
|
-
var de_UpdateRuleGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4510
|
-
const parsedOutput = {
|
|
4511
|
-
...output,
|
|
4512
|
-
body: await parseErrorBody(output.body, context)
|
|
4513
|
-
};
|
|
4514
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4515
|
-
switch (errorCode) {
|
|
4516
|
-
case "WAFInternalErrorException":
|
|
4517
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4518
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4519
|
-
case "WAFInvalidOperationException":
|
|
4520
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4521
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4522
|
-
case "WAFInvalidParameterException":
|
|
4523
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4524
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4525
|
-
case "WAFLimitsExceededException":
|
|
4526
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4527
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4528
|
-
case "WAFNonexistentContainerException":
|
|
4529
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4530
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4531
|
-
case "WAFNonexistentItemException":
|
|
4532
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4533
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4534
|
-
case "WAFStaleDataException":
|
|
4535
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4536
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4537
|
-
default:
|
|
4538
|
-
const parsedBody = parsedOutput.body;
|
|
4539
|
-
return throwDefaultError({
|
|
4540
|
-
output,
|
|
4541
|
-
parsedBody,
|
|
4542
|
-
errorCode
|
|
4543
|
-
});
|
|
4544
|
-
}
|
|
4545
|
-
}, "de_UpdateRuleGroupCommandError");
|
|
4546
2358
|
var de_UpdateSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4547
2359
|
if (output.statusCode >= 300) {
|
|
4548
|
-
return
|
|
2360
|
+
return de_CommandError(output, context);
|
|
4549
2361
|
}
|
|
4550
2362
|
const data = await parseBody(output.body, context);
|
|
4551
2363
|
let contents = {};
|
|
@@ -4556,52 +2368,9 @@ var de_UpdateSizeConstraintSetCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
4556
2368
|
};
|
|
4557
2369
|
return response;
|
|
4558
2370
|
}, "de_UpdateSizeConstraintSetCommand");
|
|
4559
|
-
var de_UpdateSizeConstraintSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4560
|
-
const parsedOutput = {
|
|
4561
|
-
...output,
|
|
4562
|
-
body: await parseErrorBody(output.body, context)
|
|
4563
|
-
};
|
|
4564
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4565
|
-
switch (errorCode) {
|
|
4566
|
-
case "WAFInternalErrorException":
|
|
4567
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4568
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4569
|
-
case "WAFInvalidAccountException":
|
|
4570
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4571
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4572
|
-
case "WAFInvalidOperationException":
|
|
4573
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4574
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4575
|
-
case "WAFInvalidParameterException":
|
|
4576
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4577
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4578
|
-
case "WAFLimitsExceededException":
|
|
4579
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4580
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4581
|
-
case "WAFNonexistentContainerException":
|
|
4582
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4583
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4584
|
-
case "WAFNonexistentItemException":
|
|
4585
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4586
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4587
|
-
case "WAFReferencedItemException":
|
|
4588
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
4589
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
4590
|
-
case "WAFStaleDataException":
|
|
4591
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4592
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4593
|
-
default:
|
|
4594
|
-
const parsedBody = parsedOutput.body;
|
|
4595
|
-
return throwDefaultError({
|
|
4596
|
-
output,
|
|
4597
|
-
parsedBody,
|
|
4598
|
-
errorCode
|
|
4599
|
-
});
|
|
4600
|
-
}
|
|
4601
|
-
}, "de_UpdateSizeConstraintSetCommandError");
|
|
4602
2371
|
var de_UpdateSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4603
2372
|
if (output.statusCode >= 300) {
|
|
4604
|
-
return
|
|
2373
|
+
return de_CommandError(output, context);
|
|
4605
2374
|
}
|
|
4606
2375
|
const data = await parseBody(output.body, context);
|
|
4607
2376
|
let contents = {};
|
|
@@ -4612,49 +2381,9 @@ var de_UpdateSqlInjectionMatchSetCommand = /* @__PURE__ */ __name(async (output,
|
|
|
4612
2381
|
};
|
|
4613
2382
|
return response;
|
|
4614
2383
|
}, "de_UpdateSqlInjectionMatchSetCommand");
|
|
4615
|
-
var de_UpdateSqlInjectionMatchSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4616
|
-
const parsedOutput = {
|
|
4617
|
-
...output,
|
|
4618
|
-
body: await parseErrorBody(output.body, context)
|
|
4619
|
-
};
|
|
4620
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4621
|
-
switch (errorCode) {
|
|
4622
|
-
case "WAFInternalErrorException":
|
|
4623
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4624
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4625
|
-
case "WAFInvalidAccountException":
|
|
4626
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4627
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4628
|
-
case "WAFInvalidOperationException":
|
|
4629
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4630
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4631
|
-
case "WAFInvalidParameterException":
|
|
4632
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4633
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4634
|
-
case "WAFLimitsExceededException":
|
|
4635
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4636
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4637
|
-
case "WAFNonexistentContainerException":
|
|
4638
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4639
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4640
|
-
case "WAFNonexistentItemException":
|
|
4641
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4642
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4643
|
-
case "WAFStaleDataException":
|
|
4644
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4645
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4646
|
-
default:
|
|
4647
|
-
const parsedBody = parsedOutput.body;
|
|
4648
|
-
return throwDefaultError({
|
|
4649
|
-
output,
|
|
4650
|
-
parsedBody,
|
|
4651
|
-
errorCode
|
|
4652
|
-
});
|
|
4653
|
-
}
|
|
4654
|
-
}, "de_UpdateSqlInjectionMatchSetCommandError");
|
|
4655
2384
|
var de_UpdateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4656
2385
|
if (output.statusCode >= 300) {
|
|
4657
|
-
return
|
|
2386
|
+
return de_CommandError(output, context);
|
|
4658
2387
|
}
|
|
4659
2388
|
const data = await parseBody(output.body, context);
|
|
4660
2389
|
let contents = {};
|
|
@@ -4665,55 +2394,9 @@ var de_UpdateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4665
2394
|
};
|
|
4666
2395
|
return response;
|
|
4667
2396
|
}, "de_UpdateWebACLCommand");
|
|
4668
|
-
var de_UpdateWebACLCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4669
|
-
const parsedOutput = {
|
|
4670
|
-
...output,
|
|
4671
|
-
body: await parseErrorBody(output.body, context)
|
|
4672
|
-
};
|
|
4673
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4674
|
-
switch (errorCode) {
|
|
4675
|
-
case "WAFInternalErrorException":
|
|
4676
|
-
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4677
|
-
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4678
|
-
case "WAFInvalidAccountException":
|
|
4679
|
-
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4680
|
-
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4681
|
-
case "WAFInvalidOperationException":
|
|
4682
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4683
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4684
|
-
case "WAFInvalidParameterException":
|
|
4685
|
-
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4686
|
-
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4687
|
-
case "WAFLimitsExceededException":
|
|
4688
|
-
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4689
|
-
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4690
|
-
case "WAFNonexistentContainerException":
|
|
4691
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4692
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4693
|
-
case "WAFNonexistentItemException":
|
|
4694
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4695
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4696
|
-
case "WAFReferencedItemException":
|
|
4697
|
-
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
4698
|
-
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
4699
|
-
case "WAFStaleDataException":
|
|
4700
|
-
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4701
|
-
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4702
|
-
case "WAFSubscriptionNotFoundException":
|
|
4703
|
-
case "com.amazonaws.waf#WAFSubscriptionNotFoundException":
|
|
4704
|
-
throw await de_WAFSubscriptionNotFoundExceptionRes(parsedOutput, context);
|
|
4705
|
-
default:
|
|
4706
|
-
const parsedBody = parsedOutput.body;
|
|
4707
|
-
return throwDefaultError({
|
|
4708
|
-
output,
|
|
4709
|
-
parsedBody,
|
|
4710
|
-
errorCode
|
|
4711
|
-
});
|
|
4712
|
-
}
|
|
4713
|
-
}, "de_UpdateWebACLCommandError");
|
|
4714
2397
|
var de_UpdateXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4715
2398
|
if (output.statusCode >= 300) {
|
|
4716
|
-
return
|
|
2399
|
+
return de_CommandError(output, context);
|
|
4717
2400
|
}
|
|
4718
2401
|
const data = await parseBody(output.body, context);
|
|
4719
2402
|
let contents = {};
|
|
@@ -4724,37 +2407,70 @@ var de_UpdateXssMatchSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
4724
2407
|
};
|
|
4725
2408
|
return response;
|
|
4726
2409
|
}, "de_UpdateXssMatchSetCommand");
|
|
4727
|
-
var
|
|
2410
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4728
2411
|
const parsedOutput = {
|
|
4729
2412
|
...output,
|
|
4730
2413
|
body: await parseErrorBody(output.body, context)
|
|
4731
2414
|
};
|
|
4732
2415
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4733
2416
|
switch (errorCode) {
|
|
2417
|
+
case "WAFDisallowedNameException":
|
|
2418
|
+
case "com.amazonaws.waf#WAFDisallowedNameException":
|
|
2419
|
+
throw await de_WAFDisallowedNameExceptionRes(parsedOutput, context);
|
|
4734
2420
|
case "WAFInternalErrorException":
|
|
4735
2421
|
case "com.amazonaws.waf#WAFInternalErrorException":
|
|
4736
2422
|
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
4737
2423
|
case "WAFInvalidAccountException":
|
|
4738
2424
|
case "com.amazonaws.waf#WAFInvalidAccountException":
|
|
4739
2425
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
4740
|
-
case "WAFInvalidOperationException":
|
|
4741
|
-
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
4742
|
-
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
4743
2426
|
case "WAFInvalidParameterException":
|
|
4744
2427
|
case "com.amazonaws.waf#WAFInvalidParameterException":
|
|
4745
2428
|
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
4746
2429
|
case "WAFLimitsExceededException":
|
|
4747
2430
|
case "com.amazonaws.waf#WAFLimitsExceededException":
|
|
4748
2431
|
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
4749
|
-
case "WAFNonexistentContainerException":
|
|
4750
|
-
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
4751
|
-
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
4752
|
-
case "WAFNonexistentItemException":
|
|
4753
|
-
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
4754
|
-
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
4755
2432
|
case "WAFStaleDataException":
|
|
4756
2433
|
case "com.amazonaws.waf#WAFStaleDataException":
|
|
4757
2434
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
2435
|
+
case "WAFBadRequestException":
|
|
2436
|
+
case "com.amazonaws.waf#WAFBadRequestException":
|
|
2437
|
+
throw await de_WAFBadRequestExceptionRes(parsedOutput, context);
|
|
2438
|
+
case "WAFTagOperationException":
|
|
2439
|
+
case "com.amazonaws.waf#WAFTagOperationException":
|
|
2440
|
+
throw await de_WAFTagOperationExceptionRes(parsedOutput, context);
|
|
2441
|
+
case "WAFTagOperationInternalErrorException":
|
|
2442
|
+
case "com.amazonaws.waf#WAFTagOperationInternalErrorException":
|
|
2443
|
+
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
2444
|
+
case "WAFEntityMigrationException":
|
|
2445
|
+
case "com.amazonaws.waf#WAFEntityMigrationException":
|
|
2446
|
+
throw await de_WAFEntityMigrationExceptionRes(parsedOutput, context);
|
|
2447
|
+
case "WAFInvalidOperationException":
|
|
2448
|
+
case "com.amazonaws.waf#WAFInvalidOperationException":
|
|
2449
|
+
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
2450
|
+
case "WAFNonexistentItemException":
|
|
2451
|
+
case "com.amazonaws.waf#WAFNonexistentItemException":
|
|
2452
|
+
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2453
|
+
case "WAFNonEmptyEntityException":
|
|
2454
|
+
case "com.amazonaws.waf#WAFNonEmptyEntityException":
|
|
2455
|
+
throw await de_WAFNonEmptyEntityExceptionRes(parsedOutput, context);
|
|
2456
|
+
case "WAFReferencedItemException":
|
|
2457
|
+
case "com.amazonaws.waf#WAFReferencedItemException":
|
|
2458
|
+
throw await de_WAFReferencedItemExceptionRes(parsedOutput, context);
|
|
2459
|
+
case "WAFServiceLinkedRoleErrorException":
|
|
2460
|
+
case "com.amazonaws.waf#WAFServiceLinkedRoleErrorException":
|
|
2461
|
+
throw await de_WAFServiceLinkedRoleErrorExceptionRes(parsedOutput, context);
|
|
2462
|
+
case "WAFInvalidPermissionPolicyException":
|
|
2463
|
+
case "com.amazonaws.waf#WAFInvalidPermissionPolicyException":
|
|
2464
|
+
throw await de_WAFInvalidPermissionPolicyExceptionRes(parsedOutput, context);
|
|
2465
|
+
case "WAFNonexistentContainerException":
|
|
2466
|
+
case "com.amazonaws.waf#WAFNonexistentContainerException":
|
|
2467
|
+
throw await de_WAFNonexistentContainerExceptionRes(parsedOutput, context);
|
|
2468
|
+
case "WAFInvalidRegexPatternException":
|
|
2469
|
+
case "com.amazonaws.waf#WAFInvalidRegexPatternException":
|
|
2470
|
+
throw await de_WAFInvalidRegexPatternExceptionRes(parsedOutput, context);
|
|
2471
|
+
case "WAFSubscriptionNotFoundException":
|
|
2472
|
+
case "com.amazonaws.waf#WAFSubscriptionNotFoundException":
|
|
2473
|
+
throw await de_WAFSubscriptionNotFoundExceptionRes(parsedOutput, context);
|
|
4758
2474
|
default:
|
|
4759
2475
|
const parsedBody = parsedOutput.body;
|
|
4760
2476
|
return throwDefaultError({
|
|
@@ -4763,7 +2479,7 @@ var de_UpdateXssMatchSetCommandError = /* @__PURE__ */ __name(async (output, con
|
|
|
4763
2479
|
errorCode
|
|
4764
2480
|
});
|
|
4765
2481
|
}
|
|
4766
|
-
}, "
|
|
2482
|
+
}, "de_CommandError");
|
|
4767
2483
|
var de_WAFBadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4768
2484
|
const body = parsedOutput.body;
|
|
4769
2485
|
const deserialized = (0, import_smithy_client._json)(body);
|