@aws-sdk/client-wafv2 3.296.0 → 3.297.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/dist-types/WAFV2.d.ts +49 -0
- package/dist-types/WAFV2Client.d.ts +24 -4
- package/dist-types/commands/AssociateWebACLCommand.d.ts +16 -0
- package/dist-types/commands/CheckCapacityCommand.d.ts +16 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +16 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +16 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +16 -0
- package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +16 -0
- package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +16 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +16 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/GetManagedRuleSetCommand.d.ts +16 -0
- package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +16 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +16 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +16 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +16 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +16 -0
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +16 -0
- package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +16 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +16 -0
- package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +16 -0
- package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +16 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +16 -0
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +16 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +16 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +16 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +16 -0
- package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +16 -0
- package/dist-types/models/WAFV2ServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +512 -29
- package/package.json +3 -3
package/dist-types/WAFV2.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ import { UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput } from "./com
|
|
|
49
49
|
import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
|
|
50
50
|
import { WAFV2Client } from "./WAFV2Client";
|
|
51
51
|
/**
|
|
52
|
+
* @public
|
|
52
53
|
* <fullname>WAF</fullname>
|
|
53
54
|
* <note>
|
|
54
55
|
* <p>This is the latest version of the <b>WAF</b> API,
|
|
@@ -110,6 +111,7 @@ import { WAFV2Client } from "./WAFV2Client";
|
|
|
110
111
|
*/
|
|
111
112
|
export declare class WAFV2 extends WAFV2Client {
|
|
112
113
|
/**
|
|
114
|
+
* @public
|
|
113
115
|
* <p>Associates a web ACL with a regional application resource, to protect the resource.
|
|
114
116
|
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
|
|
115
117
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
@@ -121,6 +123,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
121
123
|
associateWebACL(args: AssociateWebACLCommandInput, cb: (err: any, data?: AssociateWebACLCommandOutput) => void): void;
|
|
122
124
|
associateWebACL(args: AssociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateWebACLCommandOutput) => void): void;
|
|
123
125
|
/**
|
|
126
|
+
* @public
|
|
124
127
|
* <p>Returns the web ACL capacity unit (WCU) requirements for a specified scope and set of rules.
|
|
125
128
|
* You can use this to check the capacity requirements for the rules you want to use in a
|
|
126
129
|
* <a>RuleGroup</a> or <a>WebACL</a>.
|
|
@@ -138,6 +141,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
138
141
|
checkCapacity(args: CheckCapacityCommandInput, cb: (err: any, data?: CheckCapacityCommandOutput) => void): void;
|
|
139
142
|
checkCapacity(args: CheckCapacityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CheckCapacityCommandOutput) => void): void;
|
|
140
143
|
/**
|
|
144
|
+
* @public
|
|
141
145
|
* <p>Creates an <a>IPSet</a>, which you use to identify web requests that
|
|
142
146
|
* originate from specific IP addresses or ranges of IP addresses. For example, if you're
|
|
143
147
|
* receiving a lot of requests from a ranges of IP addresses, you can configure WAF to
|
|
@@ -147,6 +151,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
147
151
|
createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
148
152
|
createIPSet(args: CreateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
149
153
|
/**
|
|
154
|
+
* @public
|
|
150
155
|
* <p>Creates a <a>RegexPatternSet</a>, which you reference in a <a>RegexPatternSetReferenceStatement</a>, to have WAF inspect a web request
|
|
151
156
|
* component for the specified patterns.</p>
|
|
152
157
|
*/
|
|
@@ -154,6 +159,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
154
159
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
155
160
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
156
161
|
/**
|
|
162
|
+
* @public
|
|
157
163
|
* <p>Creates a <a>RuleGroup</a> per the specifications provided. </p>
|
|
158
164
|
* <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>
|
|
159
165
|
*/
|
|
@@ -161,6 +167,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
161
167
|
createRuleGroup(args: CreateRuleGroupCommandInput, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
162
168
|
createRuleGroup(args: CreateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
163
169
|
/**
|
|
170
|
+
* @public
|
|
164
171
|
* <p>Creates a <a>WebACL</a> per the specifications provided.</p>
|
|
165
172
|
* <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, an AppSync GraphQL API, Amazon Cognito user pool, or an App Runner service. </p>
|
|
166
173
|
*/
|
|
@@ -168,6 +175,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
168
175
|
createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
169
176
|
createWebACL(args: CreateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
170
177
|
/**
|
|
178
|
+
* @public
|
|
171
179
|
* <p>Deletes all rule groups that are managed by Firewall Manager for the specified web ACL. </p>
|
|
172
180
|
* <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
|
|
173
181
|
* <a>WebACL</a>. </p>
|
|
@@ -176,18 +184,21 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
176
184
|
deleteFirewallManagerRuleGroups(args: DeleteFirewallManagerRuleGroupsCommandInput, cb: (err: any, data?: DeleteFirewallManagerRuleGroupsCommandOutput) => void): void;
|
|
177
185
|
deleteFirewallManagerRuleGroups(args: DeleteFirewallManagerRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFirewallManagerRuleGroupsCommandOutput) => void): void;
|
|
178
186
|
/**
|
|
187
|
+
* @public
|
|
179
188
|
* <p>Deletes the specified <a>IPSet</a>. </p>
|
|
180
189
|
*/
|
|
181
190
|
deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
|
|
182
191
|
deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
183
192
|
deleteIPSet(args: DeleteIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
184
193
|
/**
|
|
194
|
+
* @public
|
|
185
195
|
* <p>Deletes the <a>LoggingConfiguration</a> from the specified web ACL.</p>
|
|
186
196
|
*/
|
|
187
197
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
188
198
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
189
199
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
190
200
|
/**
|
|
201
|
+
* @public
|
|
191
202
|
* <p>Permanently deletes an IAM policy from the specified rule group.</p>
|
|
192
203
|
* <p>You must be the owner of the rule group to perform this operation.</p>
|
|
193
204
|
*/
|
|
@@ -195,18 +206,21 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
195
206
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
196
207
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
197
208
|
/**
|
|
209
|
+
* @public
|
|
198
210
|
* <p>Deletes the specified <a>RegexPatternSet</a>.</p>
|
|
199
211
|
*/
|
|
200
212
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexPatternSetCommandOutput>;
|
|
201
213
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
202
214
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
203
215
|
/**
|
|
216
|
+
* @public
|
|
204
217
|
* <p>Deletes the specified <a>RuleGroup</a>.</p>
|
|
205
218
|
*/
|
|
206
219
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupCommandOutput>;
|
|
207
220
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
208
221
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
209
222
|
/**
|
|
223
|
+
* @public
|
|
210
224
|
* <p>Deletes the specified <a>WebACL</a>. </p>
|
|
211
225
|
* <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
|
|
212
226
|
* <a>WebACL</a>. </p>
|
|
@@ -245,6 +259,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
245
259
|
deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
246
260
|
deleteWebACL(args: DeleteWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
247
261
|
/**
|
|
262
|
+
* @public
|
|
248
263
|
* <p>Provides high-level information for a managed rule group, including descriptions of the
|
|
249
264
|
* rules. </p>
|
|
250
265
|
*/
|
|
@@ -252,6 +267,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
252
267
|
describeManagedRuleGroup(args: DescribeManagedRuleGroupCommandInput, cb: (err: any, data?: DescribeManagedRuleGroupCommandOutput) => void): void;
|
|
253
268
|
describeManagedRuleGroup(args: DescribeManagedRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedRuleGroupCommandOutput) => void): void;
|
|
254
269
|
/**
|
|
270
|
+
* @public
|
|
255
271
|
* <p>Disassociates the specified regional application resource from any existing web ACL
|
|
256
272
|
* 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, a Amazon Cognito user pool, or an App Runner service. </p>
|
|
257
273
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
@@ -262,6 +278,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
262
278
|
disassociateWebACL(args: DisassociateWebACLCommandInput, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
|
|
263
279
|
disassociateWebACL(args: DisassociateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWebACLCommandOutput) => void): void;
|
|
264
280
|
/**
|
|
281
|
+
* @public
|
|
265
282
|
* <p>Generates a presigned download URL for the specified release of the mobile SDK.</p>
|
|
266
283
|
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
267
284
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
@@ -270,18 +287,21 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
270
287
|
generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, cb: (err: any, data?: GenerateMobileSdkReleaseUrlCommandOutput) => void): void;
|
|
271
288
|
generateMobileSdkReleaseUrl(args: GenerateMobileSdkReleaseUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateMobileSdkReleaseUrlCommandOutput) => void): void;
|
|
272
289
|
/**
|
|
290
|
+
* @public
|
|
273
291
|
* <p>Retrieves the specified <a>IPSet</a>.</p>
|
|
274
292
|
*/
|
|
275
293
|
getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
|
|
276
294
|
getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
277
295
|
getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
278
296
|
/**
|
|
297
|
+
* @public
|
|
279
298
|
* <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
280
299
|
*/
|
|
281
300
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLoggingConfigurationCommandOutput>;
|
|
282
301
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
283
302
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
284
303
|
/**
|
|
304
|
+
* @public
|
|
285
305
|
* <p>Retrieves the specified managed rule set. </p>
|
|
286
306
|
* <note>
|
|
287
307
|
* <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p>
|
|
@@ -292,6 +312,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
292
312
|
getManagedRuleSet(args: GetManagedRuleSetCommandInput, cb: (err: any, data?: GetManagedRuleSetCommandOutput) => void): void;
|
|
293
313
|
getManagedRuleSet(args: GetManagedRuleSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetManagedRuleSetCommandOutput) => void): void;
|
|
294
314
|
/**
|
|
315
|
+
* @public
|
|
295
316
|
* <p>Retrieves information for the specified mobile SDK release, including release notes and
|
|
296
317
|
* tags.</p>
|
|
297
318
|
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
@@ -301,6 +322,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
301
322
|
getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, cb: (err: any, data?: GetMobileSdkReleaseCommandOutput) => void): void;
|
|
302
323
|
getMobileSdkRelease(args: GetMobileSdkReleaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMobileSdkReleaseCommandOutput) => void): void;
|
|
303
324
|
/**
|
|
325
|
+
* @public
|
|
304
326
|
* <p>Returns the IAM policy that is attached to the specified rule group.</p>
|
|
305
327
|
* <p>You must be the owner of the rule group to perform this operation.</p>
|
|
306
328
|
*/
|
|
@@ -308,6 +330,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
308
330
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
309
331
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
310
332
|
/**
|
|
333
|
+
* @public
|
|
311
334
|
* <p>Retrieves the keys that are currently blocked by a rate-based rule instance. The maximum
|
|
312
335
|
* number of managed keys that can be blocked for a single rate-based rule instance is 10,000.
|
|
313
336
|
* If more than 10,000 addresses exceed the rate limit, those with the highest rates are
|
|
@@ -327,18 +350,21 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
327
350
|
getRateBasedStatementManagedKeys(args: GetRateBasedStatementManagedKeysCommandInput, cb: (err: any, data?: GetRateBasedStatementManagedKeysCommandOutput) => void): void;
|
|
328
351
|
getRateBasedStatementManagedKeys(args: GetRateBasedStatementManagedKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedStatementManagedKeysCommandOutput) => void): void;
|
|
329
352
|
/**
|
|
353
|
+
* @public
|
|
330
354
|
* <p>Retrieves the specified <a>RegexPatternSet</a>.</p>
|
|
331
355
|
*/
|
|
332
356
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexPatternSetCommandOutput>;
|
|
333
357
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
334
358
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
335
359
|
/**
|
|
360
|
+
* @public
|
|
336
361
|
* <p>Retrieves the specified <a>RuleGroup</a>.</p>
|
|
337
362
|
*/
|
|
338
363
|
getRuleGroup(args: GetRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleGroupCommandOutput>;
|
|
339
364
|
getRuleGroup(args: GetRuleGroupCommandInput, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
340
365
|
getRuleGroup(args: GetRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
341
366
|
/**
|
|
367
|
+
* @public
|
|
342
368
|
* <p>Gets detailed information about a specified number of requests--a sample--that WAF
|
|
343
369
|
* randomly selects from among the first 5,000 requests that your Amazon Web Services resource received
|
|
344
370
|
* during a time range that you choose. You can specify a sample size of up to 500 requests,
|
|
@@ -354,18 +380,21 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
354
380
|
getSampledRequests(args: GetSampledRequestsCommandInput, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
355
381
|
getSampledRequests(args: GetSampledRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
356
382
|
/**
|
|
383
|
+
* @public
|
|
357
384
|
* <p>Retrieves the specified <a>WebACL</a>.</p>
|
|
358
385
|
*/
|
|
359
386
|
getWebACL(args: GetWebACLCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLCommandOutput>;
|
|
360
387
|
getWebACL(args: GetWebACLCommandInput, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
361
388
|
getWebACL(args: GetWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
362
389
|
/**
|
|
390
|
+
* @public
|
|
363
391
|
* <p>Retrieves the <a>WebACL</a> for the specified resource. </p>
|
|
364
392
|
*/
|
|
365
393
|
getWebACLForResource(args: GetWebACLForResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLForResourceCommandOutput>;
|
|
366
394
|
getWebACLForResource(args: GetWebACLForResourceCommandInput, cb: (err: any, data?: GetWebACLForResourceCommandOutput) => void): void;
|
|
367
395
|
getWebACLForResource(args: GetWebACLForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWebACLForResourceCommandOutput) => void): void;
|
|
368
396
|
/**
|
|
397
|
+
* @public
|
|
369
398
|
* <p>Retrieves an array of managed rule groups that are available for you to use. This list
|
|
370
399
|
* includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're
|
|
371
400
|
* subscribed to.</p>
|
|
@@ -374,12 +403,14 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
374
403
|
listAvailableManagedRuleGroups(args: ListAvailableManagedRuleGroupsCommandInput, cb: (err: any, data?: ListAvailableManagedRuleGroupsCommandOutput) => void): void;
|
|
375
404
|
listAvailableManagedRuleGroups(args: ListAvailableManagedRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAvailableManagedRuleGroupsCommandOutput) => void): void;
|
|
376
405
|
/**
|
|
406
|
+
* @public
|
|
377
407
|
* <p>Returns a list of the available versions for the specified managed rule group. </p>
|
|
378
408
|
*/
|
|
379
409
|
listAvailableManagedRuleGroupVersions(args: ListAvailableManagedRuleGroupVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAvailableManagedRuleGroupVersionsCommandOutput>;
|
|
380
410
|
listAvailableManagedRuleGroupVersions(args: ListAvailableManagedRuleGroupVersionsCommandInput, cb: (err: any, data?: ListAvailableManagedRuleGroupVersionsCommandOutput) => void): void;
|
|
381
411
|
listAvailableManagedRuleGroupVersions(args: ListAvailableManagedRuleGroupVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAvailableManagedRuleGroupVersionsCommandOutput) => void): void;
|
|
382
412
|
/**
|
|
413
|
+
* @public
|
|
383
414
|
* <p>Retrieves an array of <a>IPSetSummary</a> objects for the IP sets that you
|
|
384
415
|
* manage.</p>
|
|
385
416
|
*/
|
|
@@ -387,12 +418,14 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
387
418
|
listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
388
419
|
listIPSets(args: ListIPSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
389
420
|
/**
|
|
421
|
+
* @public
|
|
390
422
|
* <p>Retrieves an array of your <a>LoggingConfiguration</a> objects.</p>
|
|
391
423
|
*/
|
|
392
424
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLoggingConfigurationsCommandOutput>;
|
|
393
425
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
394
426
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
395
427
|
/**
|
|
428
|
+
* @public
|
|
396
429
|
* <p>Retrieves the managed rule sets that you own. </p>
|
|
397
430
|
* <note>
|
|
398
431
|
* <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p>
|
|
@@ -403,6 +436,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
403
436
|
listManagedRuleSets(args: ListManagedRuleSetsCommandInput, cb: (err: any, data?: ListManagedRuleSetsCommandOutput) => void): void;
|
|
404
437
|
listManagedRuleSets(args: ListManagedRuleSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListManagedRuleSetsCommandOutput) => void): void;
|
|
405
438
|
/**
|
|
439
|
+
* @public
|
|
406
440
|
* <p>Retrieves a list of the available releases for the mobile SDK and the specified device
|
|
407
441
|
* platform. </p>
|
|
408
442
|
* <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
|
|
@@ -412,6 +446,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
412
446
|
listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, cb: (err: any, data?: ListMobileSdkReleasesCommandOutput) => void): void;
|
|
413
447
|
listMobileSdkReleases(args: ListMobileSdkReleasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMobileSdkReleasesCommandOutput) => void): void;
|
|
414
448
|
/**
|
|
449
|
+
* @public
|
|
415
450
|
* <p>Retrieves an array of <a>RegexPatternSetSummary</a> objects for the regex
|
|
416
451
|
* pattern sets that you manage.</p>
|
|
417
452
|
*/
|
|
@@ -419,6 +454,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
419
454
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
420
455
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
421
456
|
/**
|
|
457
|
+
* @public
|
|
422
458
|
* <p>Retrieves an array of the Amazon Resource Names (ARNs) for the regional resources that
|
|
423
459
|
* are associated with the specified web ACL. If you want the list of Amazon CloudFront resources, use
|
|
424
460
|
* the CloudFront call <code>ListDistributionsByWebACLId</code>. </p>
|
|
@@ -427,6 +463,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
427
463
|
listResourcesForWebACL(args: ListResourcesForWebACLCommandInput, cb: (err: any, data?: ListResourcesForWebACLCommandOutput) => void): void;
|
|
428
464
|
listResourcesForWebACL(args: ListResourcesForWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesForWebACLCommandOutput) => void): void;
|
|
429
465
|
/**
|
|
466
|
+
* @public
|
|
430
467
|
* <p>Retrieves an array of <a>RuleGroupSummary</a> objects for the rule groups
|
|
431
468
|
* that you manage. </p>
|
|
432
469
|
*/
|
|
@@ -434,6 +471,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
434
471
|
listRuleGroups(args: ListRuleGroupsCommandInput, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
435
472
|
listRuleGroups(args: ListRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
436
473
|
/**
|
|
474
|
+
* @public
|
|
437
475
|
* <p>Retrieves the <a>TagInfoForResource</a> for the specified resource. Tags are
|
|
438
476
|
* key:value pairs that you can use to categorize and manage your resources, for purposes like
|
|
439
477
|
* billing. For example, you might set the tag key to "customer" and the value to the customer
|
|
@@ -447,6 +485,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
447
485
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
448
486
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
449
487
|
/**
|
|
488
|
+
* @public
|
|
450
489
|
* <p>Retrieves an array of <a>WebACLSummary</a> objects for the web ACLs that you
|
|
451
490
|
* manage.</p>
|
|
452
491
|
*/
|
|
@@ -454,6 +493,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
454
493
|
listWebACLs(args: ListWebACLsCommandInput, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
455
494
|
listWebACLs(args: ListWebACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
456
495
|
/**
|
|
496
|
+
* @public
|
|
457
497
|
* <p>Enables the specified <a>LoggingConfiguration</a>, to start logging from a
|
|
458
498
|
* web ACL, according to the configuration provided. </p>
|
|
459
499
|
* <note>
|
|
@@ -502,6 +542,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
502
542
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
503
543
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
504
544
|
/**
|
|
545
|
+
* @public
|
|
505
546
|
* <p>Defines the versions of your managed rule set that you are offering to the customers.
|
|
506
547
|
* Customers see your offerings as managed rule groups with versioning.</p>
|
|
507
548
|
* <note>
|
|
@@ -519,6 +560,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
519
560
|
putManagedRuleSetVersions(args: PutManagedRuleSetVersionsCommandInput, cb: (err: any, data?: PutManagedRuleSetVersionsCommandOutput) => void): void;
|
|
520
561
|
putManagedRuleSetVersions(args: PutManagedRuleSetVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutManagedRuleSetVersionsCommandOutput) => void): void;
|
|
521
562
|
/**
|
|
563
|
+
* @public
|
|
522
564
|
* <p>Attaches an IAM policy to the specified resource. Use this to share a rule group across
|
|
523
565
|
* accounts.</p>
|
|
524
566
|
* <p>You must be the owner of the rule group to perform this operation.</p>
|
|
@@ -541,6 +583,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
541
583
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
542
584
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
543
585
|
/**
|
|
586
|
+
* @public
|
|
544
587
|
* <p>Associates tags with the specified Amazon Web Services resource. Tags are key:value pairs that you can
|
|
545
588
|
* use to categorize and manage your resources, for purposes like billing. For example, you
|
|
546
589
|
* might set the tag key to "customer" and the value to the customer name or ID. You can
|
|
@@ -554,6 +597,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
554
597
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
555
598
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
556
599
|
/**
|
|
600
|
+
* @public
|
|
557
601
|
* <p>Disassociates tags from an Amazon Web Services resource. Tags are key:value pairs that you can
|
|
558
602
|
* associate with Amazon Web Services resources. For example, the tag key might be "customer" and the tag
|
|
559
603
|
* value might be "companyA." You can specify one or more tags to add to each container. You
|
|
@@ -563,6 +607,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
563
607
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
564
608
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
565
609
|
/**
|
|
610
|
+
* @public
|
|
566
611
|
* <p>Updates the specified <a>IPSet</a>. </p>
|
|
567
612
|
* <note>
|
|
568
613
|
* <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. </p>
|
|
@@ -586,6 +631,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
586
631
|
updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
587
632
|
updateIPSet(args: UpdateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
588
633
|
/**
|
|
634
|
+
* @public
|
|
589
635
|
* <p>Updates the expiration information for your managed rule set. Use this to initiate the
|
|
590
636
|
* expiration of a managed rule group version. After you initiate expiration for a version,
|
|
591
637
|
* WAF excludes it from the response to <a>ListAvailableManagedRuleGroupVersions</a> for the managed rule group. </p>
|
|
@@ -598,6 +644,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
598
644
|
updateManagedRuleSetVersionExpiryDate(args: UpdateManagedRuleSetVersionExpiryDateCommandInput, cb: (err: any, data?: UpdateManagedRuleSetVersionExpiryDateCommandOutput) => void): void;
|
|
599
645
|
updateManagedRuleSetVersionExpiryDate(args: UpdateManagedRuleSetVersionExpiryDateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateManagedRuleSetVersionExpiryDateCommandOutput) => void): void;
|
|
600
646
|
/**
|
|
647
|
+
* @public
|
|
601
648
|
* <p>Updates the specified <a>RegexPatternSet</a>.</p>
|
|
602
649
|
* <note>
|
|
603
650
|
* <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. </p>
|
|
@@ -621,6 +668,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
621
668
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
622
669
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
623
670
|
/**
|
|
671
|
+
* @public
|
|
624
672
|
* <p>Updates the specified <a>RuleGroup</a>.</p>
|
|
625
673
|
* <note>
|
|
626
674
|
* <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. </p>
|
|
@@ -645,6 +693,7 @@ export declare class WAFV2 extends WAFV2Client {
|
|
|
645
693
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
646
694
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
647
695
|
/**
|
|
696
|
+
* @public
|
|
648
697
|
* <p>Updates the specified <a>WebACL</a>. While updating a web ACL, WAF provides
|
|
649
698
|
* continuous coverage to the resources that you have associated with the web ACL. </p>
|
|
650
699
|
* <note>
|
|
@@ -56,15 +56,24 @@ import { UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput }
|
|
|
56
56
|
import { UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput } from "./commands/UpdateRuleGroupCommand";
|
|
57
57
|
import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
|
|
58
58
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
59
62
|
export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
60
66
|
export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
61
70
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
62
71
|
/**
|
|
63
72
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
64
73
|
*/
|
|
65
74
|
requestHandler?: __HttpHandler;
|
|
66
75
|
/**
|
|
67
|
-
* A constructor for a class implementing the {@link
|
|
76
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
68
77
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
69
78
|
* @internal
|
|
70
79
|
*/
|
|
@@ -154,23 +163,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
154
163
|
*/
|
|
155
164
|
logger?: __Logger;
|
|
156
165
|
/**
|
|
157
|
-
* The {@link
|
|
166
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
158
167
|
*/
|
|
159
168
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
160
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
161
173
|
type WAFV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
162
174
|
/**
|
|
163
|
-
*
|
|
175
|
+
* @public
|
|
176
|
+
*
|
|
177
|
+
* The configuration interface of WAFV2Client class constructor that set the region, credentials and other options.
|
|
164
178
|
*/
|
|
165
179
|
export interface WAFV2ClientConfig extends WAFV2ClientConfigType {
|
|
166
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
167
184
|
type WAFV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
168
185
|
/**
|
|
169
|
-
*
|
|
186
|
+
* @public
|
|
187
|
+
*
|
|
188
|
+
* The resolved configuration interface of WAFV2Client class. This is resolved and normalized from the {@link WAFV2ClientConfig | constructor configuration interface}.
|
|
170
189
|
*/
|
|
171
190
|
export interface WAFV2ClientResolvedConfig extends WAFV2ClientResolvedConfigType {
|
|
172
191
|
}
|
|
173
192
|
/**
|
|
193
|
+
* @public
|
|
174
194
|
* <fullname>WAF</fullname>
|
|
175
195
|
* <note>
|
|
176
196
|
* <p>This is the latest version of the <b>WAF</b> API,
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AssociateWebACLRequest, AssociateWebACLResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AssociateWebACLCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AssociateWebACLCommandInput extends AssociateWebACLRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AssociateWebACLCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Associates a web ACL with a regional application resource, to protect the resource.
|
|
18
23
|
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, a Amazon Cognito user pool, or an App Runner service. </p>
|
|
19
24
|
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
@@ -30,6 +35,8 @@ export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param AssociateWebACLCommandInput - {@link AssociateWebACLCommandInput}
|
|
39
|
+
* @returns {@link AssociateWebACLCommandOutput}
|
|
33
40
|
* @see {@link AssociateWebACLCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link AssociateWebACLCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
@@ -80,11 +87,20 @@ export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
|
|
|
80
87
|
export declare class AssociateWebACLCommand extends $Command<AssociateWebACLCommandInput, AssociateWebACLCommandOutput, WAFV2ClientResolvedConfig> {
|
|
81
88
|
readonly input: AssociateWebACLCommandInput;
|
|
82
89
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
83
93
|
constructor(input: AssociateWebACLCommandInput);
|
|
84
94
|
/**
|
|
85
95
|
* @internal
|
|
86
96
|
*/
|
|
87
97
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateWebACLCommandInput, AssociateWebACLCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
88
101
|
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
89
105
|
private deserialize;
|
|
90
106
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CheckCapacityRequest, CheckCapacityResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CheckCapacityCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CheckCapacityCommandInput extends CheckCapacityRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CheckCapacityCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Returns the web ACL capacity unit (WCU) requirements for a specified scope and set of rules.
|
|
18
23
|
* You can use this to check the capacity requirements for the rules you want to use in a
|
|
19
24
|
* <a>RuleGroup</a> or <a>WebACL</a>.
|
|
@@ -36,6 +41,8 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
38
43
|
*
|
|
44
|
+
* @param CheckCapacityCommandInput - {@link CheckCapacityCommandInput}
|
|
45
|
+
* @returns {@link CheckCapacityCommandOutput}
|
|
39
46
|
* @see {@link CheckCapacityCommandInput} for command's `input` shape.
|
|
40
47
|
* @see {@link CheckCapacityCommandOutput} for command's `response` shape.
|
|
41
48
|
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
@@ -105,11 +112,20 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
|
|
|
105
112
|
export declare class CheckCapacityCommand extends $Command<CheckCapacityCommandInput, CheckCapacityCommandOutput, WAFV2ClientResolvedConfig> {
|
|
106
113
|
readonly input: CheckCapacityCommandInput;
|
|
107
114
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
108
118
|
constructor(input: CheckCapacityCommandInput);
|
|
109
119
|
/**
|
|
110
120
|
* @internal
|
|
111
121
|
*/
|
|
112
122
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CheckCapacityCommandInput, CheckCapacityCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
113
126
|
private serialize;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
114
130
|
private deserialize;
|
|
115
131
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateIPSetCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateIPSetCommandInput extends CreateIPSetRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateIPSetCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an <a>IPSet</a>, which you use to identify web requests that
|
|
18
23
|
* originate from specific IP addresses or ranges of IP addresses. For example, if you're
|
|
19
24
|
* receiving a lot of requests from a ranges of IP addresses, you can configure WAF to
|
|
@@ -28,6 +33,8 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param CreateIPSetCommandInput - {@link CreateIPSetCommandInput}
|
|
37
|
+
* @returns {@link CreateIPSetCommandOutput}
|
|
31
38
|
* @see {@link CreateIPSetCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link CreateIPSetCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
@@ -87,11 +94,20 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
|
|
|
87
94
|
export declare class CreateIPSetCommand extends $Command<CreateIPSetCommandInput, CreateIPSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
88
95
|
readonly input: CreateIPSetCommandInput;
|
|
89
96
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
90
100
|
constructor(input: CreateIPSetCommandInput);
|
|
91
101
|
/**
|
|
92
102
|
* @internal
|
|
93
103
|
*/
|
|
94
104
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIPSetCommandInput, CreateIPSetCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
95
108
|
private serialize;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
96
112
|
private deserialize;
|
|
97
113
|
}
|