@aws-sdk/client-wafv2 3.421.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.
- package/dist-types/models/models_0.d.ts +26 -6
- package/dist-types/ts3.4/WAFV2.d.ts +438 -918
- package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
- package/dist-types/ts3.4/commands/index.d.ts +53 -53
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
- package/dist-types/ts3.4/index.d.ts +68 -6
- package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
- package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
- package/package.json +1 -1
|
@@ -1,436 +1,277 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "@aws-sdk/
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "@
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "
|
|
33
|
-
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "
|
|
48
|
-
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./commands/
|
|
52
|
-
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./commands/
|
|
56
|
-
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./commands/
|
|
60
|
-
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./commands/
|
|
64
|
-
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
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
|
+
}
|