@aws-sdk/client-wafv2 3.525.0 → 3.529.1
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 +63 -98
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -40
- package/dist-types/commands/DescribeAllManagedProductsCommand.d.ts +21 -0
- package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +127 -41
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -281,6 +281,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
281
281
|
var import_types = require("@smithy/types");
|
|
282
282
|
|
|
283
283
|
// src/protocols/Aws_json1_1.ts
|
|
284
|
+
var import_core2 = require("@aws-sdk/core");
|
|
284
285
|
|
|
285
286
|
|
|
286
287
|
|
|
@@ -649,7 +650,11 @@ var SensitivityLevel = {
|
|
|
649
650
|
LOW: "LOW"
|
|
650
651
|
};
|
|
651
652
|
var AssociatedResourceType = {
|
|
652
|
-
|
|
653
|
+
API_GATEWAY: "API_GATEWAY",
|
|
654
|
+
APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE",
|
|
655
|
+
CLOUDFRONT: "CLOUDFRONT",
|
|
656
|
+
COGNITO_USER_POOL: "COGNITO_USER_POOL",
|
|
657
|
+
VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE"
|
|
653
658
|
};
|
|
654
659
|
var _WAFInternalErrorException = class _WAFInternalErrorException extends WAFV2ServiceException {
|
|
655
660
|
/**
|
|
@@ -875,6 +880,7 @@ var _WAFLimitsExceededException = class _WAFLimitsExceededException extends WAFV
|
|
|
875
880
|
this.$fault = "client";
|
|
876
881
|
Object.setPrototypeOf(this, _WAFLimitsExceededException.prototype);
|
|
877
882
|
this.Message = opts.Message;
|
|
883
|
+
this.SourceType = opts.SourceType;
|
|
878
884
|
}
|
|
879
885
|
};
|
|
880
886
|
__name(_WAFLimitsExceededException, "WAFLimitsExceededException");
|
|
@@ -1441,7 +1447,7 @@ var de_AssociateWebACLCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1441
1447
|
if (output.statusCode >= 300) {
|
|
1442
1448
|
return de_CommandError(output, context);
|
|
1443
1449
|
}
|
|
1444
|
-
const data = await
|
|
1450
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1445
1451
|
let contents = {};
|
|
1446
1452
|
contents = (0, import_smithy_client._json)(data);
|
|
1447
1453
|
const response = {
|
|
@@ -1454,7 +1460,7 @@ var de_CheckCapacityCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1454
1460
|
if (output.statusCode >= 300) {
|
|
1455
1461
|
return de_CommandError(output, context);
|
|
1456
1462
|
}
|
|
1457
|
-
const data = await
|
|
1463
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1458
1464
|
let contents = {};
|
|
1459
1465
|
contents = (0, import_smithy_client._json)(data);
|
|
1460
1466
|
const response = {
|
|
@@ -1467,7 +1473,7 @@ var de_CreateAPIKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1467
1473
|
if (output.statusCode >= 300) {
|
|
1468
1474
|
return de_CommandError(output, context);
|
|
1469
1475
|
}
|
|
1470
|
-
const data = await
|
|
1476
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1471
1477
|
let contents = {};
|
|
1472
1478
|
contents = (0, import_smithy_client._json)(data);
|
|
1473
1479
|
const response = {
|
|
@@ -1480,7 +1486,7 @@ var de_CreateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1480
1486
|
if (output.statusCode >= 300) {
|
|
1481
1487
|
return de_CommandError(output, context);
|
|
1482
1488
|
}
|
|
1483
|
-
const data = await
|
|
1489
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1484
1490
|
let contents = {};
|
|
1485
1491
|
contents = (0, import_smithy_client._json)(data);
|
|
1486
1492
|
const response = {
|
|
@@ -1493,7 +1499,7 @@ var de_CreateRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1493
1499
|
if (output.statusCode >= 300) {
|
|
1494
1500
|
return de_CommandError(output, context);
|
|
1495
1501
|
}
|
|
1496
|
-
const data = await
|
|
1502
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1497
1503
|
let contents = {};
|
|
1498
1504
|
contents = (0, import_smithy_client._json)(data);
|
|
1499
1505
|
const response = {
|
|
@@ -1506,7 +1512,7 @@ var de_CreateRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1506
1512
|
if (output.statusCode >= 300) {
|
|
1507
1513
|
return de_CommandError(output, context);
|
|
1508
1514
|
}
|
|
1509
|
-
const data = await
|
|
1515
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1510
1516
|
let contents = {};
|
|
1511
1517
|
contents = (0, import_smithy_client._json)(data);
|
|
1512
1518
|
const response = {
|
|
@@ -1519,7 +1525,7 @@ var de_CreateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1519
1525
|
if (output.statusCode >= 300) {
|
|
1520
1526
|
return de_CommandError(output, context);
|
|
1521
1527
|
}
|
|
1522
|
-
const data = await
|
|
1528
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1523
1529
|
let contents = {};
|
|
1524
1530
|
contents = (0, import_smithy_client._json)(data);
|
|
1525
1531
|
const response = {
|
|
@@ -1532,7 +1538,7 @@ var de_DeleteAPIKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1532
1538
|
if (output.statusCode >= 300) {
|
|
1533
1539
|
return de_CommandError(output, context);
|
|
1534
1540
|
}
|
|
1535
|
-
const data = await
|
|
1541
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1536
1542
|
let contents = {};
|
|
1537
1543
|
contents = (0, import_smithy_client._json)(data);
|
|
1538
1544
|
const response = {
|
|
@@ -1545,7 +1551,7 @@ var de_DeleteFirewallManagerRuleGroupsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1545
1551
|
if (output.statusCode >= 300) {
|
|
1546
1552
|
return de_CommandError(output, context);
|
|
1547
1553
|
}
|
|
1548
|
-
const data = await
|
|
1554
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1549
1555
|
let contents = {};
|
|
1550
1556
|
contents = (0, import_smithy_client._json)(data);
|
|
1551
1557
|
const response = {
|
|
@@ -1558,7 +1564,7 @@ var de_DeleteIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1558
1564
|
if (output.statusCode >= 300) {
|
|
1559
1565
|
return de_CommandError(output, context);
|
|
1560
1566
|
}
|
|
1561
|
-
const data = await
|
|
1567
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1562
1568
|
let contents = {};
|
|
1563
1569
|
contents = (0, import_smithy_client._json)(data);
|
|
1564
1570
|
const response = {
|
|
@@ -1571,7 +1577,7 @@ var de_DeleteLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1571
1577
|
if (output.statusCode >= 300) {
|
|
1572
1578
|
return de_CommandError(output, context);
|
|
1573
1579
|
}
|
|
1574
|
-
const data = await
|
|
1580
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1575
1581
|
let contents = {};
|
|
1576
1582
|
contents = (0, import_smithy_client._json)(data);
|
|
1577
1583
|
const response = {
|
|
@@ -1584,7 +1590,7 @@ var de_DeletePermissionPolicyCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1584
1590
|
if (output.statusCode >= 300) {
|
|
1585
1591
|
return de_CommandError(output, context);
|
|
1586
1592
|
}
|
|
1587
|
-
const data = await
|
|
1593
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1588
1594
|
let contents = {};
|
|
1589
1595
|
contents = (0, import_smithy_client._json)(data);
|
|
1590
1596
|
const response = {
|
|
@@ -1597,7 +1603,7 @@ var de_DeleteRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1597
1603
|
if (output.statusCode >= 300) {
|
|
1598
1604
|
return de_CommandError(output, context);
|
|
1599
1605
|
}
|
|
1600
|
-
const data = await
|
|
1606
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1601
1607
|
let contents = {};
|
|
1602
1608
|
contents = (0, import_smithy_client._json)(data);
|
|
1603
1609
|
const response = {
|
|
@@ -1610,7 +1616,7 @@ var de_DeleteRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1610
1616
|
if (output.statusCode >= 300) {
|
|
1611
1617
|
return de_CommandError(output, context);
|
|
1612
1618
|
}
|
|
1613
|
-
const data = await
|
|
1619
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1614
1620
|
let contents = {};
|
|
1615
1621
|
contents = (0, import_smithy_client._json)(data);
|
|
1616
1622
|
const response = {
|
|
@@ -1623,7 +1629,7 @@ var de_DeleteWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1623
1629
|
if (output.statusCode >= 300) {
|
|
1624
1630
|
return de_CommandError(output, context);
|
|
1625
1631
|
}
|
|
1626
|
-
const data = await
|
|
1632
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1627
1633
|
let contents = {};
|
|
1628
1634
|
contents = (0, import_smithy_client._json)(data);
|
|
1629
1635
|
const response = {
|
|
@@ -1636,7 +1642,7 @@ var de_DescribeAllManagedProductsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1636
1642
|
if (output.statusCode >= 300) {
|
|
1637
1643
|
return de_CommandError(output, context);
|
|
1638
1644
|
}
|
|
1639
|
-
const data = await
|
|
1645
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1640
1646
|
let contents = {};
|
|
1641
1647
|
contents = (0, import_smithy_client._json)(data);
|
|
1642
1648
|
const response = {
|
|
@@ -1649,7 +1655,7 @@ var de_DescribeManagedProductsByVendorCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1649
1655
|
if (output.statusCode >= 300) {
|
|
1650
1656
|
return de_CommandError(output, context);
|
|
1651
1657
|
}
|
|
1652
|
-
const data = await
|
|
1658
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1653
1659
|
let contents = {};
|
|
1654
1660
|
contents = (0, import_smithy_client._json)(data);
|
|
1655
1661
|
const response = {
|
|
@@ -1662,7 +1668,7 @@ var de_DescribeManagedRuleGroupCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1662
1668
|
if (output.statusCode >= 300) {
|
|
1663
1669
|
return de_CommandError(output, context);
|
|
1664
1670
|
}
|
|
1665
|
-
const data = await
|
|
1671
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1666
1672
|
let contents = {};
|
|
1667
1673
|
contents = (0, import_smithy_client._json)(data);
|
|
1668
1674
|
const response = {
|
|
@@ -1675,7 +1681,7 @@ var de_DisassociateWebACLCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1675
1681
|
if (output.statusCode >= 300) {
|
|
1676
1682
|
return de_CommandError(output, context);
|
|
1677
1683
|
}
|
|
1678
|
-
const data = await
|
|
1684
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1679
1685
|
let contents = {};
|
|
1680
1686
|
contents = (0, import_smithy_client._json)(data);
|
|
1681
1687
|
const response = {
|
|
@@ -1688,7 +1694,7 @@ var de_GenerateMobileSdkReleaseUrlCommand = /* @__PURE__ */ __name(async (output
|
|
|
1688
1694
|
if (output.statusCode >= 300) {
|
|
1689
1695
|
return de_CommandError(output, context);
|
|
1690
1696
|
}
|
|
1691
|
-
const data = await
|
|
1697
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1692
1698
|
let contents = {};
|
|
1693
1699
|
contents = (0, import_smithy_client._json)(data);
|
|
1694
1700
|
const response = {
|
|
@@ -1701,7 +1707,7 @@ var de_GetDecryptedAPIKeyCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1701
1707
|
if (output.statusCode >= 300) {
|
|
1702
1708
|
return de_CommandError(output, context);
|
|
1703
1709
|
}
|
|
1704
|
-
const data = await
|
|
1710
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1705
1711
|
let contents = {};
|
|
1706
1712
|
contents = de_GetDecryptedAPIKeyResponse(data, context);
|
|
1707
1713
|
const response = {
|
|
@@ -1714,7 +1720,7 @@ var de_GetIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1714
1720
|
if (output.statusCode >= 300) {
|
|
1715
1721
|
return de_CommandError(output, context);
|
|
1716
1722
|
}
|
|
1717
|
-
const data = await
|
|
1723
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1718
1724
|
let contents = {};
|
|
1719
1725
|
contents = (0, import_smithy_client._json)(data);
|
|
1720
1726
|
const response = {
|
|
@@ -1727,7 +1733,7 @@ var de_GetLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1727
1733
|
if (output.statusCode >= 300) {
|
|
1728
1734
|
return de_CommandError(output, context);
|
|
1729
1735
|
}
|
|
1730
|
-
const data = await
|
|
1736
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1731
1737
|
let contents = {};
|
|
1732
1738
|
contents = (0, import_smithy_client._json)(data);
|
|
1733
1739
|
const response = {
|
|
@@ -1740,7 +1746,7 @@ var de_GetManagedRuleSetCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1740
1746
|
if (output.statusCode >= 300) {
|
|
1741
1747
|
return de_CommandError(output, context);
|
|
1742
1748
|
}
|
|
1743
|
-
const data = await
|
|
1749
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1744
1750
|
let contents = {};
|
|
1745
1751
|
contents = de_GetManagedRuleSetResponse(data, context);
|
|
1746
1752
|
const response = {
|
|
@@ -1753,7 +1759,7 @@ var de_GetMobileSdkReleaseCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1753
1759
|
if (output.statusCode >= 300) {
|
|
1754
1760
|
return de_CommandError(output, context);
|
|
1755
1761
|
}
|
|
1756
|
-
const data = await
|
|
1762
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1757
1763
|
let contents = {};
|
|
1758
1764
|
contents = de_GetMobileSdkReleaseResponse(data, context);
|
|
1759
1765
|
const response = {
|
|
@@ -1766,7 +1772,7 @@ var de_GetPermissionPolicyCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1766
1772
|
if (output.statusCode >= 300) {
|
|
1767
1773
|
return de_CommandError(output, context);
|
|
1768
1774
|
}
|
|
1769
|
-
const data = await
|
|
1775
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1770
1776
|
let contents = {};
|
|
1771
1777
|
contents = (0, import_smithy_client._json)(data);
|
|
1772
1778
|
const response = {
|
|
@@ -1779,7 +1785,7 @@ var de_GetRateBasedStatementManagedKeysCommand = /* @__PURE__ */ __name(async (o
|
|
|
1779
1785
|
if (output.statusCode >= 300) {
|
|
1780
1786
|
return de_CommandError(output, context);
|
|
1781
1787
|
}
|
|
1782
|
-
const data = await
|
|
1788
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1783
1789
|
let contents = {};
|
|
1784
1790
|
contents = (0, import_smithy_client._json)(data);
|
|
1785
1791
|
const response = {
|
|
@@ -1792,7 +1798,7 @@ var de_GetRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1792
1798
|
if (output.statusCode >= 300) {
|
|
1793
1799
|
return de_CommandError(output, context);
|
|
1794
1800
|
}
|
|
1795
|
-
const data = await
|
|
1801
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1796
1802
|
let contents = {};
|
|
1797
1803
|
contents = (0, import_smithy_client._json)(data);
|
|
1798
1804
|
const response = {
|
|
@@ -1805,7 +1811,7 @@ var de_GetRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1805
1811
|
if (output.statusCode >= 300) {
|
|
1806
1812
|
return de_CommandError(output, context);
|
|
1807
1813
|
}
|
|
1808
|
-
const data = await
|
|
1814
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1809
1815
|
let contents = {};
|
|
1810
1816
|
contents = de_GetRuleGroupResponse(data, context);
|
|
1811
1817
|
const response = {
|
|
@@ -1818,7 +1824,7 @@ var de_GetSampledRequestsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1818
1824
|
if (output.statusCode >= 300) {
|
|
1819
1825
|
return de_CommandError(output, context);
|
|
1820
1826
|
}
|
|
1821
|
-
const data = await
|
|
1827
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1822
1828
|
let contents = {};
|
|
1823
1829
|
contents = de_GetSampledRequestsResponse(data, context);
|
|
1824
1830
|
const response = {
|
|
@@ -1831,7 +1837,7 @@ var de_GetWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1831
1837
|
if (output.statusCode >= 300) {
|
|
1832
1838
|
return de_CommandError(output, context);
|
|
1833
1839
|
}
|
|
1834
|
-
const data = await
|
|
1840
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1835
1841
|
let contents = {};
|
|
1836
1842
|
contents = de_GetWebACLResponse(data, context);
|
|
1837
1843
|
const response = {
|
|
@@ -1844,7 +1850,7 @@ var de_GetWebACLForResourceCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1844
1850
|
if (output.statusCode >= 300) {
|
|
1845
1851
|
return de_CommandError(output, context);
|
|
1846
1852
|
}
|
|
1847
|
-
const data = await
|
|
1853
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1848
1854
|
let contents = {};
|
|
1849
1855
|
contents = de_GetWebACLForResourceResponse(data, context);
|
|
1850
1856
|
const response = {
|
|
@@ -1857,7 +1863,7 @@ var de_ListAPIKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1857
1863
|
if (output.statusCode >= 300) {
|
|
1858
1864
|
return de_CommandError(output, context);
|
|
1859
1865
|
}
|
|
1860
|
-
const data = await
|
|
1866
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1861
1867
|
let contents = {};
|
|
1862
1868
|
contents = de_ListAPIKeysResponse(data, context);
|
|
1863
1869
|
const response = {
|
|
@@ -1870,7 +1876,7 @@ var de_ListAvailableManagedRuleGroupsCommand = /* @__PURE__ */ __name(async (out
|
|
|
1870
1876
|
if (output.statusCode >= 300) {
|
|
1871
1877
|
return de_CommandError(output, context);
|
|
1872
1878
|
}
|
|
1873
|
-
const data = await
|
|
1879
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1874
1880
|
let contents = {};
|
|
1875
1881
|
contents = (0, import_smithy_client._json)(data);
|
|
1876
1882
|
const response = {
|
|
@@ -1883,7 +1889,7 @@ var de_ListAvailableManagedRuleGroupVersionsCommand = /* @__PURE__ */ __name(asy
|
|
|
1883
1889
|
if (output.statusCode >= 300) {
|
|
1884
1890
|
return de_CommandError(output, context);
|
|
1885
1891
|
}
|
|
1886
|
-
const data = await
|
|
1892
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1887
1893
|
let contents = {};
|
|
1888
1894
|
contents = de_ListAvailableManagedRuleGroupVersionsResponse(data, context);
|
|
1889
1895
|
const response = {
|
|
@@ -1896,7 +1902,7 @@ var de_ListIPSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1896
1902
|
if (output.statusCode >= 300) {
|
|
1897
1903
|
return de_CommandError(output, context);
|
|
1898
1904
|
}
|
|
1899
|
-
const data = await
|
|
1905
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1900
1906
|
let contents = {};
|
|
1901
1907
|
contents = (0, import_smithy_client._json)(data);
|
|
1902
1908
|
const response = {
|
|
@@ -1909,7 +1915,7 @@ var de_ListLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1909
1915
|
if (output.statusCode >= 300) {
|
|
1910
1916
|
return de_CommandError(output, context);
|
|
1911
1917
|
}
|
|
1912
|
-
const data = await
|
|
1918
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1913
1919
|
let contents = {};
|
|
1914
1920
|
contents = (0, import_smithy_client._json)(data);
|
|
1915
1921
|
const response = {
|
|
@@ -1922,7 +1928,7 @@ var de_ListManagedRuleSetsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1922
1928
|
if (output.statusCode >= 300) {
|
|
1923
1929
|
return de_CommandError(output, context);
|
|
1924
1930
|
}
|
|
1925
|
-
const data = await
|
|
1931
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1926
1932
|
let contents = {};
|
|
1927
1933
|
contents = (0, import_smithy_client._json)(data);
|
|
1928
1934
|
const response = {
|
|
@@ -1935,7 +1941,7 @@ var de_ListMobileSdkReleasesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1935
1941
|
if (output.statusCode >= 300) {
|
|
1936
1942
|
return de_CommandError(output, context);
|
|
1937
1943
|
}
|
|
1938
|
-
const data = await
|
|
1944
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1939
1945
|
let contents = {};
|
|
1940
1946
|
contents = de_ListMobileSdkReleasesResponse(data, context);
|
|
1941
1947
|
const response = {
|
|
@@ -1948,7 +1954,7 @@ var de_ListRegexPatternSetsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1948
1954
|
if (output.statusCode >= 300) {
|
|
1949
1955
|
return de_CommandError(output, context);
|
|
1950
1956
|
}
|
|
1951
|
-
const data = await
|
|
1957
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1952
1958
|
let contents = {};
|
|
1953
1959
|
contents = (0, import_smithy_client._json)(data);
|
|
1954
1960
|
const response = {
|
|
@@ -1961,7 +1967,7 @@ var de_ListResourcesForWebACLCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1961
1967
|
if (output.statusCode >= 300) {
|
|
1962
1968
|
return de_CommandError(output, context);
|
|
1963
1969
|
}
|
|
1964
|
-
const data = await
|
|
1970
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1965
1971
|
let contents = {};
|
|
1966
1972
|
contents = (0, import_smithy_client._json)(data);
|
|
1967
1973
|
const response = {
|
|
@@ -1974,7 +1980,7 @@ var de_ListRuleGroupsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1974
1980
|
if (output.statusCode >= 300) {
|
|
1975
1981
|
return de_CommandError(output, context);
|
|
1976
1982
|
}
|
|
1977
|
-
const data = await
|
|
1983
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1978
1984
|
let contents = {};
|
|
1979
1985
|
contents = (0, import_smithy_client._json)(data);
|
|
1980
1986
|
const response = {
|
|
@@ -1987,7 +1993,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1987
1993
|
if (output.statusCode >= 300) {
|
|
1988
1994
|
return de_CommandError(output, context);
|
|
1989
1995
|
}
|
|
1990
|
-
const data = await
|
|
1996
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1991
1997
|
let contents = {};
|
|
1992
1998
|
contents = (0, import_smithy_client._json)(data);
|
|
1993
1999
|
const response = {
|
|
@@ -2000,7 +2006,7 @@ var de_ListWebACLsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2000
2006
|
if (output.statusCode >= 300) {
|
|
2001
2007
|
return de_CommandError(output, context);
|
|
2002
2008
|
}
|
|
2003
|
-
const data = await
|
|
2009
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2004
2010
|
let contents = {};
|
|
2005
2011
|
contents = (0, import_smithy_client._json)(data);
|
|
2006
2012
|
const response = {
|
|
@@ -2013,7 +2019,7 @@ var de_PutLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2013
2019
|
if (output.statusCode >= 300) {
|
|
2014
2020
|
return de_CommandError(output, context);
|
|
2015
2021
|
}
|
|
2016
|
-
const data = await
|
|
2022
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2017
2023
|
let contents = {};
|
|
2018
2024
|
contents = (0, import_smithy_client._json)(data);
|
|
2019
2025
|
const response = {
|
|
@@ -2026,7 +2032,7 @@ var de_PutManagedRuleSetVersionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2026
2032
|
if (output.statusCode >= 300) {
|
|
2027
2033
|
return de_CommandError(output, context);
|
|
2028
2034
|
}
|
|
2029
|
-
const data = await
|
|
2035
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2030
2036
|
let contents = {};
|
|
2031
2037
|
contents = (0, import_smithy_client._json)(data);
|
|
2032
2038
|
const response = {
|
|
@@ -2039,7 +2045,7 @@ var de_PutPermissionPolicyCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2039
2045
|
if (output.statusCode >= 300) {
|
|
2040
2046
|
return de_CommandError(output, context);
|
|
2041
2047
|
}
|
|
2042
|
-
const data = await
|
|
2048
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2043
2049
|
let contents = {};
|
|
2044
2050
|
contents = (0, import_smithy_client._json)(data);
|
|
2045
2051
|
const response = {
|
|
@@ -2052,7 +2058,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2052
2058
|
if (output.statusCode >= 300) {
|
|
2053
2059
|
return de_CommandError(output, context);
|
|
2054
2060
|
}
|
|
2055
|
-
const data = await
|
|
2061
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2056
2062
|
let contents = {};
|
|
2057
2063
|
contents = (0, import_smithy_client._json)(data);
|
|
2058
2064
|
const response = {
|
|
@@ -2065,7 +2071,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2065
2071
|
if (output.statusCode >= 300) {
|
|
2066
2072
|
return de_CommandError(output, context);
|
|
2067
2073
|
}
|
|
2068
|
-
const data = await
|
|
2074
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2069
2075
|
let contents = {};
|
|
2070
2076
|
contents = (0, import_smithy_client._json)(data);
|
|
2071
2077
|
const response = {
|
|
@@ -2078,7 +2084,7 @@ var de_UpdateIPSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2078
2084
|
if (output.statusCode >= 300) {
|
|
2079
2085
|
return de_CommandError(output, context);
|
|
2080
2086
|
}
|
|
2081
|
-
const data = await
|
|
2087
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2082
2088
|
let contents = {};
|
|
2083
2089
|
contents = (0, import_smithy_client._json)(data);
|
|
2084
2090
|
const response = {
|
|
@@ -2091,7 +2097,7 @@ var de_UpdateManagedRuleSetVersionExpiryDateCommand = /* @__PURE__ */ __name(asy
|
|
|
2091
2097
|
if (output.statusCode >= 300) {
|
|
2092
2098
|
return de_CommandError(output, context);
|
|
2093
2099
|
}
|
|
2094
|
-
const data = await
|
|
2100
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2095
2101
|
let contents = {};
|
|
2096
2102
|
contents = de_UpdateManagedRuleSetVersionExpiryDateResponse(data, context);
|
|
2097
2103
|
const response = {
|
|
@@ -2104,7 +2110,7 @@ var de_UpdateRegexPatternSetCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2104
2110
|
if (output.statusCode >= 300) {
|
|
2105
2111
|
return de_CommandError(output, context);
|
|
2106
2112
|
}
|
|
2107
|
-
const data = await
|
|
2113
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2108
2114
|
let contents = {};
|
|
2109
2115
|
contents = (0, import_smithy_client._json)(data);
|
|
2110
2116
|
const response = {
|
|
@@ -2117,7 +2123,7 @@ var de_UpdateRuleGroupCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2117
2123
|
if (output.statusCode >= 300) {
|
|
2118
2124
|
return de_CommandError(output, context);
|
|
2119
2125
|
}
|
|
2120
|
-
const data = await
|
|
2126
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2121
2127
|
let contents = {};
|
|
2122
2128
|
contents = (0, import_smithy_client._json)(data);
|
|
2123
2129
|
const response = {
|
|
@@ -2130,7 +2136,7 @@ var de_UpdateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2130
2136
|
if (output.statusCode >= 300) {
|
|
2131
2137
|
return de_CommandError(output, context);
|
|
2132
2138
|
}
|
|
2133
|
-
const data = await
|
|
2139
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2134
2140
|
let contents = {};
|
|
2135
2141
|
contents = (0, import_smithy_client._json)(data);
|
|
2136
2142
|
const response = {
|
|
@@ -2142,9 +2148,9 @@ var de_UpdateWebACLCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2142
2148
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2143
2149
|
const parsedOutput = {
|
|
2144
2150
|
...output,
|
|
2145
|
-
body: await
|
|
2151
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
2146
2152
|
};
|
|
2147
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2153
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
2148
2154
|
switch (errorCode) {
|
|
2149
2155
|
case "WAFInternalErrorException":
|
|
2150
2156
|
case "com.amazonaws.wafv2#WAFInternalErrorException":
|
|
@@ -2880,7 +2886,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2880
2886
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2881
2887
|
cfId: output.headers["x-amz-cf-id"]
|
|
2882
2888
|
}), "deserializeMetadata");
|
|
2883
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2884
2889
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(WAFV2ServiceException);
|
|
2885
2890
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
2886
2891
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -2907,46 +2912,6 @@ function sharedHeaders(operation) {
|
|
|
2907
2912
|
};
|
|
2908
2913
|
}
|
|
2909
2914
|
__name(sharedHeaders, "sharedHeaders");
|
|
2910
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2911
|
-
if (encoded.length) {
|
|
2912
|
-
return JSON.parse(encoded);
|
|
2913
|
-
}
|
|
2914
|
-
return {};
|
|
2915
|
-
}), "parseBody");
|
|
2916
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2917
|
-
const value = await parseBody(errorBody, context);
|
|
2918
|
-
value.message = value.message ?? value.Message;
|
|
2919
|
-
return value;
|
|
2920
|
-
}, "parseErrorBody");
|
|
2921
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2922
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2923
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2924
|
-
let cleanValue = rawValue;
|
|
2925
|
-
if (typeof cleanValue === "number") {
|
|
2926
|
-
cleanValue = cleanValue.toString();
|
|
2927
|
-
}
|
|
2928
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2929
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2930
|
-
}
|
|
2931
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2932
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2933
|
-
}
|
|
2934
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2935
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2936
|
-
}
|
|
2937
|
-
return cleanValue;
|
|
2938
|
-
}, "sanitizeErrorCode");
|
|
2939
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2940
|
-
if (headerKey !== void 0) {
|
|
2941
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2942
|
-
}
|
|
2943
|
-
if (data.code !== void 0) {
|
|
2944
|
-
return sanitizeErrorCode(data.code);
|
|
2945
|
-
}
|
|
2946
|
-
if (data["__type"] !== void 0) {
|
|
2947
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2948
|
-
}
|
|
2949
|
-
}, "loadRestJsonErrorCode");
|
|
2950
2915
|
|
|
2951
2916
|
// src/commands/AssociateWebACLCommand.ts
|
|
2952
2917
|
var _AssociateWebACLCommand = class _AssociateWebACLCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -349,7 +349,11 @@ export const SensitivityLevel = {
|
|
|
349
349
|
LOW: "LOW",
|
|
350
350
|
};
|
|
351
351
|
export const AssociatedResourceType = {
|
|
352
|
+
API_GATEWAY: "API_GATEWAY",
|
|
353
|
+
APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE",
|
|
352
354
|
CLOUDFRONT: "CLOUDFRONT",
|
|
355
|
+
COGNITO_USER_POOL: "COGNITO_USER_POOL",
|
|
356
|
+
VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE",
|
|
353
357
|
};
|
|
354
358
|
export class WAFInternalErrorException extends __BaseException {
|
|
355
359
|
constructor(opts) {
|
|
@@ -537,6 +541,7 @@ export class WAFLimitsExceededException extends __BaseException {
|
|
|
537
541
|
this.$fault = "client";
|
|
538
542
|
Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
|
|
539
543
|
this.Message = opts.Message;
|
|
544
|
+
this.SourceType = opts.SourceType;
|
|
540
545
|
}
|
|
541
546
|
}
|
|
542
547
|
export class WAFSubscriptionNotFoundException extends __BaseException {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { WAFAssociatedItemException, WAFConfigurationWarningException, WAFDuplicateItemException, WAFExpiredManagedRuleGroupVersionException, WAFInternalErrorException, WAFInvalidOperationException, WAFInvalidParameterException, WAFInvalidPermissionPolicyException, WAFInvalidResourceException, WAFLimitsExceededException, WAFLogDestinationPermissionIssueException, WAFNonexistentItemException, WAFOptimisticLockException, WAFServiceLinkedRoleErrorException, WAFSubscriptionNotFoundException, WAFTagOperationException, WAFTagOperationInternalErrorException, WAFUnavailableEntityException, WAFUnsupportedAggregateKeyTypeException, } from "../models/models_0";
|
|
@@ -1813,43 +1814,3 @@ function sharedHeaders(operation) {
|
|
|
1813
1814
|
"x-amz-target": `AWSWAF_20190729.${operation}`,
|
|
1814
1815
|
};
|
|
1815
1816
|
}
|
|
1816
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1817
|
-
if (encoded.length) {
|
|
1818
|
-
return JSON.parse(encoded);
|
|
1819
|
-
}
|
|
1820
|
-
return {};
|
|
1821
|
-
});
|
|
1822
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
1823
|
-
const value = await parseBody(errorBody, context);
|
|
1824
|
-
value.message = value.message ?? value.Message;
|
|
1825
|
-
return value;
|
|
1826
|
-
};
|
|
1827
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
1828
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
1829
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
1830
|
-
let cleanValue = rawValue;
|
|
1831
|
-
if (typeof cleanValue === "number") {
|
|
1832
|
-
cleanValue = cleanValue.toString();
|
|
1833
|
-
}
|
|
1834
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
1835
|
-
cleanValue = cleanValue.split(",")[0];
|
|
1836
|
-
}
|
|
1837
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
1838
|
-
cleanValue = cleanValue.split(":")[0];
|
|
1839
|
-
}
|
|
1840
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
1841
|
-
cleanValue = cleanValue.split("#")[1];
|
|
1842
|
-
}
|
|
1843
|
-
return cleanValue;
|
|
1844
|
-
};
|
|
1845
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1846
|
-
if (headerKey !== undefined) {
|
|
1847
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1848
|
-
}
|
|
1849
|
-
if (data.code !== undefined) {
|
|
1850
|
-
return sanitizeErrorCode(data.code);
|
|
1851
|
-
}
|
|
1852
|
-
if (data["__type"] !== undefined) {
|
|
1853
|
-
return sanitizeErrorCode(data["__type"]);
|
|
1854
|
-
}
|
|
1855
|
-
};
|
|
@@ -69,6 +69,27 @@ declare const DescribeAllManagedProductsCommand_base: {
|
|
|
69
69
|
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
70
70
|
* <p>The operation isn't valid. </p>
|
|
71
71
|
*
|
|
72
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
73
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
74
|
+
* example: </p>
|
|
75
|
+
* <ul>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
81
|
+
* can’t be nested. </p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
85
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
89
|
+
* with which a web ACL can't be associated.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* </ul>
|
|
92
|
+
*
|
|
72
93
|
* @throws {@link WAFV2ServiceException}
|
|
73
94
|
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
74
95
|
*
|
|
@@ -89,6 +89,12 @@ declare const GetDecryptedAPIKeyCommand_base: {
|
|
|
89
89
|
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
90
90
|
* valid. Check the resource, and try again.</p>
|
|
91
91
|
*
|
|
92
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
93
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
94
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
95
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
96
|
+
* for changes to propagate. </p>
|
|
97
|
+
*
|
|
92
98
|
* @throws {@link WAFV2ServiceException}
|
|
93
99
|
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
94
100
|
*
|
|
@@ -154,12 +154,19 @@ export type OversizeHandling = (typeof OversizeHandling)[keyof typeof OversizeHa
|
|
|
154
154
|
export interface Body {
|
|
155
155
|
/**
|
|
156
156
|
* @public
|
|
157
|
-
* <p>What WAF should do if the body is larger than WAF can inspect.
|
|
158
|
-
*
|
|
159
|
-
* exceeds the limit for the resource type.
|
|
160
|
-
* only forwards the contents that are
|
|
161
|
-
* <
|
|
162
|
-
*
|
|
157
|
+
* <p>What WAF should do if the body is larger than WAF can inspect. </p>
|
|
158
|
+
* <p>WAF does not support inspecting the entire contents of the web request body if the body
|
|
159
|
+
* exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service
|
|
160
|
+
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
161
|
+
* <ul>
|
|
162
|
+
* <li>
|
|
163
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
164
|
+
* </li>
|
|
165
|
+
* <li>
|
|
166
|
+
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
167
|
+
* you can increase the limit for each resource type in the web ACL <code>AssociationConfig</code>, for additional processing fees. </p>
|
|
168
|
+
* </li>
|
|
169
|
+
* </ul>
|
|
163
170
|
* <p>The options for oversize handling are the following:</p>
|
|
164
171
|
* <ul>
|
|
165
172
|
* <li>
|
|
@@ -580,12 +587,19 @@ export interface JsonBody {
|
|
|
580
587
|
InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
|
|
581
588
|
/**
|
|
582
589
|
* @public
|
|
583
|
-
* <p>What WAF should do if the body is larger than WAF can inspect.
|
|
584
|
-
*
|
|
585
|
-
* exceeds the limit for the resource type.
|
|
586
|
-
* only forwards the contents that are
|
|
587
|
-
* <
|
|
588
|
-
*
|
|
590
|
+
* <p>What WAF should do if the body is larger than WAF can inspect. </p>
|
|
591
|
+
* <p>WAF does not support inspecting the entire contents of the web request body if the body
|
|
592
|
+
* exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service
|
|
593
|
+
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
594
|
+
* <ul>
|
|
595
|
+
* <li>
|
|
596
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
597
|
+
* </li>
|
|
598
|
+
* <li>
|
|
599
|
+
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
600
|
+
* you can increase the limit for each resource type in the web ACL <code>AssociationConfig</code>, for additional processing fees. </p>
|
|
601
|
+
* </li>
|
|
602
|
+
* </ul>
|
|
589
603
|
* <p>The options for oversize handling are the following:</p>
|
|
590
604
|
* <ul>
|
|
591
605
|
* <li>
|
|
@@ -675,20 +689,39 @@ export interface UriPath {
|
|
|
675
689
|
}
|
|
676
690
|
/**
|
|
677
691
|
* @public
|
|
678
|
-
* <p>
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
*
|
|
682
|
-
*
|
|
683
|
-
*
|
|
684
|
-
*
|
|
685
|
-
*
|
|
686
|
-
*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
*
|
|
690
|
-
*
|
|
691
|
-
*
|
|
692
|
+
* <p>Specifies a web request component to be used in a rule match statement or in a logging configuration. </p>
|
|
693
|
+
* <ul>
|
|
694
|
+
* <li>
|
|
695
|
+
* <p>In a rule statement, this is the part of the web request that you want WAF to inspect. Include the single
|
|
696
|
+
* <code>FieldToMatch</code> type that you want to inspect, with additional specifications
|
|
697
|
+
* as needed, according to the type. You specify a single request component in
|
|
698
|
+
* <code>FieldToMatch</code> for each rule statement that requires it. To inspect more than
|
|
699
|
+
* one component of the web request, create a separate rule statement for each
|
|
700
|
+
* component.</p>
|
|
701
|
+
* <p>Example JSON for a <code>QueryString</code> field to match: </p>
|
|
702
|
+
* <p>
|
|
703
|
+
* <code> "FieldToMatch": \{ "QueryString": \{\} \}</code>
|
|
704
|
+
* </p>
|
|
705
|
+
* <p>Example JSON for a <code>Method</code> field to match specification:</p>
|
|
706
|
+
* <p>
|
|
707
|
+
* <code> "FieldToMatch": \{ "Method": \{ "Name": "DELETE" \} \}</code>
|
|
708
|
+
* </p>
|
|
709
|
+
* </li>
|
|
710
|
+
* <li>
|
|
711
|
+
* <p>In a logging configuration, this is used in the <code>RedactedFields</code> property to specify a field to
|
|
712
|
+
* redact from the logging records. For this use case, note the following: </p>
|
|
713
|
+
* <ul>
|
|
714
|
+
* <li>
|
|
715
|
+
* <p>Even though all <code>FieldToMatch</code> settings
|
|
716
|
+
* are available, the only valid settings for field redaction are <code>UriPath</code>, <code>QueryString</code>, <code>SingleHeader</code>, and <code>Method</code>.</p>
|
|
717
|
+
* </li>
|
|
718
|
+
* <li>
|
|
719
|
+
* <p>In this documentation, the descriptions of the individual fields talk about specifying the web request component to inspect,
|
|
720
|
+
* but for field redaction, you are specifying the component type to redact from the logs. </p>
|
|
721
|
+
* </li>
|
|
722
|
+
* </ul>
|
|
723
|
+
* </li>
|
|
724
|
+
* </ul>
|
|
692
725
|
*/
|
|
693
726
|
export interface FieldToMatch {
|
|
694
727
|
/**
|
|
@@ -733,9 +766,18 @@ export interface FieldToMatch {
|
|
|
733
766
|
* <p>Inspect the request body as plain text. The request body immediately follows the request
|
|
734
767
|
* headers. This is the part of a request that contains any additional data that you want to
|
|
735
768
|
* send to your web server as the HTTP request body, such as data from a form. </p>
|
|
736
|
-
* <p>
|
|
737
|
-
*
|
|
738
|
-
*
|
|
769
|
+
* <p>WAF does not support inspecting the entire contents of the web request body if the body
|
|
770
|
+
* exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service
|
|
771
|
+
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
772
|
+
* <ul>
|
|
773
|
+
* <li>
|
|
774
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
775
|
+
* </li>
|
|
776
|
+
* <li>
|
|
777
|
+
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
778
|
+
* you can increase the limit for each resource type in the web ACL <code>AssociationConfig</code>, for additional processing fees. </p>
|
|
779
|
+
* </li>
|
|
780
|
+
* </ul>
|
|
739
781
|
* <p>For information about how to handle oversized
|
|
740
782
|
* request bodies, see the <code>Body</code> object configuration. </p>
|
|
741
783
|
*/
|
|
@@ -751,9 +793,18 @@ export interface FieldToMatch {
|
|
|
751
793
|
* <p>Inspect the request body as JSON. The request body immediately follows the request
|
|
752
794
|
* headers. This is the part of a request that contains any additional data that you want to
|
|
753
795
|
* send to your web server as the HTTP request body, such as data from a form. </p>
|
|
754
|
-
* <p>
|
|
755
|
-
*
|
|
756
|
-
*
|
|
796
|
+
* <p>WAF does not support inspecting the entire contents of the web request body if the body
|
|
797
|
+
* exceeds the limit for the resource type. When a web request body is larger than the limit, the underlying host service
|
|
798
|
+
* only forwards the contents that are within the limit to WAF for inspection. </p>
|
|
799
|
+
* <ul>
|
|
800
|
+
* <li>
|
|
801
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
802
|
+
* </li>
|
|
803
|
+
* <li>
|
|
804
|
+
* <p>For CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access, the default limit is 16 KB (16,384 bytes), and
|
|
805
|
+
* you can increase the limit for each resource type in the web ACL <code>AssociationConfig</code>, for additional processing fees. </p>
|
|
806
|
+
* </li>
|
|
807
|
+
* </ul>
|
|
757
808
|
* <p>For information about how to handle oversized
|
|
758
809
|
* request bodies, see the <code>JsonBody</code> object configuration. </p>
|
|
759
810
|
*/
|
|
@@ -2652,7 +2703,7 @@ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof Compar
|
|
|
2652
2703
|
/**
|
|
2653
2704
|
* @public
|
|
2654
2705
|
* <p>A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes. </p>
|
|
2655
|
-
* <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes
|
|
2706
|
+
* <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see <code>Body</code> and <code>JsonBody</code> settings for the <code>FieldToMatch</code> data type. </p>
|
|
2656
2707
|
* <p>If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI <code>/logo.jpg</code> is nine characters long.</p>
|
|
2657
2708
|
*/
|
|
2658
2709
|
export interface SizeConstraintStatement {
|
|
@@ -2772,7 +2823,11 @@ export interface APIKeySummary {
|
|
|
2772
2823
|
* @enum
|
|
2773
2824
|
*/
|
|
2774
2825
|
export declare const AssociatedResourceType: {
|
|
2826
|
+
readonly API_GATEWAY: "API_GATEWAY";
|
|
2827
|
+
readonly APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE";
|
|
2775
2828
|
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
2829
|
+
readonly COGNITO_USER_POOL: "COGNITO_USER_POOL";
|
|
2830
|
+
readonly VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE";
|
|
2776
2831
|
};
|
|
2777
2832
|
/**
|
|
2778
2833
|
* @public
|
|
@@ -3033,16 +3088,22 @@ export declare const SizeInspectionLimit: {
|
|
|
3033
3088
|
export type SizeInspectionLimit = (typeof SizeInspectionLimit)[keyof typeof SizeInspectionLimit];
|
|
3034
3089
|
/**
|
|
3035
3090
|
* @public
|
|
3036
|
-
* <p>Customizes the maximum size of the request body that your protected CloudFront
|
|
3091
|
+
* <p>Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. </p>
|
|
3037
3092
|
* <note>
|
|
3038
3093
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
3039
3094
|
* </note>
|
|
3095
|
+
* <p>Example JSON: <code> \{
|
|
3096
|
+
* "API_GATEWAY": "KB_48",
|
|
3097
|
+
* "APP_RUNNER_SERVICE": "KB_32"
|
|
3098
|
+
* \}</code>
|
|
3099
|
+
* </p>
|
|
3100
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
3040
3101
|
* <p>This is used in the <code>AssociationConfig</code> of the web ACL. </p>
|
|
3041
3102
|
*/
|
|
3042
3103
|
export interface RequestBodyAssociatedResourceTypeConfig {
|
|
3043
3104
|
/**
|
|
3044
3105
|
* @public
|
|
3045
|
-
* <p>Specifies the maximum size of the web request body component that an associated CloudFront
|
|
3106
|
+
* <p>Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. </p>
|
|
3046
3107
|
* <p>Default: <code>16 KB (16,384 bytes)</code>
|
|
3047
3108
|
* </p>
|
|
3048
3109
|
*/
|
|
@@ -3051,18 +3112,26 @@ export interface RequestBodyAssociatedResourceTypeConfig {
|
|
|
3051
3112
|
/**
|
|
3052
3113
|
* @public
|
|
3053
3114
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
3054
|
-
* <p>Use this to customize the maximum size of the request body that your protected
|
|
3115
|
+
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
3116
|
+
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
3055
3117
|
* <note>
|
|
3056
3118
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
3057
3119
|
* </note>
|
|
3120
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
3058
3121
|
*/
|
|
3059
3122
|
export interface AssociationConfig {
|
|
3060
3123
|
/**
|
|
3061
3124
|
* @public
|
|
3062
|
-
* <p>Customizes the maximum size of the request body that your protected CloudFront
|
|
3125
|
+
* <p>Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. </p>
|
|
3063
3126
|
* <note>
|
|
3064
3127
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
3065
3128
|
* </note>
|
|
3129
|
+
* <p>Example JSON: <code> \{
|
|
3130
|
+
* "API_GATEWAY": "KB_48",
|
|
3131
|
+
* "APP_RUNNER_SERVICE": "KB_32"
|
|
3132
|
+
* \}</code>
|
|
3133
|
+
* </p>
|
|
3134
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
3066
3135
|
*/
|
|
3067
3136
|
RequestBody?: Partial<Record<AssociatedResourceType, RequestBodyAssociatedResourceTypeConfig>>;
|
|
3068
3137
|
}
|
|
@@ -3248,6 +3317,11 @@ export declare class WAFLimitsExceededException extends __BaseException {
|
|
|
3248
3317
|
readonly name: "WAFLimitsExceededException";
|
|
3249
3318
|
readonly $fault: "client";
|
|
3250
3319
|
Message?: string;
|
|
3320
|
+
/**
|
|
3321
|
+
* @public
|
|
3322
|
+
* <p>Source type for the exception. </p>
|
|
3323
|
+
*/
|
|
3324
|
+
SourceType?: string;
|
|
3251
3325
|
/**
|
|
3252
3326
|
* @internal
|
|
3253
3327
|
*/
|
|
@@ -6806,7 +6880,7 @@ export interface Statement {
|
|
|
6806
6880
|
/**
|
|
6807
6881
|
* @public
|
|
6808
6882
|
* <p>A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes. </p>
|
|
6809
|
-
* <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes
|
|
6883
|
+
* <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes in the body up to the limit for the web ACL and protected resource type. If you know that the request body for your web requests should never exceed the inspection limit, you can use a size constraint statement to block requests that have a larger request body size. For more information about the inspection limits, see <code>Body</code> and <code>JsonBody</code> settings for the <code>FieldToMatch</code> data type. </p>
|
|
6810
6884
|
* <p>If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI <code>/logo.jpg</code> is nine characters long.</p>
|
|
6811
6885
|
*/
|
|
6812
6886
|
SizeConstraintStatement?: SizeConstraintStatement;
|
|
@@ -6849,6 +6923,9 @@ export interface Statement {
|
|
|
6849
6923
|
/**
|
|
6850
6924
|
* @public
|
|
6851
6925
|
* <p>A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance. </p>
|
|
6926
|
+
* <note>
|
|
6927
|
+
* <p>If you change any of these settings in a rule that's currently in use, the change resets the rule's rate limiting counts. This can pause the rule's rate limiting activities for up to a minute. </p>
|
|
6928
|
+
* </note>
|
|
6852
6929
|
* <p>You can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie. </p>
|
|
6853
6930
|
* <p>Each unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition. </p>
|
|
6854
6931
|
* <p>For example, assume the rule evaluates web requests with the following IP address and HTTP method values: </p>
|
|
@@ -7037,6 +7114,9 @@ export interface NotStatement {
|
|
|
7037
7114
|
/**
|
|
7038
7115
|
* @public
|
|
7039
7116
|
* <p>A rate-based rule counts incoming requests and rate limits requests when they are coming at too fast a rate. The rule categorizes requests according to your aggregation criteria, collects them into aggregation instances, and counts and rate limits the requests for each instance. </p>
|
|
7117
|
+
* <note>
|
|
7118
|
+
* <p>If you change any of these settings in a rule that's currently in use, the change resets the rule's rate limiting counts. This can pause the rule's rate limiting activities for up to a minute. </p>
|
|
7119
|
+
* </note>
|
|
7040
7120
|
* <p>You can specify individual aggregation keys, like IP address or HTTP method. You can also specify aggregation key combinations, like IP address and HTTP method, or HTTP method, query argument, and cookie. </p>
|
|
7041
7121
|
* <p>Each unique set of values for the aggregation keys that you specify is a separate aggregation instance, with the value from each key contributing to the aggregation instance definition. </p>
|
|
7042
7122
|
* <p>For example, assume the rule evaluates web requests with the following IP address and HTTP method values: </p>
|
|
@@ -7556,10 +7636,12 @@ export interface CreateWebACLRequest {
|
|
|
7556
7636
|
/**
|
|
7557
7637
|
* @public
|
|
7558
7638
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
7559
|
-
* <p>Use this to customize the maximum size of the request body that your protected
|
|
7639
|
+
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
7640
|
+
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
7560
7641
|
* <note>
|
|
7561
7642
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
7562
7643
|
* </note>
|
|
7644
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
7563
7645
|
*/
|
|
7564
7646
|
AssociationConfig?: AssociationConfig;
|
|
7565
7647
|
}
|
|
@@ -7807,10 +7889,12 @@ export interface UpdateWebACLRequest {
|
|
|
7807
7889
|
/**
|
|
7808
7890
|
* @public
|
|
7809
7891
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
7810
|
-
* <p>Use this to customize the maximum size of the request body that your protected
|
|
7892
|
+
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
7893
|
+
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
7811
7894
|
* <note>
|
|
7812
7895
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
7813
7896
|
* </note>
|
|
7897
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
7814
7898
|
*/
|
|
7815
7899
|
AssociationConfig?: AssociationConfig;
|
|
7816
7900
|
}
|
|
@@ -7964,10 +8048,12 @@ export interface WebACL {
|
|
|
7964
8048
|
/**
|
|
7965
8049
|
* @public
|
|
7966
8050
|
* <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
|
|
7967
|
-
* <p>Use this to customize the maximum size of the request body that your protected
|
|
8051
|
+
* <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
|
|
8052
|
+
* customize this setting for CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 16 KB (16,384 bytes). </p>
|
|
7968
8053
|
* <note>
|
|
7969
8054
|
* <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
|
|
7970
8055
|
* </note>
|
|
8056
|
+
* <p>For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
|
|
7971
8057
|
*/
|
|
7972
8058
|
AssociationConfig?: AssociationConfig;
|
|
7973
8059
|
}
|
|
@@ -666,7 +666,11 @@ export interface APIKeySummary {
|
|
|
666
666
|
Version?: number;
|
|
667
667
|
}
|
|
668
668
|
export declare const AssociatedResourceType: {
|
|
669
|
+
readonly API_GATEWAY: "API_GATEWAY";
|
|
670
|
+
readonly APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE";
|
|
669
671
|
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
672
|
+
readonly COGNITO_USER_POOL: "COGNITO_USER_POOL";
|
|
673
|
+
readonly VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE";
|
|
670
674
|
};
|
|
671
675
|
export type AssociatedResourceType =
|
|
672
676
|
(typeof AssociatedResourceType)[keyof typeof AssociatedResourceType];
|
|
@@ -860,6 +864,7 @@ export declare class WAFLimitsExceededException extends __BaseException {
|
|
|
860
864
|
readonly name: "WAFLimitsExceededException";
|
|
861
865
|
readonly $fault: "client";
|
|
862
866
|
Message?: string;
|
|
867
|
+
SourceType?: string;
|
|
863
868
|
constructor(
|
|
864
869
|
opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>
|
|
865
870
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-wafv2",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.1",
|
|
24
|
+
"@aws-sdk/core": "3.529.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.1",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|