You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-wafv2/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,11 @@ have retained the prior names, endpoints, and namespaces. </p>
25
25
see the <ahref="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
26
26
</note>
27
27
<p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS
28
-
requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync
29
-
GraphQL API. WAF also lets you control access to your content. Based on criteria that
28
+
requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync
29
+
GraphQL API, or an Amazon Cognito user pool. WAF also lets you control access to your content. Based on conditions that
30
30
you specify, such as the IP addresses that requests originate from or the values of query
31
-
strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer, or the AppSync GraphQL
32
-
API responds to requests either with the requested content or with an HTTP 403 status code
31
+
strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer, the AppSync GraphQL
32
+
API, or the Amazon Cognito user pool responds to requests either with the requested content or with an HTTP 403 status code
33
33
(Forbidden). You also can configure CloudFront to return a custom error page when a request is
34
34
blocked.</p>
35
35
<p>This API guide is for developers who need detailed information about WAF API actions,
@@ -40,7 +40,7 @@ Guide</a>.</p>
40
40
<ul>
41
41
<li>
42
42
<p>For regional applications, you can use any of the endpoints in the list.
43
-
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
43
+
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
44
44
</li>
45
45
<li>
46
46
<p>For Amazon CloudFront applications, you must use the API endpoint listed for
Copy file name to clipboardExpand all lines: clients/client-wafv2/src/WAFV2.ts
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -227,11 +227,11 @@ import { WAFV2Client } from "./WAFV2Client";
227
227
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
228
228
* </note>
229
229
* <p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS
230
-
* requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync
231
-
* GraphQL API. WAF also lets you control access to your content. Based on criteria that
230
+
* requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync
231
+
* GraphQL API, or an Amazon Cognito user pool. WAF also lets you control access to your content. Based on conditions that
232
232
* you specify, such as the IP addresses that requests originate from or the values of query
233
-
* strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer, or the AppSync GraphQL
234
-
* API responds to requests either with the requested content or with an HTTP 403 status code
233
+
* strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer, the AppSync GraphQL
234
+
* API, or the Amazon Cognito user pool responds to requests either with the requested content or with an HTTP 403 status code
235
235
* (Forbidden). You also can configure CloudFront to return a custom error page when a request is
236
236
* blocked.</p>
237
237
* <p>This API guide is for developers who need detailed information about WAF API actions,
@@ -242,7 +242,7 @@ import { WAFV2Client } from "./WAFV2Client";
242
242
* <ul>
243
243
* <li>
244
244
* <p>For regional applications, you can use any of the endpoints in the list.
245
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
245
+
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
246
246
* </li>
247
247
* <li>
248
248
* <p>For Amazon CloudFront applications, you must use the API endpoint listed for
@@ -275,7 +275,7 @@ import { WAFV2Client } from "./WAFV2Client";
275
275
exportclassWAFV2extendsWAFV2Client{
276
276
/**
277
277
* <p>Associates a web ACL with a regional application resource, to protect the resource.
278
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
278
+
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
279
279
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
280
280
* associate a web ACL, in the CloudFront call <code>UpdateDistribution</code>, set the web ACL ID
281
281
* to the Amazon Resource Name (ARN) of the web ACL. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
@@ -451,7 +451,7 @@ export class WAFV2 extends WAFV2Client {
451
451
452
452
/**
453
453
* <p>Creates a <a>WebACL</a> per the specifications provided.</p>
454
-
* <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, or an AppSync GraphQL API. </p>
454
+
* <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, or an Amazon Cognito user pool. </p>
455
455
*/
456
456
publiccreateWebACL(
457
457
args: CreateWebACLCommandInput,
@@ -764,7 +764,7 @@ export class WAFV2 extends WAFV2Client {
764
764
765
765
/**
766
766
* <p>Disassociates the specified regional application resource from any existing web ACL
767
-
* association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
767
+
* association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
768
768
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
769
769
* disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
770
770
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
@@ -1936,7 +1936,7 @@ export class WAFV2 extends WAFV2Client {
1936
1936
* <note>
1937
1937
* <p>This operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call. To modify the web ACL, retrieve it by calling <a>GetWebACL</a>, update the settings as needed, and then provide the complete web ACL specification to this call.</p>
1938
1938
* </note>
1939
-
* <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, or an AppSync GraphQL API. </p>
1939
+
* <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, or an Amazon Cognito user pool. </p>
* <p>For regional applications, you can use any of the endpoints in the list.
465
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
465
+
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
466
466
* </li>
467
467
* <li>
468
468
* <p>For Amazon CloudFront applications, you must use the API endpoint listed for
* <p>Associates a web ACL with a regional application resource, to protect the resource.
32
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
32
+
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
33
33
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
34
34
* associate a web ACL, in the CloudFront call <code>UpdateDistribution</code>, set the web ACL ID
35
35
* to the Amazon Resource Name (ARN) of the web ACL. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
* <p>Creates a <a>WebACL</a> per the specifications provided.</p>
32
-
* <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, or an AppSync GraphQL API. </p>
32
+
* <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, or an Amazon Cognito user pool. </p>
33
33
* @example
34
34
* Use a bare-bones client and the command you need to make an API call.
* <p>Disassociates the specified regional application resource from any existing web ACL
32
-
* association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
32
+
* association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool. </p>
33
33
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
34
34
* disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
35
35
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
* <p>This operation completely replaces the mutable specifications that you already have for the web ACL with the ones that you provide to this call. To modify the web ACL, retrieve it by calling <a>GetWebACL</a>, update the settings as needed, and then provide the complete web ACL specification to this call.</p>
37
37
* </note>
38
-
* <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, or an AppSync GraphQL API. </p>
38
+
* <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, or an Amazon Cognito user pool. </p>
39
39
* @example
40
40
* Use a bare-bones client and the command you need to make an API call.
0 commit comments