@aws-sdk/client-wafv2 3.419.0 → 3.422.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +7 -7
  2. package/dist-types/models/models_0.d.ts +26 -6
  3. package/dist-types/ts3.4/WAFV2.d.ts +438 -918
  4. package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
  5. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
  6. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
  7. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
  8. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
  9. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
  10. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
  11. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
  12. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
  13. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
  14. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
  15. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
  16. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
  17. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
  18. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
  19. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
  20. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
  21. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
  22. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
  23. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
  24. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
  25. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
  26. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
  27. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
  28. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
  29. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
  30. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
  31. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
  32. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
  33. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
  34. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
  35. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
  36. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
  37. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
  38. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
  39. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
  40. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
  41. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
  42. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
  43. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
  44. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
  45. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
  47. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
  48. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
  49. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
  50. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
  53. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
  54. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
  55. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
  56. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
  57. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
  58. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  59. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
  60. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  61. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  62. package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
  63. package/dist-types/ts3.4/index.d.ts +68 -6
  64. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
  65. package/dist-types/ts3.4/models/index.d.ts +1 -1
  66. package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
  67. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  72. package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
  73. package/package.json +3 -3
@@ -1,436 +1,277 @@
1
- import {
2
- HostHeaderInputConfig,
3
- HostHeaderResolvedConfig,
4
- } from "@aws-sdk/middleware-host-header";
5
- import {
6
- AwsAuthInputConfig,
7
- AwsAuthResolvedConfig,
8
- } from "@aws-sdk/middleware-signing";
9
- import {
10
- UserAgentInputConfig,
11
- UserAgentResolvedConfig,
12
- } from "@aws-sdk/middleware-user-agent";
13
- import { Credentials as __Credentials } from "@aws-sdk/types";
14
- import {
15
- RegionInputConfig,
16
- RegionResolvedConfig,
17
- } from "@smithy/config-resolver";
18
- import {
19
- EndpointInputConfig,
20
- EndpointResolvedConfig,
21
- } from "@smithy/middleware-endpoint";
22
- import {
23
- RetryInputConfig,
24
- RetryResolvedConfig,
25
- } from "@smithy/middleware-retry";
26
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
27
- import {
28
- Client as __Client,
29
- DefaultsMode as __DefaultsMode,
30
- SmithyConfiguration as __SmithyConfiguration,
31
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
32
- } from "@smithy/smithy-client";
33
- import {
34
- BodyLengthCalculator as __BodyLengthCalculator,
35
- CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
- ChecksumConstructor as __ChecksumConstructor,
37
- Decoder as __Decoder,
38
- Encoder as __Encoder,
39
- HashConstructor as __HashConstructor,
40
- HttpHandlerOptions as __HttpHandlerOptions,
41
- Logger as __Logger,
42
- Provider as __Provider,
43
- Provider,
44
- StreamCollector as __StreamCollector,
45
- UrlParser as __UrlParser,
46
- UserAgent as __UserAgent,
47
- } from "@smithy/types";
48
- import {
49
- AssociateWebACLCommandInput,
50
- AssociateWebACLCommandOutput,
51
- } from "./commands/AssociateWebACLCommand";
52
- import {
53
- CheckCapacityCommandInput,
54
- CheckCapacityCommandOutput,
55
- } from "./commands/CheckCapacityCommand";
56
- import {
57
- CreateAPIKeyCommandInput,
58
- CreateAPIKeyCommandOutput,
59
- } from "./commands/CreateAPIKeyCommand";
60
- import {
61
- CreateIPSetCommandInput,
62
- CreateIPSetCommandOutput,
63
- } from "./commands/CreateIPSetCommand";
64
- import {
65
- CreateRegexPatternSetCommandInput,
66
- CreateRegexPatternSetCommandOutput,
67
- } from "./commands/CreateRegexPatternSetCommand";
68
- import {
69
- CreateRuleGroupCommandInput,
70
- CreateRuleGroupCommandOutput,
71
- } from "./commands/CreateRuleGroupCommand";
72
- import {
73
- CreateWebACLCommandInput,
74
- CreateWebACLCommandOutput,
75
- } from "./commands/CreateWebACLCommand";
76
- import {
77
- DeleteFirewallManagerRuleGroupsCommandInput,
78
- DeleteFirewallManagerRuleGroupsCommandOutput,
79
- } from "./commands/DeleteFirewallManagerRuleGroupsCommand";
80
- import {
81
- DeleteIPSetCommandInput,
82
- DeleteIPSetCommandOutput,
83
- } from "./commands/DeleteIPSetCommand";
84
- import {
85
- DeleteLoggingConfigurationCommandInput,
86
- DeleteLoggingConfigurationCommandOutput,
87
- } from "./commands/DeleteLoggingConfigurationCommand";
88
- import {
89
- DeletePermissionPolicyCommandInput,
90
- DeletePermissionPolicyCommandOutput,
91
- } from "./commands/DeletePermissionPolicyCommand";
92
- import {
93
- DeleteRegexPatternSetCommandInput,
94
- DeleteRegexPatternSetCommandOutput,
95
- } from "./commands/DeleteRegexPatternSetCommand";
96
- import {
97
- DeleteRuleGroupCommandInput,
98
- DeleteRuleGroupCommandOutput,
99
- } from "./commands/DeleteRuleGroupCommand";
100
- import {
101
- DeleteWebACLCommandInput,
102
- DeleteWebACLCommandOutput,
103
- } from "./commands/DeleteWebACLCommand";
104
- import {
105
- DescribeAllManagedProductsCommandInput,
106
- DescribeAllManagedProductsCommandOutput,
107
- } from "./commands/DescribeAllManagedProductsCommand";
108
- import {
109
- DescribeManagedProductsByVendorCommandInput,
110
- DescribeManagedProductsByVendorCommandOutput,
111
- } from "./commands/DescribeManagedProductsByVendorCommand";
112
- import {
113
- DescribeManagedRuleGroupCommandInput,
114
- DescribeManagedRuleGroupCommandOutput,
115
- } from "./commands/DescribeManagedRuleGroupCommand";
116
- import {
117
- DisassociateWebACLCommandInput,
118
- DisassociateWebACLCommandOutput,
119
- } from "./commands/DisassociateWebACLCommand";
120
- import {
121
- GenerateMobileSdkReleaseUrlCommandInput,
122
- GenerateMobileSdkReleaseUrlCommandOutput,
123
- } from "./commands/GenerateMobileSdkReleaseUrlCommand";
124
- import {
125
- GetDecryptedAPIKeyCommandInput,
126
- GetDecryptedAPIKeyCommandOutput,
127
- } from "./commands/GetDecryptedAPIKeyCommand";
128
- import {
129
- GetIPSetCommandInput,
130
- GetIPSetCommandOutput,
131
- } from "./commands/GetIPSetCommand";
132
- import {
133
- GetLoggingConfigurationCommandInput,
134
- GetLoggingConfigurationCommandOutput,
135
- } from "./commands/GetLoggingConfigurationCommand";
136
- import {
137
- GetManagedRuleSetCommandInput,
138
- GetManagedRuleSetCommandOutput,
139
- } from "./commands/GetManagedRuleSetCommand";
140
- import {
141
- GetMobileSdkReleaseCommandInput,
142
- GetMobileSdkReleaseCommandOutput,
143
- } from "./commands/GetMobileSdkReleaseCommand";
144
- import {
145
- GetPermissionPolicyCommandInput,
146
- GetPermissionPolicyCommandOutput,
147
- } from "./commands/GetPermissionPolicyCommand";
148
- import {
149
- GetRateBasedStatementManagedKeysCommandInput,
150
- GetRateBasedStatementManagedKeysCommandOutput,
151
- } from "./commands/GetRateBasedStatementManagedKeysCommand";
152
- import {
153
- GetRegexPatternSetCommandInput,
154
- GetRegexPatternSetCommandOutput,
155
- } from "./commands/GetRegexPatternSetCommand";
156
- import {
157
- GetRuleGroupCommandInput,
158
- GetRuleGroupCommandOutput,
159
- } from "./commands/GetRuleGroupCommand";
160
- import {
161
- GetSampledRequestsCommandInput,
162
- GetSampledRequestsCommandOutput,
163
- } from "./commands/GetSampledRequestsCommand";
164
- import {
165
- GetWebACLCommandInput,
166
- GetWebACLCommandOutput,
167
- } from "./commands/GetWebACLCommand";
168
- import {
169
- GetWebACLForResourceCommandInput,
170
- GetWebACLForResourceCommandOutput,
171
- } from "./commands/GetWebACLForResourceCommand";
172
- import {
173
- ListAPIKeysCommandInput,
174
- ListAPIKeysCommandOutput,
175
- } from "./commands/ListAPIKeysCommand";
176
- import {
177
- ListAvailableManagedRuleGroupsCommandInput,
178
- ListAvailableManagedRuleGroupsCommandOutput,
179
- } from "./commands/ListAvailableManagedRuleGroupsCommand";
180
- import {
181
- ListAvailableManagedRuleGroupVersionsCommandInput,
182
- ListAvailableManagedRuleGroupVersionsCommandOutput,
183
- } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
184
- import {
185
- ListIPSetsCommandInput,
186
- ListIPSetsCommandOutput,
187
- } from "./commands/ListIPSetsCommand";
188
- import {
189
- ListLoggingConfigurationsCommandInput,
190
- ListLoggingConfigurationsCommandOutput,
191
- } from "./commands/ListLoggingConfigurationsCommand";
192
- import {
193
- ListManagedRuleSetsCommandInput,
194
- ListManagedRuleSetsCommandOutput,
195
- } from "./commands/ListManagedRuleSetsCommand";
196
- import {
197
- ListMobileSdkReleasesCommandInput,
198
- ListMobileSdkReleasesCommandOutput,
199
- } from "./commands/ListMobileSdkReleasesCommand";
200
- import {
201
- ListRegexPatternSetsCommandInput,
202
- ListRegexPatternSetsCommandOutput,
203
- } from "./commands/ListRegexPatternSetsCommand";
204
- import {
205
- ListResourcesForWebACLCommandInput,
206
- ListResourcesForWebACLCommandOutput,
207
- } from "./commands/ListResourcesForWebACLCommand";
208
- import {
209
- ListRuleGroupsCommandInput,
210
- ListRuleGroupsCommandOutput,
211
- } from "./commands/ListRuleGroupsCommand";
212
- import {
213
- ListTagsForResourceCommandInput,
214
- ListTagsForResourceCommandOutput,
215
- } from "./commands/ListTagsForResourceCommand";
216
- import {
217
- ListWebACLsCommandInput,
218
- ListWebACLsCommandOutput,
219
- } from "./commands/ListWebACLsCommand";
220
- import {
221
- PutLoggingConfigurationCommandInput,
222
- PutLoggingConfigurationCommandOutput,
223
- } from "./commands/PutLoggingConfigurationCommand";
224
- import {
225
- PutManagedRuleSetVersionsCommandInput,
226
- PutManagedRuleSetVersionsCommandOutput,
227
- } from "./commands/PutManagedRuleSetVersionsCommand";
228
- import {
229
- PutPermissionPolicyCommandInput,
230
- PutPermissionPolicyCommandOutput,
231
- } from "./commands/PutPermissionPolicyCommand";
232
- import {
233
- TagResourceCommandInput,
234
- TagResourceCommandOutput,
235
- } from "./commands/TagResourceCommand";
236
- import {
237
- UntagResourceCommandInput,
238
- UntagResourceCommandOutput,
239
- } from "./commands/UntagResourceCommand";
240
- import {
241
- UpdateIPSetCommandInput,
242
- UpdateIPSetCommandOutput,
243
- } from "./commands/UpdateIPSetCommand";
244
- import {
245
- UpdateManagedRuleSetVersionExpiryDateCommandInput,
246
- UpdateManagedRuleSetVersionExpiryDateCommandOutput,
247
- } from "./commands/UpdateManagedRuleSetVersionExpiryDateCommand";
248
- import {
249
- UpdateRegexPatternSetCommandInput,
250
- UpdateRegexPatternSetCommandOutput,
251
- } from "./commands/UpdateRegexPatternSetCommand";
252
- import {
253
- UpdateRuleGroupCommandInput,
254
- UpdateRuleGroupCommandOutput,
255
- } from "./commands/UpdateRuleGroupCommand";
256
- import {
257
- UpdateWebACLCommandInput,
258
- UpdateWebACLCommandOutput,
259
- } from "./commands/UpdateWebACLCommand";
260
- import {
261
- ClientInputEndpointParameters,
262
- ClientResolvedEndpointParameters,
263
- EndpointParameters,
264
- } from "./endpoint/EndpointParameters";
265
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
266
- export { __Client };
267
- export type ServiceInputTypes =
268
- | AssociateWebACLCommandInput
269
- | CheckCapacityCommandInput
270
- | CreateAPIKeyCommandInput
271
- | CreateIPSetCommandInput
272
- | CreateRegexPatternSetCommandInput
273
- | CreateRuleGroupCommandInput
274
- | CreateWebACLCommandInput
275
- | DeleteFirewallManagerRuleGroupsCommandInput
276
- | DeleteIPSetCommandInput
277
- | DeleteLoggingConfigurationCommandInput
278
- | DeletePermissionPolicyCommandInput
279
- | DeleteRegexPatternSetCommandInput
280
- | DeleteRuleGroupCommandInput
281
- | DeleteWebACLCommandInput
282
- | DescribeAllManagedProductsCommandInput
283
- | DescribeManagedProductsByVendorCommandInput
284
- | DescribeManagedRuleGroupCommandInput
285
- | DisassociateWebACLCommandInput
286
- | GenerateMobileSdkReleaseUrlCommandInput
287
- | GetDecryptedAPIKeyCommandInput
288
- | GetIPSetCommandInput
289
- | GetLoggingConfigurationCommandInput
290
- | GetManagedRuleSetCommandInput
291
- | GetMobileSdkReleaseCommandInput
292
- | GetPermissionPolicyCommandInput
293
- | GetRateBasedStatementManagedKeysCommandInput
294
- | GetRegexPatternSetCommandInput
295
- | GetRuleGroupCommandInput
296
- | GetSampledRequestsCommandInput
297
- | GetWebACLCommandInput
298
- | GetWebACLForResourceCommandInput
299
- | ListAPIKeysCommandInput
300
- | ListAvailableManagedRuleGroupVersionsCommandInput
301
- | ListAvailableManagedRuleGroupsCommandInput
302
- | ListIPSetsCommandInput
303
- | ListLoggingConfigurationsCommandInput
304
- | ListManagedRuleSetsCommandInput
305
- | ListMobileSdkReleasesCommandInput
306
- | ListRegexPatternSetsCommandInput
307
- | ListResourcesForWebACLCommandInput
308
- | ListRuleGroupsCommandInput
309
- | ListTagsForResourceCommandInput
310
- | ListWebACLsCommandInput
311
- | PutLoggingConfigurationCommandInput
312
- | PutManagedRuleSetVersionsCommandInput
313
- | PutPermissionPolicyCommandInput
314
- | TagResourceCommandInput
315
- | UntagResourceCommandInput
316
- | UpdateIPSetCommandInput
317
- | UpdateManagedRuleSetVersionExpiryDateCommandInput
318
- | UpdateRegexPatternSetCommandInput
319
- | UpdateRuleGroupCommandInput
320
- | UpdateWebACLCommandInput;
321
- export type ServiceOutputTypes =
322
- | AssociateWebACLCommandOutput
323
- | CheckCapacityCommandOutput
324
- | CreateAPIKeyCommandOutput
325
- | CreateIPSetCommandOutput
326
- | CreateRegexPatternSetCommandOutput
327
- | CreateRuleGroupCommandOutput
328
- | CreateWebACLCommandOutput
329
- | DeleteFirewallManagerRuleGroupsCommandOutput
330
- | DeleteIPSetCommandOutput
331
- | DeleteLoggingConfigurationCommandOutput
332
- | DeletePermissionPolicyCommandOutput
333
- | DeleteRegexPatternSetCommandOutput
334
- | DeleteRuleGroupCommandOutput
335
- | DeleteWebACLCommandOutput
336
- | DescribeAllManagedProductsCommandOutput
337
- | DescribeManagedProductsByVendorCommandOutput
338
- | DescribeManagedRuleGroupCommandOutput
339
- | DisassociateWebACLCommandOutput
340
- | GenerateMobileSdkReleaseUrlCommandOutput
341
- | GetDecryptedAPIKeyCommandOutput
342
- | GetIPSetCommandOutput
343
- | GetLoggingConfigurationCommandOutput
344
- | GetManagedRuleSetCommandOutput
345
- | GetMobileSdkReleaseCommandOutput
346
- | GetPermissionPolicyCommandOutput
347
- | GetRateBasedStatementManagedKeysCommandOutput
348
- | GetRegexPatternSetCommandOutput
349
- | GetRuleGroupCommandOutput
350
- | GetSampledRequestsCommandOutput
351
- | GetWebACLCommandOutput
352
- | GetWebACLForResourceCommandOutput
353
- | ListAPIKeysCommandOutput
354
- | ListAvailableManagedRuleGroupVersionsCommandOutput
355
- | ListAvailableManagedRuleGroupsCommandOutput
356
- | ListIPSetsCommandOutput
357
- | ListLoggingConfigurationsCommandOutput
358
- | ListManagedRuleSetsCommandOutput
359
- | ListMobileSdkReleasesCommandOutput
360
- | ListRegexPatternSetsCommandOutput
361
- | ListResourcesForWebACLCommandOutput
362
- | ListRuleGroupsCommandOutput
363
- | ListTagsForResourceCommandOutput
364
- | ListWebACLsCommandOutput
365
- | PutLoggingConfigurationCommandOutput
366
- | PutManagedRuleSetVersionsCommandOutput
367
- | PutPermissionPolicyCommandOutput
368
- | TagResourceCommandOutput
369
- | UntagResourceCommandOutput
370
- | UpdateIPSetCommandOutput
371
- | UpdateManagedRuleSetVersionExpiryDateCommandOutput
372
- | UpdateRegexPatternSetCommandOutput
373
- | UpdateRuleGroupCommandOutput
374
- | UpdateWebACLCommandOutput;
375
- export interface ClientDefaults
376
- extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
377
- requestHandler?: __HttpHandler;
378
- sha256?: __ChecksumConstructor | __HashConstructor;
379
- urlParser?: __UrlParser;
380
- bodyLengthChecker?: __BodyLengthCalculator;
381
- streamCollector?: __StreamCollector;
382
- base64Decoder?: __Decoder;
383
- base64Encoder?: __Encoder;
384
- utf8Decoder?: __Decoder;
385
- utf8Encoder?: __Encoder;
386
- runtime?: string;
387
- disableHostPrefix?: boolean;
388
- serviceId?: string;
389
- useDualstackEndpoint?: boolean | __Provider<boolean>;
390
- useFipsEndpoint?: boolean | __Provider<boolean>;
391
- region?: string | __Provider<string>;
392
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
393
- defaultUserAgentProvider?: Provider<__UserAgent>;
394
- maxAttempts?: number | __Provider<number>;
395
- retryMode?: string | __Provider<string>;
396
- logger?: __Logger;
397
- extensions?: RuntimeExtension[];
398
- defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
399
- }
400
- export type WAFV2ClientConfigType = Partial<
401
- __SmithyConfiguration<__HttpHandlerOptions>
402
- > &
403
- ClientDefaults &
404
- RegionInputConfig &
405
- EndpointInputConfig<EndpointParameters> &
406
- RetryInputConfig &
407
- HostHeaderInputConfig &
408
- AwsAuthInputConfig &
409
- UserAgentInputConfig &
410
- ClientInputEndpointParameters;
411
- export interface WAFV2ClientConfig extends WAFV2ClientConfigType {}
412
- export type WAFV2ClientResolvedConfigType =
413
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
414
- Required<ClientDefaults> &
415
- RuntimeExtensionsConfig &
416
- RegionResolvedConfig &
417
- EndpointResolvedConfig<EndpointParameters> &
418
- RetryResolvedConfig &
419
- HostHeaderResolvedConfig &
420
- AwsAuthResolvedConfig &
421
- UserAgentResolvedConfig &
422
- ClientResolvedEndpointParameters;
423
- export interface WAFV2ClientResolvedConfig
424
- extends WAFV2ClientResolvedConfigType {}
425
- export declare class WAFV2Client extends __Client<
426
- __HttpHandlerOptions,
427
- ServiceInputTypes,
428
- ServiceOutputTypes,
429
- WAFV2ClientResolvedConfig
430
- > {
431
- readonly config: WAFV2ClientResolvedConfig;
432
- constructor(
433
- ...[configuration]: __CheckOptionalClientConfig<WAFV2ClientConfig>
434
- );
435
- destroy(): void;
436
- }
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
3
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
+ import { AssociateWebACLCommandInput, AssociateWebACLCommandOutput } from "./commands/AssociateWebACLCommand";
12
+ import { CheckCapacityCommandInput, CheckCapacityCommandOutput } from "./commands/CheckCapacityCommand";
13
+ import { CreateAPIKeyCommandInput, CreateAPIKeyCommandOutput } from "./commands/CreateAPIKeyCommand";
14
+ import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
15
+ import { CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput } from "./commands/CreateRegexPatternSetCommand";
16
+ import { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
17
+ import { CreateWebACLCommandInput, CreateWebACLCommandOutput } from "./commands/CreateWebACLCommand";
18
+ import { DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput } from "./commands/DeleteFirewallManagerRuleGroupsCommand";
19
+ import { DeleteIPSetCommandInput, DeleteIPSetCommandOutput } from "./commands/DeleteIPSetCommand";
20
+ import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "./commands/DeleteLoggingConfigurationCommand";
21
+ import { DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput } from "./commands/DeletePermissionPolicyCommand";
22
+ import { DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput } from "./commands/DeleteRegexPatternSetCommand";
23
+ import { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
24
+ import { DeleteWebACLCommandInput, DeleteWebACLCommandOutput } from "./commands/DeleteWebACLCommand";
25
+ import { DescribeAllManagedProductsCommandInput, DescribeAllManagedProductsCommandOutput } from "./commands/DescribeAllManagedProductsCommand";
26
+ import { DescribeManagedProductsByVendorCommandInput, DescribeManagedProductsByVendorCommandOutput } from "./commands/DescribeManagedProductsByVendorCommand";
27
+ import { DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput } from "./commands/DescribeManagedRuleGroupCommand";
28
+ import { DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput } from "./commands/DisassociateWebACLCommand";
29
+ import { GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput } from "./commands/GenerateMobileSdkReleaseUrlCommand";
30
+ import { GetDecryptedAPIKeyCommandInput, GetDecryptedAPIKeyCommandOutput } from "./commands/GetDecryptedAPIKeyCommand";
31
+ import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
32
+ import { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
33
+ import { GetManagedRuleSetCommandInput, GetManagedRuleSetCommandOutput } from "./commands/GetManagedRuleSetCommand";
34
+ import { GetMobileSdkReleaseCommandInput, GetMobileSdkReleaseCommandOutput } from "./commands/GetMobileSdkReleaseCommand";
35
+ import { GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput } from "./commands/GetPermissionPolicyCommand";
36
+ import { GetRateBasedStatementManagedKeysCommandInput, GetRateBasedStatementManagedKeysCommandOutput } from "./commands/GetRateBasedStatementManagedKeysCommand";
37
+ import { GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput } from "./commands/GetRegexPatternSetCommand";
38
+ import { GetRuleGroupCommandInput, GetRuleGroupCommandOutput } from "./commands/GetRuleGroupCommand";
39
+ import { GetSampledRequestsCommandInput, GetSampledRequestsCommandOutput } from "./commands/GetSampledRequestsCommand";
40
+ import { GetWebACLCommandInput, GetWebACLCommandOutput } from "./commands/GetWebACLCommand";
41
+ import { GetWebACLForResourceCommandInput, GetWebACLForResourceCommandOutput } from "./commands/GetWebACLForResourceCommand";
42
+ import { ListAPIKeysCommandInput, ListAPIKeysCommandOutput } from "./commands/ListAPIKeysCommand";
43
+ import { ListAvailableManagedRuleGroupsCommandInput, ListAvailableManagedRuleGroupsCommandOutput } from "./commands/ListAvailableManagedRuleGroupsCommand";
44
+ import { ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManagedRuleGroupVersionsCommandOutput } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
45
+ import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
46
+ import { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
47
+ import { ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput } from "./commands/ListManagedRuleSetsCommand";
48
+ import { ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput } from "./commands/ListMobileSdkReleasesCommand";
49
+ import { ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput } from "./commands/ListRegexPatternSetsCommand";
50
+ import { ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput } from "./commands/ListResourcesForWebACLCommand";
51
+ import { ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput } from "./commands/ListRuleGroupsCommand";
52
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
53
+ import { ListWebACLsCommandInput, ListWebACLsCommandOutput } from "./commands/ListWebACLsCommand";
54
+ import { PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput } from "./commands/PutLoggingConfigurationCommand";
55
+ import { PutManagedRuleSetVersionsCommandInput, PutManagedRuleSetVersionsCommandOutput } from "./commands/PutManagedRuleSetVersionsCommand";
56
+ import { PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput } from "./commands/PutPermissionPolicyCommand";
57
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
58
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
59
+ import { UpdateIPSetCommandInput, UpdateIPSetCommandOutput } from "./commands/UpdateIPSetCommand";
60
+ import { UpdateManagedRuleSetVersionExpiryDateCommandInput, UpdateManagedRuleSetVersionExpiryDateCommandOutput } from "./commands/UpdateManagedRuleSetVersionExpiryDateCommand";
61
+ import { UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput } from "./commands/UpdateRegexPatternSetCommand";
62
+ import { UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput } from "./commands/UpdateRuleGroupCommand";
63
+ import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
64
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
65
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
66
+ export { __Client };
67
+ /**
68
+ * @public
69
+ */
70
+ export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
71
+ /**
72
+ * @public
73
+ */
74
+ export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
75
+ /**
76
+ * @public
77
+ */
78
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
79
+ /**
80
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
81
+ */
82
+ requestHandler?: __HttpHandler;
83
+ /**
84
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
85
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
86
+ * @internal
87
+ */
88
+ sha256?: __ChecksumConstructor | __HashConstructor;
89
+ /**
90
+ * The function that will be used to convert strings into HTTP endpoints.
91
+ * @internal
92
+ */
93
+ urlParser?: __UrlParser;
94
+ /**
95
+ * A function that can calculate the length of a request body.
96
+ * @internal
97
+ */
98
+ bodyLengthChecker?: __BodyLengthCalculator;
99
+ /**
100
+ * A function that converts a stream into an array of bytes.
101
+ * @internal
102
+ */
103
+ streamCollector?: __StreamCollector;
104
+ /**
105
+ * The function that will be used to convert a base64-encoded string to a byte array.
106
+ * @internal
107
+ */
108
+ base64Decoder?: __Decoder;
109
+ /**
110
+ * The function that will be used to convert binary data to a base64-encoded string.
111
+ * @internal
112
+ */
113
+ base64Encoder?: __Encoder;
114
+ /**
115
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
116
+ * @internal
117
+ */
118
+ utf8Decoder?: __Decoder;
119
+ /**
120
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
121
+ * @internal
122
+ */
123
+ utf8Encoder?: __Encoder;
124
+ /**
125
+ * The runtime environment.
126
+ * @internal
127
+ */
128
+ runtime?: string;
129
+ /**
130
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
131
+ * trait of an operation.
132
+ */
133
+ disableHostPrefix?: boolean;
134
+ /**
135
+ * Unique service identifier.
136
+ * @internal
137
+ */
138
+ serviceId?: string;
139
+ /**
140
+ * Enables IPv6/IPv4 dualstack endpoint.
141
+ */
142
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
143
+ /**
144
+ * Enables FIPS compatible endpoints.
145
+ */
146
+ useFipsEndpoint?: boolean | __Provider<boolean>;
147
+ /**
148
+ * The AWS region to which this client will send requests
149
+ */
150
+ region?: string | __Provider<string>;
151
+ /**
152
+ * Default credentials provider; Not available in browser runtime.
153
+ * @internal
154
+ */
155
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
156
+ /**
157
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
158
+ * @internal
159
+ */
160
+ defaultUserAgentProvider?: Provider<__UserAgent>;
161
+ /**
162
+ * Value for how many times a request will be made at most in case of retry.
163
+ */
164
+ maxAttempts?: number | __Provider<number>;
165
+ /**
166
+ * Specifies which retry algorithm to use.
167
+ */
168
+ retryMode?: string | __Provider<string>;
169
+ /**
170
+ * Optional logger for logging debug/info/warn/error.
171
+ */
172
+ logger?: __Logger;
173
+ /**
174
+ * Optional extensions
175
+ */
176
+ extensions?: RuntimeExtension[];
177
+ /**
178
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
179
+ */
180
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
181
+ }
182
+ /**
183
+ * @public
184
+ */
185
+ export type WAFV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
186
+ /**
187
+ * @public
188
+ *
189
+ * The configuration interface of WAFV2Client class constructor that set the region, credentials and other options.
190
+ */
191
+ export interface WAFV2ClientConfig extends WAFV2ClientConfigType {
192
+ }
193
+ /**
194
+ * @public
195
+ */
196
+ export type WAFV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
197
+ /**
198
+ * @public
199
+ *
200
+ * The resolved configuration interface of WAFV2Client class. This is resolved and normalized from the {@link WAFV2ClientConfig | constructor configuration interface}.
201
+ */
202
+ export interface WAFV2ClientResolvedConfig extends WAFV2ClientResolvedConfigType {
203
+ }
204
+ /**
205
+ * @public
206
+ * <fullname>WAF</fullname>
207
+ * <note>
208
+ * <p>This is the latest version of the <b>WAF</b> API,
209
+ * released in November, 2019. The names of the entities that you use to access this API,
210
+ * like endpoints and namespaces, all have the versioning information added, like "V2" or
211
+ * "v2", to distinguish from the prior version. We recommend migrating your resources to
212
+ * this version, because it has a number of significant improvements.</p>
213
+ * <p>If you used WAF prior to this release, you can't use this WAFV2 API to access any
214
+ * WAF resources that you created before. You can access your old rules, web ACLs, and
215
+ * other WAF resources only through the WAF Classic APIs. The WAF Classic APIs
216
+ * have retained the prior names, endpoints, and namespaces. </p>
217
+ * <p>For information, including how to migrate your WAF resources to this version,
218
+ * see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">WAF Developer Guide</a>. </p>
219
+ * </note>
220
+ * <p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS
221
+ * requests that are forwarded to an Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync
222
+ * GraphQL API, Amazon Cognito user pool, App Runner service, or Amazon Web Services Verified Access instance. WAF also lets you control access to your content,
223
+ * to protect the Amazon Web Services resource that WAF is monitoring. Based on conditions that
224
+ * you specify, such as the IP addresses that requests originate from or the values of query
225
+ * strings, the protected resource responds to requests with either the requested content, an HTTP 403 status code
226
+ * (Forbidden), or with a custom response. </p>
227
+ * <p>This API guide is for developers who need detailed information about WAF API actions,
228
+ * data types, and errors. For detailed information about WAF features and guidance for configuring and using
229
+ * WAF, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html">WAF Developer
230
+ * Guide</a>.</p>
231
+ * <p>You can make calls using the endpoints listed in <a href="https://docs.aws.amazon.com/general/latest/gr/waf.html">WAF endpoints and quotas</a>. </p>
232
+ * <ul>
233
+ * <li>
234
+ * <p>For regional applications, you can use any of the endpoints in the list.
235
+ * A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
236
+ * </li>
237
+ * <li>
238
+ * <p>For Amazon CloudFront applications, you must use the API endpoint listed for
239
+ * US East (N. Virginia): us-east-1.</p>
240
+ * </li>
241
+ * </ul>
242
+ * <p>Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to the
243
+ * programming language or platform that you're using. For more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
244
+ * <p>We currently provide two versions of the WAF API: this API and the prior versions,
245
+ * the classic WAF APIs. This new API provides the same functionality as the older versions,
246
+ * with the following major improvements:</p>
247
+ * <ul>
248
+ * <li>
249
+ * <p>You use one API for both global and regional applications. Where you need to
250
+ * distinguish the scope, you specify a <code>Scope</code> parameter and set it to
251
+ * <code>CLOUDFRONT</code> or <code>REGIONAL</code>. </p>
252
+ * </li>
253
+ * <li>
254
+ * <p>You can define a web ACL or rule group with a single call, and update it with a
255
+ * single call. You define all rule specifications in JSON format, and pass them to your
256
+ * rule group or web ACL calls.</p>
257
+ * </li>
258
+ * <li>
259
+ * <p>The limits WAF places on the use of rules more closely reflects the cost of
260
+ * running each type of rule. Rule groups include capacity settings, so you know the
261
+ * maximum cost of a rule group when you use it.</p>
262
+ * </li>
263
+ * </ul>
264
+ */
265
+ export declare class WAFV2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig> {
266
+ /**
267
+ * The resolved configuration of WAFV2Client class. This is resolved and normalized from the {@link WAFV2ClientConfig | constructor configuration interface}.
268
+ */
269
+ readonly config: WAFV2ClientResolvedConfig;
270
+ constructor(...[configuration]: __CheckOptionalClientConfig<WAFV2ClientConfig>);
271
+ /**
272
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
273
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
274
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
275
+ */
276
+ destroy(): void;
277
+ }