@aws-sdk/client-waf 3.315.0 → 3.319.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-cjs/WAF.js +81 -1078
- package/dist-es/WAF.js +81 -1078
- package/dist-types/WAF.d.ts +95 -1901
- package/dist-types/ts3.4/WAF.d.ts +2 -1
- package/package.json +8 -8
package/dist-types/WAF.d.ts
CHANGED
|
@@ -77,2289 +77,483 @@ import { UpdateSqlInjectionMatchSetCommandInput, UpdateSqlInjectionMatchSetComma
|
|
|
77
77
|
import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
|
|
78
78
|
import { UpdateXssMatchSetCommandInput, UpdateXssMatchSetCommandOutput } from "./commands/UpdateXssMatchSetCommand";
|
|
79
79
|
import { WAFClient } from "./WAFClient";
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
84
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
85
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
86
|
-
* <p>
|
|
87
|
-
* <b>For the latest version of AWS
|
|
88
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
89
|
-
* </note>
|
|
90
|
-
* <p>This is the <i>AWS WAF Classic API Reference</i> for using AWS WAF Classic with Amazon CloudFront. The AWS WAF Classic actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF Classic API actions,
|
|
91
|
-
* data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the
|
|
92
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p>
|
|
93
|
-
*/
|
|
94
|
-
export declare class WAF extends WAFClient {
|
|
95
|
-
/**
|
|
96
|
-
* @public
|
|
97
|
-
* <note>
|
|
98
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
99
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
100
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
101
|
-
* <p>
|
|
102
|
-
* <b>For the latest version of AWS
|
|
103
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
104
|
-
* </note>
|
|
105
|
-
* <p>Creates a <code>ByteMatchSet</code>. You then use <a>UpdateByteMatchSet</a> to identify the part of a
|
|
106
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
107
|
-
* For example, you can create a <code>ByteMatchSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
108
|
-
* that contain the string <code>BadBot</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
109
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
110
|
-
* <ol>
|
|
111
|
-
* <li>
|
|
112
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
113
|
-
* <code>CreateByteMatchSet</code> request.</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>Submit a <code>CreateByteMatchSet</code> request.</p>
|
|
117
|
-
* </li>
|
|
118
|
-
* <li>
|
|
119
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
120
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
121
|
-
* </li>
|
|
122
|
-
* <li>
|
|
123
|
-
* <p>Submit an <a>UpdateByteMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
124
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
125
|
-
* </li>
|
|
126
|
-
* </ol>
|
|
127
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
128
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
80
|
+
export interface WAF {
|
|
81
|
+
/**
|
|
82
|
+
* @see {@link CreateByteMatchSetCommand}
|
|
129
83
|
*/
|
|
130
84
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateByteMatchSetCommandOutput>;
|
|
131
85
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void): void;
|
|
132
86
|
createByteMatchSet(args: CreateByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateByteMatchSetCommandOutput) => void): void;
|
|
133
87
|
/**
|
|
134
|
-
* @
|
|
135
|
-
* <note>
|
|
136
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
137
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
138
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
139
|
-
* <p>
|
|
140
|
-
* <b>For the latest version of AWS
|
|
141
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
142
|
-
* </note>
|
|
143
|
-
* <p>Creates an <a>GeoMatchSet</a>, which you use to specify which web requests you want to allow or block based on the country
|
|
144
|
-
* that the requests originate from. For example, if you're receiving a lot of requests from one or more countries and you want to block the requests, you can create an <code>GeoMatchSet</code> that contains those countries and then configure AWS WAF to block the requests. </p>
|
|
145
|
-
* <p>To create and configure a <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
146
|
-
* <ol>
|
|
147
|
-
* <li>
|
|
148
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
149
|
-
* <code>CreateGeoMatchSet</code> request.</p>
|
|
150
|
-
* </li>
|
|
151
|
-
* <li>
|
|
152
|
-
* <p>Submit a <code>CreateGeoMatchSet</code> request.</p>
|
|
153
|
-
* </li>
|
|
154
|
-
* <li>
|
|
155
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
156
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
157
|
-
* </li>
|
|
158
|
-
* <li>
|
|
159
|
-
* <p>Submit an <code>UpdateGeoMatchSetSet</code> request to specify the countries that you want AWS WAF to watch for.</p>
|
|
160
|
-
* </li>
|
|
161
|
-
* </ol>
|
|
162
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
163
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
88
|
+
* @see {@link CreateGeoMatchSetCommand}
|
|
164
89
|
*/
|
|
165
90
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateGeoMatchSetCommandOutput>;
|
|
166
91
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void): void;
|
|
167
92
|
createGeoMatchSet(args: CreateGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGeoMatchSetCommandOutput) => void): void;
|
|
168
93
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <note>
|
|
171
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
172
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
173
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
174
|
-
* <p>
|
|
175
|
-
* <b>For the latest version of AWS
|
|
176
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
177
|
-
* </note>
|
|
178
|
-
* <p>Creates an <a>IPSet</a>, which you use to specify which web requests
|
|
179
|
-
* that
|
|
180
|
-
* you want to allow or block based on the IP addresses that the requests
|
|
181
|
-
* originate from. For example, if you're receiving a lot of requests from one or more
|
|
182
|
-
* individual IP addresses or one or more ranges of IP addresses and you want to block the
|
|
183
|
-
* requests, you can create an <code>IPSet</code> that contains those IP addresses and then
|
|
184
|
-
* configure AWS WAF to block the requests. </p>
|
|
185
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
186
|
-
* <ol>
|
|
187
|
-
* <li>
|
|
188
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
189
|
-
* <code>CreateIPSet</code> request.</p>
|
|
190
|
-
* </li>
|
|
191
|
-
* <li>
|
|
192
|
-
* <p>Submit a <code>CreateIPSet</code> request.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* <li>
|
|
195
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
196
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
197
|
-
* </li>
|
|
198
|
-
* <li>
|
|
199
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you want AWS WAF to watch for.</p>
|
|
200
|
-
* </li>
|
|
201
|
-
* </ol>
|
|
202
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
203
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
94
|
+
* @see {@link CreateIPSetCommand}
|
|
204
95
|
*/
|
|
205
96
|
createIPSet(args: CreateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateIPSetCommandOutput>;
|
|
206
97
|
createIPSet(args: CreateIPSetCommandInput, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
207
98
|
createIPSet(args: CreateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIPSetCommandOutput) => void): void;
|
|
208
99
|
/**
|
|
209
|
-
* @
|
|
210
|
-
* <note>
|
|
211
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
212
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
213
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
214
|
-
* <p>
|
|
215
|
-
* <b>For the latest version of AWS
|
|
216
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
217
|
-
* </note>
|
|
218
|
-
* <p>Creates a <a>RateBasedRule</a>. The <code>RateBasedRule</code> contains a
|
|
219
|
-
* <code>RateLimit</code>, which specifies the maximum number of requests that AWS WAF allows
|
|
220
|
-
* from a specified IP address in a five-minute period.
|
|
221
|
-
* The <code>RateBasedRule</code> also
|
|
222
|
-
* contains the <code>IPSet</code> objects, <code>ByteMatchSet</code> objects, and other
|
|
223
|
-
* predicates that identify the requests that you want to count or block if these requests
|
|
224
|
-
* exceed the <code>RateLimit</code>.</p>
|
|
225
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request not
|
|
226
|
-
* only must exceed the <code>RateLimit</code>, but it also must match all the
|
|
227
|
-
* conditions to be counted or blocked. For example, suppose you add the following to a
|
|
228
|
-
* <code>RateBasedRule</code>:</p>
|
|
229
|
-
* <ul>
|
|
230
|
-
* <li>
|
|
231
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
232
|
-
* </p>
|
|
233
|
-
* </li>
|
|
234
|
-
* <li>
|
|
235
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
236
|
-
* <code>User-Agent</code> header</p>
|
|
237
|
-
* </li>
|
|
238
|
-
* </ul>
|
|
239
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
240
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
241
|
-
* you want to block requests that meet the conditions in the rule. For a request to be
|
|
242
|
-
* blocked, it must come from the IP address 192.0.2.44 <i>and</i> the
|
|
243
|
-
* <code>User-Agent</code> header in the request must contain the value
|
|
244
|
-
* <code>BadBot</code>. Further, requests that match these two conditions must be received at
|
|
245
|
-
* a rate of more than 1,000 requests every five minutes. If both conditions are met and the
|
|
246
|
-
* rate is exceeded, AWS WAF blocks the requests. If the rate drops below 1,000 for a
|
|
247
|
-
* five-minute period, AWS WAF no longer blocks the requests.</p>
|
|
248
|
-
*
|
|
249
|
-
* <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
|
|
250
|
-
* <code>RateBasedRule</code>:</p>
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
* <ul>
|
|
254
|
-
* <li>
|
|
255
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
256
|
-
* </p>
|
|
257
|
-
* </li>
|
|
258
|
-
* <li>
|
|
259
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
260
|
-
* </p>
|
|
261
|
-
* </li>
|
|
262
|
-
* <li>
|
|
263
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
264
|
-
* </p>
|
|
265
|
-
* </li>
|
|
266
|
-
* </ul>
|
|
267
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
268
|
-
* <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* <p>To create and configure a <code>RateBasedRule</code>, perform the following
|
|
272
|
-
* steps:</p>
|
|
273
|
-
* <ol>
|
|
274
|
-
* <li>
|
|
275
|
-
* <p>Create and update the predicates that you want to include in the rule. For more
|
|
276
|
-
* information, see <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>,
|
|
277
|
-
* and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
278
|
-
* </li>
|
|
279
|
-
* <li>
|
|
280
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
281
|
-
* in the <code>ChangeToken</code> parameter of a <code>CreateRule</code>
|
|
282
|
-
* request.</p>
|
|
283
|
-
* </li>
|
|
284
|
-
* <li>
|
|
285
|
-
* <p>Submit a <code>CreateRateBasedRule</code> request.</p>
|
|
286
|
-
* </li>
|
|
287
|
-
* <li>
|
|
288
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the
|
|
289
|
-
* <code>ChangeToken</code> parameter of an <a>UpdateRule</a>
|
|
290
|
-
* request.</p>
|
|
291
|
-
* </li>
|
|
292
|
-
* <li>
|
|
293
|
-
* <p>Submit an <code>UpdateRateBasedRule</code> request to specify the predicates
|
|
294
|
-
* that you want to include in the rule.</p>
|
|
295
|
-
* </li>
|
|
296
|
-
* <li>
|
|
297
|
-
* <p>Create and update a <code>WebACL</code> that contains the
|
|
298
|
-
* <code>RateBasedRule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
299
|
-
* </li>
|
|
300
|
-
* </ol>
|
|
301
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests,
|
|
302
|
-
* see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer
|
|
303
|
-
* Guide</a>.</p>
|
|
100
|
+
* @see {@link CreateRateBasedRuleCommand}
|
|
304
101
|
*/
|
|
305
102
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRateBasedRuleCommandOutput>;
|
|
306
103
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void): void;
|
|
307
104
|
createRateBasedRule(args: CreateRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRateBasedRuleCommandOutput) => void): void;
|
|
308
105
|
/**
|
|
309
|
-
* @
|
|
310
|
-
* <note>
|
|
311
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
312
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
313
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
314
|
-
* <p>
|
|
315
|
-
* <b>For the latest version of AWS
|
|
316
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
317
|
-
* </note>
|
|
318
|
-
* <p>Creates a <a>RegexMatchSet</a>. You then use <a>UpdateRegexMatchSet</a> to identify the part of a
|
|
319
|
-
* web request that you want AWS WAF to inspect, such as the values of the <code>User-Agent</code> header or the query string.
|
|
320
|
-
* For example, you can create a <code>RegexMatchSet</code> that contains a <code>RegexMatchTuple</code> that looks for any requests with <code>User-Agent</code> headers
|
|
321
|
-
* that match a <code>RegexPatternSet</code> with pattern <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
322
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
323
|
-
* <ol>
|
|
324
|
-
* <li>
|
|
325
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
326
|
-
* <code>CreateRegexMatchSet</code> request.</p>
|
|
327
|
-
* </li>
|
|
328
|
-
* <li>
|
|
329
|
-
* <p>Submit a <code>CreateRegexMatchSet</code> request.</p>
|
|
330
|
-
* </li>
|
|
331
|
-
* <li>
|
|
332
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
333
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
334
|
-
* </li>
|
|
335
|
-
* <li>
|
|
336
|
-
* <p>Submit an <a>UpdateRegexMatchSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
337
|
-
* (for example, the header or the URI) and the value, using a <code>RegexPatternSet</code>, that you want AWS WAF to watch for.</p>
|
|
338
|
-
* </li>
|
|
339
|
-
* </ol>
|
|
340
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
341
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
106
|
+
* @see {@link CreateRegexMatchSetCommand}
|
|
342
107
|
*/
|
|
343
108
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegexMatchSetCommandOutput>;
|
|
344
109
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void): void;
|
|
345
110
|
createRegexMatchSet(args: CreateRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexMatchSetCommandOutput) => void): void;
|
|
346
111
|
/**
|
|
347
|
-
* @
|
|
348
|
-
* <note>
|
|
349
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
350
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
351
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
352
|
-
* <p>
|
|
353
|
-
* <b>For the latest version of AWS
|
|
354
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
355
|
-
* </note>
|
|
356
|
-
* <p>Creates a <code>RegexPatternSet</code>. You then use <a>UpdateRegexPatternSet</a> to specify the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
357
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
358
|
-
* <ol>
|
|
359
|
-
* <li>
|
|
360
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
361
|
-
* <code>CreateRegexPatternSet</code> request.</p>
|
|
362
|
-
* </li>
|
|
363
|
-
* <li>
|
|
364
|
-
* <p>Submit a <code>CreateRegexPatternSet</code> request.</p>
|
|
365
|
-
* </li>
|
|
366
|
-
* <li>
|
|
367
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
368
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
369
|
-
* </li>
|
|
370
|
-
* <li>
|
|
371
|
-
* <p>Submit an <a>UpdateRegexPatternSet</a> request to specify the string that you want AWS WAF to watch for.</p>
|
|
372
|
-
* </li>
|
|
373
|
-
* </ol>
|
|
374
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
375
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
112
|
+
* @see {@link CreateRegexPatternSetCommand}
|
|
376
113
|
*/
|
|
377
114
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateRegexPatternSetCommandOutput>;
|
|
378
115
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
379
116
|
createRegexPatternSet(args: CreateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRegexPatternSetCommandOutput) => void): void;
|
|
380
117
|
/**
|
|
381
|
-
* @
|
|
382
|
-
* <note>
|
|
383
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
384
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
385
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
386
|
-
* <p>
|
|
387
|
-
* <b>For the latest version of AWS
|
|
388
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
389
|
-
* </note>
|
|
390
|
-
* <p>Creates a <code>Rule</code>, which contains the <code>IPSet</code> objects,
|
|
391
|
-
* <code>ByteMatchSet</code> objects, and other predicates that identify the requests that
|
|
392
|
-
* you want to block. If you add more than one predicate to a <code>Rule</code>, a request
|
|
393
|
-
* must match all of the specifications to be allowed or blocked. For example, suppose
|
|
394
|
-
* that
|
|
395
|
-
* you add the following to a <code>Rule</code>:</p>
|
|
396
|
-
* <ul>
|
|
397
|
-
* <li>
|
|
398
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
399
|
-
* </p>
|
|
400
|
-
* </li>
|
|
401
|
-
* <li>
|
|
402
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
403
|
-
* </li>
|
|
404
|
-
* </ul>
|
|
405
|
-
* <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to blocks requests that satisfy the <code>Rule</code>.
|
|
406
|
-
* For a request to be blocked, it must come from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header in the request
|
|
407
|
-
* must contain the value <code>BadBot</code>.</p>
|
|
408
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
409
|
-
* <ol>
|
|
410
|
-
* <li>
|
|
411
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>. For more information, see
|
|
412
|
-
* <a>CreateByteMatchSet</a>, <a>CreateIPSet</a>, and <a>CreateSqlInjectionMatchSet</a>.</p>
|
|
413
|
-
* </li>
|
|
414
|
-
* <li>
|
|
415
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
416
|
-
* <code>CreateRule</code> request.</p>
|
|
417
|
-
* </li>
|
|
418
|
-
* <li>
|
|
419
|
-
* <p>Submit a <code>CreateRule</code> request.</p>
|
|
420
|
-
* </li>
|
|
421
|
-
* <li>
|
|
422
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
423
|
-
* <a>UpdateRule</a> request.</p>
|
|
424
|
-
* </li>
|
|
425
|
-
* <li>
|
|
426
|
-
* <p>Submit an <code>UpdateRule</code> request to specify the predicates that you want to include in the <code>Rule</code>.</p>
|
|
427
|
-
* </li>
|
|
428
|
-
* <li>
|
|
429
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. For more information, see <a>CreateWebACL</a>.</p>
|
|
430
|
-
* </li>
|
|
431
|
-
* </ol>
|
|
432
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
433
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
118
|
+
* @see {@link CreateRuleCommand}
|
|
434
119
|
*/
|
|
435
120
|
createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
|
|
436
121
|
createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
437
122
|
createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
438
123
|
/**
|
|
439
|
-
* @
|
|
440
|
-
* <note>
|
|
441
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
442
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
443
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
444
|
-
* <p>
|
|
445
|
-
* <b>For the latest version of AWS
|
|
446
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
447
|
-
* </note>
|
|
448
|
-
* <p>Creates a <code>RuleGroup</code>. A rule group is a collection of predefined rules that you add to a web ACL. You use <a>UpdateRuleGroup</a> to add rules to the rule group.</p>
|
|
449
|
-
* <p>Rule groups are subject to the following limits:</p>
|
|
450
|
-
* <ul>
|
|
451
|
-
* <li>
|
|
452
|
-
* <p>Three rule groups per account. You can request an increase to this limit by contacting customer support.</p>
|
|
453
|
-
* </li>
|
|
454
|
-
* <li>
|
|
455
|
-
* <p>One rule group per web ACL.</p>
|
|
456
|
-
* </li>
|
|
457
|
-
* <li>
|
|
458
|
-
* <p>Ten rules per rule group.</p>
|
|
459
|
-
* </li>
|
|
460
|
-
* </ul>
|
|
461
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
462
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
124
|
+
* @see {@link CreateRuleGroupCommand}
|
|
463
125
|
*/
|
|
464
126
|
createRuleGroup(args: CreateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupCommandOutput>;
|
|
465
127
|
createRuleGroup(args: CreateRuleGroupCommandInput, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
466
128
|
createRuleGroup(args: CreateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupCommandOutput) => void): void;
|
|
467
129
|
/**
|
|
468
|
-
* @
|
|
469
|
-
* <note>
|
|
470
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
471
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
472
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
473
|
-
* <p>
|
|
474
|
-
* <b>For the latest version of AWS
|
|
475
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
476
|
-
* </note>
|
|
477
|
-
* <p>Creates a <code>SizeConstraintSet</code>. You then use <a>UpdateSizeConstraintSet</a> to identify the part of a
|
|
478
|
-
* web request that you want AWS WAF to check for length, such as the length of the <code>User-Agent</code> header or the length of the query string.
|
|
479
|
-
* For example, you can create a <code>SizeConstraintSet</code> that matches any requests that have a query string that is longer than 100 bytes.
|
|
480
|
-
* You can then configure AWS WAF to reject those requests.</p>
|
|
481
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
482
|
-
* <ol>
|
|
483
|
-
* <li>
|
|
484
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
485
|
-
* <code>CreateSizeConstraintSet</code> request.</p>
|
|
486
|
-
* </li>
|
|
487
|
-
* <li>
|
|
488
|
-
* <p>Submit a <code>CreateSizeConstraintSet</code> request.</p>
|
|
489
|
-
* </li>
|
|
490
|
-
* <li>
|
|
491
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
492
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
493
|
-
* </li>
|
|
494
|
-
* <li>
|
|
495
|
-
* <p>Submit an <a>UpdateSizeConstraintSet</a> request to specify the part of the request that you want AWS WAF to inspect
|
|
496
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
497
|
-
* </li>
|
|
498
|
-
* </ol>
|
|
499
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
500
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
130
|
+
* @see {@link CreateSizeConstraintSetCommand}
|
|
501
131
|
*/
|
|
502
132
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSizeConstraintSetCommandOutput>;
|
|
503
133
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void): void;
|
|
504
134
|
createSizeConstraintSet(args: CreateSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSizeConstraintSetCommandOutput) => void): void;
|
|
505
135
|
/**
|
|
506
|
-
* @
|
|
507
|
-
* <note>
|
|
508
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
509
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
510
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
511
|
-
* <p>
|
|
512
|
-
* <b>For the latest version of AWS
|
|
513
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
514
|
-
* </note>
|
|
515
|
-
* <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
|
|
516
|
-
* specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
517
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
518
|
-
* <ol>
|
|
519
|
-
* <li>
|
|
520
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
521
|
-
* <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
522
|
-
* </li>
|
|
523
|
-
* <li>
|
|
524
|
-
* <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
525
|
-
* </li>
|
|
526
|
-
* <li>
|
|
527
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
528
|
-
* <a>UpdateSqlInjectionMatchSet</a> request.</p>
|
|
529
|
-
* </li>
|
|
530
|
-
* <li>
|
|
531
|
-
* <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
|
|
532
|
-
* allow, block, or count malicious SQL code.</p>
|
|
533
|
-
* </li>
|
|
534
|
-
* </ol>
|
|
535
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
536
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
136
|
+
* @see {@link CreateSqlInjectionMatchSetCommand}
|
|
537
137
|
*/
|
|
538
138
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateSqlInjectionMatchSetCommandOutput>;
|
|
539
139
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
540
140
|
createSqlInjectionMatchSet(args: CreateSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
541
141
|
/**
|
|
542
|
-
* @
|
|
543
|
-
* <note>
|
|
544
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
545
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
546
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
547
|
-
* <p>
|
|
548
|
-
* <b>For the latest version of AWS
|
|
549
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
550
|
-
* </note>
|
|
551
|
-
* <p>Creates a <code>WebACL</code>, which contains the <code>Rules</code> that identify the CloudFront web requests that you want to allow, block, or count.
|
|
552
|
-
* AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
|
|
553
|
-
* <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
|
|
554
|
-
* any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
|
|
555
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
556
|
-
* <ol>
|
|
557
|
-
* <li>
|
|
558
|
-
* <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
|
|
559
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
560
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
561
|
-
* </li>
|
|
562
|
-
* <li>
|
|
563
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
564
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
565
|
-
* </li>
|
|
566
|
-
* <li>
|
|
567
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
568
|
-
* <code>CreateWebACL</code> request.</p>
|
|
569
|
-
* </li>
|
|
570
|
-
* <li>
|
|
571
|
-
* <p>Submit a <code>CreateWebACL</code> request.</p>
|
|
572
|
-
* </li>
|
|
573
|
-
* <li>
|
|
574
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
575
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
576
|
-
* </li>
|
|
577
|
-
* <li>
|
|
578
|
-
* <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
|
|
579
|
-
* to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
|
|
580
|
-
* </li>
|
|
581
|
-
* </ol>
|
|
582
|
-
* <p>For more information about how to use the AWS WAF API, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
142
|
+
* @see {@link CreateWebACLCommand}
|
|
583
143
|
*/
|
|
584
144
|
createWebACL(args: CreateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLCommandOutput>;
|
|
585
145
|
createWebACL(args: CreateWebACLCommandInput, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
586
146
|
createWebACL(args: CreateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLCommandOutput) => void): void;
|
|
587
147
|
/**
|
|
588
|
-
* @
|
|
589
|
-
* <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
|
|
590
|
-
* Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
|
|
591
|
-
* Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
|
|
592
|
-
* <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
|
|
593
|
-
* For the full procedure, including caveats and manual steps to complete
|
|
594
|
-
* the migration and switch over to the new web ACL, see
|
|
595
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html">Migrating your AWS WAF Classic resources to AWS WAF</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF
|
|
596
|
-
* Developer Guide</a>. </p>
|
|
148
|
+
* @see {@link CreateWebACLMigrationStackCommand}
|
|
597
149
|
*/
|
|
598
150
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, options?: __HttpHandlerOptions): Promise<CreateWebACLMigrationStackCommandOutput>;
|
|
599
151
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void): void;
|
|
600
152
|
createWebACLMigrationStack(args: CreateWebACLMigrationStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWebACLMigrationStackCommandOutput) => void): void;
|
|
601
153
|
/**
|
|
602
|
-
* @
|
|
603
|
-
* <note>
|
|
604
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
605
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
606
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
607
|
-
* <p>
|
|
608
|
-
* <b>For the latest version of AWS
|
|
609
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
610
|
-
* </note>
|
|
611
|
-
* <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
|
|
612
|
-
* in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
|
|
613
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
614
|
-
* <ol>
|
|
615
|
-
* <li>
|
|
616
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
617
|
-
* <code>CreateXssMatchSet</code> request.</p>
|
|
618
|
-
* </li>
|
|
619
|
-
* <li>
|
|
620
|
-
* <p>Submit a <code>CreateXssMatchSet</code> request.</p>
|
|
621
|
-
* </li>
|
|
622
|
-
* <li>
|
|
623
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
624
|
-
* <a>UpdateXssMatchSet</a> request.</p>
|
|
625
|
-
* </li>
|
|
626
|
-
* <li>
|
|
627
|
-
* <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
|
|
628
|
-
* allow, block, or count cross-site scripting attacks.</p>
|
|
629
|
-
* </li>
|
|
630
|
-
* </ol>
|
|
631
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
632
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
154
|
+
* @see {@link CreateXssMatchSetCommand}
|
|
633
155
|
*/
|
|
634
156
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<CreateXssMatchSetCommandOutput>;
|
|
635
157
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void): void;
|
|
636
158
|
createXssMatchSet(args: CreateXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateXssMatchSetCommandOutput) => void): void;
|
|
637
159
|
/**
|
|
638
|
-
* @
|
|
639
|
-
* <note>
|
|
640
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
641
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
642
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
643
|
-
* <p>
|
|
644
|
-
* <b>For the latest version of AWS
|
|
645
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
646
|
-
* </note>
|
|
647
|
-
* <p>Permanently deletes a <a>ByteMatchSet</a>. You can't delete a <code>ByteMatchSet</code> if it's still used in any <code>Rules</code>
|
|
648
|
-
* or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
|
|
649
|
-
* <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
650
|
-
* <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
651
|
-
* <ol>
|
|
652
|
-
* <li>
|
|
653
|
-
* <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
|
|
654
|
-
* </li>
|
|
655
|
-
* <li>
|
|
656
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
657
|
-
* <code>DeleteByteMatchSet</code> request.</p>
|
|
658
|
-
* </li>
|
|
659
|
-
* <li>
|
|
660
|
-
* <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
|
|
661
|
-
* </li>
|
|
662
|
-
* </ol>
|
|
160
|
+
* @see {@link DeleteByteMatchSetCommand}
|
|
663
161
|
*/
|
|
664
162
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteByteMatchSetCommandOutput>;
|
|
665
163
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void): void;
|
|
666
164
|
deleteByteMatchSet(args: DeleteByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteByteMatchSetCommandOutput) => void): void;
|
|
667
165
|
/**
|
|
668
|
-
* @
|
|
669
|
-
* <note>
|
|
670
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
671
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
672
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
673
|
-
* <p>
|
|
674
|
-
* <b>For the latest version of AWS
|
|
675
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
676
|
-
* </note>
|
|
677
|
-
* <p>Permanently deletes a <a>GeoMatchSet</a>. You can't delete a <code>GeoMatchSet</code> if it's still used in any <code>Rules</code> or
|
|
678
|
-
* if it still includes any countries.</p>
|
|
679
|
-
* <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
680
|
-
* <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
681
|
-
* <ol>
|
|
682
|
-
* <li>
|
|
683
|
-
* <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p>
|
|
684
|
-
* </li>
|
|
685
|
-
* <li>
|
|
686
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
687
|
-
* <code>DeleteGeoMatchSet</code> request.</p>
|
|
688
|
-
* </li>
|
|
689
|
-
* <li>
|
|
690
|
-
* <p>Submit a <code>DeleteGeoMatchSet</code> request.</p>
|
|
691
|
-
* </li>
|
|
692
|
-
* </ol>
|
|
166
|
+
* @see {@link DeleteGeoMatchSetCommand}
|
|
693
167
|
*/
|
|
694
168
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGeoMatchSetCommandOutput>;
|
|
695
169
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void): void;
|
|
696
170
|
deleteGeoMatchSet(args: DeleteGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGeoMatchSetCommandOutput) => void): void;
|
|
697
171
|
/**
|
|
698
|
-
* @
|
|
699
|
-
* <note>
|
|
700
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
701
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
702
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
703
|
-
* <p>
|
|
704
|
-
* <b>For the latest version of AWS
|
|
705
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
706
|
-
* </note>
|
|
707
|
-
* <p>Permanently deletes an <a>IPSet</a>. You can't delete an <code>IPSet</code> if it's still used in any <code>Rules</code> or
|
|
708
|
-
* if it still includes any IP addresses.</p>
|
|
709
|
-
* <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
710
|
-
* <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p>
|
|
711
|
-
* <ol>
|
|
712
|
-
* <li>
|
|
713
|
-
* <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p>
|
|
714
|
-
* </li>
|
|
715
|
-
* <li>
|
|
716
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
717
|
-
* <code>DeleteIPSet</code> request.</p>
|
|
718
|
-
* </li>
|
|
719
|
-
* <li>
|
|
720
|
-
* <p>Submit a <code>DeleteIPSet</code> request.</p>
|
|
721
|
-
* </li>
|
|
722
|
-
* </ol>
|
|
172
|
+
* @see {@link DeleteIPSetCommand}
|
|
723
173
|
*/
|
|
724
174
|
deleteIPSet(args: DeleteIPSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIPSetCommandOutput>;
|
|
725
175
|
deleteIPSet(args: DeleteIPSetCommandInput, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
726
176
|
deleteIPSet(args: DeleteIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIPSetCommandOutput) => void): void;
|
|
727
177
|
/**
|
|
728
|
-
* @
|
|
729
|
-
* <note>
|
|
730
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
731
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
732
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
733
|
-
* <p>
|
|
734
|
-
* <b>For the latest version of AWS
|
|
735
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
736
|
-
* </note>
|
|
737
|
-
* <p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web
|
|
738
|
-
* ACL.</p>
|
|
178
|
+
* @see {@link DeleteLoggingConfigurationCommand}
|
|
739
179
|
*/
|
|
740
180
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
741
181
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
742
182
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
743
183
|
/**
|
|
744
|
-
* @
|
|
745
|
-
* <note>
|
|
746
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
747
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
748
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
749
|
-
* <p>
|
|
750
|
-
* <b>For the latest version of AWS
|
|
751
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
752
|
-
* </note>
|
|
753
|
-
* <p>Permanently deletes an IAM policy from the specified RuleGroup.</p>
|
|
754
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
184
|
+
* @see {@link DeletePermissionPolicyCommand}
|
|
755
185
|
*/
|
|
756
186
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePermissionPolicyCommandOutput>;
|
|
757
187
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
758
188
|
deletePermissionPolicy(args: DeletePermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePermissionPolicyCommandOutput) => void): void;
|
|
759
189
|
/**
|
|
760
|
-
* @
|
|
761
|
-
* <note>
|
|
762
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
763
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
764
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
765
|
-
* <p>
|
|
766
|
-
* <b>For the latest version of AWS
|
|
767
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
768
|
-
* </note>
|
|
769
|
-
* <p>Permanently deletes a <a>RateBasedRule</a>. You can't delete a rule if
|
|
770
|
-
* it's still used in any <code>WebACL</code> objects or if it still includes any predicates,
|
|
771
|
-
* such as <code>ByteMatchSet</code> objects.</p>
|
|
772
|
-
* <p>If you just want to remove a rule from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
773
|
-
* <p>To permanently delete a <code>RateBasedRule</code> from AWS WAF, perform the following
|
|
774
|
-
* steps:</p>
|
|
775
|
-
* <ol>
|
|
776
|
-
* <li>
|
|
777
|
-
* <p>Update the <code>RateBasedRule</code> to remove predicates, if any. For more
|
|
778
|
-
* information, see <a>UpdateRateBasedRule</a>.</p>
|
|
779
|
-
* </li>
|
|
780
|
-
* <li>
|
|
781
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
782
|
-
* in the <code>ChangeToken</code> parameter of a <code>DeleteRateBasedRule</code>
|
|
783
|
-
* request.</p>
|
|
784
|
-
* </li>
|
|
785
|
-
* <li>
|
|
786
|
-
* <p>Submit a <code>DeleteRateBasedRule</code> request.</p>
|
|
787
|
-
* </li>
|
|
788
|
-
* </ol>
|
|
190
|
+
* @see {@link DeleteRateBasedRuleCommand}
|
|
789
191
|
*/
|
|
790
192
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRateBasedRuleCommandOutput>;
|
|
791
193
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void): void;
|
|
792
194
|
deleteRateBasedRule(args: DeleteRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRateBasedRuleCommandOutput) => void): void;
|
|
793
195
|
/**
|
|
794
|
-
* @
|
|
795
|
-
* <note>
|
|
796
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
797
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
798
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
799
|
-
* <p>
|
|
800
|
-
* <b>For the latest version of AWS
|
|
801
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
802
|
-
* </note>
|
|
803
|
-
* <p>Permanently deletes a <a>RegexMatchSet</a>. You can't delete a <code>RegexMatchSet</code> if it's still used in any <code>Rules</code>
|
|
804
|
-
* or if it still includes any <code>RegexMatchTuples</code> objects (any filters).</p>
|
|
805
|
-
* <p>If you just want to remove a <code>RegexMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
806
|
-
* <p>To permanently delete a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
807
|
-
* <ol>
|
|
808
|
-
* <li>
|
|
809
|
-
* <p>Update the <code>RegexMatchSet</code> to remove filters, if any. For more information, see <a>UpdateRegexMatchSet</a>.</p>
|
|
810
|
-
* </li>
|
|
811
|
-
* <li>
|
|
812
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
813
|
-
* <code>DeleteRegexMatchSet</code> request.</p>
|
|
814
|
-
* </li>
|
|
815
|
-
* <li>
|
|
816
|
-
* <p>Submit a <code>DeleteRegexMatchSet</code> request.</p>
|
|
817
|
-
* </li>
|
|
818
|
-
* </ol>
|
|
196
|
+
* @see {@link DeleteRegexMatchSetCommand}
|
|
819
197
|
*/
|
|
820
198
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexMatchSetCommandOutput>;
|
|
821
199
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void): void;
|
|
822
200
|
deleteRegexMatchSet(args: DeleteRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexMatchSetCommandOutput) => void): void;
|
|
823
201
|
/**
|
|
824
|
-
* @
|
|
825
|
-
* <note>
|
|
826
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
827
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
828
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
829
|
-
* <p>
|
|
830
|
-
* <b>For the latest version of AWS
|
|
831
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
832
|
-
* </note>
|
|
833
|
-
* <p>Permanently deletes a <a>RegexPatternSet</a>. You can't delete a <code>RegexPatternSet</code> if it's still used in any <code>RegexMatchSet</code>
|
|
834
|
-
* or if the <code>RegexPatternSet</code> is not empty. </p>
|
|
202
|
+
* @see {@link DeleteRegexPatternSetCommand}
|
|
835
203
|
*/
|
|
836
204
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegexPatternSetCommandOutput>;
|
|
837
205
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
838
206
|
deleteRegexPatternSet(args: DeleteRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegexPatternSetCommandOutput) => void): void;
|
|
839
207
|
/**
|
|
840
|
-
* @
|
|
841
|
-
* <note>
|
|
842
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
843
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
844
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
845
|
-
* <p>
|
|
846
|
-
* <b>For the latest version of AWS
|
|
847
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
848
|
-
* </note>
|
|
849
|
-
* <p>Permanently deletes a <a>Rule</a>. You can't delete a <code>Rule</code> if it's still used in any <code>WebACL</code>
|
|
850
|
-
* objects or if it still includes any predicates, such as <code>ByteMatchSet</code> objects.</p>
|
|
851
|
-
* <p>If you just want to remove a <code>Rule</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
852
|
-
* <p>To permanently delete a <code>Rule</code> from AWS WAF, perform the following steps:</p>
|
|
853
|
-
* <ol>
|
|
854
|
-
* <li>
|
|
855
|
-
* <p>Update the <code>Rule</code> to remove predicates, if any. For more information, see <a>UpdateRule</a>.</p>
|
|
856
|
-
* </li>
|
|
857
|
-
* <li>
|
|
858
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
859
|
-
* <code>DeleteRule</code> request.</p>
|
|
860
|
-
* </li>
|
|
861
|
-
* <li>
|
|
862
|
-
* <p>Submit a <code>DeleteRule</code> request.</p>
|
|
863
|
-
* </li>
|
|
864
|
-
* </ol>
|
|
208
|
+
* @see {@link DeleteRuleCommand}
|
|
865
209
|
*/
|
|
866
210
|
deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
|
|
867
211
|
deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
868
212
|
deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
869
213
|
/**
|
|
870
|
-
* @
|
|
871
|
-
* <note>
|
|
872
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
873
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
874
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
875
|
-
* <p>
|
|
876
|
-
* <b>For the latest version of AWS
|
|
877
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
878
|
-
* </note>
|
|
879
|
-
* <p>Permanently deletes a <a>RuleGroup</a>. You can't delete a <code>RuleGroup</code> if it's still used in any <code>WebACL</code>
|
|
880
|
-
* objects or if it still includes any rules.</p>
|
|
881
|
-
* <p>If you just want to remove a <code>RuleGroup</code> from a <code>WebACL</code>, use <a>UpdateWebACL</a>.</p>
|
|
882
|
-
* <p>To permanently delete a <code>RuleGroup</code> from AWS WAF, perform the following steps:</p>
|
|
883
|
-
* <ol>
|
|
884
|
-
* <li>
|
|
885
|
-
* <p>Update the <code>RuleGroup</code> to remove rules, if any. For more information, see <a>UpdateRuleGroup</a>.</p>
|
|
886
|
-
* </li>
|
|
887
|
-
* <li>
|
|
888
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
889
|
-
* <code>DeleteRuleGroup</code> request.</p>
|
|
890
|
-
* </li>
|
|
891
|
-
* <li>
|
|
892
|
-
* <p>Submit a <code>DeleteRuleGroup</code> request.</p>
|
|
893
|
-
* </li>
|
|
894
|
-
* </ol>
|
|
214
|
+
* @see {@link DeleteRuleGroupCommand}
|
|
895
215
|
*/
|
|
896
216
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupCommandOutput>;
|
|
897
217
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
898
218
|
deleteRuleGroup(args: DeleteRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void): void;
|
|
899
219
|
/**
|
|
900
|
-
* @
|
|
901
|
-
* <note>
|
|
902
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
903
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
904
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
905
|
-
* <p>
|
|
906
|
-
* <b>For the latest version of AWS
|
|
907
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
908
|
-
* </note>
|
|
909
|
-
* <p>Permanently deletes a <a>SizeConstraintSet</a>. You can't delete a <code>SizeConstraintSet</code> if it's still used in any <code>Rules</code>
|
|
910
|
-
* or if it still includes any <a>SizeConstraint</a> objects (any filters).</p>
|
|
911
|
-
* <p>If you just want to remove a <code>SizeConstraintSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
912
|
-
* <p>To permanently delete a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
913
|
-
* <ol>
|
|
914
|
-
* <li>
|
|
915
|
-
* <p>Update the <code>SizeConstraintSet</code> to remove filters, if any. For more information, see <a>UpdateSizeConstraintSet</a>.</p>
|
|
916
|
-
* </li>
|
|
917
|
-
* <li>
|
|
918
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
919
|
-
* <code>DeleteSizeConstraintSet</code> request.</p>
|
|
920
|
-
* </li>
|
|
921
|
-
* <li>
|
|
922
|
-
* <p>Submit a <code>DeleteSizeConstraintSet</code> request.</p>
|
|
923
|
-
* </li>
|
|
924
|
-
* </ol>
|
|
220
|
+
* @see {@link DeleteSizeConstraintSetCommand}
|
|
925
221
|
*/
|
|
926
222
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSizeConstraintSetCommandOutput>;
|
|
927
223
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void): void;
|
|
928
224
|
deleteSizeConstraintSet(args: DeleteSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSizeConstraintSetCommandOutput) => void): void;
|
|
929
225
|
/**
|
|
930
|
-
* @
|
|
931
|
-
* <note>
|
|
932
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
933
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
934
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
935
|
-
* <p>
|
|
936
|
-
* <b>For the latest version of AWS
|
|
937
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
938
|
-
* </note>
|
|
939
|
-
* <p>Permanently deletes a <a>SqlInjectionMatchSet</a>. You can't delete a <code>SqlInjectionMatchSet</code> if it's
|
|
940
|
-
* still used in any <code>Rules</code> or if it still contains any <a>SqlInjectionMatchTuple</a> objects.</p>
|
|
941
|
-
* <p>If you just want to remove a <code>SqlInjectionMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
942
|
-
* <p>To permanently delete a <code>SqlInjectionMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
943
|
-
* <ol>
|
|
944
|
-
* <li>
|
|
945
|
-
* <p>Update the <code>SqlInjectionMatchSet</code> to remove filters, if any. For more information, see
|
|
946
|
-
* <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
947
|
-
* </li>
|
|
948
|
-
* <li>
|
|
949
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
950
|
-
* <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
951
|
-
* </li>
|
|
952
|
-
* <li>
|
|
953
|
-
* <p>Submit a <code>DeleteSqlInjectionMatchSet</code> request.</p>
|
|
954
|
-
* </li>
|
|
955
|
-
* </ol>
|
|
226
|
+
* @see {@link DeleteSqlInjectionMatchSetCommand}
|
|
956
227
|
*/
|
|
957
228
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSqlInjectionMatchSetCommandOutput>;
|
|
958
229
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void): void;
|
|
959
230
|
deleteSqlInjectionMatchSet(args: DeleteSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSqlInjectionMatchSetCommandOutput) => void): void;
|
|
960
231
|
/**
|
|
961
|
-
* @
|
|
962
|
-
* <note>
|
|
963
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
964
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
965
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
966
|
-
* <p>
|
|
967
|
-
* <b>For the latest version of AWS
|
|
968
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
969
|
-
* </note>
|
|
970
|
-
* <p>Permanently deletes a <a>WebACL</a>. You can't delete a <code>WebACL</code> if it still contains any <code>Rules</code>.</p>
|
|
971
|
-
* <p>To delete a <code>WebACL</code>, perform the following steps:</p>
|
|
972
|
-
* <ol>
|
|
973
|
-
* <li>
|
|
974
|
-
* <p>Update the <code>WebACL</code> to remove <code>Rules</code>, if any. For more information, see <a>UpdateWebACL</a>.</p>
|
|
975
|
-
* </li>
|
|
976
|
-
* <li>
|
|
977
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
978
|
-
* <code>DeleteWebACL</code> request.</p>
|
|
979
|
-
* </li>
|
|
980
|
-
* <li>
|
|
981
|
-
* <p>Submit a <code>DeleteWebACL</code> request.</p>
|
|
982
|
-
* </li>
|
|
983
|
-
* </ol>
|
|
232
|
+
* @see {@link DeleteWebACLCommand}
|
|
984
233
|
*/
|
|
985
234
|
deleteWebACL(args: DeleteWebACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebACLCommandOutput>;
|
|
986
235
|
deleteWebACL(args: DeleteWebACLCommandInput, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
987
236
|
deleteWebACL(args: DeleteWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWebACLCommandOutput) => void): void;
|
|
988
237
|
/**
|
|
989
|
-
* @
|
|
990
|
-
* <note>
|
|
991
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
992
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
993
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
994
|
-
* <p>
|
|
995
|
-
* <b>For the latest version of AWS
|
|
996
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
997
|
-
* </note>
|
|
998
|
-
* <p>Permanently deletes an <a>XssMatchSet</a>. You can't delete an <code>XssMatchSet</code> if it's
|
|
999
|
-
* still used in any <code>Rules</code> or if it still contains any <a>XssMatchTuple</a> objects.</p>
|
|
1000
|
-
* <p>If you just want to remove an <code>XssMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
|
|
1001
|
-
* <p>To permanently delete an <code>XssMatchSet</code> from AWS WAF, perform the following steps:</p>
|
|
1002
|
-
* <ol>
|
|
1003
|
-
* <li>
|
|
1004
|
-
* <p>Update the <code>XssMatchSet</code> to remove filters, if any. For more information, see
|
|
1005
|
-
* <a>UpdateXssMatchSet</a>.</p>
|
|
1006
|
-
* </li>
|
|
1007
|
-
* <li>
|
|
1008
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
|
|
1009
|
-
* <code>DeleteXssMatchSet</code> request.</p>
|
|
1010
|
-
* </li>
|
|
1011
|
-
* <li>
|
|
1012
|
-
* <p>Submit a <code>DeleteXssMatchSet</code> request.</p>
|
|
1013
|
-
* </li>
|
|
1014
|
-
* </ol>
|
|
238
|
+
* @see {@link DeleteXssMatchSetCommand}
|
|
1015
239
|
*/
|
|
1016
240
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteXssMatchSetCommandOutput>;
|
|
1017
241
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void): void;
|
|
1018
242
|
deleteXssMatchSet(args: DeleteXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteXssMatchSetCommandOutput) => void): void;
|
|
1019
243
|
/**
|
|
1020
|
-
* @
|
|
1021
|
-
* <note>
|
|
1022
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1023
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1024
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1025
|
-
* <p>
|
|
1026
|
-
* <b>For the latest version of AWS
|
|
1027
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1028
|
-
* </note>
|
|
1029
|
-
* <p>Returns the <a>ByteMatchSet</a> specified by <code>ByteMatchSetId</code>.</p>
|
|
244
|
+
* @see {@link GetByteMatchSetCommand}
|
|
1030
245
|
*/
|
|
1031
246
|
getByteMatchSet(args: GetByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetByteMatchSetCommandOutput>;
|
|
1032
247
|
getByteMatchSet(args: GetByteMatchSetCommandInput, cb: (err: any, data?: GetByteMatchSetCommandOutput) => void): void;
|
|
1033
248
|
getByteMatchSet(args: GetByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetByteMatchSetCommandOutput) => void): void;
|
|
1034
249
|
/**
|
|
1035
|
-
* @
|
|
1036
|
-
* <note>
|
|
1037
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1038
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1039
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1040
|
-
* <p>
|
|
1041
|
-
* <b>For the latest version of AWS
|
|
1042
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1043
|
-
* </note>
|
|
1044
|
-
* <p>When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.</p>
|
|
1045
|
-
* <p>Each create, update, or delete request must use a unique change token. If your application submits a <code>GetChangeToken</code> request
|
|
1046
|
-
* and then submits a second <code>GetChangeToken</code> request before submitting a create, update, or delete request, the second
|
|
1047
|
-
* <code>GetChangeToken</code> request returns the same value as the first <code>GetChangeToken</code> request.</p>
|
|
1048
|
-
* <p>When you use a change token in a create, update, or delete request, the status of the change token changes to <code>PENDING</code>,
|
|
1049
|
-
* which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use <code>GetChangeTokenStatus</code> to determine the
|
|
1050
|
-
* status of your change token.</p>
|
|
250
|
+
* @see {@link GetChangeTokenCommand}
|
|
1051
251
|
*/
|
|
1052
252
|
getChangeToken(args: GetChangeTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetChangeTokenCommandOutput>;
|
|
1053
253
|
getChangeToken(args: GetChangeTokenCommandInput, cb: (err: any, data?: GetChangeTokenCommandOutput) => void): void;
|
|
1054
254
|
getChangeToken(args: GetChangeTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChangeTokenCommandOutput) => void): void;
|
|
1055
255
|
/**
|
|
1056
|
-
* @
|
|
1057
|
-
* <note>
|
|
1058
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1059
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1060
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1061
|
-
* <p>
|
|
1062
|
-
* <b>For the latest version of AWS
|
|
1063
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1064
|
-
* </note>
|
|
1065
|
-
* <p>Returns the status of a <code>ChangeToken</code> that you got by calling <a>GetChangeToken</a>. <code>ChangeTokenStatus</code> is
|
|
1066
|
-
* one of the following values:</p>
|
|
1067
|
-
* <ul>
|
|
1068
|
-
* <li>
|
|
1069
|
-
* <p>
|
|
1070
|
-
* <code>PROVISIONED</code>: You requested the change token by calling <code>GetChangeToken</code>, but you haven't used it yet
|
|
1071
|
-
* in a call to create, update, or delete an AWS WAF object.</p>
|
|
1072
|
-
* </li>
|
|
1073
|
-
* <li>
|
|
1074
|
-
* <p>
|
|
1075
|
-
* <code>PENDING</code>: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.</p>
|
|
1076
|
-
* </li>
|
|
1077
|
-
* <li>
|
|
1078
|
-
* <p>
|
|
1079
|
-
* <code>INSYNC</code>: Propagation is complete.</p>
|
|
1080
|
-
* </li>
|
|
1081
|
-
* </ul>
|
|
256
|
+
* @see {@link GetChangeTokenStatusCommand}
|
|
1082
257
|
*/
|
|
1083
258
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetChangeTokenStatusCommandOutput>;
|
|
1084
259
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void): void;
|
|
1085
260
|
getChangeTokenStatus(args: GetChangeTokenStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChangeTokenStatusCommandOutput) => void): void;
|
|
1086
261
|
/**
|
|
1087
|
-
* @
|
|
1088
|
-
* <note>
|
|
1089
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1090
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1091
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1092
|
-
* <p>
|
|
1093
|
-
* <b>For the latest version of AWS
|
|
1094
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1095
|
-
* </note>
|
|
1096
|
-
* <p>Returns the <a>GeoMatchSet</a> that is specified by <code>GeoMatchSetId</code>.</p>
|
|
262
|
+
* @see {@link GetGeoMatchSetCommand}
|
|
1097
263
|
*/
|
|
1098
264
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetGeoMatchSetCommandOutput>;
|
|
1099
265
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void): void;
|
|
1100
266
|
getGeoMatchSet(args: GetGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeoMatchSetCommandOutput) => void): void;
|
|
1101
267
|
/**
|
|
1102
|
-
* @
|
|
1103
|
-
* <note>
|
|
1104
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1105
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1106
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1107
|
-
* <p>
|
|
1108
|
-
* <b>For the latest version of AWS
|
|
1109
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1110
|
-
* </note>
|
|
1111
|
-
* <p>Returns the <a>IPSet</a> that is specified by <code>IPSetId</code>.</p>
|
|
268
|
+
* @see {@link GetIPSetCommand}
|
|
1112
269
|
*/
|
|
1113
270
|
getIPSet(args: GetIPSetCommandInput, options?: __HttpHandlerOptions): Promise<GetIPSetCommandOutput>;
|
|
1114
271
|
getIPSet(args: GetIPSetCommandInput, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
1115
272
|
getIPSet(args: GetIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIPSetCommandOutput) => void): void;
|
|
1116
273
|
/**
|
|
1117
|
-
* @
|
|
1118
|
-
* <note>
|
|
1119
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1120
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1121
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1122
|
-
* <p>
|
|
1123
|
-
* <b>For the latest version of AWS
|
|
1124
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1125
|
-
* </note>
|
|
1126
|
-
* <p>Returns the <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
274
|
+
* @see {@link GetLoggingConfigurationCommand}
|
|
1127
275
|
*/
|
|
1128
276
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLoggingConfigurationCommandOutput>;
|
|
1129
277
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
1130
278
|
getLoggingConfiguration(args: GetLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLoggingConfigurationCommandOutput) => void): void;
|
|
1131
279
|
/**
|
|
1132
|
-
* @
|
|
1133
|
-
* <note>
|
|
1134
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1135
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1136
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1137
|
-
* <p>
|
|
1138
|
-
* <b>For the latest version of AWS
|
|
1139
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1140
|
-
* </note>
|
|
1141
|
-
* <p>Returns the IAM policy attached to the RuleGroup.</p>
|
|
280
|
+
* @see {@link GetPermissionPolicyCommand}
|
|
1142
281
|
*/
|
|
1143
282
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPermissionPolicyCommandOutput>;
|
|
1144
283
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
1145
284
|
getPermissionPolicy(args: GetPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPermissionPolicyCommandOutput) => void): void;
|
|
1146
285
|
/**
|
|
1147
|
-
* @
|
|
1148
|
-
* <note>
|
|
1149
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1150
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1151
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1152
|
-
* <p>
|
|
1153
|
-
* <b>For the latest version of AWS
|
|
1154
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1155
|
-
* </note>
|
|
1156
|
-
* <p>Returns the <a>RateBasedRule</a> that is specified by the
|
|
1157
|
-
* <code>RuleId</code> that you included in the <code>GetRateBasedRule</code>
|
|
1158
|
-
* request.</p>
|
|
286
|
+
* @see {@link GetRateBasedRuleCommand}
|
|
1159
287
|
*/
|
|
1160
288
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRateBasedRuleCommandOutput>;
|
|
1161
289
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void): void;
|
|
1162
290
|
getRateBasedRule(args: GetRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedRuleCommandOutput) => void): void;
|
|
1163
291
|
/**
|
|
1164
|
-
* @
|
|
1165
|
-
* <note>
|
|
1166
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1167
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1168
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1169
|
-
* <p>
|
|
1170
|
-
* <b>For the latest version of AWS
|
|
1171
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1172
|
-
* </note>
|
|
1173
|
-
* <p>Returns an array of IP addresses currently being blocked by the <a>RateBasedRule</a> that is specified by the <code>RuleId</code>. The maximum
|
|
1174
|
-
* number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed
|
|
1175
|
-
* the rate limit, the 10,000 addresses with the highest rates will be blocked.</p>
|
|
292
|
+
* @see {@link GetRateBasedRuleManagedKeysCommand}
|
|
1176
293
|
*/
|
|
1177
294
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetRateBasedRuleManagedKeysCommandOutput>;
|
|
1178
295
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void): void;
|
|
1179
296
|
getRateBasedRuleManagedKeys(args: GetRateBasedRuleManagedKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRateBasedRuleManagedKeysCommandOutput) => void): void;
|
|
1180
297
|
/**
|
|
1181
|
-
* @
|
|
1182
|
-
* <note>
|
|
1183
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1184
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1185
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1186
|
-
* <p>
|
|
1187
|
-
* <b>For the latest version of AWS
|
|
1188
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1189
|
-
* </note>
|
|
1190
|
-
* <p>Returns the <a>RegexMatchSet</a> specified by <code>RegexMatchSetId</code>.</p>
|
|
298
|
+
* @see {@link GetRegexMatchSetCommand}
|
|
1191
299
|
*/
|
|
1192
300
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexMatchSetCommandOutput>;
|
|
1193
301
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void): void;
|
|
1194
302
|
getRegexMatchSet(args: GetRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexMatchSetCommandOutput) => void): void;
|
|
1195
303
|
/**
|
|
1196
|
-
* @
|
|
1197
|
-
* <note>
|
|
1198
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1199
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1200
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1201
|
-
* <p>
|
|
1202
|
-
* <b>For the latest version of AWS
|
|
1203
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1204
|
-
* </note>
|
|
1205
|
-
* <p>Returns the <a>RegexPatternSet</a> specified by <code>RegexPatternSetId</code>.</p>
|
|
304
|
+
* @see {@link GetRegexPatternSetCommand}
|
|
1206
305
|
*/
|
|
1207
306
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<GetRegexPatternSetCommandOutput>;
|
|
1208
307
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
1209
308
|
getRegexPatternSet(args: GetRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegexPatternSetCommandOutput) => void): void;
|
|
1210
309
|
/**
|
|
1211
|
-
* @
|
|
1212
|
-
* <note>
|
|
1213
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1214
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1215
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1216
|
-
* <p>
|
|
1217
|
-
* <b>For the latest version of AWS
|
|
1218
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1219
|
-
* </note>
|
|
1220
|
-
* <p>Returns the <a>Rule</a> that is specified by the <code>RuleId</code> that you included in the <code>GetRule</code> request.</p>
|
|
310
|
+
* @see {@link GetRuleCommand}
|
|
1221
311
|
*/
|
|
1222
312
|
getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
|
|
1223
313
|
getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
1224
314
|
getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
1225
315
|
/**
|
|
1226
|
-
* @
|
|
1227
|
-
* <note>
|
|
1228
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1229
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1230
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1231
|
-
* <p>
|
|
1232
|
-
* <b>For the latest version of AWS
|
|
1233
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1234
|
-
* </note>
|
|
1235
|
-
* <p>Returns the <a>RuleGroup</a> that is specified by the <code>RuleGroupId</code> that you included in the <code>GetRuleGroup</code> request.</p>
|
|
1236
|
-
* <p>To view the rules in a rule group, use <a>ListActivatedRulesInRuleGroup</a>.</p>
|
|
316
|
+
* @see {@link GetRuleGroupCommand}
|
|
1237
317
|
*/
|
|
1238
318
|
getRuleGroup(args: GetRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleGroupCommandOutput>;
|
|
1239
319
|
getRuleGroup(args: GetRuleGroupCommandInput, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
1240
320
|
getRuleGroup(args: GetRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleGroupCommandOutput) => void): void;
|
|
1241
321
|
/**
|
|
1242
|
-
* @
|
|
1243
|
-
* <note>
|
|
1244
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1245
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1246
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1247
|
-
* <p>
|
|
1248
|
-
* <b>For the latest version of AWS
|
|
1249
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1250
|
-
* </note>
|
|
1251
|
-
* <p>Gets detailed information about a specified number of requests--a sample--that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.</p>
|
|
1252
|
-
* <p>
|
|
1253
|
-
* <code>GetSampledRequests</code> returns a time range, which is usually the time range that you specified. However, if your resource
|
|
1254
|
-
* (such as a CloudFront distribution) received 5,000 requests before the specified time range elapsed, <code>GetSampledRequests</code>
|
|
1255
|
-
* returns an updated time range. This new time range indicates the actual period during which AWS WAF selected the requests in the sample.</p>
|
|
322
|
+
* @see {@link GetSampledRequestsCommand}
|
|
1256
323
|
*/
|
|
1257
324
|
getSampledRequests(args: GetSampledRequestsCommandInput, options?: __HttpHandlerOptions): Promise<GetSampledRequestsCommandOutput>;
|
|
1258
325
|
getSampledRequests(args: GetSampledRequestsCommandInput, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
1259
326
|
getSampledRequests(args: GetSampledRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSampledRequestsCommandOutput) => void): void;
|
|
1260
327
|
/**
|
|
1261
|
-
* @
|
|
1262
|
-
* <note>
|
|
1263
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1264
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1265
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1266
|
-
* <p>
|
|
1267
|
-
* <b>For the latest version of AWS
|
|
1268
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1269
|
-
* </note>
|
|
1270
|
-
* <p>Returns the <a>SizeConstraintSet</a> specified by <code>SizeConstraintSetId</code>.</p>
|
|
328
|
+
* @see {@link GetSizeConstraintSetCommand}
|
|
1271
329
|
*/
|
|
1272
330
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<GetSizeConstraintSetCommandOutput>;
|
|
1273
331
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void): void;
|
|
1274
332
|
getSizeConstraintSet(args: GetSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSizeConstraintSetCommandOutput) => void): void;
|
|
1275
333
|
/**
|
|
1276
|
-
* @
|
|
1277
|
-
* <note>
|
|
1278
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1279
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1280
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1281
|
-
* <p>
|
|
1282
|
-
* <b>For the latest version of AWS
|
|
1283
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1284
|
-
* </note>
|
|
1285
|
-
* <p>Returns the <a>SqlInjectionMatchSet</a> that is specified by <code>SqlInjectionMatchSetId</code>.</p>
|
|
334
|
+
* @see {@link GetSqlInjectionMatchSetCommand}
|
|
1286
335
|
*/
|
|
1287
336
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetSqlInjectionMatchSetCommandOutput>;
|
|
1288
337
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void): void;
|
|
1289
338
|
getSqlInjectionMatchSet(args: GetSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSqlInjectionMatchSetCommandOutput) => void): void;
|
|
1290
339
|
/**
|
|
1291
|
-
* @
|
|
1292
|
-
* <note>
|
|
1293
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1294
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1295
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1296
|
-
* <p>
|
|
1297
|
-
* <b>For the latest version of AWS
|
|
1298
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1299
|
-
* </note>
|
|
1300
|
-
* <p>Returns the <a>WebACL</a> that is specified by <code>WebACLId</code>.</p>
|
|
340
|
+
* @see {@link GetWebACLCommand}
|
|
1301
341
|
*/
|
|
1302
342
|
getWebACL(args: GetWebACLCommandInput, options?: __HttpHandlerOptions): Promise<GetWebACLCommandOutput>;
|
|
1303
343
|
getWebACL(args: GetWebACLCommandInput, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
1304
344
|
getWebACL(args: GetWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWebACLCommandOutput) => void): void;
|
|
1305
345
|
/**
|
|
1306
|
-
* @
|
|
1307
|
-
* <note>
|
|
1308
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1309
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1310
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1311
|
-
* <p>
|
|
1312
|
-
* <b>For the latest version of AWS
|
|
1313
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1314
|
-
* </note>
|
|
1315
|
-
* <p>Returns the <a>XssMatchSet</a> that is specified by <code>XssMatchSetId</code>.</p>
|
|
346
|
+
* @see {@link GetXssMatchSetCommand}
|
|
1316
347
|
*/
|
|
1317
348
|
getXssMatchSet(args: GetXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<GetXssMatchSetCommandOutput>;
|
|
1318
349
|
getXssMatchSet(args: GetXssMatchSetCommandInput, cb: (err: any, data?: GetXssMatchSetCommandOutput) => void): void;
|
|
1319
350
|
getXssMatchSet(args: GetXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetXssMatchSetCommandOutput) => void): void;
|
|
1320
351
|
/**
|
|
1321
|
-
* @
|
|
1322
|
-
* <note>
|
|
1323
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1324
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1325
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1326
|
-
* <p>
|
|
1327
|
-
* <b>For the latest version of AWS
|
|
1328
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1329
|
-
* </note>
|
|
1330
|
-
* <p>Returns an array of <a>ActivatedRule</a> objects.</p>
|
|
352
|
+
* @see {@link ListActivatedRulesInRuleGroupCommand}
|
|
1331
353
|
*/
|
|
1332
354
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListActivatedRulesInRuleGroupCommandOutput>;
|
|
1333
355
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void): void;
|
|
1334
356
|
listActivatedRulesInRuleGroup(args: ListActivatedRulesInRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListActivatedRulesInRuleGroupCommandOutput) => void): void;
|
|
1335
357
|
/**
|
|
1336
|
-
* @
|
|
1337
|
-
* <note>
|
|
1338
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1339
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1340
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1341
|
-
* <p>
|
|
1342
|
-
* <b>For the latest version of AWS
|
|
1343
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1344
|
-
* </note>
|
|
1345
|
-
* <p>Returns an array of <a>ByteMatchSetSummary</a> objects.</p>
|
|
358
|
+
* @see {@link ListByteMatchSetsCommand}
|
|
1346
359
|
*/
|
|
1347
360
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListByteMatchSetsCommandOutput>;
|
|
1348
361
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void): void;
|
|
1349
362
|
listByteMatchSets(args: ListByteMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListByteMatchSetsCommandOutput) => void): void;
|
|
1350
363
|
/**
|
|
1351
|
-
* @
|
|
1352
|
-
* <note>
|
|
1353
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1354
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1355
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1356
|
-
* <p>
|
|
1357
|
-
* <b>For the latest version of AWS
|
|
1358
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1359
|
-
* </note>
|
|
1360
|
-
* <p>Returns an array of <a>GeoMatchSetSummary</a> objects in the response.</p>
|
|
364
|
+
* @see {@link ListGeoMatchSetsCommand}
|
|
1361
365
|
*/
|
|
1362
366
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListGeoMatchSetsCommandOutput>;
|
|
1363
367
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void): void;
|
|
1364
368
|
listGeoMatchSets(args: ListGeoMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGeoMatchSetsCommandOutput) => void): void;
|
|
1365
369
|
/**
|
|
1366
|
-
* @
|
|
1367
|
-
* <note>
|
|
1368
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1369
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1370
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1371
|
-
* <p>
|
|
1372
|
-
* <b>For the latest version of AWS
|
|
1373
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1374
|
-
* </note>
|
|
1375
|
-
* <p>Returns an array of <a>IPSetSummary</a> objects in the response.</p>
|
|
370
|
+
* @see {@link ListIPSetsCommand}
|
|
1376
371
|
*/
|
|
1377
372
|
listIPSets(args: ListIPSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListIPSetsCommandOutput>;
|
|
1378
373
|
listIPSets(args: ListIPSetsCommandInput, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
1379
374
|
listIPSets(args: ListIPSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIPSetsCommandOutput) => void): void;
|
|
1380
375
|
/**
|
|
1381
|
-
* @
|
|
1382
|
-
* <note>
|
|
1383
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1384
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1385
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1386
|
-
* <p>
|
|
1387
|
-
* <b>For the latest version of AWS
|
|
1388
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1389
|
-
* </note>
|
|
1390
|
-
* <p>Returns an array of <a>LoggingConfiguration</a> objects.</p>
|
|
376
|
+
* @see {@link ListLoggingConfigurationsCommand}
|
|
1391
377
|
*/
|
|
1392
378
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListLoggingConfigurationsCommandOutput>;
|
|
1393
379
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
1394
380
|
listLoggingConfigurations(args: ListLoggingConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLoggingConfigurationsCommandOutput) => void): void;
|
|
1395
381
|
/**
|
|
1396
|
-
* @
|
|
1397
|
-
* <note>
|
|
1398
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1399
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1400
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1401
|
-
* <p>
|
|
1402
|
-
* <b>For the latest version of AWS
|
|
1403
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1404
|
-
* </note>
|
|
1405
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
382
|
+
* @see {@link ListRateBasedRulesCommand}
|
|
1406
383
|
*/
|
|
1407
384
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRateBasedRulesCommandOutput>;
|
|
1408
385
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void): void;
|
|
1409
386
|
listRateBasedRules(args: ListRateBasedRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRateBasedRulesCommandOutput) => void): void;
|
|
1410
387
|
/**
|
|
1411
|
-
* @
|
|
1412
|
-
* <note>
|
|
1413
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1414
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1415
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1416
|
-
* <p>
|
|
1417
|
-
* <b>For the latest version of AWS
|
|
1418
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1419
|
-
* </note>
|
|
1420
|
-
* <p>Returns an array of <a>RegexMatchSetSummary</a> objects.</p>
|
|
388
|
+
* @see {@link ListRegexMatchSetsCommand}
|
|
1421
389
|
*/
|
|
1422
390
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegexMatchSetsCommandOutput>;
|
|
1423
391
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void): void;
|
|
1424
392
|
listRegexMatchSets(args: ListRegexMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexMatchSetsCommandOutput) => void): void;
|
|
1425
393
|
/**
|
|
1426
|
-
* @
|
|
1427
|
-
* <note>
|
|
1428
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1429
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1430
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1431
|
-
* <p>
|
|
1432
|
-
* <b>For the latest version of AWS
|
|
1433
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1434
|
-
* </note>
|
|
1435
|
-
* <p>Returns an array of <a>RegexPatternSetSummary</a> objects.</p>
|
|
394
|
+
* @see {@link ListRegexPatternSetsCommand}
|
|
1436
395
|
*/
|
|
1437
396
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegexPatternSetsCommandOutput>;
|
|
1438
397
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
1439
398
|
listRegexPatternSets(args: ListRegexPatternSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegexPatternSetsCommandOutput) => void): void;
|
|
1440
399
|
/**
|
|
1441
|
-
* @
|
|
1442
|
-
* <note>
|
|
1443
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1444
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1445
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1446
|
-
* <p>
|
|
1447
|
-
* <b>For the latest version of AWS
|
|
1448
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1449
|
-
* </note>
|
|
1450
|
-
* <p>Returns an array of <a>RuleGroup</a> objects.</p>
|
|
400
|
+
* @see {@link ListRuleGroupsCommand}
|
|
1451
401
|
*/
|
|
1452
402
|
listRuleGroups(args: ListRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsCommandOutput>;
|
|
1453
403
|
listRuleGroups(args: ListRuleGroupsCommandInput, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
1454
404
|
listRuleGroups(args: ListRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsCommandOutput) => void): void;
|
|
1455
405
|
/**
|
|
1456
|
-
* @
|
|
1457
|
-
* <note>
|
|
1458
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1459
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1460
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1461
|
-
* <p>
|
|
1462
|
-
* <b>For the latest version of AWS
|
|
1463
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1464
|
-
* </note>
|
|
1465
|
-
* <p>Returns an array of <a>RuleSummary</a> objects.</p>
|
|
406
|
+
* @see {@link ListRulesCommand}
|
|
1466
407
|
*/
|
|
1467
408
|
listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
|
|
1468
409
|
listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
1469
410
|
listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
1470
411
|
/**
|
|
1471
|
-
* @
|
|
1472
|
-
* <note>
|
|
1473
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1474
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1475
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1476
|
-
* <p>
|
|
1477
|
-
* <b>For the latest version of AWS
|
|
1478
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1479
|
-
* </note>
|
|
1480
|
-
* <p>Returns an array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
412
|
+
* @see {@link ListSizeConstraintSetsCommand}
|
|
1481
413
|
*/
|
|
1482
414
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListSizeConstraintSetsCommandOutput>;
|
|
1483
415
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void): void;
|
|
1484
416
|
listSizeConstraintSets(args: ListSizeConstraintSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSizeConstraintSetsCommandOutput) => void): void;
|
|
1485
417
|
/**
|
|
1486
|
-
* @
|
|
1487
|
-
* <note>
|
|
1488
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1489
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1490
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1491
|
-
* <p>
|
|
1492
|
-
* <b>For the latest version of AWS
|
|
1493
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1494
|
-
* </note>
|
|
1495
|
-
* <p>Returns an array of <a>SqlInjectionMatchSet</a> objects.</p>
|
|
418
|
+
* @see {@link ListSqlInjectionMatchSetsCommand}
|
|
1496
419
|
*/
|
|
1497
420
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListSqlInjectionMatchSetsCommandOutput>;
|
|
1498
421
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void): void;
|
|
1499
422
|
listSqlInjectionMatchSets(args: ListSqlInjectionMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSqlInjectionMatchSetsCommandOutput) => void): void;
|
|
1500
423
|
/**
|
|
1501
|
-
* @
|
|
1502
|
-
* <note>
|
|
1503
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1504
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1505
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1506
|
-
* <p>
|
|
1507
|
-
* <b>For the latest version of AWS
|
|
1508
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1509
|
-
* </note>
|
|
1510
|
-
* <p>Returns an array of <a>RuleGroup</a> objects that you are subscribed to.</p>
|
|
424
|
+
* @see {@link ListSubscribedRuleGroupsCommand}
|
|
1511
425
|
*/
|
|
1512
426
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSubscribedRuleGroupsCommandOutput>;
|
|
1513
427
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void): void;
|
|
1514
428
|
listSubscribedRuleGroups(args: ListSubscribedRuleGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubscribedRuleGroupsCommandOutput) => void): void;
|
|
1515
429
|
/**
|
|
1516
|
-
* @
|
|
1517
|
-
* <note>
|
|
1518
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1519
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1520
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1521
|
-
* <p>
|
|
1522
|
-
* <b>For the latest version of AWS
|
|
1523
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1524
|
-
* </note>
|
|
1525
|
-
* <p>Retrieves the tags associated with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
1526
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
430
|
+
* @see {@link ListTagsForResourceCommand}
|
|
1527
431
|
*/
|
|
1528
432
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
1529
433
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1530
434
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
1531
435
|
/**
|
|
1532
|
-
* @
|
|
1533
|
-
* <note>
|
|
1534
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1535
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1536
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1537
|
-
* <p>
|
|
1538
|
-
* <b>For the latest version of AWS
|
|
1539
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1540
|
-
* </note>
|
|
1541
|
-
* <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
|
|
436
|
+
* @see {@link ListWebACLsCommand}
|
|
1542
437
|
*/
|
|
1543
438
|
listWebACLs(args: ListWebACLsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebACLsCommandOutput>;
|
|
1544
439
|
listWebACLs(args: ListWebACLsCommandInput, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
1545
440
|
listWebACLs(args: ListWebACLsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebACLsCommandOutput) => void): void;
|
|
1546
441
|
/**
|
|
1547
|
-
* @
|
|
1548
|
-
* <note>
|
|
1549
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1550
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1551
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1552
|
-
* <p>
|
|
1553
|
-
* <b>For the latest version of AWS
|
|
1554
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1555
|
-
* </note>
|
|
1556
|
-
* <p>Returns an array of <a>XssMatchSet</a> objects.</p>
|
|
442
|
+
* @see {@link ListXssMatchSetsCommand}
|
|
1557
443
|
*/
|
|
1558
444
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListXssMatchSetsCommandOutput>;
|
|
1559
445
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void): void;
|
|
1560
446
|
listXssMatchSets(args: ListXssMatchSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListXssMatchSetsCommandOutput) => void): void;
|
|
1561
447
|
/**
|
|
1562
|
-
* @
|
|
1563
|
-
* <note>
|
|
1564
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1565
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1566
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1567
|
-
* <p>
|
|
1568
|
-
* <b>For the latest version of AWS
|
|
1569
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1570
|
-
* </note>
|
|
1571
|
-
* <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
|
|
1572
|
-
* <p>You can access information about all traffic that AWS WAF inspects using the following
|
|
1573
|
-
* steps:</p>
|
|
1574
|
-
* <ol>
|
|
1575
|
-
* <li>
|
|
1576
|
-
* <p>Create an Amazon Kinesis Data
|
|
1577
|
-
* Firehose. </p>
|
|
1578
|
-
* <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>
|
|
1579
|
-
* <note>
|
|
1580
|
-
* <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
|
|
1581
|
-
* </note>
|
|
1582
|
-
* </li>
|
|
1583
|
-
* <li>
|
|
1584
|
-
* <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
|
|
1585
|
-
* </li>
|
|
1586
|
-
* </ol>
|
|
1587
|
-
*
|
|
1588
|
-
* <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
448
|
+
* @see {@link PutLoggingConfigurationCommand}
|
|
1589
449
|
*/
|
|
1590
450
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutLoggingConfigurationCommandOutput>;
|
|
1591
451
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
1592
452
|
putLoggingConfiguration(args: PutLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLoggingConfigurationCommandOutput) => void): void;
|
|
1593
453
|
/**
|
|
1594
|
-
* @
|
|
1595
|
-
* <note>
|
|
1596
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1597
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1598
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1599
|
-
* <p>
|
|
1600
|
-
* <b>For the latest version of AWS
|
|
1601
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1602
|
-
* </note>
|
|
1603
|
-
* <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
|
|
1604
|
-
* <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
|
|
1605
|
-
* <ul>
|
|
1606
|
-
* <li>
|
|
1607
|
-
* <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
|
|
1608
|
-
* </li>
|
|
1609
|
-
* <li>
|
|
1610
|
-
* <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
|
|
1611
|
-
* </li>
|
|
1612
|
-
* <li>
|
|
1613
|
-
*
|
|
1614
|
-
* <p>
|
|
1615
|
-
* <code>Effect</code> must specify <code>Allow</code>.</p>
|
|
1616
|
-
* </li>
|
|
1617
|
-
* <li>
|
|
1618
|
-
* <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
|
|
1619
|
-
* </li>
|
|
1620
|
-
* <li>
|
|
1621
|
-
* <p>The policy cannot include a <code>Resource</code> parameter.</p>
|
|
1622
|
-
* </li>
|
|
1623
|
-
* <li>
|
|
1624
|
-
* <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
|
|
1625
|
-
* </li>
|
|
1626
|
-
* <li>
|
|
1627
|
-
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
1628
|
-
* </li>
|
|
1629
|
-
* <li>
|
|
1630
|
-
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
1631
|
-
* </li>
|
|
1632
|
-
* </ul>
|
|
1633
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
|
|
1634
|
-
*
|
|
1635
|
-
* <p>An example of a valid policy parameter is shown in the Examples section below.</p>
|
|
454
|
+
* @see {@link PutPermissionPolicyCommand}
|
|
1636
455
|
*/
|
|
1637
456
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPermissionPolicyCommandOutput>;
|
|
1638
457
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
1639
458
|
putPermissionPolicy(args: PutPermissionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionPolicyCommandOutput) => void): void;
|
|
1640
459
|
/**
|
|
1641
|
-
* @
|
|
1642
|
-
* <note>
|
|
1643
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1644
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1645
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1646
|
-
* <p>
|
|
1647
|
-
* <b>For the latest version of AWS
|
|
1648
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1649
|
-
* </note>
|
|
1650
|
-
* <p>Associates tags with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
|
|
1651
|
-
* <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can use this action to tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
|
|
460
|
+
* @see {@link TagResourceCommand}
|
|
1652
461
|
*/
|
|
1653
462
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1654
463
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1655
464
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1656
465
|
/**
|
|
1657
|
-
* @
|
|
1658
|
-
* <note>
|
|
1659
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1660
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1661
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1662
|
-
* <p>
|
|
1663
|
-
* <b>For the latest version of AWS
|
|
1664
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1665
|
-
* </note>
|
|
1666
|
-
* <p></p>
|
|
466
|
+
* @see {@link UntagResourceCommand}
|
|
1667
467
|
*/
|
|
1668
468
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
1669
469
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1670
470
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1671
471
|
/**
|
|
1672
|
-
* @
|
|
1673
|
-
* <note>
|
|
1674
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1675
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1676
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1677
|
-
* <p>
|
|
1678
|
-
* <b>For the latest version of AWS
|
|
1679
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1680
|
-
* </note>
|
|
1681
|
-
* <p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object,
|
|
1682
|
-
* you specify the following values: </p>
|
|
1683
|
-
* <ul>
|
|
1684
|
-
* <li>
|
|
1685
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object,
|
|
1686
|
-
* you delete the existing object and add a new one.</p>
|
|
1687
|
-
* </li>
|
|
1688
|
-
* <li>
|
|
1689
|
-
* <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p>
|
|
1690
|
-
* </li>
|
|
1691
|
-
* <li>
|
|
1692
|
-
* <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify
|
|
1693
|
-
* the values for the AWS WAF API and the AWS CLI or SDKs, see <code>TargetString</code> in the <a>ByteMatchTuple</a> data type. </p>
|
|
1694
|
-
* </li>
|
|
1695
|
-
* <li>
|
|
1696
|
-
* <p>Where to look, such as at the beginning or the end of a query string.</p>
|
|
1697
|
-
* </li>
|
|
1698
|
-
* <li>
|
|
1699
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1700
|
-
* </li>
|
|
1701
|
-
* </ul>
|
|
1702
|
-
* <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain
|
|
1703
|
-
* the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p>
|
|
1704
|
-
* <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
|
|
1705
|
-
* <ol>
|
|
1706
|
-
* <li>
|
|
1707
|
-
* <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p>
|
|
1708
|
-
* </li>
|
|
1709
|
-
* <li>
|
|
1710
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1711
|
-
* <code>UpdateByteMatchSet</code> request.</p>
|
|
1712
|
-
* </li>
|
|
1713
|
-
* <li>
|
|
1714
|
-
* <p>Submit an <code>UpdateByteMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
1715
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
1716
|
-
* </li>
|
|
1717
|
-
* </ol>
|
|
1718
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1719
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
472
|
+
* @see {@link UpdateByteMatchSetCommand}
|
|
1720
473
|
*/
|
|
1721
474
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateByteMatchSetCommandOutput>;
|
|
1722
475
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void): void;
|
|
1723
476
|
updateByteMatchSet(args: UpdateByteMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateByteMatchSetCommandOutput) => void): void;
|
|
1724
477
|
/**
|
|
1725
|
-
* @
|
|
1726
|
-
* <note>
|
|
1727
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1728
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1729
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1730
|
-
* <p>
|
|
1731
|
-
* <b>For the latest version of AWS
|
|
1732
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1733
|
-
* </note>
|
|
1734
|
-
* <p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object,
|
|
1735
|
-
* you specify the following values: </p>
|
|
1736
|
-
* <ul>
|
|
1737
|
-
* <li>
|
|
1738
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an <code>GeoMatchConstraint</code> object, you delete the existing object and add a new one.</p>
|
|
1739
|
-
* </li>
|
|
1740
|
-
* <li>
|
|
1741
|
-
* <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p>
|
|
1742
|
-
* </li>
|
|
1743
|
-
* <li>
|
|
1744
|
-
* <p>The <code>Value</code>, which is a two character code for the country to add to the <code>GeoMatchConstraint</code> object. Valid codes are listed in <a>GeoMatchConstraint$Value</a>.</p>
|
|
1745
|
-
* </li>
|
|
1746
|
-
* </ul>
|
|
1747
|
-
*
|
|
1748
|
-
* <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p>
|
|
1749
|
-
* <ol>
|
|
1750
|
-
* <li>
|
|
1751
|
-
* <p>Submit a <a>CreateGeoMatchSet</a> request.</p>
|
|
1752
|
-
* </li>
|
|
1753
|
-
* <li>
|
|
1754
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1755
|
-
* <a>UpdateGeoMatchSet</a> request.</p>
|
|
1756
|
-
* </li>
|
|
1757
|
-
* <li>
|
|
1758
|
-
* <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p>
|
|
1759
|
-
* </li>
|
|
1760
|
-
* </ol>
|
|
1761
|
-
* <p>When you update an <code>GeoMatchSet</code>, you specify the country that you want to add and/or the country that you want to delete.
|
|
1762
|
-
* If you want to change a country, you delete the existing country and add the new one.</p>
|
|
1763
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1764
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
478
|
+
* @see {@link UpdateGeoMatchSetCommand}
|
|
1765
479
|
*/
|
|
1766
480
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGeoMatchSetCommandOutput>;
|
|
1767
481
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void): void;
|
|
1768
482
|
updateGeoMatchSet(args: UpdateGeoMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGeoMatchSetCommandOutput) => void): void;
|
|
1769
483
|
/**
|
|
1770
|
-
* @
|
|
1771
|
-
* <note>
|
|
1772
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1773
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1774
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1775
|
-
* <p>
|
|
1776
|
-
* <b>For the latest version of AWS
|
|
1777
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1778
|
-
* </note>
|
|
1779
|
-
* <p>Inserts or deletes <a>IPSetDescriptor</a> objects in an
|
|
1780
|
-
* <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following
|
|
1781
|
-
* values: </p>
|
|
1782
|
-
* <ul>
|
|
1783
|
-
* <li>
|
|
1784
|
-
* <p>Whether to insert or delete the object from the array. If you want to change an
|
|
1785
|
-
* <code>IPSetDescriptor</code> object, you delete the existing object and add a new
|
|
1786
|
-
* one.</p>
|
|
1787
|
-
* </li>
|
|
1788
|
-
* <li>
|
|
1789
|
-
* <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p>
|
|
1790
|
-
* </li>
|
|
1791
|
-
* <li>
|
|
1792
|
-
* <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for
|
|
1793
|
-
* the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or
|
|
1794
|
-
* <code>192.0.2.44/32</code> (for the individual IP address
|
|
1795
|
-
* <code>192.0.2.44</code>). </p>
|
|
1796
|
-
* </li>
|
|
1797
|
-
* </ul>
|
|
1798
|
-
* <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS
|
|
1799
|
-
* WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more
|
|
1800
|
-
* information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
1801
|
-
* Inter-Domain Routing</a>.</p>
|
|
1802
|
-
* <p>IPv6 addresses can be represented using any of the following formats:</p>
|
|
1803
|
-
* <ul>
|
|
1804
|
-
* <li>
|
|
1805
|
-
* <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p>
|
|
1806
|
-
* </li>
|
|
1807
|
-
* <li>
|
|
1808
|
-
* <p>1111:0:0:0:0:0:0:0111/128</p>
|
|
1809
|
-
* </li>
|
|
1810
|
-
* <li>
|
|
1811
|
-
* <p>1111::0111/128</p>
|
|
1812
|
-
* </li>
|
|
1813
|
-
* <li>
|
|
1814
|
-
* <p>1111::111/128</p>
|
|
1815
|
-
* </li>
|
|
1816
|
-
* </ul>
|
|
1817
|
-
* <p>You use an <code>IPSet</code> to specify which web requests you want to allow or
|
|
1818
|
-
* block based on the IP addresses that the requests originated from. For example, if you're
|
|
1819
|
-
* receiving a lot of requests from one or a small number of IP addresses and you want to
|
|
1820
|
-
* block the requests, you can create an <code>IPSet</code> that specifies those IP addresses,
|
|
1821
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
1822
|
-
* <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
|
|
1823
|
-
* <ol>
|
|
1824
|
-
* <li>
|
|
1825
|
-
* <p>Submit a <a>CreateIPSet</a> request.</p>
|
|
1826
|
-
* </li>
|
|
1827
|
-
* <li>
|
|
1828
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide
|
|
1829
|
-
* in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a>
|
|
1830
|
-
* request.</p>
|
|
1831
|
-
* </li>
|
|
1832
|
-
* <li>
|
|
1833
|
-
* <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you
|
|
1834
|
-
* want AWS WAF to watch for.</p>
|
|
1835
|
-
* </li>
|
|
1836
|
-
* </ol>
|
|
1837
|
-
* <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to
|
|
1838
|
-
* add and/or the IP addresses that you want to delete. If you want to change an IP address,
|
|
1839
|
-
* you delete the existing IP address and add the new one.</p>
|
|
1840
|
-
* <p>You can insert a maximum of 1000 addresses in a single
|
|
1841
|
-
* request.</p>
|
|
1842
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP
|
|
1843
|
-
* requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF
|
|
1844
|
-
* Developer Guide</a>.</p>
|
|
484
|
+
* @see {@link UpdateIPSetCommand}
|
|
1845
485
|
*/
|
|
1846
486
|
updateIPSet(args: UpdateIPSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIPSetCommandOutput>;
|
|
1847
487
|
updateIPSet(args: UpdateIPSetCommandInput, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
1848
488
|
updateIPSet(args: UpdateIPSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIPSetCommandOutput) => void): void;
|
|
1849
489
|
/**
|
|
1850
|
-
* @
|
|
1851
|
-
* <note>
|
|
1852
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1853
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1854
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1855
|
-
* <p>
|
|
1856
|
-
* <b>For the latest version of AWS
|
|
1857
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1858
|
-
* </note>
|
|
1859
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the
|
|
1860
|
-
* <code>RateLimit</code> in the rule. </p>
|
|
1861
|
-
* <p>Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
1862
|
-
* that you want to block or count. The <code>RateLimit</code> specifies the number of
|
|
1863
|
-
* requests every five minutes that triggers the rule.</p>
|
|
1864
|
-
* <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must
|
|
1865
|
-
* match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked.
|
|
1866
|
-
* For example, suppose you add the following to a <code>RateBasedRule</code>:</p>
|
|
1867
|
-
* <ul>
|
|
1868
|
-
* <li>
|
|
1869
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
|
|
1870
|
-
* </p>
|
|
1871
|
-
* </li>
|
|
1872
|
-
* <li>
|
|
1873
|
-
* <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
|
|
1874
|
-
* <code>User-Agent</code> header</p>
|
|
1875
|
-
* </li>
|
|
1876
|
-
* </ul>
|
|
1877
|
-
* <p>Further, you specify a
|
|
1878
|
-
* <code>RateLimit</code> of 1,000.</p>
|
|
1879
|
-
* <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
|
|
1880
|
-
* you want to block requests that satisfy the rule. For a request to be blocked, it must come
|
|
1881
|
-
* from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header
|
|
1882
|
-
* in the request must contain the value <code>BadBot</code>. Further, requests that match
|
|
1883
|
-
* these two conditions much be received at a rate of more than 1,000 every five minutes. If
|
|
1884
|
-
* the rate drops below this limit, AWS WAF no longer blocks the requests.</p>
|
|
1885
|
-
*
|
|
1886
|
-
* <p>As a second example, suppose you want to limit requests to a particular page on your site. To do this, you could add the following to a
|
|
1887
|
-
* <code>RateBasedRule</code>:</p>
|
|
1888
|
-
*
|
|
1889
|
-
*
|
|
1890
|
-
* <ul>
|
|
1891
|
-
* <li>
|
|
1892
|
-
* <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
|
|
1893
|
-
* </p>
|
|
1894
|
-
* </li>
|
|
1895
|
-
* <li>
|
|
1896
|
-
* <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
|
|
1897
|
-
* </p>
|
|
1898
|
-
* </li>
|
|
1899
|
-
* <li>
|
|
1900
|
-
* <p>A <code>TargetString</code> of <code>login</code>
|
|
1901
|
-
* </p>
|
|
1902
|
-
* </li>
|
|
1903
|
-
* </ul>
|
|
1904
|
-
* <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
|
|
1905
|
-
* <p>By adding this <code>RateBasedRule</code> to a <code>WebACL</code>, you could limit requests to your login page without affecting the rest of your site.</p>
|
|
490
|
+
* @see {@link UpdateRateBasedRuleCommand}
|
|
1906
491
|
*/
|
|
1907
492
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRateBasedRuleCommandOutput>;
|
|
1908
493
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void): void;
|
|
1909
494
|
updateRateBasedRule(args: UpdateRateBasedRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRateBasedRuleCommandOutput) => void): void;
|
|
1910
495
|
/**
|
|
1911
|
-
* @
|
|
1912
|
-
* <note>
|
|
1913
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1914
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1915
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1916
|
-
* <p>
|
|
1917
|
-
* <b>For the latest version of AWS
|
|
1918
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1919
|
-
* </note>
|
|
1920
|
-
* <p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object,
|
|
1921
|
-
* you specify the following values: </p>
|
|
1922
|
-
* <ul>
|
|
1923
|
-
* <li>
|
|
1924
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object,
|
|
1925
|
-
* you delete the existing object and add a new one.</p>
|
|
1926
|
-
* </li>
|
|
1927
|
-
* <li>
|
|
1928
|
-
* <p>The part of a web request that you want AWS WAF to inspectupdate, such as a query string or the value of the <code>User-Agent</code> header. </p>
|
|
1929
|
-
* </li>
|
|
1930
|
-
* <li>
|
|
1931
|
-
* <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p>
|
|
1932
|
-
* </li>
|
|
1933
|
-
* <li>
|
|
1934
|
-
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1935
|
-
* </li>
|
|
1936
|
-
* </ul>
|
|
1937
|
-
* <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers
|
|
1938
|
-
* that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
|
|
1939
|
-
* <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
|
|
1940
|
-
* <ol>
|
|
1941
|
-
* <li>
|
|
1942
|
-
* <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p>
|
|
1943
|
-
* </li>
|
|
1944
|
-
* <li>
|
|
1945
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
1946
|
-
* <code>UpdateRegexMatchSet</code> request.</p>
|
|
1947
|
-
* </li>
|
|
1948
|
-
* <li>
|
|
1949
|
-
* <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
1950
|
-
* (for example, the header or the URI) and the identifier of the <code>RegexPatternSet</code> that contain the regular expression patters you want AWS WAF to watch for.</p>
|
|
1951
|
-
* </li>
|
|
1952
|
-
* </ol>
|
|
1953
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
1954
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
496
|
+
* @see {@link UpdateRegexMatchSetCommand}
|
|
1955
497
|
*/
|
|
1956
498
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexMatchSetCommandOutput>;
|
|
1957
499
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void): void;
|
|
1958
500
|
updateRegexMatchSet(args: UpdateRegexMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexMatchSetCommandOutput) => void): void;
|
|
1959
501
|
/**
|
|
1960
|
-
* @
|
|
1961
|
-
* <note>
|
|
1962
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1963
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
1964
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
1965
|
-
* <p>
|
|
1966
|
-
* <b>For the latest version of AWS
|
|
1967
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1968
|
-
* </note>
|
|
1969
|
-
* <p>Inserts or deletes <code>RegexPatternString</code> objects in a <a>RegexPatternSet</a>. For each <code>RegexPatternString</code> object,
|
|
1970
|
-
* you specify the following values: </p>
|
|
1971
|
-
* <ul>
|
|
1972
|
-
* <li>
|
|
1973
|
-
* <p>Whether to insert or delete the <code>RegexPatternString</code>.</p>
|
|
1974
|
-
* </li>
|
|
1975
|
-
* <li>
|
|
1976
|
-
* <p>The regular expression pattern that you want to insert or delete. For more information, see <a>RegexPatternSet</a>. </p>
|
|
1977
|
-
* </li>
|
|
1978
|
-
* </ul>
|
|
1979
|
-
* <p> For example, you can create a <code>RegexPatternString</code> such as <code>B[a@]dB[o0]t</code>. AWS WAF will match this <code>RegexPatternString</code> to:</p>
|
|
1980
|
-
* <ul>
|
|
1981
|
-
* <li>
|
|
1982
|
-
* <p>BadBot</p>
|
|
1983
|
-
* </li>
|
|
1984
|
-
* <li>
|
|
1985
|
-
* <p>BadB0t</p>
|
|
1986
|
-
* </li>
|
|
1987
|
-
* <li>
|
|
1988
|
-
* <p>B@dBot</p>
|
|
1989
|
-
* </li>
|
|
1990
|
-
* <li>
|
|
1991
|
-
* <p>B@dB0t</p>
|
|
1992
|
-
* </li>
|
|
1993
|
-
* </ul>
|
|
1994
|
-
* <p>To create and configure a <code>RegexPatternSet</code>, perform the following steps:</p>
|
|
1995
|
-
* <ol>
|
|
1996
|
-
* <li>
|
|
1997
|
-
* <p>Create a <code>RegexPatternSet.</code> For more information, see <a>CreateRegexPatternSet</a>.</p>
|
|
1998
|
-
* </li>
|
|
1999
|
-
* <li>
|
|
2000
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2001
|
-
* <code>UpdateRegexPatternSet</code> request.</p>
|
|
2002
|
-
* </li>
|
|
2003
|
-
* <li>
|
|
2004
|
-
* <p>Submit an <code>UpdateRegexPatternSet</code> request to specify the regular expression pattern that you want AWS WAF to watch for.</p>
|
|
2005
|
-
* </li>
|
|
2006
|
-
* </ol>
|
|
2007
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2008
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
502
|
+
* @see {@link UpdateRegexPatternSetCommand}
|
|
2009
503
|
*/
|
|
2010
504
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRegexPatternSetCommandOutput>;
|
|
2011
505
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
2012
506
|
updateRegexPatternSet(args: UpdateRegexPatternSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRegexPatternSetCommandOutput) => void): void;
|
|
2013
507
|
/**
|
|
2014
|
-
* @
|
|
2015
|
-
* <note>
|
|
2016
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2017
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2018
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2019
|
-
* <p>
|
|
2020
|
-
* <b>For the latest version of AWS
|
|
2021
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2022
|
-
* </note>
|
|
2023
|
-
* <p>Inserts or deletes <a>Predicate</a> objects in a <code>Rule</code>. Each
|
|
2024
|
-
* <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
|
|
2025
|
-
* that you want to allow, block, or count. If you add more than one predicate to a
|
|
2026
|
-
* <code>Rule</code>, a request must match all of the specifications to be allowed,
|
|
2027
|
-
* blocked, or counted. For example, suppose
|
|
2028
|
-
* that
|
|
2029
|
-
* you add the following to a <code>Rule</code>: </p>
|
|
2030
|
-
* <ul>
|
|
2031
|
-
* <li>
|
|
2032
|
-
* <p>A <code>ByteMatchSet</code> that matches the value <code>BadBot</code> in the <code>User-Agent</code> header</p>
|
|
2033
|
-
* </li>
|
|
2034
|
-
* <li>
|
|
2035
|
-
* <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44</code>
|
|
2036
|
-
* </p>
|
|
2037
|
-
* </li>
|
|
2038
|
-
* </ul>
|
|
2039
|
-
* <p>You then add the <code>Rule</code> to a <code>WebACL</code> and specify that you want to block requests that satisfy the <code>Rule</code>.
|
|
2040
|
-
* For a request to be blocked, the <code>User-Agent</code> header in the request must contain the value <code>BadBot</code>
|
|
2041
|
-
* <i>and</i> the request must originate from the IP address 192.0.2.44.</p>
|
|
2042
|
-
* <p>To create and configure a <code>Rule</code>, perform the following steps:</p>
|
|
2043
|
-
* <ol>
|
|
2044
|
-
* <li>
|
|
2045
|
-
* <p>Create and update the predicates that you want to include in the <code>Rule</code>.</p>
|
|
2046
|
-
* </li>
|
|
2047
|
-
* <li>
|
|
2048
|
-
* <p>Create the <code>Rule</code>. See <a>CreateRule</a>.</p>
|
|
2049
|
-
* </li>
|
|
2050
|
-
* <li>
|
|
2051
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2052
|
-
* <a>UpdateRule</a> request.</p>
|
|
2053
|
-
* </li>
|
|
2054
|
-
* <li>
|
|
2055
|
-
* <p>Submit an <code>UpdateRule</code> request to add predicates to the <code>Rule</code>.</p>
|
|
2056
|
-
* </li>
|
|
2057
|
-
* <li>
|
|
2058
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>Rule</code>. See <a>CreateWebACL</a>.</p>
|
|
2059
|
-
* </li>
|
|
2060
|
-
* </ol>
|
|
2061
|
-
* <p>If you want to replace one <code>ByteMatchSet</code> or <code>IPSet</code> with another, you delete the existing one and
|
|
2062
|
-
* add the new one.</p>
|
|
2063
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2064
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
508
|
+
* @see {@link UpdateRuleCommand}
|
|
2065
509
|
*/
|
|
2066
510
|
updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
|
|
2067
511
|
updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
2068
512
|
updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
|
|
2069
513
|
/**
|
|
2070
|
-
* @
|
|
2071
|
-
* <note>
|
|
2072
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2073
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2074
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2075
|
-
* <p>
|
|
2076
|
-
* <b>For the latest version of AWS
|
|
2077
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2078
|
-
* </note>
|
|
2079
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>RuleGroup</code>.</p>
|
|
2080
|
-
* <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
|
|
2081
|
-
* <p>You can have a maximum of ten rules per rule group.</p>
|
|
2082
|
-
*
|
|
2083
|
-
*
|
|
2084
|
-
* <p>To create and configure a <code>RuleGroup</code>, perform the following steps:</p>
|
|
2085
|
-
* <ol>
|
|
2086
|
-
* <li>
|
|
2087
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>RuleGroup</code>. See <a>CreateRule</a>.</p>
|
|
2088
|
-
* </li>
|
|
2089
|
-
* <li>
|
|
2090
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2091
|
-
* <a>UpdateRuleGroup</a> request.</p>
|
|
2092
|
-
* </li>
|
|
2093
|
-
* <li>
|
|
2094
|
-
* <p>Submit an <code>UpdateRuleGroup</code> request to add <code>Rules</code> to the <code>RuleGroup</code>.</p>
|
|
2095
|
-
* </li>
|
|
2096
|
-
* <li>
|
|
2097
|
-
* <p>Create and update a <code>WebACL</code> that contains the <code>RuleGroup</code>. See <a>CreateWebACL</a>.</p>
|
|
2098
|
-
* </li>
|
|
2099
|
-
* </ol>
|
|
2100
|
-
* <p>If you want to replace one <code>Rule</code> with another, you delete the existing one and
|
|
2101
|
-
* add the new one.</p>
|
|
2102
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2103
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
514
|
+
* @see {@link UpdateRuleGroupCommand}
|
|
2104
515
|
*/
|
|
2105
516
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleGroupCommandOutput>;
|
|
2106
517
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
2107
518
|
updateRuleGroup(args: UpdateRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void): void;
|
|
2108
519
|
/**
|
|
2109
|
-
* @
|
|
2110
|
-
* <note>
|
|
2111
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2112
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2113
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2114
|
-
* <p>
|
|
2115
|
-
* <b>For the latest version of AWS
|
|
2116
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2117
|
-
* </note>
|
|
2118
|
-
* <p>Inserts or deletes <a>SizeConstraint</a> objects (filters) in a <a>SizeConstraintSet</a>. For each <code>SizeConstraint</code> object,
|
|
2119
|
-
* you specify the following values: </p>
|
|
2120
|
-
* <ul>
|
|
2121
|
-
* <li>
|
|
2122
|
-
* <p>Whether to insert or delete the object from the array. If you want to change a <code>SizeConstraintSetUpdate</code> object,
|
|
2123
|
-
* you delete the existing object and add a new one.</p>
|
|
2124
|
-
* </li>
|
|
2125
|
-
* <li>
|
|
2126
|
-
* <p>The part of a web request that you want AWS WAF to evaluate, such as the length of a query string or the length of the
|
|
2127
|
-
* <code>User-Agent</code> header.</p>
|
|
2128
|
-
* </li>
|
|
2129
|
-
* <li>
|
|
2130
|
-
* <p>Whether to perform any transformations on the request, such as converting it to lowercase, before checking its length.
|
|
2131
|
-
* Note that transformations of the request body are not supported because the AWS resource forwards only the first <code>8192</code> bytes
|
|
2132
|
-
* of your request to AWS WAF.</p>
|
|
2133
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2134
|
-
* </li>
|
|
2135
|
-
* <li>
|
|
2136
|
-
* <p>A <code>ComparisonOperator</code> used for evaluating the selected part of the request against the specified <code>Size</code>, such as
|
|
2137
|
-
* equals, greater than, less than, and so on.</p>
|
|
2138
|
-
* </li>
|
|
2139
|
-
* <li>
|
|
2140
|
-
* <p>The length, in bytes, that you want AWS WAF to watch for in selected part of the request. The length is computed after applying the transformation.</p>
|
|
2141
|
-
* </li>
|
|
2142
|
-
* </ul>
|
|
2143
|
-
* <p>For example, you can add a <code>SizeConstraintSetUpdate</code> object that matches web requests in which the length of the
|
|
2144
|
-
* <code>User-Agent</code> header is greater than 100 bytes. You can then configure AWS WAF to block those requests.</p>
|
|
2145
|
-
* <p>To create and configure a <code>SizeConstraintSet</code>, perform the following steps:</p>
|
|
2146
|
-
* <ol>
|
|
2147
|
-
* <li>
|
|
2148
|
-
* <p>Create a <code>SizeConstraintSet.</code> For more information, see <a>CreateSizeConstraintSet</a>.</p>
|
|
2149
|
-
* </li>
|
|
2150
|
-
* <li>
|
|
2151
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2152
|
-
* <code>UpdateSizeConstraintSet</code> request.</p>
|
|
2153
|
-
* </li>
|
|
2154
|
-
* <li>
|
|
2155
|
-
* <p>Submit an <code>UpdateSizeConstraintSet</code> request to specify the part of the request that you want AWS WAF to inspect
|
|
2156
|
-
* (for example, the header or the URI) and the value that you want AWS WAF to watch for.</p>
|
|
2157
|
-
* </li>
|
|
2158
|
-
* </ol>
|
|
2159
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2160
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
520
|
+
* @see {@link UpdateSizeConstraintSetCommand}
|
|
2161
521
|
*/
|
|
2162
522
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSizeConstraintSetCommandOutput>;
|
|
2163
523
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void): void;
|
|
2164
524
|
updateSizeConstraintSet(args: UpdateSizeConstraintSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSizeConstraintSetCommandOutput) => void): void;
|
|
2165
525
|
/**
|
|
2166
|
-
* @
|
|
2167
|
-
* <note>
|
|
2168
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2169
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2170
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2171
|
-
* <p>
|
|
2172
|
-
* <b>For the latest version of AWS
|
|
2173
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2174
|
-
* </note>
|
|
2175
|
-
* <p>Inserts or deletes <a>SqlInjectionMatchTuple</a> objects (filters) in a <a>SqlInjectionMatchSet</a>.
|
|
2176
|
-
* For each <code>SqlInjectionMatchTuple</code> object, you specify the following values:</p>
|
|
2177
|
-
* <ul>
|
|
2178
|
-
* <li>
|
|
2179
|
-
* <p>
|
|
2180
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the array. To change a
|
|
2181
|
-
* <code>SqlInjectionMatchTuple</code>, you delete the existing object and add a new one.</p>
|
|
2182
|
-
* </li>
|
|
2183
|
-
* <li>
|
|
2184
|
-
* <p>
|
|
2185
|
-
* <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
|
|
2186
|
-
* the name of the header or parameter.</p>
|
|
2187
|
-
* </li>
|
|
2188
|
-
* <li>
|
|
2189
|
-
* <p>
|
|
2190
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
2191
|
-
* inspecting the request for snippets of malicious SQL code.</p>
|
|
2192
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2193
|
-
* </li>
|
|
2194
|
-
* </ul>
|
|
2195
|
-
* <p>You use <code>SqlInjectionMatchSet</code> objects to specify which CloudFront
|
|
2196
|
-
* requests that
|
|
2197
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
2198
|
-
* requests that contain snippets of SQL code in the query string and you want to block the
|
|
2199
|
-
* requests, you can create a <code>SqlInjectionMatchSet</code> with the applicable settings,
|
|
2200
|
-
* and then configure AWS WAF to block the requests. </p>
|
|
2201
|
-
* <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
|
|
2202
|
-
* <ol>
|
|
2203
|
-
* <li>
|
|
2204
|
-
* <p>Submit a <a>CreateSqlInjectionMatchSet</a> request.</p>
|
|
2205
|
-
* </li>
|
|
2206
|
-
* <li>
|
|
2207
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2208
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
2209
|
-
* </li>
|
|
2210
|
-
* <li>
|
|
2211
|
-
* <p>Submit an <code>UpdateSqlInjectionMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
2212
|
-
* inspect for snippets of SQL code.</p>
|
|
2213
|
-
* </li>
|
|
2214
|
-
* </ol>
|
|
2215
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2216
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
526
|
+
* @see {@link UpdateSqlInjectionMatchSetCommand}
|
|
2217
527
|
*/
|
|
2218
528
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSqlInjectionMatchSetCommandOutput>;
|
|
2219
529
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
2220
530
|
updateSqlInjectionMatchSet(args: UpdateSqlInjectionMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSqlInjectionMatchSetCommandOutput) => void): void;
|
|
2221
531
|
/**
|
|
2222
|
-
* @
|
|
2223
|
-
* <note>
|
|
2224
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2225
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2226
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2227
|
-
* <p>
|
|
2228
|
-
* <b>For the latest version of AWS
|
|
2229
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2230
|
-
* </note>
|
|
2231
|
-
* <p>Inserts or deletes <a>ActivatedRule</a> objects in a <code>WebACL</code>. Each <code>Rule</code> identifies
|
|
2232
|
-
* web requests that you want to allow, block, or count. When you update a <code>WebACL</code>, you specify the following values:</p>
|
|
2233
|
-
* <ul>
|
|
2234
|
-
* <li>
|
|
2235
|
-
* <p>A default action for the <code>WebACL</code>, either <code>ALLOW</code> or <code>BLOCK</code>.
|
|
2236
|
-
* AWS WAF performs the default action if a request doesn't match the criteria in any of the <code>Rules</code> in a <code>WebACL</code>.</p>
|
|
2237
|
-
* </li>
|
|
2238
|
-
* <li>
|
|
2239
|
-
* <p>The <code>Rules</code> that you want to add
|
|
2240
|
-
* or
|
|
2241
|
-
* delete. If you want to replace one <code>Rule</code> with another, you delete the
|
|
2242
|
-
* existing <code>Rule</code> and add the new one.</p>
|
|
2243
|
-
* </li>
|
|
2244
|
-
* <li>
|
|
2245
|
-
* <p>For each <code>Rule</code>, whether you want AWS WAF to allow requests, block requests, or count requests that match
|
|
2246
|
-
* the conditions in the <code>Rule</code>.</p>
|
|
2247
|
-
* </li>
|
|
2248
|
-
* <li>
|
|
2249
|
-
* <p>The order in which you want AWS WAF to evaluate the <code>Rules</code> in a
|
|
2250
|
-
* <code>WebACL</code>. If you add more than one <code>Rule</code> to a
|
|
2251
|
-
* <code>WebACL</code>, AWS WAF evaluates each request against the <code>Rules</code>
|
|
2252
|
-
* in order based on the value of <code>Priority</code>. (The <code>Rule</code> that has
|
|
2253
|
-
* the lowest value for <code>Priority</code> is evaluated first.) When a web request
|
|
2254
|
-
* matches all
|
|
2255
|
-
* the
|
|
2256
|
-
* predicates (such as <code>ByteMatchSets</code> and <code>IPSets</code>) in a
|
|
2257
|
-
* <code>Rule</code>, AWS WAF immediately takes the corresponding action, allow or
|
|
2258
|
-
* block, and doesn't evaluate the request against the remaining <code>Rules</code> in
|
|
2259
|
-
* the <code>WebACL</code>, if any. </p>
|
|
2260
|
-
* </li>
|
|
2261
|
-
* </ul>
|
|
2262
|
-
*
|
|
2263
|
-
* <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
|
|
2264
|
-
* <ol>
|
|
2265
|
-
* <li>
|
|
2266
|
-
* <p>Create and update the predicates that you want to include in <code>Rules</code>.
|
|
2267
|
-
* For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
|
|
2268
|
-
* <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
|
|
2269
|
-
* </li>
|
|
2270
|
-
* <li>
|
|
2271
|
-
* <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
|
|
2272
|
-
* <a>CreateRule</a> and <a>UpdateRule</a>.</p>
|
|
2273
|
-
* </li>
|
|
2274
|
-
* <li>
|
|
2275
|
-
* <p>Create a <code>WebACL</code>. See <a>CreateWebACL</a>.</p>
|
|
2276
|
-
* </li>
|
|
2277
|
-
* <li>
|
|
2278
|
-
* <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2279
|
-
* <a>UpdateWebACL</a> request.</p>
|
|
2280
|
-
* </li>
|
|
2281
|
-
* <li>
|
|
2282
|
-
* <p>Submit an <code>UpdateWebACL</code> request to specify the <code>Rules</code>
|
|
2283
|
-
* that you want to include in the <code>WebACL</code>, to specify the default action,
|
|
2284
|
-
* and to associate the <code>WebACL</code> with a CloudFront distribution. </p>
|
|
2285
|
-
* <p>The <code>ActivatedRule</code> can be a rule group. If you specify a rule group
|
|
2286
|
-
* as your
|
|
2287
|
-
* <code>ActivatedRule</code>
|
|
2288
|
-
* ,
|
|
2289
|
-
* you can exclude specific rules from that rule group.</p>
|
|
2290
|
-
* <p>If you already have a rule group associated with a web ACL and want to submit
|
|
2291
|
-
* an <code>UpdateWebACL</code> request to exclude certain rules from that rule group,
|
|
2292
|
-
* you must first remove the rule group from the web ACL, the re-insert it again,
|
|
2293
|
-
* specifying the excluded rules.
|
|
2294
|
-
* For details,
|
|
2295
|
-
* see
|
|
2296
|
-
* <a>ActivatedRule$ExcludedRules</a>
|
|
2297
|
-
* .
|
|
2298
|
-
* </p>
|
|
2299
|
-
* </li>
|
|
2300
|
-
* </ol>
|
|
2301
|
-
* <p>Be aware that if you try to add a RATE_BASED rule to a web ACL without setting the rule type when first creating the rule, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule (the default rule type) with the specified ID, which does not exist. </p>
|
|
2302
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
532
|
+
* @see {@link UpdateWebACLCommand}
|
|
2303
533
|
*/
|
|
2304
534
|
updateWebACL(args: UpdateWebACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWebACLCommandOutput>;
|
|
2305
535
|
updateWebACL(args: UpdateWebACLCommandInput, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
2306
536
|
updateWebACL(args: UpdateWebACLCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWebACLCommandOutput) => void): void;
|
|
2307
537
|
/**
|
|
2308
|
-
* @
|
|
2309
|
-
* <note>
|
|
2310
|
-
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2311
|
-
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
2312
|
-
* WAF Classic</a> in the developer guide.</p>
|
|
2313
|
-
* <p>
|
|
2314
|
-
* <b>For the latest version of AWS
|
|
2315
|
-
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
2316
|
-
* </note>
|
|
2317
|
-
* <p>Inserts or deletes <a>XssMatchTuple</a> objects (filters) in an <a>XssMatchSet</a>.
|
|
2318
|
-
* For each <code>XssMatchTuple</code> object, you specify the following values:</p>
|
|
2319
|
-
* <ul>
|
|
2320
|
-
* <li>
|
|
2321
|
-
* <p>
|
|
2322
|
-
* <code>Action</code>: Whether to insert the object into or delete the object from the
|
|
2323
|
-
* array. To change an
|
|
2324
|
-
* <code>XssMatchTuple</code>, you delete the existing object and add a new
|
|
2325
|
-
* one.</p>
|
|
2326
|
-
* </li>
|
|
2327
|
-
* <li>
|
|
2328
|
-
* <p>
|
|
2329
|
-
* <code>FieldToMatch</code>: The part of web requests that you want AWS WAF to inspect and, if you want AWS WAF to inspect a header or custom query parameter,
|
|
2330
|
-
* the name of the header or parameter.</p>
|
|
2331
|
-
* </li>
|
|
2332
|
-
* <li>
|
|
2333
|
-
* <p>
|
|
2334
|
-
* <code>TextTransformation</code>: Which text transformation, if any, to perform on the web request before
|
|
2335
|
-
* inspecting the request for cross-site scripting attacks.</p>
|
|
2336
|
-
* <p>You can only specify a single type of TextTransformation.</p>
|
|
2337
|
-
* </li>
|
|
2338
|
-
* </ul>
|
|
2339
|
-
* <p>You use <code>XssMatchSet</code> objects to specify which CloudFront requests
|
|
2340
|
-
* that
|
|
2341
|
-
* you want to allow, block, or count. For example, if you're receiving
|
|
2342
|
-
* requests that contain cross-site scripting attacks in the request body and you want to
|
|
2343
|
-
* block the requests, you can create an <code>XssMatchSet</code> with the applicable
|
|
2344
|
-
* settings, and then configure AWS WAF to block the requests. </p>
|
|
2345
|
-
* <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
|
|
2346
|
-
* <ol>
|
|
2347
|
-
* <li>
|
|
2348
|
-
* <p>Submit a <a>CreateXssMatchSet</a> request.</p>
|
|
2349
|
-
* </li>
|
|
2350
|
-
* <li>
|
|
2351
|
-
* <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
|
|
2352
|
-
* <a>UpdateIPSet</a> request.</p>
|
|
2353
|
-
* </li>
|
|
2354
|
-
* <li>
|
|
2355
|
-
* <p>Submit an <code>UpdateXssMatchSet</code> request to specify the parts of web requests that you want AWS WAF to
|
|
2356
|
-
* inspect for cross-site scripting attacks.</p>
|
|
2357
|
-
* </li>
|
|
2358
|
-
* </ol>
|
|
2359
|
-
* <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
|
|
2360
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
|
|
538
|
+
* @see {@link UpdateXssMatchSetCommand}
|
|
2361
539
|
*/
|
|
2362
540
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateXssMatchSetCommandOutput>;
|
|
2363
541
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void): void;
|
|
2364
542
|
updateXssMatchSet(args: UpdateXssMatchSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateXssMatchSetCommandOutput) => void): void;
|
|
2365
543
|
}
|
|
544
|
+
/**
|
|
545
|
+
* @public
|
|
546
|
+
* <note>
|
|
547
|
+
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
548
|
+
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
549
|
+
* WAF Classic</a> in the developer guide.</p>
|
|
550
|
+
* <p>
|
|
551
|
+
* <b>For the latest version of AWS
|
|
552
|
+
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
553
|
+
* </note>
|
|
554
|
+
* <p>This is the <i>AWS WAF Classic API Reference</i> for using AWS WAF Classic with Amazon CloudFront. The AWS WAF Classic actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint <i>waf.amazonaws.com</i>. This guide is for developers who need detailed information about the AWS WAF Classic API actions,
|
|
555
|
+
* data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the
|
|
556
|
+
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS WAF Classic</a> in the developer guide.</p>
|
|
557
|
+
*/
|
|
558
|
+
export declare class WAF extends WAFClient implements WAF {
|
|
559
|
+
}
|