@aws-sdk/client-wafv2 3.305.0 → 3.309.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.
Files changed (115) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/commands/AssociateWebACLCommand.js +2 -2
  3. package/dist-cjs/commands/CheckCapacityCommand.js +2 -2
  4. package/dist-cjs/commands/CreateIPSetCommand.js +2 -2
  5. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +2 -2
  6. package/dist-cjs/commands/CreateRuleGroupCommand.js +2 -2
  7. package/dist-cjs/commands/CreateWebACLCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteIPSetCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +2 -2
  11. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteRuleGroupCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteWebACLCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +2 -2
  16. package/dist-cjs/commands/DisassociateWebACLCommand.js +2 -2
  17. package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +2 -2
  18. package/dist-cjs/commands/GetIPSetCommand.js +2 -2
  19. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +2 -2
  20. package/dist-cjs/commands/GetManagedRuleSetCommand.js +2 -2
  21. package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +2 -2
  22. package/dist-cjs/commands/GetPermissionPolicyCommand.js +2 -2
  23. package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +2 -2
  24. package/dist-cjs/commands/GetRegexPatternSetCommand.js +2 -2
  25. package/dist-cjs/commands/GetRuleGroupCommand.js +2 -2
  26. package/dist-cjs/commands/GetSampledRequestsCommand.js +2 -2
  27. package/dist-cjs/commands/GetWebACLCommand.js +2 -2
  28. package/dist-cjs/commands/GetWebACLForResourceCommand.js +2 -2
  29. package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +2 -2
  30. package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +2 -2
  31. package/dist-cjs/commands/ListIPSetsCommand.js +2 -2
  32. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +2 -2
  33. package/dist-cjs/commands/ListManagedRuleSetsCommand.js +2 -2
  34. package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +2 -2
  35. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +2 -2
  36. package/dist-cjs/commands/ListResourcesForWebACLCommand.js +2 -2
  37. package/dist-cjs/commands/ListRuleGroupsCommand.js +2 -2
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  39. package/dist-cjs/commands/ListWebACLsCommand.js +2 -2
  40. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +2 -2
  41. package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +2 -2
  42. package/dist-cjs/commands/PutPermissionPolicyCommand.js +2 -2
  43. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  44. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  45. package/dist-cjs/commands/UpdateIPSetCommand.js +2 -2
  46. package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +2 -2
  47. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +2 -2
  48. package/dist-cjs/commands/UpdateRuleGroupCommand.js +2 -2
  49. package/dist-cjs/commands/UpdateWebACLCommand.js +2 -2
  50. package/dist-cjs/models/models_0.js +1 -11
  51. package/dist-cjs/protocols/Aws_json1_1.js +1426 -1661
  52. package/dist-es/commands/AssociateWebACLCommand.js +3 -3
  53. package/dist-es/commands/CheckCapacityCommand.js +3 -3
  54. package/dist-es/commands/CreateIPSetCommand.js +3 -3
  55. package/dist-es/commands/CreateRegexPatternSetCommand.js +3 -3
  56. package/dist-es/commands/CreateRuleGroupCommand.js +3 -3
  57. package/dist-es/commands/CreateWebACLCommand.js +3 -3
  58. package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +3 -3
  59. package/dist-es/commands/DeleteIPSetCommand.js +3 -3
  60. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -3
  61. package/dist-es/commands/DeletePermissionPolicyCommand.js +3 -3
  62. package/dist-es/commands/DeleteRegexPatternSetCommand.js +3 -3
  63. package/dist-es/commands/DeleteRuleGroupCommand.js +3 -3
  64. package/dist-es/commands/DeleteWebACLCommand.js +3 -3
  65. package/dist-es/commands/DescribeManagedRuleGroupCommand.js +3 -3
  66. package/dist-es/commands/DisassociateWebACLCommand.js +3 -3
  67. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +3 -3
  68. package/dist-es/commands/GetIPSetCommand.js +3 -3
  69. package/dist-es/commands/GetLoggingConfigurationCommand.js +3 -3
  70. package/dist-es/commands/GetManagedRuleSetCommand.js +3 -3
  71. package/dist-es/commands/GetMobileSdkReleaseCommand.js +3 -3
  72. package/dist-es/commands/GetPermissionPolicyCommand.js +3 -3
  73. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +3 -3
  74. package/dist-es/commands/GetRegexPatternSetCommand.js +3 -3
  75. package/dist-es/commands/GetRuleGroupCommand.js +3 -3
  76. package/dist-es/commands/GetSampledRequestsCommand.js +3 -3
  77. package/dist-es/commands/GetWebACLCommand.js +3 -3
  78. package/dist-es/commands/GetWebACLForResourceCommand.js +3 -3
  79. package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +3 -3
  80. package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +3 -3
  81. package/dist-es/commands/ListIPSetsCommand.js +3 -3
  82. package/dist-es/commands/ListLoggingConfigurationsCommand.js +3 -3
  83. package/dist-es/commands/ListManagedRuleSetsCommand.js +3 -3
  84. package/dist-es/commands/ListMobileSdkReleasesCommand.js +3 -3
  85. package/dist-es/commands/ListRegexPatternSetsCommand.js +3 -3
  86. package/dist-es/commands/ListResourcesForWebACLCommand.js +3 -3
  87. package/dist-es/commands/ListRuleGroupsCommand.js +3 -3
  88. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  89. package/dist-es/commands/ListWebACLsCommand.js +3 -3
  90. package/dist-es/commands/PutLoggingConfigurationCommand.js +3 -3
  91. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +3 -3
  92. package/dist-es/commands/PutPermissionPolicyCommand.js +3 -3
  93. package/dist-es/commands/TagResourceCommand.js +3 -3
  94. package/dist-es/commands/UntagResourceCommand.js +3 -3
  95. package/dist-es/commands/UpdateIPSetCommand.js +3 -3
  96. package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +3 -3
  97. package/dist-es/commands/UpdateRegexPatternSetCommand.js +3 -3
  98. package/dist-es/commands/UpdateRuleGroupCommand.js +3 -3
  99. package/dist-es/commands/UpdateWebACLCommand.js +3 -3
  100. package/dist-es/models/models_0.js +0 -10
  101. package/dist-es/protocols/Aws_json1_1.js +1328 -1563
  102. package/dist-types/WAFV2.d.ts +11 -13
  103. package/dist-types/WAFV2Client.d.ts +1 -1
  104. package/dist-types/commands/AssociateWebACLCommand.d.ts +2 -2
  105. package/dist-types/commands/CheckCapacityCommand.d.ts +2 -2
  106. package/dist-types/commands/CreateWebACLCommand.d.ts +1 -8
  107. package/dist-types/commands/DeleteWebACLCommand.d.ts +2 -4
  108. package/dist-types/commands/DisassociateWebACLCommand.d.ts +2 -2
  109. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
  110. package/dist-types/commands/UpdateWebACLCommand.d.ts +1 -8
  111. package/dist-types/models/models_0.d.ts +136 -239
  112. package/dist-types/protocols/Aws_json1_1.d.ts +384 -96
  113. package/dist-types/ts3.4/models/models_0.d.ts +0 -23
  114. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -96
  115. package/package.json +29 -29
@@ -62,15 +62,14 @@ export interface CustomHTTPHeader {
62
62
  * <p>Custom request handling behavior that inserts custom headers into a web request. You can
63
63
  * add custom request handling for WAF to use when the rule action doesn't block the request.
64
64
  * For example, <code>CaptchaAction</code> for requests with valid t okens, and <code>AllowAction</code>. </p>
65
- * <p>For information about customizing web requests and responses,
66
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
67
- * in the <i>WAF Developer Guide</i>. </p>
65
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
66
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
68
67
  */
69
68
  export interface CustomRequestHandling {
70
69
  /**
71
70
  * <p>The HTTP headers to insert into the request. Duplicate header names are not allowed. </p>
72
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
73
- * in the <i>WAF Developer Guide</i>. </p>
71
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
72
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
74
73
  */
75
74
  InsertHeaders: CustomHTTPHeader[] | undefined;
76
75
  }
@@ -83,9 +82,8 @@ export interface CustomRequestHandling {
83
82
  export interface AllowAction {
84
83
  /**
85
84
  * <p>Defines custom handling for the web request.</p>
86
- * <p>For information about customizing web requests and responses,
87
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
88
- * in the <i>WAF Developer Guide</i>. </p>
85
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
86
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
89
87
  */
90
88
  CustomRequestHandling?: CustomRequestHandling;
91
89
  }
@@ -120,11 +118,9 @@ export type OversizeHandling = (typeof OversizeHandling)[keyof typeof OversizeHa
120
118
  export interface Body {
121
119
  /**
122
120
  * <p>What WAF should do if the body is larger than WAF can inspect.
123
- * WAF does not support inspecting the entire contents of the web request body if the body
124
- * exceeds the limit for the resource type. If the body is larger than the limit, the underlying host service
125
- * only forwards the contents that are below the limit to WAF for inspection. </p>
126
- * <p>The default limit is 8 KB (8,192 kilobytes) for regional resources and 16 KB (16,384 kilobytes) for CloudFront distributions. For CloudFront distributions,
127
- * you can increase the limit in the web ACL <code>AssociationConfig</code>, for additional processing fees. </p>
121
+ * WAF does not support inspecting the entire contents of the body of a web request
122
+ * when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to
123
+ * WAF by the underlying host service. </p>
128
124
  * <p>The options for oversize handling are the following:</p>
129
125
  * <ul>
130
126
  * <li>
@@ -143,7 +139,7 @@ export interface Body {
143
139
  * </li>
144
140
  * </ul>
145
141
  * <p>You can combine the <code>MATCH</code> or <code>NO_MATCH</code>
146
- * settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit. </p>
142
+ * settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over 8 KB. </p>
147
143
  * <p>Default: <code>CONTINUE</code>
148
144
  * </p>
149
145
  */
@@ -433,11 +429,9 @@ export interface JsonBody {
433
429
  InvalidFallbackBehavior?: BodyParsingFallbackBehavior | string;
434
430
  /**
435
431
  * <p>What WAF should do if the body is larger than WAF can inspect.
436
- * WAF does not support inspecting the entire contents of the web request body if the body
437
- * exceeds the limit for the resource type. If the body is larger than the limit, the underlying host service
438
- * only forwards the contents that are below the limit to WAF for inspection. </p>
439
- * <p>The default limit is 8 KB (8,192 kilobytes) for regional resources and 16 KB (16,384 kilobytes) for CloudFront distributions. For CloudFront distributions,
440
- * you can increase the limit in the web ACL <code>AssociationConfig</code>, for additional processing fees. </p>
432
+ * WAF does not support inspecting the entire contents of the body of a web request
433
+ * when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to
434
+ * WAF by the underlying host service. </p>
441
435
  * <p>The options for oversize handling are the following:</p>
442
436
  * <ul>
443
437
  * <li>
@@ -456,7 +450,7 @@ export interface JsonBody {
456
450
  * </li>
457
451
  * </ul>
458
452
  * <p>You can combine the <code>MATCH</code> or <code>NO_MATCH</code>
459
- * settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over the limit. </p>
453
+ * settings for oversize handling with your rule and web ACL action settings, so that you block any request whose body is over 8 KB. </p>
460
454
  * <p>Default: <code>CONTINUE</code>
461
455
  * </p>
462
456
  */
@@ -577,10 +571,8 @@ export interface FieldToMatch {
577
571
  * <p>Inspect the request body as plain text. The request body immediately follows the request
578
572
  * headers. This is the part of a request that contains any additional data that you want to
579
573
  * send to your web server as the HTTP request body, such as data from a form. </p>
580
- * <p>A limited amount of the request body is forwarded to WAF for
581
- * inspection by the underlying host service. For regional resources, the limit is 8 KB (8,192 kilobytes) and for CloudFront distributions, the limit is 16 KB (16,384 kilobytes). For CloudFront distributions,
582
- * you can increase the limit in the web ACL's <code>AssociationConfig</code>, for additional processing fees. </p>
583
- * <p>For information about how to handle oversized
574
+ * <p>Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for
575
+ * inspection by the underlying host service. For information about how to handle oversized
584
576
  * request bodies, see the <code>Body</code> object configuration. </p>
585
577
  */
586
578
  Body?: Body;
@@ -593,10 +585,8 @@ export interface FieldToMatch {
593
585
  * <p>Inspect the request body as JSON. The request body immediately follows the request
594
586
  * headers. This is the part of a request that contains any additional data that you want to
595
587
  * send to your web server as the HTTP request body, such as data from a form. </p>
596
- * <p>A limited amount of the request body is forwarded to WAF for
597
- * inspection by the underlying host service. For regional resources, the limit is 8 KB (8,192 kilobytes) and for CloudFront distributions, the limit is 16 KB (16,384 kilobytes). For CloudFront distributions,
598
- * you can increase the limit in the web ACL's <code>AssociationConfig</code>, for additional processing fees. </p>
599
- * <p>For information about how to handle oversized
588
+ * <p>Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for
589
+ * inspection by the underlying host service. For information about how to handle oversized
600
590
  * request bodies, see the <code>JsonBody</code> object configuration. </p>
601
591
  */
602
592
  JsonBody?: JsonBody;
@@ -1702,8 +1692,7 @@ export interface AWSManagedRulesBotControlRuleSet {
1702
1692
  /**
1703
1693
  * <p>The inspection level to use for the Bot Control rule group. The common level is the least expensive. The
1704
1694
  * targeted level includes all common level rules and adds rules with more advanced inspection criteria. For
1705
- * details, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a>
1706
- * in the <i>WAF Developer Guide</i>.</p>
1695
+ * details, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html">WAF Bot Control rule group</a>.</p>
1707
1696
  */
1708
1697
  InspectionLevel: InspectionLevel | string | undefined;
1709
1698
  }
@@ -1775,15 +1764,14 @@ export interface ManagedRuleGroupConfig {
1775
1764
  * @public
1776
1765
  * <p>A custom response to send to the client. You can define a custom response for rule
1777
1766
  * actions and default web ACL actions that are set to <a>BlockAction</a>. </p>
1778
- * <p>For information about customizing web requests and responses,
1779
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
1780
- * in the <i>WAF Developer Guide</i>. </p>
1767
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
1768
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1781
1769
  */
1782
1770
  export interface CustomResponse {
1783
1771
  /**
1784
1772
  * <p>The HTTP status code to return to the client. </p>
1785
- * <p>For a list of status codes that you can use in your custom responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-response-status-codes.html">Supported status codes for custom response</a>
1786
- * in the <i>WAF Developer Guide</i>. </p>
1773
+ * <p>For a list of status codes that you can use in your custom responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-response-status-codes.html">Supported status codes for custom response</a> in the
1774
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1787
1775
  */
1788
1776
  ResponseCode: number | undefined;
1789
1777
  /**
@@ -1797,8 +1785,8 @@ export interface CustomResponse {
1797
1785
  CustomResponseBodyKey?: string;
1798
1786
  /**
1799
1787
  * <p>The HTTP headers to use in the response. Duplicate header names are not allowed. </p>
1800
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
1801
- * in the <i>WAF Developer Guide</i>. </p>
1788
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
1789
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1802
1790
  */
1803
1791
  ResponseHeaders?: CustomHTTPHeader[];
1804
1792
  }
@@ -1811,9 +1799,8 @@ export interface CustomResponse {
1811
1799
  export interface BlockAction {
1812
1800
  /**
1813
1801
  * <p>Defines a custom response for the web request.</p>
1814
- * <p>For information about customizing web requests and responses,
1815
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
1816
- * in the <i>WAF Developer Guide</i>. </p>
1802
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
1803
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1817
1804
  */
1818
1805
  CustomResponse?: CustomResponse;
1819
1806
  }
@@ -1851,9 +1838,8 @@ export interface BlockAction {
1851
1838
  export interface CaptchaAction {
1852
1839
  /**
1853
1840
  * <p>Defines custom handling for the web request, used when the <code>CAPTCHA</code> inspection determines that the request's token is valid and unexpired.</p>
1854
- * <p>For information about customizing web requests and responses,
1855
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
1856
- * in the <i>WAF Developer Guide</i>. </p>
1841
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
1842
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1857
1843
  */
1858
1844
  CustomRequestHandling?: CustomRequestHandling;
1859
1845
  }
@@ -1895,9 +1881,8 @@ export interface CaptchaAction {
1895
1881
  export interface ChallengeAction {
1896
1882
  /**
1897
1883
  * <p>Defines custom handling for the web request, used when the challenge inspection determines that the request's token is valid and unexpired.</p>
1898
- * <p>For information about customizing web requests and responses,
1899
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
1900
- * in the <i>WAF Developer Guide</i>. </p>
1884
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
1885
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1901
1886
  */
1902
1887
  CustomRequestHandling?: CustomRequestHandling;
1903
1888
  }
@@ -1910,9 +1895,8 @@ export interface ChallengeAction {
1910
1895
  export interface CountAction {
1911
1896
  /**
1912
1897
  * <p>Defines custom handling for the web request.</p>
1913
- * <p>For information about customizing web requests and responses,
1914
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
1915
- * in the <i>WAF Developer Guide</i>. </p>
1898
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
1899
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
1916
1900
  */
1917
1901
  CustomRequestHandling?: CustomRequestHandling;
1918
1902
  }
@@ -2055,7 +2039,7 @@ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof Compar
2055
2039
  /**
2056
2040
  * @public
2057
2041
  * <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>
2058
- * <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes of the body up to the limit for the web ACL. By default, for regional web ACLs, this limit is 8 KB (8,192 kilobytes) and for CloudFront web ACLs, this limit is 16 KB (16,384 kilobytes). For CloudFront web ACLs, you can increase the limit in the web ACL <code>AssociationConfig</code>, for additional fees. If you know that the request body for your web requests should never exceed the inspection limit, you could use a size constraint statement to block requests that have a larger request body size.</p>
2042
+ * <p>If you configure WAF to inspect the request body, WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you could use a size constraint statement to block requests that have a request body greater than 8192 bytes.</p>
2059
2043
  * <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>
2060
2044
  */
2061
2045
  export interface SizeConstraintStatement {
@@ -2138,17 +2122,6 @@ export interface XssMatchStatement {
2138
2122
  */
2139
2123
  TextTransformations: TextTransformation[] | undefined;
2140
2124
  }
2141
- /**
2142
- * @public
2143
- * @enum
2144
- */
2145
- export declare const AssociatedResourceType: {
2146
- readonly CLOUDFRONT: "CLOUDFRONT";
2147
- };
2148
- /**
2149
- * @public
2150
- */
2151
- export type AssociatedResourceType = (typeof AssociatedResourceType)[keyof typeof AssociatedResourceType];
2152
2125
  /**
2153
2126
  * @public
2154
2127
  */
@@ -2163,27 +2136,27 @@ export interface AssociateWebACLRequest {
2163
2136
  * <p>The ARN must be in one of the following formats:</p>
2164
2137
  * <ul>
2165
2138
  * <li>
2166
- * <p>For an Application Load Balancer: <code>arn:<i>partition</i>:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
2139
+ * <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
2167
2140
  * </code>
2168
2141
  * </p>
2169
2142
  * </li>
2170
2143
  * <li>
2171
- * <p>For an Amazon API Gateway REST API: <code>arn:<i>partition</i>:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
2144
+ * <p>For an Amazon API Gateway REST API: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
2172
2145
  * </code>
2173
2146
  * </p>
2174
2147
  * </li>
2175
2148
  * <li>
2176
- * <p>For an AppSync GraphQL API: <code>arn:<i>partition</i>:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
2149
+ * <p>For an AppSync GraphQL API: <code>arn:aws:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
2177
2150
  * </code>
2178
2151
  * </p>
2179
2152
  * </li>
2180
2153
  * <li>
2181
- * <p>For an Amazon Cognito user pool: <code>arn:<i>partition</i>:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i>
2154
+ * <p>For an Amazon Cognito user pool: <code>arn:aws:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i>
2182
2155
  * </code>
2183
2156
  * </p>
2184
2157
  * </li>
2185
2158
  * <li>
2186
- * <p>For an App Runner service: <code>arn:<i>partition</i>:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i>
2159
+ * <p>For an App Runner service: <code>arn:aws:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i>
2187
2160
  * </code>
2188
2161
  * </p>
2189
2162
  * </li>
@@ -2230,7 +2203,6 @@ export declare class WAFInvalidOperationException extends __BaseException {
2230
2203
  export declare const ParameterExceptionField: {
2231
2204
  readonly AND_STATEMENT: "AND_STATEMENT";
2232
2205
  readonly ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE";
2233
- readonly ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE";
2234
2206
  readonly ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION";
2235
2207
  readonly BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR";
2236
2208
  readonly BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT";
@@ -2375,53 +2347,6 @@ export declare class WAFUnavailableEntityException extends __BaseException {
2375
2347
  */
2376
2348
  constructor(opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>);
2377
2349
  }
2378
- /**
2379
- * @public
2380
- * @enum
2381
- */
2382
- export declare const SizeInspectionLimit: {
2383
- readonly KB_16: "KB_16";
2384
- readonly KB_32: "KB_32";
2385
- readonly KB_48: "KB_48";
2386
- readonly KB_64: "KB_64";
2387
- };
2388
- /**
2389
- * @public
2390
- */
2391
- export type SizeInspectionLimit = (typeof SizeInspectionLimit)[keyof typeof SizeInspectionLimit];
2392
- /**
2393
- * @public
2394
- * <p>Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default size is 16 KB (16,384 kilobytes). </p>
2395
- * <note>
2396
- * <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>
2397
- * </note>
2398
- * <p>This is used in the <code>AssociationConfig</code> of the web ACL. </p>
2399
- */
2400
- export interface RequestBodyAssociatedResourceTypeConfig {
2401
- /**
2402
- * <p>Specifies the maximum size of the web request body component that an associated CloudFront distribution should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. </p>
2403
- * <p>Default: <code>16 KB (16,384 kilobytes)</code>
2404
- * </p>
2405
- */
2406
- DefaultSizeInspectionLimit: SizeInspectionLimit | string | undefined;
2407
- }
2408
- /**
2409
- * @public
2410
- * <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
2411
- * <p>Use this to customize the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default is 16 KB (16,384 kilobytes). </p>
2412
- * <note>
2413
- * <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>
2414
- * </note>
2415
- */
2416
- export interface AssociationConfig {
2417
- /**
2418
- * <p>Customizes the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default size is 16 KB (16,384 kilobytes). </p>
2419
- * <note>
2420
- * <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>
2421
- * </note>
2422
- */
2423
- RequestBody?: Record<string, RequestBodyAssociatedResourceTypeConfig>;
2424
- }
2425
2350
  /**
2426
2351
  * @public
2427
2352
  * <p>Used for CAPTCHA and challenge token settings. Determines
@@ -2518,7 +2443,7 @@ export interface VisibilityConfig {
2518
2443
  /**
2519
2444
  * <p>A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the
2520
2445
  * list of available metrics, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics">WAF
2521
- * Metrics</a> in the <i>WAF Developer Guide</i>.</p>
2446
+ * Metrics</a>.</p>
2522
2447
  */
2523
2448
  CloudWatchMetricsEnabled: boolean | undefined;
2524
2449
  /**
@@ -2656,7 +2581,7 @@ export interface CreateIPSetRequest {
2656
2581
  */
2657
2582
  Name: string | undefined;
2658
2583
  /**
2659
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
2584
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
2660
2585
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
2661
2586
  * <ul>
2662
2587
  * <li>
@@ -2830,7 +2755,7 @@ export interface CreateRegexPatternSetRequest {
2830
2755
  */
2831
2756
  Name: string | undefined;
2832
2757
  /**
2833
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
2758
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
2834
2759
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
2835
2760
  * <ul>
2836
2761
  * <li>
@@ -2919,8 +2844,8 @@ export interface CustomResponseBody {
2919
2844
  * <p>The payload of the custom response. </p>
2920
2845
  * <p>You can use JSON escape strings in JSON content. To do this, you must specify JSON
2921
2846
  * content in the <code>ContentType</code> setting. </p>
2922
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
2923
- * in the <i>WAF Developer Guide</i>. </p>
2847
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
2848
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
2924
2849
  */
2925
2850
  Content: string | undefined;
2926
2851
  }
@@ -3064,7 +2989,7 @@ export interface DeleteIPSetRequest {
3064
2989
  */
3065
2990
  Name: string | undefined;
3066
2991
  /**
3067
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
2992
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3068
2993
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3069
2994
  * <ul>
3070
2995
  * <li>
@@ -3143,7 +3068,7 @@ export interface DeleteRegexPatternSetRequest {
3143
3068
  */
3144
3069
  Name: string | undefined;
3145
3070
  /**
3146
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3071
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3147
3072
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3148
3073
  * <ul>
3149
3074
  * <li>
@@ -3178,7 +3103,7 @@ export interface DeleteRuleGroupRequest {
3178
3103
  */
3179
3104
  Name: string | undefined;
3180
3105
  /**
3181
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3106
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3182
3107
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3183
3108
  * <ul>
3184
3109
  * <li>
@@ -3213,7 +3138,7 @@ export interface DeleteWebACLRequest {
3213
3138
  */
3214
3139
  Name: string | undefined;
3215
3140
  /**
3216
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3141
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3217
3142
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3218
3143
  * <ul>
3219
3144
  * <li>
@@ -3252,7 +3177,7 @@ export interface DescribeManagedRuleGroupRequest {
3252
3177
  */
3253
3178
  Name: string | undefined;
3254
3179
  /**
3255
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3180
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3256
3181
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3257
3182
  * <ul>
3258
3183
  * <li>
@@ -3324,15 +3249,12 @@ export interface DescribeManagedRuleGroupResponse {
3324
3249
  */
3325
3250
  SnsTopicArn?: string;
3326
3251
  /**
3327
- * <p>The web ACL capacity units (WCUs) required for this rule group.</p>
3328
- * <p>WAF uses WCUs to calculate and control the operating
3329
- * resources that are used to run your rules, rule groups, and web ACLs. WAF
3330
- * calculates capacity differently for each rule type, to reflect the relative cost of each rule.
3331
- * Simple rules that cost little to run use fewer WCUs than more complex rules
3332
- * that use more processing power.
3333
- * Rule group capacity is fixed at creation, which helps users plan their
3334
- * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
3335
- * in the <i>WAF Developer Guide</i>. </p>
3252
+ * <p>The web ACL capacity units (WCUs) required for this rule group. WAF uses web ACL
3253
+ * capacity units (WCU) to calculate and control the operating resources that are used to run
3254
+ * your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule
3255
+ * type, to reflect each rule's relative cost. Rule group capacity is fixed at creation, so
3256
+ * users can plan their web ACL WCU usage when they use a rule group. The WCU limit for web
3257
+ * ACLs is 1,500. </p>
3336
3258
  */
3337
3259
  Capacity?: number;
3338
3260
  /**
@@ -3374,27 +3296,27 @@ export interface DisassociateWebACLRequest {
3374
3296
  * <p>The ARN must be in one of the following formats:</p>
3375
3297
  * <ul>
3376
3298
  * <li>
3377
- * <p>For an Application Load Balancer: <code>arn:<i>partition</i>:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
3299
+ * <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
3378
3300
  * </code>
3379
3301
  * </p>
3380
3302
  * </li>
3381
3303
  * <li>
3382
- * <p>For an Amazon API Gateway REST API: <code>arn:<i>partition</i>:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
3304
+ * <p>For an Amazon API Gateway REST API: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
3383
3305
  * </code>
3384
3306
  * </p>
3385
3307
  * </li>
3386
3308
  * <li>
3387
- * <p>For an AppSync GraphQL API: <code>arn:<i>partition</i>:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
3309
+ * <p>For an AppSync GraphQL API: <code>arn:aws:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
3388
3310
  * </code>
3389
3311
  * </p>
3390
3312
  * </li>
3391
3313
  * <li>
3392
- * <p>For an Amazon Cognito user pool: <code>arn:<i>partition</i>:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i>
3314
+ * <p>For an Amazon Cognito user pool: <code>arn:aws:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i>
3393
3315
  * </code>
3394
3316
  * </p>
3395
3317
  * </li>
3396
3318
  * <li>
3397
- * <p>For an App Runner service: <code>arn:<i>partition</i>:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i>
3319
+ * <p>For an App Runner service: <code>arn:aws:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i>
3398
3320
  * </code>
3399
3321
  * </p>
3400
3322
  * </li>
@@ -3451,7 +3373,7 @@ export interface GetIPSetRequest {
3451
3373
  */
3452
3374
  Name: string | undefined;
3453
3375
  /**
3454
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3376
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3455
3377
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3456
3378
  * <ul>
3457
3379
  * <li>
@@ -3737,7 +3659,7 @@ export interface GetManagedRuleSetRequest {
3737
3659
  */
3738
3660
  Name: string | undefined;
3739
3661
  /**
3740
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3662
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3741
3663
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3742
3664
  * <ul>
3743
3665
  * <li>
@@ -3776,8 +3698,8 @@ export interface ManagedRuleSetVersion {
3776
3698
  * Simple rules that cost little to run use fewer WCUs than more complex rules
3777
3699
  * that use more processing power.
3778
3700
  * Rule group capacity is fixed at creation, which helps users plan their
3779
- * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
3780
- * in the <i>WAF Developer Guide</i>. </p>
3701
+ * web ACL WCU usage when they use a rule group.
3702
+ * The WCU limit for web ACLs is 1,500. </p>
3781
3703
  */
3782
3704
  Capacity?: number;
3783
3705
  /**
@@ -3938,7 +3860,7 @@ export interface GetPermissionPolicyResponse {
3938
3860
  */
3939
3861
  export interface GetRateBasedStatementManagedKeysRequest {
3940
3862
  /**
3941
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3863
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
3942
3864
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
3943
3865
  * <ul>
3944
3866
  * <li>
@@ -4006,7 +3928,7 @@ export interface GetRegexPatternSetRequest {
4006
3928
  */
4007
3929
  Name: string | undefined;
4008
3930
  /**
4009
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3931
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4010
3932
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4011
3933
  * <ul>
4012
3934
  * <li>
@@ -4073,7 +3995,7 @@ export interface GetRuleGroupRequest {
4073
3995
  */
4074
3996
  Name?: string;
4075
3997
  /**
4076
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
3998
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4077
3999
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4078
4000
  * <ul>
4079
4001
  * <li>
@@ -4144,7 +4066,7 @@ export interface GetSampledRequestsRequest {
4144
4066
  */
4145
4067
  RuleMetricName: string | undefined;
4146
4068
  /**
4147
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4069
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4148
4070
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4149
4071
  * <ul>
4150
4072
  * <li>
@@ -4395,7 +4317,7 @@ export interface GetWebACLRequest {
4395
4317
  */
4396
4318
  Name: string | undefined;
4397
4319
  /**
4398
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4320
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4399
4321
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4400
4322
  * <ul>
4401
4323
  * <li>
@@ -4421,27 +4343,27 @@ export interface GetWebACLForResourceRequest {
4421
4343
  * <p>The ARN must be in one of the following formats:</p>
4422
4344
  * <ul>
4423
4345
  * <li>
4424
- * <p>For an Application Load Balancer: <code>arn:<i>partition</i>:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
4346
+ * <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i>
4425
4347
  * </code>
4426
4348
  * </p>
4427
4349
  * </li>
4428
4350
  * <li>
4429
- * <p>For an Amazon API Gateway REST API: <code>arn:<i>partition</i>:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
4351
+ * <p>For an Amazon API Gateway REST API: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i>
4430
4352
  * </code>
4431
4353
  * </p>
4432
4354
  * </li>
4433
4355
  * <li>
4434
- * <p>For an AppSync GraphQL API: <code>arn:<i>partition</i>:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
4356
+ * <p>For an AppSync GraphQL API: <code>arn:aws:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
4435
4357
  * </code>
4436
4358
  * </p>
4437
4359
  * </li>
4438
4360
  * <li>
4439
- * <p>For an Amazon Cognito user pool: <code>arn:<i>partition</i>:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i>
4361
+ * <p>For an Amazon Cognito user pool: <code>arn:aws:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i>
4440
4362
  * </code>
4441
4363
  * </p>
4442
4364
  * </li>
4443
4365
  * <li>
4444
- * <p>For an App Runner service: <code>arn:<i>partition</i>:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i>
4366
+ * <p>For an App Runner service: <code>arn:aws:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i>
4445
4367
  * </code>
4446
4368
  * </p>
4447
4369
  * </li>
@@ -4454,7 +4376,7 @@ export interface GetWebACLForResourceRequest {
4454
4376
  */
4455
4377
  export interface ListAvailableManagedRuleGroupsRequest {
4456
4378
  /**
4457
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4379
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4458
4380
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4459
4381
  * <ul>
4460
4382
  * <li>
@@ -4530,7 +4452,7 @@ export interface ListAvailableManagedRuleGroupVersionsRequest {
4530
4452
  */
4531
4453
  Name: string | undefined;
4532
4454
  /**
4533
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4455
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4534
4456
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4535
4457
  * <ul>
4536
4458
  * <li>
@@ -4594,7 +4516,7 @@ export interface ListAvailableManagedRuleGroupVersionsResponse {
4594
4516
  */
4595
4517
  export interface ListIPSetsRequest {
4596
4518
  /**
4597
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4519
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4598
4520
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4599
4521
  * <ul>
4600
4522
  * <li>
@@ -4640,7 +4562,7 @@ export interface ListIPSetsResponse {
4640
4562
  */
4641
4563
  export interface ListLoggingConfigurationsRequest {
4642
4564
  /**
4643
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4565
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4644
4566
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4645
4567
  * <ul>
4646
4568
  * <li>
@@ -4685,7 +4607,7 @@ export interface ListLoggingConfigurationsResponse {
4685
4607
  */
4686
4608
  export interface ListManagedRuleSetsRequest {
4687
4609
  /**
4688
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4610
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4689
4611
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4690
4612
  * <ul>
4691
4613
  * <li>
@@ -4828,7 +4750,7 @@ export interface ListMobileSdkReleasesResponse {
4828
4750
  */
4829
4751
  export interface ListRegexPatternSetsRequest {
4830
4752
  /**
4831
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4753
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4832
4754
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4833
4755
  * <ul>
4834
4756
  * <li>
@@ -4893,7 +4815,7 @@ export interface ListResourcesForWebACLRequest {
4893
4815
  WebACLArn: string | undefined;
4894
4816
  /**
4895
4817
  * <p>Used for web ACLs that are scoped for regional applications.
4896
- * A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4818
+ * A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4897
4819
  * <note>
4898
4820
  * <p>If you don't provide a resource type, the call uses the resource type <code>APPLICATION_LOAD_BALANCER</code>. </p>
4899
4821
  * </note>
@@ -4916,7 +4838,7 @@ export interface ListResourcesForWebACLResponse {
4916
4838
  */
4917
4839
  export interface ListRuleGroupsRequest {
4918
4840
  /**
4919
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4841
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
4920
4842
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
4921
4843
  * <ul>
4922
4844
  * <li>
@@ -5020,7 +4942,7 @@ export interface ListTagsForResourceResponse {
5020
4942
  */
5021
4943
  export interface ListWebACLsRequest {
5022
4944
  /**
5023
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
4945
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5024
4946
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5025
4947
  * <ul>
5026
4948
  * <li>
@@ -5143,7 +5065,7 @@ export interface PutManagedRuleSetVersionsRequest {
5143
5065
  */
5144
5066
  Name: string | undefined;
5145
5067
  /**
5146
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5068
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5147
5069
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5148
5070
  * <ul>
5149
5071
  * <li>
@@ -5197,7 +5119,7 @@ export interface PutPermissionPolicyRequest {
5197
5119
  * <p>The policy specifications must conform to the following:</p>
5198
5120
  * <ul>
5199
5121
  * <li>
5200
- * <p>The policy must be composed using IAM Policy version 2012-10-17.</p>
5122
+ * <p>The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.</p>
5201
5123
  * </li>
5202
5124
  * <li>
5203
5125
  * <p>The policy must include specifications for <code>Effect</code>, <code>Action</code>, and <code>Principal</code>.</p>
@@ -5231,7 +5153,7 @@ export interface PutPermissionPolicyResponse {
5231
5153
  * <p>The policy specifications must conform to the following:</p>
5232
5154
  * <ul>
5233
5155
  * <li>
5234
- * <p>The policy must be composed using IAM Policy version 2012-10-17.</p>
5156
+ * <p>The policy must be composed using IAM Policy version 2012-10-17 or version 2015-01-01.</p>
5235
5157
  * </li>
5236
5158
  * <li>
5237
5159
  * <p>The policy must include specifications for <code>Effect</code>, <code>Action</code>, and <code>Principal</code>.</p>
@@ -5306,7 +5228,7 @@ export interface UpdateIPSetRequest {
5306
5228
  */
5307
5229
  Name: string | undefined;
5308
5230
  /**
5309
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5231
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5310
5232
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5311
5233
  * <ul>
5312
5234
  * <li>
@@ -5389,7 +5311,7 @@ export interface UpdateManagedRuleSetVersionExpiryDateRequest {
5389
5311
  */
5390
5312
  Name: string | undefined;
5391
5313
  /**
5392
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5314
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5393
5315
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5394
5316
  * <ul>
5395
5317
  * <li>
@@ -5447,7 +5369,7 @@ export interface UpdateRegexPatternSetRequest {
5447
5369
  */
5448
5370
  Name: string | undefined;
5449
5371
  /**
5450
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5372
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5451
5373
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5452
5374
  * <ul>
5453
5375
  * <li>
@@ -5525,7 +5447,7 @@ export interface Statement {
5525
5447
  XssMatchStatement?: XssMatchStatement;
5526
5448
  /**
5527
5449
  * <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>
5528
- * <p>If you configure WAF to inspect the request body, WAF inspects only the number of bytes of the body up to the limit for the web ACL. By default, for regional web ACLs, this limit is 8 KB (8,192 kilobytes) and for CloudFront web ACLs, this limit is 16 KB (16,384 kilobytes). For CloudFront web ACLs, you can increase the limit in the web ACL <code>AssociationConfig</code>, for additional fees. If you know that the request body for your web requests should never exceed the inspection limit, you could use a size constraint statement to block requests that have a larger request body size.</p>
5450
+ * <p>If you configure WAF to inspect the request body, WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you could use a size constraint statement to block requests that have a request body greater than 8192 bytes.</p>
5529
5451
  * <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>
5530
5452
  */
5531
5453
  SizeConstraintStatement?: SizeConstraintStatement;
@@ -5839,15 +5761,21 @@ export interface OrStatement {
5839
5761
  }
5840
5762
  /**
5841
5763
  * @public
5842
- * <p>The processing guidance for an Firewall Manager rule. This is like a regular rule <a>Statement</a>, but it can only contain a single rule group reference.</p>
5764
+ * <p>The processing guidance for an Firewall Manager rule. This is like a regular rule <a>Statement</a>, but it can only contain a rule group reference.</p>
5843
5765
  */
5844
5766
  export interface FirewallManagerStatement {
5845
5767
  /**
5846
- * <p>A statement used by Firewall Manager to run the rules that are defined in a managed rule group. This is managed by Firewall Manager for an Firewall Manager WAF policy.</p>
5768
+ * <p>A rule statement used to run the rules that are defined in a managed rule group. To use this, provide the vendor name and the name of the rule group in this statement. You can retrieve the required names by calling <a>ListAvailableManagedRuleGroups</a>.</p>
5769
+ * <p>You cannot nest a <code>ManagedRuleGroupStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. It can only be referenced as a top-level statement within a rule.</p>
5770
+ * <note>
5771
+ * <p>You are charged additional fees when you use the WAF Bot Control managed rule group <code>AWSManagedRulesBotControlRuleSet</code> or the WAF Fraud Control account takeover prevention (ATP) managed rule group <code>AWSManagedRulesATPRuleSet</code>. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
5772
+ * </note>
5847
5773
  */
5848
5774
  ManagedRuleGroupStatement?: ManagedRuleGroupStatement;
5849
5775
  /**
5850
- * <p>A statement used by Firewall Manager to run the rules that are defined in a rule group. This is managed by Firewall Manager for an Firewall Manager WAF policy.</p>
5776
+ * <p>A rule statement used to run the rules that are defined in a <a>RuleGroup</a>. To use this, create a rule group with your rules, then provide the ARN of the rule group in this statement.</p>
5777
+ * <p>You cannot nest a <code>RuleGroupReferenceStatement</code>, for example for use inside a <code>NotStatement</code> or <code>OrStatement</code>. You
5778
+ * can only use a rule group reference statement at the top level inside a web ACL. </p>
5851
5779
  */
5852
5780
  RuleGroupReferenceStatement?: RuleGroupReferenceStatement;
5853
5781
  }
@@ -5890,7 +5818,7 @@ export interface FirewallManagerRuleGroup {
5890
5818
  */
5891
5819
  export interface CheckCapacityRequest {
5892
5820
  /**
5893
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5821
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5894
5822
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5895
5823
  * <ul>
5896
5824
  * <li>
@@ -5917,7 +5845,7 @@ export interface CreateRuleGroupRequest {
5917
5845
  */
5918
5846
  Name: string | undefined;
5919
5847
  /**
5920
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5848
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5921
5849
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5922
5850
  * <ul>
5923
5851
  * <li>
@@ -5940,8 +5868,8 @@ export interface CreateRuleGroupRequest {
5940
5868
  * Simple rules that cost little to run use fewer WCUs than more complex rules
5941
5869
  * that use more processing power.
5942
5870
  * Rule group capacity is fixed at creation, which helps users plan their
5943
- * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
5944
- * in the <i>WAF Developer Guide</i>. </p>
5871
+ * web ACL WCU usage when they use a rule group.
5872
+ * The WCU limit for web ACLs is 1,500. </p>
5945
5873
  */
5946
5874
  Capacity: number | undefined;
5947
5875
  /**
@@ -5965,11 +5893,10 @@ export interface CreateRuleGroupRequest {
5965
5893
  Tags?: Tag[];
5966
5894
  /**
5967
5895
  * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group. </p>
5968
- * <p>For information about customizing web requests and responses,
5969
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
5970
- * in the <i>WAF Developer Guide</i>. </p>
5971
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
5972
- * in the <i>WAF Developer Guide</i>. </p>
5896
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
5897
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
5898
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
5899
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
5973
5900
  */
5974
5901
  CustomResponseBodies?: Record<string, CustomResponseBody>;
5975
5902
  }
@@ -5982,7 +5909,7 @@ export interface CreateWebACLRequest {
5982
5909
  */
5983
5910
  Name: string | undefined;
5984
5911
  /**
5985
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
5912
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
5986
5913
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
5987
5914
  * <ul>
5988
5915
  * <li>
@@ -6019,11 +5946,10 @@ export interface CreateWebACLRequest {
6019
5946
  Tags?: Tag[];
6020
5947
  /**
6021
5948
  * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. </p>
6022
- * <p>For information about customizing web requests and responses,
6023
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
6024
- * in the <i>WAF Developer Guide</i>. </p>
6025
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
6026
- * in the <i>WAF Developer Guide</i>. </p>
5949
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
5950
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
5951
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
5952
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6027
5953
  */
6028
5954
  CustomResponseBodies?: Record<string, CustomResponseBody>;
6029
5955
  /**
@@ -6042,14 +5968,6 @@ export interface CreateWebACLRequest {
6042
5968
  * <p>Public suffixes aren't allowed. For example, you can't use <code>usa.gov</code> or <code>co.uk</code> as token domains.</p>
6043
5969
  */
6044
5970
  TokenDomains?: string[];
6045
- /**
6046
- * <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
6047
- * <p>Use this to customize the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default is 16 KB (16,384 kilobytes). </p>
6048
- * <note>
6049
- * <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>
6050
- * </note>
6051
- */
6052
- AssociationConfig?: AssociationConfig;
6053
5971
  }
6054
5972
  /**
6055
5973
  * @public
@@ -6075,8 +5993,8 @@ export interface RuleGroup {
6075
5993
  * Simple rules that cost little to run use fewer WCUs than more complex rules
6076
5994
  * that use more processing power.
6077
5995
  * Rule group capacity is fixed at creation, which helps users plan their
6078
- * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
6079
- * in the <i>WAF Developer Guide</i>. </p>
5996
+ * web ACL WCU usage when they use a rule group.
5997
+ * The WCU limit for web ACLs is 1,500. </p>
6080
5998
  */
6081
5999
  Capacity: number | undefined;
6082
6000
  /**
@@ -6118,11 +6036,10 @@ export interface RuleGroup {
6118
6036
  LabelNamespace?: string;
6119
6037
  /**
6120
6038
  * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group. </p>
6121
- * <p>For information about customizing web requests and responses,
6122
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
6123
- * in the <i>WAF Developer Guide</i>. </p>
6124
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
6125
- * in the <i>WAF Developer Guide</i>. </p>
6039
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
6040
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6041
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
6042
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6126
6043
  */
6127
6044
  CustomResponseBodies?: Record<string, CustomResponseBody>;
6128
6045
  /**
@@ -6143,7 +6060,7 @@ export interface UpdateRuleGroupRequest {
6143
6060
  */
6144
6061
  Name: string | undefined;
6145
6062
  /**
6146
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
6063
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
6147
6064
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
6148
6065
  * <ul>
6149
6066
  * <li>
@@ -6180,11 +6097,10 @@ export interface UpdateRuleGroupRequest {
6180
6097
  LockToken: string | undefined;
6181
6098
  /**
6182
6099
  * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the rule group, and then use them in the rules that you define in the rule group. </p>
6183
- * <p>For information about customizing web requests and responses,
6184
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
6185
- * in the <i>WAF Developer Guide</i>. </p>
6186
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
6187
- * in the <i>WAF Developer Guide</i>. </p>
6100
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
6101
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6102
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
6103
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6188
6104
  */
6189
6105
  CustomResponseBodies?: Record<string, CustomResponseBody>;
6190
6106
  }
@@ -6197,7 +6113,7 @@ export interface UpdateWebACLRequest {
6197
6113
  */
6198
6114
  Name: string | undefined;
6199
6115
  /**
6200
- * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
6116
+ * <p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
6201
6117
  * <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
6202
6118
  * <ul>
6203
6119
  * <li>
@@ -6238,11 +6154,10 @@ export interface UpdateWebACLRequest {
6238
6154
  LockToken: string | undefined;
6239
6155
  /**
6240
6156
  * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. </p>
6241
- * <p>For information about customizing web requests and responses,
6242
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
6243
- * in the <i>WAF Developer Guide</i>. </p>
6244
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
6245
- * in the <i>WAF Developer Guide</i>. </p>
6157
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
6158
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6159
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
6160
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6246
6161
  */
6247
6162
  CustomResponseBodies?: Record<string, CustomResponseBody>;
6248
6163
  /**
@@ -6261,14 +6176,6 @@ export interface UpdateWebACLRequest {
6261
6176
  * <p>Public suffixes aren't allowed. For example, you can't use <code>usa.gov</code> or <code>co.uk</code> as token domains.</p>
6262
6177
  */
6263
6178
  TokenDomains?: string[];
6264
- /**
6265
- * <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
6266
- * <p>Use this to customize the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default is 16 KB (16,384 kilobytes). </p>
6267
- * <note>
6268
- * <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>
6269
- * </note>
6270
- */
6271
- AssociationConfig?: AssociationConfig;
6272
6179
  }
6273
6180
  /**
6274
6181
  * @public
@@ -6285,7 +6192,7 @@ export interface GetRuleGroupResponse {
6285
6192
  }
6286
6193
  /**
6287
6194
  * @public
6288
- * <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
6195
+ * <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, Amazon Cognito user pool, or an App Runner service. </p>
6289
6196
  */
6290
6197
  export interface WebACL {
6291
6198
  /**
@@ -6330,8 +6237,8 @@ export interface WebACL {
6330
6237
  * Simple rules that cost little to run use fewer WCUs than more complex rules
6331
6238
  * that use more processing power.
6332
6239
  * Rule group capacity is fixed at creation, which helps users plan their
6333
- * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
6334
- * in the <i>WAF Developer Guide</i>. </p>
6240
+ * web ACL WCU usage when they use a rule group.
6241
+ * The WCU limit for web ACLs is 1,500. </p>
6335
6242
  */
6336
6243
  Capacity?: number;
6337
6244
  /**
@@ -6379,11 +6286,10 @@ export interface WebACL {
6379
6286
  LabelNamespace?: string;
6380
6287
  /**
6381
6288
  * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. </p>
6382
- * <p>For information about customizing web requests and responses,
6383
- * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
6384
- * in the <i>WAF Developer Guide</i>. </p>
6385
- * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
6386
- * in the <i>WAF Developer Guide</i>. </p>
6289
+ * <p>For information about customizing web requests and responses, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a> in the
6290
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6291
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
6292
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
6387
6293
  */
6388
6294
  CustomResponseBodies?: Record<string, CustomResponseBody>;
6389
6295
  /**
@@ -6399,14 +6305,6 @@ export interface WebACL {
6399
6305
  * <p>Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.</p>
6400
6306
  */
6401
6307
  TokenDomains?: string[];
6402
- /**
6403
- * <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
6404
- * <p>Use this to customize the maximum size of the request body that your protected CloudFront distributions forward to WAF for inspection. The default is 16 KB (16,384 kilobytes). </p>
6405
- * <note>
6406
- * <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>
6407
- * </note>
6408
- */
6409
- AssociationConfig?: AssociationConfig;
6410
6308
  }
6411
6309
  /**
6412
6310
  * @public
@@ -6432,8 +6330,7 @@ export interface GetWebACLResponse {
6432
6330
  */
6433
6331
  LockToken?: string;
6434
6332
  /**
6435
- * <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a>
6436
- * in the <i>WAF Developer Guide</i>.</p>
6333
+ * <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
6437
6334
  */
6438
6335
  ApplicationIntegrationURL?: string;
6439
6336
  }