@aws-sdk/client-wafv2 3.142.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +5 -5
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +26 -22
- package/dist-types/WAFV2.d.ts +9 -9
- package/dist-types/WAFV2Client.d.ts +5 -5
- package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -1
- package/dist-types/commands/CreateWebACLCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWebACLCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +72 -38
- package/package.json +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-wafv2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-wafv2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.143.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.142.0...v3.143.0) (2022-08-03)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **client-wafv2:** You can now associate an AWS WAF web ACL with an Amazon Cognito user pool. ([81aeece](https://github.com/aws/aws-sdk-js-v3/commit/81aeeceae2444f9a8cd0ae933f5645bf83f0ab5e))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
34
|
|
|
8
35
|
|
package/README.md
CHANGED
|
@@ -25,11 +25,11 @@ have retained the prior names, endpoints, and namespaces. </p>
|
|
|
25
25
|
see the <a href="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,
|
|
29
|
-
GraphQL API. WAF also lets you control access to your content. Based on
|
|
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,
|
|
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,
|
|
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
|
|
@@ -682,6 +682,7 @@ var ResourceType;
|
|
|
682
682
|
ResourceType["API_GATEWAY"] = "API_GATEWAY";
|
|
683
683
|
ResourceType["APPLICATION_LOAD_BALANCER"] = "APPLICATION_LOAD_BALANCER";
|
|
684
684
|
ResourceType["APPSYNC"] = "APPSYNC";
|
|
685
|
+
ResourceType["COGNITIO_USER_POOL"] = "COGNITO_USER_POOL";
|
|
685
686
|
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
686
687
|
class WAFLogDestinationPermissionIssueException extends WAFV2ServiceException_1.WAFV2ServiceException {
|
|
687
688
|
constructor(opts) {
|
|
@@ -559,6 +559,9 @@ const deserializeAws_json1_1CheckCapacityCommandError = async (output, context)
|
|
|
559
559
|
case "WAFInternalErrorException":
|
|
560
560
|
case "com.amazonaws.wafv2#WAFInternalErrorException":
|
|
561
561
|
throw await deserializeAws_json1_1WAFInternalErrorExceptionResponse(parsedOutput, context);
|
|
562
|
+
case "WAFInvalidOperationException":
|
|
563
|
+
case "com.amazonaws.wafv2#WAFInvalidOperationException":
|
|
564
|
+
throw await deserializeAws_json1_1WAFInvalidOperationExceptionResponse(parsedOutput, context);
|
|
562
565
|
case "WAFInvalidParameterException":
|
|
563
566
|
case "com.amazonaws.wafv2#WAFInvalidParameterException":
|
|
564
567
|
throw await deserializeAws_json1_1WAFInvalidParameterExceptionResponse(parsedOutput, context);
|
|
@@ -661,6 +661,7 @@ export var ResourceType;
|
|
|
661
661
|
ResourceType["API_GATEWAY"] = "API_GATEWAY";
|
|
662
662
|
ResourceType["APPLICATION_LOAD_BALANCER"] = "APPLICATION_LOAD_BALANCER";
|
|
663
663
|
ResourceType["APPSYNC"] = "APPSYNC";
|
|
664
|
+
ResourceType["COGNITIO_USER_POOL"] = "COGNITO_USER_POOL";
|
|
664
665
|
})(ResourceType || (ResourceType = {}));
|
|
665
666
|
var WAFLogDestinationPermissionIssueException = (function (_super) {
|
|
666
667
|
__extends(WAFLogDestinationPermissionIssueException, _super);
|
|
@@ -634,37 +634,41 @@ var deserializeAws_json1_1CheckCapacityCommandError = function (output, context)
|
|
|
634
634
|
case "com.amazonaws.wafv2#WAFExpiredManagedRuleGroupVersionException": return [3, 2];
|
|
635
635
|
case "WAFInternalErrorException": return [3, 4];
|
|
636
636
|
case "com.amazonaws.wafv2#WAFInternalErrorException": return [3, 4];
|
|
637
|
-
case "
|
|
638
|
-
case "com.amazonaws.wafv2#
|
|
639
|
-
case "
|
|
640
|
-
case "com.amazonaws.wafv2#
|
|
641
|
-
case "
|
|
642
|
-
case "com.amazonaws.wafv2#
|
|
643
|
-
case "
|
|
644
|
-
case "com.amazonaws.wafv2#
|
|
645
|
-
case "
|
|
646
|
-
case "com.amazonaws.wafv2#
|
|
647
|
-
case "
|
|
648
|
-
case "com.amazonaws.wafv2#
|
|
637
|
+
case "WAFInvalidOperationException": return [3, 6];
|
|
638
|
+
case "com.amazonaws.wafv2#WAFInvalidOperationException": return [3, 6];
|
|
639
|
+
case "WAFInvalidParameterException": return [3, 8];
|
|
640
|
+
case "com.amazonaws.wafv2#WAFInvalidParameterException": return [3, 8];
|
|
641
|
+
case "WAFInvalidResourceException": return [3, 10];
|
|
642
|
+
case "com.amazonaws.wafv2#WAFInvalidResourceException": return [3, 10];
|
|
643
|
+
case "WAFLimitsExceededException": return [3, 12];
|
|
644
|
+
case "com.amazonaws.wafv2#WAFLimitsExceededException": return [3, 12];
|
|
645
|
+
case "WAFNonexistentItemException": return [3, 14];
|
|
646
|
+
case "com.amazonaws.wafv2#WAFNonexistentItemException": return [3, 14];
|
|
647
|
+
case "WAFSubscriptionNotFoundException": return [3, 16];
|
|
648
|
+
case "com.amazonaws.wafv2#WAFSubscriptionNotFoundException": return [3, 16];
|
|
649
|
+
case "WAFUnavailableEntityException": return [3, 18];
|
|
650
|
+
case "com.amazonaws.wafv2#WAFUnavailableEntityException": return [3, 18];
|
|
649
651
|
}
|
|
650
|
-
return [3,
|
|
652
|
+
return [3, 20];
|
|
651
653
|
case 2: return [4, deserializeAws_json1_1WAFExpiredManagedRuleGroupVersionExceptionResponse(parsedOutput, context)];
|
|
652
654
|
case 3: throw _d.sent();
|
|
653
655
|
case 4: return [4, deserializeAws_json1_1WAFInternalErrorExceptionResponse(parsedOutput, context)];
|
|
654
656
|
case 5: throw _d.sent();
|
|
655
|
-
case 6: return [4,
|
|
657
|
+
case 6: return [4, deserializeAws_json1_1WAFInvalidOperationExceptionResponse(parsedOutput, context)];
|
|
656
658
|
case 7: throw _d.sent();
|
|
657
|
-
case 8: return [4,
|
|
659
|
+
case 8: return [4, deserializeAws_json1_1WAFInvalidParameterExceptionResponse(parsedOutput, context)];
|
|
658
660
|
case 9: throw _d.sent();
|
|
659
|
-
case 10: return [4,
|
|
661
|
+
case 10: return [4, deserializeAws_json1_1WAFInvalidResourceExceptionResponse(parsedOutput, context)];
|
|
660
662
|
case 11: throw _d.sent();
|
|
661
|
-
case 12: return [4,
|
|
663
|
+
case 12: return [4, deserializeAws_json1_1WAFLimitsExceededExceptionResponse(parsedOutput, context)];
|
|
662
664
|
case 13: throw _d.sent();
|
|
663
|
-
case 14: return [4,
|
|
665
|
+
case 14: return [4, deserializeAws_json1_1WAFNonexistentItemExceptionResponse(parsedOutput, context)];
|
|
664
666
|
case 15: throw _d.sent();
|
|
665
|
-
case 16: return [4,
|
|
667
|
+
case 16: return [4, deserializeAws_json1_1WAFSubscriptionNotFoundExceptionResponse(parsedOutput, context)];
|
|
666
668
|
case 17: throw _d.sent();
|
|
667
|
-
case 18:
|
|
669
|
+
case 18: return [4, deserializeAws_json1_1WAFUnavailableEntityExceptionResponse(parsedOutput, context)];
|
|
670
|
+
case 19: throw _d.sent();
|
|
671
|
+
case 20:
|
|
668
672
|
parsedBody = parsedOutput.body;
|
|
669
673
|
throwDefaultError({
|
|
670
674
|
output: output,
|
|
@@ -672,8 +676,8 @@ var deserializeAws_json1_1CheckCapacityCommandError = function (output, context)
|
|
|
672
676
|
exceptionCtor: __BaseException,
|
|
673
677
|
errorCode: errorCode,
|
|
674
678
|
});
|
|
675
|
-
_d.label =
|
|
676
|
-
case
|
|
679
|
+
_d.label = 21;
|
|
680
|
+
case 21: return [2];
|
|
677
681
|
}
|
|
678
682
|
});
|
|
679
683
|
}); };
|
package/dist-types/WAFV2.d.ts
CHANGED
|
@@ -64,11 +64,11 @@ import { WAFV2Client } from "./WAFV2Client";
|
|
|
64
64
|
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
|
|
65
65
|
* </note>
|
|
66
66
|
* <p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS
|
|
67
|
-
* requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer,
|
|
68
|
-
* GraphQL API. WAF also lets you control access to your content. Based on
|
|
67
|
+
* requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync
|
|
68
|
+
* GraphQL API, or an Amazon Cognito user pool. WAF also lets you control access to your content. Based on conditions that
|
|
69
69
|
* you specify, such as the IP addresses that requests originate from or the values of query
|
|
70
|
-
* strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer,
|
|
71
|
-
* API responds to requests either with the requested content or with an HTTP 403 status code
|
|
70
|
+
* strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer, the AppSync GraphQL
|
|
71
|
+
* API, or the Amazon Cognito user pool responds to requests either with the requested content or with an HTTP 403 status code
|
|
72
72
|
* (Forbidden). You also can configure CloudFront to return a custom error page when a request is
|
|
73
73
|
* blocked.</p>
|
|
74
74
|
* <p>This API guide is for developers who need detailed information about WAF API actions,
|
|
@@ -79,7 +79,7 @@ import { WAFV2Client } from "./WAFV2Client";
|
|
|
79
79
|
* <ul>
|
|
80
80
|
* <li>
|
|
81
81
|
* <p>For regional applications, you can use any of the endpoints in the list.
|
|
82
|
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API,
|
|
82
|
+
* 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>
|
|
83
83
|
* </li>
|
|
84
84
|
* <li>
|
|
85
85
|
* <p>For Amazon CloudFront applications, you must use the API endpoint listed for
|
|
@@ -112,7 +112,7 @@ import { WAFV2Client } from "./WAFV2Client";
|
|
|
112
112
|
export declare class WAFV2 extends WAFV2Client {
|
|
113
113
|
/**
|
|
114
114
|
* <p>Associates a web ACL with a regional application resource, to protect the resource.
|
|
115
|
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API,
|
|
115
|
+
* 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>
|
|
116
116
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
117
117
|
* associate a web ACL, in the CloudFront call <code>UpdateDistribution</code>, set the web ACL ID
|
|
118
118
|
* 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>
|
|
@@ -164,7 +164,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
164
164
|
createRuleGroup(args: CreateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
165
165
|
/**
|
|
166
166
|
* <p>Creates a <a>WebACL</a> per the specifications provided.</p>
|
|
167
|
-
* <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,
|
|
167
|
+
* <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>
|
|
168
168
|
*/
|
|
169
169
|
createWebACL(args: CreateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLCommandOutput>;
|
|
170
170
|
createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
@@ -255,7 +255,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
255
255
|
describeManagedRuleGroup(args: DescribeManagedRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedRuleGroupCommandOutput) => void): void;
|
|
256
256
|
/**
|
|
257
257
|
* <p>Disassociates the specified regional application resource from any existing web ACL
|
|
258
|
-
* 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,
|
|
258
|
+
* 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>
|
|
259
259
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
260
260
|
* disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
|
|
261
261
|
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
|
|
@@ -604,7 +604,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
604
604
|
* <note>
|
|
605
605
|
* <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>
|
|
606
606
|
* </note>
|
|
607
|
-
* <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,
|
|
607
|
+
* <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>
|
|
608
608
|
*/
|
|
609
609
|
updateWebACL(args: UpdateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebACLCommandOutput>;
|
|
610
610
|
updateWebACL(args: UpdateWebACLCommandInput, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
@@ -189,11 +189,11 @@ export interface WAFV2ClientResolvedConfig extends WAFV2ClientResolvedConfigType
|
|
|
189
189
|
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
|
|
190
190
|
* </note>
|
|
191
191
|
* <p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS
|
|
192
|
-
* requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer,
|
|
193
|
-
* GraphQL API. WAF also lets you control access to your content. Based on
|
|
192
|
+
* requests that are forwarded to Amazon CloudFront, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync
|
|
193
|
+
* GraphQL API, or an Amazon Cognito user pool. WAF also lets you control access to your content. Based on conditions that
|
|
194
194
|
* you specify, such as the IP addresses that requests originate from or the values of query
|
|
195
|
-
* strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer,
|
|
196
|
-
* API responds to requests either with the requested content or with an HTTP 403 status code
|
|
195
|
+
* strings, the Amazon API Gateway REST API, CloudFront distribution, the Application Load Balancer, the AppSync GraphQL
|
|
196
|
+
* API, or the Amazon Cognito user pool responds to requests either with the requested content or with an HTTP 403 status code
|
|
197
197
|
* (Forbidden). You also can configure CloudFront to return a custom error page when a request is
|
|
198
198
|
* blocked.</p>
|
|
199
199
|
* <p>This API guide is for developers who need detailed information about WAF API actions,
|
|
@@ -204,7 +204,7 @@ export interface WAFV2ClientResolvedConfig extends WAFV2ClientResolvedConfigType
|
|
|
204
204
|
* <ul>
|
|
205
205
|
* <li>
|
|
206
206
|
* <p>For regional applications, you can use any of the endpoints in the list.
|
|
207
|
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API,
|
|
207
|
+
* 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>
|
|
208
208
|
* </li>
|
|
209
209
|
* <li>
|
|
210
210
|
* <p>For Amazon CloudFront applications, you must use the API endpoint listed for
|
|
@@ -8,7 +8,7 @@ export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Associates a web ACL with a regional application resource, to protect the resource.
|
|
11
|
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API,
|
|
11
|
+
* 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>
|
|
12
12
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
13
13
|
* associate a web ACL, in the CloudFront call <code>UpdateDistribution</code>, set the web ACL ID
|
|
14
14
|
* 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>
|
|
@@ -8,7 +8,7 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a <a>WebACL</a> per the specifications provided.</p>
|
|
11
|
-
* <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,
|
|
11
|
+
* <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>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface DisassociateWebACLCommandOutput extends DisassociateWebACLRespo
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Disassociates the specified regional application resource from any existing web ACL
|
|
11
|
-
* 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,
|
|
11
|
+
* 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>
|
|
12
12
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
13
13
|
* disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
|
|
14
14
|
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
|
|
@@ -14,7 +14,7 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
|
|
|
14
14
|
* <note>
|
|
15
15
|
* <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>
|
|
16
16
|
* </note>
|
|
17
|
-
* <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,
|
|
17
|
+
* <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>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
20
|
* ```javascript
|
|
@@ -1330,6 +1330,7 @@ export interface UsernameField {
|
|
|
1330
1330
|
* <p>Use this for the account takeover prevention managed rule group
|
|
1331
1331
|
* <code>AWSManagedRulesATPRuleSet</code>, to provide information about the sign-in page of your application. </p>
|
|
1332
1332
|
* <p>You can provide multiple individual <code>ManagedRuleGroupConfig</code> objects for any rule group configuration, for example <code>UsernameField</code> and <code>PasswordField</code>. The configuration that you provide depends on the needs of the managed rule group. For the ATP managed rule group, you provide the following individual configuration objects: <code>LoginPath</code>, <code>PasswordField</code>, <code>PayloadType</code> and <code>UsernameField</code>.</p>
|
|
1333
|
+
* <p>For example specifications, see the examples section of <a>CreateWebACL</a>.</p>
|
|
1333
1334
|
*/
|
|
1334
1335
|
export interface ManagedRuleGroupConfig {
|
|
1335
1336
|
/**
|
|
@@ -1522,6 +1523,11 @@ export interface AssociateWebACLRequest {
|
|
|
1522
1523
|
* </code>
|
|
1523
1524
|
* </p>
|
|
1524
1525
|
* </li>
|
|
1526
|
+
* <li>
|
|
1527
|
+
* <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>
|
|
1528
|
+
* </code>
|
|
1529
|
+
* </p>
|
|
1530
|
+
* </li>
|
|
1525
1531
|
* </ul>
|
|
1526
1532
|
*/
|
|
1527
1533
|
ResourceArn: string | undefined;
|
|
@@ -1988,7 +1994,7 @@ export interface CreateIPSetRequest {
|
|
|
1988
1994
|
*/
|
|
1989
1995
|
Name: string | undefined;
|
|
1990
1996
|
/**
|
|
1991
|
-
* <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,
|
|
1997
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
1992
1998
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
1993
1999
|
* <ul>
|
|
1994
2000
|
* <li>
|
|
@@ -2150,7 +2156,7 @@ export interface CreateRegexPatternSetRequest {
|
|
|
2150
2156
|
*/
|
|
2151
2157
|
Name: string | undefined;
|
|
2152
2158
|
/**
|
|
2153
|
-
* <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,
|
|
2159
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2154
2160
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2155
2161
|
* <ul>
|
|
2156
2162
|
* <li>
|
|
@@ -2352,7 +2358,7 @@ export interface DeleteIPSetRequest {
|
|
|
2352
2358
|
*/
|
|
2353
2359
|
Name: string | undefined;
|
|
2354
2360
|
/**
|
|
2355
|
-
* <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,
|
|
2361
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2356
2362
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2357
2363
|
* <ul>
|
|
2358
2364
|
* <li>
|
|
@@ -2378,9 +2384,6 @@ export interface DeleteIPSetResponse {
|
|
|
2378
2384
|
/**
|
|
2379
2385
|
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
2380
2386
|
* resource or it’s associated with another resource. </p>
|
|
2381
|
-
* <p>For <code>DeleteWebACL</code>, you will only get this exception if the web ACL is still
|
|
2382
|
-
* associated with a regional resource. Deleting a web ACL that is still associated with an
|
|
2383
|
-
* Amazon CloudFront distribution won't get this exception. </p>
|
|
2384
2387
|
*/
|
|
2385
2388
|
export declare class WAFAssociatedItemException extends __BaseException {
|
|
2386
2389
|
readonly name: "WAFAssociatedItemException";
|
|
@@ -2415,7 +2418,7 @@ export interface DeleteRegexPatternSetRequest {
|
|
|
2415
2418
|
*/
|
|
2416
2419
|
Name: string | undefined;
|
|
2417
2420
|
/**
|
|
2418
|
-
* <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,
|
|
2421
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2419
2422
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2420
2423
|
* <ul>
|
|
2421
2424
|
* <li>
|
|
@@ -2444,7 +2447,7 @@ export interface DeleteRuleGroupRequest {
|
|
|
2444
2447
|
*/
|
|
2445
2448
|
Name: string | undefined;
|
|
2446
2449
|
/**
|
|
2447
|
-
* <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,
|
|
2450
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2448
2451
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2449
2452
|
* <ul>
|
|
2450
2453
|
* <li>
|
|
@@ -2473,7 +2476,7 @@ export interface DeleteWebACLRequest {
|
|
|
2473
2476
|
*/
|
|
2474
2477
|
Name: string | undefined;
|
|
2475
2478
|
/**
|
|
2476
|
-
* <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,
|
|
2479
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2477
2480
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2478
2481
|
* <ul>
|
|
2479
2482
|
* <li>
|
|
@@ -2506,7 +2509,7 @@ export interface DescribeManagedRuleGroupRequest {
|
|
|
2506
2509
|
*/
|
|
2507
2510
|
Name: string | undefined;
|
|
2508
2511
|
/**
|
|
2509
|
-
* <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,
|
|
2512
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2510
2513
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2511
2514
|
* <ul>
|
|
2512
2515
|
* <li>
|
|
@@ -2633,6 +2636,11 @@ export interface DisassociateWebACLRequest {
|
|
|
2633
2636
|
* </code>
|
|
2634
2637
|
* </p>
|
|
2635
2638
|
* </li>
|
|
2639
|
+
* <li>
|
|
2640
|
+
* <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>
|
|
2641
|
+
* </code>
|
|
2642
|
+
* </p>
|
|
2643
|
+
* </li>
|
|
2636
2644
|
* </ul>
|
|
2637
2645
|
*/
|
|
2638
2646
|
ResourceArn: string | undefined;
|
|
@@ -2666,7 +2674,7 @@ export interface GetIPSetRequest {
|
|
|
2666
2674
|
*/
|
|
2667
2675
|
Name: string | undefined;
|
|
2668
2676
|
/**
|
|
2669
|
-
* <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,
|
|
2677
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2670
2678
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2671
2679
|
* <ul>
|
|
2672
2680
|
* <li>
|
|
@@ -2917,7 +2925,7 @@ export interface GetManagedRuleSetRequest {
|
|
|
2917
2925
|
*/
|
|
2918
2926
|
Name: string | undefined;
|
|
2919
2927
|
/**
|
|
2920
|
-
* <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,
|
|
2928
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
2921
2929
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
2922
2930
|
* <ul>
|
|
2923
2931
|
* <li>
|
|
@@ -3098,7 +3106,7 @@ export interface GetPermissionPolicyResponse {
|
|
|
3098
3106
|
}
|
|
3099
3107
|
export interface GetRateBasedStatementManagedKeysRequest {
|
|
3100
3108
|
/**
|
|
3101
|
-
* <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,
|
|
3109
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3102
3110
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3103
3111
|
* <ul>
|
|
3104
3112
|
* <li>
|
|
@@ -3159,7 +3167,7 @@ export interface GetRegexPatternSetRequest {
|
|
|
3159
3167
|
*/
|
|
3160
3168
|
Name: string | undefined;
|
|
3161
3169
|
/**
|
|
3162
|
-
* <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,
|
|
3170
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3163
3171
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3164
3172
|
* <ul>
|
|
3165
3173
|
* <li>
|
|
@@ -3219,7 +3227,7 @@ export interface GetRuleGroupRequest {
|
|
|
3219
3227
|
*/
|
|
3220
3228
|
Name?: string;
|
|
3221
3229
|
/**
|
|
3222
|
-
* <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,
|
|
3230
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3223
3231
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3224
3232
|
* <ul>
|
|
3225
3233
|
* <li>
|
|
@@ -3286,7 +3294,7 @@ export interface GetSampledRequestsRequest {
|
|
|
3286
3294
|
*/
|
|
3287
3295
|
RuleMetricName: string | undefined;
|
|
3288
3296
|
/**
|
|
3289
|
-
* <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,
|
|
3297
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3290
3298
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3291
3299
|
* <ul>
|
|
3292
3300
|
* <li>
|
|
@@ -3492,7 +3500,7 @@ export interface GetWebACLRequest {
|
|
|
3492
3500
|
*/
|
|
3493
3501
|
Name: string | undefined;
|
|
3494
3502
|
/**
|
|
3495
|
-
* <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,
|
|
3503
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3496
3504
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3497
3505
|
* <ul>
|
|
3498
3506
|
* <li>
|
|
@@ -3511,13 +3519,37 @@ export interface GetWebACLRequest {
|
|
|
3511
3519
|
}
|
|
3512
3520
|
export interface GetWebACLForResourceRequest {
|
|
3513
3521
|
/**
|
|
3514
|
-
* <p>The
|
|
3522
|
+
* <p>The Amazon Resource Name (ARN) of the resource whose web ACL you want to retrieve. </p>
|
|
3523
|
+
*
|
|
3524
|
+
* <p>The ARN must be in one of the following formats:</p>
|
|
3525
|
+
* <ul>
|
|
3526
|
+
* <li>
|
|
3527
|
+
* <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>
|
|
3528
|
+
* </code>
|
|
3529
|
+
* </p>
|
|
3530
|
+
* </li>
|
|
3531
|
+
* <li>
|
|
3532
|
+
* <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>
|
|
3533
|
+
* </code>
|
|
3534
|
+
* </p>
|
|
3535
|
+
* </li>
|
|
3536
|
+
* <li>
|
|
3537
|
+
* <p>For an AppSync GraphQL API: <code>arn:aws:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i>
|
|
3538
|
+
* </code>
|
|
3539
|
+
* </p>
|
|
3540
|
+
* </li>
|
|
3541
|
+
* <li>
|
|
3542
|
+
* <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>
|
|
3543
|
+
* </code>
|
|
3544
|
+
* </p>
|
|
3545
|
+
* </li>
|
|
3546
|
+
* </ul>
|
|
3515
3547
|
*/
|
|
3516
3548
|
ResourceArn: string | undefined;
|
|
3517
3549
|
}
|
|
3518
3550
|
export interface ListAvailableManagedRuleGroupsRequest {
|
|
3519
3551
|
/**
|
|
3520
|
-
* <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,
|
|
3552
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3521
3553
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3522
3554
|
* <ul>
|
|
3523
3555
|
* <li>
|
|
@@ -3586,7 +3618,7 @@ export interface ListAvailableManagedRuleGroupVersionsRequest {
|
|
|
3586
3618
|
*/
|
|
3587
3619
|
Name: string | undefined;
|
|
3588
3620
|
/**
|
|
3589
|
-
* <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,
|
|
3621
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3590
3622
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3591
3623
|
* <ul>
|
|
3592
3624
|
* <li>
|
|
@@ -3643,7 +3675,7 @@ export interface ListAvailableManagedRuleGroupVersionsResponse {
|
|
|
3643
3675
|
}
|
|
3644
3676
|
export interface ListIPSetsRequest {
|
|
3645
3677
|
/**
|
|
3646
|
-
* <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,
|
|
3678
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3647
3679
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3648
3680
|
* <ul>
|
|
3649
3681
|
* <li>
|
|
@@ -3683,7 +3715,7 @@ export interface ListIPSetsResponse {
|
|
|
3683
3715
|
}
|
|
3684
3716
|
export interface ListLoggingConfigurationsRequest {
|
|
3685
3717
|
/**
|
|
3686
|
-
* <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,
|
|
3718
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3687
3719
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3688
3720
|
* <ul>
|
|
3689
3721
|
* <li>
|
|
@@ -3722,7 +3754,7 @@ export interface ListLoggingConfigurationsResponse {
|
|
|
3722
3754
|
}
|
|
3723
3755
|
export interface ListManagedRuleSetsRequest {
|
|
3724
3756
|
/**
|
|
3725
|
-
* <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,
|
|
3757
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3726
3758
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3727
3759
|
* <ul>
|
|
3728
3760
|
* <li>
|
|
@@ -3852,7 +3884,7 @@ export interface ListMobileSdkReleasesResponse {
|
|
|
3852
3884
|
}
|
|
3853
3885
|
export interface ListRegexPatternSetsRequest {
|
|
3854
3886
|
/**
|
|
3855
|
-
* <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,
|
|
3887
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3856
3888
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3857
3889
|
* <ul>
|
|
3858
3890
|
* <li>
|
|
@@ -3892,7 +3924,8 @@ export interface ListRegexPatternSetsResponse {
|
|
|
3892
3924
|
export declare enum ResourceType {
|
|
3893
3925
|
API_GATEWAY = "API_GATEWAY",
|
|
3894
3926
|
APPLICATION_LOAD_BALANCER = "APPLICATION_LOAD_BALANCER",
|
|
3895
|
-
APPSYNC = "APPSYNC"
|
|
3927
|
+
APPSYNC = "APPSYNC",
|
|
3928
|
+
COGNITIO_USER_POOL = "COGNITO_USER_POOL"
|
|
3896
3929
|
}
|
|
3897
3930
|
export interface ListResourcesForWebACLRequest {
|
|
3898
3931
|
/**
|
|
@@ -3901,7 +3934,7 @@ export interface ListResourcesForWebACLRequest {
|
|
|
3901
3934
|
WebACLArn: string | undefined;
|
|
3902
3935
|
/**
|
|
3903
3936
|
* <p>Used for web ACLs that are scoped for regional applications.
|
|
3904
|
-
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API,
|
|
3937
|
+
* 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>
|
|
3905
3938
|
*/
|
|
3906
3939
|
ResourceType?: ResourceType | string;
|
|
3907
3940
|
}
|
|
@@ -3913,7 +3946,7 @@ export interface ListResourcesForWebACLResponse {
|
|
|
3913
3946
|
}
|
|
3914
3947
|
export interface ListRuleGroupsRequest {
|
|
3915
3948
|
/**
|
|
3916
|
-
* <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,
|
|
3949
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
3917
3950
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
3918
3951
|
* <ul>
|
|
3919
3952
|
* <li>
|
|
@@ -4004,7 +4037,7 @@ export interface ListTagsForResourceResponse {
|
|
|
4004
4037
|
}
|
|
4005
4038
|
export interface ListWebACLsRequest {
|
|
4006
4039
|
/**
|
|
4007
|
-
* <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,
|
|
4040
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4008
4041
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4009
4042
|
* <ul>
|
|
4010
4043
|
* <li>
|
|
@@ -4112,7 +4145,7 @@ export interface PutManagedRuleSetVersionsRequest {
|
|
|
4112
4145
|
*/
|
|
4113
4146
|
Name: string | undefined;
|
|
4114
4147
|
/**
|
|
4115
|
-
* <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,
|
|
4148
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4116
4149
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4117
4150
|
* <ul>
|
|
4118
4151
|
* <li>
|
|
@@ -4252,7 +4285,7 @@ export interface UpdateIPSetRequest {
|
|
|
4252
4285
|
*/
|
|
4253
4286
|
Name: string | undefined;
|
|
4254
4287
|
/**
|
|
4255
|
-
* <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,
|
|
4288
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4256
4289
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4257
4290
|
* <ul>
|
|
4258
4291
|
* <li>
|
|
@@ -4329,7 +4362,7 @@ export interface UpdateManagedRuleSetVersionExpiryDateRequest {
|
|
|
4329
4362
|
*/
|
|
4330
4363
|
Name: string | undefined;
|
|
4331
4364
|
/**
|
|
4332
|
-
* <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,
|
|
4365
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4333
4366
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4334
4367
|
* <ul>
|
|
4335
4368
|
* <li>
|
|
@@ -4381,7 +4414,7 @@ export interface UpdateRegexPatternSetRequest {
|
|
|
4381
4414
|
*/
|
|
4382
4415
|
Name: string | undefined;
|
|
4383
4416
|
/**
|
|
4384
|
-
* <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,
|
|
4417
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4385
4418
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4386
4419
|
* <ul>
|
|
4387
4420
|
* <li>
|
|
@@ -4431,6 +4464,7 @@ export interface UpdateWebACLResponse {
|
|
|
4431
4464
|
/**
|
|
4432
4465
|
* <p>The processing guidance for a <a>Rule</a>, used by WAF to determine whether
|
|
4433
4466
|
* a web request matches the rule. </p>
|
|
4467
|
+
* <p>For example specifications, see the examples section of <a>CreateWebACL</a>.</p>
|
|
4434
4468
|
*/
|
|
4435
4469
|
export interface Statement {
|
|
4436
4470
|
/**
|
|
@@ -4781,7 +4815,7 @@ export interface FirewallManagerRuleGroup {
|
|
|
4781
4815
|
}
|
|
4782
4816
|
export interface CheckCapacityRequest {
|
|
4783
4817
|
/**
|
|
4784
|
-
* <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,
|
|
4818
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4785
4819
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4786
4820
|
* <ul>
|
|
4787
4821
|
* <li>
|
|
@@ -4805,7 +4839,7 @@ export interface CreateRuleGroupRequest {
|
|
|
4805
4839
|
*/
|
|
4806
4840
|
Name: string | undefined;
|
|
4807
4841
|
/**
|
|
4808
|
-
* <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,
|
|
4842
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4809
4843
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4810
4844
|
* <ul>
|
|
4811
4845
|
* <li>
|
|
@@ -4866,7 +4900,7 @@ export interface CreateWebACLRequest {
|
|
|
4866
4900
|
*/
|
|
4867
4901
|
Name: string | undefined;
|
|
4868
4902
|
/**
|
|
4869
|
-
* <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,
|
|
4903
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
4870
4904
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
4871
4905
|
* <ul>
|
|
4872
4906
|
* <li>
|
|
@@ -5002,7 +5036,7 @@ export interface UpdateRuleGroupRequest {
|
|
|
5002
5036
|
*/
|
|
5003
5037
|
Name: string | undefined;
|
|
5004
5038
|
/**
|
|
5005
|
-
* <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,
|
|
5039
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
5006
5040
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
5007
5041
|
* <ul>
|
|
5008
5042
|
* <li>
|
|
@@ -5052,7 +5086,7 @@ export interface UpdateWebACLRequest {
|
|
|
5052
5086
|
*/
|
|
5053
5087
|
Name: string | undefined;
|
|
5054
5088
|
/**
|
|
5055
|
-
* <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,
|
|
5089
|
+
* <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, or an Amazon Cognito user pool. </p>
|
|
5056
5090
|
* <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: </p>
|
|
5057
5091
|
* <ul>
|
|
5058
5092
|
* <li>
|
|
@@ -5115,7 +5149,7 @@ export interface GetRuleGroupResponse {
|
|
|
5115
5149
|
LockToken?: string;
|
|
5116
5150
|
}
|
|
5117
5151
|
/**
|
|
5118
|
-
* <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,
|
|
5152
|
+
* <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>
|
|
5119
5153
|
*/
|
|
5120
5154
|
export interface WebACL {
|
|
5121
5155
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.150.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"typedoc": "0.19.2",
|
|
62
62
|
"typescript": "~4.6.2"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"typedoc": {
|
|
66
|
+
"typescript": "~4.6.2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
64
69
|
"engines": {
|
|
65
70
|
"node": ">=12.0.0"
|
|
66
71
|
},
|