@aws-sdk/client-wafv2 3.80.0 → 3.85.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.
@@ -116,6 +116,8 @@ export declare class WAFV2 extends WAFV2Client {
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>
119
+ *
120
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
119
121
  */
120
122
  associateWebACL(args: AssociateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<AssociateWebACLCommandOutput>;
121
123
  associateWebACL(args: AssociateWebACLCommandInput, cb: (err: any, data?: AssociateWebACLCommandOutput) => void): void;
@@ -207,9 +209,38 @@ export declare class WAFV2 extends WAFV2Client {
207
209
  deleteRuleGroup(args: DeleteRuleGroupCommandInput, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
208
210
  deleteRuleGroup(args: DeleteRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
209
211
  /**
210
- * <p>Deletes the specified <a>WebACL</a>.</p>
212
+ * <p>Deletes the specified <a>WebACL</a>. </p>
211
213
  * <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
212
214
  * <a>WebACL</a>. </p>
215
+ * <note>
216
+ * <p>Before deleting any web ACL, first disassociate it from all resources.</p>
217
+ * <ul>
218
+ * <li>
219
+ * <p>To retrieve a list of the resources that are associated with a web ACL, use the following calls:</p>
220
+ * <ul>
221
+ * <li>
222
+ * <p>For regional resources, call <a>ListResourcesForWebACL</a>.</p>
223
+ * </li>
224
+ * <li>
225
+ * <p>For Amazon CloudFront distributions, use the CloudFront call <code>ListDistributionsByWebACLId</code>.
226
+ * For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDistributionsByWebACLId.html">ListDistributionsByWebACLId</a>.</p>
227
+ * </li>
228
+ * </ul>
229
+ * </li>
230
+ * <li>
231
+ * <p>To disassociate a resource from a web ACL, use the following calls:</p>
232
+ * <ul>
233
+ * <li>
234
+ * <p>For regional resources, call <a>DisassociateWebACL</a>.</p>
235
+ * </li>
236
+ * <li>
237
+ * <p>For Amazon CloudFront distributions, provide an empty web ACL ID in the CloudFront call
238
+ * <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
239
+ * </li>
240
+ * </ul>
241
+ * </li>
242
+ * </ul>
243
+ * </note>
213
244
  */
214
245
  deleteWebACL(args: DeleteWebACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebACLCommandOutput>;
215
246
  deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
@@ -222,7 +253,8 @@ export declare class WAFV2 extends WAFV2Client {
222
253
  describeManagedRuleGroup(args: DescribeManagedRuleGroupCommandInput, cb: (err: any, data?: DescribeManagedRuleGroupCommandOutput) => void): void;
223
254
  describeManagedRuleGroup(args: DescribeManagedRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedRuleGroupCommandOutput) => void): void;
224
255
  /**
225
- * <p>Disassociates a web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
256
+ * <p>Disassociates the specified regional application resource from any existing web ACL association. A resource can have at most one
257
+ * 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>
226
258
  * <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
227
259
  * disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
228
260
  * <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
@@ -509,6 +541,8 @@ export declare class WAFV2 extends WAFV2Client {
509
541
  * <note>
510
542
  * <p>This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling <a>GetIPSet</a>, update the settings as needed, and then provide the complete IP set specification to this call.</p>
511
543
  * </note>
544
+ *
545
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
512
546
  */
513
547
  updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
514
548
  updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
@@ -530,6 +564,8 @@ export declare class WAFV2 extends WAFV2Client {
530
564
  * <note>
531
565
  * <p>This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling <a>GetRegexPatternSet</a>, update the settings as needed, and then provide the complete regex pattern set specification to this call.</p>
532
566
  * </note>
567
+ *
568
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
533
569
  */
534
570
  updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexPatternSetCommandOutput>;
535
571
  updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
@@ -539,13 +575,17 @@ export declare class WAFV2 extends WAFV2Client {
539
575
  * <note>
540
576
  * <p>This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling <a>GetRuleGroup</a>, update the settings as needed, and then provide the complete rule group specification to this call.</p>
541
577
  * </note>
578
+ *
579
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
542
580
  * <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements. </p>
543
581
  */
544
582
  updateRuleGroup(args: UpdateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleGroupCommandOutput>;
545
583
  updateRuleGroup(args: UpdateRuleGroupCommandInput, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
546
584
  updateRuleGroup(args: UpdateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
547
585
  /**
548
- * <p>Updates the specified <a>WebACL</a>.</p>
586
+ * <p>Updates the specified <a>WebACL</a>. While updating a web ACL, WAF provides continous coverage to the resources that you have associated with the web ACL. </p>
587
+ *
588
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
549
589
  * <note>
550
590
  * <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>
551
591
  * </note>
@@ -12,6 +12,8 @@ export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
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>
15
+ *
16
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
15
17
  * @example
16
18
  * Use a bare-bones client and the command you need to make an API call.
17
19
  * ```javascript
@@ -7,9 +7,38 @@ export interface DeleteWebACLCommandInput extends DeleteWebACLRequest {
7
7
  export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes the specified <a>WebACL</a>.</p>
10
+ * <p>Deletes the specified <a>WebACL</a>. </p>
11
11
  * <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
12
12
  * <a>WebACL</a>. </p>
13
+ * <note>
14
+ * <p>Before deleting any web ACL, first disassociate it from all resources.</p>
15
+ * <ul>
16
+ * <li>
17
+ * <p>To retrieve a list of the resources that are associated with a web ACL, use the following calls:</p>
18
+ * <ul>
19
+ * <li>
20
+ * <p>For regional resources, call <a>ListResourcesForWebACL</a>.</p>
21
+ * </li>
22
+ * <li>
23
+ * <p>For Amazon CloudFront distributions, use the CloudFront call <code>ListDistributionsByWebACLId</code>.
24
+ * For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDistributionsByWebACLId.html">ListDistributionsByWebACLId</a>.</p>
25
+ * </li>
26
+ * </ul>
27
+ * </li>
28
+ * <li>
29
+ * <p>To disassociate a resource from a web ACL, use the following calls:</p>
30
+ * <ul>
31
+ * <li>
32
+ * <p>For regional resources, call <a>DisassociateWebACL</a>.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>For Amazon CloudFront distributions, provide an empty web ACL ID in the CloudFront call
36
+ * <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
37
+ * </li>
38
+ * </ul>
39
+ * </li>
40
+ * </ul>
41
+ * </note>
13
42
  * @example
14
43
  * Use a bare-bones client and the command you need to make an API call.
15
44
  * ```javascript
@@ -7,7 +7,8 @@ export interface DisassociateWebACLCommandInput extends DisassociateWebACLReques
7
7
  export interface DisassociateWebACLCommandOutput extends DisassociateWebACLResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Disassociates a web ACL from a regional application resource. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. </p>
10
+ * <p>Disassociates the specified regional application resource from any existing web ACL association. A resource can have at most one
11
+ * 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>
11
12
  * <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
12
13
  * disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
13
14
  * <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>.</p>
@@ -11,6 +11,8 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
11
11
  * <note>
12
12
  * <p>This operation completely replaces the mutable specifications that you already have for the IP set with the ones that you provide to this call. To modify the IP set, retrieve it by calling <a>GetIPSet</a>, update the settings as needed, and then provide the complete IP set specification to this call.</p>
13
13
  * </note>
14
+ *
15
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
14
16
  * @example
15
17
  * Use a bare-bones client and the command you need to make an API call.
16
18
  * ```javascript
@@ -11,6 +11,8 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
11
11
  * <note>
12
12
  * <p>This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. To modify the regex pattern set, retrieve it by calling <a>GetRegexPatternSet</a>, update the settings as needed, and then provide the complete regex pattern set specification to this call.</p>
13
13
  * </note>
14
+ *
15
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
14
16
  * @example
15
17
  * Use a bare-bones client and the command you need to make an API call.
16
18
  * ```javascript
@@ -11,6 +11,8 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
11
11
  * <note>
12
12
  * <p>This operation completely replaces the mutable specifications that you already have for the rule group with the ones that you provide to this call. To modify the rule group, retrieve it by calling <a>GetRuleGroup</a>, update the settings as needed, and then provide the complete rule group specification to this call.</p>
13
13
  * </note>
14
+ *
15
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
14
16
  * <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements. </p>
15
17
  * @example
16
18
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,9 @@ export interface UpdateWebACLCommandInput extends UpdateWebACLRequest {
7
7
  export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the specified <a>WebACL</a>.</p>
10
+ * <p>Updates the specified <a>WebACL</a>. While updating a web ACL, WAF provides continous coverage to the resources that you have associated with the web ACL. </p>
11
+ *
12
+ * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
11
13
  * <note>
12
14
  * <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>
13
15
  * </note>