@aws-sdk/client-waf 3.529.1 → 3.535.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/WAF.d.ts +17 -1
- package/dist-types/WAFClient.d.ts +1 -1
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +3 -2
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateIPSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +2 -1
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +2 -1
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -1
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/CreateWebACLCommand.d.ts +2 -1
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +2 -1
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRuleCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteWebACLCommand.d.ts +2 -1
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +3 -2
- package/dist-types/commands/GetChangeTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/GetIPSetCommand.d.ts +2 -1
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +2 -1
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -1
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +2 -1
- package/dist-types/commands/GetRuleCommand.d.ts +2 -1
- package/dist-types/commands/GetRuleGroupCommand.d.ts +2 -1
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -1
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +2 -1
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/GetWebACLCommand.d.ts +2 -1
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -1
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListIPSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +2 -1
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +2 -1
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +2 -1
- package/dist-types/commands/ListRulesCommand.d.ts +2 -1
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -1
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListWebACLsCommand.d.ts +2 -1
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +2 -1
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +3 -2
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWebACLCommand.d.ts +2 -1
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +506 -506
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/WAF.d.ts +16 -0
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -14,7 +14,6 @@ export declare const WafActionType: {
|
|
|
14
14
|
*/
|
|
15
15
|
export type WafActionType = (typeof WafActionType)[keyof typeof WafActionType];
|
|
16
16
|
/**
|
|
17
|
-
* @public
|
|
18
17
|
* <note>
|
|
19
18
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
20
19
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -26,10 +25,10 @@ export type WafActionType = (typeof WafActionType)[keyof typeof WafActionType];
|
|
|
26
25
|
* <p>For the action that is associated with a rule in a <code>WebACL</code>, specifies the action that you want AWS WAF to perform when a
|
|
27
26
|
* web request matches all of the conditions in a rule. For the default action in a <code>WebACL</code>, specifies the action that you want
|
|
28
27
|
* AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a <code>WebACL</code>. </p>
|
|
28
|
+
* @public
|
|
29
29
|
*/
|
|
30
30
|
export interface WafAction {
|
|
31
31
|
/**
|
|
32
|
-
* @public
|
|
33
32
|
* <p>Specifies how you want AWS WAF to respond to requests that match the settings in a <code>Rule</code>. Valid settings include the following:</p>
|
|
34
33
|
* <ul>
|
|
35
34
|
* <li>
|
|
@@ -47,11 +46,11 @@ export interface WafAction {
|
|
|
47
46
|
* for the default action for a <code>WebACL</code>.</p>
|
|
48
47
|
* </li>
|
|
49
48
|
* </ul>
|
|
49
|
+
* @public
|
|
50
50
|
*/
|
|
51
51
|
Type: WafActionType | undefined;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* @public
|
|
55
54
|
* <note>
|
|
56
55
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
57
56
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -63,11 +62,12 @@ export interface WafAction {
|
|
|
63
62
|
* <p>The rule to exclude from a rule group. This is applicable only when the
|
|
64
63
|
* <code>ActivatedRule</code> refers to a <code>RuleGroup</code>. The rule must belong to
|
|
65
64
|
* the <code>RuleGroup</code> that is specified by the <code>ActivatedRule</code>. </p>
|
|
65
|
+
* @public
|
|
66
66
|
*/
|
|
67
67
|
export interface ExcludedRule {
|
|
68
68
|
/**
|
|
69
|
-
* @public
|
|
70
69
|
* <p>The unique identifier for the rule to exclude from the rule group.</p>
|
|
70
|
+
* @public
|
|
71
71
|
*/
|
|
72
72
|
RuleId: string | undefined;
|
|
73
73
|
}
|
|
@@ -84,7 +84,6 @@ export declare const WafOverrideActionType: {
|
|
|
84
84
|
*/
|
|
85
85
|
export type WafOverrideActionType = (typeof WafOverrideActionType)[keyof typeof WafOverrideActionType];
|
|
86
86
|
/**
|
|
87
|
-
* @public
|
|
88
87
|
* <note>
|
|
89
88
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
90
89
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -94,12 +93,13 @@ export type WafOverrideActionType = (typeof WafOverrideActionType)[keyof typeof
|
|
|
94
93
|
* 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>
|
|
95
94
|
* </note>
|
|
96
95
|
* <p>The action to take if any rule within the <code>RuleGroup</code> matches a request. </p>
|
|
96
|
+
* @public
|
|
97
97
|
*/
|
|
98
98
|
export interface WafOverrideAction {
|
|
99
99
|
/**
|
|
100
|
-
* @public
|
|
101
100
|
* <p>
|
|
102
101
|
* <code>COUNT</code> overrides the action specified by the individual rule within a <code>RuleGroup</code> . If set to <code>NONE</code>, the rule's action will take place.</p>
|
|
102
|
+
* @public
|
|
103
103
|
*/
|
|
104
104
|
Type: WafOverrideActionType | undefined;
|
|
105
105
|
}
|
|
@@ -117,7 +117,6 @@ export declare const WafRuleType: {
|
|
|
117
117
|
*/
|
|
118
118
|
export type WafRuleType = (typeof WafRuleType)[keyof typeof WafRuleType];
|
|
119
119
|
/**
|
|
120
|
-
* @public
|
|
121
120
|
* <note>
|
|
122
121
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
123
122
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -130,26 +129,26 @@ export type WafRuleType = (typeof WafRuleType)[keyof typeof WafRuleType];
|
|
|
130
129
|
* the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code>
|
|
131
130
|
* (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>
|
|
132
131
|
* <p>To specify whether to insert or delete a <code>Rule</code>, use the <code>Action</code> parameter in the <a>WebACLUpdate</a> data type.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export interface ActivatedRule {
|
|
135
135
|
/**
|
|
136
|
-
* @public
|
|
137
136
|
* <p>Specifies the order in which the <code>Rules</code> in a <code>WebACL</code> are evaluated. Rules with a lower value for
|
|
138
137
|
* <code>Priority</code> are evaluated before <code>Rules</code> with a higher value. The value must be a unique integer. If you add multiple
|
|
139
138
|
* <code>Rules</code> to a <code>WebACL</code>, the values don't need to be consecutive.</p>
|
|
139
|
+
* @public
|
|
140
140
|
*/
|
|
141
141
|
Priority: number | undefined;
|
|
142
142
|
/**
|
|
143
|
-
* @public
|
|
144
143
|
* <p>The <code>RuleId</code> for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code> (see <a>GetRule</a>),
|
|
145
144
|
* update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete a
|
|
146
145
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p>
|
|
147
146
|
* <p>
|
|
148
147
|
* <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>
|
|
148
|
+
* @public
|
|
149
149
|
*/
|
|
150
150
|
RuleId: string | undefined;
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* <p>Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the <code>Rule</code>.
|
|
154
153
|
* Valid values for <code>Action</code> include the following:</p>
|
|
155
154
|
* <ul>
|
|
@@ -174,24 +173,24 @@ export interface ActivatedRule {
|
|
|
174
173
|
* you do not use <code>ActivatedRule|Action</code>. For all other update requests,
|
|
175
174
|
* <code>ActivatedRule|Action</code> is used instead of
|
|
176
175
|
* <code>ActivatedRule|OverrideAction</code>.</p>
|
|
176
|
+
* @public
|
|
177
177
|
*/
|
|
178
178
|
Action?: WafAction;
|
|
179
179
|
/**
|
|
180
|
-
* @public
|
|
181
180
|
* <p>Use the <code>OverrideAction</code> to test your <code>RuleGroup</code>.</p>
|
|
182
181
|
* <p>Any rule in a <code>RuleGroup</code> can potentially block a request. If you set the <code>OverrideAction</code> to <code>None</code>, the <code>RuleGroup</code> will block a request if any individual rule in the <code>RuleGroup</code> matches the request and is configured to block that request. However if you first want to test the <code>RuleGroup</code>, set the <code>OverrideAction</code> to <code>Count</code>. The <code>RuleGroup</code> will then override any block action specified by individual rules contained within the group. Instead of blocking matching requests, those requests will be counted. You can view a record of counted requests using <a>GetSampledRequests</a>. </p>
|
|
183
182
|
* <p>
|
|
184
183
|
* <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case you do not use <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.</p>
|
|
184
|
+
* @public
|
|
185
185
|
*/
|
|
186
186
|
OverrideAction?: WafOverrideAction;
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>The rule type, either <code>REGULAR</code>, as defined by <a>Rule</a>, <code>RATE_BASED</code>, as defined by <a>RateBasedRule</a>, or <code>GROUP</code>, as defined by <a>RuleGroup</a>. The default is REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type, the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule with the specified ID, which does not exist.
|
|
190
189
|
* </p>
|
|
190
|
+
* @public
|
|
191
191
|
*/
|
|
192
192
|
Type?: WafRuleType;
|
|
193
193
|
/**
|
|
194
|
-
* @public
|
|
195
194
|
* <p>An array of rules to exclude from a rule group. This is applicable only when the <code>ActivatedRule</code> refers to a <code>RuleGroup</code>.</p>
|
|
196
195
|
* <p>Sometimes it is necessary to troubleshoot rule groups that are blocking traffic
|
|
197
196
|
* unexpectedly (false positives). One troubleshooting technique is to identify the specific
|
|
@@ -233,6 +232,7 @@ export interface ActivatedRule {
|
|
|
233
232
|
*
|
|
234
233
|
* </li>
|
|
235
234
|
* </ol>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
ExcludedRules?: ExcludedRule[];
|
|
238
238
|
}
|
|
@@ -241,14 +241,14 @@ export interface ActivatedRule {
|
|
|
241
241
|
*/
|
|
242
242
|
export interface CreateByteMatchSetRequest {
|
|
243
243
|
/**
|
|
244
|
-
* @public
|
|
245
244
|
* <p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
246
245
|
* <code>ByteMatchSet</code>.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
Name: string | undefined;
|
|
249
249
|
/**
|
|
250
|
-
* @public
|
|
251
250
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
251
|
+
* @public
|
|
252
252
|
*/
|
|
253
253
|
ChangeToken: string | undefined;
|
|
254
254
|
}
|
|
@@ -270,7 +270,6 @@ export declare const MatchFieldType: {
|
|
|
270
270
|
*/
|
|
271
271
|
export type MatchFieldType = (typeof MatchFieldType)[keyof typeof MatchFieldType];
|
|
272
272
|
/**
|
|
273
|
-
* @public
|
|
274
273
|
* <note>
|
|
275
274
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
276
275
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -280,10 +279,10 @@ export type MatchFieldType = (typeof MatchFieldType)[keyof typeof MatchFieldType
|
|
|
280
279
|
* 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>
|
|
281
280
|
* </note>
|
|
282
281
|
* <p>Specifies where in a web request to look for <code>TargetString</code>.</p>
|
|
282
|
+
* @public
|
|
283
283
|
*/
|
|
284
284
|
export interface FieldToMatch {
|
|
285
285
|
/**
|
|
286
|
-
* @public
|
|
287
286
|
* <p>The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following:</p>
|
|
288
287
|
* <ul>
|
|
289
288
|
* <li>
|
|
@@ -323,15 +322,16 @@ export interface FieldToMatch {
|
|
|
323
322
|
* <code>TargetString</code>.</p>
|
|
324
323
|
* </li>
|
|
325
324
|
* </ul>
|
|
325
|
+
* @public
|
|
326
326
|
*/
|
|
327
327
|
Type: MatchFieldType | undefined;
|
|
328
328
|
/**
|
|
329
|
-
* @public
|
|
330
329
|
* <p>When the value of <code>Type</code> is <code>HEADER</code>, enter the name of the header that you want AWS WAF to search,
|
|
331
330
|
* for example, <code>User-Agent</code> or <code>Referer</code>. The name of the header is not case sensitive.</p>
|
|
332
331
|
* <p>When the value of <code>Type</code> is <code>SINGLE_QUERY_ARG</code>, enter the name of the parameter that you want AWS WAF to search,
|
|
333
332
|
* for example, <code>UserName</code> or <code>SalesRegion</code>. The parameter name is not case sensitive.</p>
|
|
334
333
|
* <p>If the value of <code>Type</code> is any other value, omit <code>Data</code>.</p>
|
|
334
|
+
* @public
|
|
335
335
|
*/
|
|
336
336
|
Data?: string;
|
|
337
337
|
}
|
|
@@ -367,7 +367,6 @@ export declare const TextTransformation: {
|
|
|
367
367
|
*/
|
|
368
368
|
export type TextTransformation = (typeof TextTransformation)[keyof typeof TextTransformation];
|
|
369
369
|
/**
|
|
370
|
-
* @public
|
|
371
370
|
* <note>
|
|
372
371
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
373
372
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -377,16 +376,16 @@ export type TextTransformation = (typeof TextTransformation)[keyof typeof TextTr
|
|
|
377
376
|
* 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>
|
|
378
377
|
* </note>
|
|
379
378
|
* <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.</p>
|
|
379
|
+
* @public
|
|
380
380
|
*/
|
|
381
381
|
export interface ByteMatchTuple {
|
|
382
382
|
/**
|
|
383
|
-
* @public
|
|
384
383
|
* <p>The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see
|
|
385
384
|
* <a>FieldToMatch</a>.</p>
|
|
385
|
+
* @public
|
|
386
386
|
*/
|
|
387
387
|
FieldToMatch: FieldToMatch | undefined;
|
|
388
388
|
/**
|
|
389
|
-
* @public
|
|
390
389
|
* <p>The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you
|
|
391
390
|
* specified in <code>FieldToMatch</code>. The maximum length of the value is 50 bytes.</p>
|
|
392
391
|
* <p>Valid values depend on the values that you specified for <code>FieldToMatch</code>:</p>
|
|
@@ -449,10 +448,10 @@ export interface ByteMatchTuple {
|
|
|
449
448
|
* <b>If you're using the AWS CLI or one of the AWS SDKs</b>
|
|
450
449
|
* </p>
|
|
451
450
|
* <p>The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.</p>
|
|
451
|
+
* @public
|
|
452
452
|
*/
|
|
453
453
|
TargetString: Uint8Array | undefined;
|
|
454
454
|
/**
|
|
455
|
-
* @public
|
|
456
455
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
457
456
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
458
457
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -547,10 +546,10 @@ export interface ByteMatchTuple {
|
|
|
547
546
|
* <b>NONE</b>
|
|
548
547
|
* </p>
|
|
549
548
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
549
|
+
* @public
|
|
550
550
|
*/
|
|
551
551
|
TextTransformation: TextTransformation | undefined;
|
|
552
552
|
/**
|
|
553
|
-
* @public
|
|
554
553
|
* <p>Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following:</p>
|
|
555
554
|
* <p>
|
|
556
555
|
* <b>CONTAINS</b>
|
|
@@ -596,11 +595,11 @@ export interface ByteMatchTuple {
|
|
|
596
595
|
* <b>ENDS_WITH</b>
|
|
597
596
|
* </p>
|
|
598
597
|
* <p>The value of <code>TargetString</code> must appear at the end of the specified part of the web request.</p>
|
|
598
|
+
* @public
|
|
599
599
|
*/
|
|
600
600
|
PositionalConstraint: PositionalConstraint | undefined;
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
603
|
-
* @public
|
|
604
603
|
* <note>
|
|
605
604
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
606
605
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -615,26 +614,27 @@ export interface ByteMatchTuple {
|
|
|
615
614
|
* want AWS WAF to inspect and the values that you want AWS WAF to search for. If a <code>ByteMatchSet</code> contains more than one
|
|
616
615
|
* <code>ByteMatchTuple</code> object, a request needs to match the settings in only one <code>ByteMatchTuple</code>
|
|
617
616
|
* to be considered a match.</p>
|
|
617
|
+
* @public
|
|
618
618
|
*/
|
|
619
619
|
export interface ByteMatchSet {
|
|
620
620
|
/**
|
|
621
|
-
* @public
|
|
622
621
|
* <p>The <code>ByteMatchSetId</code> for a <code>ByteMatchSet</code>. You use <code>ByteMatchSetId</code> to get information about a
|
|
623
622
|
* <code>ByteMatchSet</code> (see <a>GetByteMatchSet</a>), update a <code>ByteMatchSet</code> (see <a>UpdateByteMatchSet</a>),
|
|
624
623
|
* insert a <code>ByteMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and
|
|
625
624
|
* delete a <code>ByteMatchSet</code> from AWS WAF (see <a>DeleteByteMatchSet</a>).</p>
|
|
626
625
|
* <p>
|
|
627
626
|
* <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>
|
|
627
|
+
* @public
|
|
628
628
|
*/
|
|
629
629
|
ByteMatchSetId: string | undefined;
|
|
630
630
|
/**
|
|
631
|
-
* @public
|
|
632
631
|
* <p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a <code>ByteMatchSet</code>.</p>
|
|
632
|
+
* @public
|
|
633
633
|
*/
|
|
634
634
|
Name?: string;
|
|
635
635
|
/**
|
|
636
|
-
* @public
|
|
637
636
|
* <p>Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.</p>
|
|
637
|
+
* @public
|
|
638
638
|
*/
|
|
639
639
|
ByteMatchTuples: ByteMatchTuple[] | undefined;
|
|
640
640
|
}
|
|
@@ -643,20 +643,20 @@ export interface ByteMatchSet {
|
|
|
643
643
|
*/
|
|
644
644
|
export interface CreateByteMatchSetResponse {
|
|
645
645
|
/**
|
|
646
|
-
* @public
|
|
647
646
|
* <p>A <a>ByteMatchSet</a> that contains no <code>ByteMatchTuple</code> objects.</p>
|
|
647
|
+
* @public
|
|
648
648
|
*/
|
|
649
649
|
ByteMatchSet?: ByteMatchSet;
|
|
650
650
|
/**
|
|
651
|
-
* @public
|
|
652
651
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateByteMatchSet</code> request. You can also use this value
|
|
653
652
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
653
|
+
* @public
|
|
654
654
|
*/
|
|
655
655
|
ChangeToken?: string;
|
|
656
656
|
}
|
|
657
657
|
/**
|
|
658
|
-
* @public
|
|
659
658
|
* <p>The name specified is invalid.</p>
|
|
659
|
+
* @public
|
|
660
660
|
*/
|
|
661
661
|
export declare class WAFDisallowedNameException extends __BaseException {
|
|
662
662
|
readonly name: "WAFDisallowedNameException";
|
|
@@ -667,8 +667,8 @@ export declare class WAFDisallowedNameException extends __BaseException {
|
|
|
667
667
|
constructor(opts: __ExceptionOptionType<WAFDisallowedNameException, __BaseException>);
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
|
-
* @public
|
|
671
670
|
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
671
|
+
* @public
|
|
672
672
|
*/
|
|
673
673
|
export declare class WAFInternalErrorException extends __BaseException {
|
|
674
674
|
readonly name: "WAFInternalErrorException";
|
|
@@ -679,8 +679,8 @@ export declare class WAFInternalErrorException extends __BaseException {
|
|
|
679
679
|
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
|
-
* @public
|
|
683
682
|
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
683
|
+
* @public
|
|
684
684
|
*/
|
|
685
685
|
export declare class WAFInvalidAccountException extends __BaseException {
|
|
686
686
|
readonly name: "WAFInvalidAccountException";
|
|
@@ -733,7 +733,6 @@ export declare const ParameterExceptionReason: {
|
|
|
733
733
|
*/
|
|
734
734
|
export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof typeof ParameterExceptionReason];
|
|
735
735
|
/**
|
|
736
|
-
* @public
|
|
737
736
|
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
738
737
|
* <ul>
|
|
739
738
|
* <li>
|
|
@@ -772,6 +771,7 @@ export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof t
|
|
|
772
771
|
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
773
772
|
* </li>
|
|
774
773
|
* </ul>
|
|
774
|
+
* @public
|
|
775
775
|
*/
|
|
776
776
|
export declare class WAFInvalidParameterException extends __BaseException {
|
|
777
777
|
readonly name: "WAFInvalidParameterException";
|
|
@@ -785,10 +785,10 @@ export declare class WAFInvalidParameterException extends __BaseException {
|
|
|
785
785
|
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
786
786
|
}
|
|
787
787
|
/**
|
|
788
|
-
* @public
|
|
789
788
|
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
790
789
|
* for an AWS account. For more information, see
|
|
791
790
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
791
|
+
* @public
|
|
792
792
|
*/
|
|
793
793
|
export declare class WAFLimitsExceededException extends __BaseException {
|
|
794
794
|
readonly name: "WAFLimitsExceededException";
|
|
@@ -799,8 +799,8 @@ export declare class WAFLimitsExceededException extends __BaseException {
|
|
|
799
799
|
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
800
800
|
}
|
|
801
801
|
/**
|
|
802
|
-
* @public
|
|
803
802
|
* <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
|
|
803
|
+
* @public
|
|
804
804
|
*/
|
|
805
805
|
export declare class WAFStaleDataException extends __BaseException {
|
|
806
806
|
readonly name: "WAFStaleDataException";
|
|
@@ -815,13 +815,13 @@ export declare class WAFStaleDataException extends __BaseException {
|
|
|
815
815
|
*/
|
|
816
816
|
export interface CreateGeoMatchSetRequest {
|
|
817
817
|
/**
|
|
818
|
-
* @public
|
|
819
818
|
* <p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change <code>Name</code> after you create the <code>GeoMatchSet</code>.</p>
|
|
819
|
+
* @public
|
|
820
820
|
*/
|
|
821
821
|
Name: string | undefined;
|
|
822
822
|
/**
|
|
823
|
-
* @public
|
|
824
823
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
824
|
+
* @public
|
|
825
825
|
*/
|
|
826
826
|
ChangeToken: string | undefined;
|
|
827
827
|
}
|
|
@@ -1096,7 +1096,6 @@ export declare const GeoMatchConstraintValue: {
|
|
|
1096
1096
|
*/
|
|
1097
1097
|
export type GeoMatchConstraintValue = (typeof GeoMatchConstraintValue)[keyof typeof GeoMatchConstraintValue];
|
|
1098
1098
|
/**
|
|
1099
|
-
* @public
|
|
1100
1099
|
* <note>
|
|
1101
1100
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1102
1101
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1106,21 +1105,21 @@ export type GeoMatchConstraintValue = (typeof GeoMatchConstraintValue)[keyof typ
|
|
|
1106
1105
|
* 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>
|
|
1107
1106
|
* </note>
|
|
1108
1107
|
* <p>The country from which web requests originate that you want AWS WAF to search for.</p>
|
|
1108
|
+
* @public
|
|
1109
1109
|
*/
|
|
1110
1110
|
export interface GeoMatchConstraint {
|
|
1111
1111
|
/**
|
|
1112
|
-
* @public
|
|
1113
1112
|
* <p>The type of geographical area you want AWS WAF to search for. Currently <code>Country</code> is the only valid value.</p>
|
|
1113
|
+
* @public
|
|
1114
1114
|
*/
|
|
1115
1115
|
Type: GeoMatchConstraintType | undefined;
|
|
1116
1116
|
/**
|
|
1117
|
-
* @public
|
|
1118
1117
|
* <p>The country that you want AWS WAF to search for.</p>
|
|
1118
|
+
* @public
|
|
1119
1119
|
*/
|
|
1120
1120
|
Value: GeoMatchConstraintValue | undefined;
|
|
1121
1121
|
}
|
|
1122
1122
|
/**
|
|
1123
|
-
* @public
|
|
1124
1123
|
* <note>
|
|
1125
1124
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1126
1125
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1130,24 +1129,25 @@ export interface GeoMatchConstraint {
|
|
|
1130
1129
|
* 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>
|
|
1131
1130
|
* </note>
|
|
1132
1131
|
* <p>Contains one or more countries that AWS WAF will search for.</p>
|
|
1132
|
+
* @public
|
|
1133
1133
|
*/
|
|
1134
1134
|
export interface GeoMatchSet {
|
|
1135
1135
|
/**
|
|
1136
|
-
* @public
|
|
1137
1136
|
* <p>The <code>GeoMatchSetId</code> for an <code>GeoMatchSet</code>. You use <code>GeoMatchSetId</code> to get information about a
|
|
1138
1137
|
* <code>GeoMatchSet</code> (see <a>GeoMatchSet</a>), update a <code>GeoMatchSet</code> (see <a>UpdateGeoMatchSet</a>), insert a <code>GeoMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and delete a <code>GeoMatchSet</code> from AWS WAF (see <a>DeleteGeoMatchSet</a>).</p>
|
|
1139
1138
|
* <p>
|
|
1140
1139
|
* <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by <a>ListGeoMatchSets</a>.</p>
|
|
1140
|
+
* @public
|
|
1141
1141
|
*/
|
|
1142
1142
|
GeoMatchSetId: string | undefined;
|
|
1143
1143
|
/**
|
|
1144
|
-
* @public
|
|
1145
1144
|
* <p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change the name of an <code>GeoMatchSet</code> after you create it.</p>
|
|
1145
|
+
* @public
|
|
1146
1146
|
*/
|
|
1147
1147
|
Name?: string;
|
|
1148
1148
|
/**
|
|
1149
|
-
* @public
|
|
1150
1149
|
* <p>An array of <a>GeoMatchConstraint</a> objects, which contain the country that you want AWS WAF to search for.</p>
|
|
1150
|
+
* @public
|
|
1151
1151
|
*/
|
|
1152
1152
|
GeoMatchConstraints: GeoMatchConstraint[] | undefined;
|
|
1153
1153
|
}
|
|
@@ -1156,14 +1156,14 @@ export interface GeoMatchSet {
|
|
|
1156
1156
|
*/
|
|
1157
1157
|
export interface CreateGeoMatchSetResponse {
|
|
1158
1158
|
/**
|
|
1159
|
-
* @public
|
|
1160
1159
|
* <p>The <a>GeoMatchSet</a> returned in the <code>CreateGeoMatchSet</code> response. The <code>GeoMatchSet</code> contains no <code>GeoMatchConstraints</code>.</p>
|
|
1160
|
+
* @public
|
|
1161
1161
|
*/
|
|
1162
1162
|
GeoMatchSet?: GeoMatchSet;
|
|
1163
1163
|
/**
|
|
1164
|
-
* @public
|
|
1165
1164
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateGeoMatchSet</code> request. You can also use this value
|
|
1166
1165
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1166
|
+
* @public
|
|
1167
1167
|
*/
|
|
1168
1168
|
ChangeToken?: string;
|
|
1169
1169
|
}
|
|
@@ -1172,13 +1172,13 @@ export interface CreateGeoMatchSetResponse {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
export interface CreateIPSetRequest {
|
|
1174
1174
|
/**
|
|
1175
|
-
* @public
|
|
1176
1175
|
* <p>A friendly name or description of the <a>IPSet</a>. You can't change <code>Name</code> after you create the <code>IPSet</code>.</p>
|
|
1176
|
+
* @public
|
|
1177
1177
|
*/
|
|
1178
1178
|
Name: string | undefined;
|
|
1179
1179
|
/**
|
|
1180
|
-
* @public
|
|
1181
1180
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1181
|
+
* @public
|
|
1182
1182
|
*/
|
|
1183
1183
|
ChangeToken: string | undefined;
|
|
1184
1184
|
}
|
|
@@ -1195,7 +1195,6 @@ export declare const IPSetDescriptorType: {
|
|
|
1195
1195
|
*/
|
|
1196
1196
|
export type IPSetDescriptorType = (typeof IPSetDescriptorType)[keyof typeof IPSetDescriptorType];
|
|
1197
1197
|
/**
|
|
1198
|
-
* @public
|
|
1199
1198
|
* <note>
|
|
1200
1199
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1201
1200
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1205,15 +1204,15 @@ export type IPSetDescriptorType = (typeof IPSetDescriptorType)[keyof typeof IPSe
|
|
|
1205
1204
|
* 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>
|
|
1206
1205
|
* </note>
|
|
1207
1206
|
* <p>Specifies the IP address type (<code>IPV4</code> or <code>IPV6</code>) and the IP address range (in CIDR format) that web requests originate from.</p>
|
|
1207
|
+
* @public
|
|
1208
1208
|
*/
|
|
1209
1209
|
export interface IPSetDescriptor {
|
|
1210
1210
|
/**
|
|
1211
|
-
* @public
|
|
1212
1211
|
* <p>Specify <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
1212
|
+
* @public
|
|
1213
1213
|
*/
|
|
1214
1214
|
Type: IPSetDescriptorType | undefined;
|
|
1215
1215
|
/**
|
|
1216
|
-
* @public
|
|
1217
1216
|
* <p>Specify an IPv4 address by using CIDR notation. For example:</p>
|
|
1218
1217
|
* <ul>
|
|
1219
1218
|
* <li>
|
|
@@ -1236,11 +1235,11 @@ export interface IPSetDescriptor {
|
|
|
1236
1235
|
* <p>To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify <code>1111:0000:0000:0000:0000:0000:0000:0000/64</code>.</p>
|
|
1237
1236
|
* </li>
|
|
1238
1237
|
* </ul>
|
|
1238
|
+
* @public
|
|
1239
1239
|
*/
|
|
1240
1240
|
Value: string | undefined;
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
|
-
* @public
|
|
1244
1243
|
* <note>
|
|
1245
1244
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1246
1245
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1255,27 +1254,28 @@ export interface IPSetDescriptor {
|
|
|
1255
1254
|
* specify /8 or any range between /16 through /32 (for IPv4) or /24, /32, /48, /56, /64, or
|
|
1256
1255
|
* /128 (for IPv6). For more information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
|
|
1257
1256
|
* Inter-Domain Routing</a>. </p>
|
|
1257
|
+
* @public
|
|
1258
1258
|
*/
|
|
1259
1259
|
export interface IPSet {
|
|
1260
1260
|
/**
|
|
1261
|
-
* @public
|
|
1262
1261
|
* <p>The <code>IPSetId</code> for an <code>IPSet</code>. You use <code>IPSetId</code> to get information about an
|
|
1263
1262
|
* <code>IPSet</code> (see <a>GetIPSet</a>), update an <code>IPSet</code> (see <a>UpdateIPSet</a>),
|
|
1264
1263
|
* insert an <code>IPSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and
|
|
1265
1264
|
* delete an <code>IPSet</code> from AWS WAF (see <a>DeleteIPSet</a>).</p>
|
|
1266
1265
|
* <p>
|
|
1267
1266
|
* <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by <a>ListIPSets</a>.</p>
|
|
1267
|
+
* @public
|
|
1268
1268
|
*/
|
|
1269
1269
|
IPSetId: string | undefined;
|
|
1270
1270
|
/**
|
|
1271
|
-
* @public
|
|
1272
1271
|
* <p>A friendly name or description of the <a>IPSet</a>. You can't change the name of an <code>IPSet</code> after you create it.</p>
|
|
1272
|
+
* @public
|
|
1273
1273
|
*/
|
|
1274
1274
|
Name?: string;
|
|
1275
1275
|
/**
|
|
1276
|
-
* @public
|
|
1277
1276
|
* <p>The IP address type (<code>IPV4</code> or <code>IPV6</code>) and the IP address range (in CIDR notation) that web requests originate from.
|
|
1278
1277
|
* If the <code>WebACL</code> is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.</p>
|
|
1278
|
+
* @public
|
|
1279
1279
|
*/
|
|
1280
1280
|
IPSetDescriptors: IPSetDescriptor[] | undefined;
|
|
1281
1281
|
}
|
|
@@ -1284,14 +1284,14 @@ export interface IPSet {
|
|
|
1284
1284
|
*/
|
|
1285
1285
|
export interface CreateIPSetResponse {
|
|
1286
1286
|
/**
|
|
1287
|
-
* @public
|
|
1288
1287
|
* <p>The <a>IPSet</a> returned in the <code>CreateIPSet</code> response.</p>
|
|
1288
|
+
* @public
|
|
1289
1289
|
*/
|
|
1290
1290
|
IPSet?: IPSet;
|
|
1291
1291
|
/**
|
|
1292
|
-
* @public
|
|
1293
1292
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateIPSet</code> request. You can also use this value
|
|
1294
1293
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1294
|
+
* @public
|
|
1295
1295
|
*/
|
|
1296
1296
|
ChangeToken?: string;
|
|
1297
1297
|
}
|
|
@@ -1307,7 +1307,6 @@ export declare const RateKey: {
|
|
|
1307
1307
|
*/
|
|
1308
1308
|
export type RateKey = (typeof RateKey)[keyof typeof RateKey];
|
|
1309
1309
|
/**
|
|
1310
|
-
* @public
|
|
1311
1310
|
* <note>
|
|
1312
1311
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1313
1312
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1318,16 +1317,17 @@ export type RateKey = (typeof RateKey)[keyof typeof RateKey];
|
|
|
1318
1317
|
* </note>
|
|
1319
1318
|
* <p>A tag associated with an 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>
|
|
1320
1319
|
* <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>
|
|
1320
|
+
* @public
|
|
1321
1321
|
*/
|
|
1322
1322
|
export interface Tag {
|
|
1323
1323
|
/**
|
|
1324
|
-
* @public
|
|
1325
1324
|
* <p></p>
|
|
1325
|
+
* @public
|
|
1326
1326
|
*/
|
|
1327
1327
|
Key: string | undefined;
|
|
1328
1328
|
/**
|
|
1329
|
-
* @public
|
|
1330
1329
|
* <p></p>
|
|
1330
|
+
* @public
|
|
1331
1331
|
*/
|
|
1332
1332
|
Value: string | undefined;
|
|
1333
1333
|
}
|
|
@@ -1336,46 +1336,46 @@ export interface Tag {
|
|
|
1336
1336
|
*/
|
|
1337
1337
|
export interface CreateRateBasedRuleRequest {
|
|
1338
1338
|
/**
|
|
1339
|
-
* @public
|
|
1340
1339
|
* <p>A friendly name or description of the <a>RateBasedRule</a>. You can't
|
|
1341
1340
|
* change the name of a <code>RateBasedRule</code> after you create it.</p>
|
|
1341
|
+
* @public
|
|
1342
1342
|
*/
|
|
1343
1343
|
Name: string | undefined;
|
|
1344
1344
|
/**
|
|
1345
|
-
* @public
|
|
1346
1345
|
* <p>A friendly name or description for the metrics for this <code>RateBasedRule</code>.
|
|
1347
1346
|
* The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
1348
1347
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the
|
|
1349
1348
|
* <code>RateBasedRule</code>.</p>
|
|
1349
|
+
* @public
|
|
1350
1350
|
*/
|
|
1351
1351
|
MetricName: string | undefined;
|
|
1352
1352
|
/**
|
|
1353
|
-
* @public
|
|
1354
1353
|
* <p>The field that AWS WAF uses to determine if requests are likely arriving from a single
|
|
1355
1354
|
* source and thus subject to rate monitoring. The only valid value for <code>RateKey</code>
|
|
1356
1355
|
* is <code>IP</code>. <code>IP</code> indicates that requests that arrive from the same IP
|
|
1357
1356
|
* address are subject to the <code>RateLimit</code> that is specified in
|
|
1358
1357
|
* the <code>RateBasedRule</code>.</p>
|
|
1358
|
+
* @public
|
|
1359
1359
|
*/
|
|
1360
1360
|
RateKey: RateKey | undefined;
|
|
1361
1361
|
/**
|
|
1362
|
-
* @public
|
|
1363
1362
|
* <p>The maximum number of requests, which have an identical value in the field that is
|
|
1364
1363
|
* specified by <code>RateKey</code>, allowed in a five-minute period. If the number of
|
|
1365
1364
|
* requests exceeds the <code>RateLimit</code> and the other predicates specified in the rule
|
|
1366
1365
|
* are also met, AWS WAF triggers the action that is specified for this rule.</p>
|
|
1366
|
+
* @public
|
|
1367
1367
|
*/
|
|
1368
1368
|
RateLimit: number | undefined;
|
|
1369
1369
|
/**
|
|
1370
|
-
* @public
|
|
1371
1370
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
1372
1371
|
* <code>CreateRateBasedRule</code> request. You can also use this value to query the
|
|
1373
1372
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1373
|
+
* @public
|
|
1374
1374
|
*/
|
|
1375
1375
|
ChangeToken: string | undefined;
|
|
1376
1376
|
/**
|
|
1377
|
-
* @public
|
|
1378
1377
|
* <p></p>
|
|
1378
|
+
* @public
|
|
1379
1379
|
*/
|
|
1380
1380
|
Tags?: Tag[];
|
|
1381
1381
|
}
|
|
@@ -1397,7 +1397,6 @@ export declare const PredicateType: {
|
|
|
1397
1397
|
*/
|
|
1398
1398
|
export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
|
|
1399
1399
|
/**
|
|
1400
|
-
* @public
|
|
1401
1400
|
* <note>
|
|
1402
1401
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1403
1402
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1409,10 +1408,10 @@ export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
|
|
|
1409
1408
|
* <p>Specifies the <a>ByteMatchSet</a>, <a>IPSet</a>, <a>SqlInjectionMatchSet</a>, <a>XssMatchSet</a>, <a>RegexMatchSet</a>, <a>GeoMatchSet</a>, and <a>SizeConstraintSet</a> objects
|
|
1410
1409
|
* that you want to add to a <code>Rule</code> and, for each object, indicates whether you want to negate the settings, for example, requests that do
|
|
1411
1410
|
* NOT originate from the IP address 192.0.2.44. </p>
|
|
1411
|
+
* @public
|
|
1412
1412
|
*/
|
|
1413
1413
|
export interface Predicate {
|
|
1414
1414
|
/**
|
|
1415
|
-
* @public
|
|
1416
1415
|
* <p>Set <code>Negated</code> to <code>False</code> if you want AWS WAF to allow, block, or count requests based on the settings in the
|
|
1417
1416
|
* specified <a>ByteMatchSet</a>, <a>IPSet</a>, <a>SqlInjectionMatchSet</a>, <a>XssMatchSet</a>, <a>RegexMatchSet</a>, <a>GeoMatchSet</a>, or <a>SizeConstraintSet</a>.
|
|
1418
1417
|
* For example, if an <code>IPSet</code> includes the IP address <code>192.0.2.44</code>, AWS WAF will allow or block requests based on that IP address.</p>
|
|
@@ -1421,22 +1420,22 @@ export interface Predicate {
|
|
|
1421
1420
|
* For example, if an <code>IPSet</code> includes the IP address <code>192.0.2.44</code>, AWS WAF will allow, block, or count requests based on
|
|
1422
1421
|
* all IP addresses <i>except</i>
|
|
1423
1422
|
* <code>192.0.2.44</code>.</p>
|
|
1423
|
+
* @public
|
|
1424
1424
|
*/
|
|
1425
1425
|
Negated: boolean | undefined;
|
|
1426
1426
|
/**
|
|
1427
|
-
* @public
|
|
1428
1427
|
* <p>The type of predicate in a <code>Rule</code>, such as <code>ByteMatch</code> or <code>IPSet</code>.</p>
|
|
1428
|
+
* @public
|
|
1429
1429
|
*/
|
|
1430
1430
|
Type: PredicateType | undefined;
|
|
1431
1431
|
/**
|
|
1432
|
-
* @public
|
|
1433
1432
|
* <p>A unique identifier for a predicate in a <code>Rule</code>, such as <code>ByteMatchSetId</code> or <code>IPSetId</code>.
|
|
1434
1433
|
* The ID is returned by the corresponding <code>Create</code> or <code>List</code> command.</p>
|
|
1434
|
+
* @public
|
|
1435
1435
|
*/
|
|
1436
1436
|
DataId: string | undefined;
|
|
1437
1437
|
}
|
|
1438
1438
|
/**
|
|
1439
|
-
* @public
|
|
1440
1439
|
* <note>
|
|
1441
1440
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1442
1441
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1463,50 +1462,51 @@ export interface Predicate {
|
|
|
1463
1462
|
* <p>Requests that meet both of these conditions and exceed 1,000 requests every five
|
|
1464
1463
|
* minutes trigger the rule's action (block or count), which is defined in the web
|
|
1465
1464
|
* ACL.</p>
|
|
1465
|
+
* @public
|
|
1466
1466
|
*/
|
|
1467
1467
|
export interface RateBasedRule {
|
|
1468
1468
|
/**
|
|
1469
|
-
* @public
|
|
1470
1469
|
* <p>A unique identifier for a <code>RateBasedRule</code>. You use <code>RuleId</code> to
|
|
1471
1470
|
* get more information about a <code>RateBasedRule</code> (see <a>GetRateBasedRule</a>), update a <code>RateBasedRule</code> (see <a>UpdateRateBasedRule</a>), insert a <code>RateBasedRule</code> into a
|
|
1472
1471
|
* <code>WebACL</code> or delete one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RateBasedRule</code> from AWS WAF (see <a>DeleteRateBasedRule</a>).</p>
|
|
1472
|
+
* @public
|
|
1473
1473
|
*/
|
|
1474
1474
|
RuleId: string | undefined;
|
|
1475
1475
|
/**
|
|
1476
|
-
* @public
|
|
1477
1476
|
* <p>A friendly name or description for a <code>RateBasedRule</code>. You can't change the
|
|
1478
1477
|
* name of a <code>RateBasedRule</code> after you create it.</p>
|
|
1478
|
+
* @public
|
|
1479
1479
|
*/
|
|
1480
1480
|
Name?: string;
|
|
1481
1481
|
/**
|
|
1482
|
-
* @public
|
|
1483
1482
|
* <p>A friendly name or description for the metrics for a <code>RateBasedRule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
1484
1483
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the
|
|
1485
1484
|
* <code>RateBasedRule</code>.</p>
|
|
1485
|
+
* @public
|
|
1486
1486
|
*/
|
|
1487
1487
|
MetricName?: string;
|
|
1488
1488
|
/**
|
|
1489
|
-
* @public
|
|
1490
1489
|
* <p>The <code>Predicates</code> object contains one <code>Predicate</code> element for
|
|
1491
1490
|
* each <a>ByteMatchSet</a>, <a>IPSet</a>, or <a>SqlInjectionMatchSet</a> object that you want to include in a
|
|
1492
1491
|
* <code>RateBasedRule</code>.</p>
|
|
1492
|
+
* @public
|
|
1493
1493
|
*/
|
|
1494
1494
|
MatchPredicates: Predicate[] | undefined;
|
|
1495
1495
|
/**
|
|
1496
|
-
* @public
|
|
1497
1496
|
* <p>The field that AWS WAF uses to determine if requests are likely arriving from single
|
|
1498
1497
|
* source and thus subject to rate monitoring. The only valid value for <code>RateKey</code>
|
|
1499
1498
|
* is <code>IP</code>. <code>IP</code> indicates that requests arriving from the same IP
|
|
1500
1499
|
* address are subject to the <code>RateLimit</code> that is specified in the
|
|
1501
1500
|
* <code>RateBasedRule</code>.</p>
|
|
1501
|
+
* @public
|
|
1502
1502
|
*/
|
|
1503
1503
|
RateKey: RateKey | undefined;
|
|
1504
1504
|
/**
|
|
1505
|
-
* @public
|
|
1506
1505
|
* <p>The maximum number of requests, which have an identical value in the field specified
|
|
1507
1506
|
* by the <code>RateKey</code>, allowed in a five-minute period. If the number of requests
|
|
1508
1507
|
* exceeds the <code>RateLimit</code> and the other predicates specified in the rule are also
|
|
1509
1508
|
* met, AWS WAF triggers the action that is specified for this rule.</p>
|
|
1509
|
+
* @public
|
|
1510
1510
|
*/
|
|
1511
1511
|
RateLimit: number | undefined;
|
|
1512
1512
|
}
|
|
@@ -1515,22 +1515,22 @@ export interface RateBasedRule {
|
|
|
1515
1515
|
*/
|
|
1516
1516
|
export interface CreateRateBasedRuleResponse {
|
|
1517
1517
|
/**
|
|
1518
|
-
* @public
|
|
1519
1518
|
* <p>The <a>RateBasedRule</a>
|
|
1520
1519
|
* that is returned in the <code>CreateRateBasedRule</code> response.</p>
|
|
1520
|
+
* @public
|
|
1521
1521
|
*/
|
|
1522
1522
|
Rule?: RateBasedRule;
|
|
1523
1523
|
/**
|
|
1524
|
-
* @public
|
|
1525
1524
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
1526
1525
|
* <code>CreateRateBasedRule</code> request. You can also use this value to query the
|
|
1527
1526
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1527
|
+
* @public
|
|
1528
1528
|
*/
|
|
1529
1529
|
ChangeToken?: string;
|
|
1530
1530
|
}
|
|
1531
1531
|
/**
|
|
1532
|
-
* @public
|
|
1533
1532
|
* <p></p>
|
|
1533
|
+
* @public
|
|
1534
1534
|
*/
|
|
1535
1535
|
export declare class WAFBadRequestException extends __BaseException {
|
|
1536
1536
|
readonly name: "WAFBadRequestException";
|
|
@@ -1541,8 +1541,8 @@ export declare class WAFBadRequestException extends __BaseException {
|
|
|
1541
1541
|
constructor(opts: __ExceptionOptionType<WAFBadRequestException, __BaseException>);
|
|
1542
1542
|
}
|
|
1543
1543
|
/**
|
|
1544
|
-
* @public
|
|
1545
1544
|
* <p></p>
|
|
1545
|
+
* @public
|
|
1546
1546
|
*/
|
|
1547
1547
|
export declare class WAFTagOperationException extends __BaseException {
|
|
1548
1548
|
readonly name: "WAFTagOperationException";
|
|
@@ -1553,8 +1553,8 @@ export declare class WAFTagOperationException extends __BaseException {
|
|
|
1553
1553
|
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
1554
1554
|
}
|
|
1555
1555
|
/**
|
|
1556
|
-
* @public
|
|
1557
1556
|
* <p></p>
|
|
1557
|
+
* @public
|
|
1558
1558
|
*/
|
|
1559
1559
|
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
1560
1560
|
readonly name: "WAFTagOperationInternalErrorException";
|
|
@@ -1569,19 +1569,18 @@ export declare class WAFTagOperationInternalErrorException extends __BaseExcepti
|
|
|
1569
1569
|
*/
|
|
1570
1570
|
export interface CreateRegexMatchSetRequest {
|
|
1571
1571
|
/**
|
|
1572
|
-
* @public
|
|
1573
1572
|
* <p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
1574
1573
|
* <code>RegexMatchSet</code>.</p>
|
|
1574
|
+
* @public
|
|
1575
1575
|
*/
|
|
1576
1576
|
Name: string | undefined;
|
|
1577
1577
|
/**
|
|
1578
|
-
* @public
|
|
1579
1578
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1579
|
+
* @public
|
|
1580
1580
|
*/
|
|
1581
1581
|
ChangeToken: string | undefined;
|
|
1582
1582
|
}
|
|
1583
1583
|
/**
|
|
1584
|
-
* @public
|
|
1585
1584
|
* <note>
|
|
1586
1585
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1587
1586
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1602,15 +1601,15 @@ export interface CreateRegexMatchSetRequest {
|
|
|
1602
1601
|
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1603
1602
|
* </li>
|
|
1604
1603
|
* </ul>
|
|
1604
|
+
* @public
|
|
1605
1605
|
*/
|
|
1606
1606
|
export interface RegexMatchTuple {
|
|
1607
1607
|
/**
|
|
1608
|
-
* @public
|
|
1609
1608
|
* <p>Specifies where in a web request to look for the <code>RegexPatternSet</code>.</p>
|
|
1609
|
+
* @public
|
|
1610
1610
|
*/
|
|
1611
1611
|
FieldToMatch: FieldToMatch | undefined;
|
|
1612
1612
|
/**
|
|
1613
|
-
* @public
|
|
1614
1613
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
1615
1614
|
* If you specify a transformation, AWS WAF performs the transformation on <code>RegexPatternSet</code> before inspecting a request for a match.</p>
|
|
1616
1615
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -1703,21 +1702,21 @@ export interface RegexMatchTuple {
|
|
|
1703
1702
|
* <b>NONE</b>
|
|
1704
1703
|
* </p>
|
|
1705
1704
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
1705
|
+
* @public
|
|
1706
1706
|
*/
|
|
1707
1707
|
TextTransformation: TextTransformation | undefined;
|
|
1708
1708
|
/**
|
|
1709
|
-
* @public
|
|
1710
1709
|
* <p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a
|
|
1711
1710
|
* <code>RegexPatternSet</code> (see <a>GetRegexPatternSet</a>), update a <code>RegexPatternSet</code> (see <a>UpdateRegexPatternSet</a>),
|
|
1712
1711
|
* insert a <code>RegexPatternSet</code> into a <code>RegexMatchSet</code> or delete one from a <code>RegexMatchSet</code> (see <a>UpdateRegexMatchSet</a>), and
|
|
1713
1712
|
* delete an <code>RegexPatternSet</code> from AWS WAF (see <a>DeleteRegexPatternSet</a>).</p>
|
|
1714
1713
|
* <p>
|
|
1715
1714
|
* <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
1715
|
+
* @public
|
|
1716
1716
|
*/
|
|
1717
1717
|
RegexPatternSetId: string | undefined;
|
|
1718
1718
|
}
|
|
1719
1719
|
/**
|
|
1720
|
-
* @public
|
|
1721
1720
|
* <note>
|
|
1722
1721
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1723
1722
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1731,26 +1730,26 @@ export interface RegexMatchTuple {
|
|
|
1731
1730
|
* <p> The values are contained in a <code>RegexMatchTuple</code> object, which specify the parts of web requests that you want AWS WAF to inspect and the values that you want AWS WAF to search for. If a <code>RegexMatchSet</code> contains more than one
|
|
1732
1731
|
* <code>RegexMatchTuple</code> object, a request needs to match the settings in only one <code>ByteMatchTuple</code>
|
|
1733
1732
|
* to be considered a match.</p>
|
|
1733
|
+
* @public
|
|
1734
1734
|
*/
|
|
1735
1735
|
export interface RegexMatchSet {
|
|
1736
1736
|
/**
|
|
1737
|
-
* @public
|
|
1738
1737
|
* <p>The <code>RegexMatchSetId</code> for a <code>RegexMatchSet</code>. You use <code>RegexMatchSetId</code> to get information about a
|
|
1739
1738
|
* <code>RegexMatchSet</code> (see <a>GetRegexMatchSet</a>), update a <code>RegexMatchSet</code> (see <a>UpdateRegexMatchSet</a>),
|
|
1740
1739
|
* insert a <code>RegexMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and
|
|
1741
1740
|
* delete a <code>RegexMatchSet</code> from AWS WAF (see <a>DeleteRegexMatchSet</a>).</p>
|
|
1742
1741
|
* <p>
|
|
1743
1742
|
* <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>
|
|
1743
|
+
* @public
|
|
1744
1744
|
*/
|
|
1745
1745
|
RegexMatchSetId?: string;
|
|
1746
1746
|
/**
|
|
1747
|
-
* @public
|
|
1748
1747
|
* <p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
1749
1748
|
* <code>RegexMatchSet</code>.</p>
|
|
1749
|
+
* @public
|
|
1750
1750
|
*/
|
|
1751
1751
|
Name?: string;
|
|
1752
1752
|
/**
|
|
1753
|
-
* @public
|
|
1754
1753
|
* <p>Contains an array of <a>RegexMatchTuple</a> objects. Each <code>RegexMatchTuple</code>
|
|
1755
1754
|
* object contains: </p>
|
|
1756
1755
|
* <ul>
|
|
@@ -1764,6 +1763,7 @@ export interface RegexMatchSet {
|
|
|
1764
1763
|
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1765
1764
|
* </li>
|
|
1766
1765
|
* </ul>
|
|
1766
|
+
* @public
|
|
1767
1767
|
*/
|
|
1768
1768
|
RegexMatchTuples?: RegexMatchTuple[];
|
|
1769
1769
|
}
|
|
@@ -1772,14 +1772,14 @@ export interface RegexMatchSet {
|
|
|
1772
1772
|
*/
|
|
1773
1773
|
export interface CreateRegexMatchSetResponse {
|
|
1774
1774
|
/**
|
|
1775
|
-
* @public
|
|
1776
1775
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code> objects.</p>
|
|
1776
|
+
* @public
|
|
1777
1777
|
*/
|
|
1778
1778
|
RegexMatchSet?: RegexMatchSet;
|
|
1779
1779
|
/**
|
|
1780
|
-
* @public
|
|
1781
1780
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexMatchSet</code> request. You can also use this value
|
|
1782
1781
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1782
|
+
* @public
|
|
1783
1783
|
*/
|
|
1784
1784
|
ChangeToken?: string;
|
|
1785
1785
|
}
|
|
@@ -1788,19 +1788,18 @@ export interface CreateRegexMatchSetResponse {
|
|
|
1788
1788
|
*/
|
|
1789
1789
|
export interface CreateRegexPatternSetRequest {
|
|
1790
1790
|
/**
|
|
1791
|
-
* @public
|
|
1792
1791
|
* <p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a
|
|
1793
1792
|
* <code>RegexPatternSet</code>.</p>
|
|
1793
|
+
* @public
|
|
1794
1794
|
*/
|
|
1795
1795
|
Name: string | undefined;
|
|
1796
1796
|
/**
|
|
1797
|
-
* @public
|
|
1798
1797
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1798
|
+
* @public
|
|
1799
1799
|
*/
|
|
1800
1800
|
ChangeToken: string | undefined;
|
|
1801
1801
|
}
|
|
1802
1802
|
/**
|
|
1803
|
-
* @public
|
|
1804
1803
|
* <note>
|
|
1805
1804
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1806
1805
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1810,24 +1809,25 @@ export interface CreateRegexPatternSetRequest {
|
|
|
1810
1809
|
* 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>
|
|
1811
1810
|
* </note>
|
|
1812
1811
|
* <p>The <code>RegexPatternSet</code> specifies 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>
|
|
1812
|
+
* @public
|
|
1813
1813
|
*/
|
|
1814
1814
|
export interface RegexPatternSet {
|
|
1815
1815
|
/**
|
|
1816
|
-
* @public
|
|
1817
1816
|
* <p>The identifier for the <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code>,
|
|
1818
1817
|
* update a <code>RegexPatternSet</code>, remove a <code>RegexPatternSet</code> from a <code>RegexMatchSet</code>, and delete a <code>RegexPatternSet</code> from AWS WAF.</p>
|
|
1819
1818
|
* <p>
|
|
1820
1819
|
* <code>RegexMatchSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
1820
|
+
* @public
|
|
1821
1821
|
*/
|
|
1822
1822
|
RegexPatternSetId: string | undefined;
|
|
1823
1823
|
/**
|
|
1824
|
-
* @public
|
|
1825
1824
|
* <p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a <code>RegexPatternSet</code>.</p>
|
|
1825
|
+
* @public
|
|
1826
1826
|
*/
|
|
1827
1827
|
Name?: string;
|
|
1828
1828
|
/**
|
|
1829
|
-
* @public
|
|
1830
1829
|
* <p>Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>.</p>
|
|
1830
|
+
* @public
|
|
1831
1831
|
*/
|
|
1832
1832
|
RegexPatternStrings: string[] | undefined;
|
|
1833
1833
|
}
|
|
@@ -1836,14 +1836,14 @@ export interface RegexPatternSet {
|
|
|
1836
1836
|
*/
|
|
1837
1837
|
export interface CreateRegexPatternSetResponse {
|
|
1838
1838
|
/**
|
|
1839
|
-
* @public
|
|
1840
1839
|
* <p>A <a>RegexPatternSet</a> that contains no objects.</p>
|
|
1840
|
+
* @public
|
|
1841
1841
|
*/
|
|
1842
1842
|
RegexPatternSet?: RegexPatternSet;
|
|
1843
1843
|
/**
|
|
1844
|
-
* @public
|
|
1845
1844
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexPatternSet</code> request. You can also use this value
|
|
1846
1845
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1846
|
+
* @public
|
|
1847
1847
|
*/
|
|
1848
1848
|
ChangeToken?: string;
|
|
1849
1849
|
}
|
|
@@ -1852,30 +1852,29 @@ export interface CreateRegexPatternSetResponse {
|
|
|
1852
1852
|
*/
|
|
1853
1853
|
export interface CreateRuleRequest {
|
|
1854
1854
|
/**
|
|
1855
|
-
* @public
|
|
1856
1855
|
* <p>A friendly name or description of the <a>Rule</a>. You can't change the name of a <code>Rule</code> after you create it.</p>
|
|
1856
|
+
* @public
|
|
1857
1857
|
*/
|
|
1858
1858
|
Name: string | undefined;
|
|
1859
1859
|
/**
|
|
1860
|
-
* @public
|
|
1861
1860
|
* <p>A friendly name or description for the metrics for this <code>Rule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
1862
1861
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the
|
|
1863
1862
|
* <code>Rule</code>.</p>
|
|
1863
|
+
* @public
|
|
1864
1864
|
*/
|
|
1865
1865
|
MetricName: string | undefined;
|
|
1866
1866
|
/**
|
|
1867
|
-
* @public
|
|
1868
1867
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1868
|
+
* @public
|
|
1869
1869
|
*/
|
|
1870
1870
|
ChangeToken: string | undefined;
|
|
1871
1871
|
/**
|
|
1872
|
-
* @public
|
|
1873
1872
|
* <p></p>
|
|
1873
|
+
* @public
|
|
1874
1874
|
*/
|
|
1875
1875
|
Tags?: Tag[];
|
|
1876
1876
|
}
|
|
1877
1877
|
/**
|
|
1878
|
-
* @public
|
|
1879
1878
|
* <note>
|
|
1880
1879
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1881
1880
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1898,32 +1897,33 @@ export interface CreateRuleRequest {
|
|
|
1898
1897
|
* </ul>
|
|
1899
1898
|
* <p>To match the settings in this <code>Rule</code>, a request must originate from <code>192.0.2.44</code> AND include a <code>User-Agent</code>
|
|
1900
1899
|
* header for which the value is <code>BadBot</code>.</p>
|
|
1900
|
+
* @public
|
|
1901
1901
|
*/
|
|
1902
1902
|
export interface Rule {
|
|
1903
1903
|
/**
|
|
1904
|
-
* @public
|
|
1905
1904
|
* <p>A unique identifier for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code> (see <a>GetRule</a>),
|
|
1906
1905
|
* update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete a
|
|
1907
1906
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p>
|
|
1908
1907
|
* <p>
|
|
1909
1908
|
* <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>
|
|
1909
|
+
* @public
|
|
1910
1910
|
*/
|
|
1911
1911
|
RuleId: string | undefined;
|
|
1912
1912
|
/**
|
|
1913
|
-
* @public
|
|
1914
1913
|
* <p>The friendly name or description for the <code>Rule</code>. You can't change the name of a <code>Rule</code> after you create it.</p>
|
|
1914
|
+
* @public
|
|
1915
1915
|
*/
|
|
1916
1916
|
Name?: string;
|
|
1917
1917
|
/**
|
|
1918
|
-
* @public
|
|
1919
1918
|
* <p>A friendly name or description for the metrics for this <code>Rule</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
1920
1919
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change <code>MetricName</code> after you create the <code>Rule</code>.</p>
|
|
1920
|
+
* @public
|
|
1921
1921
|
*/
|
|
1922
1922
|
MetricName?: string;
|
|
1923
1923
|
/**
|
|
1924
|
-
* @public
|
|
1925
1924
|
* <p>The <code>Predicates</code> object contains one <code>Predicate</code> element for each <a>ByteMatchSet</a>, <a>IPSet</a>, or
|
|
1926
1925
|
* <a>SqlInjectionMatchSet</a> object that you want to include in a <code>Rule</code>.</p>
|
|
1926
|
+
* @public
|
|
1927
1927
|
*/
|
|
1928
1928
|
Predicates: Predicate[] | undefined;
|
|
1929
1929
|
}
|
|
@@ -1932,14 +1932,14 @@ export interface Rule {
|
|
|
1932
1932
|
*/
|
|
1933
1933
|
export interface CreateRuleResponse {
|
|
1934
1934
|
/**
|
|
1935
|
-
* @public
|
|
1936
1935
|
* <p>The <a>Rule</a> returned in the <code>CreateRule</code> response.</p>
|
|
1936
|
+
* @public
|
|
1937
1937
|
*/
|
|
1938
1938
|
Rule?: Rule;
|
|
1939
1939
|
/**
|
|
1940
|
-
* @public
|
|
1941
1940
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRule</code> request. You can also use this value
|
|
1942
1941
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1942
|
+
* @public
|
|
1943
1943
|
*/
|
|
1944
1944
|
ChangeToken?: string;
|
|
1945
1945
|
}
|
|
@@ -1948,30 +1948,29 @@ export interface CreateRuleResponse {
|
|
|
1948
1948
|
*/
|
|
1949
1949
|
export interface CreateRuleGroupRequest {
|
|
1950
1950
|
/**
|
|
1951
|
-
* @public
|
|
1952
1951
|
* <p>A friendly name or description of the <a>RuleGroup</a>. You can't change <code>Name</code> after you create a
|
|
1953
1952
|
* <code>RuleGroup</code>.</p>
|
|
1953
|
+
* @public
|
|
1954
1954
|
*/
|
|
1955
1955
|
Name: string | undefined;
|
|
1956
1956
|
/**
|
|
1957
|
-
* @public
|
|
1958
1957
|
* <p>A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
1959
1958
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the <code>RuleGroup</code>.</p>
|
|
1959
|
+
* @public
|
|
1960
1960
|
*/
|
|
1961
1961
|
MetricName: string | undefined;
|
|
1962
1962
|
/**
|
|
1963
|
-
* @public
|
|
1964
1963
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1964
|
+
* @public
|
|
1965
1965
|
*/
|
|
1966
1966
|
ChangeToken: string | undefined;
|
|
1967
1967
|
/**
|
|
1968
|
-
* @public
|
|
1969
1968
|
* <p></p>
|
|
1969
|
+
* @public
|
|
1970
1970
|
*/
|
|
1971
1971
|
Tags?: Tag[];
|
|
1972
1972
|
}
|
|
1973
1973
|
/**
|
|
1974
|
-
* @public
|
|
1975
1974
|
* <note>
|
|
1976
1975
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1977
1976
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1993,26 +1992,27 @@ export interface CreateRuleGroupRequest {
|
|
|
1993
1992
|
* <p>Ten rules per rule group.</p>
|
|
1994
1993
|
* </li>
|
|
1995
1994
|
* </ul>
|
|
1995
|
+
* @public
|
|
1996
1996
|
*/
|
|
1997
1997
|
export interface RuleGroup {
|
|
1998
1998
|
/**
|
|
1999
|
-
* @public
|
|
2000
1999
|
* <p>A unique identifier for a <code>RuleGroup</code>. You use <code>RuleGroupId</code> to get more information about a <code>RuleGroup</code> (see <a>GetRuleGroup</a>),
|
|
2001
2000
|
* update a <code>RuleGroup</code> (see <a>UpdateRuleGroup</a>), insert a <code>RuleGroup</code> into a <code>WebACL</code> or delete a
|
|
2002
2001
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RuleGroup</code> from AWS WAF (see <a>DeleteRuleGroup</a>).</p>
|
|
2003
2002
|
* <p>
|
|
2004
2003
|
* <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>
|
|
2004
|
+
* @public
|
|
2005
2005
|
*/
|
|
2006
2006
|
RuleGroupId: string | undefined;
|
|
2007
2007
|
/**
|
|
2008
|
-
* @public
|
|
2009
2008
|
* <p>The friendly name or description for the <code>RuleGroup</code>. You can't change the name of a <code>RuleGroup</code> after you create it.</p>
|
|
2009
|
+
* @public
|
|
2010
2010
|
*/
|
|
2011
2011
|
Name?: string;
|
|
2012
2012
|
/**
|
|
2013
|
-
* @public
|
|
2014
2013
|
* <p>A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
2015
2014
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the <code>RuleGroup</code>.</p>
|
|
2015
|
+
* @public
|
|
2016
2016
|
*/
|
|
2017
2017
|
MetricName?: string;
|
|
2018
2018
|
}
|
|
@@ -2021,14 +2021,14 @@ export interface RuleGroup {
|
|
|
2021
2021
|
*/
|
|
2022
2022
|
export interface CreateRuleGroupResponse {
|
|
2023
2023
|
/**
|
|
2024
|
-
* @public
|
|
2025
2024
|
* <p>An empty <a>RuleGroup</a>.</p>
|
|
2025
|
+
* @public
|
|
2026
2026
|
*/
|
|
2027
2027
|
RuleGroup?: RuleGroup;
|
|
2028
2028
|
/**
|
|
2029
|
-
* @public
|
|
2030
2029
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRuleGroup</code> request. You can also use this value
|
|
2031
2030
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2031
|
+
* @public
|
|
2032
2032
|
*/
|
|
2033
2033
|
ChangeToken?: string;
|
|
2034
2034
|
}
|
|
@@ -2037,14 +2037,14 @@ export interface CreateRuleGroupResponse {
|
|
|
2037
2037
|
*/
|
|
2038
2038
|
export interface CreateSizeConstraintSetRequest {
|
|
2039
2039
|
/**
|
|
2040
|
-
* @public
|
|
2041
2040
|
* <p>A friendly name or description of the <a>SizeConstraintSet</a>. You can't change <code>Name</code> after you create a
|
|
2042
2041
|
* <code>SizeConstraintSet</code>.</p>
|
|
2042
|
+
* @public
|
|
2043
2043
|
*/
|
|
2044
2044
|
Name: string | undefined;
|
|
2045
2045
|
/**
|
|
2046
|
-
* @public
|
|
2047
2046
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2047
|
+
* @public
|
|
2048
2048
|
*/
|
|
2049
2049
|
ChangeToken: string | undefined;
|
|
2050
2050
|
}
|
|
@@ -2065,7 +2065,6 @@ export declare const ComparisonOperator: {
|
|
|
2065
2065
|
*/
|
|
2066
2066
|
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
2067
2067
|
/**
|
|
2068
|
-
* @public
|
|
2069
2068
|
* <note>
|
|
2070
2069
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2071
2070
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2078,15 +2077,15 @@ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof Compar
|
|
|
2078
2077
|
* an expression in the form of "<code>Size</code>
|
|
2079
2078
|
* <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>". If that expression is true, the
|
|
2080
2079
|
* <code>SizeConstraint</code> is considered to match.</p>
|
|
2080
|
+
* @public
|
|
2081
2081
|
*/
|
|
2082
2082
|
export interface SizeConstraint {
|
|
2083
2083
|
/**
|
|
2084
|
-
* @public
|
|
2085
2084
|
* <p>Specifies where in a web request to look for the size constraint.</p>
|
|
2085
|
+
* @public
|
|
2086
2086
|
*/
|
|
2087
2087
|
FieldToMatch: FieldToMatch | undefined;
|
|
2088
2088
|
/**
|
|
2089
|
-
* @public
|
|
2090
2089
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
2091
2090
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
2092
2091
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -2180,10 +2179,10 @@ export interface SizeConstraint {
|
|
|
2180
2179
|
* <b>URL_DECODE</b>
|
|
2181
2180
|
* </p>
|
|
2182
2181
|
* <p>Use this option to decode a URL-encoded value.</p>
|
|
2182
|
+
* @public
|
|
2183
2183
|
*/
|
|
2184
2184
|
TextTransformation: TextTransformation | undefined;
|
|
2185
2185
|
/**
|
|
2186
|
-
* @public
|
|
2187
2186
|
* <p>The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided <code>Size</code> and <code>FieldToMatch</code>
|
|
2188
2187
|
* to build an expression in the form of "<code>Size</code>
|
|
2189
2188
|
* <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>". If that expression
|
|
@@ -2206,10 +2205,10 @@ export interface SizeConstraint {
|
|
|
2206
2205
|
* <p>
|
|
2207
2206
|
* <b>GT</b>: Used to test if the <code>Size</code> is strictly greater than the size of the <code>FieldToMatch</code>
|
|
2208
2207
|
* </p>
|
|
2208
|
+
* @public
|
|
2209
2209
|
*/
|
|
2210
2210
|
ComparisonOperator: ComparisonOperator | undefined;
|
|
2211
2211
|
/**
|
|
2212
|
-
* @public
|
|
2213
2212
|
* <p>The size in bytes that you want AWS WAF to compare against the size of the specified <code>FieldToMatch</code>. AWS WAF uses this in combination
|
|
2214
2213
|
* with <code>ComparisonOperator</code> and <code>FieldToMatch</code> to build an expression in the form of "<code>Size</code>
|
|
2215
2214
|
* <code>ComparisonOperator</code> size
|
|
@@ -2217,11 +2216,11 @@ export interface SizeConstraint {
|
|
|
2217
2216
|
* <p>Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).</p>
|
|
2218
2217
|
* <p>If you specify <code>URI</code> for the value of <code>Type</code>, the / in the URI counts as one character.
|
|
2219
2218
|
* For example, the URI <code>/logo.jpg</code> is nine characters long.</p>
|
|
2219
|
+
* @public
|
|
2220
2220
|
*/
|
|
2221
2221
|
Size: number | undefined;
|
|
2222
2222
|
}
|
|
2223
2223
|
/**
|
|
2224
|
-
* @public
|
|
2225
2224
|
* <note>
|
|
2226
2225
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2227
2226
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2233,10 +2232,10 @@ export interface SizeConstraint {
|
|
|
2233
2232
|
* <p>A complex type that contains <code>SizeConstraint</code> objects, which specify the parts of web requests that you
|
|
2234
2233
|
* want AWS WAF to inspect the size of. If a <code>SizeConstraintSet</code> contains more than one <code>SizeConstraint</code>
|
|
2235
2234
|
* object, a request only needs to match one constraint to be considered a match.</p>
|
|
2235
|
+
* @public
|
|
2236
2236
|
*/
|
|
2237
2237
|
export interface SizeConstraintSet {
|
|
2238
2238
|
/**
|
|
2239
|
-
* @public
|
|
2240
2239
|
* <p>A unique identifier for a <code>SizeConstraintSet</code>. You use <code>SizeConstraintSetId</code> to get information about a
|
|
2241
2240
|
* <code>SizeConstraintSet</code> (see <a>GetSizeConstraintSet</a>), update a <code>SizeConstraintSet</code>
|
|
2242
2241
|
* (see <a>UpdateSizeConstraintSet</a>), insert a <code>SizeConstraintSet</code> into a <code>Rule</code> or
|
|
@@ -2244,16 +2243,17 @@ export interface SizeConstraintSet {
|
|
|
2244
2243
|
* (see <a>DeleteSizeConstraintSet</a>).</p>
|
|
2245
2244
|
* <p>
|
|
2246
2245
|
* <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
2246
|
+
* @public
|
|
2247
2247
|
*/
|
|
2248
2248
|
SizeConstraintSetId: string | undefined;
|
|
2249
2249
|
/**
|
|
2250
|
-
* @public
|
|
2251
2250
|
* <p>The name, if any, of the <code>SizeConstraintSet</code>.</p>
|
|
2251
|
+
* @public
|
|
2252
2252
|
*/
|
|
2253
2253
|
Name?: string;
|
|
2254
2254
|
/**
|
|
2255
|
-
* @public
|
|
2256
2255
|
* <p>Specifies the parts of web requests that you want to inspect the size of.</p>
|
|
2256
|
+
* @public
|
|
2257
2257
|
*/
|
|
2258
2258
|
SizeConstraints: SizeConstraint[] | undefined;
|
|
2259
2259
|
}
|
|
@@ -2262,36 +2262,35 @@ export interface SizeConstraintSet {
|
|
|
2262
2262
|
*/
|
|
2263
2263
|
export interface CreateSizeConstraintSetResponse {
|
|
2264
2264
|
/**
|
|
2265
|
-
* @public
|
|
2266
2265
|
* <p>A <a>SizeConstraintSet</a> that contains no <code>SizeConstraint</code> objects.</p>
|
|
2266
|
+
* @public
|
|
2267
2267
|
*/
|
|
2268
2268
|
SizeConstraintSet?: SizeConstraintSet;
|
|
2269
2269
|
/**
|
|
2270
|
-
* @public
|
|
2271
2270
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateSizeConstraintSet</code> request. You can also use this value
|
|
2272
2271
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2272
|
+
* @public
|
|
2273
2273
|
*/
|
|
2274
2274
|
ChangeToken?: string;
|
|
2275
2275
|
}
|
|
2276
2276
|
/**
|
|
2277
|
-
* @public
|
|
2278
2277
|
* <p>A request to create a <a>SqlInjectionMatchSet</a>.</p>
|
|
2278
|
+
* @public
|
|
2279
2279
|
*/
|
|
2280
2280
|
export interface CreateSqlInjectionMatchSetRequest {
|
|
2281
2281
|
/**
|
|
2282
|
-
* @public
|
|
2283
2282
|
* <p>A friendly name or description for the <a>SqlInjectionMatchSet</a> that you're creating. You can't change <code>Name</code>
|
|
2284
2283
|
* after you create the <code>SqlInjectionMatchSet</code>.</p>
|
|
2284
|
+
* @public
|
|
2285
2285
|
*/
|
|
2286
2286
|
Name: string | undefined;
|
|
2287
2287
|
/**
|
|
2288
|
-
* @public
|
|
2289
2288
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2289
|
+
* @public
|
|
2290
2290
|
*/
|
|
2291
2291
|
ChangeToken: string | undefined;
|
|
2292
2292
|
}
|
|
2293
2293
|
/**
|
|
2294
|
-
* @public
|
|
2295
2294
|
* <note>
|
|
2296
2295
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2297
2296
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2301,15 +2300,15 @@ export interface CreateSqlInjectionMatchSetRequest {
|
|
|
2301
2300
|
* 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>
|
|
2302
2301
|
* </note>
|
|
2303
2302
|
* <p>Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.</p>
|
|
2303
|
+
* @public
|
|
2304
2304
|
*/
|
|
2305
2305
|
export interface SqlInjectionMatchTuple {
|
|
2306
2306
|
/**
|
|
2307
|
-
* @public
|
|
2308
2307
|
* <p>Specifies where in a web request to look for snippets of malicious SQL code.</p>
|
|
2308
|
+
* @public
|
|
2309
2309
|
*/
|
|
2310
2310
|
FieldToMatch: FieldToMatch | undefined;
|
|
2311
2311
|
/**
|
|
2312
|
-
* @public
|
|
2313
2312
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
2314
2313
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
2315
2314
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -2403,11 +2402,11 @@ export interface SqlInjectionMatchTuple {
|
|
|
2403
2402
|
* <b>NONE</b>
|
|
2404
2403
|
* </p>
|
|
2405
2404
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
2405
|
+
* @public
|
|
2406
2406
|
*/
|
|
2407
2407
|
TextTransformation: TextTransformation | undefined;
|
|
2408
2408
|
}
|
|
2409
2409
|
/**
|
|
2410
|
-
* @public
|
|
2411
2410
|
* <note>
|
|
2412
2411
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2413
2412
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2420,10 +2419,10 @@ export interface SqlInjectionMatchTuple {
|
|
|
2420
2419
|
* want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a
|
|
2421
2420
|
* <code>SqlInjectionMatchSet</code> contains more than one <code>SqlInjectionMatchTuple</code> object, a request needs to
|
|
2422
2421
|
* include snippets of SQL code in only one of the specified parts of the request to be considered a match.</p>
|
|
2422
|
+
* @public
|
|
2423
2423
|
*/
|
|
2424
2424
|
export interface SqlInjectionMatchSet {
|
|
2425
2425
|
/**
|
|
2426
|
-
* @public
|
|
2427
2426
|
* <p>A unique identifier for a <code>SqlInjectionMatchSet</code>. You use <code>SqlInjectionMatchSetId</code> to get information about a
|
|
2428
2427
|
* <code>SqlInjectionMatchSet</code> (see <a>GetSqlInjectionMatchSet</a>), update a <code>SqlInjectionMatchSet</code>
|
|
2429
2428
|
* (see <a>UpdateSqlInjectionMatchSet</a>), insert a <code>SqlInjectionMatchSet</code> into a <code>Rule</code> or
|
|
@@ -2431,33 +2430,34 @@ export interface SqlInjectionMatchSet {
|
|
|
2431
2430
|
* (see <a>DeleteSqlInjectionMatchSet</a>).</p>
|
|
2432
2431
|
* <p>
|
|
2433
2432
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
2433
|
+
* @public
|
|
2434
2434
|
*/
|
|
2435
2435
|
SqlInjectionMatchSetId: string | undefined;
|
|
2436
2436
|
/**
|
|
2437
|
-
* @public
|
|
2438
2437
|
* <p>The name, if any, of the <code>SqlInjectionMatchSet</code>.</p>
|
|
2438
|
+
* @public
|
|
2439
2439
|
*/
|
|
2440
2440
|
Name?: string;
|
|
2441
2441
|
/**
|
|
2442
|
-
* @public
|
|
2443
2442
|
* <p>Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.</p>
|
|
2443
|
+
* @public
|
|
2444
2444
|
*/
|
|
2445
2445
|
SqlInjectionMatchTuples: SqlInjectionMatchTuple[] | undefined;
|
|
2446
2446
|
}
|
|
2447
2447
|
/**
|
|
2448
|
-
* @public
|
|
2449
2448
|
* <p>The response to a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
2449
|
+
* @public
|
|
2450
2450
|
*/
|
|
2451
2451
|
export interface CreateSqlInjectionMatchSetResponse {
|
|
2452
2452
|
/**
|
|
2453
|
-
* @public
|
|
2454
2453
|
* <p>A <a>SqlInjectionMatchSet</a>.</p>
|
|
2454
|
+
* @public
|
|
2455
2455
|
*/
|
|
2456
2456
|
SqlInjectionMatchSet?: SqlInjectionMatchSet;
|
|
2457
2457
|
/**
|
|
2458
|
-
* @public
|
|
2459
2458
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateSqlInjectionMatchSet</code> request. You can also use this value
|
|
2460
2459
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2460
|
+
* @public
|
|
2461
2461
|
*/
|
|
2462
2462
|
ChangeToken?: string;
|
|
2463
2463
|
}
|
|
@@ -2466,36 +2466,35 @@ export interface CreateSqlInjectionMatchSetResponse {
|
|
|
2466
2466
|
*/
|
|
2467
2467
|
export interface CreateWebACLRequest {
|
|
2468
2468
|
/**
|
|
2469
|
-
* @public
|
|
2470
2469
|
* <p>A friendly name or description of the <a>WebACL</a>. You can't change <code>Name</code> after you create the <code>WebACL</code>.</p>
|
|
2470
|
+
* @public
|
|
2471
2471
|
*/
|
|
2472
2472
|
Name: string | undefined;
|
|
2473
2473
|
/**
|
|
2474
|
-
* @public
|
|
2475
2474
|
* <p>A friendly name or description for the metrics for this <code>WebACL</code>.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
2476
2475
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change <code>MetricName</code> after you create the
|
|
2477
2476
|
* <code>WebACL</code>.</p>
|
|
2477
|
+
* @public
|
|
2478
2478
|
*/
|
|
2479
2479
|
MetricName: string | undefined;
|
|
2480
2480
|
/**
|
|
2481
|
-
* @public
|
|
2482
2481
|
* <p>The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the <code>Rule</code>
|
|
2483
2482
|
* objects that are associated with the <code>WebACL</code>.</p>
|
|
2483
|
+
* @public
|
|
2484
2484
|
*/
|
|
2485
2485
|
DefaultAction: WafAction | undefined;
|
|
2486
2486
|
/**
|
|
2487
|
-
* @public
|
|
2488
2487
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2488
|
+
* @public
|
|
2489
2489
|
*/
|
|
2490
2490
|
ChangeToken: string | undefined;
|
|
2491
2491
|
/**
|
|
2492
|
-
* @public
|
|
2493
2492
|
* <p></p>
|
|
2493
|
+
* @public
|
|
2494
2494
|
*/
|
|
2495
2495
|
Tags?: Tag[];
|
|
2496
2496
|
}
|
|
2497
2497
|
/**
|
|
2498
|
-
* @public
|
|
2499
2498
|
* <note>
|
|
2500
2499
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2501
2500
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2510,43 +2509,44 @@ export interface CreateWebACLRequest {
|
|
|
2510
2509
|
* You also associate the <code>WebACL</code> with a CloudFront distribution to identify the requests that you want AWS WAF to filter.
|
|
2511
2510
|
* If you add more than one <code>Rule</code> to a <code>WebACL</code>, a request needs to match only one of the specifications
|
|
2512
2511
|
* to be allowed, blocked, or counted. For more information, see <a>UpdateWebACL</a>.</p>
|
|
2512
|
+
* @public
|
|
2513
2513
|
*/
|
|
2514
2514
|
export interface WebACL {
|
|
2515
2515
|
/**
|
|
2516
|
-
* @public
|
|
2517
2516
|
* <p>A unique identifier for a <code>WebACL</code>. You use <code>WebACLId</code> to get information about a <code>WebACL</code>
|
|
2518
2517
|
* (see <a>GetWebACL</a>), update a <code>WebACL</code> (see <a>UpdateWebACL</a>), and delete a <code>WebACL</code> from AWS WAF
|
|
2519
2518
|
* (see <a>DeleteWebACL</a>).</p>
|
|
2520
2519
|
* <p>
|
|
2521
2520
|
* <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>
|
|
2521
|
+
* @public
|
|
2522
2522
|
*/
|
|
2523
2523
|
WebACLId: string | undefined;
|
|
2524
2524
|
/**
|
|
2525
|
-
* @public
|
|
2526
2525
|
* <p>A friendly name or description of the <code>WebACL</code>. You can't change the name of a <code>WebACL</code> after you create it.</p>
|
|
2526
|
+
* @public
|
|
2527
2527
|
*/
|
|
2528
2528
|
Name?: string;
|
|
2529
2529
|
/**
|
|
2530
|
-
* @public
|
|
2531
2530
|
* <p>A friendly name or description for the metrics for this <code>WebACL</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
2532
2531
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change <code>MetricName</code> after you create the <code>WebACL</code>.</p>
|
|
2532
|
+
* @public
|
|
2533
2533
|
*/
|
|
2534
2534
|
MetricName?: string;
|
|
2535
2535
|
/**
|
|
2536
|
-
* @public
|
|
2537
2536
|
* <p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. The action is specified by the
|
|
2538
2537
|
* <a>WafAction</a> object.</p>
|
|
2538
|
+
* @public
|
|
2539
2539
|
*/
|
|
2540
2540
|
DefaultAction: WafAction | undefined;
|
|
2541
2541
|
/**
|
|
2542
|
-
* @public
|
|
2543
2542
|
* <p>An array that contains the action for each <code>Rule</code> in a <code>WebACL</code>, the priority of the <code>Rule</code>,
|
|
2544
2543
|
* and the ID of the <code>Rule</code>.</p>
|
|
2544
|
+
* @public
|
|
2545
2545
|
*/
|
|
2546
2546
|
Rules: ActivatedRule[] | undefined;
|
|
2547
2547
|
/**
|
|
2548
|
-
* @public
|
|
2549
2548
|
* <p>Tha Amazon Resource Name (ARN) of the web ACL.</p>
|
|
2549
|
+
* @public
|
|
2550
2550
|
*/
|
|
2551
2551
|
WebACLArn?: string;
|
|
2552
2552
|
}
|
|
@@ -2555,14 +2555,14 @@ export interface WebACL {
|
|
|
2555
2555
|
*/
|
|
2556
2556
|
export interface CreateWebACLResponse {
|
|
2557
2557
|
/**
|
|
2558
|
-
* @public
|
|
2559
2558
|
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
|
|
2559
|
+
* @public
|
|
2560
2560
|
*/
|
|
2561
2561
|
WebACL?: WebACL;
|
|
2562
2562
|
/**
|
|
2563
|
-
* @public
|
|
2564
2563
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateWebACL</code> request. You can also use this value
|
|
2565
2564
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2565
|
+
* @public
|
|
2566
2566
|
*/
|
|
2567
2567
|
ChangeToken?: string;
|
|
2568
2568
|
}
|
|
@@ -2571,12 +2571,11 @@ export interface CreateWebACLResponse {
|
|
|
2571
2571
|
*/
|
|
2572
2572
|
export interface CreateWebACLMigrationStackRequest {
|
|
2573
2573
|
/**
|
|
2574
|
-
* @public
|
|
2575
2574
|
* <p>The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.</p>
|
|
2575
|
+
* @public
|
|
2576
2576
|
*/
|
|
2577
2577
|
WebACLId: string | undefined;
|
|
2578
2578
|
/**
|
|
2579
|
-
* @public
|
|
2580
2579
|
* <p>The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be
|
|
2581
2580
|
* configured as follows for the migration: </p>
|
|
2582
2581
|
* <ul>
|
|
@@ -2591,13 +2590,14 @@ export interface CreateWebACLMigrationStackRequest {
|
|
|
2591
2590
|
* bucket policies, see the Examples section. </p>
|
|
2592
2591
|
* </li>
|
|
2593
2592
|
* </ul>
|
|
2593
|
+
* @public
|
|
2594
2594
|
*/
|
|
2595
2595
|
S3BucketName: string | undefined;
|
|
2596
2596
|
/**
|
|
2597
|
-
* @public
|
|
2598
2597
|
* <p>Indicates whether to exclude entities that can't be migrated or to stop the migration.
|
|
2599
2598
|
* Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported
|
|
2600
2599
|
* entities, it stops the process and throws an exception. </p>
|
|
2600
|
+
* @public
|
|
2601
2601
|
*/
|
|
2602
2602
|
IgnoreUnsupportedType: boolean | undefined;
|
|
2603
2603
|
}
|
|
@@ -2606,8 +2606,8 @@ export interface CreateWebACLMigrationStackRequest {
|
|
|
2606
2606
|
*/
|
|
2607
2607
|
export interface CreateWebACLMigrationStackResponse {
|
|
2608
2608
|
/**
|
|
2609
|
-
* @public
|
|
2610
2609
|
* <p>The URL of the template created in Amazon S3. </p>
|
|
2610
|
+
* @public
|
|
2611
2611
|
*/
|
|
2612
2612
|
S3ObjectUrl: string | undefined;
|
|
2613
2613
|
}
|
|
@@ -2629,7 +2629,6 @@ export declare const MigrationErrorType: {
|
|
|
2629
2629
|
*/
|
|
2630
2630
|
export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof MigrationErrorType];
|
|
2631
2631
|
/**
|
|
2632
|
-
* @public
|
|
2633
2632
|
* <p>The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the <code>MigrationErrorType</code>: </p>
|
|
2634
2633
|
* <ul>
|
|
2635
2634
|
* <li>
|
|
@@ -2661,6 +2660,7 @@ export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof Migrat
|
|
|
2661
2660
|
* <code>S3_INTERNAL_ERROR</code> - AWS WAF failed to create the template in the S3 bucket for another reason.</p>
|
|
2662
2661
|
* </li>
|
|
2663
2662
|
* </ul>
|
|
2663
|
+
* @public
|
|
2664
2664
|
*/
|
|
2665
2665
|
export declare class WAFEntityMigrationException extends __BaseException {
|
|
2666
2666
|
readonly name: "WAFEntityMigrationException";
|
|
@@ -2673,7 +2673,6 @@ export declare class WAFEntityMigrationException extends __BaseException {
|
|
|
2673
2673
|
constructor(opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>);
|
|
2674
2674
|
}
|
|
2675
2675
|
/**
|
|
2676
|
-
* @public
|
|
2677
2676
|
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
2678
2677
|
* <ul>
|
|
2679
2678
|
* <li>
|
|
@@ -2695,6 +2694,7 @@ export declare class WAFEntityMigrationException extends __BaseException {
|
|
|
2695
2694
|
* already exists in the specified <code>WebACL</code>.</p>
|
|
2696
2695
|
* </li>
|
|
2697
2696
|
* </ul>
|
|
2697
|
+
* @public
|
|
2698
2698
|
*/
|
|
2699
2699
|
export declare class WAFInvalidOperationException extends __BaseException {
|
|
2700
2700
|
readonly name: "WAFInvalidOperationException";
|
|
@@ -2705,8 +2705,8 @@ export declare class WAFInvalidOperationException extends __BaseException {
|
|
|
2705
2705
|
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
2706
2706
|
}
|
|
2707
2707
|
/**
|
|
2708
|
-
* @public
|
|
2709
2708
|
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
2709
|
+
* @public
|
|
2710
2710
|
*/
|
|
2711
2711
|
export declare class WAFNonexistentItemException extends __BaseException {
|
|
2712
2712
|
readonly name: "WAFNonexistentItemException";
|
|
@@ -2717,24 +2717,23 @@ export declare class WAFNonexistentItemException extends __BaseException {
|
|
|
2717
2717
|
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
2718
2718
|
}
|
|
2719
2719
|
/**
|
|
2720
|
-
* @public
|
|
2721
2720
|
* <p>A request to create an <a>XssMatchSet</a>.</p>
|
|
2721
|
+
* @public
|
|
2722
2722
|
*/
|
|
2723
2723
|
export interface CreateXssMatchSetRequest {
|
|
2724
2724
|
/**
|
|
2725
|
-
* @public
|
|
2726
2725
|
* <p>A friendly name or description for the <a>XssMatchSet</a> that you're creating. You can't change <code>Name</code>
|
|
2727
2726
|
* after you create the <code>XssMatchSet</code>.</p>
|
|
2727
|
+
* @public
|
|
2728
2728
|
*/
|
|
2729
2729
|
Name: string | undefined;
|
|
2730
2730
|
/**
|
|
2731
|
-
* @public
|
|
2732
2731
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2732
|
+
* @public
|
|
2733
2733
|
*/
|
|
2734
2734
|
ChangeToken: string | undefined;
|
|
2735
2735
|
}
|
|
2736
2736
|
/**
|
|
2737
|
-
* @public
|
|
2738
2737
|
* <note>
|
|
2739
2738
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2740
2739
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2744,15 +2743,15 @@ export interface CreateXssMatchSetRequest {
|
|
|
2744
2743
|
* 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>
|
|
2745
2744
|
* </note>
|
|
2746
2745
|
* <p>Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.</p>
|
|
2746
|
+
* @public
|
|
2747
2747
|
*/
|
|
2748
2748
|
export interface XssMatchTuple {
|
|
2749
2749
|
/**
|
|
2750
|
-
* @public
|
|
2751
2750
|
* <p>Specifies where in a web request to look for cross-site scripting attacks.</p>
|
|
2751
|
+
* @public
|
|
2752
2752
|
*/
|
|
2753
2753
|
FieldToMatch: FieldToMatch | undefined;
|
|
2754
2754
|
/**
|
|
2755
|
-
* @public
|
|
2756
2755
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
2757
2756
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
2758
2757
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -2846,11 +2845,11 @@ export interface XssMatchTuple {
|
|
|
2846
2845
|
* <b>NONE</b>
|
|
2847
2846
|
* </p>
|
|
2848
2847
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
2848
|
+
* @public
|
|
2849
2849
|
*/
|
|
2850
2850
|
TextTransformation: TextTransformation | undefined;
|
|
2851
2851
|
}
|
|
2852
2852
|
/**
|
|
2853
|
-
* @public
|
|
2854
2853
|
* <note>
|
|
2855
2854
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2856
2855
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2863,10 +2862,10 @@ export interface XssMatchTuple {
|
|
|
2863
2862
|
* want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header. If a
|
|
2864
2863
|
* <code>XssMatchSet</code> contains more than one <code>XssMatchTuple</code> object, a request needs to
|
|
2865
2864
|
* include cross-site scripting attacks in only one of the specified parts of the request to be considered a match.</p>
|
|
2865
|
+
* @public
|
|
2866
2866
|
*/
|
|
2867
2867
|
export interface XssMatchSet {
|
|
2868
2868
|
/**
|
|
2869
|
-
* @public
|
|
2870
2869
|
* <p>A unique identifier for an <code>XssMatchSet</code>. You use <code>XssMatchSetId</code> to get information about an
|
|
2871
2870
|
* <code>XssMatchSet</code> (see <a>GetXssMatchSet</a>), update an <code>XssMatchSet</code>
|
|
2872
2871
|
* (see <a>UpdateXssMatchSet</a>), insert an <code>XssMatchSet</code> into a <code>Rule</code> or
|
|
@@ -2874,33 +2873,34 @@ export interface XssMatchSet {
|
|
|
2874
2873
|
* (see <a>DeleteXssMatchSet</a>).</p>
|
|
2875
2874
|
* <p>
|
|
2876
2875
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
2876
|
+
* @public
|
|
2877
2877
|
*/
|
|
2878
2878
|
XssMatchSetId: string | undefined;
|
|
2879
2879
|
/**
|
|
2880
|
-
* @public
|
|
2881
2880
|
* <p>The name, if any, of the <code>XssMatchSet</code>.</p>
|
|
2881
|
+
* @public
|
|
2882
2882
|
*/
|
|
2883
2883
|
Name?: string;
|
|
2884
2884
|
/**
|
|
2885
|
-
* @public
|
|
2886
2885
|
* <p>Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.</p>
|
|
2886
|
+
* @public
|
|
2887
2887
|
*/
|
|
2888
2888
|
XssMatchTuples: XssMatchTuple[] | undefined;
|
|
2889
2889
|
}
|
|
2890
2890
|
/**
|
|
2891
|
-
* @public
|
|
2892
2891
|
* <p>The response to a <code>CreateXssMatchSet</code> request.</p>
|
|
2892
|
+
* @public
|
|
2893
2893
|
*/
|
|
2894
2894
|
export interface CreateXssMatchSetResponse {
|
|
2895
2895
|
/**
|
|
2896
|
-
* @public
|
|
2897
2896
|
* <p>An <a>XssMatchSet</a>.</p>
|
|
2897
|
+
* @public
|
|
2898
2898
|
*/
|
|
2899
2899
|
XssMatchSet?: XssMatchSet;
|
|
2900
2900
|
/**
|
|
2901
|
-
* @public
|
|
2902
2901
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateXssMatchSet</code> request. You can also use this value
|
|
2903
2902
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2903
|
+
* @public
|
|
2904
2904
|
*/
|
|
2905
2905
|
ChangeToken?: string;
|
|
2906
2906
|
}
|
|
@@ -2909,14 +2909,14 @@ export interface CreateXssMatchSetResponse {
|
|
|
2909
2909
|
*/
|
|
2910
2910
|
export interface DeleteByteMatchSetRequest {
|
|
2911
2911
|
/**
|
|
2912
|
-
* @public
|
|
2913
2912
|
* <p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to delete. <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by
|
|
2914
2913
|
* <a>ListByteMatchSets</a>.</p>
|
|
2914
|
+
* @public
|
|
2915
2915
|
*/
|
|
2916
2916
|
ByteMatchSetId: string | undefined;
|
|
2917
2917
|
/**
|
|
2918
|
-
* @public
|
|
2919
2918
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2919
|
+
* @public
|
|
2920
2920
|
*/
|
|
2921
2921
|
ChangeToken: string | undefined;
|
|
2922
2922
|
}
|
|
@@ -2925,14 +2925,13 @@ export interface DeleteByteMatchSetRequest {
|
|
|
2925
2925
|
*/
|
|
2926
2926
|
export interface DeleteByteMatchSetResponse {
|
|
2927
2927
|
/**
|
|
2928
|
-
* @public
|
|
2929
2928
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteByteMatchSet</code> request. You can also use this value
|
|
2930
2929
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2930
|
+
* @public
|
|
2931
2931
|
*/
|
|
2932
2932
|
ChangeToken?: string;
|
|
2933
2933
|
}
|
|
2934
2934
|
/**
|
|
2935
|
-
* @public
|
|
2936
2935
|
* <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
|
|
2937
2936
|
* <ul>
|
|
2938
2937
|
* <li>
|
|
@@ -2949,6 +2948,7 @@ export interface DeleteByteMatchSetResponse {
|
|
|
2949
2948
|
* <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
|
|
2950
2949
|
* </li>
|
|
2951
2950
|
* </ul>
|
|
2951
|
+
* @public
|
|
2952
2952
|
*/
|
|
2953
2953
|
export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
2954
2954
|
readonly name: "WAFNonEmptyEntityException";
|
|
@@ -2959,7 +2959,6 @@ export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
|
2959
2959
|
constructor(opts: __ExceptionOptionType<WAFNonEmptyEntityException, __BaseException>);
|
|
2960
2960
|
}
|
|
2961
2961
|
/**
|
|
2962
|
-
* @public
|
|
2963
2962
|
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
2964
2963
|
* <ul>
|
|
2965
2964
|
* <li>
|
|
@@ -2969,6 +2968,7 @@ export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
|
2969
2968
|
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
2970
2969
|
* </li>
|
|
2971
2970
|
* </ul>
|
|
2971
|
+
* @public
|
|
2972
2972
|
*/
|
|
2973
2973
|
export declare class WAFReferencedItemException extends __BaseException {
|
|
2974
2974
|
readonly name: "WAFReferencedItemException";
|
|
@@ -2983,14 +2983,14 @@ export declare class WAFReferencedItemException extends __BaseException {
|
|
|
2983
2983
|
*/
|
|
2984
2984
|
export interface DeleteGeoMatchSetRequest {
|
|
2985
2985
|
/**
|
|
2986
|
-
* @public
|
|
2987
2986
|
* <p>The <code>GeoMatchSetID</code> of the <a>GeoMatchSet</a> that you want to delete. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by
|
|
2988
2987
|
* <a>ListGeoMatchSets</a>.</p>
|
|
2988
|
+
* @public
|
|
2989
2989
|
*/
|
|
2990
2990
|
GeoMatchSetId: string | undefined;
|
|
2991
2991
|
/**
|
|
2992
|
-
* @public
|
|
2993
2992
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2993
|
+
* @public
|
|
2994
2994
|
*/
|
|
2995
2995
|
ChangeToken: string | undefined;
|
|
2996
2996
|
}
|
|
@@ -2999,9 +2999,9 @@ export interface DeleteGeoMatchSetRequest {
|
|
|
2999
2999
|
*/
|
|
3000
3000
|
export interface DeleteGeoMatchSetResponse {
|
|
3001
3001
|
/**
|
|
3002
|
-
* @public
|
|
3003
3002
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteGeoMatchSet</code> request. You can also use this value
|
|
3004
3003
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3004
|
+
* @public
|
|
3005
3005
|
*/
|
|
3006
3006
|
ChangeToken?: string;
|
|
3007
3007
|
}
|
|
@@ -3010,14 +3010,14 @@ export interface DeleteGeoMatchSetResponse {
|
|
|
3010
3010
|
*/
|
|
3011
3011
|
export interface DeleteIPSetRequest {
|
|
3012
3012
|
/**
|
|
3013
|
-
* @public
|
|
3014
3013
|
* <p>The <code>IPSetId</code> of the <a>IPSet</a> that you want to delete. <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by
|
|
3015
3014
|
* <a>ListIPSets</a>.</p>
|
|
3015
|
+
* @public
|
|
3016
3016
|
*/
|
|
3017
3017
|
IPSetId: string | undefined;
|
|
3018
3018
|
/**
|
|
3019
|
-
* @public
|
|
3020
3019
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3020
|
+
* @public
|
|
3021
3021
|
*/
|
|
3022
3022
|
ChangeToken: string | undefined;
|
|
3023
3023
|
}
|
|
@@ -3026,9 +3026,9 @@ export interface DeleteIPSetRequest {
|
|
|
3026
3026
|
*/
|
|
3027
3027
|
export interface DeleteIPSetResponse {
|
|
3028
3028
|
/**
|
|
3029
|
-
* @public
|
|
3030
3029
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteIPSet</code> request. You can also use this value
|
|
3031
3030
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3031
|
+
* @public
|
|
3032
3032
|
*/
|
|
3033
3033
|
ChangeToken?: string;
|
|
3034
3034
|
}
|
|
@@ -3037,8 +3037,8 @@ export interface DeleteIPSetResponse {
|
|
|
3037
3037
|
*/
|
|
3038
3038
|
export interface DeleteLoggingConfigurationRequest {
|
|
3039
3039
|
/**
|
|
3040
|
-
* @public
|
|
3041
3040
|
* <p>The Amazon Resource Name (ARN) of the web ACL from which you want to delete the <a>LoggingConfiguration</a>.</p>
|
|
3041
|
+
* @public
|
|
3042
3042
|
*/
|
|
3043
3043
|
ResourceArn: string | undefined;
|
|
3044
3044
|
}
|
|
@@ -3052,9 +3052,9 @@ export interface DeleteLoggingConfigurationResponse {
|
|
|
3052
3052
|
*/
|
|
3053
3053
|
export interface DeletePermissionPolicyRequest {
|
|
3054
3054
|
/**
|
|
3055
|
-
* @public
|
|
3056
3055
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.</p>
|
|
3057
3056
|
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
3057
|
+
* @public
|
|
3058
3058
|
*/
|
|
3059
3059
|
ResourceArn: string | undefined;
|
|
3060
3060
|
}
|
|
@@ -3068,15 +3068,15 @@ export interface DeletePermissionPolicyResponse {
|
|
|
3068
3068
|
*/
|
|
3069
3069
|
export interface DeleteRateBasedRuleRequest {
|
|
3070
3070
|
/**
|
|
3071
|
-
* @public
|
|
3072
3071
|
* <p>The <code>RuleId</code> of the <a>RateBasedRule</a> that you want to
|
|
3073
3072
|
* delete. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by
|
|
3074
3073
|
* <a>ListRateBasedRules</a>.</p>
|
|
3074
|
+
* @public
|
|
3075
3075
|
*/
|
|
3076
3076
|
RuleId: string | undefined;
|
|
3077
3077
|
/**
|
|
3078
|
-
* @public
|
|
3079
3078
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3079
|
+
* @public
|
|
3080
3080
|
*/
|
|
3081
3081
|
ChangeToken: string | undefined;
|
|
3082
3082
|
}
|
|
@@ -3085,10 +3085,10 @@ export interface DeleteRateBasedRuleRequest {
|
|
|
3085
3085
|
*/
|
|
3086
3086
|
export interface DeleteRateBasedRuleResponse {
|
|
3087
3087
|
/**
|
|
3088
|
-
* @public
|
|
3089
3088
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
3090
3089
|
* <code>DeleteRateBasedRule</code> request. You can also use this value to query the
|
|
3091
3090
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3091
|
+
* @public
|
|
3092
3092
|
*/
|
|
3093
3093
|
ChangeToken?: string;
|
|
3094
3094
|
}
|
|
@@ -3097,14 +3097,14 @@ export interface DeleteRateBasedRuleResponse {
|
|
|
3097
3097
|
*/
|
|
3098
3098
|
export interface DeleteRegexMatchSetRequest {
|
|
3099
3099
|
/**
|
|
3100
|
-
* @public
|
|
3101
3100
|
* <p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to delete. <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by
|
|
3102
3101
|
* <a>ListRegexMatchSets</a>.</p>
|
|
3102
|
+
* @public
|
|
3103
3103
|
*/
|
|
3104
3104
|
RegexMatchSetId: string | undefined;
|
|
3105
3105
|
/**
|
|
3106
|
-
* @public
|
|
3107
3106
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3107
|
+
* @public
|
|
3108
3108
|
*/
|
|
3109
3109
|
ChangeToken: string | undefined;
|
|
3110
3110
|
}
|
|
@@ -3113,9 +3113,9 @@ export interface DeleteRegexMatchSetRequest {
|
|
|
3113
3113
|
*/
|
|
3114
3114
|
export interface DeleteRegexMatchSetResponse {
|
|
3115
3115
|
/**
|
|
3116
|
-
* @public
|
|
3117
3116
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexMatchSet</code> request. You can also use this value
|
|
3118
3117
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3118
|
+
* @public
|
|
3119
3119
|
*/
|
|
3120
3120
|
ChangeToken?: string;
|
|
3121
3121
|
}
|
|
@@ -3124,14 +3124,14 @@ export interface DeleteRegexMatchSetResponse {
|
|
|
3124
3124
|
*/
|
|
3125
3125
|
export interface DeleteRegexPatternSetRequest {
|
|
3126
3126
|
/**
|
|
3127
|
-
* @public
|
|
3128
3127
|
* <p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to delete. <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by
|
|
3129
3128
|
* <a>ListRegexPatternSets</a>.</p>
|
|
3129
|
+
* @public
|
|
3130
3130
|
*/
|
|
3131
3131
|
RegexPatternSetId: string | undefined;
|
|
3132
3132
|
/**
|
|
3133
|
-
* @public
|
|
3134
3133
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3134
|
+
* @public
|
|
3135
3135
|
*/
|
|
3136
3136
|
ChangeToken: string | undefined;
|
|
3137
3137
|
}
|
|
@@ -3140,9 +3140,9 @@ export interface DeleteRegexPatternSetRequest {
|
|
|
3140
3140
|
*/
|
|
3141
3141
|
export interface DeleteRegexPatternSetResponse {
|
|
3142
3142
|
/**
|
|
3143
|
-
* @public
|
|
3144
3143
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexPatternSet</code> request. You can also use this value
|
|
3145
3144
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3145
|
+
* @public
|
|
3146
3146
|
*/
|
|
3147
3147
|
ChangeToken?: string;
|
|
3148
3148
|
}
|
|
@@ -3151,14 +3151,14 @@ export interface DeleteRegexPatternSetResponse {
|
|
|
3151
3151
|
*/
|
|
3152
3152
|
export interface DeleteRuleRequest {
|
|
3153
3153
|
/**
|
|
3154
|
-
* @public
|
|
3155
3154
|
* <p>The <code>RuleId</code> of the <a>Rule</a> that you want to delete. <code>RuleId</code> is returned by <a>CreateRule</a> and by
|
|
3156
3155
|
* <a>ListRules</a>.</p>
|
|
3156
|
+
* @public
|
|
3157
3157
|
*/
|
|
3158
3158
|
RuleId: string | undefined;
|
|
3159
3159
|
/**
|
|
3160
|
-
* @public
|
|
3161
3160
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3161
|
+
* @public
|
|
3162
3162
|
*/
|
|
3163
3163
|
ChangeToken: string | undefined;
|
|
3164
3164
|
}
|
|
@@ -3167,9 +3167,9 @@ export interface DeleteRuleRequest {
|
|
|
3167
3167
|
*/
|
|
3168
3168
|
export interface DeleteRuleResponse {
|
|
3169
3169
|
/**
|
|
3170
|
-
* @public
|
|
3171
3170
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRule</code> request. You can also use this value
|
|
3172
3171
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3172
|
+
* @public
|
|
3173
3173
|
*/
|
|
3174
3174
|
ChangeToken?: string;
|
|
3175
3175
|
}
|
|
@@ -3178,14 +3178,14 @@ export interface DeleteRuleResponse {
|
|
|
3178
3178
|
*/
|
|
3179
3179
|
export interface DeleteRuleGroupRequest {
|
|
3180
3180
|
/**
|
|
3181
|
-
* @public
|
|
3182
3181
|
* <p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to delete. <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by
|
|
3183
3182
|
* <a>ListRuleGroups</a>.</p>
|
|
3183
|
+
* @public
|
|
3184
3184
|
*/
|
|
3185
3185
|
RuleGroupId: string | undefined;
|
|
3186
3186
|
/**
|
|
3187
|
-
* @public
|
|
3188
3187
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3188
|
+
* @public
|
|
3189
3189
|
*/
|
|
3190
3190
|
ChangeToken: string | undefined;
|
|
3191
3191
|
}
|
|
@@ -3194,9 +3194,9 @@ export interface DeleteRuleGroupRequest {
|
|
|
3194
3194
|
*/
|
|
3195
3195
|
export interface DeleteRuleGroupResponse {
|
|
3196
3196
|
/**
|
|
3197
|
-
* @public
|
|
3198
3197
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRuleGroup</code> request. You can also use this value
|
|
3199
3198
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3199
|
+
* @public
|
|
3200
3200
|
*/
|
|
3201
3201
|
ChangeToken?: string;
|
|
3202
3202
|
}
|
|
@@ -3205,14 +3205,14 @@ export interface DeleteRuleGroupResponse {
|
|
|
3205
3205
|
*/
|
|
3206
3206
|
export interface DeleteSizeConstraintSetRequest {
|
|
3207
3207
|
/**
|
|
3208
|
-
* @public
|
|
3209
3208
|
* <p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to delete. <code>SizeConstraintSetId</code>
|
|
3210
3209
|
* is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
3210
|
+
* @public
|
|
3211
3211
|
*/
|
|
3212
3212
|
SizeConstraintSetId: string | undefined;
|
|
3213
3213
|
/**
|
|
3214
|
-
* @public
|
|
3215
3214
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3215
|
+
* @public
|
|
3216
3216
|
*/
|
|
3217
3217
|
ChangeToken: string | undefined;
|
|
3218
3218
|
}
|
|
@@ -3221,38 +3221,38 @@ export interface DeleteSizeConstraintSetRequest {
|
|
|
3221
3221
|
*/
|
|
3222
3222
|
export interface DeleteSizeConstraintSetResponse {
|
|
3223
3223
|
/**
|
|
3224
|
-
* @public
|
|
3225
3224
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteSizeConstraintSet</code> request. You can also use this value
|
|
3226
3225
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3226
|
+
* @public
|
|
3227
3227
|
*/
|
|
3228
3228
|
ChangeToken?: string;
|
|
3229
3229
|
}
|
|
3230
3230
|
/**
|
|
3231
|
-
* @public
|
|
3232
3231
|
* <p>A request to delete a <a>SqlInjectionMatchSet</a> from AWS WAF.</p>
|
|
3232
|
+
* @public
|
|
3233
3233
|
*/
|
|
3234
3234
|
export interface DeleteSqlInjectionMatchSetRequest {
|
|
3235
3235
|
/**
|
|
3236
|
-
* @public
|
|
3237
3236
|
* <p>The <code>SqlInjectionMatchSetId</code> of the <a>SqlInjectionMatchSet</a> that you want to delete.
|
|
3238
3237
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
3238
|
+
* @public
|
|
3239
3239
|
*/
|
|
3240
3240
|
SqlInjectionMatchSetId: string | undefined;
|
|
3241
3241
|
/**
|
|
3242
|
-
* @public
|
|
3243
3242
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3243
|
+
* @public
|
|
3244
3244
|
*/
|
|
3245
3245
|
ChangeToken: string | undefined;
|
|
3246
3246
|
}
|
|
3247
3247
|
/**
|
|
3248
|
-
* @public
|
|
3249
3248
|
* <p>The response to a request to delete a <a>SqlInjectionMatchSet</a> from AWS WAF.</p>
|
|
3249
|
+
* @public
|
|
3250
3250
|
*/
|
|
3251
3251
|
export interface DeleteSqlInjectionMatchSetResponse {
|
|
3252
3252
|
/**
|
|
3253
|
-
* @public
|
|
3254
3253
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteSqlInjectionMatchSet</code> request. You can also use this value
|
|
3255
3254
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3255
|
+
* @public
|
|
3256
3256
|
*/
|
|
3257
3257
|
ChangeToken?: string;
|
|
3258
3258
|
}
|
|
@@ -3261,14 +3261,14 @@ export interface DeleteSqlInjectionMatchSetResponse {
|
|
|
3261
3261
|
*/
|
|
3262
3262
|
export interface DeleteWebACLRequest {
|
|
3263
3263
|
/**
|
|
3264
|
-
* @public
|
|
3265
3264
|
* <p>The <code>WebACLId</code> of the <a>WebACL</a> that you want to delete. <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by
|
|
3266
3265
|
* <a>ListWebACLs</a>.</p>
|
|
3266
|
+
* @public
|
|
3267
3267
|
*/
|
|
3268
3268
|
WebACLId: string | undefined;
|
|
3269
3269
|
/**
|
|
3270
|
-
* @public
|
|
3271
3270
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3271
|
+
* @public
|
|
3272
3272
|
*/
|
|
3273
3273
|
ChangeToken: string | undefined;
|
|
3274
3274
|
}
|
|
@@ -3277,38 +3277,38 @@ export interface DeleteWebACLRequest {
|
|
|
3277
3277
|
*/
|
|
3278
3278
|
export interface DeleteWebACLResponse {
|
|
3279
3279
|
/**
|
|
3280
|
-
* @public
|
|
3281
3280
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteWebACL</code> request. You can also use this value
|
|
3282
3281
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3282
|
+
* @public
|
|
3283
3283
|
*/
|
|
3284
3284
|
ChangeToken?: string;
|
|
3285
3285
|
}
|
|
3286
3286
|
/**
|
|
3287
|
-
* @public
|
|
3288
3287
|
* <p>A request to delete an <a>XssMatchSet</a> from AWS WAF.</p>
|
|
3288
|
+
* @public
|
|
3289
3289
|
*/
|
|
3290
3290
|
export interface DeleteXssMatchSetRequest {
|
|
3291
3291
|
/**
|
|
3292
|
-
* @public
|
|
3293
3292
|
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to delete.
|
|
3294
3293
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
3294
|
+
* @public
|
|
3295
3295
|
*/
|
|
3296
3296
|
XssMatchSetId: string | undefined;
|
|
3297
3297
|
/**
|
|
3298
|
-
* @public
|
|
3299
3298
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3299
|
+
* @public
|
|
3300
3300
|
*/
|
|
3301
3301
|
ChangeToken: string | undefined;
|
|
3302
3302
|
}
|
|
3303
3303
|
/**
|
|
3304
|
-
* @public
|
|
3305
3304
|
* <p>The response to a request to delete an <a>XssMatchSet</a> from AWS WAF.</p>
|
|
3305
|
+
* @public
|
|
3306
3306
|
*/
|
|
3307
3307
|
export interface DeleteXssMatchSetResponse {
|
|
3308
3308
|
/**
|
|
3309
|
-
* @public
|
|
3310
3309
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteXssMatchSet</code> request. You can also use this value
|
|
3311
3310
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3311
|
+
* @public
|
|
3312
3312
|
*/
|
|
3313
3313
|
ChangeToken?: string;
|
|
3314
3314
|
}
|
|
@@ -3317,9 +3317,9 @@ export interface DeleteXssMatchSetResponse {
|
|
|
3317
3317
|
*/
|
|
3318
3318
|
export interface GetByteMatchSetRequest {
|
|
3319
3319
|
/**
|
|
3320
|
-
* @public
|
|
3321
3320
|
* <p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to get. <code>ByteMatchSetId</code> is returned by
|
|
3322
3321
|
* <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>
|
|
3322
|
+
* @public
|
|
3323
3323
|
*/
|
|
3324
3324
|
ByteMatchSetId: string | undefined;
|
|
3325
3325
|
}
|
|
@@ -3328,7 +3328,6 @@ export interface GetByteMatchSetRequest {
|
|
|
3328
3328
|
*/
|
|
3329
3329
|
export interface GetByteMatchSetResponse {
|
|
3330
3330
|
/**
|
|
3331
|
-
* @public
|
|
3332
3331
|
* <p>Information about the <a>ByteMatchSet</a> that you specified in the <code>GetByteMatchSet</code> request. For more information, see the
|
|
3333
3332
|
* following topics:</p>
|
|
3334
3333
|
* <ul>
|
|
@@ -3350,6 +3349,7 @@ export interface GetByteMatchSetResponse {
|
|
|
3350
3349
|
* </p>
|
|
3351
3350
|
* </li>
|
|
3352
3351
|
* </ul>
|
|
3352
|
+
* @public
|
|
3353
3353
|
*/
|
|
3354
3354
|
ByteMatchSet?: ByteMatchSet;
|
|
3355
3355
|
}
|
|
@@ -3363,9 +3363,9 @@ export interface GetChangeTokenRequest {
|
|
|
3363
3363
|
*/
|
|
3364
3364
|
export interface GetChangeTokenResponse {
|
|
3365
3365
|
/**
|
|
3366
|
-
* @public
|
|
3367
3366
|
* <p>The <code>ChangeToken</code> that you used in the request. Use this value in a <code>GetChangeTokenStatus</code> request
|
|
3368
3367
|
* to get the current status of the request. </p>
|
|
3368
|
+
* @public
|
|
3369
3369
|
*/
|
|
3370
3370
|
ChangeToken?: string;
|
|
3371
3371
|
}
|
|
@@ -3374,8 +3374,8 @@ export interface GetChangeTokenResponse {
|
|
|
3374
3374
|
*/
|
|
3375
3375
|
export interface GetChangeTokenStatusRequest {
|
|
3376
3376
|
/**
|
|
3377
|
-
* @public
|
|
3378
3377
|
* <p>The change token for which you want to get the status. This change token was previously returned in the <code>GetChangeToken</code> response.</p>
|
|
3378
|
+
* @public
|
|
3379
3379
|
*/
|
|
3380
3380
|
ChangeToken: string | undefined;
|
|
3381
3381
|
}
|
|
@@ -3397,8 +3397,8 @@ export type ChangeTokenStatus = (typeof ChangeTokenStatus)[keyof typeof ChangeTo
|
|
|
3397
3397
|
*/
|
|
3398
3398
|
export interface GetChangeTokenStatusResponse {
|
|
3399
3399
|
/**
|
|
3400
|
-
* @public
|
|
3401
3400
|
* <p>The status of the change token.</p>
|
|
3401
|
+
* @public
|
|
3402
3402
|
*/
|
|
3403
3403
|
ChangeTokenStatus?: ChangeTokenStatus;
|
|
3404
3404
|
}
|
|
@@ -3407,9 +3407,9 @@ export interface GetChangeTokenStatusResponse {
|
|
|
3407
3407
|
*/
|
|
3408
3408
|
export interface GetGeoMatchSetRequest {
|
|
3409
3409
|
/**
|
|
3410
|
-
* @public
|
|
3411
3410
|
* <p>The <code>GeoMatchSetId</code> of the <a>GeoMatchSet</a> that you want to get. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by
|
|
3412
3411
|
* <a>ListGeoMatchSets</a>.</p>
|
|
3412
|
+
* @public
|
|
3413
3413
|
*/
|
|
3414
3414
|
GeoMatchSetId: string | undefined;
|
|
3415
3415
|
}
|
|
@@ -3418,8 +3418,8 @@ export interface GetGeoMatchSetRequest {
|
|
|
3418
3418
|
*/
|
|
3419
3419
|
export interface GetGeoMatchSetResponse {
|
|
3420
3420
|
/**
|
|
3421
|
-
* @public
|
|
3422
3421
|
* <p>Information about the <a>GeoMatchSet</a> that you specified in the <code>GetGeoMatchSet</code> request. This includes the <code>Type</code>, which for a <code>GeoMatchContraint</code> is always <code>Country</code>, as well as the <code>Value</code>, which is the identifier for a specific country.</p>
|
|
3422
|
+
* @public
|
|
3423
3423
|
*/
|
|
3424
3424
|
GeoMatchSet?: GeoMatchSet;
|
|
3425
3425
|
}
|
|
@@ -3428,9 +3428,9 @@ export interface GetGeoMatchSetResponse {
|
|
|
3428
3428
|
*/
|
|
3429
3429
|
export interface GetIPSetRequest {
|
|
3430
3430
|
/**
|
|
3431
|
-
* @public
|
|
3432
3431
|
* <p>The <code>IPSetId</code> of the <a>IPSet</a> that you want to get. <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by
|
|
3433
3432
|
* <a>ListIPSets</a>.</p>
|
|
3433
|
+
* @public
|
|
3434
3434
|
*/
|
|
3435
3435
|
IPSetId: string | undefined;
|
|
3436
3436
|
}
|
|
@@ -3439,7 +3439,6 @@ export interface GetIPSetRequest {
|
|
|
3439
3439
|
*/
|
|
3440
3440
|
export interface GetIPSetResponse {
|
|
3441
3441
|
/**
|
|
3442
|
-
* @public
|
|
3443
3442
|
* <p>Information about the <a>IPSet</a> that you specified in the <code>GetIPSet</code> request. For more information, see the
|
|
3444
3443
|
* following topics:</p>
|
|
3445
3444
|
* <ul>
|
|
@@ -3455,6 +3454,7 @@ export interface GetIPSetResponse {
|
|
|
3455
3454
|
* </p>
|
|
3456
3455
|
* </li>
|
|
3457
3456
|
* </ul>
|
|
3457
|
+
* @public
|
|
3458
3458
|
*/
|
|
3459
3459
|
IPSet?: IPSet;
|
|
3460
3460
|
}
|
|
@@ -3463,13 +3463,12 @@ export interface GetIPSetResponse {
|
|
|
3463
3463
|
*/
|
|
3464
3464
|
export interface GetLoggingConfigurationRequest {
|
|
3465
3465
|
/**
|
|
3466
|
-
* @public
|
|
3467
3466
|
* <p>The Amazon Resource Name (ARN) of the web ACL for which you want to get the <a>LoggingConfiguration</a>.</p>
|
|
3467
|
+
* @public
|
|
3468
3468
|
*/
|
|
3469
3469
|
ResourceArn: string | undefined;
|
|
3470
3470
|
}
|
|
3471
3471
|
/**
|
|
3472
|
-
* @public
|
|
3473
3472
|
* <note>
|
|
3474
3473
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3475
3474
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3480,25 +3479,26 @@ export interface GetLoggingConfigurationRequest {
|
|
|
3480
3479
|
* </note>
|
|
3481
3480
|
* <p>The Amazon Kinesis Data Firehose, <code>RedactedFields</code>
|
|
3482
3481
|
* information, and the web ACL Amazon Resource Name (ARN).</p>
|
|
3482
|
+
* @public
|
|
3483
3483
|
*/
|
|
3484
3484
|
export interface LoggingConfiguration {
|
|
3485
3485
|
/**
|
|
3486
|
-
* @public
|
|
3487
3486
|
* <p>The Amazon Resource Name (ARN) of the web ACL that you want to associate with
|
|
3488
3487
|
* <code>LogDestinationConfigs</code>.</p>
|
|
3488
|
+
* @public
|
|
3489
3489
|
*/
|
|
3490
3490
|
ResourceArn: string | undefined;
|
|
3491
3491
|
/**
|
|
3492
|
-
* @public
|
|
3493
3492
|
* <p>An array of Amazon Kinesis Data Firehose ARNs.</p>
|
|
3493
|
+
* @public
|
|
3494
3494
|
*/
|
|
3495
3495
|
LogDestinationConfigs: string[] | undefined;
|
|
3496
3496
|
/**
|
|
3497
|
-
* @public
|
|
3498
3497
|
* <p>The parts of the request that you want redacted from the logs. For
|
|
3499
3498
|
* example,
|
|
3500
3499
|
* if you redact the cookie field, the cookie field in the firehose will be
|
|
3501
3500
|
* <code>xxx</code>. </p>
|
|
3501
|
+
* @public
|
|
3502
3502
|
*/
|
|
3503
3503
|
RedactedFields?: FieldToMatch[];
|
|
3504
3504
|
}
|
|
@@ -3507,8 +3507,8 @@ export interface LoggingConfiguration {
|
|
|
3507
3507
|
*/
|
|
3508
3508
|
export interface GetLoggingConfigurationResponse {
|
|
3509
3509
|
/**
|
|
3510
|
-
* @public
|
|
3511
3510
|
* <p>The <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
3511
|
+
* @public
|
|
3512
3512
|
*/
|
|
3513
3513
|
LoggingConfiguration?: LoggingConfiguration;
|
|
3514
3514
|
}
|
|
@@ -3517,8 +3517,8 @@ export interface GetLoggingConfigurationResponse {
|
|
|
3517
3517
|
*/
|
|
3518
3518
|
export interface GetPermissionPolicyRequest {
|
|
3519
3519
|
/**
|
|
3520
|
-
* @public
|
|
3521
3520
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.</p>
|
|
3521
|
+
* @public
|
|
3522
3522
|
*/
|
|
3523
3523
|
ResourceArn: string | undefined;
|
|
3524
3524
|
}
|
|
@@ -3527,8 +3527,8 @@ export interface GetPermissionPolicyRequest {
|
|
|
3527
3527
|
*/
|
|
3528
3528
|
export interface GetPermissionPolicyResponse {
|
|
3529
3529
|
/**
|
|
3530
|
-
* @public
|
|
3531
3530
|
* <p>The IAM policy attached to the specified RuleGroup.</p>
|
|
3531
|
+
* @public
|
|
3532
3532
|
*/
|
|
3533
3533
|
Policy?: string;
|
|
3534
3534
|
}
|
|
@@ -3537,9 +3537,9 @@ export interface GetPermissionPolicyResponse {
|
|
|
3537
3537
|
*/
|
|
3538
3538
|
export interface GetRateBasedRuleRequest {
|
|
3539
3539
|
/**
|
|
3540
|
-
* @public
|
|
3541
3540
|
* <p>The <code>RuleId</code> of the <a>RateBasedRule</a> that you want to get.
|
|
3542
3541
|
* <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>
|
|
3542
|
+
* @public
|
|
3543
3543
|
*/
|
|
3544
3544
|
RuleId: string | undefined;
|
|
3545
3545
|
}
|
|
@@ -3548,9 +3548,9 @@ export interface GetRateBasedRuleRequest {
|
|
|
3548
3548
|
*/
|
|
3549
3549
|
export interface GetRateBasedRuleResponse {
|
|
3550
3550
|
/**
|
|
3551
|
-
* @public
|
|
3552
3551
|
* <p>Information about the <a>RateBasedRule</a> that you specified in the
|
|
3553
3552
|
* <code>GetRateBasedRule</code> request.</p>
|
|
3553
|
+
* @public
|
|
3554
3554
|
*/
|
|
3555
3555
|
Rule?: RateBasedRule;
|
|
3556
3556
|
}
|
|
@@ -3559,14 +3559,14 @@ export interface GetRateBasedRuleResponse {
|
|
|
3559
3559
|
*/
|
|
3560
3560
|
export interface GetRateBasedRuleManagedKeysRequest {
|
|
3561
3561
|
/**
|
|
3562
|
-
* @public
|
|
3563
3562
|
* <p>The <code>RuleId</code> of the <a>RateBasedRule</a> for which you want to
|
|
3564
3563
|
* get a list of <code>ManagedKeys</code>. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>
|
|
3564
|
+
* @public
|
|
3565
3565
|
*/
|
|
3566
3566
|
RuleId: string | undefined;
|
|
3567
3567
|
/**
|
|
3568
|
-
* @public
|
|
3569
3568
|
* <p>A null value and not currently used. Do not include this in your request.</p>
|
|
3569
|
+
* @public
|
|
3570
3570
|
*/
|
|
3571
3571
|
NextMarker?: string;
|
|
3572
3572
|
}
|
|
@@ -3575,13 +3575,13 @@ export interface GetRateBasedRuleManagedKeysRequest {
|
|
|
3575
3575
|
*/
|
|
3576
3576
|
export interface GetRateBasedRuleManagedKeysResponse {
|
|
3577
3577
|
/**
|
|
3578
|
-
* @public
|
|
3579
3578
|
* <p>An array of IP addresses that currently are blocked by the specified <a>RateBasedRule</a>. </p>
|
|
3579
|
+
* @public
|
|
3580
3580
|
*/
|
|
3581
3581
|
ManagedKeys?: string[];
|
|
3582
3582
|
/**
|
|
3583
|
-
* @public
|
|
3584
3583
|
* <p>A null value and not currently used.</p>
|
|
3584
|
+
* @public
|
|
3585
3585
|
*/
|
|
3586
3586
|
NextMarker?: string;
|
|
3587
3587
|
}
|
|
@@ -3590,9 +3590,9 @@ export interface GetRateBasedRuleManagedKeysResponse {
|
|
|
3590
3590
|
*/
|
|
3591
3591
|
export interface GetRegexMatchSetRequest {
|
|
3592
3592
|
/**
|
|
3593
|
-
* @public
|
|
3594
3593
|
* <p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to get. <code>RegexMatchSetId</code> is returned by
|
|
3595
3594
|
* <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>
|
|
3595
|
+
* @public
|
|
3596
3596
|
*/
|
|
3597
3597
|
RegexMatchSetId: string | undefined;
|
|
3598
3598
|
}
|
|
@@ -3601,8 +3601,8 @@ export interface GetRegexMatchSetRequest {
|
|
|
3601
3601
|
*/
|
|
3602
3602
|
export interface GetRegexMatchSetResponse {
|
|
3603
3603
|
/**
|
|
3604
|
-
* @public
|
|
3605
3604
|
* <p>Information about the <a>RegexMatchSet</a> that you specified in the <code>GetRegexMatchSet</code> request. For more information, see <a>RegexMatchTuple</a>.</p>
|
|
3605
|
+
* @public
|
|
3606
3606
|
*/
|
|
3607
3607
|
RegexMatchSet?: RegexMatchSet;
|
|
3608
3608
|
}
|
|
@@ -3611,9 +3611,9 @@ export interface GetRegexMatchSetResponse {
|
|
|
3611
3611
|
*/
|
|
3612
3612
|
export interface GetRegexPatternSetRequest {
|
|
3613
3613
|
/**
|
|
3614
|
-
* @public
|
|
3615
3614
|
* <p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to get. <code>RegexPatternSetId</code> is returned by
|
|
3616
3615
|
* <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
3616
|
+
* @public
|
|
3617
3617
|
*/
|
|
3618
3618
|
RegexPatternSetId: string | undefined;
|
|
3619
3619
|
}
|
|
@@ -3622,8 +3622,8 @@ export interface GetRegexPatternSetRequest {
|
|
|
3622
3622
|
*/
|
|
3623
3623
|
export interface GetRegexPatternSetResponse {
|
|
3624
3624
|
/**
|
|
3625
|
-
* @public
|
|
3626
3625
|
* <p>Information about the <a>RegexPatternSet</a> that you specified in the <code>GetRegexPatternSet</code> request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for. </p>
|
|
3626
|
+
* @public
|
|
3627
3627
|
*/
|
|
3628
3628
|
RegexPatternSet?: RegexPatternSet;
|
|
3629
3629
|
}
|
|
@@ -3632,9 +3632,9 @@ export interface GetRegexPatternSetResponse {
|
|
|
3632
3632
|
*/
|
|
3633
3633
|
export interface GetRuleRequest {
|
|
3634
3634
|
/**
|
|
3635
|
-
* @public
|
|
3636
3635
|
* <p>The <code>RuleId</code> of the <a>Rule</a> that you want to get. <code>RuleId</code> is returned by <a>CreateRule</a> and by
|
|
3637
3636
|
* <a>ListRules</a>.</p>
|
|
3637
|
+
* @public
|
|
3638
3638
|
*/
|
|
3639
3639
|
RuleId: string | undefined;
|
|
3640
3640
|
}
|
|
@@ -3643,7 +3643,6 @@ export interface GetRuleRequest {
|
|
|
3643
3643
|
*/
|
|
3644
3644
|
export interface GetRuleResponse {
|
|
3645
3645
|
/**
|
|
3646
|
-
* @public
|
|
3647
3646
|
* <p>Information about the <a>Rule</a> that you specified in the <code>GetRule</code> request.
|
|
3648
3647
|
* For more information, see the following topics:</p>
|
|
3649
3648
|
* <ul>
|
|
@@ -3660,6 +3659,7 @@ export interface GetRuleResponse {
|
|
|
3660
3659
|
* </p>
|
|
3661
3660
|
* </li>
|
|
3662
3661
|
* </ul>
|
|
3662
|
+
* @public
|
|
3663
3663
|
*/
|
|
3664
3664
|
Rule?: Rule;
|
|
3665
3665
|
}
|
|
@@ -3668,9 +3668,9 @@ export interface GetRuleResponse {
|
|
|
3668
3668
|
*/
|
|
3669
3669
|
export interface GetRuleGroupRequest {
|
|
3670
3670
|
/**
|
|
3671
|
-
* @public
|
|
3672
3671
|
* <p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to get. <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by
|
|
3673
3672
|
* <a>ListRuleGroups</a>.</p>
|
|
3673
|
+
* @public
|
|
3674
3674
|
*/
|
|
3675
3675
|
RuleGroupId: string | undefined;
|
|
3676
3676
|
}
|
|
@@ -3679,13 +3679,12 @@ export interface GetRuleGroupRequest {
|
|
|
3679
3679
|
*/
|
|
3680
3680
|
export interface GetRuleGroupResponse {
|
|
3681
3681
|
/**
|
|
3682
|
-
* @public
|
|
3683
3682
|
* <p>Information about the <a>RuleGroup</a> that you specified in the <code>GetRuleGroup</code> request. </p>
|
|
3683
|
+
* @public
|
|
3684
3684
|
*/
|
|
3685
3685
|
RuleGroup?: RuleGroup;
|
|
3686
3686
|
}
|
|
3687
3687
|
/**
|
|
3688
|
-
* @public
|
|
3689
3688
|
* <note>
|
|
3690
3689
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3691
3690
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3703,22 +3702,23 @@ export interface GetRuleGroupResponse {
|
|
|
3703
3702
|
* 5,000 requests that your AWS resource receives during the specified time period. If your resource receives more than 5,000
|
|
3704
3703
|
* requests during that period, AWS WAF stops sampling after the 5,000th request. In that case, <code>EndTime</code>
|
|
3705
3704
|
* is the time that AWS WAF received the 5,000th request. </p>
|
|
3705
|
+
* @public
|
|
3706
3706
|
*/
|
|
3707
3707
|
export interface TimeWindow {
|
|
3708
3708
|
/**
|
|
3709
|
-
* @public
|
|
3710
3709
|
* <p>The beginning of the time range from which you want <code>GetSampledRequests</code> to return a sample of the
|
|
3711
3710
|
* requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format.
|
|
3712
3711
|
* UTC format includes the special designator, <code>Z</code>. For example, <code>"2016-09-27T14:50Z"</code>.
|
|
3713
3712
|
* You can specify any time range in the previous three hours.</p>
|
|
3713
|
+
* @public
|
|
3714
3714
|
*/
|
|
3715
3715
|
StartTime: Date | undefined;
|
|
3716
3716
|
/**
|
|
3717
|
-
* @public
|
|
3718
3717
|
* <p>The end of the time range from which you want <code>GetSampledRequests</code> to return a sample of the
|
|
3719
3718
|
* requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format.
|
|
3720
3719
|
* UTC format includes the special designator, <code>Z</code>. For example, <code>"2016-09-27T14:50Z"</code>.
|
|
3721
3720
|
* You can specify any time range in the previous three hours.</p>
|
|
3721
|
+
* @public
|
|
3722
3722
|
*/
|
|
3723
3723
|
EndTime: Date | undefined;
|
|
3724
3724
|
}
|
|
@@ -3727,12 +3727,11 @@ export interface TimeWindow {
|
|
|
3727
3727
|
*/
|
|
3728
3728
|
export interface GetSampledRequestsRequest {
|
|
3729
3729
|
/**
|
|
3730
|
-
* @public
|
|
3731
3730
|
* <p>The <code>WebACLId</code> of the <code>WebACL</code> for which you want <code>GetSampledRequests</code> to return a sample of requests.</p>
|
|
3731
|
+
* @public
|
|
3732
3732
|
*/
|
|
3733
3733
|
WebAclId: string | undefined;
|
|
3734
3734
|
/**
|
|
3735
|
-
* @public
|
|
3736
3735
|
* <p>
|
|
3737
3736
|
* <code>RuleId</code> is one of three values:</p>
|
|
3738
3737
|
* <ul>
|
|
@@ -3745,25 +3744,25 @@ export interface GetSampledRequestsRequest {
|
|
|
3745
3744
|
* didn't match any of the rules in the specified <code>WebACL</code>.</p>
|
|
3746
3745
|
* </li>
|
|
3747
3746
|
* </ul>
|
|
3747
|
+
* @public
|
|
3748
3748
|
*/
|
|
3749
3749
|
RuleId: string | undefined;
|
|
3750
3750
|
/**
|
|
3751
|
-
* @public
|
|
3752
3751
|
* <p>The start date and time and the end date and time of the range for which you want <code>GetSampledRequests</code> to return a
|
|
3753
3752
|
* sample of requests. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special
|
|
3754
3753
|
* designator, <code>Z</code>. For example, <code>"2016-09-27T14:50Z"</code>. You can specify any time range in the previous three hours.</p>
|
|
3754
|
+
* @public
|
|
3755
3755
|
*/
|
|
3756
3756
|
TimeWindow: TimeWindow | undefined;
|
|
3757
3757
|
/**
|
|
3758
|
-
* @public
|
|
3759
3758
|
* <p>The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received
|
|
3760
3759
|
* during the time range. If your resource received fewer requests than the value of <code>MaxItems</code>, <code>GetSampledRequests</code>
|
|
3761
3760
|
* returns information about all of them. </p>
|
|
3761
|
+
* @public
|
|
3762
3762
|
*/
|
|
3763
3763
|
MaxItems: number | undefined;
|
|
3764
3764
|
}
|
|
3765
3765
|
/**
|
|
3766
|
-
* @public
|
|
3767
3766
|
* <note>
|
|
3768
3767
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3769
3768
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3775,21 +3774,21 @@ export interface GetSampledRequestsRequest {
|
|
|
3775
3774
|
* <p>The response from a <a>GetSampledRequests</a> request includes an <code>HTTPHeader</code> complex type that
|
|
3776
3775
|
* appears as <code>Headers</code> in the response syntax. <code>HTTPHeader</code> contains the names and values of
|
|
3777
3776
|
* all of the headers that appear in one of the web requests that were returned by <code>GetSampledRequests</code>. </p>
|
|
3777
|
+
* @public
|
|
3778
3778
|
*/
|
|
3779
3779
|
export interface HTTPHeader {
|
|
3780
3780
|
/**
|
|
3781
|
-
* @public
|
|
3782
3781
|
* <p>The name of one of the headers in the sampled web request.</p>
|
|
3782
|
+
* @public
|
|
3783
3783
|
*/
|
|
3784
3784
|
Name?: string;
|
|
3785
3785
|
/**
|
|
3786
|
-
* @public
|
|
3787
3786
|
* <p>The value of one of the headers in the sampled web request.</p>
|
|
3787
|
+
* @public
|
|
3788
3788
|
*/
|
|
3789
3789
|
Value?: string;
|
|
3790
3790
|
}
|
|
3791
3791
|
/**
|
|
3792
|
-
* @public
|
|
3793
3792
|
* <note>
|
|
3794
3793
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3795
3794
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3801,10 +3800,10 @@ export interface HTTPHeader {
|
|
|
3801
3800
|
* <p>The response from a <a>GetSampledRequests</a> request includes an <code>HTTPRequest</code> complex type that
|
|
3802
3801
|
* appears as <code>Request</code> in the response syntax. <code>HTTPRequest</code> contains information about
|
|
3803
3802
|
* one of the web requests that were returned by <code>GetSampledRequests</code>. </p>
|
|
3803
|
+
* @public
|
|
3804
3804
|
*/
|
|
3805
3805
|
export interface HTTPRequest {
|
|
3806
3806
|
/**
|
|
3807
|
-
* @public
|
|
3808
3807
|
* <p>The IP address that the request originated from. If the <code>WebACL</code> is associated with a CloudFront distribution,
|
|
3809
3808
|
* this is the value of one of the following fields in CloudFront access logs:</p>
|
|
3810
3809
|
* <ul>
|
|
@@ -3817,38 +3816,38 @@ export interface HTTPRequest {
|
|
|
3817
3816
|
* <code>x-forwarded-for</code>, if the viewer did use an HTTP proxy or a load balancer to send the request</p>
|
|
3818
3817
|
* </li>
|
|
3819
3818
|
* </ul>
|
|
3819
|
+
* @public
|
|
3820
3820
|
*/
|
|
3821
3821
|
ClientIP?: string;
|
|
3822
3822
|
/**
|
|
3823
|
-
* @public
|
|
3824
3823
|
* <p>The two-letter country code for the country that the request originated from. For a current list of country codes,
|
|
3825
3824
|
* see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>.</p>
|
|
3825
|
+
* @public
|
|
3826
3826
|
*/
|
|
3827
3827
|
Country?: string;
|
|
3828
3828
|
/**
|
|
3829
|
-
* @public
|
|
3830
3829
|
* <p>The part of a web request that identifies the resource, for example, <code>/images/daily-ad.jpg</code>.</p>
|
|
3830
|
+
* @public
|
|
3831
3831
|
*/
|
|
3832
3832
|
URI?: string;
|
|
3833
3833
|
/**
|
|
3834
|
-
* @public
|
|
3835
3834
|
* <p>The HTTP method specified in the sampled web request. CloudFront supports the following methods: <code>DELETE</code>,
|
|
3836
3835
|
* <code>GET</code>, <code>HEAD</code>, <code>OPTIONS</code>, <code>PATCH</code>, <code>POST</code>, and <code>PUT</code>. </p>
|
|
3836
|
+
* @public
|
|
3837
3837
|
*/
|
|
3838
3838
|
Method?: string;
|
|
3839
3839
|
/**
|
|
3840
|
-
* @public
|
|
3841
3840
|
* <p>The HTTP version specified in the sampled web request, for example, <code>HTTP/1.1</code>.</p>
|
|
3841
|
+
* @public
|
|
3842
3842
|
*/
|
|
3843
3843
|
HTTPVersion?: string;
|
|
3844
3844
|
/**
|
|
3845
|
-
* @public
|
|
3846
3845
|
* <p>A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header.</p>
|
|
3846
|
+
* @public
|
|
3847
3847
|
*/
|
|
3848
3848
|
Headers?: HTTPHeader[];
|
|
3849
3849
|
}
|
|
3850
3850
|
/**
|
|
3851
|
-
* @public
|
|
3852
3851
|
* <note>
|
|
3853
3852
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3854
3853
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3860,33 +3859,34 @@ export interface HTTPRequest {
|
|
|
3860
3859
|
* <p>The response from a <a>GetSampledRequests</a> request includes a <code>SampledHTTPRequests</code> complex type that
|
|
3861
3860
|
* appears as <code>SampledRequests</code> in the response syntax. <code>SampledHTTPRequests</code> contains one
|
|
3862
3861
|
* <code>SampledHTTPRequest</code> object for each web request that is returned by <code>GetSampledRequests</code>.</p>
|
|
3862
|
+
* @public
|
|
3863
3863
|
*/
|
|
3864
3864
|
export interface SampledHTTPRequest {
|
|
3865
3865
|
/**
|
|
3866
|
-
* @public
|
|
3867
3866
|
* <p>A complex type that contains detailed information about the request.</p>
|
|
3867
|
+
* @public
|
|
3868
3868
|
*/
|
|
3869
3869
|
Request: HTTPRequest | undefined;
|
|
3870
3870
|
/**
|
|
3871
|
-
* @public
|
|
3872
3871
|
* <p>A value that indicates how one result in the response relates proportionally to other results in the response.
|
|
3873
3872
|
* A result that has a weight of <code>2</code> represents roughly twice as many CloudFront web requests as a result
|
|
3874
3873
|
* that has a weight of <code>1</code>.</p>
|
|
3874
|
+
* @public
|
|
3875
3875
|
*/
|
|
3876
3876
|
Weight: number | undefined;
|
|
3877
3877
|
/**
|
|
3878
|
-
* @public
|
|
3879
3878
|
* <p>The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).</p>
|
|
3879
|
+
* @public
|
|
3880
3880
|
*/
|
|
3881
3881
|
Timestamp?: Date;
|
|
3882
3882
|
/**
|
|
3883
|
-
* @public
|
|
3884
3883
|
* <p>The action for the <code>Rule</code> that the request matched: <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
3884
|
+
* @public
|
|
3885
3885
|
*/
|
|
3886
3886
|
Action?: string;
|
|
3887
3887
|
/**
|
|
3888
|
-
* @public
|
|
3889
3888
|
* <p>This value is returned if the <code>GetSampledRequests</code> request specifies the ID of a <code>RuleGroup</code> rather than the ID of an individual rule. <code>RuleWithinRuleGroup</code> is the rule within the specified <code>RuleGroup</code> that matched the request listed in the response.</p>
|
|
3889
|
+
* @public
|
|
3890
3890
|
*/
|
|
3891
3891
|
RuleWithinRuleGroup?: string;
|
|
3892
3892
|
}
|
|
@@ -3895,22 +3895,22 @@ export interface SampledHTTPRequest {
|
|
|
3895
3895
|
*/
|
|
3896
3896
|
export interface GetSampledRequestsResponse {
|
|
3897
3897
|
/**
|
|
3898
|
-
* @public
|
|
3899
3898
|
* <p>A complex type that contains detailed information about each of the requests in the sample.</p>
|
|
3899
|
+
* @public
|
|
3900
3900
|
*/
|
|
3901
3901
|
SampledRequests?: SampledHTTPRequest[];
|
|
3902
3902
|
/**
|
|
3903
|
-
* @public
|
|
3904
3903
|
* <p>The total number of requests from which <code>GetSampledRequests</code> got a sample of <code>MaxItems</code> requests.
|
|
3905
3904
|
* If <code>PopulationSize</code> is less than <code>MaxItems</code>, the sample includes every request that your AWS resource
|
|
3906
3905
|
* received during the specified time range.</p>
|
|
3906
|
+
* @public
|
|
3907
3907
|
*/
|
|
3908
3908
|
PopulationSize?: number;
|
|
3909
3909
|
/**
|
|
3910
|
-
* @public
|
|
3911
3910
|
* <p>Usually, <code>TimeWindow</code> is the time range that you specified in the <code>GetSampledRequests</code> request. However,
|
|
3912
3911
|
* if your AWS resource received more than 5,000 requests during the time range that you specified in the request,
|
|
3913
3912
|
* <code>GetSampledRequests</code> returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.</p>
|
|
3913
|
+
* @public
|
|
3914
3914
|
*/
|
|
3915
3915
|
TimeWindow?: TimeWindow;
|
|
3916
3916
|
}
|
|
@@ -3919,9 +3919,9 @@ export interface GetSampledRequestsResponse {
|
|
|
3919
3919
|
*/
|
|
3920
3920
|
export interface GetSizeConstraintSetRequest {
|
|
3921
3921
|
/**
|
|
3922
|
-
* @public
|
|
3923
3922
|
* <p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to get. <code>SizeConstraintSetId</code> is returned by
|
|
3924
3923
|
* <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
3924
|
+
* @public
|
|
3925
3925
|
*/
|
|
3926
3926
|
SizeConstraintSetId: string | undefined;
|
|
3927
3927
|
}
|
|
@@ -3930,7 +3930,6 @@ export interface GetSizeConstraintSetRequest {
|
|
|
3930
3930
|
*/
|
|
3931
3931
|
export interface GetSizeConstraintSetResponse {
|
|
3932
3932
|
/**
|
|
3933
|
-
* @public
|
|
3934
3933
|
* <p>Information about the <a>SizeConstraintSet</a> that you specified in the <code>GetSizeConstraintSet</code> request. For more information, see the
|
|
3935
3934
|
* following topics:</p>
|
|
3936
3935
|
* <ul>
|
|
@@ -3952,28 +3951,28 @@ export interface GetSizeConstraintSetResponse {
|
|
|
3952
3951
|
* </p>
|
|
3953
3952
|
* </li>
|
|
3954
3953
|
* </ul>
|
|
3954
|
+
* @public
|
|
3955
3955
|
*/
|
|
3956
3956
|
SizeConstraintSet?: SizeConstraintSet;
|
|
3957
3957
|
}
|
|
3958
3958
|
/**
|
|
3959
|
-
* @public
|
|
3960
3959
|
* <p>A request to get a <a>SqlInjectionMatchSet</a>.</p>
|
|
3960
|
+
* @public
|
|
3961
3961
|
*/
|
|
3962
3962
|
export interface GetSqlInjectionMatchSetRequest {
|
|
3963
3963
|
/**
|
|
3964
|
-
* @public
|
|
3965
3964
|
* <p>The <code>SqlInjectionMatchSetId</code> of the <a>SqlInjectionMatchSet</a> that you want to get. <code>SqlInjectionMatchSetId</code>
|
|
3966
3965
|
* is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
3966
|
+
* @public
|
|
3967
3967
|
*/
|
|
3968
3968
|
SqlInjectionMatchSetId: string | undefined;
|
|
3969
3969
|
}
|
|
3970
3970
|
/**
|
|
3971
|
-
* @public
|
|
3972
3971
|
* <p>The response to a <a>GetSqlInjectionMatchSet</a> request.</p>
|
|
3972
|
+
* @public
|
|
3973
3973
|
*/
|
|
3974
3974
|
export interface GetSqlInjectionMatchSetResponse {
|
|
3975
3975
|
/**
|
|
3976
|
-
* @public
|
|
3977
3976
|
* <p>Information about the <a>SqlInjectionMatchSet</a> that you specified in the <code>GetSqlInjectionMatchSet</code> request.
|
|
3978
3977
|
* For more information, see the following topics:</p>
|
|
3979
3978
|
* <ul>
|
|
@@ -3994,6 +3993,7 @@ export interface GetSqlInjectionMatchSetResponse {
|
|
|
3994
3993
|
* </p>
|
|
3995
3994
|
* </li>
|
|
3996
3995
|
* </ul>
|
|
3996
|
+
* @public
|
|
3997
3997
|
*/
|
|
3998
3998
|
SqlInjectionMatchSet?: SqlInjectionMatchSet;
|
|
3999
3999
|
}
|
|
@@ -4002,9 +4002,9 @@ export interface GetSqlInjectionMatchSetResponse {
|
|
|
4002
4002
|
*/
|
|
4003
4003
|
export interface GetWebACLRequest {
|
|
4004
4004
|
/**
|
|
4005
|
-
* @public
|
|
4006
4005
|
* <p>The <code>WebACLId</code> of the <a>WebACL</a> that you want to get. <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by
|
|
4007
4006
|
* <a>ListWebACLs</a>.</p>
|
|
4007
|
+
* @public
|
|
4008
4008
|
*/
|
|
4009
4009
|
WebACLId: string | undefined;
|
|
4010
4010
|
}
|
|
@@ -4013,7 +4013,6 @@ export interface GetWebACLRequest {
|
|
|
4013
4013
|
*/
|
|
4014
4014
|
export interface GetWebACLResponse {
|
|
4015
4015
|
/**
|
|
4016
|
-
* @public
|
|
4017
4016
|
* <p>Information about the <a>WebACL</a> that you specified in the <code>GetWebACL</code> request.
|
|
4018
4017
|
* For more information, see the following topics:</p>
|
|
4019
4018
|
* <ul>
|
|
@@ -4040,28 +4039,28 @@ export interface GetWebACLResponse {
|
|
|
4040
4039
|
* </p>
|
|
4041
4040
|
* </li>
|
|
4042
4041
|
* </ul>
|
|
4042
|
+
* @public
|
|
4043
4043
|
*/
|
|
4044
4044
|
WebACL?: WebACL;
|
|
4045
4045
|
}
|
|
4046
4046
|
/**
|
|
4047
|
-
* @public
|
|
4048
4047
|
* <p>A request to get an <a>XssMatchSet</a>.</p>
|
|
4048
|
+
* @public
|
|
4049
4049
|
*/
|
|
4050
4050
|
export interface GetXssMatchSetRequest {
|
|
4051
4051
|
/**
|
|
4052
|
-
* @public
|
|
4053
4052
|
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to get. <code>XssMatchSetId</code>
|
|
4054
4053
|
* is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
4054
|
+
* @public
|
|
4055
4055
|
*/
|
|
4056
4056
|
XssMatchSetId: string | undefined;
|
|
4057
4057
|
}
|
|
4058
4058
|
/**
|
|
4059
|
-
* @public
|
|
4060
4059
|
* <p>The response to a <a>GetXssMatchSet</a> request.</p>
|
|
4060
|
+
* @public
|
|
4061
4061
|
*/
|
|
4062
4062
|
export interface GetXssMatchSetResponse {
|
|
4063
4063
|
/**
|
|
4064
|
-
* @public
|
|
4065
4064
|
* <p>Information about the <a>XssMatchSet</a> that you specified in the <code>GetXssMatchSet</code> request.
|
|
4066
4065
|
* For more information, see the following topics:</p>
|
|
4067
4066
|
* <ul>
|
|
@@ -4082,6 +4081,7 @@ export interface GetXssMatchSetResponse {
|
|
|
4082
4081
|
* </p>
|
|
4083
4082
|
* </li>
|
|
4084
4083
|
* </ul>
|
|
4084
|
+
* @public
|
|
4085
4085
|
*/
|
|
4086
4086
|
XssMatchSet?: XssMatchSet;
|
|
4087
4087
|
}
|
|
@@ -4090,22 +4090,22 @@ export interface GetXssMatchSetResponse {
|
|
|
4090
4090
|
*/
|
|
4091
4091
|
export interface ListActivatedRulesInRuleGroupRequest {
|
|
4092
4092
|
/**
|
|
4093
|
-
* @public
|
|
4094
4093
|
* <p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> for which you want to get a list of <a>ActivatedRule</a> objects.</p>
|
|
4094
|
+
* @public
|
|
4095
4095
|
*/
|
|
4096
4096
|
RuleGroupId?: string;
|
|
4097
4097
|
/**
|
|
4098
|
-
* @public
|
|
4099
4098
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>ActivatedRules</code> than the value of <code>Limit</code>,
|
|
4100
4099
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ActivatedRules</code>.
|
|
4101
4100
|
* For the second and subsequent <code>ListActivatedRulesInRuleGroup</code> requests, specify the value of <code>NextMarker</code>
|
|
4102
4101
|
* from the previous response to get information about another batch of <code>ActivatedRules</code>.</p>
|
|
4102
|
+
* @public
|
|
4103
4103
|
*/
|
|
4104
4104
|
NextMarker?: string;
|
|
4105
4105
|
/**
|
|
4106
|
-
* @public
|
|
4107
4106
|
* <p>Specifies the number of <code>ActivatedRules</code> that you want AWS WAF to return for this request. If you have more <code>ActivatedRules</code> than the number that you specify for <code>Limit</code>, the response includes a
|
|
4108
4107
|
* <code>NextMarker</code> value that you can use to get another batch of <code>ActivatedRules</code>.</p>
|
|
4108
|
+
* @public
|
|
4109
4109
|
*/
|
|
4110
4110
|
Limit?: number;
|
|
4111
4111
|
}
|
|
@@ -4114,13 +4114,13 @@ export interface ListActivatedRulesInRuleGroupRequest {
|
|
|
4114
4114
|
*/
|
|
4115
4115
|
export interface ListActivatedRulesInRuleGroupResponse {
|
|
4116
4116
|
/**
|
|
4117
|
-
* @public
|
|
4118
4117
|
* <p>If you have more <code>ActivatedRules</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>ActivatedRules</code>, submit another <code>ListActivatedRulesInRuleGroup</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>
|
|
4118
|
+
* @public
|
|
4119
4119
|
*/
|
|
4120
4120
|
NextMarker?: string;
|
|
4121
4121
|
/**
|
|
4122
|
-
* @public
|
|
4123
4122
|
* <p>An array of <code>ActivatedRules</code> objects.</p>
|
|
4123
|
+
* @public
|
|
4124
4124
|
*/
|
|
4125
4125
|
ActivatedRules?: ActivatedRule[];
|
|
4126
4126
|
}
|
|
@@ -4129,23 +4129,22 @@ export interface ListActivatedRulesInRuleGroupResponse {
|
|
|
4129
4129
|
*/
|
|
4130
4130
|
export interface ListByteMatchSetsRequest {
|
|
4131
4131
|
/**
|
|
4132
|
-
* @public
|
|
4133
4132
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>ByteMatchSets</code> than the value of <code>Limit</code>,
|
|
4134
4133
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ByteMatchSets</code>.
|
|
4135
4134
|
* For the second and subsequent <code>ListByteMatchSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4136
4135
|
* from the previous response to get information about another batch of <code>ByteMatchSets</code>.</p>
|
|
4136
|
+
* @public
|
|
4137
4137
|
*/
|
|
4138
4138
|
NextMarker?: string;
|
|
4139
4139
|
/**
|
|
4140
|
-
* @public
|
|
4141
4140
|
* <p>Specifies the number of <code>ByteMatchSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4142
4141
|
* <code>ByteMatchSets</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4143
4142
|
* <code>NextMarker</code> value that you can use to get another batch of <code>ByteMatchSet</code> objects.</p>
|
|
4143
|
+
* @public
|
|
4144
4144
|
*/
|
|
4145
4145
|
Limit?: number;
|
|
4146
4146
|
}
|
|
4147
4147
|
/**
|
|
4148
|
-
* @public
|
|
4149
4148
|
* <note>
|
|
4150
4149
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4151
4150
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4156,19 +4155,20 @@ export interface ListByteMatchSetsRequest {
|
|
|
4156
4155
|
* </note>
|
|
4157
4156
|
* <p>Returned by <a>ListByteMatchSets</a>. Each <code>ByteMatchSetSummary</code> object includes the <code>Name</code> and
|
|
4158
4157
|
* <code>ByteMatchSetId</code> for one <a>ByteMatchSet</a>.</p>
|
|
4158
|
+
* @public
|
|
4159
4159
|
*/
|
|
4160
4160
|
export interface ByteMatchSetSummary {
|
|
4161
4161
|
/**
|
|
4162
|
-
* @public
|
|
4163
4162
|
* <p>The <code>ByteMatchSetId</code> for a <code>ByteMatchSet</code>. You use <code>ByteMatchSetId</code> to get information about a <code>ByteMatchSet</code>,
|
|
4164
4163
|
* update a <code>ByteMatchSet</code>, remove a <code>ByteMatchSet</code> from a <code>Rule</code>, and delete a <code>ByteMatchSet</code> from AWS WAF.</p>
|
|
4165
4164
|
* <p>
|
|
4166
4165
|
* <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>
|
|
4166
|
+
* @public
|
|
4167
4167
|
*/
|
|
4168
4168
|
ByteMatchSetId: string | undefined;
|
|
4169
4169
|
/**
|
|
4170
|
-
* @public
|
|
4171
4170
|
* <p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a <code>ByteMatchSet</code>.</p>
|
|
4171
|
+
* @public
|
|
4172
4172
|
*/
|
|
4173
4173
|
Name: string | undefined;
|
|
4174
4174
|
}
|
|
@@ -4177,16 +4177,16 @@ export interface ByteMatchSetSummary {
|
|
|
4177
4177
|
*/
|
|
4178
4178
|
export interface ListByteMatchSetsResponse {
|
|
4179
4179
|
/**
|
|
4180
|
-
* @public
|
|
4181
4180
|
* <p>If you have more <code>ByteMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4182
4181
|
* the response includes a <code>NextMarker</code> value. To list more <code>ByteMatchSet</code> objects, submit another
|
|
4183
4182
|
* <code>ListByteMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4184
4183
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4184
|
+
* @public
|
|
4185
4185
|
*/
|
|
4186
4186
|
NextMarker?: string;
|
|
4187
4187
|
/**
|
|
4188
|
-
* @public
|
|
4189
4188
|
* <p>An array of <a>ByteMatchSetSummary</a> objects.</p>
|
|
4189
|
+
* @public
|
|
4190
4190
|
*/
|
|
4191
4191
|
ByteMatchSets?: ByteMatchSetSummary[];
|
|
4192
4192
|
}
|
|
@@ -4195,23 +4195,22 @@ export interface ListByteMatchSetsResponse {
|
|
|
4195
4195
|
*/
|
|
4196
4196
|
export interface ListGeoMatchSetsRequest {
|
|
4197
4197
|
/**
|
|
4198
|
-
* @public
|
|
4199
4198
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>GeoMatchSet</code>s than the value of <code>Limit</code>,
|
|
4200
4199
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>GeoMatchSet</code> objects.
|
|
4201
4200
|
* For the second and subsequent <code>ListGeoMatchSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4202
4201
|
* from the previous response to get information about another batch of <code>GeoMatchSet</code> objects.</p>
|
|
4202
|
+
* @public
|
|
4203
4203
|
*/
|
|
4204
4204
|
NextMarker?: string;
|
|
4205
4205
|
/**
|
|
4206
|
-
* @public
|
|
4207
4206
|
* <p>Specifies the number of <code>GeoMatchSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4208
4207
|
* <code>GeoMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4209
4208
|
* <code>NextMarker</code> value that you can use to get another batch of <code>GeoMatchSet</code> objects.</p>
|
|
4209
|
+
* @public
|
|
4210
4210
|
*/
|
|
4211
4211
|
Limit?: number;
|
|
4212
4212
|
}
|
|
4213
4213
|
/**
|
|
4214
|
-
* @public
|
|
4215
4214
|
* <note>
|
|
4216
4215
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4217
4216
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4221,16 +4220,17 @@ export interface ListGeoMatchSetsRequest {
|
|
|
4221
4220
|
* 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>
|
|
4222
4221
|
* </note>
|
|
4223
4222
|
* <p>Contains the identifier and the name of the <code>GeoMatchSet</code>.</p>
|
|
4223
|
+
* @public
|
|
4224
4224
|
*/
|
|
4225
4225
|
export interface GeoMatchSetSummary {
|
|
4226
4226
|
/**
|
|
4227
|
-
* @public
|
|
4228
4227
|
* <p>The <code>GeoMatchSetId</code> for an <a>GeoMatchSet</a>. You can use <code>GeoMatchSetId</code> in a <a>GetGeoMatchSet</a> request to get detailed information about an <a>GeoMatchSet</a>.</p>
|
|
4228
|
+
* @public
|
|
4229
4229
|
*/
|
|
4230
4230
|
GeoMatchSetId: string | undefined;
|
|
4231
4231
|
/**
|
|
4232
|
-
* @public
|
|
4233
4232
|
* <p>A friendly name or description of the <a>GeoMatchSet</a>. You can't change the name of an <code>GeoMatchSet</code> after you create it.</p>
|
|
4233
|
+
* @public
|
|
4234
4234
|
*/
|
|
4235
4235
|
Name: string | undefined;
|
|
4236
4236
|
}
|
|
@@ -4239,16 +4239,16 @@ export interface GeoMatchSetSummary {
|
|
|
4239
4239
|
*/
|
|
4240
4240
|
export interface ListGeoMatchSetsResponse {
|
|
4241
4241
|
/**
|
|
4242
|
-
* @public
|
|
4243
4242
|
* <p>If you have more <code>GeoMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4244
4243
|
* the response includes a <code>NextMarker</code> value. To list more <code>GeoMatchSet</code> objects, submit another
|
|
4245
4244
|
* <code>ListGeoMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4246
4245
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4246
|
+
* @public
|
|
4247
4247
|
*/
|
|
4248
4248
|
NextMarker?: string;
|
|
4249
4249
|
/**
|
|
4250
|
-
* @public
|
|
4251
4250
|
* <p>An array of <a>GeoMatchSetSummary</a> objects.</p>
|
|
4251
|
+
* @public
|
|
4252
4252
|
*/
|
|
4253
4253
|
GeoMatchSets?: GeoMatchSetSummary[];
|
|
4254
4254
|
}
|
|
@@ -4257,23 +4257,22 @@ export interface ListGeoMatchSetsResponse {
|
|
|
4257
4257
|
*/
|
|
4258
4258
|
export interface ListIPSetsRequest {
|
|
4259
4259
|
/**
|
|
4260
|
-
* @public
|
|
4261
4260
|
* <p>AWS WAF returns a <code>NextMarker</code> value in the response that allows you to
|
|
4262
4261
|
* list another group of <code>IPSets</code>. For the second and subsequent
|
|
4263
4262
|
* <code>ListIPSets</code> requests, specify the value of <code>NextMarker</code> from the
|
|
4264
4263
|
* previous response to get information about another batch of <code>IPSets</code>.</p>
|
|
4264
|
+
* @public
|
|
4265
4265
|
*/
|
|
4266
4266
|
NextMarker?: string;
|
|
4267
4267
|
/**
|
|
4268
|
-
* @public
|
|
4269
4268
|
* <p>Specifies the number of <code>IPSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4270
4269
|
* <code>IPSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4271
4270
|
* <code>NextMarker</code> value that you can use to get another batch of <code>IPSet</code> objects.</p>
|
|
4271
|
+
* @public
|
|
4272
4272
|
*/
|
|
4273
4273
|
Limit?: number;
|
|
4274
4274
|
}
|
|
4275
4275
|
/**
|
|
4276
|
-
* @public
|
|
4277
4276
|
* <note>
|
|
4278
4277
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4279
4278
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4283,17 +4282,18 @@ export interface ListIPSetsRequest {
|
|
|
4283
4282
|
* 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>
|
|
4284
4283
|
* </note>
|
|
4285
4284
|
* <p>Contains the identifier and the name of the <code>IPSet</code>.</p>
|
|
4285
|
+
* @public
|
|
4286
4286
|
*/
|
|
4287
4287
|
export interface IPSetSummary {
|
|
4288
4288
|
/**
|
|
4289
|
-
* @public
|
|
4290
4289
|
* <p>The <code>IPSetId</code> for an <a>IPSet</a>. You can use <code>IPSetId</code> in a <a>GetIPSet</a> request to get detailed
|
|
4291
4290
|
* information about an <a>IPSet</a>.</p>
|
|
4291
|
+
* @public
|
|
4292
4292
|
*/
|
|
4293
4293
|
IPSetId: string | undefined;
|
|
4294
4294
|
/**
|
|
4295
|
-
* @public
|
|
4296
4295
|
* <p>A friendly name or description of the <a>IPSet</a>. You can't change the name of an <code>IPSet</code> after you create it.</p>
|
|
4296
|
+
* @public
|
|
4297
4297
|
*/
|
|
4298
4298
|
Name: string | undefined;
|
|
4299
4299
|
}
|
|
@@ -4302,15 +4302,15 @@ export interface IPSetSummary {
|
|
|
4302
4302
|
*/
|
|
4303
4303
|
export interface ListIPSetsResponse {
|
|
4304
4304
|
/**
|
|
4305
|
-
* @public
|
|
4306
4305
|
* <p>To list more <code>IPSet</code> objects, submit another <code>ListIPSets</code>
|
|
4307
4306
|
* request, and in the next request use the <code>NextMarker</code> response value as the
|
|
4308
4307
|
* <code>NextMarker</code> value.</p>
|
|
4308
|
+
* @public
|
|
4309
4309
|
*/
|
|
4310
4310
|
NextMarker?: string;
|
|
4311
4311
|
/**
|
|
4312
|
-
* @public
|
|
4313
4312
|
* <p>An array of <a>IPSetSummary</a> objects.</p>
|
|
4313
|
+
* @public
|
|
4314
4314
|
*/
|
|
4315
4315
|
IPSets?: IPSetSummary[];
|
|
4316
4316
|
}
|
|
@@ -4319,16 +4319,16 @@ export interface ListIPSetsResponse {
|
|
|
4319
4319
|
*/
|
|
4320
4320
|
export interface ListLoggingConfigurationsRequest {
|
|
4321
4321
|
/**
|
|
4322
|
-
* @public
|
|
4323
4322
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>LoggingConfigurations</code> than the value of <code>Limit</code>,
|
|
4324
4323
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>LoggingConfigurations</code>.
|
|
4325
4324
|
* For the second and subsequent <code>ListLoggingConfigurations</code> requests, specify the value of <code>NextMarker</code>
|
|
4326
4325
|
* from the previous response to get information about another batch of <code>ListLoggingConfigurations</code>.</p>
|
|
4326
|
+
* @public
|
|
4327
4327
|
*/
|
|
4328
4328
|
NextMarker?: string;
|
|
4329
4329
|
/**
|
|
4330
|
-
* @public
|
|
4331
4330
|
* <p>Specifies the number of <code>LoggingConfigurations</code> that you want AWS WAF to return for this request. If you have more <code>LoggingConfigurations</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>LoggingConfigurations</code>.</p>
|
|
4331
|
+
* @public
|
|
4332
4332
|
*/
|
|
4333
4333
|
Limit?: number;
|
|
4334
4334
|
}
|
|
@@ -4337,13 +4337,13 @@ export interface ListLoggingConfigurationsRequest {
|
|
|
4337
4337
|
*/
|
|
4338
4338
|
export interface ListLoggingConfigurationsResponse {
|
|
4339
4339
|
/**
|
|
4340
|
-
* @public
|
|
4341
4340
|
* <p>An array of <a>LoggingConfiguration</a> objects.</p>
|
|
4341
|
+
* @public
|
|
4342
4342
|
*/
|
|
4343
4343
|
LoggingConfigurations?: LoggingConfiguration[];
|
|
4344
4344
|
/**
|
|
4345
|
-
* @public
|
|
4346
4345
|
* <p>If you have more <code>LoggingConfigurations</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>LoggingConfigurations</code>, submit another <code>ListLoggingConfigurations</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>
|
|
4346
|
+
* @public
|
|
4347
4347
|
*/
|
|
4348
4348
|
NextMarker?: string;
|
|
4349
4349
|
}
|
|
@@ -4352,26 +4352,25 @@ export interface ListLoggingConfigurationsResponse {
|
|
|
4352
4352
|
*/
|
|
4353
4353
|
export interface ListRateBasedRulesRequest {
|
|
4354
4354
|
/**
|
|
4355
|
-
* @public
|
|
4356
4355
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>Rules</code>
|
|
4357
4356
|
* than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the
|
|
4358
4357
|
* response that allows you to list another group of <code>Rules</code>. For the second and
|
|
4359
4358
|
* subsequent <code>ListRateBasedRules</code> requests, specify the value of
|
|
4360
4359
|
* <code>NextMarker</code> from the previous response to get information about another
|
|
4361
4360
|
* batch of <code>Rules</code>.</p>
|
|
4361
|
+
* @public
|
|
4362
4362
|
*/
|
|
4363
4363
|
NextMarker?: string;
|
|
4364
4364
|
/**
|
|
4365
|
-
* @public
|
|
4366
4365
|
* <p>Specifies the number of <code>Rules</code> that you want AWS WAF to return for this
|
|
4367
4366
|
* request. If you have more <code>Rules</code> than the number that you specify for
|
|
4368
4367
|
* <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can
|
|
4369
4368
|
* use to get another batch of <code>Rules</code>.</p>
|
|
4369
|
+
* @public
|
|
4370
4370
|
*/
|
|
4371
4371
|
Limit?: number;
|
|
4372
4372
|
}
|
|
4373
4373
|
/**
|
|
4374
|
-
* @public
|
|
4375
4374
|
* <note>
|
|
4376
4375
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4377
4376
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4381,20 +4380,21 @@ export interface ListRateBasedRulesRequest {
|
|
|
4381
4380
|
* 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>
|
|
4382
4381
|
* </note>
|
|
4383
4382
|
* <p>Contains the identifier and the friendly name or description of the <code>Rule</code>.</p>
|
|
4383
|
+
* @public
|
|
4384
4384
|
*/
|
|
4385
4385
|
export interface RuleSummary {
|
|
4386
4386
|
/**
|
|
4387
|
-
* @public
|
|
4388
4387
|
* <p>A unique identifier for a <code>Rule</code>. You use <code>RuleId</code> to get more information about a <code>Rule</code> (see <a>GetRule</a>),
|
|
4389
4388
|
* update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete
|
|
4390
4389
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p>
|
|
4391
4390
|
* <p>
|
|
4392
4391
|
* <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>
|
|
4392
|
+
* @public
|
|
4393
4393
|
*/
|
|
4394
4394
|
RuleId: string | undefined;
|
|
4395
4395
|
/**
|
|
4396
|
-
* @public
|
|
4397
4396
|
* <p>A friendly name or description of the <a>Rule</a>. You can't change the name of a <code>Rule</code> after you create it.</p>
|
|
4397
|
+
* @public
|
|
4398
4398
|
*/
|
|
4399
4399
|
Name: string | undefined;
|
|
4400
4400
|
}
|
|
@@ -4403,17 +4403,17 @@ export interface RuleSummary {
|
|
|
4403
4403
|
*/
|
|
4404
4404
|
export interface ListRateBasedRulesResponse {
|
|
4405
4405
|
/**
|
|
4406
|
-
* @public
|
|
4407
4406
|
* <p>If you have more <code>Rules</code> than the number that you specified for
|
|
4408
4407
|
* <code>Limit</code> in the request, the response includes a <code>NextMarker</code>
|
|
4409
4408
|
* value. To list more <code>Rules</code>, submit another <code>ListRateBasedRules</code>
|
|
4410
4409
|
* request, and specify the <code>NextMarker</code> value from the response in the
|
|
4411
4410
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4411
|
+
* @public
|
|
4412
4412
|
*/
|
|
4413
4413
|
NextMarker?: string;
|
|
4414
4414
|
/**
|
|
4415
|
-
* @public
|
|
4416
4415
|
* <p>An array of <a>RuleSummary</a> objects.</p>
|
|
4416
|
+
* @public
|
|
4417
4417
|
*/
|
|
4418
4418
|
Rules?: RuleSummary[];
|
|
4419
4419
|
}
|
|
@@ -4422,23 +4422,22 @@ export interface ListRateBasedRulesResponse {
|
|
|
4422
4422
|
*/
|
|
4423
4423
|
export interface ListRegexMatchSetsRequest {
|
|
4424
4424
|
/**
|
|
4425
|
-
* @public
|
|
4426
4425
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>RegexMatchSet</code> objects than the value of <code>Limit</code>,
|
|
4427
4426
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ByteMatchSets</code>.
|
|
4428
4427
|
* For the second and subsequent <code>ListRegexMatchSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4429
4428
|
* from the previous response to get information about another batch of <code>RegexMatchSet</code> objects.</p>
|
|
4429
|
+
* @public
|
|
4430
4430
|
*/
|
|
4431
4431
|
NextMarker?: string;
|
|
4432
4432
|
/**
|
|
4433
|
-
* @public
|
|
4434
4433
|
* <p>Specifies the number of <code>RegexMatchSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4435
4434
|
* <code>RegexMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4436
4435
|
* <code>NextMarker</code> value that you can use to get another batch of <code>RegexMatchSet</code> objects.</p>
|
|
4436
|
+
* @public
|
|
4437
4437
|
*/
|
|
4438
4438
|
Limit?: number;
|
|
4439
4439
|
}
|
|
4440
4440
|
/**
|
|
4441
|
-
* @public
|
|
4442
4441
|
* <note>
|
|
4443
4442
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4444
4443
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4449,19 +4448,20 @@ export interface ListRegexMatchSetsRequest {
|
|
|
4449
4448
|
* </note>
|
|
4450
4449
|
* <p>Returned by <a>ListRegexMatchSets</a>. Each <code>RegexMatchSetSummary</code> object includes the <code>Name</code> and
|
|
4451
4450
|
* <code>RegexMatchSetId</code> for one <a>RegexMatchSet</a>.</p>
|
|
4451
|
+
* @public
|
|
4452
4452
|
*/
|
|
4453
4453
|
export interface RegexMatchSetSummary {
|
|
4454
4454
|
/**
|
|
4455
|
-
* @public
|
|
4456
4455
|
* <p>The <code>RegexMatchSetId</code> for a <code>RegexMatchSet</code>. You use <code>RegexMatchSetId</code> to get information about a <code>RegexMatchSet</code>,
|
|
4457
4456
|
* update a <code>RegexMatchSet</code>, remove a <code>RegexMatchSet</code> from a <code>Rule</code>, and delete a <code>RegexMatchSet</code> from AWS WAF.</p>
|
|
4458
4457
|
* <p>
|
|
4459
4458
|
* <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>
|
|
4459
|
+
* @public
|
|
4460
4460
|
*/
|
|
4461
4461
|
RegexMatchSetId: string | undefined;
|
|
4462
4462
|
/**
|
|
4463
|
-
* @public
|
|
4464
4463
|
* <p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a <code>RegexMatchSet</code>.</p>
|
|
4464
|
+
* @public
|
|
4465
4465
|
*/
|
|
4466
4466
|
Name: string | undefined;
|
|
4467
4467
|
}
|
|
@@ -4470,16 +4470,16 @@ export interface RegexMatchSetSummary {
|
|
|
4470
4470
|
*/
|
|
4471
4471
|
export interface ListRegexMatchSetsResponse {
|
|
4472
4472
|
/**
|
|
4473
|
-
* @public
|
|
4474
4473
|
* <p>If you have more <code>RegexMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4475
4474
|
* the response includes a <code>NextMarker</code> value. To list more <code>RegexMatchSet</code> objects, submit another
|
|
4476
4475
|
* <code>ListRegexMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4477
4476
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4477
|
+
* @public
|
|
4478
4478
|
*/
|
|
4479
4479
|
NextMarker?: string;
|
|
4480
4480
|
/**
|
|
4481
|
-
* @public
|
|
4482
4481
|
* <p>An array of <a>RegexMatchSetSummary</a> objects.</p>
|
|
4482
|
+
* @public
|
|
4483
4483
|
*/
|
|
4484
4484
|
RegexMatchSets?: RegexMatchSetSummary[];
|
|
4485
4485
|
}
|
|
@@ -4488,23 +4488,22 @@ export interface ListRegexMatchSetsResponse {
|
|
|
4488
4488
|
*/
|
|
4489
4489
|
export interface ListRegexPatternSetsRequest {
|
|
4490
4490
|
/**
|
|
4491
|
-
* @public
|
|
4492
4491
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>RegexPatternSet</code> objects than the value of <code>Limit</code>,
|
|
4493
4492
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>RegexPatternSet</code> objects.
|
|
4494
4493
|
* For the second and subsequent <code>ListRegexPatternSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4495
4494
|
* from the previous response to get information about another batch of <code>RegexPatternSet</code> objects.</p>
|
|
4495
|
+
* @public
|
|
4496
4496
|
*/
|
|
4497
4497
|
NextMarker?: string;
|
|
4498
4498
|
/**
|
|
4499
|
-
* @public
|
|
4500
4499
|
* <p>Specifies the number of <code>RegexPatternSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4501
4500
|
* <code>RegexPatternSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4502
4501
|
* <code>NextMarker</code> value that you can use to get another batch of <code>RegexPatternSet</code> objects.</p>
|
|
4502
|
+
* @public
|
|
4503
4503
|
*/
|
|
4504
4504
|
Limit?: number;
|
|
4505
4505
|
}
|
|
4506
4506
|
/**
|
|
4507
|
-
* @public
|
|
4508
4507
|
* <note>
|
|
4509
4508
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4510
4509
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4515,19 +4514,20 @@ export interface ListRegexPatternSetsRequest {
|
|
|
4515
4514
|
* </note>
|
|
4516
4515
|
* <p>Returned by <a>ListRegexPatternSets</a>. Each <code>RegexPatternSetSummary</code> object includes the <code>Name</code> and
|
|
4517
4516
|
* <code>RegexPatternSetId</code> for one <a>RegexPatternSet</a>.</p>
|
|
4517
|
+
* @public
|
|
4518
4518
|
*/
|
|
4519
4519
|
export interface RegexPatternSetSummary {
|
|
4520
4520
|
/**
|
|
4521
|
-
* @public
|
|
4522
4521
|
* <p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code>,
|
|
4523
4522
|
* update a <code>RegexPatternSet</code>, remove a <code>RegexPatternSet</code> from a <code>RegexMatchSet</code>, and delete a <code>RegexPatternSet</code> from AWS WAF.</p>
|
|
4524
4523
|
* <p>
|
|
4525
4524
|
* <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
4525
|
+
* @public
|
|
4526
4526
|
*/
|
|
4527
4527
|
RegexPatternSetId: string | undefined;
|
|
4528
4528
|
/**
|
|
4529
|
-
* @public
|
|
4530
4529
|
* <p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a <code>RegexPatternSet</code>.</p>
|
|
4530
|
+
* @public
|
|
4531
4531
|
*/
|
|
4532
4532
|
Name: string | undefined;
|
|
4533
4533
|
}
|
|
@@ -4536,16 +4536,16 @@ export interface RegexPatternSetSummary {
|
|
|
4536
4536
|
*/
|
|
4537
4537
|
export interface ListRegexPatternSetsResponse {
|
|
4538
4538
|
/**
|
|
4539
|
-
* @public
|
|
4540
4539
|
* <p>If you have more <code>RegexPatternSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4541
4540
|
* the response includes a <code>NextMarker</code> value. To list more <code>RegexPatternSet</code> objects, submit another
|
|
4542
4541
|
* <code>ListRegexPatternSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4543
4542
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4543
|
+
* @public
|
|
4544
4544
|
*/
|
|
4545
4545
|
NextMarker?: string;
|
|
4546
4546
|
/**
|
|
4547
|
-
* @public
|
|
4548
4547
|
* <p>An array of <a>RegexPatternSetSummary</a> objects.</p>
|
|
4548
|
+
* @public
|
|
4549
4549
|
*/
|
|
4550
4550
|
RegexPatternSets?: RegexPatternSetSummary[];
|
|
4551
4551
|
}
|
|
@@ -4554,21 +4554,20 @@ export interface ListRegexPatternSetsResponse {
|
|
|
4554
4554
|
*/
|
|
4555
4555
|
export interface ListRuleGroupsRequest {
|
|
4556
4556
|
/**
|
|
4557
|
-
* @public
|
|
4558
4557
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>RuleGroups</code> than the value of <code>Limit</code>,
|
|
4559
4558
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>RuleGroups</code>.
|
|
4560
4559
|
* For the second and subsequent <code>ListRuleGroups</code> requests, specify the value of <code>NextMarker</code>
|
|
4561
4560
|
* from the previous response to get information about another batch of <code>RuleGroups</code>.</p>
|
|
4561
|
+
* @public
|
|
4562
4562
|
*/
|
|
4563
4563
|
NextMarker?: string;
|
|
4564
4564
|
/**
|
|
4565
|
-
* @public
|
|
4566
4565
|
* <p>Specifies the number of <code>RuleGroups</code> that you want AWS WAF to return for this request. If you have more <code>RuleGroups</code> than the number that you specify for <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can use to get another batch of <code>RuleGroups</code>.</p>
|
|
4566
|
+
* @public
|
|
4567
4567
|
*/
|
|
4568
4568
|
Limit?: number;
|
|
4569
4569
|
}
|
|
4570
4570
|
/**
|
|
4571
|
-
* @public
|
|
4572
4571
|
* <note>
|
|
4573
4572
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4574
4573
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4578,20 +4577,21 @@ export interface ListRuleGroupsRequest {
|
|
|
4578
4577
|
* 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>
|
|
4579
4578
|
* </note>
|
|
4580
4579
|
* <p>Contains the identifier and the friendly name or description of the <code>RuleGroup</code>.</p>
|
|
4580
|
+
* @public
|
|
4581
4581
|
*/
|
|
4582
4582
|
export interface RuleGroupSummary {
|
|
4583
4583
|
/**
|
|
4584
|
-
* @public
|
|
4585
4584
|
* <p>A unique identifier for a <code>RuleGroup</code>. You use <code>RuleGroupId</code> to get more information about a <code>RuleGroup</code> (see <a>GetRuleGroup</a>),
|
|
4586
4585
|
* update a <code>RuleGroup</code> (see <a>UpdateRuleGroup</a>), insert a <code>RuleGroup</code> into a <code>WebACL</code> or delete
|
|
4587
4586
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RuleGroup</code> from AWS WAF (see <a>DeleteRuleGroup</a>).</p>
|
|
4588
4587
|
* <p>
|
|
4589
4588
|
* <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>
|
|
4589
|
+
* @public
|
|
4590
4590
|
*/
|
|
4591
4591
|
RuleGroupId: string | undefined;
|
|
4592
4592
|
/**
|
|
4593
|
-
* @public
|
|
4594
4593
|
* <p>A friendly name or description of the <a>RuleGroup</a>. You can't change the name of a <code>RuleGroup</code> after you create it.</p>
|
|
4594
|
+
* @public
|
|
4595
4595
|
*/
|
|
4596
4596
|
Name: string | undefined;
|
|
4597
4597
|
}
|
|
@@ -4600,13 +4600,13 @@ export interface RuleGroupSummary {
|
|
|
4600
4600
|
*/
|
|
4601
4601
|
export interface ListRuleGroupsResponse {
|
|
4602
4602
|
/**
|
|
4603
|
-
* @public
|
|
4604
4603
|
* <p>If you have more <code>RuleGroups</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>RuleGroups</code>, submit another <code>ListRuleGroups</code> request, and specify the <code>NextMarker</code> value from the response in the <code>NextMarker</code> value in the next request.</p>
|
|
4604
|
+
* @public
|
|
4605
4605
|
*/
|
|
4606
4606
|
NextMarker?: string;
|
|
4607
4607
|
/**
|
|
4608
|
-
* @public
|
|
4609
4608
|
* <p>An array of <a>RuleGroup</a> objects.</p>
|
|
4609
|
+
* @public
|
|
4610
4610
|
*/
|
|
4611
4611
|
RuleGroups?: RuleGroupSummary[];
|
|
4612
4612
|
}
|
|
@@ -4615,17 +4615,17 @@ export interface ListRuleGroupsResponse {
|
|
|
4615
4615
|
*/
|
|
4616
4616
|
export interface ListRulesRequest {
|
|
4617
4617
|
/**
|
|
4618
|
-
* @public
|
|
4619
4618
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>Rules</code> than the value of <code>Limit</code>,
|
|
4620
4619
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>Rules</code>.
|
|
4621
4620
|
* For the second and subsequent <code>ListRules</code> requests, specify the value of <code>NextMarker</code>
|
|
4622
4621
|
* from the previous response to get information about another batch of <code>Rules</code>.</p>
|
|
4622
|
+
* @public
|
|
4623
4623
|
*/
|
|
4624
4624
|
NextMarker?: string;
|
|
4625
4625
|
/**
|
|
4626
|
-
* @public
|
|
4627
4626
|
* <p>Specifies the number of <code>Rules</code> that you want AWS WAF to return for this request. If you have more <code>Rules</code> than the number that you specify for <code>Limit</code>, the response includes a
|
|
4628
4627
|
* <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>
|
|
4628
|
+
* @public
|
|
4629
4629
|
*/
|
|
4630
4630
|
Limit?: number;
|
|
4631
4631
|
}
|
|
@@ -4634,15 +4634,15 @@ export interface ListRulesRequest {
|
|
|
4634
4634
|
*/
|
|
4635
4635
|
export interface ListRulesResponse {
|
|
4636
4636
|
/**
|
|
4637
|
-
* @public
|
|
4638
4637
|
* <p>If you have more <code>Rules</code> than the number that you specified for <code>Limit</code> in the request, the response includes a <code>NextMarker</code> value. To list more <code>Rules</code>, submit another
|
|
4639
4638
|
* <code>ListRules</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4640
4639
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4640
|
+
* @public
|
|
4641
4641
|
*/
|
|
4642
4642
|
NextMarker?: string;
|
|
4643
4643
|
/**
|
|
4644
|
-
* @public
|
|
4645
4644
|
* <p>An array of <a>RuleSummary</a> objects.</p>
|
|
4645
|
+
* @public
|
|
4646
4646
|
*/
|
|
4647
4647
|
Rules?: RuleSummary[];
|
|
4648
4648
|
}
|
|
@@ -4651,22 +4651,21 @@ export interface ListRulesResponse {
|
|
|
4651
4651
|
*/
|
|
4652
4652
|
export interface ListSizeConstraintSetsRequest {
|
|
4653
4653
|
/**
|
|
4654
|
-
* @public
|
|
4655
4654
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>SizeConstraintSets</code> than the value of <code>Limit</code>,
|
|
4656
4655
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>SizeConstraintSets</code>.
|
|
4657
4656
|
* For the second and subsequent <code>ListSizeConstraintSets</code> requests, specify the value of <code>NextMarker</code> from the previous response to get information about another batch of <code>SizeConstraintSets</code>.</p>
|
|
4657
|
+
* @public
|
|
4658
4658
|
*/
|
|
4659
4659
|
NextMarker?: string;
|
|
4660
4660
|
/**
|
|
4661
|
-
* @public
|
|
4662
4661
|
* <p>Specifies the number of <code>SizeConstraintSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4663
4662
|
* <code>SizeConstraintSets</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4664
4663
|
* <code>NextMarker</code> value that you can use to get another batch of <code>SizeConstraintSet</code> objects.</p>
|
|
4664
|
+
* @public
|
|
4665
4665
|
*/
|
|
4666
4666
|
Limit?: number;
|
|
4667
4667
|
}
|
|
4668
4668
|
/**
|
|
4669
|
-
* @public
|
|
4670
4669
|
* <note>
|
|
4671
4670
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4672
4671
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4676,10 +4675,10 @@ export interface ListSizeConstraintSetsRequest {
|
|
|
4676
4675
|
* 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>
|
|
4677
4676
|
* </note>
|
|
4678
4677
|
* <p>The <code>Id</code> and <code>Name</code> of a <code>SizeConstraintSet</code>.</p>
|
|
4678
|
+
* @public
|
|
4679
4679
|
*/
|
|
4680
4680
|
export interface SizeConstraintSetSummary {
|
|
4681
4681
|
/**
|
|
4682
|
-
* @public
|
|
4683
4682
|
* <p>A unique identifier for a <code>SizeConstraintSet</code>. You use <code>SizeConstraintSetId</code> to get information about a
|
|
4684
4683
|
* <code>SizeConstraintSet</code> (see <a>GetSizeConstraintSet</a>), update a <code>SizeConstraintSet</code>
|
|
4685
4684
|
* (see <a>UpdateSizeConstraintSet</a>), insert a <code>SizeConstraintSet</code> into a <code>Rule</code> or
|
|
@@ -4687,11 +4686,12 @@ export interface SizeConstraintSetSummary {
|
|
|
4687
4686
|
* (see <a>DeleteSizeConstraintSet</a>).</p>
|
|
4688
4687
|
* <p>
|
|
4689
4688
|
* <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
4689
|
+
* @public
|
|
4690
4690
|
*/
|
|
4691
4691
|
SizeConstraintSetId: string | undefined;
|
|
4692
4692
|
/**
|
|
4693
|
-
* @public
|
|
4694
4693
|
* <p>The name of the <code>SizeConstraintSet</code>, if any.</p>
|
|
4694
|
+
* @public
|
|
4695
4695
|
*/
|
|
4696
4696
|
Name: string | undefined;
|
|
4697
4697
|
}
|
|
@@ -4700,42 +4700,41 @@ export interface SizeConstraintSetSummary {
|
|
|
4700
4700
|
*/
|
|
4701
4701
|
export interface ListSizeConstraintSetsResponse {
|
|
4702
4702
|
/**
|
|
4703
|
-
* @public
|
|
4704
4703
|
* <p>If you have more <code>SizeConstraintSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4705
4704
|
* the response includes a <code>NextMarker</code> value. To list more <code>SizeConstraintSet</code> objects, submit another
|
|
4706
4705
|
* <code>ListSizeConstraintSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4707
4706
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4707
|
+
* @public
|
|
4708
4708
|
*/
|
|
4709
4709
|
NextMarker?: string;
|
|
4710
4710
|
/**
|
|
4711
|
-
* @public
|
|
4712
4711
|
* <p>An array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
4712
|
+
* @public
|
|
4713
4713
|
*/
|
|
4714
4714
|
SizeConstraintSets?: SizeConstraintSetSummary[];
|
|
4715
4715
|
}
|
|
4716
4716
|
/**
|
|
4717
|
-
* @public
|
|
4718
4717
|
* <p>A request to list the <a>SqlInjectionMatchSet</a> objects created by the current AWS account.</p>
|
|
4718
|
+
* @public
|
|
4719
4719
|
*/
|
|
4720
4720
|
export interface ListSqlInjectionMatchSetsRequest {
|
|
4721
4721
|
/**
|
|
4722
|
-
* @public
|
|
4723
4722
|
* <p>If you specify a value for <code>Limit</code> and you have more <a>SqlInjectionMatchSet</a> objects than the value of
|
|
4724
4723
|
* <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of
|
|
4725
4724
|
* <code>SqlInjectionMatchSets</code>. For the second and subsequent <code>ListSqlInjectionMatchSets</code> requests, specify the
|
|
4726
4725
|
* value of <code>NextMarker</code> from the previous response to get information about another batch of <code>SqlInjectionMatchSets</code>.</p>
|
|
4726
|
+
* @public
|
|
4727
4727
|
*/
|
|
4728
4728
|
NextMarker?: string;
|
|
4729
4729
|
/**
|
|
4730
|
-
* @public
|
|
4731
4730
|
* <p>Specifies the number of <a>SqlInjectionMatchSet</a> objects that you want AWS WAF to return for this request. If you have more
|
|
4732
4731
|
* <code>SqlInjectionMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4733
4732
|
* <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>
|
|
4733
|
+
* @public
|
|
4734
4734
|
*/
|
|
4735
4735
|
Limit?: number;
|
|
4736
4736
|
}
|
|
4737
4737
|
/**
|
|
4738
|
-
* @public
|
|
4739
4738
|
* <note>
|
|
4740
4739
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4741
4740
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4745,10 +4744,10 @@ export interface ListSqlInjectionMatchSetsRequest {
|
|
|
4745
4744
|
* 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>
|
|
4746
4745
|
* </note>
|
|
4747
4746
|
* <p>The <code>Id</code> and <code>Name</code> of a <code>SqlInjectionMatchSet</code>.</p>
|
|
4747
|
+
* @public
|
|
4748
4748
|
*/
|
|
4749
4749
|
export interface SqlInjectionMatchSetSummary {
|
|
4750
4750
|
/**
|
|
4751
|
-
* @public
|
|
4752
4751
|
* <p>A unique identifier for a <code>SqlInjectionMatchSet</code>. You use <code>SqlInjectionMatchSetId</code> to get information about a
|
|
4753
4752
|
* <code>SqlInjectionMatchSet</code> (see <a>GetSqlInjectionMatchSet</a>), update a <code>SqlInjectionMatchSet</code>
|
|
4754
4753
|
* (see <a>UpdateSqlInjectionMatchSet</a>), insert a <code>SqlInjectionMatchSet</code> into a <code>Rule</code> or
|
|
@@ -4756,30 +4755,31 @@ export interface SqlInjectionMatchSetSummary {
|
|
|
4756
4755
|
* (see <a>DeleteSqlInjectionMatchSet</a>).</p>
|
|
4757
4756
|
* <p>
|
|
4758
4757
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
4758
|
+
* @public
|
|
4759
4759
|
*/
|
|
4760
4760
|
SqlInjectionMatchSetId: string | undefined;
|
|
4761
4761
|
/**
|
|
4762
|
-
* @public
|
|
4763
4762
|
* <p>The name of the <code>SqlInjectionMatchSet</code>, if any, specified by <code>Id</code>.</p>
|
|
4763
|
+
* @public
|
|
4764
4764
|
*/
|
|
4765
4765
|
Name: string | undefined;
|
|
4766
4766
|
}
|
|
4767
4767
|
/**
|
|
4768
|
-
* @public
|
|
4769
4768
|
* <p>The response to a <a>ListSqlInjectionMatchSets</a> request.</p>
|
|
4769
|
+
* @public
|
|
4770
4770
|
*/
|
|
4771
4771
|
export interface ListSqlInjectionMatchSetsResponse {
|
|
4772
4772
|
/**
|
|
4773
|
-
* @public
|
|
4774
4773
|
* <p>If you have more <a>SqlInjectionMatchSet</a> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4775
4774
|
* the response includes a <code>NextMarker</code> value. To list more <code>SqlInjectionMatchSet</code> objects, submit another
|
|
4776
4775
|
* <code>ListSqlInjectionMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4777
4776
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4777
|
+
* @public
|
|
4778
4778
|
*/
|
|
4779
4779
|
NextMarker?: string;
|
|
4780
4780
|
/**
|
|
4781
|
-
* @public
|
|
4782
4781
|
* <p>An array of <a>SqlInjectionMatchSetSummary</a> objects.</p>
|
|
4782
|
+
* @public
|
|
4783
4783
|
*/
|
|
4784
4784
|
SqlInjectionMatchSets?: SqlInjectionMatchSetSummary[];
|
|
4785
4785
|
}
|
|
@@ -4788,23 +4788,22 @@ export interface ListSqlInjectionMatchSetsResponse {
|
|
|
4788
4788
|
*/
|
|
4789
4789
|
export interface ListSubscribedRuleGroupsRequest {
|
|
4790
4790
|
/**
|
|
4791
|
-
* @public
|
|
4792
4791
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>ByteMatchSets</code>subscribed rule groups than the value of <code>Limit</code>,
|
|
4793
4792
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of subscribed rule groups.
|
|
4794
4793
|
* For the second and subsequent <code>ListSubscribedRuleGroupsRequest</code> requests, specify the value of <code>NextMarker</code>
|
|
4795
4794
|
* from the previous response to get information about another batch of subscribed rule groups.</p>
|
|
4795
|
+
* @public
|
|
4796
4796
|
*/
|
|
4797
4797
|
NextMarker?: string;
|
|
4798
4798
|
/**
|
|
4799
|
-
* @public
|
|
4800
4799
|
* <p>Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more
|
|
4801
4800
|
* objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4802
4801
|
* <code>NextMarker</code> value that you can use to get another batch of objects.</p>
|
|
4802
|
+
* @public
|
|
4803
4803
|
*/
|
|
4804
4804
|
Limit?: number;
|
|
4805
4805
|
}
|
|
4806
4806
|
/**
|
|
4807
|
-
* @public
|
|
4808
4807
|
* <note>
|
|
4809
4808
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4810
4809
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4814,22 +4813,23 @@ export interface ListSubscribedRuleGroupsRequest {
|
|
|
4814
4813
|
* 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>
|
|
4815
4814
|
* </note>
|
|
4816
4815
|
* <p>A summary of the rule groups you are subscribed to.</p>
|
|
4816
|
+
* @public
|
|
4817
4817
|
*/
|
|
4818
4818
|
export interface SubscribedRuleGroupSummary {
|
|
4819
4819
|
/**
|
|
4820
|
-
* @public
|
|
4821
4820
|
* <p>A unique identifier for a <code>RuleGroup</code>.</p>
|
|
4821
|
+
* @public
|
|
4822
4822
|
*/
|
|
4823
4823
|
RuleGroupId: string | undefined;
|
|
4824
4824
|
/**
|
|
4825
|
-
* @public
|
|
4826
4825
|
* <p>A friendly name or description of the <code>RuleGroup</code>. You can't change the name of a <code>RuleGroup</code> after you create it.</p>
|
|
4826
|
+
* @public
|
|
4827
4827
|
*/
|
|
4828
4828
|
Name: string | undefined;
|
|
4829
4829
|
/**
|
|
4830
|
-
* @public
|
|
4831
4830
|
* <p>A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain
|
|
4832
4831
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the <code>RuleGroup</code>.</p>
|
|
4832
|
+
* @public
|
|
4833
4833
|
*/
|
|
4834
4834
|
MetricName: string | undefined;
|
|
4835
4835
|
}
|
|
@@ -4838,16 +4838,16 @@ export interface SubscribedRuleGroupSummary {
|
|
|
4838
4838
|
*/
|
|
4839
4839
|
export interface ListSubscribedRuleGroupsResponse {
|
|
4840
4840
|
/**
|
|
4841
|
-
* @public
|
|
4842
4841
|
* <p>If you have more objects than the number that you specified for <code>Limit</code> in the request,
|
|
4843
4842
|
* the response includes a <code>NextMarker</code> value. To list more objects, submit another
|
|
4844
4843
|
* <code>ListSubscribedRuleGroups</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4845
4844
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4845
|
+
* @public
|
|
4846
4846
|
*/
|
|
4847
4847
|
NextMarker?: string;
|
|
4848
4848
|
/**
|
|
4849
|
-
* @public
|
|
4850
4849
|
* <p>An array of <a>RuleGroup</a> objects.</p>
|
|
4850
|
+
* @public
|
|
4851
4851
|
*/
|
|
4852
4852
|
RuleGroups?: SubscribedRuleGroupSummary[];
|
|
4853
4853
|
}
|
|
@@ -4856,23 +4856,22 @@ export interface ListSubscribedRuleGroupsResponse {
|
|
|
4856
4856
|
*/
|
|
4857
4857
|
export interface ListTagsForResourceRequest {
|
|
4858
4858
|
/**
|
|
4859
|
-
* @public
|
|
4860
4859
|
* <p></p>
|
|
4860
|
+
* @public
|
|
4861
4861
|
*/
|
|
4862
4862
|
NextMarker?: string;
|
|
4863
4863
|
/**
|
|
4864
|
-
* @public
|
|
4865
4864
|
* <p></p>
|
|
4865
|
+
* @public
|
|
4866
4866
|
*/
|
|
4867
4867
|
Limit?: number;
|
|
4868
4868
|
/**
|
|
4869
|
-
* @public
|
|
4870
4869
|
* <p></p>
|
|
4870
|
+
* @public
|
|
4871
4871
|
*/
|
|
4872
4872
|
ResourceARN: string | undefined;
|
|
4873
4873
|
}
|
|
4874
4874
|
/**
|
|
4875
|
-
* @public
|
|
4876
4875
|
* <note>
|
|
4877
4876
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4878
4877
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4883,16 +4882,17 @@ export interface ListTagsForResourceRequest {
|
|
|
4883
4882
|
* </note>
|
|
4884
4883
|
* <p>Information for a tag associated with an 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>
|
|
4885
4884
|
* <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>
|
|
4885
|
+
* @public
|
|
4886
4886
|
*/
|
|
4887
4887
|
export interface TagInfoForResource {
|
|
4888
4888
|
/**
|
|
4889
|
-
* @public
|
|
4890
4889
|
* <p></p>
|
|
4890
|
+
* @public
|
|
4891
4891
|
*/
|
|
4892
4892
|
ResourceARN?: string;
|
|
4893
4893
|
/**
|
|
4894
|
-
* @public
|
|
4895
4894
|
* <p></p>
|
|
4895
|
+
* @public
|
|
4896
4896
|
*/
|
|
4897
4897
|
TagList?: Tag[];
|
|
4898
4898
|
}
|
|
@@ -4901,13 +4901,13 @@ export interface TagInfoForResource {
|
|
|
4901
4901
|
*/
|
|
4902
4902
|
export interface ListTagsForResourceResponse {
|
|
4903
4903
|
/**
|
|
4904
|
-
* @public
|
|
4905
4904
|
* <p></p>
|
|
4905
|
+
* @public
|
|
4906
4906
|
*/
|
|
4907
4907
|
NextMarker?: string;
|
|
4908
4908
|
/**
|
|
4909
|
-
* @public
|
|
4910
4909
|
* <p></p>
|
|
4910
|
+
* @public
|
|
4911
4911
|
*/
|
|
4912
4912
|
TagInfoForResource?: TagInfoForResource;
|
|
4913
4913
|
}
|
|
@@ -4916,23 +4916,22 @@ export interface ListTagsForResourceResponse {
|
|
|
4916
4916
|
*/
|
|
4917
4917
|
export interface ListWebACLsRequest {
|
|
4918
4918
|
/**
|
|
4919
|
-
* @public
|
|
4920
4919
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>WebACL</code> objects than the number that you specify
|
|
4921
4920
|
* for <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of
|
|
4922
4921
|
* <code>WebACL</code> objects. For the second and subsequent <code>ListWebACLs</code> requests, specify the value of <code>NextMarker</code>
|
|
4923
4922
|
* from the previous response to get information about another batch of <code>WebACL</code> objects.</p>
|
|
4923
|
+
* @public
|
|
4924
4924
|
*/
|
|
4925
4925
|
NextMarker?: string;
|
|
4926
4926
|
/**
|
|
4927
|
-
* @public
|
|
4928
4927
|
* <p>Specifies the number of <code>WebACL</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4929
4928
|
* <code>WebACL</code> objects than the number that you specify for <code>Limit</code>, the response includes a
|
|
4930
4929
|
* <code>NextMarker</code> value that you can use to get another batch of <code>WebACL</code> objects.</p>
|
|
4930
|
+
* @public
|
|
4931
4931
|
*/
|
|
4932
4932
|
Limit?: number;
|
|
4933
4933
|
}
|
|
4934
4934
|
/**
|
|
4935
|
-
* @public
|
|
4936
4935
|
* <note>
|
|
4937
4936
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4938
4937
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4942,20 +4941,21 @@ export interface ListWebACLsRequest {
|
|
|
4942
4941
|
* 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>
|
|
4943
4942
|
* </note>
|
|
4944
4943
|
* <p>Contains the identifier and the name or description of the <a>WebACL</a>.</p>
|
|
4944
|
+
* @public
|
|
4945
4945
|
*/
|
|
4946
4946
|
export interface WebACLSummary {
|
|
4947
4947
|
/**
|
|
4948
|
-
* @public
|
|
4949
4948
|
* <p>A unique identifier for a <code>WebACL</code>. You use <code>WebACLId</code> to get information about a <code>WebACL</code>
|
|
4950
4949
|
* (see <a>GetWebACL</a>), update a <code>WebACL</code> (see <a>UpdateWebACL</a>), and delete a <code>WebACL</code> from AWS WAF
|
|
4951
4950
|
* (see <a>DeleteWebACL</a>).</p>
|
|
4952
4951
|
* <p>
|
|
4953
4952
|
* <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>
|
|
4953
|
+
* @public
|
|
4954
4954
|
*/
|
|
4955
4955
|
WebACLId: string | undefined;
|
|
4956
4956
|
/**
|
|
4957
|
-
* @public
|
|
4958
4957
|
* <p>A friendly name or description of the <a>WebACL</a>. You can't change the name of a <code>WebACL</code> after you create it.</p>
|
|
4958
|
+
* @public
|
|
4959
4959
|
*/
|
|
4960
4960
|
Name: string | undefined;
|
|
4961
4961
|
}
|
|
@@ -4964,42 +4964,41 @@ export interface WebACLSummary {
|
|
|
4964
4964
|
*/
|
|
4965
4965
|
export interface ListWebACLsResponse {
|
|
4966
4966
|
/**
|
|
4967
|
-
* @public
|
|
4968
4967
|
* <p>If you have more <code>WebACL</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4969
4968
|
* the response includes a <code>NextMarker</code> value. To list more <code>WebACL</code> objects, submit another
|
|
4970
4969
|
* <code>ListWebACLs</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4971
4970
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4971
|
+
* @public
|
|
4972
4972
|
*/
|
|
4973
4973
|
NextMarker?: string;
|
|
4974
4974
|
/**
|
|
4975
|
-
* @public
|
|
4976
4975
|
* <p>An array of <a>WebACLSummary</a> objects.</p>
|
|
4976
|
+
* @public
|
|
4977
4977
|
*/
|
|
4978
4978
|
WebACLs?: WebACLSummary[];
|
|
4979
4979
|
}
|
|
4980
4980
|
/**
|
|
4981
|
-
* @public
|
|
4982
4981
|
* <p>A request to list the <a>XssMatchSet</a> objects created by the current AWS account.</p>
|
|
4982
|
+
* @public
|
|
4983
4983
|
*/
|
|
4984
4984
|
export interface ListXssMatchSetsRequest {
|
|
4985
4985
|
/**
|
|
4986
|
-
* @public
|
|
4987
4986
|
* <p>If you specify a value for <code>Limit</code> and you have more <a>XssMatchSet</a> objects than the value of
|
|
4988
4987
|
* <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of
|
|
4989
4988
|
* <code>XssMatchSets</code>. For the second and subsequent <code>ListXssMatchSets</code> requests, specify the
|
|
4990
4989
|
* value of <code>NextMarker</code> from the previous response to get information about another batch of <code>XssMatchSets</code>.</p>
|
|
4990
|
+
* @public
|
|
4991
4991
|
*/
|
|
4992
4992
|
NextMarker?: string;
|
|
4993
4993
|
/**
|
|
4994
|
-
* @public
|
|
4995
4994
|
* <p>Specifies the number of <a>XssMatchSet</a> objects that you want AWS WAF to return for this request. If you have more
|
|
4996
4995
|
* <code>XssMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4997
4996
|
* <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>
|
|
4997
|
+
* @public
|
|
4998
4998
|
*/
|
|
4999
4999
|
Limit?: number;
|
|
5000
5000
|
}
|
|
5001
5001
|
/**
|
|
5002
|
-
* @public
|
|
5003
5002
|
* <note>
|
|
5004
5003
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5005
5004
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5009,10 +5008,10 @@ export interface ListXssMatchSetsRequest {
|
|
|
5009
5008
|
* 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>
|
|
5010
5009
|
* </note>
|
|
5011
5010
|
* <p>The <code>Id</code> and <code>Name</code> of an <code>XssMatchSet</code>.</p>
|
|
5011
|
+
* @public
|
|
5012
5012
|
*/
|
|
5013
5013
|
export interface XssMatchSetSummary {
|
|
5014
5014
|
/**
|
|
5015
|
-
* @public
|
|
5016
5015
|
* <p>A unique identifier for an <code>XssMatchSet</code>. You use <code>XssMatchSetId</code> to get information about a
|
|
5017
5016
|
* <code>XssMatchSet</code> (see <a>GetXssMatchSet</a>), update an <code>XssMatchSet</code>
|
|
5018
5017
|
* (see <a>UpdateXssMatchSet</a>), insert an <code>XssMatchSet</code> into a <code>Rule</code> or
|
|
@@ -5020,30 +5019,31 @@ export interface XssMatchSetSummary {
|
|
|
5020
5019
|
* (see <a>DeleteXssMatchSet</a>).</p>
|
|
5021
5020
|
* <p>
|
|
5022
5021
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
5022
|
+
* @public
|
|
5023
5023
|
*/
|
|
5024
5024
|
XssMatchSetId: string | undefined;
|
|
5025
5025
|
/**
|
|
5026
|
-
* @public
|
|
5027
5026
|
* <p>The name of the <code>XssMatchSet</code>, if any, specified by <code>Id</code>.</p>
|
|
5027
|
+
* @public
|
|
5028
5028
|
*/
|
|
5029
5029
|
Name: string | undefined;
|
|
5030
5030
|
}
|
|
5031
5031
|
/**
|
|
5032
|
-
* @public
|
|
5033
5032
|
* <p>The response to a <a>ListXssMatchSets</a> request.</p>
|
|
5033
|
+
* @public
|
|
5034
5034
|
*/
|
|
5035
5035
|
export interface ListXssMatchSetsResponse {
|
|
5036
5036
|
/**
|
|
5037
|
-
* @public
|
|
5038
5037
|
* <p>If you have more <a>XssMatchSet</a> objects than the number that you specified for <code>Limit</code> in the request,
|
|
5039
5038
|
* the response includes a <code>NextMarker</code> value. To list more <code>XssMatchSet</code> objects, submit another
|
|
5040
5039
|
* <code>ListXssMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
5041
5040
|
* <code>NextMarker</code> value in the next request.</p>
|
|
5041
|
+
* @public
|
|
5042
5042
|
*/
|
|
5043
5043
|
NextMarker?: string;
|
|
5044
5044
|
/**
|
|
5045
|
-
* @public
|
|
5046
5045
|
* <p>An array of <a>XssMatchSetSummary</a> objects.</p>
|
|
5046
|
+
* @public
|
|
5047
5047
|
*/
|
|
5048
5048
|
XssMatchSets?: XssMatchSetSummary[];
|
|
5049
5049
|
}
|
|
@@ -5052,7 +5052,6 @@ export interface ListXssMatchSetsResponse {
|
|
|
5052
5052
|
*/
|
|
5053
5053
|
export interface PutLoggingConfigurationRequest {
|
|
5054
5054
|
/**
|
|
5055
|
-
* @public
|
|
5056
5055
|
* <p>The Amazon Kinesis Data Firehose that contains the inspected traffic
|
|
5057
5056
|
* information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL
|
|
5058
5057
|
* to monitor.</p>
|
|
@@ -5061,6 +5060,7 @@ export interface PutLoggingConfigurationRequest {
|
|
|
5061
5060
|
* the following values: <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>,
|
|
5062
5061
|
* or <code>METHOD</code>.</p>
|
|
5063
5062
|
* </note>
|
|
5063
|
+
* @public
|
|
5064
5064
|
*/
|
|
5065
5065
|
LoggingConfiguration: LoggingConfiguration | undefined;
|
|
5066
5066
|
}
|
|
@@ -5069,14 +5069,14 @@ export interface PutLoggingConfigurationRequest {
|
|
|
5069
5069
|
*/
|
|
5070
5070
|
export interface PutLoggingConfigurationResponse {
|
|
5071
5071
|
/**
|
|
5072
|
-
* @public
|
|
5073
5072
|
* <p>The <a>LoggingConfiguration</a> that you submitted in the request.</p>
|
|
5073
|
+
* @public
|
|
5074
5074
|
*/
|
|
5075
5075
|
LoggingConfiguration?: LoggingConfiguration;
|
|
5076
5076
|
}
|
|
5077
5077
|
/**
|
|
5078
|
-
* @public
|
|
5079
5078
|
* <p>AWS WAF is not able to access the service linked role. This can be caused by a previous <code>PutLoggingConfiguration</code> request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the role for 15 minutes or more. If you recently made a <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.</p>
|
|
5079
|
+
* @public
|
|
5080
5080
|
*/
|
|
5081
5081
|
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
5082
5082
|
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
@@ -5091,13 +5091,13 @@ export declare class WAFServiceLinkedRoleErrorException extends __BaseException
|
|
|
5091
5091
|
*/
|
|
5092
5092
|
export interface PutPermissionPolicyRequest {
|
|
5093
5093
|
/**
|
|
5094
|
-
* @public
|
|
5095
5094
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.</p>
|
|
5095
|
+
* @public
|
|
5096
5096
|
*/
|
|
5097
5097
|
ResourceArn: string | undefined;
|
|
5098
5098
|
/**
|
|
5099
|
-
* @public
|
|
5100
5099
|
* <p>The policy to attach to the specified RuleGroup.</p>
|
|
5100
|
+
* @public
|
|
5101
5101
|
*/
|
|
5102
5102
|
Policy: string | undefined;
|
|
5103
5103
|
}
|
|
@@ -5107,7 +5107,6 @@ export interface PutPermissionPolicyRequest {
|
|
|
5107
5107
|
export interface PutPermissionPolicyResponse {
|
|
5108
5108
|
}
|
|
5109
5109
|
/**
|
|
5110
|
-
* @public
|
|
5111
5110
|
* <p>The operation failed because the specified policy is not in the proper format. </p>
|
|
5112
5111
|
* <p>The policy is subject to the following restrictions:</p>
|
|
5113
5112
|
* <ul>
|
|
@@ -5138,6 +5137,7 @@ export interface PutPermissionPolicyResponse {
|
|
|
5138
5137
|
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
5139
5138
|
* </li>
|
|
5140
5139
|
* </ul>
|
|
5140
|
+
* @public
|
|
5141
5141
|
*/
|
|
5142
5142
|
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
5143
5143
|
readonly name: "WAFInvalidPermissionPolicyException";
|
|
@@ -5152,13 +5152,13 @@ export declare class WAFInvalidPermissionPolicyException extends __BaseException
|
|
|
5152
5152
|
*/
|
|
5153
5153
|
export interface TagResourceRequest {
|
|
5154
5154
|
/**
|
|
5155
|
-
* @public
|
|
5156
5155
|
* <p></p>
|
|
5156
|
+
* @public
|
|
5157
5157
|
*/
|
|
5158
5158
|
ResourceARN: string | undefined;
|
|
5159
5159
|
/**
|
|
5160
|
-
* @public
|
|
5161
5160
|
* <p></p>
|
|
5161
|
+
* @public
|
|
5162
5162
|
*/
|
|
5163
5163
|
Tags: Tag[] | undefined;
|
|
5164
5164
|
}
|
|
@@ -5172,13 +5172,13 @@ export interface TagResourceResponse {
|
|
|
5172
5172
|
*/
|
|
5173
5173
|
export interface UntagResourceRequest {
|
|
5174
5174
|
/**
|
|
5175
|
-
* @public
|
|
5176
5175
|
* <p></p>
|
|
5176
|
+
* @public
|
|
5177
5177
|
*/
|
|
5178
5178
|
ResourceARN: string | undefined;
|
|
5179
5179
|
/**
|
|
5180
|
-
* @public
|
|
5181
5180
|
* <p></p>
|
|
5181
|
+
* @public
|
|
5182
5182
|
*/
|
|
5183
5183
|
TagKeys: string[] | undefined;
|
|
5184
5184
|
}
|
|
@@ -5200,7 +5200,6 @@ export declare const ChangeAction: {
|
|
|
5200
5200
|
*/
|
|
5201
5201
|
export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
|
|
5202
5202
|
/**
|
|
5203
|
-
* @public
|
|
5204
5203
|
* <note>
|
|
5205
5204
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5206
5205
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5211,18 +5210,19 @@ export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
|
|
|
5211
5210
|
* </note>
|
|
5212
5211
|
* <p>In an <a>UpdateByteMatchSet</a> request, <code>ByteMatchSetUpdate</code> specifies whether to insert or delete a
|
|
5213
5212
|
* <a>ByteMatchTuple</a> and includes the settings for the <code>ByteMatchTuple</code>.</p>
|
|
5213
|
+
* @public
|
|
5214
5214
|
*/
|
|
5215
5215
|
export interface ByteMatchSetUpdate {
|
|
5216
5216
|
/**
|
|
5217
|
-
* @public
|
|
5218
5217
|
* <p>Specifies whether to insert or delete a <a>ByteMatchTuple</a>.</p>
|
|
5218
|
+
* @public
|
|
5219
5219
|
*/
|
|
5220
5220
|
Action: ChangeAction | undefined;
|
|
5221
5221
|
/**
|
|
5222
|
-
* @public
|
|
5223
5222
|
* <p>Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for.
|
|
5224
5223
|
* If you specify <code>DELETE</code> for the value of <code>Action</code>, the <code>ByteMatchTuple</code> values must
|
|
5225
5224
|
* exactly match the values in the <code>ByteMatchTuple</code> that you want to delete from the <code>ByteMatchSet</code>.</p>
|
|
5225
|
+
* @public
|
|
5226
5226
|
*/
|
|
5227
5227
|
ByteMatchTuple: ByteMatchTuple | undefined;
|
|
5228
5228
|
}
|
|
@@ -5231,18 +5231,17 @@ export interface ByteMatchSetUpdate {
|
|
|
5231
5231
|
*/
|
|
5232
5232
|
export interface UpdateByteMatchSetRequest {
|
|
5233
5233
|
/**
|
|
5234
|
-
* @public
|
|
5235
5234
|
* <p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to update. <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by
|
|
5236
5235
|
* <a>ListByteMatchSets</a>.</p>
|
|
5236
|
+
* @public
|
|
5237
5237
|
*/
|
|
5238
5238
|
ByteMatchSetId: string | undefined;
|
|
5239
5239
|
/**
|
|
5240
|
-
* @public
|
|
5241
5240
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5241
|
+
* @public
|
|
5242
5242
|
*/
|
|
5243
5243
|
ChangeToken: string | undefined;
|
|
5244
5244
|
/**
|
|
5245
|
-
* @public
|
|
5246
5245
|
* <p>An array of <code>ByteMatchSetUpdate</code> objects that you want to insert into or delete from a <a>ByteMatchSet</a>.
|
|
5247
5246
|
* For more information, see the applicable data types:</p>
|
|
5248
5247
|
* <ul>
|
|
@@ -5263,6 +5262,7 @@ export interface UpdateByteMatchSetRequest {
|
|
|
5263
5262
|
* </p>
|
|
5264
5263
|
* </li>
|
|
5265
5264
|
* </ul>
|
|
5265
|
+
* @public
|
|
5266
5266
|
*/
|
|
5267
5267
|
Updates: ByteMatchSetUpdate[] | undefined;
|
|
5268
5268
|
}
|
|
@@ -5271,14 +5271,13 @@ export interface UpdateByteMatchSetRequest {
|
|
|
5271
5271
|
*/
|
|
5272
5272
|
export interface UpdateByteMatchSetResponse {
|
|
5273
5273
|
/**
|
|
5274
|
-
* @public
|
|
5275
5274
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateByteMatchSet</code> request. You can also use this value
|
|
5276
5275
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5276
|
+
* @public
|
|
5277
5277
|
*/
|
|
5278
5278
|
ChangeToken?: string;
|
|
5279
5279
|
}
|
|
5280
5280
|
/**
|
|
5281
|
-
* @public
|
|
5282
5281
|
* <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
|
|
5283
5282
|
* <ul>
|
|
5284
5283
|
* <li>
|
|
@@ -5295,6 +5294,7 @@ export interface UpdateByteMatchSetResponse {
|
|
|
5295
5294
|
* that doesn't exist.</p>
|
|
5296
5295
|
* </li>
|
|
5297
5296
|
* </ul>
|
|
5297
|
+
* @public
|
|
5298
5298
|
*/
|
|
5299
5299
|
export declare class WAFNonexistentContainerException extends __BaseException {
|
|
5300
5300
|
readonly name: "WAFNonexistentContainerException";
|
|
@@ -5305,7 +5305,6 @@ export declare class WAFNonexistentContainerException extends __BaseException {
|
|
|
5305
5305
|
constructor(opts: __ExceptionOptionType<WAFNonexistentContainerException, __BaseException>);
|
|
5306
5306
|
}
|
|
5307
5307
|
/**
|
|
5308
|
-
* @public
|
|
5309
5308
|
* <note>
|
|
5310
5309
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5311
5310
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5315,16 +5314,17 @@ export declare class WAFNonexistentContainerException extends __BaseException {
|
|
|
5315
5314
|
* 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>
|
|
5316
5315
|
* </note>
|
|
5317
5316
|
* <p>Specifies the type of update to perform to an <a>GeoMatchSet</a> with <a>UpdateGeoMatchSet</a>.</p>
|
|
5317
|
+
* @public
|
|
5318
5318
|
*/
|
|
5319
5319
|
export interface GeoMatchSetUpdate {
|
|
5320
5320
|
/**
|
|
5321
|
-
* @public
|
|
5322
5321
|
* <p>Specifies whether to insert or delete a country with <a>UpdateGeoMatchSet</a>.</p>
|
|
5322
|
+
* @public
|
|
5323
5323
|
*/
|
|
5324
5324
|
Action: ChangeAction | undefined;
|
|
5325
5325
|
/**
|
|
5326
|
-
* @public
|
|
5327
5326
|
* <p>The country from which web requests originate that you want AWS WAF to search for.</p>
|
|
5327
|
+
* @public
|
|
5328
5328
|
*/
|
|
5329
5329
|
GeoMatchConstraint: GeoMatchConstraint | undefined;
|
|
5330
5330
|
}
|
|
@@ -5333,18 +5333,17 @@ export interface GeoMatchSetUpdate {
|
|
|
5333
5333
|
*/
|
|
5334
5334
|
export interface UpdateGeoMatchSetRequest {
|
|
5335
5335
|
/**
|
|
5336
|
-
* @public
|
|
5337
5336
|
* <p>The <code>GeoMatchSetId</code> of the <a>GeoMatchSet</a> that you want to update. <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by
|
|
5338
5337
|
* <a>ListGeoMatchSets</a>.</p>
|
|
5338
|
+
* @public
|
|
5339
5339
|
*/
|
|
5340
5340
|
GeoMatchSetId: string | undefined;
|
|
5341
5341
|
/**
|
|
5342
|
-
* @public
|
|
5343
5342
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5343
|
+
* @public
|
|
5344
5344
|
*/
|
|
5345
5345
|
ChangeToken: string | undefined;
|
|
5346
5346
|
/**
|
|
5347
|
-
* @public
|
|
5348
5347
|
* <p>An array of <code>GeoMatchSetUpdate</code> objects that you want to insert into or delete from an <a>GeoMatchSet</a>.
|
|
5349
5348
|
* For more information, see the applicable data types:</p>
|
|
5350
5349
|
* <ul>
|
|
@@ -5360,6 +5359,7 @@ export interface UpdateGeoMatchSetRequest {
|
|
|
5360
5359
|
* <p>You can have only one <code>Type</code> and <code>Value</code> per <code>GeoMatchConstraint</code>. To add multiple countries, include multiple <code>GeoMatchSetUpdate</code> objects in your request.</p>
|
|
5361
5360
|
* </li>
|
|
5362
5361
|
* </ul>
|
|
5362
|
+
* @public
|
|
5363
5363
|
*/
|
|
5364
5364
|
Updates: GeoMatchSetUpdate[] | undefined;
|
|
5365
5365
|
}
|
|
@@ -5368,14 +5368,13 @@ export interface UpdateGeoMatchSetRequest {
|
|
|
5368
5368
|
*/
|
|
5369
5369
|
export interface UpdateGeoMatchSetResponse {
|
|
5370
5370
|
/**
|
|
5371
|
-
* @public
|
|
5372
5371
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateGeoMatchSet</code> request. You can also use this value
|
|
5373
5372
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5373
|
+
* @public
|
|
5374
5374
|
*/
|
|
5375
5375
|
ChangeToken?: string;
|
|
5376
5376
|
}
|
|
5377
5377
|
/**
|
|
5378
|
-
* @public
|
|
5379
5378
|
* <note>
|
|
5380
5379
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5381
5380
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5385,16 +5384,17 @@ export interface UpdateGeoMatchSetResponse {
|
|
|
5385
5384
|
* 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>
|
|
5386
5385
|
* </note>
|
|
5387
5386
|
* <p>Specifies the type of update to perform to an <a>IPSet</a> with <a>UpdateIPSet</a>.</p>
|
|
5387
|
+
* @public
|
|
5388
5388
|
*/
|
|
5389
5389
|
export interface IPSetUpdate {
|
|
5390
5390
|
/**
|
|
5391
|
-
* @public
|
|
5392
5391
|
* <p>Specifies whether to insert or delete an IP address with <a>UpdateIPSet</a>.</p>
|
|
5392
|
+
* @public
|
|
5393
5393
|
*/
|
|
5394
5394
|
Action: ChangeAction | undefined;
|
|
5395
5395
|
/**
|
|
5396
|
-
* @public
|
|
5397
5396
|
* <p>The IP address type (<code>IPV4</code> or <code>IPV6</code>) and the IP address range (in CIDR notation) that web requests originate from.</p>
|
|
5397
|
+
* @public
|
|
5398
5398
|
*/
|
|
5399
5399
|
IPSetDescriptor: IPSetDescriptor | undefined;
|
|
5400
5400
|
}
|
|
@@ -5403,18 +5403,17 @@ export interface IPSetUpdate {
|
|
|
5403
5403
|
*/
|
|
5404
5404
|
export interface UpdateIPSetRequest {
|
|
5405
5405
|
/**
|
|
5406
|
-
* @public
|
|
5407
5406
|
* <p>The <code>IPSetId</code> of the <a>IPSet</a> that you want to update. <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by
|
|
5408
5407
|
* <a>ListIPSets</a>.</p>
|
|
5408
|
+
* @public
|
|
5409
5409
|
*/
|
|
5410
5410
|
IPSetId: string | undefined;
|
|
5411
5411
|
/**
|
|
5412
|
-
* @public
|
|
5413
5412
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5413
|
+
* @public
|
|
5414
5414
|
*/
|
|
5415
5415
|
ChangeToken: string | undefined;
|
|
5416
5416
|
/**
|
|
5417
|
-
* @public
|
|
5418
5417
|
* <p>An array of <code>IPSetUpdate</code> objects that you want to insert into or delete from an <a>IPSet</a>.
|
|
5419
5418
|
* For more information, see the applicable data types:</p>
|
|
5420
5419
|
* <ul>
|
|
@@ -5430,6 +5429,7 @@ export interface UpdateIPSetRequest {
|
|
|
5430
5429
|
* </li>
|
|
5431
5430
|
* </ul>
|
|
5432
5431
|
* <p>You can insert a maximum of 1000 addresses in a single request.</p>
|
|
5432
|
+
* @public
|
|
5433
5433
|
*/
|
|
5434
5434
|
Updates: IPSetUpdate[] | undefined;
|
|
5435
5435
|
}
|
|
@@ -5438,14 +5438,13 @@ export interface UpdateIPSetRequest {
|
|
|
5438
5438
|
*/
|
|
5439
5439
|
export interface UpdateIPSetResponse {
|
|
5440
5440
|
/**
|
|
5441
|
-
* @public
|
|
5442
5441
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateIPSet</code> request. You can also use this value
|
|
5443
5442
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5443
|
+
* @public
|
|
5444
5444
|
*/
|
|
5445
5445
|
ChangeToken?: string;
|
|
5446
5446
|
}
|
|
5447
5447
|
/**
|
|
5448
|
-
* @public
|
|
5449
5448
|
* <note>
|
|
5450
5449
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5451
5450
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5456,17 +5455,18 @@ export interface UpdateIPSetResponse {
|
|
|
5456
5455
|
* </note>
|
|
5457
5456
|
* <p>Specifies a <code>Predicate</code> (such as an <code>IPSet</code>) and indicates whether you want to add it to a
|
|
5458
5457
|
* <code>Rule</code> or delete it from a <code>Rule</code>.</p>
|
|
5458
|
+
* @public
|
|
5459
5459
|
*/
|
|
5460
5460
|
export interface RuleUpdate {
|
|
5461
5461
|
/**
|
|
5462
|
-
* @public
|
|
5463
5462
|
* <p>Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use <code>DELETE</code> to remove a
|
|
5464
5463
|
* <code>Predicate</code> from a <code>Rule</code>.</p>
|
|
5464
|
+
* @public
|
|
5465
5465
|
*/
|
|
5466
5466
|
Action: ChangeAction | undefined;
|
|
5467
5467
|
/**
|
|
5468
|
-
* @public
|
|
5469
5468
|
* <p>The ID of the <code>Predicate</code> (such as an <code>IPSet</code>) that you want to add to a <code>Rule</code>.</p>
|
|
5469
|
+
* @public
|
|
5470
5470
|
*/
|
|
5471
5471
|
Predicate: Predicate | undefined;
|
|
5472
5472
|
}
|
|
@@ -5475,28 +5475,28 @@ export interface RuleUpdate {
|
|
|
5475
5475
|
*/
|
|
5476
5476
|
export interface UpdateRateBasedRuleRequest {
|
|
5477
5477
|
/**
|
|
5478
|
-
* @public
|
|
5479
5478
|
* <p>The <code>RuleId</code> of the <code>RateBasedRule</code> that you want to update.
|
|
5480
5479
|
* <code>RuleId</code> is returned by <code>CreateRateBasedRule</code> and by <a>ListRateBasedRules</a>.</p>
|
|
5480
|
+
* @public
|
|
5481
5481
|
*/
|
|
5482
5482
|
RuleId: string | undefined;
|
|
5483
5483
|
/**
|
|
5484
|
-
* @public
|
|
5485
5484
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5485
|
+
* @public
|
|
5486
5486
|
*/
|
|
5487
5487
|
ChangeToken: string | undefined;
|
|
5488
5488
|
/**
|
|
5489
|
-
* @public
|
|
5490
5489
|
* <p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete
|
|
5491
5490
|
* from a <a>RateBasedRule</a>. </p>
|
|
5491
|
+
* @public
|
|
5492
5492
|
*/
|
|
5493
5493
|
Updates: RuleUpdate[] | undefined;
|
|
5494
5494
|
/**
|
|
5495
|
-
* @public
|
|
5496
5495
|
* <p>The maximum number of requests, which have an identical value in the field specified by the <code>RateKey</code>, allowed in a
|
|
5497
5496
|
* five-minute period. If the number of requests exceeds the <code>RateLimit</code> and the other
|
|
5498
5497
|
* predicates specified in the rule are also met,
|
|
5499
5498
|
* AWS WAF triggers the action that is specified for this rule.</p>
|
|
5499
|
+
* @public
|
|
5500
5500
|
*/
|
|
5501
5501
|
RateLimit: number | undefined;
|
|
5502
5502
|
}
|
|
@@ -5505,15 +5505,14 @@ export interface UpdateRateBasedRuleRequest {
|
|
|
5505
5505
|
*/
|
|
5506
5506
|
export interface UpdateRateBasedRuleResponse {
|
|
5507
5507
|
/**
|
|
5508
|
-
* @public
|
|
5509
5508
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
5510
5509
|
* <code>UpdateRateBasedRule</code> request. You can also use this value to query the
|
|
5511
5510
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5511
|
+
* @public
|
|
5512
5512
|
*/
|
|
5513
5513
|
ChangeToken?: string;
|
|
5514
5514
|
}
|
|
5515
5515
|
/**
|
|
5516
|
-
* @public
|
|
5517
5516
|
* <note>
|
|
5518
5517
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5519
5518
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5524,18 +5523,19 @@ export interface UpdateRateBasedRuleResponse {
|
|
|
5524
5523
|
* </note>
|
|
5525
5524
|
* <p>In an <a>UpdateRegexMatchSet</a> request, <code>RegexMatchSetUpdate</code> specifies whether to insert or delete a
|
|
5526
5525
|
* <a>RegexMatchTuple</a> and includes the settings for the <code>RegexMatchTuple</code>.</p>
|
|
5526
|
+
* @public
|
|
5527
5527
|
*/
|
|
5528
5528
|
export interface RegexMatchSetUpdate {
|
|
5529
5529
|
/**
|
|
5530
|
-
* @public
|
|
5531
5530
|
* <p>Specifies whether to insert or delete a <a>RegexMatchTuple</a>.</p>
|
|
5531
|
+
* @public
|
|
5532
5532
|
*/
|
|
5533
5533
|
Action: ChangeAction | undefined;
|
|
5534
5534
|
/**
|
|
5535
|
-
* @public
|
|
5536
5535
|
* <p>Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for.
|
|
5537
5536
|
* If you specify <code>DELETE</code> for the value of <code>Action</code>, the <code>RegexMatchTuple</code> values must
|
|
5538
5537
|
* exactly match the values in the <code>RegexMatchTuple</code> that you want to delete from the <code>RegexMatchSet</code>.</p>
|
|
5538
|
+
* @public
|
|
5539
5539
|
*/
|
|
5540
5540
|
RegexMatchTuple: RegexMatchTuple | undefined;
|
|
5541
5541
|
}
|
|
@@ -5544,20 +5544,20 @@ export interface RegexMatchSetUpdate {
|
|
|
5544
5544
|
*/
|
|
5545
5545
|
export interface UpdateRegexMatchSetRequest {
|
|
5546
5546
|
/**
|
|
5547
|
-
* @public
|
|
5548
5547
|
* <p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to update. <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by
|
|
5549
5548
|
* <a>ListRegexMatchSets</a>.</p>
|
|
5549
|
+
* @public
|
|
5550
5550
|
*/
|
|
5551
5551
|
RegexMatchSetId: string | undefined;
|
|
5552
5552
|
/**
|
|
5553
|
-
* @public
|
|
5554
5553
|
* <p>An array of <code>RegexMatchSetUpdate</code> objects that you want to insert into or delete from a <a>RegexMatchSet</a>.
|
|
5555
5554
|
* For more information, see <a>RegexMatchTuple</a>.</p>
|
|
5555
|
+
* @public
|
|
5556
5556
|
*/
|
|
5557
5557
|
Updates: RegexMatchSetUpdate[] | undefined;
|
|
5558
5558
|
/**
|
|
5559
|
-
* @public
|
|
5560
5559
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5560
|
+
* @public
|
|
5561
5561
|
*/
|
|
5562
5562
|
ChangeToken: string | undefined;
|
|
5563
5563
|
}
|
|
@@ -5566,14 +5566,13 @@ export interface UpdateRegexMatchSetRequest {
|
|
|
5566
5566
|
*/
|
|
5567
5567
|
export interface UpdateRegexMatchSetResponse {
|
|
5568
5568
|
/**
|
|
5569
|
-
* @public
|
|
5570
5569
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexMatchSet</code> request. You can also use this value
|
|
5571
5570
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5571
|
+
* @public
|
|
5572
5572
|
*/
|
|
5573
5573
|
ChangeToken?: string;
|
|
5574
5574
|
}
|
|
5575
5575
|
/**
|
|
5576
|
-
* @public
|
|
5577
5576
|
* <note>
|
|
5578
5577
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5579
5578
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5584,16 +5583,17 @@ export interface UpdateRegexMatchSetResponse {
|
|
|
5584
5583
|
* </note>
|
|
5585
5584
|
* <p>In an <a>UpdateRegexPatternSet</a> request, <code>RegexPatternSetUpdate</code> specifies whether to insert or delete a
|
|
5586
5585
|
* <code>RegexPatternString</code> and includes the settings for the <code>RegexPatternString</code>.</p>
|
|
5586
|
+
* @public
|
|
5587
5587
|
*/
|
|
5588
5588
|
export interface RegexPatternSetUpdate {
|
|
5589
5589
|
/**
|
|
5590
|
-
* @public
|
|
5591
5590
|
* <p>Specifies whether to insert or delete a <code>RegexPatternString</code>.</p>
|
|
5591
|
+
* @public
|
|
5592
5592
|
*/
|
|
5593
5593
|
Action: ChangeAction | undefined;
|
|
5594
5594
|
/**
|
|
5595
|
-
* @public
|
|
5596
5595
|
* <p>Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as <code>B[a@]dB[o0]t</code>.</p>
|
|
5596
|
+
* @public
|
|
5597
5597
|
*/
|
|
5598
5598
|
RegexPatternString: string | undefined;
|
|
5599
5599
|
}
|
|
@@ -5602,19 +5602,19 @@ export interface RegexPatternSetUpdate {
|
|
|
5602
5602
|
*/
|
|
5603
5603
|
export interface UpdateRegexPatternSetRequest {
|
|
5604
5604
|
/**
|
|
5605
|
-
* @public
|
|
5606
5605
|
* <p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to update. <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by
|
|
5607
5606
|
* <a>ListRegexPatternSets</a>.</p>
|
|
5607
|
+
* @public
|
|
5608
5608
|
*/
|
|
5609
5609
|
RegexPatternSetId: string | undefined;
|
|
5610
5610
|
/**
|
|
5611
|
-
* @public
|
|
5612
5611
|
* <p>An array of <code>RegexPatternSetUpdate</code> objects that you want to insert into or delete from a <a>RegexPatternSet</a>.</p>
|
|
5612
|
+
* @public
|
|
5613
5613
|
*/
|
|
5614
5614
|
Updates: RegexPatternSetUpdate[] | undefined;
|
|
5615
5615
|
/**
|
|
5616
|
-
* @public
|
|
5617
5616
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5617
|
+
* @public
|
|
5618
5618
|
*/
|
|
5619
5619
|
ChangeToken: string | undefined;
|
|
5620
5620
|
}
|
|
@@ -5623,15 +5623,15 @@ export interface UpdateRegexPatternSetRequest {
|
|
|
5623
5623
|
*/
|
|
5624
5624
|
export interface UpdateRegexPatternSetResponse {
|
|
5625
5625
|
/**
|
|
5626
|
-
* @public
|
|
5627
5626
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexPatternSet</code> request. You can also use this value
|
|
5628
5627
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5628
|
+
* @public
|
|
5629
5629
|
*/
|
|
5630
5630
|
ChangeToken?: string;
|
|
5631
5631
|
}
|
|
5632
5632
|
/**
|
|
5633
|
-
* @public
|
|
5634
5633
|
* <p>The regular expression (regex) you specified in <code>RegexPatternString</code> is invalid.</p>
|
|
5634
|
+
* @public
|
|
5635
5635
|
*/
|
|
5636
5636
|
export declare class WAFInvalidRegexPatternException extends __BaseException {
|
|
5637
5637
|
readonly name: "WAFInvalidRegexPatternException";
|
|
@@ -5646,18 +5646,17 @@ export declare class WAFInvalidRegexPatternException extends __BaseException {
|
|
|
5646
5646
|
*/
|
|
5647
5647
|
export interface UpdateRuleRequest {
|
|
5648
5648
|
/**
|
|
5649
|
-
* @public
|
|
5650
5649
|
* <p>The <code>RuleId</code> of the <code>Rule</code> that you want to update. <code>RuleId</code> is returned by
|
|
5651
5650
|
* <code>CreateRule</code> and by <a>ListRules</a>.</p>
|
|
5651
|
+
* @public
|
|
5652
5652
|
*/
|
|
5653
5653
|
RuleId: string | undefined;
|
|
5654
5654
|
/**
|
|
5655
|
-
* @public
|
|
5656
5655
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5656
|
+
* @public
|
|
5657
5657
|
*/
|
|
5658
5658
|
ChangeToken: string | undefined;
|
|
5659
5659
|
/**
|
|
5660
|
-
* @public
|
|
5661
5660
|
* <p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete from a
|
|
5662
5661
|
* <a>Rule</a>. For more information, see the applicable data types:</p>
|
|
5663
5662
|
* <ul>
|
|
@@ -5677,6 +5676,7 @@ export interface UpdateRuleRequest {
|
|
|
5677
5676
|
* </p>
|
|
5678
5677
|
* </li>
|
|
5679
5678
|
* </ul>
|
|
5679
|
+
* @public
|
|
5680
5680
|
*/
|
|
5681
5681
|
Updates: RuleUpdate[] | undefined;
|
|
5682
5682
|
}
|
|
@@ -5685,14 +5685,13 @@ export interface UpdateRuleRequest {
|
|
|
5685
5685
|
*/
|
|
5686
5686
|
export interface UpdateRuleResponse {
|
|
5687
5687
|
/**
|
|
5688
|
-
* @public
|
|
5689
5688
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRule</code> request. You can also use this value
|
|
5690
5689
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5690
|
+
* @public
|
|
5691
5691
|
*/
|
|
5692
5692
|
ChangeToken?: string;
|
|
5693
5693
|
}
|
|
5694
5694
|
/**
|
|
5695
|
-
* @public
|
|
5696
5695
|
* <note>
|
|
5697
5696
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5698
5697
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5703,19 +5702,20 @@ export interface UpdateRuleResponse {
|
|
|
5703
5702
|
* </note>
|
|
5704
5703
|
* <p>Specifies an <code>ActivatedRule</code> and indicates whether you want to add it to a
|
|
5705
5704
|
* <code>RuleGroup</code> or delete it from a <code>RuleGroup</code>.</p>
|
|
5705
|
+
* @public
|
|
5706
5706
|
*/
|
|
5707
5707
|
export interface RuleGroupUpdate {
|
|
5708
5708
|
/**
|
|
5709
|
-
* @public
|
|
5710
5709
|
* <p>Specify <code>INSERT</code> to add an <code>ActivatedRule</code> to a <code>RuleGroup</code>. Use <code>DELETE</code> to remove an
|
|
5711
5710
|
* <code>ActivatedRule</code> from a <code>RuleGroup</code>.</p>
|
|
5711
|
+
* @public
|
|
5712
5712
|
*/
|
|
5713
5713
|
Action: ChangeAction | undefined;
|
|
5714
5714
|
/**
|
|
5715
|
-
* @public
|
|
5716
5715
|
* <p>The <code>ActivatedRule</code> object specifies a <code>Rule</code> that you want to insert or delete,
|
|
5717
5716
|
* the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code>
|
|
5718
5717
|
* (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>
|
|
5718
|
+
* @public
|
|
5719
5719
|
*/
|
|
5720
5720
|
ActivatedRule: ActivatedRule | undefined;
|
|
5721
5721
|
}
|
|
@@ -5724,23 +5724,23 @@ export interface RuleGroupUpdate {
|
|
|
5724
5724
|
*/
|
|
5725
5725
|
export interface UpdateRuleGroupRequest {
|
|
5726
5726
|
/**
|
|
5727
|
-
* @public
|
|
5728
5727
|
* <p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> that you want to update. <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by
|
|
5729
5728
|
* <a>ListRuleGroups</a>.</p>
|
|
5729
|
+
* @public
|
|
5730
5730
|
*/
|
|
5731
5731
|
RuleGroupId: string | undefined;
|
|
5732
5732
|
/**
|
|
5733
|
-
* @public
|
|
5734
5733
|
* <p>An array of <code>RuleGroupUpdate</code> objects that you want to insert into or delete from a
|
|
5735
5734
|
* <a>RuleGroup</a>.</p>
|
|
5736
5735
|
* <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
|
|
5737
5736
|
* <p>
|
|
5738
5737
|
* <code>ActivatedRule|OverrideAction</code> applies only when updating or adding a <code>RuleGroup</code> to a <code>WebACL</code>. In this case you do not use <code>ActivatedRule|Action</code>. For all other update requests, <code>ActivatedRule|Action</code> is used instead of <code>ActivatedRule|OverrideAction</code>.</p>
|
|
5738
|
+
* @public
|
|
5739
5739
|
*/
|
|
5740
5740
|
Updates: RuleGroupUpdate[] | undefined;
|
|
5741
5741
|
/**
|
|
5742
|
-
* @public
|
|
5743
5742
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5743
|
+
* @public
|
|
5744
5744
|
*/
|
|
5745
5745
|
ChangeToken: string | undefined;
|
|
5746
5746
|
}
|
|
@@ -5749,14 +5749,13 @@ export interface UpdateRuleGroupRequest {
|
|
|
5749
5749
|
*/
|
|
5750
5750
|
export interface UpdateRuleGroupResponse {
|
|
5751
5751
|
/**
|
|
5752
|
-
* @public
|
|
5753
5752
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRuleGroup</code> request. You can also use this value
|
|
5754
5753
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5754
|
+
* @public
|
|
5755
5755
|
*/
|
|
5756
5756
|
ChangeToken?: string;
|
|
5757
5757
|
}
|
|
5758
5758
|
/**
|
|
5759
|
-
* @public
|
|
5760
5759
|
* <note>
|
|
5761
5760
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5762
5761
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5767,20 +5766,21 @@ export interface UpdateRuleGroupResponse {
|
|
|
5767
5766
|
* </note>
|
|
5768
5767
|
* <p>Specifies the part of a web request that you want to inspect the size of and indicates whether you want to
|
|
5769
5768
|
* add the specification to a <a>SizeConstraintSet</a> or delete it from a <code>SizeConstraintSet</code>.</p>
|
|
5769
|
+
* @public
|
|
5770
5770
|
*/
|
|
5771
5771
|
export interface SizeConstraintSetUpdate {
|
|
5772
5772
|
/**
|
|
5773
|
-
* @public
|
|
5774
5773
|
* <p>Specify <code>INSERT</code> to add a <a>SizeConstraintSetUpdate</a> to a <a>SizeConstraintSet</a>.
|
|
5775
5774
|
* Use <code>DELETE</code> to remove a <code>SizeConstraintSetUpdate</code> from a <code>SizeConstraintSet</code>.</p>
|
|
5775
|
+
* @public
|
|
5776
5776
|
*/
|
|
5777
5777
|
Action: ChangeAction | undefined;
|
|
5778
5778
|
/**
|
|
5779
|
-
* @public
|
|
5780
5779
|
* <p>Specifies a constraint on the size of a part of the web request. AWS WAF uses the <code>Size</code>, <code>ComparisonOperator</code>, and <code>FieldToMatch</code> to build
|
|
5781
5780
|
* an expression in the form of "<code>Size</code>
|
|
5782
5781
|
* <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>". If that expression is true, the
|
|
5783
5782
|
* <code>SizeConstraint</code> is considered to match.</p>
|
|
5783
|
+
* @public
|
|
5784
5784
|
*/
|
|
5785
5785
|
SizeConstraint: SizeConstraint | undefined;
|
|
5786
5786
|
}
|
|
@@ -5789,18 +5789,17 @@ export interface SizeConstraintSetUpdate {
|
|
|
5789
5789
|
*/
|
|
5790
5790
|
export interface UpdateSizeConstraintSetRequest {
|
|
5791
5791
|
/**
|
|
5792
|
-
* @public
|
|
5793
5792
|
* <p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to update. <code>SizeConstraintSetId</code>
|
|
5794
5793
|
* is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
5794
|
+
* @public
|
|
5795
5795
|
*/
|
|
5796
5796
|
SizeConstraintSetId: string | undefined;
|
|
5797
5797
|
/**
|
|
5798
|
-
* @public
|
|
5799
5798
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5799
|
+
* @public
|
|
5800
5800
|
*/
|
|
5801
5801
|
ChangeToken: string | undefined;
|
|
5802
5802
|
/**
|
|
5803
|
-
* @public
|
|
5804
5803
|
* <p>An array of <code>SizeConstraintSetUpdate</code> objects that you want to insert into or delete from a <a>SizeConstraintSet</a>.
|
|
5805
5804
|
* For more information, see the applicable data types:</p>
|
|
5806
5805
|
* <ul>
|
|
@@ -5821,6 +5820,7 @@ export interface UpdateSizeConstraintSetRequest {
|
|
|
5821
5820
|
* </p>
|
|
5822
5821
|
* </li>
|
|
5823
5822
|
* </ul>
|
|
5823
|
+
* @public
|
|
5824
5824
|
*/
|
|
5825
5825
|
Updates: SizeConstraintSetUpdate[] | undefined;
|
|
5826
5826
|
}
|
|
@@ -5829,14 +5829,13 @@ export interface UpdateSizeConstraintSetRequest {
|
|
|
5829
5829
|
*/
|
|
5830
5830
|
export interface UpdateSizeConstraintSetResponse {
|
|
5831
5831
|
/**
|
|
5832
|
-
* @public
|
|
5833
5832
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSizeConstraintSet</code> request. You can also use this value
|
|
5834
5833
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5834
|
+
* @public
|
|
5835
5835
|
*/
|
|
5836
5836
|
ChangeToken?: string;
|
|
5837
5837
|
}
|
|
5838
5838
|
/**
|
|
5839
|
-
* @public
|
|
5840
5839
|
* <note>
|
|
5841
5840
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5842
5841
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5847,38 +5846,38 @@ export interface UpdateSizeConstraintSetResponse {
|
|
|
5847
5846
|
* </note>
|
|
5848
5847
|
* <p>Specifies the part of a web request that you want to inspect for snippets of malicious SQL code and indicates whether you want to
|
|
5849
5848
|
* add the specification to a <a>SqlInjectionMatchSet</a> or delete it from a <code>SqlInjectionMatchSet</code>.</p>
|
|
5849
|
+
* @public
|
|
5850
5850
|
*/
|
|
5851
5851
|
export interface SqlInjectionMatchSetUpdate {
|
|
5852
5852
|
/**
|
|
5853
|
-
* @public
|
|
5854
5853
|
* <p>Specify <code>INSERT</code> to add a <a>SqlInjectionMatchSetUpdate</a> to a <a>SqlInjectionMatchSet</a>.
|
|
5855
5854
|
* Use <code>DELETE</code> to remove a <code>SqlInjectionMatchSetUpdate</code> from a <code>SqlInjectionMatchSet</code>.</p>
|
|
5855
|
+
* @public
|
|
5856
5856
|
*/
|
|
5857
5857
|
Action: ChangeAction | undefined;
|
|
5858
5858
|
/**
|
|
5859
|
-
* @public
|
|
5860
5859
|
* <p>Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.</p>
|
|
5860
|
+
* @public
|
|
5861
5861
|
*/
|
|
5862
5862
|
SqlInjectionMatchTuple: SqlInjectionMatchTuple | undefined;
|
|
5863
5863
|
}
|
|
5864
5864
|
/**
|
|
5865
|
-
* @public
|
|
5866
5865
|
* <p>A request to update a <a>SqlInjectionMatchSet</a>.</p>
|
|
5866
|
+
* @public
|
|
5867
5867
|
*/
|
|
5868
5868
|
export interface UpdateSqlInjectionMatchSetRequest {
|
|
5869
5869
|
/**
|
|
5870
|
-
* @public
|
|
5871
5870
|
* <p>The <code>SqlInjectionMatchSetId</code> of the <code>SqlInjectionMatchSet</code> that you want to update.
|
|
5872
5871
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
5872
|
+
* @public
|
|
5873
5873
|
*/
|
|
5874
5874
|
SqlInjectionMatchSetId: string | undefined;
|
|
5875
5875
|
/**
|
|
5876
|
-
* @public
|
|
5877
5876
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5877
|
+
* @public
|
|
5878
5878
|
*/
|
|
5879
5879
|
ChangeToken: string | undefined;
|
|
5880
5880
|
/**
|
|
5881
|
-
* @public
|
|
5882
5881
|
* <p>An array of <code>SqlInjectionMatchSetUpdate</code> objects that you want to insert into or delete from a
|
|
5883
5882
|
* <a>SqlInjectionMatchSet</a>. For more information, see the applicable data types:</p>
|
|
5884
5883
|
* <ul>
|
|
@@ -5898,23 +5897,23 @@ export interface UpdateSqlInjectionMatchSetRequest {
|
|
|
5898
5897
|
* </p>
|
|
5899
5898
|
* </li>
|
|
5900
5899
|
* </ul>
|
|
5900
|
+
* @public
|
|
5901
5901
|
*/
|
|
5902
5902
|
Updates: SqlInjectionMatchSetUpdate[] | undefined;
|
|
5903
5903
|
}
|
|
5904
5904
|
/**
|
|
5905
|
-
* @public
|
|
5906
5905
|
* <p>The response to an <a>UpdateSqlInjectionMatchSets</a> request.</p>
|
|
5906
|
+
* @public
|
|
5907
5907
|
*/
|
|
5908
5908
|
export interface UpdateSqlInjectionMatchSetResponse {
|
|
5909
5909
|
/**
|
|
5910
|
-
* @public
|
|
5911
5910
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSqlInjectionMatchSet</code> request. You can also use this value
|
|
5912
5911
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5912
|
+
* @public
|
|
5913
5913
|
*/
|
|
5914
5914
|
ChangeToken?: string;
|
|
5915
5915
|
}
|
|
5916
5916
|
/**
|
|
5917
|
-
* @public
|
|
5918
5917
|
* <note>
|
|
5919
5918
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5920
5919
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5924,18 +5923,19 @@ export interface UpdateSqlInjectionMatchSetResponse {
|
|
|
5924
5923
|
* 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>
|
|
5925
5924
|
* </note>
|
|
5926
5925
|
* <p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>
|
|
5926
|
+
* @public
|
|
5927
5927
|
*/
|
|
5928
5928
|
export interface WebACLUpdate {
|
|
5929
5929
|
/**
|
|
5930
|
-
* @public
|
|
5931
5930
|
* <p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>
|
|
5931
|
+
* @public
|
|
5932
5932
|
*/
|
|
5933
5933
|
Action: ChangeAction | undefined;
|
|
5934
5934
|
/**
|
|
5935
|
-
* @public
|
|
5936
5935
|
* <p>The <code>ActivatedRule</code> object in an <a>UpdateWebACL</a> request specifies a <code>Rule</code> that you want to insert or delete,
|
|
5937
5936
|
* the priority of the <code>Rule</code> in the <code>WebACL</code>, and the action that you want AWS WAF to take when a web request matches the <code>Rule</code>
|
|
5938
5937
|
* (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>
|
|
5938
|
+
* @public
|
|
5939
5939
|
*/
|
|
5940
5940
|
ActivatedRule: ActivatedRule | undefined;
|
|
5941
5941
|
}
|
|
@@ -5944,18 +5944,17 @@ export interface WebACLUpdate {
|
|
|
5944
5944
|
*/
|
|
5945
5945
|
export interface UpdateWebACLRequest {
|
|
5946
5946
|
/**
|
|
5947
|
-
* @public
|
|
5948
5947
|
* <p>The <code>WebACLId</code> of the <a>WebACL</a> that you want to update. <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by
|
|
5949
5948
|
* <a>ListWebACLs</a>.</p>
|
|
5949
|
+
* @public
|
|
5950
5950
|
*/
|
|
5951
5951
|
WebACLId: string | undefined;
|
|
5952
5952
|
/**
|
|
5953
|
-
* @public
|
|
5954
5953
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5954
|
+
* @public
|
|
5955
5955
|
*/
|
|
5956
5956
|
ChangeToken: string | undefined;
|
|
5957
5957
|
/**
|
|
5958
|
-
* @public
|
|
5959
5958
|
* <p>An array of updates to make to the <a>WebACL</a>.</p>
|
|
5960
5959
|
* <p>An array of <code>WebACLUpdate</code> objects that you want to insert into or delete from a
|
|
5961
5960
|
* <a>WebACL</a>. For more information, see the applicable data types:</p>
|
|
@@ -5982,12 +5981,13 @@ export interface UpdateWebACLRequest {
|
|
|
5982
5981
|
* </p>
|
|
5983
5982
|
* </li>
|
|
5984
5983
|
* </ul>
|
|
5984
|
+
* @public
|
|
5985
5985
|
*/
|
|
5986
5986
|
Updates?: WebACLUpdate[];
|
|
5987
5987
|
/**
|
|
5988
|
-
* @public
|
|
5989
5988
|
* <p>A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default
|
|
5990
5989
|
* action if a request doesn't match the criteria in any of the rules in a web ACL.</p>
|
|
5990
|
+
* @public
|
|
5991
5991
|
*/
|
|
5992
5992
|
DefaultAction?: WafAction;
|
|
5993
5993
|
}
|
|
@@ -5996,15 +5996,15 @@ export interface UpdateWebACLRequest {
|
|
|
5996
5996
|
*/
|
|
5997
5997
|
export interface UpdateWebACLResponse {
|
|
5998
5998
|
/**
|
|
5999
|
-
* @public
|
|
6000
5999
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateWebACL</code> request. You can also use this value
|
|
6001
6000
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
6001
|
+
* @public
|
|
6002
6002
|
*/
|
|
6003
6003
|
ChangeToken?: string;
|
|
6004
6004
|
}
|
|
6005
6005
|
/**
|
|
6006
|
-
* @public
|
|
6007
6006
|
* <p>The specified subscription does not exist.</p>
|
|
6007
|
+
* @public
|
|
6008
6008
|
*/
|
|
6009
6009
|
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
6010
6010
|
readonly name: "WAFSubscriptionNotFoundException";
|
|
@@ -6015,7 +6015,6 @@ export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
|
6015
6015
|
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
6016
6016
|
}
|
|
6017
6017
|
/**
|
|
6018
|
-
* @public
|
|
6019
6018
|
* <note>
|
|
6020
6019
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
6021
6020
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -6026,40 +6025,40 @@ export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
|
6026
6025
|
* </note>
|
|
6027
6026
|
* <p>Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether you want to
|
|
6028
6027
|
* add the specification to an <a>XssMatchSet</a> or delete it from an <code>XssMatchSet</code>.</p>
|
|
6028
|
+
* @public
|
|
6029
6029
|
*/
|
|
6030
6030
|
export interface XssMatchSetUpdate {
|
|
6031
6031
|
/**
|
|
6032
|
-
* @public
|
|
6033
6032
|
* <p>Specify <code>INSERT</code> to add an
|
|
6034
6033
|
* <a>XssMatchSetUpdate</a> to an <a>XssMatchSet</a>. Use
|
|
6035
6034
|
* <code>DELETE</code> to remove an
|
|
6036
6035
|
* <code>XssMatchSetUpdate</code> from an <code>XssMatchSet</code>.</p>
|
|
6036
|
+
* @public
|
|
6037
6037
|
*/
|
|
6038
6038
|
Action: ChangeAction | undefined;
|
|
6039
6039
|
/**
|
|
6040
|
-
* @public
|
|
6041
6040
|
* <p>Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.</p>
|
|
6041
|
+
* @public
|
|
6042
6042
|
*/
|
|
6043
6043
|
XssMatchTuple: XssMatchTuple | undefined;
|
|
6044
6044
|
}
|
|
6045
6045
|
/**
|
|
6046
|
-
* @public
|
|
6047
6046
|
* <p>A request to update an <a>XssMatchSet</a>.</p>
|
|
6047
|
+
* @public
|
|
6048
6048
|
*/
|
|
6049
6049
|
export interface UpdateXssMatchSetRequest {
|
|
6050
6050
|
/**
|
|
6051
|
-
* @public
|
|
6052
6051
|
* <p>The <code>XssMatchSetId</code> of the <code>XssMatchSet</code> that you want to update.
|
|
6053
6052
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
6053
|
+
* @public
|
|
6054
6054
|
*/
|
|
6055
6055
|
XssMatchSetId: string | undefined;
|
|
6056
6056
|
/**
|
|
6057
|
-
* @public
|
|
6058
6057
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
6058
|
+
* @public
|
|
6059
6059
|
*/
|
|
6060
6060
|
ChangeToken: string | undefined;
|
|
6061
6061
|
/**
|
|
6062
|
-
* @public
|
|
6063
6062
|
* <p>An array of <code>XssMatchSetUpdate</code> objects that you want to insert into or
|
|
6064
6063
|
* delete from an
|
|
6065
6064
|
* <a>XssMatchSet</a>. For more information, see the applicable data
|
|
@@ -6081,18 +6080,19 @@ export interface UpdateXssMatchSetRequest {
|
|
|
6081
6080
|
* </p>
|
|
6082
6081
|
* </li>
|
|
6083
6082
|
* </ul>
|
|
6083
|
+
* @public
|
|
6084
6084
|
*/
|
|
6085
6085
|
Updates: XssMatchSetUpdate[] | undefined;
|
|
6086
6086
|
}
|
|
6087
6087
|
/**
|
|
6088
|
-
* @public
|
|
6089
6088
|
* <p>The response to an <a>UpdateXssMatchSets</a> request.</p>
|
|
6089
|
+
* @public
|
|
6090
6090
|
*/
|
|
6091
6091
|
export interface UpdateXssMatchSetResponse {
|
|
6092
6092
|
/**
|
|
6093
|
-
* @public
|
|
6094
6093
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateXssMatchSet</code> request. You can also use this value
|
|
6095
6094
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
6095
|
+
* @public
|
|
6096
6096
|
*/
|
|
6097
6097
|
ChangeToken?: string;
|
|
6098
6098
|
}
|