@aws-sdk/client-waf-regional 3.775.0 → 3.777.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -0
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +12 -12
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +15 -15
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +15 -15
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +13 -13
- package/dist-types/commands/CreateWebACLCommand.d.ts +20 -20
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +1 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +13 -13
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -6
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -6
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +14 -14
- package/dist-types/commands/GetChangeTokenCommand.d.ts +5 -5
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +5 -5
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +10 -10
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +1 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/GetRuleCommand.d.ts +12 -12
- package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -45
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +13 -13
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +11 -11
- package/dist-types/commands/GetWebACLCommand.d.ts +15 -15
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +11 -11
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +1 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListRulesCommand.d.ts +7 -7
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +7 -7
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -7
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +15 -15
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +11 -11
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +12 -12
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +14 -14
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +12 -12
- package/dist-types/commands/UpdateWebACLCommand.d.ts +15 -15
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +12 -12
- package/package.json +2 -2
|
@@ -114,6 +114,7 @@ declare const AssociateWebACLCommand_base: {
|
|
|
114
114
|
* @throws {@link WAFRegionalServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
116
116
|
*
|
|
117
|
+
*
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class AssociateWebACLCommand extends AssociateWebACLCommand_base {
|
|
@@ -158,6 +158,7 @@ declare const CreateByteMatchSetCommand_base: {
|
|
|
158
158
|
* @throws {@link WAFRegionalServiceException}
|
|
159
159
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
160
160
|
*
|
|
161
|
+
*
|
|
161
162
|
* @public
|
|
162
163
|
*/
|
|
163
164
|
export declare class CreateByteMatchSetCommand extends CreateByteMatchSetCommand_base {
|
|
@@ -150,6 +150,7 @@ declare const CreateGeoMatchSetCommand_base: {
|
|
|
150
150
|
* @throws {@link WAFRegionalServiceException}
|
|
151
151
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
152
152
|
*
|
|
153
|
+
*
|
|
153
154
|
* @public
|
|
154
155
|
*/
|
|
155
156
|
export declare class CreateGeoMatchSetCommand extends CreateGeoMatchSetCommand_base {
|
|
@@ -155,34 +155,34 @@ declare const CreateIPSetCommand_base: {
|
|
|
155
155
|
* @throws {@link WAFRegionalServiceException}
|
|
156
156
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
157
157
|
*
|
|
158
|
-
*
|
|
158
|
+
*
|
|
159
159
|
* @example To create an IP set
|
|
160
160
|
* ```javascript
|
|
161
161
|
* // The following example creates an IP match set named MyIPSetFriendlyName.
|
|
162
162
|
* const input = {
|
|
163
|
-
*
|
|
164
|
-
*
|
|
163
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
164
|
+
* Name: "MyIPSetFriendlyName"
|
|
165
165
|
* };
|
|
166
166
|
* const command = new CreateIPSetCommand(input);
|
|
167
167
|
* const response = await client.send(command);
|
|
168
|
-
* /* response
|
|
168
|
+
* /* response is
|
|
169
169
|
* {
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
170
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
171
|
+
* IPSet: {
|
|
172
|
+
* IPSetDescriptors: [
|
|
173
173
|
* {
|
|
174
|
-
*
|
|
175
|
-
*
|
|
174
|
+
* Type: "IPV4",
|
|
175
|
+
* Value: "192.0.2.44/32"
|
|
176
176
|
* }
|
|
177
177
|
* ],
|
|
178
|
-
*
|
|
179
|
-
*
|
|
178
|
+
* IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
179
|
+
* Name: "MyIPSetFriendlyName"
|
|
180
180
|
* }
|
|
181
181
|
* }
|
|
182
182
|
* *\/
|
|
183
|
-
* // example id: createipset-1472501003122
|
|
184
183
|
* ```
|
|
185
184
|
*
|
|
185
|
+
* @public
|
|
186
186
|
*/
|
|
187
187
|
export declare class CreateIPSetCommand extends CreateIPSetCommand_base {
|
|
188
188
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -234,6 +234,7 @@ declare const CreateRateBasedRuleCommand_base: {
|
|
|
234
234
|
* @throws {@link WAFRegionalServiceException}
|
|
235
235
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
236
236
|
*
|
|
237
|
+
*
|
|
237
238
|
* @public
|
|
238
239
|
*/
|
|
239
240
|
export declare class CreateRateBasedRuleCommand extends CreateRateBasedRuleCommand_base {
|
|
@@ -114,6 +114,7 @@ declare const CreateRegexMatchSetCommand_base: {
|
|
|
114
114
|
* @throws {@link WAFRegionalServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
116
116
|
*
|
|
117
|
+
*
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class CreateRegexMatchSetCommand extends CreateRegexMatchSetCommand_base {
|
|
@@ -103,6 +103,7 @@ declare const CreateRegexPatternSetCommand_base: {
|
|
|
103
103
|
* @throws {@link WAFRegionalServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
105
105
|
*
|
|
106
|
+
*
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class CreateRegexPatternSetCommand extends CreateRegexPatternSetCommand_base {
|
|
@@ -188,37 +188,37 @@ declare const CreateRuleCommand_base: {
|
|
|
188
188
|
* @throws {@link WAFRegionalServiceException}
|
|
189
189
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
190
190
|
*
|
|
191
|
-
*
|
|
191
|
+
*
|
|
192
192
|
* @example To create a rule
|
|
193
193
|
* ```javascript
|
|
194
194
|
* // The following example creates a rule named WAFByteHeaderRule.
|
|
195
195
|
* const input = {
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
196
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
197
|
+
* MetricName: "WAFByteHeaderRule",
|
|
198
|
+
* Name: "WAFByteHeaderRule"
|
|
199
199
|
* };
|
|
200
200
|
* const command = new CreateRuleCommand(input);
|
|
201
201
|
* const response = await client.send(command);
|
|
202
|
-
* /* response
|
|
202
|
+
* /* response is
|
|
203
203
|
* {
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
204
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
205
|
+
* Rule: {
|
|
206
|
+
* MetricName: "WAFByteHeaderRule",
|
|
207
|
+
* Name: "WAFByteHeaderRule",
|
|
208
|
+
* Predicates: [
|
|
209
209
|
* {
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
210
|
+
* DataId: "MyByteMatchSetID",
|
|
211
|
+
* Negated: false,
|
|
212
|
+
* Type: "ByteMatch"
|
|
213
213
|
* }
|
|
214
214
|
* ],
|
|
215
|
-
*
|
|
215
|
+
* RuleId: "WAFRule-1-Example"
|
|
216
216
|
* }
|
|
217
217
|
* }
|
|
218
218
|
* *\/
|
|
219
|
-
* // example id: createrule-1474072675555
|
|
220
219
|
* ```
|
|
221
220
|
*
|
|
221
|
+
* @public
|
|
222
222
|
*/
|
|
223
223
|
export declare class CreateRuleCommand extends CreateRuleCommand_base {
|
|
224
224
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -112,6 +112,7 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
112
112
|
* @throws {@link WAFRegionalServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class CreateRuleGroupCommand extends CreateRuleGroupCommand_base {
|
|
@@ -158,38 +158,38 @@ declare const CreateSizeConstraintSetCommand_base: {
|
|
|
158
158
|
* @throws {@link WAFRegionalServiceException}
|
|
159
159
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
160
160
|
*
|
|
161
|
-
*
|
|
161
|
+
*
|
|
162
162
|
* @example To create a size constraint
|
|
163
163
|
* ```javascript
|
|
164
164
|
* // The following example creates size constraint set named MySampleSizeConstraintSet.
|
|
165
165
|
* const input = {
|
|
166
|
-
*
|
|
167
|
-
*
|
|
166
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
167
|
+
* Name: "MySampleSizeConstraintSet"
|
|
168
168
|
* };
|
|
169
169
|
* const command = new CreateSizeConstraintSetCommand(input);
|
|
170
170
|
* const response = await client.send(command);
|
|
171
|
-
* /* response
|
|
171
|
+
* /* response is
|
|
172
172
|
* {
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
173
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
174
|
+
* SizeConstraintSet: {
|
|
175
|
+
* Name: "MySampleSizeConstraintSet",
|
|
176
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
177
|
+
* SizeConstraints: [
|
|
178
178
|
* {
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
179
|
+
* ComparisonOperator: "GT",
|
|
180
|
+
* FieldToMatch: {
|
|
181
|
+
* Type: "QUERY_STRING"
|
|
182
182
|
* },
|
|
183
|
-
*
|
|
184
|
-
*
|
|
183
|
+
* Size: 0,
|
|
184
|
+
* TextTransformation: "NONE"
|
|
185
185
|
* }
|
|
186
186
|
* ]
|
|
187
187
|
* }
|
|
188
188
|
* }
|
|
189
189
|
* *\/
|
|
190
|
-
* // example id: createsizeconstraint-1474299140754
|
|
191
190
|
* ```
|
|
192
191
|
*
|
|
192
|
+
* @public
|
|
193
193
|
*/
|
|
194
194
|
export declare class CreateSizeConstraintSetCommand extends CreateSizeConstraintSetCommand_base {
|
|
195
195
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -154,36 +154,36 @@ declare const CreateSqlInjectionMatchSetCommand_base: {
|
|
|
154
154
|
* @throws {@link WAFRegionalServiceException}
|
|
155
155
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
*
|
|
158
158
|
* @example To create a SQL injection match set
|
|
159
159
|
* ```javascript
|
|
160
160
|
* // The following example creates a SQL injection match set named MySQLInjectionMatchSet.
|
|
161
161
|
* const input = {
|
|
162
|
-
*
|
|
163
|
-
*
|
|
162
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
163
|
+
* Name: "MySQLInjectionMatchSet"
|
|
164
164
|
* };
|
|
165
165
|
* const command = new CreateSqlInjectionMatchSetCommand(input);
|
|
166
166
|
* const response = await client.send(command);
|
|
167
|
-
* /* response
|
|
167
|
+
* /* response is
|
|
168
168
|
* {
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
169
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
170
|
+
* SqlInjectionMatchSet: {
|
|
171
|
+
* Name: "MySQLInjectionMatchSet",
|
|
172
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
173
|
+
* SqlInjectionMatchTuples: [
|
|
174
174
|
* {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
175
|
+
* FieldToMatch: {
|
|
176
|
+
* Type: "QUERY_STRING"
|
|
177
177
|
* },
|
|
178
|
-
*
|
|
178
|
+
* TextTransformation: "URL_DECODE"
|
|
179
179
|
* }
|
|
180
180
|
* ]
|
|
181
181
|
* }
|
|
182
182
|
* }
|
|
183
183
|
* *\/
|
|
184
|
-
* // example id: createsqlinjectionmatchset-1474492796105
|
|
185
184
|
* ```
|
|
186
185
|
*
|
|
186
|
+
* @public
|
|
187
187
|
*/
|
|
188
188
|
export declare class CreateSqlInjectionMatchSetCommand extends CreateSqlInjectionMatchSetCommand_base {
|
|
189
189
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -197,45 +197,45 @@ declare const CreateWebACLCommand_base: {
|
|
|
197
197
|
* @throws {@link WAFRegionalServiceException}
|
|
198
198
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
199
199
|
*
|
|
200
|
-
*
|
|
200
|
+
*
|
|
201
201
|
* @example To create a web ACL
|
|
202
202
|
* ```javascript
|
|
203
203
|
* // The following example creates a web ACL named CreateExample.
|
|
204
204
|
* const input = {
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
205
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
206
|
+
* DefaultAction: {
|
|
207
|
+
* Type: "ALLOW"
|
|
208
208
|
* },
|
|
209
|
-
*
|
|
210
|
-
*
|
|
209
|
+
* MetricName: "CreateExample",
|
|
210
|
+
* Name: "CreateExample"
|
|
211
211
|
* };
|
|
212
212
|
* const command = new CreateWebACLCommand(input);
|
|
213
213
|
* const response = await client.send(command);
|
|
214
|
-
* /* response
|
|
214
|
+
* /* response is
|
|
215
215
|
* {
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
216
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
217
|
+
* WebACL: {
|
|
218
|
+
* DefaultAction: {
|
|
219
|
+
* Type: "ALLOW"
|
|
220
220
|
* },
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
221
|
+
* MetricName: "CreateExample",
|
|
222
|
+
* Name: "CreateExample",
|
|
223
|
+
* Rules: [
|
|
224
224
|
* {
|
|
225
|
-
*
|
|
226
|
-
*
|
|
225
|
+
* Action: {
|
|
226
|
+
* Type: "ALLOW"
|
|
227
227
|
* },
|
|
228
|
-
*
|
|
229
|
-
*
|
|
228
|
+
* Priority: 1,
|
|
229
|
+
* RuleId: "WAFRule-1-Example"
|
|
230
230
|
* }
|
|
231
231
|
* ],
|
|
232
|
-
*
|
|
232
|
+
* WebACLId: "example-46da-4444-5555-example"
|
|
233
233
|
* }
|
|
234
234
|
* }
|
|
235
235
|
* *\/
|
|
236
|
-
* // example id: createwebacl-1472061481310
|
|
237
236
|
* ```
|
|
238
237
|
*
|
|
238
|
+
* @public
|
|
239
239
|
*/
|
|
240
240
|
export declare class CreateWebACLCommand extends CreateWebACLCommand_base {
|
|
241
241
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -165,6 +165,7 @@ declare const CreateWebACLMigrationStackCommand_base: {
|
|
|
165
165
|
* @throws {@link WAFRegionalServiceException}
|
|
166
166
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
167
167
|
*
|
|
168
|
+
*
|
|
168
169
|
* @public
|
|
169
170
|
*/
|
|
170
171
|
export declare class CreateWebACLMigrationStackCommand extends CreateWebACLMigrationStackCommand_base {
|
|
@@ -154,36 +154,36 @@ declare const CreateXssMatchSetCommand_base: {
|
|
|
154
154
|
* @throws {@link WAFRegionalServiceException}
|
|
155
155
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
*
|
|
158
158
|
* @example To create an XSS match set
|
|
159
159
|
* ```javascript
|
|
160
160
|
* // The following example creates an XSS match set named MySampleXssMatchSet.
|
|
161
161
|
* const input = {
|
|
162
|
-
*
|
|
163
|
-
*
|
|
162
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
163
|
+
* Name: "MySampleXssMatchSet"
|
|
164
164
|
* };
|
|
165
165
|
* const command = new CreateXssMatchSetCommand(input);
|
|
166
166
|
* const response = await client.send(command);
|
|
167
|
-
* /* response
|
|
167
|
+
* /* response is
|
|
168
168
|
* {
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
169
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
170
|
+
* XssMatchSet: {
|
|
171
|
+
* Name: "MySampleXssMatchSet",
|
|
172
|
+
* XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
173
|
+
* XssMatchTuples: [
|
|
174
174
|
* {
|
|
175
|
-
*
|
|
176
|
-
*
|
|
175
|
+
* FieldToMatch: {
|
|
176
|
+
* Type: "QUERY_STRING"
|
|
177
177
|
* },
|
|
178
|
-
*
|
|
178
|
+
* TextTransformation: "URL_DECODE"
|
|
179
179
|
* }
|
|
180
180
|
* ]
|
|
181
181
|
* }
|
|
182
182
|
* }
|
|
183
183
|
* *\/
|
|
184
|
-
* // example id: createxssmatchset-1474560868500
|
|
185
184
|
* ```
|
|
186
185
|
*
|
|
186
|
+
* @public
|
|
187
187
|
*/
|
|
188
188
|
export declare class CreateXssMatchSetCommand extends CreateXssMatchSetCommand_base {
|
|
189
189
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -119,24 +119,24 @@ declare const DeleteByteMatchSetCommand_base: {
|
|
|
119
119
|
* @throws {@link WAFRegionalServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
121
121
|
*
|
|
122
|
-
*
|
|
122
|
+
*
|
|
123
123
|
* @example To delete a byte match set
|
|
124
124
|
* ```javascript
|
|
125
125
|
* // The following example deletes a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
|
|
126
126
|
* const input = {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
127
|
+
* ByteMatchSetId: "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5",
|
|
128
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
129
129
|
* };
|
|
130
130
|
* const command = new DeleteByteMatchSetCommand(input);
|
|
131
131
|
* const response = await client.send(command);
|
|
132
|
-
* /* response
|
|
132
|
+
* /* response is
|
|
133
133
|
* {
|
|
134
|
-
*
|
|
134
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
135
135
|
* }
|
|
136
136
|
* *\/
|
|
137
|
-
* // example id: deletebytematchset-1473367566229
|
|
138
137
|
* ```
|
|
139
138
|
*
|
|
139
|
+
* @public
|
|
140
140
|
*/
|
|
141
141
|
export declare class DeleteByteMatchSetCommand extends DeleteByteMatchSetCommand_base {
|
|
142
142
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -119,6 +119,7 @@ declare const DeleteGeoMatchSetCommand_base: {
|
|
|
119
119
|
* @throws {@link WAFRegionalServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
121
121
|
*
|
|
122
|
+
*
|
|
122
123
|
* @public
|
|
123
124
|
*/
|
|
124
125
|
export declare class DeleteGeoMatchSetCommand extends DeleteGeoMatchSetCommand_base {
|
|
@@ -119,24 +119,24 @@ declare const DeleteIPSetCommand_base: {
|
|
|
119
119
|
* @throws {@link WAFRegionalServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
121
121
|
*
|
|
122
|
-
*
|
|
122
|
+
*
|
|
123
123
|
* @example To delete an IP set
|
|
124
124
|
* ```javascript
|
|
125
125
|
* // The following example deletes an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
126
126
|
* const input = {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
127
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
128
|
+
* IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
129
129
|
* };
|
|
130
130
|
* const command = new DeleteIPSetCommand(input);
|
|
131
131
|
* const response = await client.send(command);
|
|
132
|
-
* /* response
|
|
132
|
+
* /* response is
|
|
133
133
|
* {
|
|
134
|
-
*
|
|
134
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
135
135
|
* }
|
|
136
136
|
* *\/
|
|
137
|
-
* // example id: deleteipset-1472767434306
|
|
138
137
|
* ```
|
|
139
138
|
*
|
|
139
|
+
* @public
|
|
140
140
|
*/
|
|
141
141
|
export declare class DeleteIPSetCommand extends DeleteIPSetCommand_base {
|
|
142
142
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,6 +70,7 @@ declare const DeleteLoggingConfigurationCommand_base: {
|
|
|
70
70
|
* @throws {@link WAFRegionalServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class DeleteLoggingConfigurationCommand extends DeleteLoggingConfigurationCommand_base {
|
|
@@ -70,6 +70,7 @@ declare const DeletePermissionPolicyCommand_base: {
|
|
|
70
70
|
* @throws {@link WAFRegionalServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class DeletePermissionPolicyCommand extends DeletePermissionPolicyCommand_base {
|
|
@@ -129,6 +129,7 @@ declare const DeleteRateBasedRuleCommand_base: {
|
|
|
129
129
|
* @throws {@link WAFRegionalServiceException}
|
|
130
130
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
131
131
|
*
|
|
132
|
+
*
|
|
132
133
|
* @public
|
|
133
134
|
*/
|
|
134
135
|
export declare class DeleteRateBasedRuleCommand extends DeleteRateBasedRuleCommand_base {
|
|
@@ -119,6 +119,7 @@ declare const DeleteRegexMatchSetCommand_base: {
|
|
|
119
119
|
* @throws {@link WAFRegionalServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
121
121
|
*
|
|
122
|
+
*
|
|
122
123
|
* @public
|
|
123
124
|
*/
|
|
124
125
|
export declare class DeleteRegexMatchSetCommand extends DeleteRegexMatchSetCommand_base {
|
|
@@ -105,6 +105,7 @@ declare const DeleteRegexPatternSetCommand_base: {
|
|
|
105
105
|
* @throws {@link WAFRegionalServiceException}
|
|
106
106
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
107
107
|
*
|
|
108
|
+
*
|
|
108
109
|
* @public
|
|
109
110
|
*/
|
|
110
111
|
export declare class DeleteRegexPatternSetCommand extends DeleteRegexPatternSetCommand_base {
|
|
@@ -125,24 +125,24 @@ declare const DeleteRuleCommand_base: {
|
|
|
125
125
|
* @throws {@link WAFRegionalServiceException}
|
|
126
126
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
127
127
|
*
|
|
128
|
-
*
|
|
128
|
+
*
|
|
129
129
|
* @example To delete a rule
|
|
130
130
|
* ```javascript
|
|
131
131
|
* // The following example deletes a rule with the ID WAFRule-1-Example.
|
|
132
132
|
* const input = {
|
|
133
|
-
*
|
|
134
|
-
*
|
|
133
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
134
|
+
* RuleId: "WAFRule-1-Example"
|
|
135
135
|
* };
|
|
136
136
|
* const command = new DeleteRuleCommand(input);
|
|
137
137
|
* const response = await client.send(command);
|
|
138
|
-
* /* response
|
|
138
|
+
* /* response is
|
|
139
139
|
* {
|
|
140
|
-
*
|
|
140
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
141
141
|
* }
|
|
142
142
|
* *\/
|
|
143
|
-
* // example id: deleterule-1474073108749
|
|
144
143
|
* ```
|
|
145
144
|
*
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
export declare class DeleteRuleCommand extends DeleteRuleCommand_base {
|
|
148
148
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -145,6 +145,7 @@ declare const DeleteRuleGroupCommand_base: {
|
|
|
145
145
|
* @throws {@link WAFRegionalServiceException}
|
|
146
146
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
147
147
|
*
|
|
148
|
+
*
|
|
148
149
|
* @public
|
|
149
150
|
*/
|
|
150
151
|
export declare class DeleteRuleGroupCommand extends DeleteRuleGroupCommand_base {
|
|
@@ -119,24 +119,24 @@ declare const DeleteSizeConstraintSetCommand_base: {
|
|
|
119
119
|
* @throws {@link WAFRegionalServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
121
121
|
*
|
|
122
|
-
*
|
|
122
|
+
*
|
|
123
123
|
* @example To delete a size constraint set
|
|
124
124
|
* ```javascript
|
|
125
125
|
* // The following example deletes a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
126
126
|
* const input = {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
127
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
128
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
129
129
|
* };
|
|
130
130
|
* const command = new DeleteSizeConstraintSetCommand(input);
|
|
131
131
|
* const response = await client.send(command);
|
|
132
|
-
* /* response
|
|
132
|
+
* /* response is
|
|
133
133
|
* {
|
|
134
|
-
*
|
|
134
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
135
135
|
* }
|
|
136
136
|
* *\/
|
|
137
|
-
* // example id: deletesizeconstraintset-1474299857905
|
|
138
137
|
* ```
|
|
139
138
|
*
|
|
139
|
+
* @public
|
|
140
140
|
*/
|
|
141
141
|
export declare class DeleteSizeConstraintSetCommand extends DeleteSizeConstraintSetCommand_base {
|
|
142
142
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -120,24 +120,24 @@ declare const DeleteSqlInjectionMatchSetCommand_base: {
|
|
|
120
120
|
* @throws {@link WAFRegionalServiceException}
|
|
121
121
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
122
122
|
*
|
|
123
|
-
*
|
|
123
|
+
*
|
|
124
124
|
* @example To delete a SQL injection match set
|
|
125
125
|
* ```javascript
|
|
126
126
|
* // The following example deletes a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
127
127
|
* const input = {
|
|
128
|
-
*
|
|
129
|
-
*
|
|
128
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
129
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
130
130
|
* };
|
|
131
131
|
* const command = new DeleteSqlInjectionMatchSetCommand(input);
|
|
132
132
|
* const response = await client.send(command);
|
|
133
|
-
* /* response
|
|
133
|
+
* /* response is
|
|
134
134
|
* {
|
|
135
|
-
*
|
|
135
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
136
136
|
* }
|
|
137
137
|
* *\/
|
|
138
|
-
* // example id: deletesqlinjectionmatchset-1474493373197
|
|
139
138
|
* ```
|
|
140
139
|
*
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
export declare class DeleteSqlInjectionMatchSetCommand extends DeleteSqlInjectionMatchSetCommand_base {
|
|
143
143
|
/** @internal type navigation helper, not in runtime. */
|