@aws-sdk/client-waf-regional 3.533.0 → 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/WAFRegional.d.ts +17 -1
- package/dist-types/WAFRegionalClient.d.ts +1 -1
- package/dist-types/commands/AssociateWebACLCommand.d.ts +2 -1
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +2 -1
- 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/DisassociateWebACLCommand.d.ts +2 -1
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +2 -1
- 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/GetWebACLForResourceCommand.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/ListResourcesForWebACLCommand.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 +2 -1
- 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 +515 -515
- package/dist-types/ts3.4/WAFRegional.d.ts +16 -0
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +9 -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/DisassociateWebACLCommand.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/GetWebACLForResourceCommand.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/ListResourcesForWebACLCommand.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/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,12 +241,11 @@ export interface ActivatedRule {
|
|
|
241
241
|
*/
|
|
242
242
|
export interface AssociateWebACLRequest {
|
|
243
243
|
/**
|
|
244
|
-
* @public
|
|
245
244
|
* <p>A unique identifier (ID) for the web ACL. </p>
|
|
245
|
+
* @public
|
|
246
246
|
*/
|
|
247
247
|
WebACLId: string | undefined;
|
|
248
248
|
/**
|
|
249
|
-
* @public
|
|
250
249
|
* <p>The ARN (Amazon Resource Name) of the resource to be protected, either an application load balancer or Amazon API Gateway stage. </p>
|
|
251
250
|
* <p>The ARN should be in one of the following formats:</p>
|
|
252
251
|
* <ul>
|
|
@@ -261,6 +260,7 @@ export interface AssociateWebACLRequest {
|
|
|
261
260
|
* </p>
|
|
262
261
|
* </li>
|
|
263
262
|
* </ul>
|
|
263
|
+
* @public
|
|
264
264
|
*/
|
|
265
265
|
ResourceArn: string | undefined;
|
|
266
266
|
}
|
|
@@ -270,8 +270,8 @@ export interface AssociateWebACLRequest {
|
|
|
270
270
|
export interface AssociateWebACLResponse {
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
|
-
* @public
|
|
274
273
|
* <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
|
|
274
|
+
* @public
|
|
275
275
|
*/
|
|
276
276
|
export declare class WAFInternalErrorException extends __BaseException {
|
|
277
277
|
readonly name: "WAFInternalErrorException";
|
|
@@ -282,8 +282,8 @@ export declare class WAFInternalErrorException extends __BaseException {
|
|
|
282
282
|
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
|
-
* @public
|
|
286
285
|
* <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
|
|
286
|
+
* @public
|
|
287
287
|
*/
|
|
288
288
|
export declare class WAFInvalidAccountException extends __BaseException {
|
|
289
289
|
readonly name: "WAFInvalidAccountException";
|
|
@@ -336,7 +336,6 @@ export declare const ParameterExceptionReason: {
|
|
|
336
336
|
*/
|
|
337
337
|
export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof typeof ParameterExceptionReason];
|
|
338
338
|
/**
|
|
339
|
-
* @public
|
|
340
339
|
* <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
|
|
341
340
|
* <ul>
|
|
342
341
|
* <li>
|
|
@@ -375,6 +374,7 @@ export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof t
|
|
|
375
374
|
* <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
|
|
376
375
|
* </li>
|
|
377
376
|
* </ul>
|
|
377
|
+
* @public
|
|
378
378
|
*/
|
|
379
379
|
export declare class WAFInvalidParameterException extends __BaseException {
|
|
380
380
|
readonly name: "WAFInvalidParameterException";
|
|
@@ -388,8 +388,8 @@ export declare class WAFInvalidParameterException extends __BaseException {
|
|
|
388
388
|
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
* @public
|
|
392
391
|
* <p>The operation failed because the referenced object doesn't exist.</p>
|
|
392
|
+
* @public
|
|
393
393
|
*/
|
|
394
394
|
export declare class WAFNonexistentItemException extends __BaseException {
|
|
395
395
|
readonly name: "WAFNonexistentItemException";
|
|
@@ -400,9 +400,9 @@ export declare class WAFNonexistentItemException extends __BaseException {
|
|
|
400
400
|
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
* @public
|
|
404
403
|
* <p>The operation failed because the entity
|
|
405
404
|
* referenced is temporarily unavailable. Retry your request.</p>
|
|
405
|
+
* @public
|
|
406
406
|
*/
|
|
407
407
|
export declare class WAFUnavailableEntityException extends __BaseException {
|
|
408
408
|
readonly name: "WAFUnavailableEntityException";
|
|
@@ -417,14 +417,14 @@ export declare class WAFUnavailableEntityException extends __BaseException {
|
|
|
417
417
|
*/
|
|
418
418
|
export interface CreateByteMatchSetRequest {
|
|
419
419
|
/**
|
|
420
|
-
* @public
|
|
421
420
|
* <p>A friendly name or description of the <a>ByteMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
422
421
|
* <code>ByteMatchSet</code>.</p>
|
|
422
|
+
* @public
|
|
423
423
|
*/
|
|
424
424
|
Name: string | undefined;
|
|
425
425
|
/**
|
|
426
|
-
* @public
|
|
427
426
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
427
|
+
* @public
|
|
428
428
|
*/
|
|
429
429
|
ChangeToken: string | undefined;
|
|
430
430
|
}
|
|
@@ -446,7 +446,6 @@ export declare const MatchFieldType: {
|
|
|
446
446
|
*/
|
|
447
447
|
export type MatchFieldType = (typeof MatchFieldType)[keyof typeof MatchFieldType];
|
|
448
448
|
/**
|
|
449
|
-
* @public
|
|
450
449
|
* <note>
|
|
451
450
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
452
451
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -456,10 +455,10 @@ export type MatchFieldType = (typeof MatchFieldType)[keyof typeof MatchFieldType
|
|
|
456
455
|
* 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>
|
|
457
456
|
* </note>
|
|
458
457
|
* <p>Specifies where in a web request to look for <code>TargetString</code>.</p>
|
|
458
|
+
* @public
|
|
459
459
|
*/
|
|
460
460
|
export interface FieldToMatch {
|
|
461
461
|
/**
|
|
462
|
-
* @public
|
|
463
462
|
* <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>
|
|
464
463
|
* <ul>
|
|
465
464
|
* <li>
|
|
@@ -499,15 +498,16 @@ export interface FieldToMatch {
|
|
|
499
498
|
* <code>TargetString</code>.</p>
|
|
500
499
|
* </li>
|
|
501
500
|
* </ul>
|
|
501
|
+
* @public
|
|
502
502
|
*/
|
|
503
503
|
Type: MatchFieldType | undefined;
|
|
504
504
|
/**
|
|
505
|
-
* @public
|
|
506
505
|
* <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,
|
|
507
506
|
* for example, <code>User-Agent</code> or <code>Referer</code>. The name of the header is not case sensitive.</p>
|
|
508
507
|
* <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,
|
|
509
508
|
* for example, <code>UserName</code> or <code>SalesRegion</code>. The parameter name is not case sensitive.</p>
|
|
510
509
|
* <p>If the value of <code>Type</code> is any other value, omit <code>Data</code>.</p>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
Data?: string;
|
|
513
513
|
}
|
|
@@ -543,7 +543,6 @@ export declare const TextTransformation: {
|
|
|
543
543
|
*/
|
|
544
544
|
export type TextTransformation = (typeof TextTransformation)[keyof typeof TextTransformation];
|
|
545
545
|
/**
|
|
546
|
-
* @public
|
|
547
546
|
* <note>
|
|
548
547
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
549
548
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -553,16 +552,16 @@ export type TextTransformation = (typeof TextTransformation)[keyof typeof TextTr
|
|
|
553
552
|
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
554
553
|
* </note>
|
|
555
554
|
* <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>
|
|
555
|
+
* @public
|
|
556
556
|
*/
|
|
557
557
|
export interface ByteMatchTuple {
|
|
558
558
|
/**
|
|
559
|
-
* @public
|
|
560
559
|
* <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
|
|
561
560
|
* <a>FieldToMatch</a>.</p>
|
|
561
|
+
* @public
|
|
562
562
|
*/
|
|
563
563
|
FieldToMatch: FieldToMatch | undefined;
|
|
564
564
|
/**
|
|
565
|
-
* @public
|
|
566
565
|
* <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
|
|
567
566
|
* specified in <code>FieldToMatch</code>. The maximum length of the value is 50 bytes.</p>
|
|
568
567
|
* <p>Valid values depend on the values that you specified for <code>FieldToMatch</code>:</p>
|
|
@@ -625,10 +624,10 @@ export interface ByteMatchTuple {
|
|
|
625
624
|
* <b>If you're using the AWS CLI or one of the AWS SDKs</b>
|
|
626
625
|
* </p>
|
|
627
626
|
* <p>The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.</p>
|
|
627
|
+
* @public
|
|
628
628
|
*/
|
|
629
629
|
TargetString: Uint8Array | undefined;
|
|
630
630
|
/**
|
|
631
|
-
* @public
|
|
632
631
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
633
632
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
634
633
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -723,10 +722,10 @@ export interface ByteMatchTuple {
|
|
|
723
722
|
* <b>NONE</b>
|
|
724
723
|
* </p>
|
|
725
724
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
725
|
+
* @public
|
|
726
726
|
*/
|
|
727
727
|
TextTransformation: TextTransformation | undefined;
|
|
728
728
|
/**
|
|
729
|
-
* @public
|
|
730
729
|
* <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>
|
|
731
730
|
* <p>
|
|
732
731
|
* <b>CONTAINS</b>
|
|
@@ -772,11 +771,11 @@ export interface ByteMatchTuple {
|
|
|
772
771
|
* <b>ENDS_WITH</b>
|
|
773
772
|
* </p>
|
|
774
773
|
* <p>The value of <code>TargetString</code> must appear at the end of the specified part of the web request.</p>
|
|
774
|
+
* @public
|
|
775
775
|
*/
|
|
776
776
|
PositionalConstraint: PositionalConstraint | undefined;
|
|
777
777
|
}
|
|
778
778
|
/**
|
|
779
|
-
* @public
|
|
780
779
|
* <note>
|
|
781
780
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
782
781
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -791,26 +790,27 @@ export interface ByteMatchTuple {
|
|
|
791
790
|
* 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
|
|
792
791
|
* <code>ByteMatchTuple</code> object, a request needs to match the settings in only one <code>ByteMatchTuple</code>
|
|
793
792
|
* to be considered a match.</p>
|
|
793
|
+
* @public
|
|
794
794
|
*/
|
|
795
795
|
export interface ByteMatchSet {
|
|
796
796
|
/**
|
|
797
|
-
* @public
|
|
798
797
|
* <p>The <code>ByteMatchSetId</code> for a <code>ByteMatchSet</code>. You use <code>ByteMatchSetId</code> to get information about a
|
|
799
798
|
* <code>ByteMatchSet</code> (see <a>GetByteMatchSet</a>), update a <code>ByteMatchSet</code> (see <a>UpdateByteMatchSet</a>),
|
|
800
799
|
* insert a <code>ByteMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and
|
|
801
800
|
* delete a <code>ByteMatchSet</code> from AWS WAF (see <a>DeleteByteMatchSet</a>).</p>
|
|
802
801
|
* <p>
|
|
803
802
|
* <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>
|
|
803
|
+
* @public
|
|
804
804
|
*/
|
|
805
805
|
ByteMatchSetId: string | undefined;
|
|
806
806
|
/**
|
|
807
|
-
* @public
|
|
808
807
|
* <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>
|
|
808
|
+
* @public
|
|
809
809
|
*/
|
|
810
810
|
Name?: string;
|
|
811
811
|
/**
|
|
812
|
-
* @public
|
|
813
812
|
* <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>
|
|
813
|
+
* @public
|
|
814
814
|
*/
|
|
815
815
|
ByteMatchTuples: ByteMatchTuple[] | undefined;
|
|
816
816
|
}
|
|
@@ -819,20 +819,20 @@ export interface ByteMatchSet {
|
|
|
819
819
|
*/
|
|
820
820
|
export interface CreateByteMatchSetResponse {
|
|
821
821
|
/**
|
|
822
|
-
* @public
|
|
823
822
|
* <p>A <a>ByteMatchSet</a> that contains no <code>ByteMatchTuple</code> objects.</p>
|
|
823
|
+
* @public
|
|
824
824
|
*/
|
|
825
825
|
ByteMatchSet?: ByteMatchSet;
|
|
826
826
|
/**
|
|
827
|
-
* @public
|
|
828
827
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateByteMatchSet</code> request. You can also use this value
|
|
829
828
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
829
|
+
* @public
|
|
830
830
|
*/
|
|
831
831
|
ChangeToken?: string;
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
834
|
-
* @public
|
|
835
834
|
* <p>The name specified is invalid.</p>
|
|
835
|
+
* @public
|
|
836
836
|
*/
|
|
837
837
|
export declare class WAFDisallowedNameException extends __BaseException {
|
|
838
838
|
readonly name: "WAFDisallowedNameException";
|
|
@@ -843,10 +843,10 @@ export declare class WAFDisallowedNameException extends __BaseException {
|
|
|
843
843
|
constructor(opts: __ExceptionOptionType<WAFDisallowedNameException, __BaseException>);
|
|
844
844
|
}
|
|
845
845
|
/**
|
|
846
|
-
* @public
|
|
847
846
|
* <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
|
|
848
847
|
* for an AWS account. For more information, see
|
|
849
848
|
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
|
|
849
|
+
* @public
|
|
850
850
|
*/
|
|
851
851
|
export declare class WAFLimitsExceededException extends __BaseException {
|
|
852
852
|
readonly name: "WAFLimitsExceededException";
|
|
@@ -857,8 +857,8 @@ export declare class WAFLimitsExceededException extends __BaseException {
|
|
|
857
857
|
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
858
858
|
}
|
|
859
859
|
/**
|
|
860
|
-
* @public
|
|
861
860
|
* <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>
|
|
861
|
+
* @public
|
|
862
862
|
*/
|
|
863
863
|
export declare class WAFStaleDataException extends __BaseException {
|
|
864
864
|
readonly name: "WAFStaleDataException";
|
|
@@ -873,13 +873,13 @@ export declare class WAFStaleDataException extends __BaseException {
|
|
|
873
873
|
*/
|
|
874
874
|
export interface CreateGeoMatchSetRequest {
|
|
875
875
|
/**
|
|
876
|
-
* @public
|
|
877
876
|
* <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>
|
|
877
|
+
* @public
|
|
878
878
|
*/
|
|
879
879
|
Name: string | undefined;
|
|
880
880
|
/**
|
|
881
|
-
* @public
|
|
882
881
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
882
|
+
* @public
|
|
883
883
|
*/
|
|
884
884
|
ChangeToken: string | undefined;
|
|
885
885
|
}
|
|
@@ -1154,7 +1154,6 @@ export declare const GeoMatchConstraintValue: {
|
|
|
1154
1154
|
*/
|
|
1155
1155
|
export type GeoMatchConstraintValue = (typeof GeoMatchConstraintValue)[keyof typeof GeoMatchConstraintValue];
|
|
1156
1156
|
/**
|
|
1157
|
-
* @public
|
|
1158
1157
|
* <note>
|
|
1159
1158
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1160
1159
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1164,21 +1163,21 @@ export type GeoMatchConstraintValue = (typeof GeoMatchConstraintValue)[keyof typ
|
|
|
1164
1163
|
* 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>
|
|
1165
1164
|
* </note>
|
|
1166
1165
|
* <p>The country from which web requests originate that you want AWS WAF to search for.</p>
|
|
1166
|
+
* @public
|
|
1167
1167
|
*/
|
|
1168
1168
|
export interface GeoMatchConstraint {
|
|
1169
1169
|
/**
|
|
1170
|
-
* @public
|
|
1171
1170
|
* <p>The type of geographical area you want AWS WAF to search for. Currently <code>Country</code> is the only valid value.</p>
|
|
1171
|
+
* @public
|
|
1172
1172
|
*/
|
|
1173
1173
|
Type: GeoMatchConstraintType | undefined;
|
|
1174
1174
|
/**
|
|
1175
|
-
* @public
|
|
1176
1175
|
* <p>The country that you want AWS WAF to search for.</p>
|
|
1176
|
+
* @public
|
|
1177
1177
|
*/
|
|
1178
1178
|
Value: GeoMatchConstraintValue | undefined;
|
|
1179
1179
|
}
|
|
1180
1180
|
/**
|
|
1181
|
-
* @public
|
|
1182
1181
|
* <note>
|
|
1183
1182
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1184
1183
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1188,24 +1187,25 @@ export interface GeoMatchConstraint {
|
|
|
1188
1187
|
* WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
|
|
1189
1188
|
* </note>
|
|
1190
1189
|
* <p>Contains one or more countries that AWS WAF will search for.</p>
|
|
1190
|
+
* @public
|
|
1191
1191
|
*/
|
|
1192
1192
|
export interface GeoMatchSet {
|
|
1193
1193
|
/**
|
|
1194
|
-
* @public
|
|
1195
1194
|
* <p>The <code>GeoMatchSetId</code> for an <code>GeoMatchSet</code>. You use <code>GeoMatchSetId</code> to get information about a
|
|
1196
1195
|
* <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>
|
|
1197
1196
|
* <p>
|
|
1198
1197
|
* <code>GeoMatchSetId</code> is returned by <a>CreateGeoMatchSet</a> and by <a>ListGeoMatchSets</a>.</p>
|
|
1198
|
+
* @public
|
|
1199
1199
|
*/
|
|
1200
1200
|
GeoMatchSetId: string | undefined;
|
|
1201
1201
|
/**
|
|
1202
|
-
* @public
|
|
1203
1202
|
* <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>
|
|
1203
|
+
* @public
|
|
1204
1204
|
*/
|
|
1205
1205
|
Name?: string;
|
|
1206
1206
|
/**
|
|
1207
|
-
* @public
|
|
1208
1207
|
* <p>An array of <a>GeoMatchConstraint</a> objects, which contain the country that you want AWS WAF to search for.</p>
|
|
1208
|
+
* @public
|
|
1209
1209
|
*/
|
|
1210
1210
|
GeoMatchConstraints: GeoMatchConstraint[] | undefined;
|
|
1211
1211
|
}
|
|
@@ -1214,14 +1214,14 @@ export interface GeoMatchSet {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
export interface CreateGeoMatchSetResponse {
|
|
1216
1216
|
/**
|
|
1217
|
-
* @public
|
|
1218
1217
|
* <p>The <a>GeoMatchSet</a> returned in the <code>CreateGeoMatchSet</code> response. The <code>GeoMatchSet</code> contains no <code>GeoMatchConstraints</code>.</p>
|
|
1218
|
+
* @public
|
|
1219
1219
|
*/
|
|
1220
1220
|
GeoMatchSet?: GeoMatchSet;
|
|
1221
1221
|
/**
|
|
1222
|
-
* @public
|
|
1223
1222
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateGeoMatchSet</code> request. You can also use this value
|
|
1224
1223
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1224
|
+
* @public
|
|
1225
1225
|
*/
|
|
1226
1226
|
ChangeToken?: string;
|
|
1227
1227
|
}
|
|
@@ -1230,13 +1230,13 @@ export interface CreateGeoMatchSetResponse {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
export interface CreateIPSetRequest {
|
|
1232
1232
|
/**
|
|
1233
|
-
* @public
|
|
1234
1233
|
* <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>
|
|
1234
|
+
* @public
|
|
1235
1235
|
*/
|
|
1236
1236
|
Name: string | undefined;
|
|
1237
1237
|
/**
|
|
1238
|
-
* @public
|
|
1239
1238
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1239
|
+
* @public
|
|
1240
1240
|
*/
|
|
1241
1241
|
ChangeToken: string | undefined;
|
|
1242
1242
|
}
|
|
@@ -1253,7 +1253,6 @@ export declare const IPSetDescriptorType: {
|
|
|
1253
1253
|
*/
|
|
1254
1254
|
export type IPSetDescriptorType = (typeof IPSetDescriptorType)[keyof typeof IPSetDescriptorType];
|
|
1255
1255
|
/**
|
|
1256
|
-
* @public
|
|
1257
1256
|
* <note>
|
|
1258
1257
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1259
1258
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1263,15 +1262,15 @@ export type IPSetDescriptorType = (typeof IPSetDescriptorType)[keyof typeof IPSe
|
|
|
1263
1262
|
* 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>
|
|
1264
1263
|
* </note>
|
|
1265
1264
|
* <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>
|
|
1265
|
+
* @public
|
|
1266
1266
|
*/
|
|
1267
1267
|
export interface IPSetDescriptor {
|
|
1268
1268
|
/**
|
|
1269
|
-
* @public
|
|
1270
1269
|
* <p>Specify <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
1270
|
+
* @public
|
|
1271
1271
|
*/
|
|
1272
1272
|
Type: IPSetDescriptorType | undefined;
|
|
1273
1273
|
/**
|
|
1274
|
-
* @public
|
|
1275
1274
|
* <p>Specify an IPv4 address by using CIDR notation. For example:</p>
|
|
1276
1275
|
* <ul>
|
|
1277
1276
|
* <li>
|
|
@@ -1294,11 +1293,11 @@ export interface IPSetDescriptor {
|
|
|
1294
1293
|
* <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>
|
|
1295
1294
|
* </li>
|
|
1296
1295
|
* </ul>
|
|
1296
|
+
* @public
|
|
1297
1297
|
*/
|
|
1298
1298
|
Value: string | undefined;
|
|
1299
1299
|
}
|
|
1300
1300
|
/**
|
|
1301
|
-
* @public
|
|
1302
1301
|
* <note>
|
|
1303
1302
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1304
1303
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1313,27 +1312,28 @@ export interface IPSetDescriptor {
|
|
|
1313
1312
|
* specify /8 or any range between /16 through /32 (for IPv4) or /24, /32, /48, /56, /64, or
|
|
1314
1313
|
* /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
|
|
1315
1314
|
* Inter-Domain Routing</a>. </p>
|
|
1315
|
+
* @public
|
|
1316
1316
|
*/
|
|
1317
1317
|
export interface IPSet {
|
|
1318
1318
|
/**
|
|
1319
|
-
* @public
|
|
1320
1319
|
* <p>The <code>IPSetId</code> for an <code>IPSet</code>. You use <code>IPSetId</code> to get information about an
|
|
1321
1320
|
* <code>IPSet</code> (see <a>GetIPSet</a>), update an <code>IPSet</code> (see <a>UpdateIPSet</a>),
|
|
1322
1321
|
* insert an <code>IPSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and
|
|
1323
1322
|
* delete an <code>IPSet</code> from AWS WAF (see <a>DeleteIPSet</a>).</p>
|
|
1324
1323
|
* <p>
|
|
1325
1324
|
* <code>IPSetId</code> is returned by <a>CreateIPSet</a> and by <a>ListIPSets</a>.</p>
|
|
1325
|
+
* @public
|
|
1326
1326
|
*/
|
|
1327
1327
|
IPSetId: string | undefined;
|
|
1328
1328
|
/**
|
|
1329
|
-
* @public
|
|
1330
1329
|
* <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>
|
|
1330
|
+
* @public
|
|
1331
1331
|
*/
|
|
1332
1332
|
Name?: string;
|
|
1333
1333
|
/**
|
|
1334
|
-
* @public
|
|
1335
1334
|
* <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.
|
|
1336
1335
|
* 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>
|
|
1336
|
+
* @public
|
|
1337
1337
|
*/
|
|
1338
1338
|
IPSetDescriptors: IPSetDescriptor[] | undefined;
|
|
1339
1339
|
}
|
|
@@ -1342,14 +1342,14 @@ export interface IPSet {
|
|
|
1342
1342
|
*/
|
|
1343
1343
|
export interface CreateIPSetResponse {
|
|
1344
1344
|
/**
|
|
1345
|
-
* @public
|
|
1346
1345
|
* <p>The <a>IPSet</a> returned in the <code>CreateIPSet</code> response.</p>
|
|
1346
|
+
* @public
|
|
1347
1347
|
*/
|
|
1348
1348
|
IPSet?: IPSet;
|
|
1349
1349
|
/**
|
|
1350
|
-
* @public
|
|
1351
1350
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateIPSet</code> request. You can also use this value
|
|
1352
1351
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1352
|
+
* @public
|
|
1353
1353
|
*/
|
|
1354
1354
|
ChangeToken?: string;
|
|
1355
1355
|
}
|
|
@@ -1365,7 +1365,6 @@ export declare const RateKey: {
|
|
|
1365
1365
|
*/
|
|
1366
1366
|
export type RateKey = (typeof RateKey)[keyof typeof RateKey];
|
|
1367
1367
|
/**
|
|
1368
|
-
* @public
|
|
1369
1368
|
* <note>
|
|
1370
1369
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1371
1370
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1376,16 +1375,17 @@ export type RateKey = (typeof RateKey)[keyof typeof RateKey];
|
|
|
1376
1375
|
* </note>
|
|
1377
1376
|
* <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>
|
|
1378
1377
|
* <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>
|
|
1378
|
+
* @public
|
|
1379
1379
|
*/
|
|
1380
1380
|
export interface Tag {
|
|
1381
1381
|
/**
|
|
1382
|
-
* @public
|
|
1383
1382
|
* <p></p>
|
|
1383
|
+
* @public
|
|
1384
1384
|
*/
|
|
1385
1385
|
Key: string | undefined;
|
|
1386
1386
|
/**
|
|
1387
|
-
* @public
|
|
1388
1387
|
* <p></p>
|
|
1388
|
+
* @public
|
|
1389
1389
|
*/
|
|
1390
1390
|
Value: string | undefined;
|
|
1391
1391
|
}
|
|
@@ -1394,46 +1394,46 @@ export interface Tag {
|
|
|
1394
1394
|
*/
|
|
1395
1395
|
export interface CreateRateBasedRuleRequest {
|
|
1396
1396
|
/**
|
|
1397
|
-
* @public
|
|
1398
1397
|
* <p>A friendly name or description of the <a>RateBasedRule</a>. You can't
|
|
1399
1398
|
* change the name of a <code>RateBasedRule</code> after you create it.</p>
|
|
1399
|
+
* @public
|
|
1400
1400
|
*/
|
|
1401
1401
|
Name: string | undefined;
|
|
1402
1402
|
/**
|
|
1403
|
-
* @public
|
|
1404
1403
|
* <p>A friendly name or description for the metrics for this <code>RateBasedRule</code>.
|
|
1405
1404
|
* 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
|
|
1406
1405
|
* 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
|
|
1407
1406
|
* <code>RateBasedRule</code>.</p>
|
|
1407
|
+
* @public
|
|
1408
1408
|
*/
|
|
1409
1409
|
MetricName: string | undefined;
|
|
1410
1410
|
/**
|
|
1411
|
-
* @public
|
|
1412
1411
|
* <p>The field that AWS WAF uses to determine if requests are likely arriving from a single
|
|
1413
1412
|
* source and thus subject to rate monitoring. The only valid value for <code>RateKey</code>
|
|
1414
1413
|
* is <code>IP</code>. <code>IP</code> indicates that requests that arrive from the same IP
|
|
1415
1414
|
* address are subject to the <code>RateLimit</code> that is specified in
|
|
1416
1415
|
* the <code>RateBasedRule</code>.</p>
|
|
1416
|
+
* @public
|
|
1417
1417
|
*/
|
|
1418
1418
|
RateKey: RateKey | undefined;
|
|
1419
1419
|
/**
|
|
1420
|
-
* @public
|
|
1421
1420
|
* <p>The maximum number of requests, which have an identical value in the field that is
|
|
1422
1421
|
* specified by <code>RateKey</code>, allowed in a five-minute period. If the number of
|
|
1423
1422
|
* requests exceeds the <code>RateLimit</code> and the other predicates specified in the rule
|
|
1424
1423
|
* are also met, AWS WAF triggers the action that is specified for this rule.</p>
|
|
1424
|
+
* @public
|
|
1425
1425
|
*/
|
|
1426
1426
|
RateLimit: number | undefined;
|
|
1427
1427
|
/**
|
|
1428
|
-
* @public
|
|
1429
1428
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
1430
1429
|
* <code>CreateRateBasedRule</code> request. You can also use this value to query the
|
|
1431
1430
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1431
|
+
* @public
|
|
1432
1432
|
*/
|
|
1433
1433
|
ChangeToken: string | undefined;
|
|
1434
1434
|
/**
|
|
1435
|
-
* @public
|
|
1436
1435
|
* <p></p>
|
|
1436
|
+
* @public
|
|
1437
1437
|
*/
|
|
1438
1438
|
Tags?: Tag[];
|
|
1439
1439
|
}
|
|
@@ -1455,7 +1455,6 @@ export declare const PredicateType: {
|
|
|
1455
1455
|
*/
|
|
1456
1456
|
export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
|
|
1457
1457
|
/**
|
|
1458
|
-
* @public
|
|
1459
1458
|
* <note>
|
|
1460
1459
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1461
1460
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1467,10 +1466,10 @@ export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
|
|
|
1467
1466
|
* <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
|
|
1468
1467
|
* 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
|
|
1469
1468
|
* NOT originate from the IP address 192.0.2.44. </p>
|
|
1469
|
+
* @public
|
|
1470
1470
|
*/
|
|
1471
1471
|
export interface Predicate {
|
|
1472
1472
|
/**
|
|
1473
|
-
* @public
|
|
1474
1473
|
* <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
|
|
1475
1474
|
* specified <a>ByteMatchSet</a>, <a>IPSet</a>, <a>SqlInjectionMatchSet</a>, <a>XssMatchSet</a>, <a>RegexMatchSet</a>, <a>GeoMatchSet</a>, or <a>SizeConstraintSet</a>.
|
|
1476
1475
|
* 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>
|
|
@@ -1479,22 +1478,22 @@ export interface Predicate {
|
|
|
1479
1478
|
* 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
|
|
1480
1479
|
* all IP addresses <i>except</i>
|
|
1481
1480
|
* <code>192.0.2.44</code>.</p>
|
|
1481
|
+
* @public
|
|
1482
1482
|
*/
|
|
1483
1483
|
Negated: boolean | undefined;
|
|
1484
1484
|
/**
|
|
1485
|
-
* @public
|
|
1486
1485
|
* <p>The type of predicate in a <code>Rule</code>, such as <code>ByteMatch</code> or <code>IPSet</code>.</p>
|
|
1486
|
+
* @public
|
|
1487
1487
|
*/
|
|
1488
1488
|
Type: PredicateType | undefined;
|
|
1489
1489
|
/**
|
|
1490
|
-
* @public
|
|
1491
1490
|
* <p>A unique identifier for a predicate in a <code>Rule</code>, such as <code>ByteMatchSetId</code> or <code>IPSetId</code>.
|
|
1492
1491
|
* The ID is returned by the corresponding <code>Create</code> or <code>List</code> command.</p>
|
|
1492
|
+
* @public
|
|
1493
1493
|
*/
|
|
1494
1494
|
DataId: string | undefined;
|
|
1495
1495
|
}
|
|
1496
1496
|
/**
|
|
1497
|
-
* @public
|
|
1498
1497
|
* <note>
|
|
1499
1498
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1500
1499
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1521,50 +1520,51 @@ export interface Predicate {
|
|
|
1521
1520
|
* <p>Requests that meet both of these conditions and exceed 1,000 requests every five
|
|
1522
1521
|
* minutes trigger the rule's action (block or count), which is defined in the web
|
|
1523
1522
|
* ACL.</p>
|
|
1523
|
+
* @public
|
|
1524
1524
|
*/
|
|
1525
1525
|
export interface RateBasedRule {
|
|
1526
1526
|
/**
|
|
1527
|
-
* @public
|
|
1528
1527
|
* <p>A unique identifier for a <code>RateBasedRule</code>. You use <code>RuleId</code> to
|
|
1529
1528
|
* 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
|
|
1530
1529
|
* <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>
|
|
1530
|
+
* @public
|
|
1531
1531
|
*/
|
|
1532
1532
|
RuleId: string | undefined;
|
|
1533
1533
|
/**
|
|
1534
|
-
* @public
|
|
1535
1534
|
* <p>A friendly name or description for a <code>RateBasedRule</code>. You can't change the
|
|
1536
1535
|
* name of a <code>RateBasedRule</code> after you create it.</p>
|
|
1536
|
+
* @public
|
|
1537
1537
|
*/
|
|
1538
1538
|
Name?: string;
|
|
1539
1539
|
/**
|
|
1540
|
-
* @public
|
|
1541
1540
|
* <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
|
|
1542
1541
|
* 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
|
|
1543
1542
|
* <code>RateBasedRule</code>.</p>
|
|
1543
|
+
* @public
|
|
1544
1544
|
*/
|
|
1545
1545
|
MetricName?: string;
|
|
1546
1546
|
/**
|
|
1547
|
-
* @public
|
|
1548
1547
|
* <p>The <code>Predicates</code> object contains one <code>Predicate</code> element for
|
|
1549
1548
|
* each <a>ByteMatchSet</a>, <a>IPSet</a>, or <a>SqlInjectionMatchSet</a> object that you want to include in a
|
|
1550
1549
|
* <code>RateBasedRule</code>.</p>
|
|
1550
|
+
* @public
|
|
1551
1551
|
*/
|
|
1552
1552
|
MatchPredicates: Predicate[] | undefined;
|
|
1553
1553
|
/**
|
|
1554
|
-
* @public
|
|
1555
1554
|
* <p>The field that AWS WAF uses to determine if requests are likely arriving from single
|
|
1556
1555
|
* source and thus subject to rate monitoring. The only valid value for <code>RateKey</code>
|
|
1557
1556
|
* is <code>IP</code>. <code>IP</code> indicates that requests arriving from the same IP
|
|
1558
1557
|
* address are subject to the <code>RateLimit</code> that is specified in the
|
|
1559
1558
|
* <code>RateBasedRule</code>.</p>
|
|
1559
|
+
* @public
|
|
1560
1560
|
*/
|
|
1561
1561
|
RateKey: RateKey | undefined;
|
|
1562
1562
|
/**
|
|
1563
|
-
* @public
|
|
1564
1563
|
* <p>The maximum number of requests, which have an identical value in the field specified
|
|
1565
1564
|
* by the <code>RateKey</code>, allowed in a five-minute period. If the number of requests
|
|
1566
1565
|
* exceeds the <code>RateLimit</code> and the other predicates specified in the rule are also
|
|
1567
1566
|
* met, AWS WAF triggers the action that is specified for this rule.</p>
|
|
1567
|
+
* @public
|
|
1568
1568
|
*/
|
|
1569
1569
|
RateLimit: number | undefined;
|
|
1570
1570
|
}
|
|
@@ -1573,22 +1573,22 @@ export interface RateBasedRule {
|
|
|
1573
1573
|
*/
|
|
1574
1574
|
export interface CreateRateBasedRuleResponse {
|
|
1575
1575
|
/**
|
|
1576
|
-
* @public
|
|
1577
1576
|
* <p>The <a>RateBasedRule</a>
|
|
1578
1577
|
* that is returned in the <code>CreateRateBasedRule</code> response.</p>
|
|
1578
|
+
* @public
|
|
1579
1579
|
*/
|
|
1580
1580
|
Rule?: RateBasedRule;
|
|
1581
1581
|
/**
|
|
1582
|
-
* @public
|
|
1583
1582
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
1584
1583
|
* <code>CreateRateBasedRule</code> request. You can also use this value to query the
|
|
1585
1584
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1585
|
+
* @public
|
|
1586
1586
|
*/
|
|
1587
1587
|
ChangeToken?: string;
|
|
1588
1588
|
}
|
|
1589
1589
|
/**
|
|
1590
|
-
* @public
|
|
1591
1590
|
* <p></p>
|
|
1591
|
+
* @public
|
|
1592
1592
|
*/
|
|
1593
1593
|
export declare class WAFBadRequestException extends __BaseException {
|
|
1594
1594
|
readonly name: "WAFBadRequestException";
|
|
@@ -1599,8 +1599,8 @@ export declare class WAFBadRequestException extends __BaseException {
|
|
|
1599
1599
|
constructor(opts: __ExceptionOptionType<WAFBadRequestException, __BaseException>);
|
|
1600
1600
|
}
|
|
1601
1601
|
/**
|
|
1602
|
-
* @public
|
|
1603
1602
|
* <p></p>
|
|
1603
|
+
* @public
|
|
1604
1604
|
*/
|
|
1605
1605
|
export declare class WAFTagOperationException extends __BaseException {
|
|
1606
1606
|
readonly name: "WAFTagOperationException";
|
|
@@ -1611,8 +1611,8 @@ export declare class WAFTagOperationException extends __BaseException {
|
|
|
1611
1611
|
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
1612
1612
|
}
|
|
1613
1613
|
/**
|
|
1614
|
-
* @public
|
|
1615
1614
|
* <p></p>
|
|
1615
|
+
* @public
|
|
1616
1616
|
*/
|
|
1617
1617
|
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
1618
1618
|
readonly name: "WAFTagOperationInternalErrorException";
|
|
@@ -1627,19 +1627,18 @@ export declare class WAFTagOperationInternalErrorException extends __BaseExcepti
|
|
|
1627
1627
|
*/
|
|
1628
1628
|
export interface CreateRegexMatchSetRequest {
|
|
1629
1629
|
/**
|
|
1630
|
-
* @public
|
|
1631
1630
|
* <p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
1632
1631
|
* <code>RegexMatchSet</code>.</p>
|
|
1632
|
+
* @public
|
|
1633
1633
|
*/
|
|
1634
1634
|
Name: string | undefined;
|
|
1635
1635
|
/**
|
|
1636
|
-
* @public
|
|
1637
1636
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1637
|
+
* @public
|
|
1638
1638
|
*/
|
|
1639
1639
|
ChangeToken: string | undefined;
|
|
1640
1640
|
}
|
|
1641
1641
|
/**
|
|
1642
|
-
* @public
|
|
1643
1642
|
* <note>
|
|
1644
1643
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1645
1644
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1660,15 +1659,15 @@ export interface CreateRegexMatchSetRequest {
|
|
|
1660
1659
|
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1661
1660
|
* </li>
|
|
1662
1661
|
* </ul>
|
|
1662
|
+
* @public
|
|
1663
1663
|
*/
|
|
1664
1664
|
export interface RegexMatchTuple {
|
|
1665
1665
|
/**
|
|
1666
|
-
* @public
|
|
1667
1666
|
* <p>Specifies where in a web request to look for the <code>RegexPatternSet</code>.</p>
|
|
1667
|
+
* @public
|
|
1668
1668
|
*/
|
|
1669
1669
|
FieldToMatch: FieldToMatch | undefined;
|
|
1670
1670
|
/**
|
|
1671
|
-
* @public
|
|
1672
1671
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
1673
1672
|
* If you specify a transformation, AWS WAF performs the transformation on <code>RegexPatternSet</code> before inspecting a request for a match.</p>
|
|
1674
1673
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -1761,21 +1760,21 @@ export interface RegexMatchTuple {
|
|
|
1761
1760
|
* <b>NONE</b>
|
|
1762
1761
|
* </p>
|
|
1763
1762
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
1763
|
+
* @public
|
|
1764
1764
|
*/
|
|
1765
1765
|
TextTransformation: TextTransformation | undefined;
|
|
1766
1766
|
/**
|
|
1767
|
-
* @public
|
|
1768
1767
|
* <p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a
|
|
1769
1768
|
* <code>RegexPatternSet</code> (see <a>GetRegexPatternSet</a>), update a <code>RegexPatternSet</code> (see <a>UpdateRegexPatternSet</a>),
|
|
1770
1769
|
* insert a <code>RegexPatternSet</code> into a <code>RegexMatchSet</code> or delete one from a <code>RegexMatchSet</code> (see <a>UpdateRegexMatchSet</a>), and
|
|
1771
1770
|
* delete an <code>RegexPatternSet</code> from AWS WAF (see <a>DeleteRegexPatternSet</a>).</p>
|
|
1772
1771
|
* <p>
|
|
1773
1772
|
* <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
1773
|
+
* @public
|
|
1774
1774
|
*/
|
|
1775
1775
|
RegexPatternSetId: string | undefined;
|
|
1776
1776
|
}
|
|
1777
1777
|
/**
|
|
1778
|
-
* @public
|
|
1779
1778
|
* <note>
|
|
1780
1779
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1781
1780
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1789,26 +1788,26 @@ export interface RegexMatchTuple {
|
|
|
1789
1788
|
* <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
|
|
1790
1789
|
* <code>RegexMatchTuple</code> object, a request needs to match the settings in only one <code>ByteMatchTuple</code>
|
|
1791
1790
|
* to be considered a match.</p>
|
|
1791
|
+
* @public
|
|
1792
1792
|
*/
|
|
1793
1793
|
export interface RegexMatchSet {
|
|
1794
1794
|
/**
|
|
1795
|
-
* @public
|
|
1796
1795
|
* <p>The <code>RegexMatchSetId</code> for a <code>RegexMatchSet</code>. You use <code>RegexMatchSetId</code> to get information about a
|
|
1797
1796
|
* <code>RegexMatchSet</code> (see <a>GetRegexMatchSet</a>), update a <code>RegexMatchSet</code> (see <a>UpdateRegexMatchSet</a>),
|
|
1798
1797
|
* insert a <code>RegexMatchSet</code> into a <code>Rule</code> or delete one from a <code>Rule</code> (see <a>UpdateRule</a>), and
|
|
1799
1798
|
* delete a <code>RegexMatchSet</code> from AWS WAF (see <a>DeleteRegexMatchSet</a>).</p>
|
|
1800
1799
|
* <p>
|
|
1801
1800
|
* <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>
|
|
1801
|
+
* @public
|
|
1802
1802
|
*/
|
|
1803
1803
|
RegexMatchSetId?: string;
|
|
1804
1804
|
/**
|
|
1805
|
-
* @public
|
|
1806
1805
|
* <p>A friendly name or description of the <a>RegexMatchSet</a>. You can't change <code>Name</code> after you create a
|
|
1807
1806
|
* <code>RegexMatchSet</code>.</p>
|
|
1807
|
+
* @public
|
|
1808
1808
|
*/
|
|
1809
1809
|
Name?: string;
|
|
1810
1810
|
/**
|
|
1811
|
-
* @public
|
|
1812
1811
|
* <p>Contains an array of <a>RegexMatchTuple</a> objects. Each <code>RegexMatchTuple</code>
|
|
1813
1812
|
* object contains: </p>
|
|
1814
1813
|
* <ul>
|
|
@@ -1822,6 +1821,7 @@ export interface RegexMatchSet {
|
|
|
1822
1821
|
* <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
|
|
1823
1822
|
* </li>
|
|
1824
1823
|
* </ul>
|
|
1824
|
+
* @public
|
|
1825
1825
|
*/
|
|
1826
1826
|
RegexMatchTuples?: RegexMatchTuple[];
|
|
1827
1827
|
}
|
|
@@ -1830,14 +1830,14 @@ export interface RegexMatchSet {
|
|
|
1830
1830
|
*/
|
|
1831
1831
|
export interface CreateRegexMatchSetResponse {
|
|
1832
1832
|
/**
|
|
1833
|
-
* @public
|
|
1834
1833
|
* <p>A <a>RegexMatchSet</a> that contains no <code>RegexMatchTuple</code> objects.</p>
|
|
1834
|
+
* @public
|
|
1835
1835
|
*/
|
|
1836
1836
|
RegexMatchSet?: RegexMatchSet;
|
|
1837
1837
|
/**
|
|
1838
|
-
* @public
|
|
1839
1838
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexMatchSet</code> request. You can also use this value
|
|
1840
1839
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1840
|
+
* @public
|
|
1841
1841
|
*/
|
|
1842
1842
|
ChangeToken?: string;
|
|
1843
1843
|
}
|
|
@@ -1846,19 +1846,18 @@ export interface CreateRegexMatchSetResponse {
|
|
|
1846
1846
|
*/
|
|
1847
1847
|
export interface CreateRegexPatternSetRequest {
|
|
1848
1848
|
/**
|
|
1849
|
-
* @public
|
|
1850
1849
|
* <p>A friendly name or description of the <a>RegexPatternSet</a>. You can't change <code>Name</code> after you create a
|
|
1851
1850
|
* <code>RegexPatternSet</code>.</p>
|
|
1851
|
+
* @public
|
|
1852
1852
|
*/
|
|
1853
1853
|
Name: string | undefined;
|
|
1854
1854
|
/**
|
|
1855
|
-
* @public
|
|
1856
1855
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1856
|
+
* @public
|
|
1857
1857
|
*/
|
|
1858
1858
|
ChangeToken: string | undefined;
|
|
1859
1859
|
}
|
|
1860
1860
|
/**
|
|
1861
|
-
* @public
|
|
1862
1861
|
* <note>
|
|
1863
1862
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1864
1863
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1868,24 +1867,25 @@ export interface CreateRegexPatternSetRequest {
|
|
|
1868
1867
|
* 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>
|
|
1869
1868
|
* </note>
|
|
1870
1869
|
* <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>
|
|
1870
|
+
* @public
|
|
1871
1871
|
*/
|
|
1872
1872
|
export interface RegexPatternSet {
|
|
1873
1873
|
/**
|
|
1874
|
-
* @public
|
|
1875
1874
|
* <p>The identifier for the <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code>,
|
|
1876
1875
|
* 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>
|
|
1877
1876
|
* <p>
|
|
1878
1877
|
* <code>RegexMatchSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
1878
|
+
* @public
|
|
1879
1879
|
*/
|
|
1880
1880
|
RegexPatternSetId: string | undefined;
|
|
1881
1881
|
/**
|
|
1882
|
-
* @public
|
|
1883
1882
|
* <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>
|
|
1883
|
+
* @public
|
|
1884
1884
|
*/
|
|
1885
1885
|
Name?: string;
|
|
1886
1886
|
/**
|
|
1887
|
-
* @public
|
|
1888
1887
|
* <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>
|
|
1888
|
+
* @public
|
|
1889
1889
|
*/
|
|
1890
1890
|
RegexPatternStrings: string[] | undefined;
|
|
1891
1891
|
}
|
|
@@ -1894,14 +1894,14 @@ export interface RegexPatternSet {
|
|
|
1894
1894
|
*/
|
|
1895
1895
|
export interface CreateRegexPatternSetResponse {
|
|
1896
1896
|
/**
|
|
1897
|
-
* @public
|
|
1898
1897
|
* <p>A <a>RegexPatternSet</a> that contains no objects.</p>
|
|
1898
|
+
* @public
|
|
1899
1899
|
*/
|
|
1900
1900
|
RegexPatternSet?: RegexPatternSet;
|
|
1901
1901
|
/**
|
|
1902
|
-
* @public
|
|
1903
1902
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRegexPatternSet</code> request. You can also use this value
|
|
1904
1903
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
1904
|
+
* @public
|
|
1905
1905
|
*/
|
|
1906
1906
|
ChangeToken?: string;
|
|
1907
1907
|
}
|
|
@@ -1910,30 +1910,29 @@ export interface CreateRegexPatternSetResponse {
|
|
|
1910
1910
|
*/
|
|
1911
1911
|
export interface CreateRuleRequest {
|
|
1912
1912
|
/**
|
|
1913
|
-
* @public
|
|
1914
1913
|
* <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>
|
|
1914
|
+
* @public
|
|
1915
1915
|
*/
|
|
1916
1916
|
Name: string | undefined;
|
|
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 the name of the metric after you create the
|
|
1921
1920
|
* <code>Rule</code>.</p>
|
|
1921
|
+
* @public
|
|
1922
1922
|
*/
|
|
1923
1923
|
MetricName: string | undefined;
|
|
1924
1924
|
/**
|
|
1925
|
-
* @public
|
|
1926
1925
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
1926
|
+
* @public
|
|
1927
1927
|
*/
|
|
1928
1928
|
ChangeToken: string | undefined;
|
|
1929
1929
|
/**
|
|
1930
|
-
* @public
|
|
1931
1930
|
* <p></p>
|
|
1931
|
+
* @public
|
|
1932
1932
|
*/
|
|
1933
1933
|
Tags?: Tag[];
|
|
1934
1934
|
}
|
|
1935
1935
|
/**
|
|
1936
|
-
* @public
|
|
1937
1936
|
* <note>
|
|
1938
1937
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
1939
1938
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -1956,32 +1955,33 @@ export interface CreateRuleRequest {
|
|
|
1956
1955
|
* </ul>
|
|
1957
1956
|
* <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>
|
|
1958
1957
|
* header for which the value is <code>BadBot</code>.</p>
|
|
1958
|
+
* @public
|
|
1959
1959
|
*/
|
|
1960
1960
|
export interface Rule {
|
|
1961
1961
|
/**
|
|
1962
|
-
* @public
|
|
1963
1962
|
* <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>),
|
|
1964
1963
|
* update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete a
|
|
1965
1964
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p>
|
|
1966
1965
|
* <p>
|
|
1967
1966
|
* <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>
|
|
1967
|
+
* @public
|
|
1968
1968
|
*/
|
|
1969
1969
|
RuleId: string | undefined;
|
|
1970
1970
|
/**
|
|
1971
|
-
* @public
|
|
1972
1971
|
* <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>
|
|
1972
|
+
* @public
|
|
1973
1973
|
*/
|
|
1974
1974
|
Name?: string;
|
|
1975
1975
|
/**
|
|
1976
|
-
* @public
|
|
1977
1976
|
* <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
|
|
1978
1977
|
* 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>
|
|
1978
|
+
* @public
|
|
1979
1979
|
*/
|
|
1980
1980
|
MetricName?: string;
|
|
1981
1981
|
/**
|
|
1982
|
-
* @public
|
|
1983
1982
|
* <p>The <code>Predicates</code> object contains one <code>Predicate</code> element for each <a>ByteMatchSet</a>, <a>IPSet</a>, or
|
|
1984
1983
|
* <a>SqlInjectionMatchSet</a> object that you want to include in a <code>Rule</code>.</p>
|
|
1984
|
+
* @public
|
|
1985
1985
|
*/
|
|
1986
1986
|
Predicates: Predicate[] | undefined;
|
|
1987
1987
|
}
|
|
@@ -1990,14 +1990,14 @@ export interface Rule {
|
|
|
1990
1990
|
*/
|
|
1991
1991
|
export interface CreateRuleResponse {
|
|
1992
1992
|
/**
|
|
1993
|
-
* @public
|
|
1994
1993
|
* <p>The <a>Rule</a> returned in the <code>CreateRule</code> response.</p>
|
|
1994
|
+
* @public
|
|
1995
1995
|
*/
|
|
1996
1996
|
Rule?: Rule;
|
|
1997
1997
|
/**
|
|
1998
|
-
* @public
|
|
1999
1998
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRule</code> request. You can also use this value
|
|
2000
1999
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2000
|
+
* @public
|
|
2001
2001
|
*/
|
|
2002
2002
|
ChangeToken?: string;
|
|
2003
2003
|
}
|
|
@@ -2006,30 +2006,29 @@ export interface CreateRuleResponse {
|
|
|
2006
2006
|
*/
|
|
2007
2007
|
export interface CreateRuleGroupRequest {
|
|
2008
2008
|
/**
|
|
2009
|
-
* @public
|
|
2010
2009
|
* <p>A friendly name or description of the <a>RuleGroup</a>. You can't change <code>Name</code> after you create a
|
|
2011
2010
|
* <code>RuleGroup</code>.</p>
|
|
2011
|
+
* @public
|
|
2012
2012
|
*/
|
|
2013
2013
|
Name: string | undefined;
|
|
2014
2014
|
/**
|
|
2015
|
-
* @public
|
|
2016
2015
|
* <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
|
|
2017
2016
|
* 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>
|
|
2017
|
+
* @public
|
|
2018
2018
|
*/
|
|
2019
2019
|
MetricName: string | undefined;
|
|
2020
2020
|
/**
|
|
2021
|
-
* @public
|
|
2022
2021
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2022
|
+
* @public
|
|
2023
2023
|
*/
|
|
2024
2024
|
ChangeToken: string | undefined;
|
|
2025
2025
|
/**
|
|
2026
|
-
* @public
|
|
2027
2026
|
* <p></p>
|
|
2027
|
+
* @public
|
|
2028
2028
|
*/
|
|
2029
2029
|
Tags?: Tag[];
|
|
2030
2030
|
}
|
|
2031
2031
|
/**
|
|
2032
|
-
* @public
|
|
2033
2032
|
* <note>
|
|
2034
2033
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2035
2034
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2051,26 +2050,27 @@ export interface CreateRuleGroupRequest {
|
|
|
2051
2050
|
* <p>Ten rules per rule group.</p>
|
|
2052
2051
|
* </li>
|
|
2053
2052
|
* </ul>
|
|
2053
|
+
* @public
|
|
2054
2054
|
*/
|
|
2055
2055
|
export interface RuleGroup {
|
|
2056
2056
|
/**
|
|
2057
|
-
* @public
|
|
2058
2057
|
* <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>),
|
|
2059
2058
|
* update a <code>RuleGroup</code> (see <a>UpdateRuleGroup</a>), insert a <code>RuleGroup</code> into a <code>WebACL</code> or delete a
|
|
2060
2059
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RuleGroup</code> from AWS WAF (see <a>DeleteRuleGroup</a>).</p>
|
|
2061
2060
|
* <p>
|
|
2062
2061
|
* <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>
|
|
2062
|
+
* @public
|
|
2063
2063
|
*/
|
|
2064
2064
|
RuleGroupId: string | undefined;
|
|
2065
2065
|
/**
|
|
2066
|
-
* @public
|
|
2067
2066
|
* <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>
|
|
2067
|
+
* @public
|
|
2068
2068
|
*/
|
|
2069
2069
|
Name?: string;
|
|
2070
2070
|
/**
|
|
2071
|
-
* @public
|
|
2072
2071
|
* <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
|
|
2073
2072
|
* 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>
|
|
2073
|
+
* @public
|
|
2074
2074
|
*/
|
|
2075
2075
|
MetricName?: string;
|
|
2076
2076
|
}
|
|
@@ -2079,14 +2079,14 @@ export interface RuleGroup {
|
|
|
2079
2079
|
*/
|
|
2080
2080
|
export interface CreateRuleGroupResponse {
|
|
2081
2081
|
/**
|
|
2082
|
-
* @public
|
|
2083
2082
|
* <p>An empty <a>RuleGroup</a>.</p>
|
|
2083
|
+
* @public
|
|
2084
2084
|
*/
|
|
2085
2085
|
RuleGroup?: RuleGroup;
|
|
2086
2086
|
/**
|
|
2087
|
-
* @public
|
|
2088
2087
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateRuleGroup</code> request. You can also use this value
|
|
2089
2088
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2089
|
+
* @public
|
|
2090
2090
|
*/
|
|
2091
2091
|
ChangeToken?: string;
|
|
2092
2092
|
}
|
|
@@ -2095,14 +2095,14 @@ export interface CreateRuleGroupResponse {
|
|
|
2095
2095
|
*/
|
|
2096
2096
|
export interface CreateSizeConstraintSetRequest {
|
|
2097
2097
|
/**
|
|
2098
|
-
* @public
|
|
2099
2098
|
* <p>A friendly name or description of the <a>SizeConstraintSet</a>. You can't change <code>Name</code> after you create a
|
|
2100
2099
|
* <code>SizeConstraintSet</code>.</p>
|
|
2100
|
+
* @public
|
|
2101
2101
|
*/
|
|
2102
2102
|
Name: string | undefined;
|
|
2103
2103
|
/**
|
|
2104
|
-
* @public
|
|
2105
2104
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2105
|
+
* @public
|
|
2106
2106
|
*/
|
|
2107
2107
|
ChangeToken: string | undefined;
|
|
2108
2108
|
}
|
|
@@ -2123,7 +2123,6 @@ export declare const ComparisonOperator: {
|
|
|
2123
2123
|
*/
|
|
2124
2124
|
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
2125
2125
|
/**
|
|
2126
|
-
* @public
|
|
2127
2126
|
* <note>
|
|
2128
2127
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2129
2128
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2136,15 +2135,15 @@ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof Compar
|
|
|
2136
2135
|
* an expression in the form of "<code>Size</code>
|
|
2137
2136
|
* <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>". If that expression is true, the
|
|
2138
2137
|
* <code>SizeConstraint</code> is considered to match.</p>
|
|
2138
|
+
* @public
|
|
2139
2139
|
*/
|
|
2140
2140
|
export interface SizeConstraint {
|
|
2141
2141
|
/**
|
|
2142
|
-
* @public
|
|
2143
2142
|
* <p>Specifies where in a web request to look for the size constraint.</p>
|
|
2143
|
+
* @public
|
|
2144
2144
|
*/
|
|
2145
2145
|
FieldToMatch: FieldToMatch | undefined;
|
|
2146
2146
|
/**
|
|
2147
|
-
* @public
|
|
2148
2147
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
2149
2148
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
2150
2149
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -2238,10 +2237,10 @@ export interface SizeConstraint {
|
|
|
2238
2237
|
* <b>URL_DECODE</b>
|
|
2239
2238
|
* </p>
|
|
2240
2239
|
* <p>Use this option to decode a URL-encoded value.</p>
|
|
2240
|
+
* @public
|
|
2241
2241
|
*/
|
|
2242
2242
|
TextTransformation: TextTransformation | undefined;
|
|
2243
2243
|
/**
|
|
2244
|
-
* @public
|
|
2245
2244
|
* <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>
|
|
2246
2245
|
* to build an expression in the form of "<code>Size</code>
|
|
2247
2246
|
* <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>". If that expression
|
|
@@ -2264,10 +2263,10 @@ export interface SizeConstraint {
|
|
|
2264
2263
|
* <p>
|
|
2265
2264
|
* <b>GT</b>: Used to test if the <code>Size</code> is strictly greater than the size of the <code>FieldToMatch</code>
|
|
2266
2265
|
* </p>
|
|
2266
|
+
* @public
|
|
2267
2267
|
*/
|
|
2268
2268
|
ComparisonOperator: ComparisonOperator | undefined;
|
|
2269
2269
|
/**
|
|
2270
|
-
* @public
|
|
2271
2270
|
* <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
|
|
2272
2271
|
* with <code>ComparisonOperator</code> and <code>FieldToMatch</code> to build an expression in the form of "<code>Size</code>
|
|
2273
2272
|
* <code>ComparisonOperator</code> size
|
|
@@ -2275,11 +2274,11 @@ export interface SizeConstraint {
|
|
|
2275
2274
|
* <p>Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).</p>
|
|
2276
2275
|
* <p>If you specify <code>URI</code> for the value of <code>Type</code>, the / in the URI counts as one character.
|
|
2277
2276
|
* For example, the URI <code>/logo.jpg</code> is nine characters long.</p>
|
|
2277
|
+
* @public
|
|
2278
2278
|
*/
|
|
2279
2279
|
Size: number | undefined;
|
|
2280
2280
|
}
|
|
2281
2281
|
/**
|
|
2282
|
-
* @public
|
|
2283
2282
|
* <note>
|
|
2284
2283
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2285
2284
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2291,10 +2290,10 @@ export interface SizeConstraint {
|
|
|
2291
2290
|
* <p>A complex type that contains <code>SizeConstraint</code> objects, which specify the parts of web requests that you
|
|
2292
2291
|
* want AWS WAF to inspect the size of. If a <code>SizeConstraintSet</code> contains more than one <code>SizeConstraint</code>
|
|
2293
2292
|
* object, a request only needs to match one constraint to be considered a match.</p>
|
|
2293
|
+
* @public
|
|
2294
2294
|
*/
|
|
2295
2295
|
export interface SizeConstraintSet {
|
|
2296
2296
|
/**
|
|
2297
|
-
* @public
|
|
2298
2297
|
* <p>A unique identifier for a <code>SizeConstraintSet</code>. You use <code>SizeConstraintSetId</code> to get information about a
|
|
2299
2298
|
* <code>SizeConstraintSet</code> (see <a>GetSizeConstraintSet</a>), update a <code>SizeConstraintSet</code>
|
|
2300
2299
|
* (see <a>UpdateSizeConstraintSet</a>), insert a <code>SizeConstraintSet</code> into a <code>Rule</code> or
|
|
@@ -2302,16 +2301,17 @@ export interface SizeConstraintSet {
|
|
|
2302
2301
|
* (see <a>DeleteSizeConstraintSet</a>).</p>
|
|
2303
2302
|
* <p>
|
|
2304
2303
|
* <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
2304
|
+
* @public
|
|
2305
2305
|
*/
|
|
2306
2306
|
SizeConstraintSetId: string | undefined;
|
|
2307
2307
|
/**
|
|
2308
|
-
* @public
|
|
2309
2308
|
* <p>The name, if any, of the <code>SizeConstraintSet</code>.</p>
|
|
2309
|
+
* @public
|
|
2310
2310
|
*/
|
|
2311
2311
|
Name?: string;
|
|
2312
2312
|
/**
|
|
2313
|
-
* @public
|
|
2314
2313
|
* <p>Specifies the parts of web requests that you want to inspect the size of.</p>
|
|
2314
|
+
* @public
|
|
2315
2315
|
*/
|
|
2316
2316
|
SizeConstraints: SizeConstraint[] | undefined;
|
|
2317
2317
|
}
|
|
@@ -2320,36 +2320,35 @@ export interface SizeConstraintSet {
|
|
|
2320
2320
|
*/
|
|
2321
2321
|
export interface CreateSizeConstraintSetResponse {
|
|
2322
2322
|
/**
|
|
2323
|
-
* @public
|
|
2324
2323
|
* <p>A <a>SizeConstraintSet</a> that contains no <code>SizeConstraint</code> objects.</p>
|
|
2324
|
+
* @public
|
|
2325
2325
|
*/
|
|
2326
2326
|
SizeConstraintSet?: SizeConstraintSet;
|
|
2327
2327
|
/**
|
|
2328
|
-
* @public
|
|
2329
2328
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateSizeConstraintSet</code> request. You can also use this value
|
|
2330
2329
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2330
|
+
* @public
|
|
2331
2331
|
*/
|
|
2332
2332
|
ChangeToken?: string;
|
|
2333
2333
|
}
|
|
2334
2334
|
/**
|
|
2335
|
-
* @public
|
|
2336
2335
|
* <p>A request to create a <a>SqlInjectionMatchSet</a>.</p>
|
|
2336
|
+
* @public
|
|
2337
2337
|
*/
|
|
2338
2338
|
export interface CreateSqlInjectionMatchSetRequest {
|
|
2339
2339
|
/**
|
|
2340
|
-
* @public
|
|
2341
2340
|
* <p>A friendly name or description for the <a>SqlInjectionMatchSet</a> that you're creating. You can't change <code>Name</code>
|
|
2342
2341
|
* after you create the <code>SqlInjectionMatchSet</code>.</p>
|
|
2342
|
+
* @public
|
|
2343
2343
|
*/
|
|
2344
2344
|
Name: string | undefined;
|
|
2345
2345
|
/**
|
|
2346
|
-
* @public
|
|
2347
2346
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2347
|
+
* @public
|
|
2348
2348
|
*/
|
|
2349
2349
|
ChangeToken: string | undefined;
|
|
2350
2350
|
}
|
|
2351
2351
|
/**
|
|
2352
|
-
* @public
|
|
2353
2352
|
* <note>
|
|
2354
2353
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2355
2354
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2359,15 +2358,15 @@ export interface CreateSqlInjectionMatchSetRequest {
|
|
|
2359
2358
|
* 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>
|
|
2360
2359
|
* </note>
|
|
2361
2360
|
* <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>
|
|
2361
|
+
* @public
|
|
2362
2362
|
*/
|
|
2363
2363
|
export interface SqlInjectionMatchTuple {
|
|
2364
2364
|
/**
|
|
2365
|
-
* @public
|
|
2366
2365
|
* <p>Specifies where in a web request to look for snippets of malicious SQL code.</p>
|
|
2366
|
+
* @public
|
|
2367
2367
|
*/
|
|
2368
2368
|
FieldToMatch: FieldToMatch | undefined;
|
|
2369
2369
|
/**
|
|
2370
|
-
* @public
|
|
2371
2370
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
2372
2371
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
2373
2372
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -2461,11 +2460,11 @@ export interface SqlInjectionMatchTuple {
|
|
|
2461
2460
|
* <b>NONE</b>
|
|
2462
2461
|
* </p>
|
|
2463
2462
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
2463
|
+
* @public
|
|
2464
2464
|
*/
|
|
2465
2465
|
TextTransformation: TextTransformation | undefined;
|
|
2466
2466
|
}
|
|
2467
2467
|
/**
|
|
2468
|
-
* @public
|
|
2469
2468
|
* <note>
|
|
2470
2469
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2471
2470
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2478,10 +2477,10 @@ export interface SqlInjectionMatchTuple {
|
|
|
2478
2477
|
* 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
|
|
2479
2478
|
* <code>SqlInjectionMatchSet</code> contains more than one <code>SqlInjectionMatchTuple</code> object, a request needs to
|
|
2480
2479
|
* include snippets of SQL code in only one of the specified parts of the request to be considered a match.</p>
|
|
2480
|
+
* @public
|
|
2481
2481
|
*/
|
|
2482
2482
|
export interface SqlInjectionMatchSet {
|
|
2483
2483
|
/**
|
|
2484
|
-
* @public
|
|
2485
2484
|
* <p>A unique identifier for a <code>SqlInjectionMatchSet</code>. You use <code>SqlInjectionMatchSetId</code> to get information about a
|
|
2486
2485
|
* <code>SqlInjectionMatchSet</code> (see <a>GetSqlInjectionMatchSet</a>), update a <code>SqlInjectionMatchSet</code>
|
|
2487
2486
|
* (see <a>UpdateSqlInjectionMatchSet</a>), insert a <code>SqlInjectionMatchSet</code> into a <code>Rule</code> or
|
|
@@ -2489,33 +2488,34 @@ export interface SqlInjectionMatchSet {
|
|
|
2489
2488
|
* (see <a>DeleteSqlInjectionMatchSet</a>).</p>
|
|
2490
2489
|
* <p>
|
|
2491
2490
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
2491
|
+
* @public
|
|
2492
2492
|
*/
|
|
2493
2493
|
SqlInjectionMatchSetId: string | undefined;
|
|
2494
2494
|
/**
|
|
2495
|
-
* @public
|
|
2496
2495
|
* <p>The name, if any, of the <code>SqlInjectionMatchSet</code>.</p>
|
|
2496
|
+
* @public
|
|
2497
2497
|
*/
|
|
2498
2498
|
Name?: string;
|
|
2499
2499
|
/**
|
|
2500
|
-
* @public
|
|
2501
2500
|
* <p>Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.</p>
|
|
2501
|
+
* @public
|
|
2502
2502
|
*/
|
|
2503
2503
|
SqlInjectionMatchTuples: SqlInjectionMatchTuple[] | undefined;
|
|
2504
2504
|
}
|
|
2505
2505
|
/**
|
|
2506
|
-
* @public
|
|
2507
2506
|
* <p>The response to a <code>CreateSqlInjectionMatchSet</code> request.</p>
|
|
2507
|
+
* @public
|
|
2508
2508
|
*/
|
|
2509
2509
|
export interface CreateSqlInjectionMatchSetResponse {
|
|
2510
2510
|
/**
|
|
2511
|
-
* @public
|
|
2512
2511
|
* <p>A <a>SqlInjectionMatchSet</a>.</p>
|
|
2512
|
+
* @public
|
|
2513
2513
|
*/
|
|
2514
2514
|
SqlInjectionMatchSet?: SqlInjectionMatchSet;
|
|
2515
2515
|
/**
|
|
2516
|
-
* @public
|
|
2517
2516
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateSqlInjectionMatchSet</code> request. You can also use this value
|
|
2518
2517
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2518
|
+
* @public
|
|
2519
2519
|
*/
|
|
2520
2520
|
ChangeToken?: string;
|
|
2521
2521
|
}
|
|
@@ -2524,36 +2524,35 @@ export interface CreateSqlInjectionMatchSetResponse {
|
|
|
2524
2524
|
*/
|
|
2525
2525
|
export interface CreateWebACLRequest {
|
|
2526
2526
|
/**
|
|
2527
|
-
* @public
|
|
2528
2527
|
* <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>
|
|
2528
|
+
* @public
|
|
2529
2529
|
*/
|
|
2530
2530
|
Name: string | undefined;
|
|
2531
2531
|
/**
|
|
2532
|
-
* @public
|
|
2533
2532
|
* <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
|
|
2534
2533
|
* whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change <code>MetricName</code> after you create the
|
|
2535
2534
|
* <code>WebACL</code>.</p>
|
|
2535
|
+
* @public
|
|
2536
2536
|
*/
|
|
2537
2537
|
MetricName: string | undefined;
|
|
2538
2538
|
/**
|
|
2539
|
-
* @public
|
|
2540
2539
|
* <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>
|
|
2541
2540
|
* objects that are associated with the <code>WebACL</code>.</p>
|
|
2541
|
+
* @public
|
|
2542
2542
|
*/
|
|
2543
2543
|
DefaultAction: WafAction | undefined;
|
|
2544
2544
|
/**
|
|
2545
|
-
* @public
|
|
2546
2545
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2546
|
+
* @public
|
|
2547
2547
|
*/
|
|
2548
2548
|
ChangeToken: string | undefined;
|
|
2549
2549
|
/**
|
|
2550
|
-
* @public
|
|
2551
2550
|
* <p></p>
|
|
2551
|
+
* @public
|
|
2552
2552
|
*/
|
|
2553
2553
|
Tags?: Tag[];
|
|
2554
2554
|
}
|
|
2555
2555
|
/**
|
|
2556
|
-
* @public
|
|
2557
2556
|
* <note>
|
|
2558
2557
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2559
2558
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2568,43 +2567,44 @@ export interface CreateWebACLRequest {
|
|
|
2568
2567
|
* You also associate the <code>WebACL</code> with a CloudFront distribution to identify the requests that you want AWS WAF to filter.
|
|
2569
2568
|
* If you add more than one <code>Rule</code> to a <code>WebACL</code>, a request needs to match only one of the specifications
|
|
2570
2569
|
* to be allowed, blocked, or counted. For more information, see <a>UpdateWebACL</a>.</p>
|
|
2570
|
+
* @public
|
|
2571
2571
|
*/
|
|
2572
2572
|
export interface WebACL {
|
|
2573
2573
|
/**
|
|
2574
|
-
* @public
|
|
2575
2574
|
* <p>A unique identifier for a <code>WebACL</code>. You use <code>WebACLId</code> to get information about a <code>WebACL</code>
|
|
2576
2575
|
* (see <a>GetWebACL</a>), update a <code>WebACL</code> (see <a>UpdateWebACL</a>), and delete a <code>WebACL</code> from AWS WAF
|
|
2577
2576
|
* (see <a>DeleteWebACL</a>).</p>
|
|
2578
2577
|
* <p>
|
|
2579
2578
|
* <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>
|
|
2579
|
+
* @public
|
|
2580
2580
|
*/
|
|
2581
2581
|
WebACLId: string | undefined;
|
|
2582
2582
|
/**
|
|
2583
|
-
* @public
|
|
2584
2583
|
* <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>
|
|
2584
|
+
* @public
|
|
2585
2585
|
*/
|
|
2586
2586
|
Name?: string;
|
|
2587
2587
|
/**
|
|
2588
|
-
* @public
|
|
2589
2588
|
* <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
|
|
2590
2589
|
* 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>
|
|
2590
|
+
* @public
|
|
2591
2591
|
*/
|
|
2592
2592
|
MetricName?: string;
|
|
2593
2593
|
/**
|
|
2594
|
-
* @public
|
|
2595
2594
|
* <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
|
|
2596
2595
|
* <a>WafAction</a> object.</p>
|
|
2596
|
+
* @public
|
|
2597
2597
|
*/
|
|
2598
2598
|
DefaultAction: WafAction | undefined;
|
|
2599
2599
|
/**
|
|
2600
|
-
* @public
|
|
2601
2600
|
* <p>An array that contains the action for each <code>Rule</code> in a <code>WebACL</code>, the priority of the <code>Rule</code>,
|
|
2602
2601
|
* and the ID of the <code>Rule</code>.</p>
|
|
2602
|
+
* @public
|
|
2603
2603
|
*/
|
|
2604
2604
|
Rules: ActivatedRule[] | undefined;
|
|
2605
2605
|
/**
|
|
2606
|
-
* @public
|
|
2607
2606
|
* <p>Tha Amazon Resource Name (ARN) of the web ACL.</p>
|
|
2607
|
+
* @public
|
|
2608
2608
|
*/
|
|
2609
2609
|
WebACLArn?: string;
|
|
2610
2610
|
}
|
|
@@ -2613,14 +2613,14 @@ export interface WebACL {
|
|
|
2613
2613
|
*/
|
|
2614
2614
|
export interface CreateWebACLResponse {
|
|
2615
2615
|
/**
|
|
2616
|
-
* @public
|
|
2617
2616
|
* <p>The <a>WebACL</a> returned in the <code>CreateWebACL</code> response.</p>
|
|
2617
|
+
* @public
|
|
2618
2618
|
*/
|
|
2619
2619
|
WebACL?: WebACL;
|
|
2620
2620
|
/**
|
|
2621
|
-
* @public
|
|
2622
2621
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateWebACL</code> request. You can also use this value
|
|
2623
2622
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2623
|
+
* @public
|
|
2624
2624
|
*/
|
|
2625
2625
|
ChangeToken?: string;
|
|
2626
2626
|
}
|
|
@@ -2629,12 +2629,11 @@ export interface CreateWebACLResponse {
|
|
|
2629
2629
|
*/
|
|
2630
2630
|
export interface CreateWebACLMigrationStackRequest {
|
|
2631
2631
|
/**
|
|
2632
|
-
* @public
|
|
2633
2632
|
* <p>The UUID of the WAF Classic web ACL that you want to migrate to WAF v2.</p>
|
|
2633
|
+
* @public
|
|
2634
2634
|
*/
|
|
2635
2635
|
WebACLId: string | undefined;
|
|
2636
2636
|
/**
|
|
2637
|
-
* @public
|
|
2638
2637
|
* <p>The name of the Amazon S3 bucket to store the CloudFormation template in. The S3 bucket must be
|
|
2639
2638
|
* configured as follows for the migration: </p>
|
|
2640
2639
|
* <ul>
|
|
@@ -2649,13 +2648,14 @@ export interface CreateWebACLMigrationStackRequest {
|
|
|
2649
2648
|
* bucket policies, see the Examples section. </p>
|
|
2650
2649
|
* </li>
|
|
2651
2650
|
* </ul>
|
|
2651
|
+
* @public
|
|
2652
2652
|
*/
|
|
2653
2653
|
S3BucketName: string | undefined;
|
|
2654
2654
|
/**
|
|
2655
|
-
* @public
|
|
2656
2655
|
* <p>Indicates whether to exclude entities that can't be migrated or to stop the migration.
|
|
2657
2656
|
* Set this to true to ignore unsupported entities in the web ACL during the migration. Otherwise, if AWS WAF encounters unsupported
|
|
2658
2657
|
* entities, it stops the process and throws an exception. </p>
|
|
2658
|
+
* @public
|
|
2659
2659
|
*/
|
|
2660
2660
|
IgnoreUnsupportedType: boolean | undefined;
|
|
2661
2661
|
}
|
|
@@ -2664,8 +2664,8 @@ export interface CreateWebACLMigrationStackRequest {
|
|
|
2664
2664
|
*/
|
|
2665
2665
|
export interface CreateWebACLMigrationStackResponse {
|
|
2666
2666
|
/**
|
|
2667
|
-
* @public
|
|
2668
2667
|
* <p>The URL of the template created in Amazon S3. </p>
|
|
2668
|
+
* @public
|
|
2669
2669
|
*/
|
|
2670
2670
|
S3ObjectUrl: string | undefined;
|
|
2671
2671
|
}
|
|
@@ -2687,7 +2687,6 @@ export declare const MigrationErrorType: {
|
|
|
2687
2687
|
*/
|
|
2688
2688
|
export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof MigrationErrorType];
|
|
2689
2689
|
/**
|
|
2690
|
-
* @public
|
|
2691
2690
|
* <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>
|
|
2692
2691
|
* <ul>
|
|
2693
2692
|
* <li>
|
|
@@ -2719,6 +2718,7 @@ export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof Migrat
|
|
|
2719
2718
|
* <code>S3_INTERNAL_ERROR</code> - AWS WAF failed to create the template in the S3 bucket for another reason.</p>
|
|
2720
2719
|
* </li>
|
|
2721
2720
|
* </ul>
|
|
2721
|
+
* @public
|
|
2722
2722
|
*/
|
|
2723
2723
|
export declare class WAFEntityMigrationException extends __BaseException {
|
|
2724
2724
|
readonly name: "WAFEntityMigrationException";
|
|
@@ -2731,7 +2731,6 @@ export declare class WAFEntityMigrationException extends __BaseException {
|
|
|
2731
2731
|
constructor(opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>);
|
|
2732
2732
|
}
|
|
2733
2733
|
/**
|
|
2734
|
-
* @public
|
|
2735
2734
|
* <p>The operation failed because there was nothing to do. For example:</p>
|
|
2736
2735
|
* <ul>
|
|
2737
2736
|
* <li>
|
|
@@ -2753,6 +2752,7 @@ export declare class WAFEntityMigrationException extends __BaseException {
|
|
|
2753
2752
|
* already exists in the specified <code>WebACL</code>.</p>
|
|
2754
2753
|
* </li>
|
|
2755
2754
|
* </ul>
|
|
2755
|
+
* @public
|
|
2756
2756
|
*/
|
|
2757
2757
|
export declare class WAFInvalidOperationException extends __BaseException {
|
|
2758
2758
|
readonly name: "WAFInvalidOperationException";
|
|
@@ -2763,24 +2763,23 @@ export declare class WAFInvalidOperationException extends __BaseException {
|
|
|
2763
2763
|
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
2764
2764
|
}
|
|
2765
2765
|
/**
|
|
2766
|
-
* @public
|
|
2767
2766
|
* <p>A request to create an <a>XssMatchSet</a>.</p>
|
|
2767
|
+
* @public
|
|
2768
2768
|
*/
|
|
2769
2769
|
export interface CreateXssMatchSetRequest {
|
|
2770
2770
|
/**
|
|
2771
|
-
* @public
|
|
2772
2771
|
* <p>A friendly name or description for the <a>XssMatchSet</a> that you're creating. You can't change <code>Name</code>
|
|
2773
2772
|
* after you create the <code>XssMatchSet</code>.</p>
|
|
2773
|
+
* @public
|
|
2774
2774
|
*/
|
|
2775
2775
|
Name: string | undefined;
|
|
2776
2776
|
/**
|
|
2777
|
-
* @public
|
|
2778
2777
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2778
|
+
* @public
|
|
2779
2779
|
*/
|
|
2780
2780
|
ChangeToken: string | undefined;
|
|
2781
2781
|
}
|
|
2782
2782
|
/**
|
|
2783
|
-
* @public
|
|
2784
2783
|
* <note>
|
|
2785
2784
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2786
2785
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2790,15 +2789,15 @@ export interface CreateXssMatchSetRequest {
|
|
|
2790
2789
|
* 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>
|
|
2791
2790
|
* </note>
|
|
2792
2791
|
* <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>
|
|
2792
|
+
* @public
|
|
2793
2793
|
*/
|
|
2794
2794
|
export interface XssMatchTuple {
|
|
2795
2795
|
/**
|
|
2796
|
-
* @public
|
|
2797
2796
|
* <p>Specifies where in a web request to look for cross-site scripting attacks.</p>
|
|
2797
|
+
* @public
|
|
2798
2798
|
*/
|
|
2799
2799
|
FieldToMatch: FieldToMatch | undefined;
|
|
2800
2800
|
/**
|
|
2801
|
-
* @public
|
|
2802
2801
|
* <p>Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF.
|
|
2803
2802
|
* If you specify a transformation, AWS WAF performs the transformation on <code>FieldToMatch</code> before inspecting it for a match.</p>
|
|
2804
2803
|
* <p>You can only specify a single type of TextTransformation.</p>
|
|
@@ -2892,11 +2891,11 @@ export interface XssMatchTuple {
|
|
|
2892
2891
|
* <b>NONE</b>
|
|
2893
2892
|
* </p>
|
|
2894
2893
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
2894
|
+
* @public
|
|
2895
2895
|
*/
|
|
2896
2896
|
TextTransformation: TextTransformation | undefined;
|
|
2897
2897
|
}
|
|
2898
2898
|
/**
|
|
2899
|
-
* @public
|
|
2900
2899
|
* <note>
|
|
2901
2900
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
2902
2901
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -2909,10 +2908,10 @@ export interface XssMatchTuple {
|
|
|
2909
2908
|
* 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
|
|
2910
2909
|
* <code>XssMatchSet</code> contains more than one <code>XssMatchTuple</code> object, a request needs to
|
|
2911
2910
|
* include cross-site scripting attacks in only one of the specified parts of the request to be considered a match.</p>
|
|
2911
|
+
* @public
|
|
2912
2912
|
*/
|
|
2913
2913
|
export interface XssMatchSet {
|
|
2914
2914
|
/**
|
|
2915
|
-
* @public
|
|
2916
2915
|
* <p>A unique identifier for an <code>XssMatchSet</code>. You use <code>XssMatchSetId</code> to get information about an
|
|
2917
2916
|
* <code>XssMatchSet</code> (see <a>GetXssMatchSet</a>), update an <code>XssMatchSet</code>
|
|
2918
2917
|
* (see <a>UpdateXssMatchSet</a>), insert an <code>XssMatchSet</code> into a <code>Rule</code> or
|
|
@@ -2920,33 +2919,34 @@ export interface XssMatchSet {
|
|
|
2920
2919
|
* (see <a>DeleteXssMatchSet</a>).</p>
|
|
2921
2920
|
* <p>
|
|
2922
2921
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
2922
|
+
* @public
|
|
2923
2923
|
*/
|
|
2924
2924
|
XssMatchSetId: string | undefined;
|
|
2925
2925
|
/**
|
|
2926
|
-
* @public
|
|
2927
2926
|
* <p>The name, if any, of the <code>XssMatchSet</code>.</p>
|
|
2927
|
+
* @public
|
|
2928
2928
|
*/
|
|
2929
2929
|
Name?: string;
|
|
2930
2930
|
/**
|
|
2931
|
-
* @public
|
|
2932
2931
|
* <p>Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.</p>
|
|
2932
|
+
* @public
|
|
2933
2933
|
*/
|
|
2934
2934
|
XssMatchTuples: XssMatchTuple[] | undefined;
|
|
2935
2935
|
}
|
|
2936
2936
|
/**
|
|
2937
|
-
* @public
|
|
2938
2937
|
* <p>The response to a <code>CreateXssMatchSet</code> request.</p>
|
|
2938
|
+
* @public
|
|
2939
2939
|
*/
|
|
2940
2940
|
export interface CreateXssMatchSetResponse {
|
|
2941
2941
|
/**
|
|
2942
|
-
* @public
|
|
2943
2942
|
* <p>An <a>XssMatchSet</a>.</p>
|
|
2943
|
+
* @public
|
|
2944
2944
|
*/
|
|
2945
2945
|
XssMatchSet?: XssMatchSet;
|
|
2946
2946
|
/**
|
|
2947
|
-
* @public
|
|
2948
2947
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>CreateXssMatchSet</code> request. You can also use this value
|
|
2949
2948
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2949
|
+
* @public
|
|
2950
2950
|
*/
|
|
2951
2951
|
ChangeToken?: string;
|
|
2952
2952
|
}
|
|
@@ -2955,14 +2955,14 @@ export interface CreateXssMatchSetResponse {
|
|
|
2955
2955
|
*/
|
|
2956
2956
|
export interface DeleteByteMatchSetRequest {
|
|
2957
2957
|
/**
|
|
2958
|
-
* @public
|
|
2959
2958
|
* <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
|
|
2960
2959
|
* <a>ListByteMatchSets</a>.</p>
|
|
2960
|
+
* @public
|
|
2961
2961
|
*/
|
|
2962
2962
|
ByteMatchSetId: string | undefined;
|
|
2963
2963
|
/**
|
|
2964
|
-
* @public
|
|
2965
2964
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
2965
|
+
* @public
|
|
2966
2966
|
*/
|
|
2967
2967
|
ChangeToken: string | undefined;
|
|
2968
2968
|
}
|
|
@@ -2971,14 +2971,13 @@ export interface DeleteByteMatchSetRequest {
|
|
|
2971
2971
|
*/
|
|
2972
2972
|
export interface DeleteByteMatchSetResponse {
|
|
2973
2973
|
/**
|
|
2974
|
-
* @public
|
|
2975
2974
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteByteMatchSet</code> request. You can also use this value
|
|
2976
2975
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
2976
|
+
* @public
|
|
2977
2977
|
*/
|
|
2978
2978
|
ChangeToken?: string;
|
|
2979
2979
|
}
|
|
2980
2980
|
/**
|
|
2981
|
-
* @public
|
|
2982
2981
|
* <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
|
|
2983
2982
|
* <ul>
|
|
2984
2983
|
* <li>
|
|
@@ -2995,6 +2994,7 @@ export interface DeleteByteMatchSetResponse {
|
|
|
2995
2994
|
* <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
|
|
2996
2995
|
* </li>
|
|
2997
2996
|
* </ul>
|
|
2997
|
+
* @public
|
|
2998
2998
|
*/
|
|
2999
2999
|
export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
3000
3000
|
readonly name: "WAFNonEmptyEntityException";
|
|
@@ -3005,7 +3005,6 @@ export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
|
3005
3005
|
constructor(opts: __ExceptionOptionType<WAFNonEmptyEntityException, __BaseException>);
|
|
3006
3006
|
}
|
|
3007
3007
|
/**
|
|
3008
|
-
* @public
|
|
3009
3008
|
* <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
|
|
3010
3009
|
* <ul>
|
|
3011
3010
|
* <li>
|
|
@@ -3015,6 +3014,7 @@ export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
|
3015
3014
|
* <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
|
|
3016
3015
|
* </li>
|
|
3017
3016
|
* </ul>
|
|
3017
|
+
* @public
|
|
3018
3018
|
*/
|
|
3019
3019
|
export declare class WAFReferencedItemException extends __BaseException {
|
|
3020
3020
|
readonly name: "WAFReferencedItemException";
|
|
@@ -3029,14 +3029,14 @@ export declare class WAFReferencedItemException extends __BaseException {
|
|
|
3029
3029
|
*/
|
|
3030
3030
|
export interface DeleteGeoMatchSetRequest {
|
|
3031
3031
|
/**
|
|
3032
|
-
* @public
|
|
3033
3032
|
* <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
|
|
3034
3033
|
* <a>ListGeoMatchSets</a>.</p>
|
|
3034
|
+
* @public
|
|
3035
3035
|
*/
|
|
3036
3036
|
GeoMatchSetId: string | undefined;
|
|
3037
3037
|
/**
|
|
3038
|
-
* @public
|
|
3039
3038
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3039
|
+
* @public
|
|
3040
3040
|
*/
|
|
3041
3041
|
ChangeToken: string | undefined;
|
|
3042
3042
|
}
|
|
@@ -3045,9 +3045,9 @@ export interface DeleteGeoMatchSetRequest {
|
|
|
3045
3045
|
*/
|
|
3046
3046
|
export interface DeleteGeoMatchSetResponse {
|
|
3047
3047
|
/**
|
|
3048
|
-
* @public
|
|
3049
3048
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteGeoMatchSet</code> request. You can also use this value
|
|
3050
3049
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3050
|
+
* @public
|
|
3051
3051
|
*/
|
|
3052
3052
|
ChangeToken?: string;
|
|
3053
3053
|
}
|
|
@@ -3056,14 +3056,14 @@ export interface DeleteGeoMatchSetResponse {
|
|
|
3056
3056
|
*/
|
|
3057
3057
|
export interface DeleteIPSetRequest {
|
|
3058
3058
|
/**
|
|
3059
|
-
* @public
|
|
3060
3059
|
* <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
|
|
3061
3060
|
* <a>ListIPSets</a>.</p>
|
|
3061
|
+
* @public
|
|
3062
3062
|
*/
|
|
3063
3063
|
IPSetId: string | undefined;
|
|
3064
3064
|
/**
|
|
3065
|
-
* @public
|
|
3066
3065
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3066
|
+
* @public
|
|
3067
3067
|
*/
|
|
3068
3068
|
ChangeToken: string | undefined;
|
|
3069
3069
|
}
|
|
@@ -3072,9 +3072,9 @@ export interface DeleteIPSetRequest {
|
|
|
3072
3072
|
*/
|
|
3073
3073
|
export interface DeleteIPSetResponse {
|
|
3074
3074
|
/**
|
|
3075
|
-
* @public
|
|
3076
3075
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteIPSet</code> request. You can also use this value
|
|
3077
3076
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3077
|
+
* @public
|
|
3078
3078
|
*/
|
|
3079
3079
|
ChangeToken?: string;
|
|
3080
3080
|
}
|
|
@@ -3083,8 +3083,8 @@ export interface DeleteIPSetResponse {
|
|
|
3083
3083
|
*/
|
|
3084
3084
|
export interface DeleteLoggingConfigurationRequest {
|
|
3085
3085
|
/**
|
|
3086
|
-
* @public
|
|
3087
3086
|
* <p>The Amazon Resource Name (ARN) of the web ACL from which you want to delete the <a>LoggingConfiguration</a>.</p>
|
|
3087
|
+
* @public
|
|
3088
3088
|
*/
|
|
3089
3089
|
ResourceArn: string | undefined;
|
|
3090
3090
|
}
|
|
@@ -3098,9 +3098,9 @@ export interface DeleteLoggingConfigurationResponse {
|
|
|
3098
3098
|
*/
|
|
3099
3099
|
export interface DeletePermissionPolicyRequest {
|
|
3100
3100
|
/**
|
|
3101
|
-
* @public
|
|
3102
3101
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup from which you want to delete the policy.</p>
|
|
3103
3102
|
* <p>The user making the request must be the owner of the RuleGroup.</p>
|
|
3103
|
+
* @public
|
|
3104
3104
|
*/
|
|
3105
3105
|
ResourceArn: string | undefined;
|
|
3106
3106
|
}
|
|
@@ -3114,15 +3114,15 @@ export interface DeletePermissionPolicyResponse {
|
|
|
3114
3114
|
*/
|
|
3115
3115
|
export interface DeleteRateBasedRuleRequest {
|
|
3116
3116
|
/**
|
|
3117
|
-
* @public
|
|
3118
3117
|
* <p>The <code>RuleId</code> of the <a>RateBasedRule</a> that you want to
|
|
3119
3118
|
* delete. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by
|
|
3120
3119
|
* <a>ListRateBasedRules</a>.</p>
|
|
3120
|
+
* @public
|
|
3121
3121
|
*/
|
|
3122
3122
|
RuleId: string | undefined;
|
|
3123
3123
|
/**
|
|
3124
|
-
* @public
|
|
3125
3124
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3125
|
+
* @public
|
|
3126
3126
|
*/
|
|
3127
3127
|
ChangeToken: string | undefined;
|
|
3128
3128
|
}
|
|
@@ -3131,10 +3131,10 @@ export interface DeleteRateBasedRuleRequest {
|
|
|
3131
3131
|
*/
|
|
3132
3132
|
export interface DeleteRateBasedRuleResponse {
|
|
3133
3133
|
/**
|
|
3134
|
-
* @public
|
|
3135
3134
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
3136
3135
|
* <code>DeleteRateBasedRule</code> request. You can also use this value to query the
|
|
3137
3136
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3137
|
+
* @public
|
|
3138
3138
|
*/
|
|
3139
3139
|
ChangeToken?: string;
|
|
3140
3140
|
}
|
|
@@ -3143,14 +3143,14 @@ export interface DeleteRateBasedRuleResponse {
|
|
|
3143
3143
|
*/
|
|
3144
3144
|
export interface DeleteRegexMatchSetRequest {
|
|
3145
3145
|
/**
|
|
3146
|
-
* @public
|
|
3147
3146
|
* <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
|
|
3148
3147
|
* <a>ListRegexMatchSets</a>.</p>
|
|
3148
|
+
* @public
|
|
3149
3149
|
*/
|
|
3150
3150
|
RegexMatchSetId: string | undefined;
|
|
3151
3151
|
/**
|
|
3152
|
-
* @public
|
|
3153
3152
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3153
|
+
* @public
|
|
3154
3154
|
*/
|
|
3155
3155
|
ChangeToken: string | undefined;
|
|
3156
3156
|
}
|
|
@@ -3159,9 +3159,9 @@ export interface DeleteRegexMatchSetRequest {
|
|
|
3159
3159
|
*/
|
|
3160
3160
|
export interface DeleteRegexMatchSetResponse {
|
|
3161
3161
|
/**
|
|
3162
|
-
* @public
|
|
3163
3162
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexMatchSet</code> request. You can also use this value
|
|
3164
3163
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3164
|
+
* @public
|
|
3165
3165
|
*/
|
|
3166
3166
|
ChangeToken?: string;
|
|
3167
3167
|
}
|
|
@@ -3170,14 +3170,14 @@ export interface DeleteRegexMatchSetResponse {
|
|
|
3170
3170
|
*/
|
|
3171
3171
|
export interface DeleteRegexPatternSetRequest {
|
|
3172
3172
|
/**
|
|
3173
|
-
* @public
|
|
3174
3173
|
* <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
|
|
3175
3174
|
* <a>ListRegexPatternSets</a>.</p>
|
|
3175
|
+
* @public
|
|
3176
3176
|
*/
|
|
3177
3177
|
RegexPatternSetId: string | undefined;
|
|
3178
3178
|
/**
|
|
3179
|
-
* @public
|
|
3180
3179
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3180
|
+
* @public
|
|
3181
3181
|
*/
|
|
3182
3182
|
ChangeToken: string | undefined;
|
|
3183
3183
|
}
|
|
@@ -3186,9 +3186,9 @@ export interface DeleteRegexPatternSetRequest {
|
|
|
3186
3186
|
*/
|
|
3187
3187
|
export interface DeleteRegexPatternSetResponse {
|
|
3188
3188
|
/**
|
|
3189
|
-
* @public
|
|
3190
3189
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRegexPatternSet</code> request. You can also use this value
|
|
3191
3190
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3191
|
+
* @public
|
|
3192
3192
|
*/
|
|
3193
3193
|
ChangeToken?: string;
|
|
3194
3194
|
}
|
|
@@ -3197,14 +3197,14 @@ export interface DeleteRegexPatternSetResponse {
|
|
|
3197
3197
|
*/
|
|
3198
3198
|
export interface DeleteRuleRequest {
|
|
3199
3199
|
/**
|
|
3200
|
-
* @public
|
|
3201
3200
|
* <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
|
|
3202
3201
|
* <a>ListRules</a>.</p>
|
|
3202
|
+
* @public
|
|
3203
3203
|
*/
|
|
3204
3204
|
RuleId: string | undefined;
|
|
3205
3205
|
/**
|
|
3206
|
-
* @public
|
|
3207
3206
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3207
|
+
* @public
|
|
3208
3208
|
*/
|
|
3209
3209
|
ChangeToken: string | undefined;
|
|
3210
3210
|
}
|
|
@@ -3213,9 +3213,9 @@ export interface DeleteRuleRequest {
|
|
|
3213
3213
|
*/
|
|
3214
3214
|
export interface DeleteRuleResponse {
|
|
3215
3215
|
/**
|
|
3216
|
-
* @public
|
|
3217
3216
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRule</code> request. You can also use this value
|
|
3218
3217
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3218
|
+
* @public
|
|
3219
3219
|
*/
|
|
3220
3220
|
ChangeToken?: string;
|
|
3221
3221
|
}
|
|
@@ -3224,14 +3224,14 @@ export interface DeleteRuleResponse {
|
|
|
3224
3224
|
*/
|
|
3225
3225
|
export interface DeleteRuleGroupRequest {
|
|
3226
3226
|
/**
|
|
3227
|
-
* @public
|
|
3228
3227
|
* <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
|
|
3229
3228
|
* <a>ListRuleGroups</a>.</p>
|
|
3229
|
+
* @public
|
|
3230
3230
|
*/
|
|
3231
3231
|
RuleGroupId: string | undefined;
|
|
3232
3232
|
/**
|
|
3233
|
-
* @public
|
|
3234
3233
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3234
|
+
* @public
|
|
3235
3235
|
*/
|
|
3236
3236
|
ChangeToken: string | undefined;
|
|
3237
3237
|
}
|
|
@@ -3240,9 +3240,9 @@ export interface DeleteRuleGroupRequest {
|
|
|
3240
3240
|
*/
|
|
3241
3241
|
export interface DeleteRuleGroupResponse {
|
|
3242
3242
|
/**
|
|
3243
|
-
* @public
|
|
3244
3243
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteRuleGroup</code> request. You can also use this value
|
|
3245
3244
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3245
|
+
* @public
|
|
3246
3246
|
*/
|
|
3247
3247
|
ChangeToken?: string;
|
|
3248
3248
|
}
|
|
@@ -3251,14 +3251,14 @@ export interface DeleteRuleGroupResponse {
|
|
|
3251
3251
|
*/
|
|
3252
3252
|
export interface DeleteSizeConstraintSetRequest {
|
|
3253
3253
|
/**
|
|
3254
|
-
* @public
|
|
3255
3254
|
* <p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to delete. <code>SizeConstraintSetId</code>
|
|
3256
3255
|
* is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
3256
|
+
* @public
|
|
3257
3257
|
*/
|
|
3258
3258
|
SizeConstraintSetId: string | undefined;
|
|
3259
3259
|
/**
|
|
3260
|
-
* @public
|
|
3261
3260
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3261
|
+
* @public
|
|
3262
3262
|
*/
|
|
3263
3263
|
ChangeToken: string | undefined;
|
|
3264
3264
|
}
|
|
@@ -3267,38 +3267,38 @@ export interface DeleteSizeConstraintSetRequest {
|
|
|
3267
3267
|
*/
|
|
3268
3268
|
export interface DeleteSizeConstraintSetResponse {
|
|
3269
3269
|
/**
|
|
3270
|
-
* @public
|
|
3271
3270
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteSizeConstraintSet</code> request. You can also use this value
|
|
3272
3271
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3272
|
+
* @public
|
|
3273
3273
|
*/
|
|
3274
3274
|
ChangeToken?: string;
|
|
3275
3275
|
}
|
|
3276
3276
|
/**
|
|
3277
|
-
* @public
|
|
3278
3277
|
* <p>A request to delete a <a>SqlInjectionMatchSet</a> from AWS WAF.</p>
|
|
3278
|
+
* @public
|
|
3279
3279
|
*/
|
|
3280
3280
|
export interface DeleteSqlInjectionMatchSetRequest {
|
|
3281
3281
|
/**
|
|
3282
|
-
* @public
|
|
3283
3282
|
* <p>The <code>SqlInjectionMatchSetId</code> of the <a>SqlInjectionMatchSet</a> that you want to delete.
|
|
3284
3283
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
3284
|
+
* @public
|
|
3285
3285
|
*/
|
|
3286
3286
|
SqlInjectionMatchSetId: string | undefined;
|
|
3287
3287
|
/**
|
|
3288
|
-
* @public
|
|
3289
3288
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3289
|
+
* @public
|
|
3290
3290
|
*/
|
|
3291
3291
|
ChangeToken: string | undefined;
|
|
3292
3292
|
}
|
|
3293
3293
|
/**
|
|
3294
|
-
* @public
|
|
3295
3294
|
* <p>The response to a request to delete a <a>SqlInjectionMatchSet</a> from AWS WAF.</p>
|
|
3295
|
+
* @public
|
|
3296
3296
|
*/
|
|
3297
3297
|
export interface DeleteSqlInjectionMatchSetResponse {
|
|
3298
3298
|
/**
|
|
3299
|
-
* @public
|
|
3300
3299
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteSqlInjectionMatchSet</code> request. You can also use this value
|
|
3301
3300
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3301
|
+
* @public
|
|
3302
3302
|
*/
|
|
3303
3303
|
ChangeToken?: string;
|
|
3304
3304
|
}
|
|
@@ -3307,14 +3307,14 @@ export interface DeleteSqlInjectionMatchSetResponse {
|
|
|
3307
3307
|
*/
|
|
3308
3308
|
export interface DeleteWebACLRequest {
|
|
3309
3309
|
/**
|
|
3310
|
-
* @public
|
|
3311
3310
|
* <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
|
|
3312
3311
|
* <a>ListWebACLs</a>.</p>
|
|
3312
|
+
* @public
|
|
3313
3313
|
*/
|
|
3314
3314
|
WebACLId: string | undefined;
|
|
3315
3315
|
/**
|
|
3316
|
-
* @public
|
|
3317
3316
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3317
|
+
* @public
|
|
3318
3318
|
*/
|
|
3319
3319
|
ChangeToken: string | undefined;
|
|
3320
3320
|
}
|
|
@@ -3323,38 +3323,38 @@ export interface DeleteWebACLRequest {
|
|
|
3323
3323
|
*/
|
|
3324
3324
|
export interface DeleteWebACLResponse {
|
|
3325
3325
|
/**
|
|
3326
|
-
* @public
|
|
3327
3326
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteWebACL</code> request. You can also use this value
|
|
3328
3327
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3328
|
+
* @public
|
|
3329
3329
|
*/
|
|
3330
3330
|
ChangeToken?: string;
|
|
3331
3331
|
}
|
|
3332
3332
|
/**
|
|
3333
|
-
* @public
|
|
3334
3333
|
* <p>A request to delete an <a>XssMatchSet</a> from AWS WAF.</p>
|
|
3334
|
+
* @public
|
|
3335
3335
|
*/
|
|
3336
3336
|
export interface DeleteXssMatchSetRequest {
|
|
3337
3337
|
/**
|
|
3338
|
-
* @public
|
|
3339
3338
|
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to delete.
|
|
3340
3339
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
3340
|
+
* @public
|
|
3341
3341
|
*/
|
|
3342
3342
|
XssMatchSetId: string | undefined;
|
|
3343
3343
|
/**
|
|
3344
|
-
* @public
|
|
3345
3344
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
3345
|
+
* @public
|
|
3346
3346
|
*/
|
|
3347
3347
|
ChangeToken: string | undefined;
|
|
3348
3348
|
}
|
|
3349
3349
|
/**
|
|
3350
|
-
* @public
|
|
3351
3350
|
* <p>The response to a request to delete an <a>XssMatchSet</a> from AWS WAF.</p>
|
|
3351
|
+
* @public
|
|
3352
3352
|
*/
|
|
3353
3353
|
export interface DeleteXssMatchSetResponse {
|
|
3354
3354
|
/**
|
|
3355
|
-
* @public
|
|
3356
3355
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>DeleteXssMatchSet</code> request. You can also use this value
|
|
3357
3356
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
3357
|
+
* @public
|
|
3358
3358
|
*/
|
|
3359
3359
|
ChangeToken?: string;
|
|
3360
3360
|
}
|
|
@@ -3363,7 +3363,6 @@ export interface DeleteXssMatchSetResponse {
|
|
|
3363
3363
|
*/
|
|
3364
3364
|
export interface DisassociateWebACLRequest {
|
|
3365
3365
|
/**
|
|
3366
|
-
* @public
|
|
3367
3366
|
* <p>The ARN (Amazon Resource Name) of the resource from which the web ACL is being removed, either an application load balancer or Amazon API Gateway stage.</p>
|
|
3368
3367
|
* <p>The ARN should be in one of the following formats:</p>
|
|
3369
3368
|
* <ul>
|
|
@@ -3378,6 +3377,7 @@ export interface DisassociateWebACLRequest {
|
|
|
3378
3377
|
* </p>
|
|
3379
3378
|
* </li>
|
|
3380
3379
|
* </ul>
|
|
3380
|
+
* @public
|
|
3381
3381
|
*/
|
|
3382
3382
|
ResourceArn: string | undefined;
|
|
3383
3383
|
}
|
|
@@ -3391,9 +3391,9 @@ export interface DisassociateWebACLResponse {
|
|
|
3391
3391
|
*/
|
|
3392
3392
|
export interface GetByteMatchSetRequest {
|
|
3393
3393
|
/**
|
|
3394
|
-
* @public
|
|
3395
3394
|
* <p>The <code>ByteMatchSetId</code> of the <a>ByteMatchSet</a> that you want to get. <code>ByteMatchSetId</code> is returned by
|
|
3396
3395
|
* <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>
|
|
3396
|
+
* @public
|
|
3397
3397
|
*/
|
|
3398
3398
|
ByteMatchSetId: string | undefined;
|
|
3399
3399
|
}
|
|
@@ -3402,7 +3402,6 @@ export interface GetByteMatchSetRequest {
|
|
|
3402
3402
|
*/
|
|
3403
3403
|
export interface GetByteMatchSetResponse {
|
|
3404
3404
|
/**
|
|
3405
|
-
* @public
|
|
3406
3405
|
* <p>Information about the <a>ByteMatchSet</a> that you specified in the <code>GetByteMatchSet</code> request. For more information, see the
|
|
3407
3406
|
* following topics:</p>
|
|
3408
3407
|
* <ul>
|
|
@@ -3424,6 +3423,7 @@ export interface GetByteMatchSetResponse {
|
|
|
3424
3423
|
* </p>
|
|
3425
3424
|
* </li>
|
|
3426
3425
|
* </ul>
|
|
3426
|
+
* @public
|
|
3427
3427
|
*/
|
|
3428
3428
|
ByteMatchSet?: ByteMatchSet;
|
|
3429
3429
|
}
|
|
@@ -3437,9 +3437,9 @@ export interface GetChangeTokenRequest {
|
|
|
3437
3437
|
*/
|
|
3438
3438
|
export interface GetChangeTokenResponse {
|
|
3439
3439
|
/**
|
|
3440
|
-
* @public
|
|
3441
3440
|
* <p>The <code>ChangeToken</code> that you used in the request. Use this value in a <code>GetChangeTokenStatus</code> request
|
|
3442
3441
|
* to get the current status of the request. </p>
|
|
3442
|
+
* @public
|
|
3443
3443
|
*/
|
|
3444
3444
|
ChangeToken?: string;
|
|
3445
3445
|
}
|
|
@@ -3448,8 +3448,8 @@ export interface GetChangeTokenResponse {
|
|
|
3448
3448
|
*/
|
|
3449
3449
|
export interface GetChangeTokenStatusRequest {
|
|
3450
3450
|
/**
|
|
3451
|
-
* @public
|
|
3452
3451
|
* <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>
|
|
3452
|
+
* @public
|
|
3453
3453
|
*/
|
|
3454
3454
|
ChangeToken: string | undefined;
|
|
3455
3455
|
}
|
|
@@ -3471,8 +3471,8 @@ export type ChangeTokenStatus = (typeof ChangeTokenStatus)[keyof typeof ChangeTo
|
|
|
3471
3471
|
*/
|
|
3472
3472
|
export interface GetChangeTokenStatusResponse {
|
|
3473
3473
|
/**
|
|
3474
|
-
* @public
|
|
3475
3474
|
* <p>The status of the change token.</p>
|
|
3475
|
+
* @public
|
|
3476
3476
|
*/
|
|
3477
3477
|
ChangeTokenStatus?: ChangeTokenStatus;
|
|
3478
3478
|
}
|
|
@@ -3481,9 +3481,9 @@ export interface GetChangeTokenStatusResponse {
|
|
|
3481
3481
|
*/
|
|
3482
3482
|
export interface GetGeoMatchSetRequest {
|
|
3483
3483
|
/**
|
|
3484
|
-
* @public
|
|
3485
3484
|
* <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
|
|
3486
3485
|
* <a>ListGeoMatchSets</a>.</p>
|
|
3486
|
+
* @public
|
|
3487
3487
|
*/
|
|
3488
3488
|
GeoMatchSetId: string | undefined;
|
|
3489
3489
|
}
|
|
@@ -3492,8 +3492,8 @@ export interface GetGeoMatchSetRequest {
|
|
|
3492
3492
|
*/
|
|
3493
3493
|
export interface GetGeoMatchSetResponse {
|
|
3494
3494
|
/**
|
|
3495
|
-
* @public
|
|
3496
3495
|
* <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>
|
|
3496
|
+
* @public
|
|
3497
3497
|
*/
|
|
3498
3498
|
GeoMatchSet?: GeoMatchSet;
|
|
3499
3499
|
}
|
|
@@ -3502,9 +3502,9 @@ export interface GetGeoMatchSetResponse {
|
|
|
3502
3502
|
*/
|
|
3503
3503
|
export interface GetIPSetRequest {
|
|
3504
3504
|
/**
|
|
3505
|
-
* @public
|
|
3506
3505
|
* <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
|
|
3507
3506
|
* <a>ListIPSets</a>.</p>
|
|
3507
|
+
* @public
|
|
3508
3508
|
*/
|
|
3509
3509
|
IPSetId: string | undefined;
|
|
3510
3510
|
}
|
|
@@ -3513,7 +3513,6 @@ export interface GetIPSetRequest {
|
|
|
3513
3513
|
*/
|
|
3514
3514
|
export interface GetIPSetResponse {
|
|
3515
3515
|
/**
|
|
3516
|
-
* @public
|
|
3517
3516
|
* <p>Information about the <a>IPSet</a> that you specified in the <code>GetIPSet</code> request. For more information, see the
|
|
3518
3517
|
* following topics:</p>
|
|
3519
3518
|
* <ul>
|
|
@@ -3529,6 +3528,7 @@ export interface GetIPSetResponse {
|
|
|
3529
3528
|
* </p>
|
|
3530
3529
|
* </li>
|
|
3531
3530
|
* </ul>
|
|
3531
|
+
* @public
|
|
3532
3532
|
*/
|
|
3533
3533
|
IPSet?: IPSet;
|
|
3534
3534
|
}
|
|
@@ -3537,13 +3537,12 @@ export interface GetIPSetResponse {
|
|
|
3537
3537
|
*/
|
|
3538
3538
|
export interface GetLoggingConfigurationRequest {
|
|
3539
3539
|
/**
|
|
3540
|
-
* @public
|
|
3541
3540
|
* <p>The Amazon Resource Name (ARN) of the web ACL for which you want to get the <a>LoggingConfiguration</a>.</p>
|
|
3541
|
+
* @public
|
|
3542
3542
|
*/
|
|
3543
3543
|
ResourceArn: string | undefined;
|
|
3544
3544
|
}
|
|
3545
3545
|
/**
|
|
3546
|
-
* @public
|
|
3547
3546
|
* <note>
|
|
3548
3547
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3549
3548
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3554,25 +3553,26 @@ export interface GetLoggingConfigurationRequest {
|
|
|
3554
3553
|
* </note>
|
|
3555
3554
|
* <p>The Amazon Kinesis Data Firehose, <code>RedactedFields</code>
|
|
3556
3555
|
* information, and the web ACL Amazon Resource Name (ARN).</p>
|
|
3556
|
+
* @public
|
|
3557
3557
|
*/
|
|
3558
3558
|
export interface LoggingConfiguration {
|
|
3559
3559
|
/**
|
|
3560
|
-
* @public
|
|
3561
3560
|
* <p>The Amazon Resource Name (ARN) of the web ACL that you want to associate with
|
|
3562
3561
|
* <code>LogDestinationConfigs</code>.</p>
|
|
3562
|
+
* @public
|
|
3563
3563
|
*/
|
|
3564
3564
|
ResourceArn: string | undefined;
|
|
3565
3565
|
/**
|
|
3566
|
-
* @public
|
|
3567
3566
|
* <p>An array of Amazon Kinesis Data Firehose ARNs.</p>
|
|
3567
|
+
* @public
|
|
3568
3568
|
*/
|
|
3569
3569
|
LogDestinationConfigs: string[] | undefined;
|
|
3570
3570
|
/**
|
|
3571
|
-
* @public
|
|
3572
3571
|
* <p>The parts of the request that you want redacted from the logs. For
|
|
3573
3572
|
* example,
|
|
3574
3573
|
* if you redact the cookie field, the cookie field in the firehose will be
|
|
3575
3574
|
* <code>xxx</code>. </p>
|
|
3575
|
+
* @public
|
|
3576
3576
|
*/
|
|
3577
3577
|
RedactedFields?: FieldToMatch[];
|
|
3578
3578
|
}
|
|
@@ -3581,8 +3581,8 @@ export interface LoggingConfiguration {
|
|
|
3581
3581
|
*/
|
|
3582
3582
|
export interface GetLoggingConfigurationResponse {
|
|
3583
3583
|
/**
|
|
3584
|
-
* @public
|
|
3585
3584
|
* <p>The <a>LoggingConfiguration</a> for the specified web ACL.</p>
|
|
3585
|
+
* @public
|
|
3586
3586
|
*/
|
|
3587
3587
|
LoggingConfiguration?: LoggingConfiguration;
|
|
3588
3588
|
}
|
|
@@ -3591,8 +3591,8 @@ export interface GetLoggingConfigurationResponse {
|
|
|
3591
3591
|
*/
|
|
3592
3592
|
export interface GetPermissionPolicyRequest {
|
|
3593
3593
|
/**
|
|
3594
|
-
* @public
|
|
3595
3594
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.</p>
|
|
3595
|
+
* @public
|
|
3596
3596
|
*/
|
|
3597
3597
|
ResourceArn: string | undefined;
|
|
3598
3598
|
}
|
|
@@ -3601,8 +3601,8 @@ export interface GetPermissionPolicyRequest {
|
|
|
3601
3601
|
*/
|
|
3602
3602
|
export interface GetPermissionPolicyResponse {
|
|
3603
3603
|
/**
|
|
3604
|
-
* @public
|
|
3605
3604
|
* <p>The IAM policy attached to the specified RuleGroup.</p>
|
|
3605
|
+
* @public
|
|
3606
3606
|
*/
|
|
3607
3607
|
Policy?: string;
|
|
3608
3608
|
}
|
|
@@ -3611,9 +3611,9 @@ export interface GetPermissionPolicyResponse {
|
|
|
3611
3611
|
*/
|
|
3612
3612
|
export interface GetRateBasedRuleRequest {
|
|
3613
3613
|
/**
|
|
3614
|
-
* @public
|
|
3615
3614
|
* <p>The <code>RuleId</code> of the <a>RateBasedRule</a> that you want to get.
|
|
3616
3615
|
* <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>
|
|
3616
|
+
* @public
|
|
3617
3617
|
*/
|
|
3618
3618
|
RuleId: string | undefined;
|
|
3619
3619
|
}
|
|
@@ -3622,9 +3622,9 @@ export interface GetRateBasedRuleRequest {
|
|
|
3622
3622
|
*/
|
|
3623
3623
|
export interface GetRateBasedRuleResponse {
|
|
3624
3624
|
/**
|
|
3625
|
-
* @public
|
|
3626
3625
|
* <p>Information about the <a>RateBasedRule</a> that you specified in the
|
|
3627
3626
|
* <code>GetRateBasedRule</code> request.</p>
|
|
3627
|
+
* @public
|
|
3628
3628
|
*/
|
|
3629
3629
|
Rule?: RateBasedRule;
|
|
3630
3630
|
}
|
|
@@ -3633,14 +3633,14 @@ export interface GetRateBasedRuleResponse {
|
|
|
3633
3633
|
*/
|
|
3634
3634
|
export interface GetRateBasedRuleManagedKeysRequest {
|
|
3635
3635
|
/**
|
|
3636
|
-
* @public
|
|
3637
3636
|
* <p>The <code>RuleId</code> of the <a>RateBasedRule</a> for which you want to
|
|
3638
3637
|
* get a list of <code>ManagedKeys</code>. <code>RuleId</code> is returned by <a>CreateRateBasedRule</a> and by <a>ListRateBasedRules</a>.</p>
|
|
3638
|
+
* @public
|
|
3639
3639
|
*/
|
|
3640
3640
|
RuleId: string | undefined;
|
|
3641
3641
|
/**
|
|
3642
|
-
* @public
|
|
3643
3642
|
* <p>A null value and not currently used. Do not include this in your request.</p>
|
|
3643
|
+
* @public
|
|
3644
3644
|
*/
|
|
3645
3645
|
NextMarker?: string;
|
|
3646
3646
|
}
|
|
@@ -3649,13 +3649,13 @@ export interface GetRateBasedRuleManagedKeysRequest {
|
|
|
3649
3649
|
*/
|
|
3650
3650
|
export interface GetRateBasedRuleManagedKeysResponse {
|
|
3651
3651
|
/**
|
|
3652
|
-
* @public
|
|
3653
3652
|
* <p>An array of IP addresses that currently are blocked by the specified <a>RateBasedRule</a>. </p>
|
|
3653
|
+
* @public
|
|
3654
3654
|
*/
|
|
3655
3655
|
ManagedKeys?: string[];
|
|
3656
3656
|
/**
|
|
3657
|
-
* @public
|
|
3658
3657
|
* <p>A null value and not currently used.</p>
|
|
3658
|
+
* @public
|
|
3659
3659
|
*/
|
|
3660
3660
|
NextMarker?: string;
|
|
3661
3661
|
}
|
|
@@ -3664,9 +3664,9 @@ export interface GetRateBasedRuleManagedKeysResponse {
|
|
|
3664
3664
|
*/
|
|
3665
3665
|
export interface GetRegexMatchSetRequest {
|
|
3666
3666
|
/**
|
|
3667
|
-
* @public
|
|
3668
3667
|
* <p>The <code>RegexMatchSetId</code> of the <a>RegexMatchSet</a> that you want to get. <code>RegexMatchSetId</code> is returned by
|
|
3669
3668
|
* <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>
|
|
3669
|
+
* @public
|
|
3670
3670
|
*/
|
|
3671
3671
|
RegexMatchSetId: string | undefined;
|
|
3672
3672
|
}
|
|
@@ -3675,8 +3675,8 @@ export interface GetRegexMatchSetRequest {
|
|
|
3675
3675
|
*/
|
|
3676
3676
|
export interface GetRegexMatchSetResponse {
|
|
3677
3677
|
/**
|
|
3678
|
-
* @public
|
|
3679
3678
|
* <p>Information about the <a>RegexMatchSet</a> that you specified in the <code>GetRegexMatchSet</code> request. For more information, see <a>RegexMatchTuple</a>.</p>
|
|
3679
|
+
* @public
|
|
3680
3680
|
*/
|
|
3681
3681
|
RegexMatchSet?: RegexMatchSet;
|
|
3682
3682
|
}
|
|
@@ -3685,9 +3685,9 @@ export interface GetRegexMatchSetResponse {
|
|
|
3685
3685
|
*/
|
|
3686
3686
|
export interface GetRegexPatternSetRequest {
|
|
3687
3687
|
/**
|
|
3688
|
-
* @public
|
|
3689
3688
|
* <p>The <code>RegexPatternSetId</code> of the <a>RegexPatternSet</a> that you want to get. <code>RegexPatternSetId</code> is returned by
|
|
3690
3689
|
* <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
3690
|
+
* @public
|
|
3691
3691
|
*/
|
|
3692
3692
|
RegexPatternSetId: string | undefined;
|
|
3693
3693
|
}
|
|
@@ -3696,8 +3696,8 @@ export interface GetRegexPatternSetRequest {
|
|
|
3696
3696
|
*/
|
|
3697
3697
|
export interface GetRegexPatternSetResponse {
|
|
3698
3698
|
/**
|
|
3699
|
-
* @public
|
|
3700
3699
|
* <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>
|
|
3700
|
+
* @public
|
|
3701
3701
|
*/
|
|
3702
3702
|
RegexPatternSet?: RegexPatternSet;
|
|
3703
3703
|
}
|
|
@@ -3706,9 +3706,9 @@ export interface GetRegexPatternSetResponse {
|
|
|
3706
3706
|
*/
|
|
3707
3707
|
export interface GetRuleRequest {
|
|
3708
3708
|
/**
|
|
3709
|
-
* @public
|
|
3710
3709
|
* <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
|
|
3711
3710
|
* <a>ListRules</a>.</p>
|
|
3711
|
+
* @public
|
|
3712
3712
|
*/
|
|
3713
3713
|
RuleId: string | undefined;
|
|
3714
3714
|
}
|
|
@@ -3717,7 +3717,6 @@ export interface GetRuleRequest {
|
|
|
3717
3717
|
*/
|
|
3718
3718
|
export interface GetRuleResponse {
|
|
3719
3719
|
/**
|
|
3720
|
-
* @public
|
|
3721
3720
|
* <p>Information about the <a>Rule</a> that you specified in the <code>GetRule</code> request.
|
|
3722
3721
|
* For more information, see the following topics:</p>
|
|
3723
3722
|
* <ul>
|
|
@@ -3734,6 +3733,7 @@ export interface GetRuleResponse {
|
|
|
3734
3733
|
* </p>
|
|
3735
3734
|
* </li>
|
|
3736
3735
|
* </ul>
|
|
3736
|
+
* @public
|
|
3737
3737
|
*/
|
|
3738
3738
|
Rule?: Rule;
|
|
3739
3739
|
}
|
|
@@ -3742,9 +3742,9 @@ export interface GetRuleResponse {
|
|
|
3742
3742
|
*/
|
|
3743
3743
|
export interface GetRuleGroupRequest {
|
|
3744
3744
|
/**
|
|
3745
|
-
* @public
|
|
3746
3745
|
* <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
|
|
3747
3746
|
* <a>ListRuleGroups</a>.</p>
|
|
3747
|
+
* @public
|
|
3748
3748
|
*/
|
|
3749
3749
|
RuleGroupId: string | undefined;
|
|
3750
3750
|
}
|
|
@@ -3753,13 +3753,12 @@ export interface GetRuleGroupRequest {
|
|
|
3753
3753
|
*/
|
|
3754
3754
|
export interface GetRuleGroupResponse {
|
|
3755
3755
|
/**
|
|
3756
|
-
* @public
|
|
3757
3756
|
* <p>Information about the <a>RuleGroup</a> that you specified in the <code>GetRuleGroup</code> request. </p>
|
|
3757
|
+
* @public
|
|
3758
3758
|
*/
|
|
3759
3759
|
RuleGroup?: RuleGroup;
|
|
3760
3760
|
}
|
|
3761
3761
|
/**
|
|
3762
|
-
* @public
|
|
3763
3762
|
* <note>
|
|
3764
3763
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3765
3764
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3777,22 +3776,23 @@ export interface GetRuleGroupResponse {
|
|
|
3777
3776
|
* 5,000 requests that your AWS resource receives during the specified time period. If your resource receives more than 5,000
|
|
3778
3777
|
* requests during that period, AWS WAF stops sampling after the 5,000th request. In that case, <code>EndTime</code>
|
|
3779
3778
|
* is the time that AWS WAF received the 5,000th request. </p>
|
|
3779
|
+
* @public
|
|
3780
3780
|
*/
|
|
3781
3781
|
export interface TimeWindow {
|
|
3782
3782
|
/**
|
|
3783
|
-
* @public
|
|
3784
3783
|
* <p>The beginning of the time range from which you want <code>GetSampledRequests</code> to return a sample of the
|
|
3785
3784
|
* requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format.
|
|
3786
3785
|
* UTC format includes the special designator, <code>Z</code>. For example, <code>"2016-09-27T14:50Z"</code>.
|
|
3787
3786
|
* You can specify any time range in the previous three hours.</p>
|
|
3787
|
+
* @public
|
|
3788
3788
|
*/
|
|
3789
3789
|
StartTime: Date | undefined;
|
|
3790
3790
|
/**
|
|
3791
|
-
* @public
|
|
3792
3791
|
* <p>The end of the time range from which you want <code>GetSampledRequests</code> to return a sample of the
|
|
3793
3792
|
* requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format.
|
|
3794
3793
|
* UTC format includes the special designator, <code>Z</code>. For example, <code>"2016-09-27T14:50Z"</code>.
|
|
3795
3794
|
* You can specify any time range in the previous three hours.</p>
|
|
3795
|
+
* @public
|
|
3796
3796
|
*/
|
|
3797
3797
|
EndTime: Date | undefined;
|
|
3798
3798
|
}
|
|
@@ -3801,12 +3801,11 @@ export interface TimeWindow {
|
|
|
3801
3801
|
*/
|
|
3802
3802
|
export interface GetSampledRequestsRequest {
|
|
3803
3803
|
/**
|
|
3804
|
-
* @public
|
|
3805
3804
|
* <p>The <code>WebACLId</code> of the <code>WebACL</code> for which you want <code>GetSampledRequests</code> to return a sample of requests.</p>
|
|
3805
|
+
* @public
|
|
3806
3806
|
*/
|
|
3807
3807
|
WebAclId: string | undefined;
|
|
3808
3808
|
/**
|
|
3809
|
-
* @public
|
|
3810
3809
|
* <p>
|
|
3811
3810
|
* <code>RuleId</code> is one of three values:</p>
|
|
3812
3811
|
* <ul>
|
|
@@ -3819,25 +3818,25 @@ export interface GetSampledRequestsRequest {
|
|
|
3819
3818
|
* didn't match any of the rules in the specified <code>WebACL</code>.</p>
|
|
3820
3819
|
* </li>
|
|
3821
3820
|
* </ul>
|
|
3821
|
+
* @public
|
|
3822
3822
|
*/
|
|
3823
3823
|
RuleId: string | undefined;
|
|
3824
3824
|
/**
|
|
3825
|
-
* @public
|
|
3826
3825
|
* <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
|
|
3827
3826
|
* sample of requests. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special
|
|
3828
3827
|
* designator, <code>Z</code>. For example, <code>"2016-09-27T14:50Z"</code>. You can specify any time range in the previous three hours.</p>
|
|
3828
|
+
* @public
|
|
3829
3829
|
*/
|
|
3830
3830
|
TimeWindow: TimeWindow | undefined;
|
|
3831
3831
|
/**
|
|
3832
|
-
* @public
|
|
3833
3832
|
* <p>The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received
|
|
3834
3833
|
* during the time range. If your resource received fewer requests than the value of <code>MaxItems</code>, <code>GetSampledRequests</code>
|
|
3835
3834
|
* returns information about all of them. </p>
|
|
3835
|
+
* @public
|
|
3836
3836
|
*/
|
|
3837
3837
|
MaxItems: number | undefined;
|
|
3838
3838
|
}
|
|
3839
3839
|
/**
|
|
3840
|
-
* @public
|
|
3841
3840
|
* <note>
|
|
3842
3841
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3843
3842
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3849,21 +3848,21 @@ export interface GetSampledRequestsRequest {
|
|
|
3849
3848
|
* <p>The response from a <a>GetSampledRequests</a> request includes an <code>HTTPHeader</code> complex type that
|
|
3850
3849
|
* appears as <code>Headers</code> in the response syntax. <code>HTTPHeader</code> contains the names and values of
|
|
3851
3850
|
* all of the headers that appear in one of the web requests that were returned by <code>GetSampledRequests</code>. </p>
|
|
3851
|
+
* @public
|
|
3852
3852
|
*/
|
|
3853
3853
|
export interface HTTPHeader {
|
|
3854
3854
|
/**
|
|
3855
|
-
* @public
|
|
3856
3855
|
* <p>The name of one of the headers in the sampled web request.</p>
|
|
3856
|
+
* @public
|
|
3857
3857
|
*/
|
|
3858
3858
|
Name?: string;
|
|
3859
3859
|
/**
|
|
3860
|
-
* @public
|
|
3861
3860
|
* <p>The value of one of the headers in the sampled web request.</p>
|
|
3861
|
+
* @public
|
|
3862
3862
|
*/
|
|
3863
3863
|
Value?: string;
|
|
3864
3864
|
}
|
|
3865
3865
|
/**
|
|
3866
|
-
* @public
|
|
3867
3866
|
* <note>
|
|
3868
3867
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3869
3868
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3875,10 +3874,10 @@ export interface HTTPHeader {
|
|
|
3875
3874
|
* <p>The response from a <a>GetSampledRequests</a> request includes an <code>HTTPRequest</code> complex type that
|
|
3876
3875
|
* appears as <code>Request</code> in the response syntax. <code>HTTPRequest</code> contains information about
|
|
3877
3876
|
* one of the web requests that were returned by <code>GetSampledRequests</code>. </p>
|
|
3877
|
+
* @public
|
|
3878
3878
|
*/
|
|
3879
3879
|
export interface HTTPRequest {
|
|
3880
3880
|
/**
|
|
3881
|
-
* @public
|
|
3882
3881
|
* <p>The IP address that the request originated from. If the <code>WebACL</code> is associated with a CloudFront distribution,
|
|
3883
3882
|
* this is the value of one of the following fields in CloudFront access logs:</p>
|
|
3884
3883
|
* <ul>
|
|
@@ -3891,38 +3890,38 @@ export interface HTTPRequest {
|
|
|
3891
3890
|
* <code>x-forwarded-for</code>, if the viewer did use an HTTP proxy or a load balancer to send the request</p>
|
|
3892
3891
|
* </li>
|
|
3893
3892
|
* </ul>
|
|
3893
|
+
* @public
|
|
3894
3894
|
*/
|
|
3895
3895
|
ClientIP?: string;
|
|
3896
3896
|
/**
|
|
3897
|
-
* @public
|
|
3898
3897
|
* <p>The two-letter country code for the country that the request originated from. For a current list of country codes,
|
|
3899
3898
|
* see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>.</p>
|
|
3899
|
+
* @public
|
|
3900
3900
|
*/
|
|
3901
3901
|
Country?: string;
|
|
3902
3902
|
/**
|
|
3903
|
-
* @public
|
|
3904
3903
|
* <p>The part of a web request that identifies the resource, for example, <code>/images/daily-ad.jpg</code>.</p>
|
|
3904
|
+
* @public
|
|
3905
3905
|
*/
|
|
3906
3906
|
URI?: string;
|
|
3907
3907
|
/**
|
|
3908
|
-
* @public
|
|
3909
3908
|
* <p>The HTTP method specified in the sampled web request. CloudFront supports the following methods: <code>DELETE</code>,
|
|
3910
3909
|
* <code>GET</code>, <code>HEAD</code>, <code>OPTIONS</code>, <code>PATCH</code>, <code>POST</code>, and <code>PUT</code>. </p>
|
|
3910
|
+
* @public
|
|
3911
3911
|
*/
|
|
3912
3912
|
Method?: string;
|
|
3913
3913
|
/**
|
|
3914
|
-
* @public
|
|
3915
3914
|
* <p>The HTTP version specified in the sampled web request, for example, <code>HTTP/1.1</code>.</p>
|
|
3915
|
+
* @public
|
|
3916
3916
|
*/
|
|
3917
3917
|
HTTPVersion?: string;
|
|
3918
3918
|
/**
|
|
3919
|
-
* @public
|
|
3920
3919
|
* <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>
|
|
3920
|
+
* @public
|
|
3921
3921
|
*/
|
|
3922
3922
|
Headers?: HTTPHeader[];
|
|
3923
3923
|
}
|
|
3924
3924
|
/**
|
|
3925
|
-
* @public
|
|
3926
3925
|
* <note>
|
|
3927
3926
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
3928
3927
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -3934,33 +3933,34 @@ export interface HTTPRequest {
|
|
|
3934
3933
|
* <p>The response from a <a>GetSampledRequests</a> request includes a <code>SampledHTTPRequests</code> complex type that
|
|
3935
3934
|
* appears as <code>SampledRequests</code> in the response syntax. <code>SampledHTTPRequests</code> contains one
|
|
3936
3935
|
* <code>SampledHTTPRequest</code> object for each web request that is returned by <code>GetSampledRequests</code>.</p>
|
|
3936
|
+
* @public
|
|
3937
3937
|
*/
|
|
3938
3938
|
export interface SampledHTTPRequest {
|
|
3939
3939
|
/**
|
|
3940
|
-
* @public
|
|
3941
3940
|
* <p>A complex type that contains detailed information about the request.</p>
|
|
3941
|
+
* @public
|
|
3942
3942
|
*/
|
|
3943
3943
|
Request: HTTPRequest | undefined;
|
|
3944
3944
|
/**
|
|
3945
|
-
* @public
|
|
3946
3945
|
* <p>A value that indicates how one result in the response relates proportionally to other results in the response.
|
|
3947
3946
|
* A result that has a weight of <code>2</code> represents roughly twice as many CloudFront web requests as a result
|
|
3948
3947
|
* that has a weight of <code>1</code>.</p>
|
|
3948
|
+
* @public
|
|
3949
3949
|
*/
|
|
3950
3950
|
Weight: number | undefined;
|
|
3951
3951
|
/**
|
|
3952
|
-
* @public
|
|
3953
3952
|
* <p>The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).</p>
|
|
3953
|
+
* @public
|
|
3954
3954
|
*/
|
|
3955
3955
|
Timestamp?: Date;
|
|
3956
3956
|
/**
|
|
3957
|
-
* @public
|
|
3958
3957
|
* <p>The action for the <code>Rule</code> that the request matched: <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
|
|
3958
|
+
* @public
|
|
3959
3959
|
*/
|
|
3960
3960
|
Action?: string;
|
|
3961
3961
|
/**
|
|
3962
|
-
* @public
|
|
3963
3962
|
* <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>
|
|
3963
|
+
* @public
|
|
3964
3964
|
*/
|
|
3965
3965
|
RuleWithinRuleGroup?: string;
|
|
3966
3966
|
}
|
|
@@ -3969,22 +3969,22 @@ export interface SampledHTTPRequest {
|
|
|
3969
3969
|
*/
|
|
3970
3970
|
export interface GetSampledRequestsResponse {
|
|
3971
3971
|
/**
|
|
3972
|
-
* @public
|
|
3973
3972
|
* <p>A complex type that contains detailed information about each of the requests in the sample.</p>
|
|
3973
|
+
* @public
|
|
3974
3974
|
*/
|
|
3975
3975
|
SampledRequests?: SampledHTTPRequest[];
|
|
3976
3976
|
/**
|
|
3977
|
-
* @public
|
|
3978
3977
|
* <p>The total number of requests from which <code>GetSampledRequests</code> got a sample of <code>MaxItems</code> requests.
|
|
3979
3978
|
* If <code>PopulationSize</code> is less than <code>MaxItems</code>, the sample includes every request that your AWS resource
|
|
3980
3979
|
* received during the specified time range.</p>
|
|
3980
|
+
* @public
|
|
3981
3981
|
*/
|
|
3982
3982
|
PopulationSize?: number;
|
|
3983
3983
|
/**
|
|
3984
|
-
* @public
|
|
3985
3984
|
* <p>Usually, <code>TimeWindow</code> is the time range that you specified in the <code>GetSampledRequests</code> request. However,
|
|
3986
3985
|
* if your AWS resource received more than 5,000 requests during the time range that you specified in the request,
|
|
3987
3986
|
* <code>GetSampledRequests</code> returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.</p>
|
|
3987
|
+
* @public
|
|
3988
3988
|
*/
|
|
3989
3989
|
TimeWindow?: TimeWindow;
|
|
3990
3990
|
}
|
|
@@ -3993,9 +3993,9 @@ export interface GetSampledRequestsResponse {
|
|
|
3993
3993
|
*/
|
|
3994
3994
|
export interface GetSizeConstraintSetRequest {
|
|
3995
3995
|
/**
|
|
3996
|
-
* @public
|
|
3997
3996
|
* <p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to get. <code>SizeConstraintSetId</code> is returned by
|
|
3998
3997
|
* <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
3998
|
+
* @public
|
|
3999
3999
|
*/
|
|
4000
4000
|
SizeConstraintSetId: string | undefined;
|
|
4001
4001
|
}
|
|
@@ -4004,7 +4004,6 @@ export interface GetSizeConstraintSetRequest {
|
|
|
4004
4004
|
*/
|
|
4005
4005
|
export interface GetSizeConstraintSetResponse {
|
|
4006
4006
|
/**
|
|
4007
|
-
* @public
|
|
4008
4007
|
* <p>Information about the <a>SizeConstraintSet</a> that you specified in the <code>GetSizeConstraintSet</code> request. For more information, see the
|
|
4009
4008
|
* following topics:</p>
|
|
4010
4009
|
* <ul>
|
|
@@ -4026,28 +4025,28 @@ export interface GetSizeConstraintSetResponse {
|
|
|
4026
4025
|
* </p>
|
|
4027
4026
|
* </li>
|
|
4028
4027
|
* </ul>
|
|
4028
|
+
* @public
|
|
4029
4029
|
*/
|
|
4030
4030
|
SizeConstraintSet?: SizeConstraintSet;
|
|
4031
4031
|
}
|
|
4032
4032
|
/**
|
|
4033
|
-
* @public
|
|
4034
4033
|
* <p>A request to get a <a>SqlInjectionMatchSet</a>.</p>
|
|
4034
|
+
* @public
|
|
4035
4035
|
*/
|
|
4036
4036
|
export interface GetSqlInjectionMatchSetRequest {
|
|
4037
4037
|
/**
|
|
4038
|
-
* @public
|
|
4039
4038
|
* <p>The <code>SqlInjectionMatchSetId</code> of the <a>SqlInjectionMatchSet</a> that you want to get. <code>SqlInjectionMatchSetId</code>
|
|
4040
4039
|
* is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
4040
|
+
* @public
|
|
4041
4041
|
*/
|
|
4042
4042
|
SqlInjectionMatchSetId: string | undefined;
|
|
4043
4043
|
}
|
|
4044
4044
|
/**
|
|
4045
|
-
* @public
|
|
4046
4045
|
* <p>The response to a <a>GetSqlInjectionMatchSet</a> request.</p>
|
|
4046
|
+
* @public
|
|
4047
4047
|
*/
|
|
4048
4048
|
export interface GetSqlInjectionMatchSetResponse {
|
|
4049
4049
|
/**
|
|
4050
|
-
* @public
|
|
4051
4050
|
* <p>Information about the <a>SqlInjectionMatchSet</a> that you specified in the <code>GetSqlInjectionMatchSet</code> request.
|
|
4052
4051
|
* For more information, see the following topics:</p>
|
|
4053
4052
|
* <ul>
|
|
@@ -4068,6 +4067,7 @@ export interface GetSqlInjectionMatchSetResponse {
|
|
|
4068
4067
|
* </p>
|
|
4069
4068
|
* </li>
|
|
4070
4069
|
* </ul>
|
|
4070
|
+
* @public
|
|
4071
4071
|
*/
|
|
4072
4072
|
SqlInjectionMatchSet?: SqlInjectionMatchSet;
|
|
4073
4073
|
}
|
|
@@ -4076,9 +4076,9 @@ export interface GetSqlInjectionMatchSetResponse {
|
|
|
4076
4076
|
*/
|
|
4077
4077
|
export interface GetWebACLRequest {
|
|
4078
4078
|
/**
|
|
4079
|
-
* @public
|
|
4080
4079
|
* <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
|
|
4081
4080
|
* <a>ListWebACLs</a>.</p>
|
|
4081
|
+
* @public
|
|
4082
4082
|
*/
|
|
4083
4083
|
WebACLId: string | undefined;
|
|
4084
4084
|
}
|
|
@@ -4087,7 +4087,6 @@ export interface GetWebACLRequest {
|
|
|
4087
4087
|
*/
|
|
4088
4088
|
export interface GetWebACLResponse {
|
|
4089
4089
|
/**
|
|
4090
|
-
* @public
|
|
4091
4090
|
* <p>Information about the <a>WebACL</a> that you specified in the <code>GetWebACL</code> request.
|
|
4092
4091
|
* For more information, see the following topics:</p>
|
|
4093
4092
|
* <ul>
|
|
@@ -4114,6 +4113,7 @@ export interface GetWebACLResponse {
|
|
|
4114
4113
|
* </p>
|
|
4115
4114
|
* </li>
|
|
4116
4115
|
* </ul>
|
|
4116
|
+
* @public
|
|
4117
4117
|
*/
|
|
4118
4118
|
WebACL?: WebACL;
|
|
4119
4119
|
}
|
|
@@ -4122,7 +4122,6 @@ export interface GetWebACLResponse {
|
|
|
4122
4122
|
*/
|
|
4123
4123
|
export interface GetWebACLForResourceRequest {
|
|
4124
4124
|
/**
|
|
4125
|
-
* @public
|
|
4126
4125
|
* <p>The ARN (Amazon Resource Name) of the resource for which to get the web ACL, either an application load balancer or Amazon API Gateway stage.</p>
|
|
4127
4126
|
* <p>The ARN should be in one of the following formats:</p>
|
|
4128
4127
|
* <ul>
|
|
@@ -4137,11 +4136,11 @@ export interface GetWebACLForResourceRequest {
|
|
|
4137
4136
|
* </p>
|
|
4138
4137
|
* </li>
|
|
4139
4138
|
* </ul>
|
|
4139
|
+
* @public
|
|
4140
4140
|
*/
|
|
4141
4141
|
ResourceArn: string | undefined;
|
|
4142
4142
|
}
|
|
4143
4143
|
/**
|
|
4144
|
-
* @public
|
|
4145
4144
|
* <note>
|
|
4146
4145
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4147
4146
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4151,20 +4150,21 @@ export interface GetWebACLForResourceRequest {
|
|
|
4151
4150
|
* 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>
|
|
4152
4151
|
* </note>
|
|
4153
4152
|
* <p>Contains the identifier and the name or description of the <a>WebACL</a>.</p>
|
|
4153
|
+
* @public
|
|
4154
4154
|
*/
|
|
4155
4155
|
export interface WebACLSummary {
|
|
4156
4156
|
/**
|
|
4157
|
-
* @public
|
|
4158
4157
|
* <p>A unique identifier for a <code>WebACL</code>. You use <code>WebACLId</code> to get information about a <code>WebACL</code>
|
|
4159
4158
|
* (see <a>GetWebACL</a>), update a <code>WebACL</code> (see <a>UpdateWebACL</a>), and delete a <code>WebACL</code> from AWS WAF
|
|
4160
4159
|
* (see <a>DeleteWebACL</a>).</p>
|
|
4161
4160
|
* <p>
|
|
4162
4161
|
* <code>WebACLId</code> is returned by <a>CreateWebACL</a> and by <a>ListWebACLs</a>.</p>
|
|
4162
|
+
* @public
|
|
4163
4163
|
*/
|
|
4164
4164
|
WebACLId: string | undefined;
|
|
4165
4165
|
/**
|
|
4166
|
-
* @public
|
|
4167
4166
|
* <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>
|
|
4167
|
+
* @public
|
|
4168
4168
|
*/
|
|
4169
4169
|
Name: string | undefined;
|
|
4170
4170
|
}
|
|
@@ -4173,30 +4173,29 @@ export interface WebACLSummary {
|
|
|
4173
4173
|
*/
|
|
4174
4174
|
export interface GetWebACLForResourceResponse {
|
|
4175
4175
|
/**
|
|
4176
|
-
* @public
|
|
4177
4176
|
* <p>Information about the web ACL that you specified in the <code>GetWebACLForResource</code> request. If there is no associated resource, a null WebACLSummary is returned.</p>
|
|
4177
|
+
* @public
|
|
4178
4178
|
*/
|
|
4179
4179
|
WebACLSummary?: WebACLSummary;
|
|
4180
4180
|
}
|
|
4181
4181
|
/**
|
|
4182
|
-
* @public
|
|
4183
4182
|
* <p>A request to get an <a>XssMatchSet</a>.</p>
|
|
4183
|
+
* @public
|
|
4184
4184
|
*/
|
|
4185
4185
|
export interface GetXssMatchSetRequest {
|
|
4186
4186
|
/**
|
|
4187
|
-
* @public
|
|
4188
4187
|
* <p>The <code>XssMatchSetId</code> of the <a>XssMatchSet</a> that you want to get. <code>XssMatchSetId</code>
|
|
4189
4188
|
* is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
4189
|
+
* @public
|
|
4190
4190
|
*/
|
|
4191
4191
|
XssMatchSetId: string | undefined;
|
|
4192
4192
|
}
|
|
4193
4193
|
/**
|
|
4194
|
-
* @public
|
|
4195
4194
|
* <p>The response to a <a>GetXssMatchSet</a> request.</p>
|
|
4195
|
+
* @public
|
|
4196
4196
|
*/
|
|
4197
4197
|
export interface GetXssMatchSetResponse {
|
|
4198
4198
|
/**
|
|
4199
|
-
* @public
|
|
4200
4199
|
* <p>Information about the <a>XssMatchSet</a> that you specified in the <code>GetXssMatchSet</code> request.
|
|
4201
4200
|
* For more information, see the following topics:</p>
|
|
4202
4201
|
* <ul>
|
|
@@ -4217,6 +4216,7 @@ export interface GetXssMatchSetResponse {
|
|
|
4217
4216
|
* </p>
|
|
4218
4217
|
* </li>
|
|
4219
4218
|
* </ul>
|
|
4219
|
+
* @public
|
|
4220
4220
|
*/
|
|
4221
4221
|
XssMatchSet?: XssMatchSet;
|
|
4222
4222
|
}
|
|
@@ -4225,22 +4225,22 @@ export interface GetXssMatchSetResponse {
|
|
|
4225
4225
|
*/
|
|
4226
4226
|
export interface ListActivatedRulesInRuleGroupRequest {
|
|
4227
4227
|
/**
|
|
4228
|
-
* @public
|
|
4229
4228
|
* <p>The <code>RuleGroupId</code> of the <a>RuleGroup</a> for which you want to get a list of <a>ActivatedRule</a> objects.</p>
|
|
4229
|
+
* @public
|
|
4230
4230
|
*/
|
|
4231
4231
|
RuleGroupId?: string;
|
|
4232
4232
|
/**
|
|
4233
|
-
* @public
|
|
4234
4233
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>ActivatedRules</code> than the value of <code>Limit</code>,
|
|
4235
4234
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ActivatedRules</code>.
|
|
4236
4235
|
* For the second and subsequent <code>ListActivatedRulesInRuleGroup</code> requests, specify the value of <code>NextMarker</code>
|
|
4237
4236
|
* from the previous response to get information about another batch of <code>ActivatedRules</code>.</p>
|
|
4237
|
+
* @public
|
|
4238
4238
|
*/
|
|
4239
4239
|
NextMarker?: string;
|
|
4240
4240
|
/**
|
|
4241
|
-
* @public
|
|
4242
4241
|
* <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
|
|
4243
4242
|
* <code>NextMarker</code> value that you can use to get another batch of <code>ActivatedRules</code>.</p>
|
|
4243
|
+
* @public
|
|
4244
4244
|
*/
|
|
4245
4245
|
Limit?: number;
|
|
4246
4246
|
}
|
|
@@ -4249,13 +4249,13 @@ export interface ListActivatedRulesInRuleGroupRequest {
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
export interface ListActivatedRulesInRuleGroupResponse {
|
|
4251
4251
|
/**
|
|
4252
|
-
* @public
|
|
4253
4252
|
* <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>
|
|
4253
|
+
* @public
|
|
4254
4254
|
*/
|
|
4255
4255
|
NextMarker?: string;
|
|
4256
4256
|
/**
|
|
4257
|
-
* @public
|
|
4258
4257
|
* <p>An array of <code>ActivatedRules</code> objects.</p>
|
|
4258
|
+
* @public
|
|
4259
4259
|
*/
|
|
4260
4260
|
ActivatedRules?: ActivatedRule[];
|
|
4261
4261
|
}
|
|
@@ -4264,23 +4264,22 @@ export interface ListActivatedRulesInRuleGroupResponse {
|
|
|
4264
4264
|
*/
|
|
4265
4265
|
export interface ListByteMatchSetsRequest {
|
|
4266
4266
|
/**
|
|
4267
|
-
* @public
|
|
4268
4267
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>ByteMatchSets</code> than the value of <code>Limit</code>,
|
|
4269
4268
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ByteMatchSets</code>.
|
|
4270
4269
|
* For the second and subsequent <code>ListByteMatchSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4271
4270
|
* from the previous response to get information about another batch of <code>ByteMatchSets</code>.</p>
|
|
4271
|
+
* @public
|
|
4272
4272
|
*/
|
|
4273
4273
|
NextMarker?: string;
|
|
4274
4274
|
/**
|
|
4275
|
-
* @public
|
|
4276
4275
|
* <p>Specifies the number of <code>ByteMatchSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4277
4276
|
* <code>ByteMatchSets</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4278
4277
|
* <code>NextMarker</code> value that you can use to get another batch of <code>ByteMatchSet</code> objects.</p>
|
|
4278
|
+
* @public
|
|
4279
4279
|
*/
|
|
4280
4280
|
Limit?: number;
|
|
4281
4281
|
}
|
|
4282
4282
|
/**
|
|
4283
|
-
* @public
|
|
4284
4283
|
* <note>
|
|
4285
4284
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4286
4285
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4291,19 +4290,20 @@ export interface ListByteMatchSetsRequest {
|
|
|
4291
4290
|
* </note>
|
|
4292
4291
|
* <p>Returned by <a>ListByteMatchSets</a>. Each <code>ByteMatchSetSummary</code> object includes the <code>Name</code> and
|
|
4293
4292
|
* <code>ByteMatchSetId</code> for one <a>ByteMatchSet</a>.</p>
|
|
4293
|
+
* @public
|
|
4294
4294
|
*/
|
|
4295
4295
|
export interface ByteMatchSetSummary {
|
|
4296
4296
|
/**
|
|
4297
|
-
* @public
|
|
4298
4297
|
* <p>The <code>ByteMatchSetId</code> for a <code>ByteMatchSet</code>. You use <code>ByteMatchSetId</code> to get information about a <code>ByteMatchSet</code>,
|
|
4299
4298
|
* 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>
|
|
4300
4299
|
* <p>
|
|
4301
4300
|
* <code>ByteMatchSetId</code> is returned by <a>CreateByteMatchSet</a> and by <a>ListByteMatchSets</a>.</p>
|
|
4301
|
+
* @public
|
|
4302
4302
|
*/
|
|
4303
4303
|
ByteMatchSetId: string | undefined;
|
|
4304
4304
|
/**
|
|
4305
|
-
* @public
|
|
4306
4305
|
* <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>
|
|
4306
|
+
* @public
|
|
4307
4307
|
*/
|
|
4308
4308
|
Name: string | undefined;
|
|
4309
4309
|
}
|
|
@@ -4312,16 +4312,16 @@ export interface ByteMatchSetSummary {
|
|
|
4312
4312
|
*/
|
|
4313
4313
|
export interface ListByteMatchSetsResponse {
|
|
4314
4314
|
/**
|
|
4315
|
-
* @public
|
|
4316
4315
|
* <p>If you have more <code>ByteMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4317
4316
|
* the response includes a <code>NextMarker</code> value. To list more <code>ByteMatchSet</code> objects, submit another
|
|
4318
4317
|
* <code>ListByteMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4319
4318
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4319
|
+
* @public
|
|
4320
4320
|
*/
|
|
4321
4321
|
NextMarker?: string;
|
|
4322
4322
|
/**
|
|
4323
|
-
* @public
|
|
4324
4323
|
* <p>An array of <a>ByteMatchSetSummary</a> objects.</p>
|
|
4324
|
+
* @public
|
|
4325
4325
|
*/
|
|
4326
4326
|
ByteMatchSets?: ByteMatchSetSummary[];
|
|
4327
4327
|
}
|
|
@@ -4330,23 +4330,22 @@ export interface ListByteMatchSetsResponse {
|
|
|
4330
4330
|
*/
|
|
4331
4331
|
export interface ListGeoMatchSetsRequest {
|
|
4332
4332
|
/**
|
|
4333
|
-
* @public
|
|
4334
4333
|
* <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>,
|
|
4335
4334
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>GeoMatchSet</code> objects.
|
|
4336
4335
|
* For the second and subsequent <code>ListGeoMatchSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4337
4336
|
* from the previous response to get information about another batch of <code>GeoMatchSet</code> objects.</p>
|
|
4337
|
+
* @public
|
|
4338
4338
|
*/
|
|
4339
4339
|
NextMarker?: string;
|
|
4340
4340
|
/**
|
|
4341
|
-
* @public
|
|
4342
4341
|
* <p>Specifies the number of <code>GeoMatchSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4343
4342
|
* <code>GeoMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4344
4343
|
* <code>NextMarker</code> value that you can use to get another batch of <code>GeoMatchSet</code> objects.</p>
|
|
4344
|
+
* @public
|
|
4345
4345
|
*/
|
|
4346
4346
|
Limit?: number;
|
|
4347
4347
|
}
|
|
4348
4348
|
/**
|
|
4349
|
-
* @public
|
|
4350
4349
|
* <note>
|
|
4351
4350
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4352
4351
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4356,16 +4355,17 @@ export interface ListGeoMatchSetsRequest {
|
|
|
4356
4355
|
* 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>
|
|
4357
4356
|
* </note>
|
|
4358
4357
|
* <p>Contains the identifier and the name of the <code>GeoMatchSet</code>.</p>
|
|
4358
|
+
* @public
|
|
4359
4359
|
*/
|
|
4360
4360
|
export interface GeoMatchSetSummary {
|
|
4361
4361
|
/**
|
|
4362
|
-
* @public
|
|
4363
4362
|
* <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>
|
|
4363
|
+
* @public
|
|
4364
4364
|
*/
|
|
4365
4365
|
GeoMatchSetId: string | undefined;
|
|
4366
4366
|
/**
|
|
4367
|
-
* @public
|
|
4368
4367
|
* <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>
|
|
4368
|
+
* @public
|
|
4369
4369
|
*/
|
|
4370
4370
|
Name: string | undefined;
|
|
4371
4371
|
}
|
|
@@ -4374,16 +4374,16 @@ export interface GeoMatchSetSummary {
|
|
|
4374
4374
|
*/
|
|
4375
4375
|
export interface ListGeoMatchSetsResponse {
|
|
4376
4376
|
/**
|
|
4377
|
-
* @public
|
|
4378
4377
|
* <p>If you have more <code>GeoMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4379
4378
|
* the response includes a <code>NextMarker</code> value. To list more <code>GeoMatchSet</code> objects, submit another
|
|
4380
4379
|
* <code>ListGeoMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4381
4380
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4381
|
+
* @public
|
|
4382
4382
|
*/
|
|
4383
4383
|
NextMarker?: string;
|
|
4384
4384
|
/**
|
|
4385
|
-
* @public
|
|
4386
4385
|
* <p>An array of <a>GeoMatchSetSummary</a> objects.</p>
|
|
4386
|
+
* @public
|
|
4387
4387
|
*/
|
|
4388
4388
|
GeoMatchSets?: GeoMatchSetSummary[];
|
|
4389
4389
|
}
|
|
@@ -4392,23 +4392,22 @@ export interface ListGeoMatchSetsResponse {
|
|
|
4392
4392
|
*/
|
|
4393
4393
|
export interface ListIPSetsRequest {
|
|
4394
4394
|
/**
|
|
4395
|
-
* @public
|
|
4396
4395
|
* <p>AWS WAF returns a <code>NextMarker</code> value in the response that allows you to
|
|
4397
4396
|
* list another group of <code>IPSets</code>. For the second and subsequent
|
|
4398
4397
|
* <code>ListIPSets</code> requests, specify the value of <code>NextMarker</code> from the
|
|
4399
4398
|
* previous response to get information about another batch of <code>IPSets</code>.</p>
|
|
4399
|
+
* @public
|
|
4400
4400
|
*/
|
|
4401
4401
|
NextMarker?: string;
|
|
4402
4402
|
/**
|
|
4403
|
-
* @public
|
|
4404
4403
|
* <p>Specifies the number of <code>IPSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4405
4404
|
* <code>IPSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4406
4405
|
* <code>NextMarker</code> value that you can use to get another batch of <code>IPSet</code> objects.</p>
|
|
4406
|
+
* @public
|
|
4407
4407
|
*/
|
|
4408
4408
|
Limit?: number;
|
|
4409
4409
|
}
|
|
4410
4410
|
/**
|
|
4411
|
-
* @public
|
|
4412
4411
|
* <note>
|
|
4413
4412
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4414
4413
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4418,17 +4417,18 @@ export interface ListIPSetsRequest {
|
|
|
4418
4417
|
* 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>
|
|
4419
4418
|
* </note>
|
|
4420
4419
|
* <p>Contains the identifier and the name of the <code>IPSet</code>.</p>
|
|
4420
|
+
* @public
|
|
4421
4421
|
*/
|
|
4422
4422
|
export interface IPSetSummary {
|
|
4423
4423
|
/**
|
|
4424
|
-
* @public
|
|
4425
4424
|
* <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
|
|
4426
4425
|
* information about an <a>IPSet</a>.</p>
|
|
4426
|
+
* @public
|
|
4427
4427
|
*/
|
|
4428
4428
|
IPSetId: string | undefined;
|
|
4429
4429
|
/**
|
|
4430
|
-
* @public
|
|
4431
4430
|
* <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>
|
|
4431
|
+
* @public
|
|
4432
4432
|
*/
|
|
4433
4433
|
Name: string | undefined;
|
|
4434
4434
|
}
|
|
@@ -4437,15 +4437,15 @@ export interface IPSetSummary {
|
|
|
4437
4437
|
*/
|
|
4438
4438
|
export interface ListIPSetsResponse {
|
|
4439
4439
|
/**
|
|
4440
|
-
* @public
|
|
4441
4440
|
* <p>To list more <code>IPSet</code> objects, submit another <code>ListIPSets</code>
|
|
4442
4441
|
* request, and in the next request use the <code>NextMarker</code> response value as the
|
|
4443
4442
|
* <code>NextMarker</code> value.</p>
|
|
4443
|
+
* @public
|
|
4444
4444
|
*/
|
|
4445
4445
|
NextMarker?: string;
|
|
4446
4446
|
/**
|
|
4447
|
-
* @public
|
|
4448
4447
|
* <p>An array of <a>IPSetSummary</a> objects.</p>
|
|
4448
|
+
* @public
|
|
4449
4449
|
*/
|
|
4450
4450
|
IPSets?: IPSetSummary[];
|
|
4451
4451
|
}
|
|
@@ -4454,16 +4454,16 @@ export interface ListIPSetsResponse {
|
|
|
4454
4454
|
*/
|
|
4455
4455
|
export interface ListLoggingConfigurationsRequest {
|
|
4456
4456
|
/**
|
|
4457
|
-
* @public
|
|
4458
4457
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>LoggingConfigurations</code> than the value of <code>Limit</code>,
|
|
4459
4458
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>LoggingConfigurations</code>.
|
|
4460
4459
|
* For the second and subsequent <code>ListLoggingConfigurations</code> requests, specify the value of <code>NextMarker</code>
|
|
4461
4460
|
* from the previous response to get information about another batch of <code>ListLoggingConfigurations</code>.</p>
|
|
4461
|
+
* @public
|
|
4462
4462
|
*/
|
|
4463
4463
|
NextMarker?: string;
|
|
4464
4464
|
/**
|
|
4465
|
-
* @public
|
|
4466
4465
|
* <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>
|
|
4466
|
+
* @public
|
|
4467
4467
|
*/
|
|
4468
4468
|
Limit?: number;
|
|
4469
4469
|
}
|
|
@@ -4472,13 +4472,13 @@ export interface ListLoggingConfigurationsRequest {
|
|
|
4472
4472
|
*/
|
|
4473
4473
|
export interface ListLoggingConfigurationsResponse {
|
|
4474
4474
|
/**
|
|
4475
|
-
* @public
|
|
4476
4475
|
* <p>An array of <a>LoggingConfiguration</a> objects.</p>
|
|
4476
|
+
* @public
|
|
4477
4477
|
*/
|
|
4478
4478
|
LoggingConfigurations?: LoggingConfiguration[];
|
|
4479
4479
|
/**
|
|
4480
|
-
* @public
|
|
4481
4480
|
* <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>
|
|
4481
|
+
* @public
|
|
4482
4482
|
*/
|
|
4483
4483
|
NextMarker?: string;
|
|
4484
4484
|
}
|
|
@@ -4487,26 +4487,25 @@ export interface ListLoggingConfigurationsResponse {
|
|
|
4487
4487
|
*/
|
|
4488
4488
|
export interface ListRateBasedRulesRequest {
|
|
4489
4489
|
/**
|
|
4490
|
-
* @public
|
|
4491
4490
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>Rules</code>
|
|
4492
4491
|
* than the value of <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the
|
|
4493
4492
|
* response that allows you to list another group of <code>Rules</code>. For the second and
|
|
4494
4493
|
* subsequent <code>ListRateBasedRules</code> requests, specify the value of
|
|
4495
4494
|
* <code>NextMarker</code> from the previous response to get information about another
|
|
4496
4495
|
* batch of <code>Rules</code>.</p>
|
|
4496
|
+
* @public
|
|
4497
4497
|
*/
|
|
4498
4498
|
NextMarker?: string;
|
|
4499
4499
|
/**
|
|
4500
|
-
* @public
|
|
4501
4500
|
* <p>Specifies the number of <code>Rules</code> that you want AWS WAF to return for this
|
|
4502
4501
|
* request. If you have more <code>Rules</code> than the number that you specify for
|
|
4503
4502
|
* <code>Limit</code>, the response includes a <code>NextMarker</code> value that you can
|
|
4504
4503
|
* use to get another batch of <code>Rules</code>.</p>
|
|
4504
|
+
* @public
|
|
4505
4505
|
*/
|
|
4506
4506
|
Limit?: number;
|
|
4507
4507
|
}
|
|
4508
4508
|
/**
|
|
4509
|
-
* @public
|
|
4510
4509
|
* <note>
|
|
4511
4510
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4512
4511
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4516,20 +4515,21 @@ export interface ListRateBasedRulesRequest {
|
|
|
4516
4515
|
* 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>
|
|
4517
4516
|
* </note>
|
|
4518
4517
|
* <p>Contains the identifier and the friendly name or description of the <code>Rule</code>.</p>
|
|
4518
|
+
* @public
|
|
4519
4519
|
*/
|
|
4520
4520
|
export interface RuleSummary {
|
|
4521
4521
|
/**
|
|
4522
|
-
* @public
|
|
4523
4522
|
* <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>),
|
|
4524
4523
|
* update a <code>Rule</code> (see <a>UpdateRule</a>), insert a <code>Rule</code> into a <code>WebACL</code> or delete
|
|
4525
4524
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>Rule</code> from AWS WAF (see <a>DeleteRule</a>).</p>
|
|
4526
4525
|
* <p>
|
|
4527
4526
|
* <code>RuleId</code> is returned by <a>CreateRule</a> and by <a>ListRules</a>.</p>
|
|
4527
|
+
* @public
|
|
4528
4528
|
*/
|
|
4529
4529
|
RuleId: string | undefined;
|
|
4530
4530
|
/**
|
|
4531
|
-
* @public
|
|
4532
4531
|
* <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>
|
|
4532
|
+
* @public
|
|
4533
4533
|
*/
|
|
4534
4534
|
Name: string | undefined;
|
|
4535
4535
|
}
|
|
@@ -4538,17 +4538,17 @@ export interface RuleSummary {
|
|
|
4538
4538
|
*/
|
|
4539
4539
|
export interface ListRateBasedRulesResponse {
|
|
4540
4540
|
/**
|
|
4541
|
-
* @public
|
|
4542
4541
|
* <p>If you have more <code>Rules</code> than the number that you specified for
|
|
4543
4542
|
* <code>Limit</code> in the request, the response includes a <code>NextMarker</code>
|
|
4544
4543
|
* value. To list more <code>Rules</code>, submit another <code>ListRateBasedRules</code>
|
|
4545
4544
|
* request, and specify the <code>NextMarker</code> value from the response in the
|
|
4546
4545
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4546
|
+
* @public
|
|
4547
4547
|
*/
|
|
4548
4548
|
NextMarker?: string;
|
|
4549
4549
|
/**
|
|
4550
|
-
* @public
|
|
4551
4550
|
* <p>An array of <a>RuleSummary</a> objects.</p>
|
|
4551
|
+
* @public
|
|
4552
4552
|
*/
|
|
4553
4553
|
Rules?: RuleSummary[];
|
|
4554
4554
|
}
|
|
@@ -4557,23 +4557,22 @@ export interface ListRateBasedRulesResponse {
|
|
|
4557
4557
|
*/
|
|
4558
4558
|
export interface ListRegexMatchSetsRequest {
|
|
4559
4559
|
/**
|
|
4560
|
-
* @public
|
|
4561
4560
|
* <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>,
|
|
4562
4561
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>ByteMatchSets</code>.
|
|
4563
4562
|
* For the second and subsequent <code>ListRegexMatchSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4564
4563
|
* from the previous response to get information about another batch of <code>RegexMatchSet</code> objects.</p>
|
|
4564
|
+
* @public
|
|
4565
4565
|
*/
|
|
4566
4566
|
NextMarker?: string;
|
|
4567
4567
|
/**
|
|
4568
|
-
* @public
|
|
4569
4568
|
* <p>Specifies the number of <code>RegexMatchSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4570
4569
|
* <code>RegexMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4571
4570
|
* <code>NextMarker</code> value that you can use to get another batch of <code>RegexMatchSet</code> objects.</p>
|
|
4571
|
+
* @public
|
|
4572
4572
|
*/
|
|
4573
4573
|
Limit?: number;
|
|
4574
4574
|
}
|
|
4575
4575
|
/**
|
|
4576
|
-
* @public
|
|
4577
4576
|
* <note>
|
|
4578
4577
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4579
4578
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4584,19 +4583,20 @@ export interface ListRegexMatchSetsRequest {
|
|
|
4584
4583
|
* </note>
|
|
4585
4584
|
* <p>Returned by <a>ListRegexMatchSets</a>. Each <code>RegexMatchSetSummary</code> object includes the <code>Name</code> and
|
|
4586
4585
|
* <code>RegexMatchSetId</code> for one <a>RegexMatchSet</a>.</p>
|
|
4586
|
+
* @public
|
|
4587
4587
|
*/
|
|
4588
4588
|
export interface RegexMatchSetSummary {
|
|
4589
4589
|
/**
|
|
4590
|
-
* @public
|
|
4591
4590
|
* <p>The <code>RegexMatchSetId</code> for a <code>RegexMatchSet</code>. You use <code>RegexMatchSetId</code> to get information about a <code>RegexMatchSet</code>,
|
|
4592
4591
|
* 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>
|
|
4593
4592
|
* <p>
|
|
4594
4593
|
* <code>RegexMatchSetId</code> is returned by <a>CreateRegexMatchSet</a> and by <a>ListRegexMatchSets</a>.</p>
|
|
4594
|
+
* @public
|
|
4595
4595
|
*/
|
|
4596
4596
|
RegexMatchSetId: string | undefined;
|
|
4597
4597
|
/**
|
|
4598
|
-
* @public
|
|
4599
4598
|
* <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>
|
|
4599
|
+
* @public
|
|
4600
4600
|
*/
|
|
4601
4601
|
Name: string | undefined;
|
|
4602
4602
|
}
|
|
@@ -4605,16 +4605,16 @@ export interface RegexMatchSetSummary {
|
|
|
4605
4605
|
*/
|
|
4606
4606
|
export interface ListRegexMatchSetsResponse {
|
|
4607
4607
|
/**
|
|
4608
|
-
* @public
|
|
4609
4608
|
* <p>If you have more <code>RegexMatchSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4610
4609
|
* the response includes a <code>NextMarker</code> value. To list more <code>RegexMatchSet</code> objects, submit another
|
|
4611
4610
|
* <code>ListRegexMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4612
4611
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4612
|
+
* @public
|
|
4613
4613
|
*/
|
|
4614
4614
|
NextMarker?: string;
|
|
4615
4615
|
/**
|
|
4616
|
-
* @public
|
|
4617
4616
|
* <p>An array of <a>RegexMatchSetSummary</a> objects.</p>
|
|
4617
|
+
* @public
|
|
4618
4618
|
*/
|
|
4619
4619
|
RegexMatchSets?: RegexMatchSetSummary[];
|
|
4620
4620
|
}
|
|
@@ -4623,23 +4623,22 @@ export interface ListRegexMatchSetsResponse {
|
|
|
4623
4623
|
*/
|
|
4624
4624
|
export interface ListRegexPatternSetsRequest {
|
|
4625
4625
|
/**
|
|
4626
|
-
* @public
|
|
4627
4626
|
* <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>,
|
|
4628
4627
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>RegexPatternSet</code> objects.
|
|
4629
4628
|
* For the second and subsequent <code>ListRegexPatternSets</code> requests, specify the value of <code>NextMarker</code>
|
|
4630
4629
|
* from the previous response to get information about another batch of <code>RegexPatternSet</code> objects.</p>
|
|
4630
|
+
* @public
|
|
4631
4631
|
*/
|
|
4632
4632
|
NextMarker?: string;
|
|
4633
4633
|
/**
|
|
4634
|
-
* @public
|
|
4635
4634
|
* <p>Specifies the number of <code>RegexPatternSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4636
4635
|
* <code>RegexPatternSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4637
4636
|
* <code>NextMarker</code> value that you can use to get another batch of <code>RegexPatternSet</code> objects.</p>
|
|
4637
|
+
* @public
|
|
4638
4638
|
*/
|
|
4639
4639
|
Limit?: number;
|
|
4640
4640
|
}
|
|
4641
4641
|
/**
|
|
4642
|
-
* @public
|
|
4643
4642
|
* <note>
|
|
4644
4643
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4645
4644
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4650,19 +4649,20 @@ export interface ListRegexPatternSetsRequest {
|
|
|
4650
4649
|
* </note>
|
|
4651
4650
|
* <p>Returned by <a>ListRegexPatternSets</a>. Each <code>RegexPatternSetSummary</code> object includes the <code>Name</code> and
|
|
4652
4651
|
* <code>RegexPatternSetId</code> for one <a>RegexPatternSet</a>.</p>
|
|
4652
|
+
* @public
|
|
4653
4653
|
*/
|
|
4654
4654
|
export interface RegexPatternSetSummary {
|
|
4655
4655
|
/**
|
|
4656
|
-
* @public
|
|
4657
4656
|
* <p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a <code>RegexPatternSet</code>,
|
|
4658
4657
|
* 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>
|
|
4659
4658
|
* <p>
|
|
4660
4659
|
* <code>RegexPatternSetId</code> is returned by <a>CreateRegexPatternSet</a> and by <a>ListRegexPatternSets</a>.</p>
|
|
4660
|
+
* @public
|
|
4661
4661
|
*/
|
|
4662
4662
|
RegexPatternSetId: string | undefined;
|
|
4663
4663
|
/**
|
|
4664
|
-
* @public
|
|
4665
4664
|
* <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>
|
|
4665
|
+
* @public
|
|
4666
4666
|
*/
|
|
4667
4667
|
Name: string | undefined;
|
|
4668
4668
|
}
|
|
@@ -4671,16 +4671,16 @@ export interface RegexPatternSetSummary {
|
|
|
4671
4671
|
*/
|
|
4672
4672
|
export interface ListRegexPatternSetsResponse {
|
|
4673
4673
|
/**
|
|
4674
|
-
* @public
|
|
4675
4674
|
* <p>If you have more <code>RegexPatternSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4676
4675
|
* the response includes a <code>NextMarker</code> value. To list more <code>RegexPatternSet</code> objects, submit another
|
|
4677
4676
|
* <code>ListRegexPatternSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4678
4677
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4678
|
+
* @public
|
|
4679
4679
|
*/
|
|
4680
4680
|
NextMarker?: string;
|
|
4681
4681
|
/**
|
|
4682
|
-
* @public
|
|
4683
4682
|
* <p>An array of <a>RegexPatternSetSummary</a> objects.</p>
|
|
4683
|
+
* @public
|
|
4684
4684
|
*/
|
|
4685
4685
|
RegexPatternSets?: RegexPatternSetSummary[];
|
|
4686
4686
|
}
|
|
@@ -4701,13 +4701,13 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
4701
4701
|
*/
|
|
4702
4702
|
export interface ListResourcesForWebACLRequest {
|
|
4703
4703
|
/**
|
|
4704
|
-
* @public
|
|
4705
4704
|
* <p>The unique identifier (ID) of the web ACL for which to list the associated resources.</p>
|
|
4705
|
+
* @public
|
|
4706
4706
|
*/
|
|
4707
4707
|
WebACLId: string | undefined;
|
|
4708
4708
|
/**
|
|
4709
|
-
* @public
|
|
4710
4709
|
* <p>The type of resource to list, either an application load balancer or Amazon API Gateway.</p>
|
|
4710
|
+
* @public
|
|
4711
4711
|
*/
|
|
4712
4712
|
ResourceType?: ResourceType;
|
|
4713
4713
|
}
|
|
@@ -4716,8 +4716,8 @@ export interface ListResourcesForWebACLRequest {
|
|
|
4716
4716
|
*/
|
|
4717
4717
|
export interface ListResourcesForWebACLResponse {
|
|
4718
4718
|
/**
|
|
4719
|
-
* @public
|
|
4720
4719
|
* <p>An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.</p>
|
|
4720
|
+
* @public
|
|
4721
4721
|
*/
|
|
4722
4722
|
ResourceArns?: string[];
|
|
4723
4723
|
}
|
|
@@ -4726,21 +4726,20 @@ export interface ListResourcesForWebACLResponse {
|
|
|
4726
4726
|
*/
|
|
4727
4727
|
export interface ListRuleGroupsRequest {
|
|
4728
4728
|
/**
|
|
4729
|
-
* @public
|
|
4730
4729
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>RuleGroups</code> than the value of <code>Limit</code>,
|
|
4731
4730
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>RuleGroups</code>.
|
|
4732
4731
|
* For the second and subsequent <code>ListRuleGroups</code> requests, specify the value of <code>NextMarker</code>
|
|
4733
4732
|
* from the previous response to get information about another batch of <code>RuleGroups</code>.</p>
|
|
4733
|
+
* @public
|
|
4734
4734
|
*/
|
|
4735
4735
|
NextMarker?: string;
|
|
4736
4736
|
/**
|
|
4737
|
-
* @public
|
|
4738
4737
|
* <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>
|
|
4738
|
+
* @public
|
|
4739
4739
|
*/
|
|
4740
4740
|
Limit?: number;
|
|
4741
4741
|
}
|
|
4742
4742
|
/**
|
|
4743
|
-
* @public
|
|
4744
4743
|
* <note>
|
|
4745
4744
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4746
4745
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4750,20 +4749,21 @@ export interface ListRuleGroupsRequest {
|
|
|
4750
4749
|
* 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>
|
|
4751
4750
|
* </note>
|
|
4752
4751
|
* <p>Contains the identifier and the friendly name or description of the <code>RuleGroup</code>.</p>
|
|
4752
|
+
* @public
|
|
4753
4753
|
*/
|
|
4754
4754
|
export interface RuleGroupSummary {
|
|
4755
4755
|
/**
|
|
4756
|
-
* @public
|
|
4757
4756
|
* <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>),
|
|
4758
4757
|
* update a <code>RuleGroup</code> (see <a>UpdateRuleGroup</a>), insert a <code>RuleGroup</code> into a <code>WebACL</code> or delete
|
|
4759
4758
|
* one from a <code>WebACL</code> (see <a>UpdateWebACL</a>), or delete a <code>RuleGroup</code> from AWS WAF (see <a>DeleteRuleGroup</a>).</p>
|
|
4760
4759
|
* <p>
|
|
4761
4760
|
* <code>RuleGroupId</code> is returned by <a>CreateRuleGroup</a> and by <a>ListRuleGroups</a>.</p>
|
|
4761
|
+
* @public
|
|
4762
4762
|
*/
|
|
4763
4763
|
RuleGroupId: string | undefined;
|
|
4764
4764
|
/**
|
|
4765
|
-
* @public
|
|
4766
4765
|
* <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>
|
|
4766
|
+
* @public
|
|
4767
4767
|
*/
|
|
4768
4768
|
Name: string | undefined;
|
|
4769
4769
|
}
|
|
@@ -4772,13 +4772,13 @@ export interface RuleGroupSummary {
|
|
|
4772
4772
|
*/
|
|
4773
4773
|
export interface ListRuleGroupsResponse {
|
|
4774
4774
|
/**
|
|
4775
|
-
* @public
|
|
4776
4775
|
* <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>
|
|
4776
|
+
* @public
|
|
4777
4777
|
*/
|
|
4778
4778
|
NextMarker?: string;
|
|
4779
4779
|
/**
|
|
4780
|
-
* @public
|
|
4781
4780
|
* <p>An array of <a>RuleGroup</a> objects.</p>
|
|
4781
|
+
* @public
|
|
4782
4782
|
*/
|
|
4783
4783
|
RuleGroups?: RuleGroupSummary[];
|
|
4784
4784
|
}
|
|
@@ -4787,17 +4787,17 @@ export interface ListRuleGroupsResponse {
|
|
|
4787
4787
|
*/
|
|
4788
4788
|
export interface ListRulesRequest {
|
|
4789
4789
|
/**
|
|
4790
|
-
* @public
|
|
4791
4790
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>Rules</code> than the value of <code>Limit</code>,
|
|
4792
4791
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>Rules</code>.
|
|
4793
4792
|
* For the second and subsequent <code>ListRules</code> requests, specify the value of <code>NextMarker</code>
|
|
4794
4793
|
* from the previous response to get information about another batch of <code>Rules</code>.</p>
|
|
4794
|
+
* @public
|
|
4795
4795
|
*/
|
|
4796
4796
|
NextMarker?: string;
|
|
4797
4797
|
/**
|
|
4798
|
-
* @public
|
|
4799
4798
|
* <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
|
|
4800
4799
|
* <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>
|
|
4800
|
+
* @public
|
|
4801
4801
|
*/
|
|
4802
4802
|
Limit?: number;
|
|
4803
4803
|
}
|
|
@@ -4806,15 +4806,15 @@ export interface ListRulesRequest {
|
|
|
4806
4806
|
*/
|
|
4807
4807
|
export interface ListRulesResponse {
|
|
4808
4808
|
/**
|
|
4809
|
-
* @public
|
|
4810
4809
|
* <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
|
|
4811
4810
|
* <code>ListRules</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4812
4811
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4812
|
+
* @public
|
|
4813
4813
|
*/
|
|
4814
4814
|
NextMarker?: string;
|
|
4815
4815
|
/**
|
|
4816
|
-
* @public
|
|
4817
4816
|
* <p>An array of <a>RuleSummary</a> objects.</p>
|
|
4817
|
+
* @public
|
|
4818
4818
|
*/
|
|
4819
4819
|
Rules?: RuleSummary[];
|
|
4820
4820
|
}
|
|
@@ -4823,22 +4823,21 @@ export interface ListRulesResponse {
|
|
|
4823
4823
|
*/
|
|
4824
4824
|
export interface ListSizeConstraintSetsRequest {
|
|
4825
4825
|
/**
|
|
4826
|
-
* @public
|
|
4827
4826
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>SizeConstraintSets</code> than the value of <code>Limit</code>,
|
|
4828
4827
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of <code>SizeConstraintSets</code>.
|
|
4829
4828
|
* 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>
|
|
4829
|
+
* @public
|
|
4830
4830
|
*/
|
|
4831
4831
|
NextMarker?: string;
|
|
4832
4832
|
/**
|
|
4833
|
-
* @public
|
|
4834
4833
|
* <p>Specifies the number of <code>SizeConstraintSet</code> objects that you want AWS WAF to return for this request. If you have more
|
|
4835
4834
|
* <code>SizeConstraintSets</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4836
4835
|
* <code>NextMarker</code> value that you can use to get another batch of <code>SizeConstraintSet</code> objects.</p>
|
|
4836
|
+
* @public
|
|
4837
4837
|
*/
|
|
4838
4838
|
Limit?: number;
|
|
4839
4839
|
}
|
|
4840
4840
|
/**
|
|
4841
|
-
* @public
|
|
4842
4841
|
* <note>
|
|
4843
4842
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4844
4843
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4848,10 +4847,10 @@ export interface ListSizeConstraintSetsRequest {
|
|
|
4848
4847
|
* 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>
|
|
4849
4848
|
* </note>
|
|
4850
4849
|
* <p>The <code>Id</code> and <code>Name</code> of a <code>SizeConstraintSet</code>.</p>
|
|
4850
|
+
* @public
|
|
4851
4851
|
*/
|
|
4852
4852
|
export interface SizeConstraintSetSummary {
|
|
4853
4853
|
/**
|
|
4854
|
-
* @public
|
|
4855
4854
|
* <p>A unique identifier for a <code>SizeConstraintSet</code>. You use <code>SizeConstraintSetId</code> to get information about a
|
|
4856
4855
|
* <code>SizeConstraintSet</code> (see <a>GetSizeConstraintSet</a>), update a <code>SizeConstraintSet</code>
|
|
4857
4856
|
* (see <a>UpdateSizeConstraintSet</a>), insert a <code>SizeConstraintSet</code> into a <code>Rule</code> or
|
|
@@ -4859,11 +4858,12 @@ export interface SizeConstraintSetSummary {
|
|
|
4859
4858
|
* (see <a>DeleteSizeConstraintSet</a>).</p>
|
|
4860
4859
|
* <p>
|
|
4861
4860
|
* <code>SizeConstraintSetId</code> is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
4861
|
+
* @public
|
|
4862
4862
|
*/
|
|
4863
4863
|
SizeConstraintSetId: string | undefined;
|
|
4864
4864
|
/**
|
|
4865
|
-
* @public
|
|
4866
4865
|
* <p>The name of the <code>SizeConstraintSet</code>, if any.</p>
|
|
4866
|
+
* @public
|
|
4867
4867
|
*/
|
|
4868
4868
|
Name: string | undefined;
|
|
4869
4869
|
}
|
|
@@ -4872,42 +4872,41 @@ export interface SizeConstraintSetSummary {
|
|
|
4872
4872
|
*/
|
|
4873
4873
|
export interface ListSizeConstraintSetsResponse {
|
|
4874
4874
|
/**
|
|
4875
|
-
* @public
|
|
4876
4875
|
* <p>If you have more <code>SizeConstraintSet</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4877
4876
|
* the response includes a <code>NextMarker</code> value. To list more <code>SizeConstraintSet</code> objects, submit another
|
|
4878
4877
|
* <code>ListSizeConstraintSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4879
4878
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4879
|
+
* @public
|
|
4880
4880
|
*/
|
|
4881
4881
|
NextMarker?: string;
|
|
4882
4882
|
/**
|
|
4883
|
-
* @public
|
|
4884
4883
|
* <p>An array of <a>SizeConstraintSetSummary</a> objects.</p>
|
|
4884
|
+
* @public
|
|
4885
4885
|
*/
|
|
4886
4886
|
SizeConstraintSets?: SizeConstraintSetSummary[];
|
|
4887
4887
|
}
|
|
4888
4888
|
/**
|
|
4889
|
-
* @public
|
|
4890
4889
|
* <p>A request to list the <a>SqlInjectionMatchSet</a> objects created by the current AWS account.</p>
|
|
4890
|
+
* @public
|
|
4891
4891
|
*/
|
|
4892
4892
|
export interface ListSqlInjectionMatchSetsRequest {
|
|
4893
4893
|
/**
|
|
4894
|
-
* @public
|
|
4895
4894
|
* <p>If you specify a value for <code>Limit</code> and you have more <a>SqlInjectionMatchSet</a> objects than the value of
|
|
4896
4895
|
* <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of
|
|
4897
4896
|
* <code>SqlInjectionMatchSets</code>. For the second and subsequent <code>ListSqlInjectionMatchSets</code> requests, specify the
|
|
4898
4897
|
* value of <code>NextMarker</code> from the previous response to get information about another batch of <code>SqlInjectionMatchSets</code>.</p>
|
|
4898
|
+
* @public
|
|
4899
4899
|
*/
|
|
4900
4900
|
NextMarker?: string;
|
|
4901
4901
|
/**
|
|
4902
|
-
* @public
|
|
4903
4902
|
* <p>Specifies the number of <a>SqlInjectionMatchSet</a> objects that you want AWS WAF to return for this request. If you have more
|
|
4904
4903
|
* <code>SqlInjectionMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4905
4904
|
* <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>
|
|
4905
|
+
* @public
|
|
4906
4906
|
*/
|
|
4907
4907
|
Limit?: number;
|
|
4908
4908
|
}
|
|
4909
4909
|
/**
|
|
4910
|
-
* @public
|
|
4911
4910
|
* <note>
|
|
4912
4911
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4913
4912
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4917,10 +4916,10 @@ export interface ListSqlInjectionMatchSetsRequest {
|
|
|
4917
4916
|
* 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>
|
|
4918
4917
|
* </note>
|
|
4919
4918
|
* <p>The <code>Id</code> and <code>Name</code> of a <code>SqlInjectionMatchSet</code>.</p>
|
|
4919
|
+
* @public
|
|
4920
4920
|
*/
|
|
4921
4921
|
export interface SqlInjectionMatchSetSummary {
|
|
4922
4922
|
/**
|
|
4923
|
-
* @public
|
|
4924
4923
|
* <p>A unique identifier for a <code>SqlInjectionMatchSet</code>. You use <code>SqlInjectionMatchSetId</code> to get information about a
|
|
4925
4924
|
* <code>SqlInjectionMatchSet</code> (see <a>GetSqlInjectionMatchSet</a>), update a <code>SqlInjectionMatchSet</code>
|
|
4926
4925
|
* (see <a>UpdateSqlInjectionMatchSet</a>), insert a <code>SqlInjectionMatchSet</code> into a <code>Rule</code> or
|
|
@@ -4928,30 +4927,31 @@ export interface SqlInjectionMatchSetSummary {
|
|
|
4928
4927
|
* (see <a>DeleteSqlInjectionMatchSet</a>).</p>
|
|
4929
4928
|
* <p>
|
|
4930
4929
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
4930
|
+
* @public
|
|
4931
4931
|
*/
|
|
4932
4932
|
SqlInjectionMatchSetId: string | undefined;
|
|
4933
4933
|
/**
|
|
4934
|
-
* @public
|
|
4935
4934
|
* <p>The name of the <code>SqlInjectionMatchSet</code>, if any, specified by <code>Id</code>.</p>
|
|
4935
|
+
* @public
|
|
4936
4936
|
*/
|
|
4937
4937
|
Name: string | undefined;
|
|
4938
4938
|
}
|
|
4939
4939
|
/**
|
|
4940
|
-
* @public
|
|
4941
4940
|
* <p>The response to a <a>ListSqlInjectionMatchSets</a> request.</p>
|
|
4941
|
+
* @public
|
|
4942
4942
|
*/
|
|
4943
4943
|
export interface ListSqlInjectionMatchSetsResponse {
|
|
4944
4944
|
/**
|
|
4945
|
-
* @public
|
|
4946
4945
|
* <p>If you have more <a>SqlInjectionMatchSet</a> objects than the number that you specified for <code>Limit</code> in the request,
|
|
4947
4946
|
* the response includes a <code>NextMarker</code> value. To list more <code>SqlInjectionMatchSet</code> objects, submit another
|
|
4948
4947
|
* <code>ListSqlInjectionMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
4949
4948
|
* <code>NextMarker</code> value in the next request.</p>
|
|
4949
|
+
* @public
|
|
4950
4950
|
*/
|
|
4951
4951
|
NextMarker?: string;
|
|
4952
4952
|
/**
|
|
4953
|
-
* @public
|
|
4954
4953
|
* <p>An array of <a>SqlInjectionMatchSetSummary</a> objects.</p>
|
|
4954
|
+
* @public
|
|
4955
4955
|
*/
|
|
4956
4956
|
SqlInjectionMatchSets?: SqlInjectionMatchSetSummary[];
|
|
4957
4957
|
}
|
|
@@ -4960,23 +4960,22 @@ export interface ListSqlInjectionMatchSetsResponse {
|
|
|
4960
4960
|
*/
|
|
4961
4961
|
export interface ListSubscribedRuleGroupsRequest {
|
|
4962
4962
|
/**
|
|
4963
|
-
* @public
|
|
4964
4963
|
* <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>,
|
|
4965
4964
|
* AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of subscribed rule groups.
|
|
4966
4965
|
* For the second and subsequent <code>ListSubscribedRuleGroupsRequest</code> requests, specify the value of <code>NextMarker</code>
|
|
4967
4966
|
* from the previous response to get information about another batch of subscribed rule groups.</p>
|
|
4967
|
+
* @public
|
|
4968
4968
|
*/
|
|
4969
4969
|
NextMarker?: string;
|
|
4970
4970
|
/**
|
|
4971
|
-
* @public
|
|
4972
4971
|
* <p>Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more
|
|
4973
4972
|
* objects than the number you specify for <code>Limit</code>, the response includes a
|
|
4974
4973
|
* <code>NextMarker</code> value that you can use to get another batch of objects.</p>
|
|
4974
|
+
* @public
|
|
4975
4975
|
*/
|
|
4976
4976
|
Limit?: number;
|
|
4977
4977
|
}
|
|
4978
4978
|
/**
|
|
4979
|
-
* @public
|
|
4980
4979
|
* <note>
|
|
4981
4980
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
4982
4981
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -4986,22 +4985,23 @@ export interface ListSubscribedRuleGroupsRequest {
|
|
|
4986
4985
|
* 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>
|
|
4987
4986
|
* </note>
|
|
4988
4987
|
* <p>A summary of the rule groups you are subscribed to.</p>
|
|
4988
|
+
* @public
|
|
4989
4989
|
*/
|
|
4990
4990
|
export interface SubscribedRuleGroupSummary {
|
|
4991
4991
|
/**
|
|
4992
|
-
* @public
|
|
4993
4992
|
* <p>A unique identifier for a <code>RuleGroup</code>.</p>
|
|
4993
|
+
* @public
|
|
4994
4994
|
*/
|
|
4995
4995
|
RuleGroupId: string | undefined;
|
|
4996
4996
|
/**
|
|
4997
|
-
* @public
|
|
4998
4997
|
* <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>
|
|
4998
|
+
* @public
|
|
4999
4999
|
*/
|
|
5000
5000
|
Name: string | undefined;
|
|
5001
5001
|
/**
|
|
5002
|
-
* @public
|
|
5003
5002
|
* <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
|
|
5004
5003
|
* 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>
|
|
5004
|
+
* @public
|
|
5005
5005
|
*/
|
|
5006
5006
|
MetricName: string | undefined;
|
|
5007
5007
|
}
|
|
@@ -5010,16 +5010,16 @@ export interface SubscribedRuleGroupSummary {
|
|
|
5010
5010
|
*/
|
|
5011
5011
|
export interface ListSubscribedRuleGroupsResponse {
|
|
5012
5012
|
/**
|
|
5013
|
-
* @public
|
|
5014
5013
|
* <p>If you have more objects than the number that you specified for <code>Limit</code> in the request,
|
|
5015
5014
|
* the response includes a <code>NextMarker</code> value. To list more objects, submit another
|
|
5016
5015
|
* <code>ListSubscribedRuleGroups</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
5017
5016
|
* <code>NextMarker</code> value in the next request.</p>
|
|
5017
|
+
* @public
|
|
5018
5018
|
*/
|
|
5019
5019
|
NextMarker?: string;
|
|
5020
5020
|
/**
|
|
5021
|
-
* @public
|
|
5022
5021
|
* <p>An array of <a>RuleGroup</a> objects.</p>
|
|
5022
|
+
* @public
|
|
5023
5023
|
*/
|
|
5024
5024
|
RuleGroups?: SubscribedRuleGroupSummary[];
|
|
5025
5025
|
}
|
|
@@ -5028,23 +5028,22 @@ export interface ListSubscribedRuleGroupsResponse {
|
|
|
5028
5028
|
*/
|
|
5029
5029
|
export interface ListTagsForResourceRequest {
|
|
5030
5030
|
/**
|
|
5031
|
-
* @public
|
|
5032
5031
|
* <p></p>
|
|
5032
|
+
* @public
|
|
5033
5033
|
*/
|
|
5034
5034
|
NextMarker?: string;
|
|
5035
5035
|
/**
|
|
5036
|
-
* @public
|
|
5037
5036
|
* <p></p>
|
|
5037
|
+
* @public
|
|
5038
5038
|
*/
|
|
5039
5039
|
Limit?: number;
|
|
5040
5040
|
/**
|
|
5041
|
-
* @public
|
|
5042
5041
|
* <p></p>
|
|
5042
|
+
* @public
|
|
5043
5043
|
*/
|
|
5044
5044
|
ResourceARN: string | undefined;
|
|
5045
5045
|
}
|
|
5046
5046
|
/**
|
|
5047
|
-
* @public
|
|
5048
5047
|
* <note>
|
|
5049
5048
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5050
5049
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5055,16 +5054,17 @@ export interface ListTagsForResourceRequest {
|
|
|
5055
5054
|
* </note>
|
|
5056
5055
|
* <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>
|
|
5057
5056
|
* <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>
|
|
5057
|
+
* @public
|
|
5058
5058
|
*/
|
|
5059
5059
|
export interface TagInfoForResource {
|
|
5060
5060
|
/**
|
|
5061
|
-
* @public
|
|
5062
5061
|
* <p></p>
|
|
5062
|
+
* @public
|
|
5063
5063
|
*/
|
|
5064
5064
|
ResourceARN?: string;
|
|
5065
5065
|
/**
|
|
5066
|
-
* @public
|
|
5067
5066
|
* <p></p>
|
|
5067
|
+
* @public
|
|
5068
5068
|
*/
|
|
5069
5069
|
TagList?: Tag[];
|
|
5070
5070
|
}
|
|
@@ -5073,13 +5073,13 @@ export interface TagInfoForResource {
|
|
|
5073
5073
|
*/
|
|
5074
5074
|
export interface ListTagsForResourceResponse {
|
|
5075
5075
|
/**
|
|
5076
|
-
* @public
|
|
5077
5076
|
* <p></p>
|
|
5077
|
+
* @public
|
|
5078
5078
|
*/
|
|
5079
5079
|
NextMarker?: string;
|
|
5080
5080
|
/**
|
|
5081
|
-
* @public
|
|
5082
5081
|
* <p></p>
|
|
5082
|
+
* @public
|
|
5083
5083
|
*/
|
|
5084
5084
|
TagInfoForResource?: TagInfoForResource;
|
|
5085
5085
|
}
|
|
@@ -5088,18 +5088,18 @@ export interface ListTagsForResourceResponse {
|
|
|
5088
5088
|
*/
|
|
5089
5089
|
export interface ListWebACLsRequest {
|
|
5090
5090
|
/**
|
|
5091
|
-
* @public
|
|
5092
5091
|
* <p>If you specify a value for <code>Limit</code> and you have more <code>WebACL</code> objects than the number that you specify
|
|
5093
5092
|
* for <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of
|
|
5094
5093
|
* <code>WebACL</code> objects. For the second and subsequent <code>ListWebACLs</code> requests, specify the value of <code>NextMarker</code>
|
|
5095
5094
|
* from the previous response to get information about another batch of <code>WebACL</code> objects.</p>
|
|
5095
|
+
* @public
|
|
5096
5096
|
*/
|
|
5097
5097
|
NextMarker?: string;
|
|
5098
5098
|
/**
|
|
5099
|
-
* @public
|
|
5100
5099
|
* <p>Specifies the number of <code>WebACL</code> objects that you want AWS WAF to return for this request. If you have more
|
|
5101
5100
|
* <code>WebACL</code> objects than the number that you specify for <code>Limit</code>, the response includes a
|
|
5102
5101
|
* <code>NextMarker</code> value that you can use to get another batch of <code>WebACL</code> objects.</p>
|
|
5102
|
+
* @public
|
|
5103
5103
|
*/
|
|
5104
5104
|
Limit?: number;
|
|
5105
5105
|
}
|
|
@@ -5108,42 +5108,41 @@ export interface ListWebACLsRequest {
|
|
|
5108
5108
|
*/
|
|
5109
5109
|
export interface ListWebACLsResponse {
|
|
5110
5110
|
/**
|
|
5111
|
-
* @public
|
|
5112
5111
|
* <p>If you have more <code>WebACL</code> objects than the number that you specified for <code>Limit</code> in the request,
|
|
5113
5112
|
* the response includes a <code>NextMarker</code> value. To list more <code>WebACL</code> objects, submit another
|
|
5114
5113
|
* <code>ListWebACLs</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
5115
5114
|
* <code>NextMarker</code> value in the next request.</p>
|
|
5115
|
+
* @public
|
|
5116
5116
|
*/
|
|
5117
5117
|
NextMarker?: string;
|
|
5118
5118
|
/**
|
|
5119
|
-
* @public
|
|
5120
5119
|
* <p>An array of <a>WebACLSummary</a> objects.</p>
|
|
5120
|
+
* @public
|
|
5121
5121
|
*/
|
|
5122
5122
|
WebACLs?: WebACLSummary[];
|
|
5123
5123
|
}
|
|
5124
5124
|
/**
|
|
5125
|
-
* @public
|
|
5126
5125
|
* <p>A request to list the <a>XssMatchSet</a> objects created by the current AWS account.</p>
|
|
5126
|
+
* @public
|
|
5127
5127
|
*/
|
|
5128
5128
|
export interface ListXssMatchSetsRequest {
|
|
5129
5129
|
/**
|
|
5130
|
-
* @public
|
|
5131
5130
|
* <p>If you specify a value for <code>Limit</code> and you have more <a>XssMatchSet</a> objects than the value of
|
|
5132
5131
|
* <code>Limit</code>, AWS WAF returns a <code>NextMarker</code> value in the response that allows you to list another group of
|
|
5133
5132
|
* <code>XssMatchSets</code>. For the second and subsequent <code>ListXssMatchSets</code> requests, specify the
|
|
5134
5133
|
* value of <code>NextMarker</code> from the previous response to get information about another batch of <code>XssMatchSets</code>.</p>
|
|
5134
|
+
* @public
|
|
5135
5135
|
*/
|
|
5136
5136
|
NextMarker?: string;
|
|
5137
5137
|
/**
|
|
5138
|
-
* @public
|
|
5139
5138
|
* <p>Specifies the number of <a>XssMatchSet</a> objects that you want AWS WAF to return for this request. If you have more
|
|
5140
5139
|
* <code>XssMatchSet</code> objects than the number you specify for <code>Limit</code>, the response includes a
|
|
5141
5140
|
* <code>NextMarker</code> value that you can use to get another batch of <code>Rules</code>.</p>
|
|
5141
|
+
* @public
|
|
5142
5142
|
*/
|
|
5143
5143
|
Limit?: number;
|
|
5144
5144
|
}
|
|
5145
5145
|
/**
|
|
5146
|
-
* @public
|
|
5147
5146
|
* <note>
|
|
5148
5147
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5149
5148
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5153,10 +5152,10 @@ export interface ListXssMatchSetsRequest {
|
|
|
5153
5152
|
* 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>
|
|
5154
5153
|
* </note>
|
|
5155
5154
|
* <p>The <code>Id</code> and <code>Name</code> of an <code>XssMatchSet</code>.</p>
|
|
5155
|
+
* @public
|
|
5156
5156
|
*/
|
|
5157
5157
|
export interface XssMatchSetSummary {
|
|
5158
5158
|
/**
|
|
5159
|
-
* @public
|
|
5160
5159
|
* <p>A unique identifier for an <code>XssMatchSet</code>. You use <code>XssMatchSetId</code> to get information about a
|
|
5161
5160
|
* <code>XssMatchSet</code> (see <a>GetXssMatchSet</a>), update an <code>XssMatchSet</code>
|
|
5162
5161
|
* (see <a>UpdateXssMatchSet</a>), insert an <code>XssMatchSet</code> into a <code>Rule</code> or
|
|
@@ -5164,30 +5163,31 @@ export interface XssMatchSetSummary {
|
|
|
5164
5163
|
* (see <a>DeleteXssMatchSet</a>).</p>
|
|
5165
5164
|
* <p>
|
|
5166
5165
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
5166
|
+
* @public
|
|
5167
5167
|
*/
|
|
5168
5168
|
XssMatchSetId: string | undefined;
|
|
5169
5169
|
/**
|
|
5170
|
-
* @public
|
|
5171
5170
|
* <p>The name of the <code>XssMatchSet</code>, if any, specified by <code>Id</code>.</p>
|
|
5171
|
+
* @public
|
|
5172
5172
|
*/
|
|
5173
5173
|
Name: string | undefined;
|
|
5174
5174
|
}
|
|
5175
5175
|
/**
|
|
5176
|
-
* @public
|
|
5177
5176
|
* <p>The response to a <a>ListXssMatchSets</a> request.</p>
|
|
5177
|
+
* @public
|
|
5178
5178
|
*/
|
|
5179
5179
|
export interface ListXssMatchSetsResponse {
|
|
5180
5180
|
/**
|
|
5181
|
-
* @public
|
|
5182
5181
|
* <p>If you have more <a>XssMatchSet</a> objects than the number that you specified for <code>Limit</code> in the request,
|
|
5183
5182
|
* the response includes a <code>NextMarker</code> value. To list more <code>XssMatchSet</code> objects, submit another
|
|
5184
5183
|
* <code>ListXssMatchSets</code> request, and specify the <code>NextMarker</code> value from the response in the
|
|
5185
5184
|
* <code>NextMarker</code> value in the next request.</p>
|
|
5185
|
+
* @public
|
|
5186
5186
|
*/
|
|
5187
5187
|
NextMarker?: string;
|
|
5188
5188
|
/**
|
|
5189
|
-
* @public
|
|
5190
5189
|
* <p>An array of <a>XssMatchSetSummary</a> objects.</p>
|
|
5190
|
+
* @public
|
|
5191
5191
|
*/
|
|
5192
5192
|
XssMatchSets?: XssMatchSetSummary[];
|
|
5193
5193
|
}
|
|
@@ -5196,7 +5196,6 @@ export interface ListXssMatchSetsResponse {
|
|
|
5196
5196
|
*/
|
|
5197
5197
|
export interface PutLoggingConfigurationRequest {
|
|
5198
5198
|
/**
|
|
5199
|
-
* @public
|
|
5200
5199
|
* <p>The Amazon Kinesis Data Firehose that contains the inspected traffic
|
|
5201
5200
|
* information, the redacted fields details, and the Amazon Resource Name (ARN) of the web ACL
|
|
5202
5201
|
* to monitor.</p>
|
|
@@ -5205,6 +5204,7 @@ export interface PutLoggingConfigurationRequest {
|
|
|
5205
5204
|
* the following values: <code>URI</code>, <code>QUERY_STRING</code>, <code>HEADER</code>,
|
|
5206
5205
|
* or <code>METHOD</code>.</p>
|
|
5207
5206
|
* </note>
|
|
5207
|
+
* @public
|
|
5208
5208
|
*/
|
|
5209
5209
|
LoggingConfiguration: LoggingConfiguration | undefined;
|
|
5210
5210
|
}
|
|
@@ -5213,14 +5213,14 @@ export interface PutLoggingConfigurationRequest {
|
|
|
5213
5213
|
*/
|
|
5214
5214
|
export interface PutLoggingConfigurationResponse {
|
|
5215
5215
|
/**
|
|
5216
|
-
* @public
|
|
5217
5216
|
* <p>The <a>LoggingConfiguration</a> that you submitted in the request.</p>
|
|
5217
|
+
* @public
|
|
5218
5218
|
*/
|
|
5219
5219
|
LoggingConfiguration?: LoggingConfiguration;
|
|
5220
5220
|
}
|
|
5221
5221
|
/**
|
|
5222
|
-
* @public
|
|
5223
5222
|
* <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>
|
|
5223
|
+
* @public
|
|
5224
5224
|
*/
|
|
5225
5225
|
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
5226
5226
|
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
@@ -5235,13 +5235,13 @@ export declare class WAFServiceLinkedRoleErrorException extends __BaseException
|
|
|
5235
5235
|
*/
|
|
5236
5236
|
export interface PutPermissionPolicyRequest {
|
|
5237
5237
|
/**
|
|
5238
|
-
* @public
|
|
5239
5238
|
* <p>The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.</p>
|
|
5239
|
+
* @public
|
|
5240
5240
|
*/
|
|
5241
5241
|
ResourceArn: string | undefined;
|
|
5242
5242
|
/**
|
|
5243
|
-
* @public
|
|
5244
5243
|
* <p>The policy to attach to the specified RuleGroup.</p>
|
|
5244
|
+
* @public
|
|
5245
5245
|
*/
|
|
5246
5246
|
Policy: string | undefined;
|
|
5247
5247
|
}
|
|
@@ -5251,7 +5251,6 @@ export interface PutPermissionPolicyRequest {
|
|
|
5251
5251
|
export interface PutPermissionPolicyResponse {
|
|
5252
5252
|
}
|
|
5253
5253
|
/**
|
|
5254
|
-
* @public
|
|
5255
5254
|
* <p>The operation failed because the specified policy is not in the proper format. </p>
|
|
5256
5255
|
* <p>The policy is subject to the following restrictions:</p>
|
|
5257
5256
|
* <ul>
|
|
@@ -5282,6 +5281,7 @@ export interface PutPermissionPolicyResponse {
|
|
|
5282
5281
|
* <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
|
|
5283
5282
|
* </li>
|
|
5284
5283
|
* </ul>
|
|
5284
|
+
* @public
|
|
5285
5285
|
*/
|
|
5286
5286
|
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
5287
5287
|
readonly name: "WAFInvalidPermissionPolicyException";
|
|
@@ -5296,13 +5296,13 @@ export declare class WAFInvalidPermissionPolicyException extends __BaseException
|
|
|
5296
5296
|
*/
|
|
5297
5297
|
export interface TagResourceRequest {
|
|
5298
5298
|
/**
|
|
5299
|
-
* @public
|
|
5300
5299
|
* <p></p>
|
|
5300
|
+
* @public
|
|
5301
5301
|
*/
|
|
5302
5302
|
ResourceARN: string | undefined;
|
|
5303
5303
|
/**
|
|
5304
|
-
* @public
|
|
5305
5304
|
* <p></p>
|
|
5305
|
+
* @public
|
|
5306
5306
|
*/
|
|
5307
5307
|
Tags: Tag[] | undefined;
|
|
5308
5308
|
}
|
|
@@ -5316,13 +5316,13 @@ export interface TagResourceResponse {
|
|
|
5316
5316
|
*/
|
|
5317
5317
|
export interface UntagResourceRequest {
|
|
5318
5318
|
/**
|
|
5319
|
-
* @public
|
|
5320
5319
|
* <p></p>
|
|
5320
|
+
* @public
|
|
5321
5321
|
*/
|
|
5322
5322
|
ResourceARN: string | undefined;
|
|
5323
5323
|
/**
|
|
5324
|
-
* @public
|
|
5325
5324
|
* <p></p>
|
|
5325
|
+
* @public
|
|
5326
5326
|
*/
|
|
5327
5327
|
TagKeys: string[] | undefined;
|
|
5328
5328
|
}
|
|
@@ -5344,7 +5344,6 @@ export declare const ChangeAction: {
|
|
|
5344
5344
|
*/
|
|
5345
5345
|
export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
|
|
5346
5346
|
/**
|
|
5347
|
-
* @public
|
|
5348
5347
|
* <note>
|
|
5349
5348
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5350
5349
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5355,18 +5354,19 @@ export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
|
|
|
5355
5354
|
* </note>
|
|
5356
5355
|
* <p>In an <a>UpdateByteMatchSet</a> request, <code>ByteMatchSetUpdate</code> specifies whether to insert or delete a
|
|
5357
5356
|
* <a>ByteMatchTuple</a> and includes the settings for the <code>ByteMatchTuple</code>.</p>
|
|
5357
|
+
* @public
|
|
5358
5358
|
*/
|
|
5359
5359
|
export interface ByteMatchSetUpdate {
|
|
5360
5360
|
/**
|
|
5361
|
-
* @public
|
|
5362
5361
|
* <p>Specifies whether to insert or delete a <a>ByteMatchTuple</a>.</p>
|
|
5362
|
+
* @public
|
|
5363
5363
|
*/
|
|
5364
5364
|
Action: ChangeAction | undefined;
|
|
5365
5365
|
/**
|
|
5366
|
-
* @public
|
|
5367
5366
|
* <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.
|
|
5368
5367
|
* If you specify <code>DELETE</code> for the value of <code>Action</code>, the <code>ByteMatchTuple</code> values must
|
|
5369
5368
|
* exactly match the values in the <code>ByteMatchTuple</code> that you want to delete from the <code>ByteMatchSet</code>.</p>
|
|
5369
|
+
* @public
|
|
5370
5370
|
*/
|
|
5371
5371
|
ByteMatchTuple: ByteMatchTuple | undefined;
|
|
5372
5372
|
}
|
|
@@ -5375,18 +5375,17 @@ export interface ByteMatchSetUpdate {
|
|
|
5375
5375
|
*/
|
|
5376
5376
|
export interface UpdateByteMatchSetRequest {
|
|
5377
5377
|
/**
|
|
5378
|
-
* @public
|
|
5379
5378
|
* <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
|
|
5380
5379
|
* <a>ListByteMatchSets</a>.</p>
|
|
5380
|
+
* @public
|
|
5381
5381
|
*/
|
|
5382
5382
|
ByteMatchSetId: string | undefined;
|
|
5383
5383
|
/**
|
|
5384
|
-
* @public
|
|
5385
5384
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5385
|
+
* @public
|
|
5386
5386
|
*/
|
|
5387
5387
|
ChangeToken: string | undefined;
|
|
5388
5388
|
/**
|
|
5389
|
-
* @public
|
|
5390
5389
|
* <p>An array of <code>ByteMatchSetUpdate</code> objects that you want to insert into or delete from a <a>ByteMatchSet</a>.
|
|
5391
5390
|
* For more information, see the applicable data types:</p>
|
|
5392
5391
|
* <ul>
|
|
@@ -5407,6 +5406,7 @@ export interface UpdateByteMatchSetRequest {
|
|
|
5407
5406
|
* </p>
|
|
5408
5407
|
* </li>
|
|
5409
5408
|
* </ul>
|
|
5409
|
+
* @public
|
|
5410
5410
|
*/
|
|
5411
5411
|
Updates: ByteMatchSetUpdate[] | undefined;
|
|
5412
5412
|
}
|
|
@@ -5415,14 +5415,13 @@ export interface UpdateByteMatchSetRequest {
|
|
|
5415
5415
|
*/
|
|
5416
5416
|
export interface UpdateByteMatchSetResponse {
|
|
5417
5417
|
/**
|
|
5418
|
-
* @public
|
|
5419
5418
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateByteMatchSet</code> request. You can also use this value
|
|
5420
5419
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5420
|
+
* @public
|
|
5421
5421
|
*/
|
|
5422
5422
|
ChangeToken?: string;
|
|
5423
5423
|
}
|
|
5424
5424
|
/**
|
|
5425
|
-
* @public
|
|
5426
5425
|
* <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>
|
|
5427
5426
|
* <ul>
|
|
5428
5427
|
* <li>
|
|
@@ -5439,6 +5438,7 @@ export interface UpdateByteMatchSetResponse {
|
|
|
5439
5438
|
* that doesn't exist.</p>
|
|
5440
5439
|
* </li>
|
|
5441
5440
|
* </ul>
|
|
5441
|
+
* @public
|
|
5442
5442
|
*/
|
|
5443
5443
|
export declare class WAFNonexistentContainerException extends __BaseException {
|
|
5444
5444
|
readonly name: "WAFNonexistentContainerException";
|
|
@@ -5449,7 +5449,6 @@ export declare class WAFNonexistentContainerException extends __BaseException {
|
|
|
5449
5449
|
constructor(opts: __ExceptionOptionType<WAFNonexistentContainerException, __BaseException>);
|
|
5450
5450
|
}
|
|
5451
5451
|
/**
|
|
5452
|
-
* @public
|
|
5453
5452
|
* <note>
|
|
5454
5453
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5455
5454
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5459,16 +5458,17 @@ export declare class WAFNonexistentContainerException extends __BaseException {
|
|
|
5459
5458
|
* 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>
|
|
5460
5459
|
* </note>
|
|
5461
5460
|
* <p>Specifies the type of update to perform to an <a>GeoMatchSet</a> with <a>UpdateGeoMatchSet</a>.</p>
|
|
5461
|
+
* @public
|
|
5462
5462
|
*/
|
|
5463
5463
|
export interface GeoMatchSetUpdate {
|
|
5464
5464
|
/**
|
|
5465
|
-
* @public
|
|
5466
5465
|
* <p>Specifies whether to insert or delete a country with <a>UpdateGeoMatchSet</a>.</p>
|
|
5466
|
+
* @public
|
|
5467
5467
|
*/
|
|
5468
5468
|
Action: ChangeAction | undefined;
|
|
5469
5469
|
/**
|
|
5470
|
-
* @public
|
|
5471
5470
|
* <p>The country from which web requests originate that you want AWS WAF to search for.</p>
|
|
5471
|
+
* @public
|
|
5472
5472
|
*/
|
|
5473
5473
|
GeoMatchConstraint: GeoMatchConstraint | undefined;
|
|
5474
5474
|
}
|
|
@@ -5477,18 +5477,17 @@ export interface GeoMatchSetUpdate {
|
|
|
5477
5477
|
*/
|
|
5478
5478
|
export interface UpdateGeoMatchSetRequest {
|
|
5479
5479
|
/**
|
|
5480
|
-
* @public
|
|
5481
5480
|
* <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
|
|
5482
5481
|
* <a>ListGeoMatchSets</a>.</p>
|
|
5482
|
+
* @public
|
|
5483
5483
|
*/
|
|
5484
5484
|
GeoMatchSetId: string | undefined;
|
|
5485
5485
|
/**
|
|
5486
|
-
* @public
|
|
5487
5486
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5487
|
+
* @public
|
|
5488
5488
|
*/
|
|
5489
5489
|
ChangeToken: string | undefined;
|
|
5490
5490
|
/**
|
|
5491
|
-
* @public
|
|
5492
5491
|
* <p>An array of <code>GeoMatchSetUpdate</code> objects that you want to insert into or delete from an <a>GeoMatchSet</a>.
|
|
5493
5492
|
* For more information, see the applicable data types:</p>
|
|
5494
5493
|
* <ul>
|
|
@@ -5504,6 +5503,7 @@ export interface UpdateGeoMatchSetRequest {
|
|
|
5504
5503
|
* <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>
|
|
5505
5504
|
* </li>
|
|
5506
5505
|
* </ul>
|
|
5506
|
+
* @public
|
|
5507
5507
|
*/
|
|
5508
5508
|
Updates: GeoMatchSetUpdate[] | undefined;
|
|
5509
5509
|
}
|
|
@@ -5512,14 +5512,13 @@ export interface UpdateGeoMatchSetRequest {
|
|
|
5512
5512
|
*/
|
|
5513
5513
|
export interface UpdateGeoMatchSetResponse {
|
|
5514
5514
|
/**
|
|
5515
|
-
* @public
|
|
5516
5515
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateGeoMatchSet</code> request. You can also use this value
|
|
5517
5516
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5517
|
+
* @public
|
|
5518
5518
|
*/
|
|
5519
5519
|
ChangeToken?: string;
|
|
5520
5520
|
}
|
|
5521
5521
|
/**
|
|
5522
|
-
* @public
|
|
5523
5522
|
* <note>
|
|
5524
5523
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5525
5524
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5529,16 +5528,17 @@ export interface UpdateGeoMatchSetResponse {
|
|
|
5529
5528
|
* 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>
|
|
5530
5529
|
* </note>
|
|
5531
5530
|
* <p>Specifies the type of update to perform to an <a>IPSet</a> with <a>UpdateIPSet</a>.</p>
|
|
5531
|
+
* @public
|
|
5532
5532
|
*/
|
|
5533
5533
|
export interface IPSetUpdate {
|
|
5534
5534
|
/**
|
|
5535
|
-
* @public
|
|
5536
5535
|
* <p>Specifies whether to insert or delete an IP address with <a>UpdateIPSet</a>.</p>
|
|
5536
|
+
* @public
|
|
5537
5537
|
*/
|
|
5538
5538
|
Action: ChangeAction | undefined;
|
|
5539
5539
|
/**
|
|
5540
|
-
* @public
|
|
5541
5540
|
* <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>
|
|
5541
|
+
* @public
|
|
5542
5542
|
*/
|
|
5543
5543
|
IPSetDescriptor: IPSetDescriptor | undefined;
|
|
5544
5544
|
}
|
|
@@ -5547,18 +5547,17 @@ export interface IPSetUpdate {
|
|
|
5547
5547
|
*/
|
|
5548
5548
|
export interface UpdateIPSetRequest {
|
|
5549
5549
|
/**
|
|
5550
|
-
* @public
|
|
5551
5550
|
* <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
|
|
5552
5551
|
* <a>ListIPSets</a>.</p>
|
|
5552
|
+
* @public
|
|
5553
5553
|
*/
|
|
5554
5554
|
IPSetId: string | undefined;
|
|
5555
5555
|
/**
|
|
5556
|
-
* @public
|
|
5557
5556
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5557
|
+
* @public
|
|
5558
5558
|
*/
|
|
5559
5559
|
ChangeToken: string | undefined;
|
|
5560
5560
|
/**
|
|
5561
|
-
* @public
|
|
5562
5561
|
* <p>An array of <code>IPSetUpdate</code> objects that you want to insert into or delete from an <a>IPSet</a>.
|
|
5563
5562
|
* For more information, see the applicable data types:</p>
|
|
5564
5563
|
* <ul>
|
|
@@ -5574,6 +5573,7 @@ export interface UpdateIPSetRequest {
|
|
|
5574
5573
|
* </li>
|
|
5575
5574
|
* </ul>
|
|
5576
5575
|
* <p>You can insert a maximum of 1000 addresses in a single request.</p>
|
|
5576
|
+
* @public
|
|
5577
5577
|
*/
|
|
5578
5578
|
Updates: IPSetUpdate[] | undefined;
|
|
5579
5579
|
}
|
|
@@ -5582,14 +5582,13 @@ export interface UpdateIPSetRequest {
|
|
|
5582
5582
|
*/
|
|
5583
5583
|
export interface UpdateIPSetResponse {
|
|
5584
5584
|
/**
|
|
5585
|
-
* @public
|
|
5586
5585
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateIPSet</code> request. You can also use this value
|
|
5587
5586
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5587
|
+
* @public
|
|
5588
5588
|
*/
|
|
5589
5589
|
ChangeToken?: string;
|
|
5590
5590
|
}
|
|
5591
5591
|
/**
|
|
5592
|
-
* @public
|
|
5593
5592
|
* <note>
|
|
5594
5593
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5595
5594
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5600,17 +5599,18 @@ export interface UpdateIPSetResponse {
|
|
|
5600
5599
|
* </note>
|
|
5601
5600
|
* <p>Specifies a <code>Predicate</code> (such as an <code>IPSet</code>) and indicates whether you want to add it to a
|
|
5602
5601
|
* <code>Rule</code> or delete it from a <code>Rule</code>.</p>
|
|
5602
|
+
* @public
|
|
5603
5603
|
*/
|
|
5604
5604
|
export interface RuleUpdate {
|
|
5605
5605
|
/**
|
|
5606
|
-
* @public
|
|
5607
5606
|
* <p>Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use <code>DELETE</code> to remove a
|
|
5608
5607
|
* <code>Predicate</code> from a <code>Rule</code>.</p>
|
|
5608
|
+
* @public
|
|
5609
5609
|
*/
|
|
5610
5610
|
Action: ChangeAction | undefined;
|
|
5611
5611
|
/**
|
|
5612
|
-
* @public
|
|
5613
5612
|
* <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>
|
|
5613
|
+
* @public
|
|
5614
5614
|
*/
|
|
5615
5615
|
Predicate: Predicate | undefined;
|
|
5616
5616
|
}
|
|
@@ -5619,28 +5619,28 @@ export interface RuleUpdate {
|
|
|
5619
5619
|
*/
|
|
5620
5620
|
export interface UpdateRateBasedRuleRequest {
|
|
5621
5621
|
/**
|
|
5622
|
-
* @public
|
|
5623
5622
|
* <p>The <code>RuleId</code> of the <code>RateBasedRule</code> that you want to update.
|
|
5624
5623
|
* <code>RuleId</code> is returned by <code>CreateRateBasedRule</code> and by <a>ListRateBasedRules</a>.</p>
|
|
5624
|
+
* @public
|
|
5625
5625
|
*/
|
|
5626
5626
|
RuleId: string | undefined;
|
|
5627
5627
|
/**
|
|
5628
|
-
* @public
|
|
5629
5628
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5629
|
+
* @public
|
|
5630
5630
|
*/
|
|
5631
5631
|
ChangeToken: string | undefined;
|
|
5632
5632
|
/**
|
|
5633
|
-
* @public
|
|
5634
5633
|
* <p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete
|
|
5635
5634
|
* from a <a>RateBasedRule</a>. </p>
|
|
5635
|
+
* @public
|
|
5636
5636
|
*/
|
|
5637
5637
|
Updates: RuleUpdate[] | undefined;
|
|
5638
5638
|
/**
|
|
5639
|
-
* @public
|
|
5640
5639
|
* <p>The maximum number of requests, which have an identical value in the field specified by the <code>RateKey</code>, allowed in a
|
|
5641
5640
|
* five-minute period. If the number of requests exceeds the <code>RateLimit</code> and the other
|
|
5642
5641
|
* predicates specified in the rule are also met,
|
|
5643
5642
|
* AWS WAF triggers the action that is specified for this rule.</p>
|
|
5643
|
+
* @public
|
|
5644
5644
|
*/
|
|
5645
5645
|
RateLimit: number | undefined;
|
|
5646
5646
|
}
|
|
@@ -5649,15 +5649,14 @@ export interface UpdateRateBasedRuleRequest {
|
|
|
5649
5649
|
*/
|
|
5650
5650
|
export interface UpdateRateBasedRuleResponse {
|
|
5651
5651
|
/**
|
|
5652
|
-
* @public
|
|
5653
5652
|
* <p>The <code>ChangeToken</code> that you used to submit the
|
|
5654
5653
|
* <code>UpdateRateBasedRule</code> request. You can also use this value to query the
|
|
5655
5654
|
* status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5655
|
+
* @public
|
|
5656
5656
|
*/
|
|
5657
5657
|
ChangeToken?: string;
|
|
5658
5658
|
}
|
|
5659
5659
|
/**
|
|
5660
|
-
* @public
|
|
5661
5660
|
* <note>
|
|
5662
5661
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5663
5662
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5668,18 +5667,19 @@ export interface UpdateRateBasedRuleResponse {
|
|
|
5668
5667
|
* </note>
|
|
5669
5668
|
* <p>In an <a>UpdateRegexMatchSet</a> request, <code>RegexMatchSetUpdate</code> specifies whether to insert or delete a
|
|
5670
5669
|
* <a>RegexMatchTuple</a> and includes the settings for the <code>RegexMatchTuple</code>.</p>
|
|
5670
|
+
* @public
|
|
5671
5671
|
*/
|
|
5672
5672
|
export interface RegexMatchSetUpdate {
|
|
5673
5673
|
/**
|
|
5674
|
-
* @public
|
|
5675
5674
|
* <p>Specifies whether to insert or delete a <a>RegexMatchTuple</a>.</p>
|
|
5675
|
+
* @public
|
|
5676
5676
|
*/
|
|
5677
5677
|
Action: ChangeAction | undefined;
|
|
5678
5678
|
/**
|
|
5679
|
-
* @public
|
|
5680
5679
|
* <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.
|
|
5681
5680
|
* If you specify <code>DELETE</code> for the value of <code>Action</code>, the <code>RegexMatchTuple</code> values must
|
|
5682
5681
|
* exactly match the values in the <code>RegexMatchTuple</code> that you want to delete from the <code>RegexMatchSet</code>.</p>
|
|
5682
|
+
* @public
|
|
5683
5683
|
*/
|
|
5684
5684
|
RegexMatchTuple: RegexMatchTuple | undefined;
|
|
5685
5685
|
}
|
|
@@ -5688,20 +5688,20 @@ export interface RegexMatchSetUpdate {
|
|
|
5688
5688
|
*/
|
|
5689
5689
|
export interface UpdateRegexMatchSetRequest {
|
|
5690
5690
|
/**
|
|
5691
|
-
* @public
|
|
5692
5691
|
* <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
|
|
5693
5692
|
* <a>ListRegexMatchSets</a>.</p>
|
|
5693
|
+
* @public
|
|
5694
5694
|
*/
|
|
5695
5695
|
RegexMatchSetId: string | undefined;
|
|
5696
5696
|
/**
|
|
5697
|
-
* @public
|
|
5698
5697
|
* <p>An array of <code>RegexMatchSetUpdate</code> objects that you want to insert into or delete from a <a>RegexMatchSet</a>.
|
|
5699
5698
|
* For more information, see <a>RegexMatchTuple</a>.</p>
|
|
5699
|
+
* @public
|
|
5700
5700
|
*/
|
|
5701
5701
|
Updates: RegexMatchSetUpdate[] | undefined;
|
|
5702
5702
|
/**
|
|
5703
|
-
* @public
|
|
5704
5703
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5704
|
+
* @public
|
|
5705
5705
|
*/
|
|
5706
5706
|
ChangeToken: string | undefined;
|
|
5707
5707
|
}
|
|
@@ -5710,14 +5710,13 @@ export interface UpdateRegexMatchSetRequest {
|
|
|
5710
5710
|
*/
|
|
5711
5711
|
export interface UpdateRegexMatchSetResponse {
|
|
5712
5712
|
/**
|
|
5713
|
-
* @public
|
|
5714
5713
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexMatchSet</code> request. You can also use this value
|
|
5715
5714
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5715
|
+
* @public
|
|
5716
5716
|
*/
|
|
5717
5717
|
ChangeToken?: string;
|
|
5718
5718
|
}
|
|
5719
5719
|
/**
|
|
5720
|
-
* @public
|
|
5721
5720
|
* <note>
|
|
5722
5721
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5723
5722
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5728,16 +5727,17 @@ export interface UpdateRegexMatchSetResponse {
|
|
|
5728
5727
|
* </note>
|
|
5729
5728
|
* <p>In an <a>UpdateRegexPatternSet</a> request, <code>RegexPatternSetUpdate</code> specifies whether to insert or delete a
|
|
5730
5729
|
* <code>RegexPatternString</code> and includes the settings for the <code>RegexPatternString</code>.</p>
|
|
5730
|
+
* @public
|
|
5731
5731
|
*/
|
|
5732
5732
|
export interface RegexPatternSetUpdate {
|
|
5733
5733
|
/**
|
|
5734
|
-
* @public
|
|
5735
5734
|
* <p>Specifies whether to insert or delete a <code>RegexPatternString</code>.</p>
|
|
5735
|
+
* @public
|
|
5736
5736
|
*/
|
|
5737
5737
|
Action: ChangeAction | undefined;
|
|
5738
5738
|
/**
|
|
5739
|
-
* @public
|
|
5740
5739
|
* <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>
|
|
5740
|
+
* @public
|
|
5741
5741
|
*/
|
|
5742
5742
|
RegexPatternString: string | undefined;
|
|
5743
5743
|
}
|
|
@@ -5746,19 +5746,19 @@ export interface RegexPatternSetUpdate {
|
|
|
5746
5746
|
*/
|
|
5747
5747
|
export interface UpdateRegexPatternSetRequest {
|
|
5748
5748
|
/**
|
|
5749
|
-
* @public
|
|
5750
5749
|
* <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
|
|
5751
5750
|
* <a>ListRegexPatternSets</a>.</p>
|
|
5751
|
+
* @public
|
|
5752
5752
|
*/
|
|
5753
5753
|
RegexPatternSetId: string | undefined;
|
|
5754
5754
|
/**
|
|
5755
|
-
* @public
|
|
5756
5755
|
* <p>An array of <code>RegexPatternSetUpdate</code> objects that you want to insert into or delete from a <a>RegexPatternSet</a>.</p>
|
|
5756
|
+
* @public
|
|
5757
5757
|
*/
|
|
5758
5758
|
Updates: RegexPatternSetUpdate[] | undefined;
|
|
5759
5759
|
/**
|
|
5760
|
-
* @public
|
|
5761
5760
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5761
|
+
* @public
|
|
5762
5762
|
*/
|
|
5763
5763
|
ChangeToken: string | undefined;
|
|
5764
5764
|
}
|
|
@@ -5767,15 +5767,15 @@ export interface UpdateRegexPatternSetRequest {
|
|
|
5767
5767
|
*/
|
|
5768
5768
|
export interface UpdateRegexPatternSetResponse {
|
|
5769
5769
|
/**
|
|
5770
|
-
* @public
|
|
5771
5770
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRegexPatternSet</code> request. You can also use this value
|
|
5772
5771
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5772
|
+
* @public
|
|
5773
5773
|
*/
|
|
5774
5774
|
ChangeToken?: string;
|
|
5775
5775
|
}
|
|
5776
5776
|
/**
|
|
5777
|
-
* @public
|
|
5778
5777
|
* <p>The regular expression (regex) you specified in <code>RegexPatternString</code> is invalid.</p>
|
|
5778
|
+
* @public
|
|
5779
5779
|
*/
|
|
5780
5780
|
export declare class WAFInvalidRegexPatternException extends __BaseException {
|
|
5781
5781
|
readonly name: "WAFInvalidRegexPatternException";
|
|
@@ -5790,18 +5790,17 @@ export declare class WAFInvalidRegexPatternException extends __BaseException {
|
|
|
5790
5790
|
*/
|
|
5791
5791
|
export interface UpdateRuleRequest {
|
|
5792
5792
|
/**
|
|
5793
|
-
* @public
|
|
5794
5793
|
* <p>The <code>RuleId</code> of the <code>Rule</code> that you want to update. <code>RuleId</code> is returned by
|
|
5795
5794
|
* <code>CreateRule</code> and by <a>ListRules</a>.</p>
|
|
5795
|
+
* @public
|
|
5796
5796
|
*/
|
|
5797
5797
|
RuleId: string | undefined;
|
|
5798
5798
|
/**
|
|
5799
|
-
* @public
|
|
5800
5799
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5800
|
+
* @public
|
|
5801
5801
|
*/
|
|
5802
5802
|
ChangeToken: string | undefined;
|
|
5803
5803
|
/**
|
|
5804
|
-
* @public
|
|
5805
5804
|
* <p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete from a
|
|
5806
5805
|
* <a>Rule</a>. For more information, see the applicable data types:</p>
|
|
5807
5806
|
* <ul>
|
|
@@ -5821,6 +5820,7 @@ export interface UpdateRuleRequest {
|
|
|
5821
5820
|
* </p>
|
|
5822
5821
|
* </li>
|
|
5823
5822
|
* </ul>
|
|
5823
|
+
* @public
|
|
5824
5824
|
*/
|
|
5825
5825
|
Updates: RuleUpdate[] | undefined;
|
|
5826
5826
|
}
|
|
@@ -5829,14 +5829,13 @@ export interface UpdateRuleRequest {
|
|
|
5829
5829
|
*/
|
|
5830
5830
|
export interface UpdateRuleResponse {
|
|
5831
5831
|
/**
|
|
5832
|
-
* @public
|
|
5833
5832
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRule</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,19 +5846,20 @@ export interface UpdateRuleResponse {
|
|
|
5847
5846
|
* </note>
|
|
5848
5847
|
* <p>Specifies an <code>ActivatedRule</code> and indicates whether you want to add it to a
|
|
5849
5848
|
* <code>RuleGroup</code> or delete it from a <code>RuleGroup</code>.</p>
|
|
5849
|
+
* @public
|
|
5850
5850
|
*/
|
|
5851
5851
|
export interface RuleGroupUpdate {
|
|
5852
5852
|
/**
|
|
5853
|
-
* @public
|
|
5854
5853
|
* <p>Specify <code>INSERT</code> to add an <code>ActivatedRule</code> to a <code>RuleGroup</code>. Use <code>DELETE</code> to remove an
|
|
5855
5854
|
* <code>ActivatedRule</code> from a <code>RuleGroup</code>.</p>
|
|
5855
|
+
* @public
|
|
5856
5856
|
*/
|
|
5857
5857
|
Action: ChangeAction | undefined;
|
|
5858
5858
|
/**
|
|
5859
|
-
* @public
|
|
5860
5859
|
* <p>The <code>ActivatedRule</code> object specifies a <code>Rule</code> that you want to insert or delete,
|
|
5861
5860
|
* 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>
|
|
5862
5861
|
* (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>
|
|
5862
|
+
* @public
|
|
5863
5863
|
*/
|
|
5864
5864
|
ActivatedRule: ActivatedRule | undefined;
|
|
5865
5865
|
}
|
|
@@ -5868,23 +5868,23 @@ export interface RuleGroupUpdate {
|
|
|
5868
5868
|
*/
|
|
5869
5869
|
export interface UpdateRuleGroupRequest {
|
|
5870
5870
|
/**
|
|
5871
|
-
* @public
|
|
5872
5871
|
* <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
|
|
5873
5872
|
* <a>ListRuleGroups</a>.</p>
|
|
5873
|
+
* @public
|
|
5874
5874
|
*/
|
|
5875
5875
|
RuleGroupId: string | undefined;
|
|
5876
5876
|
/**
|
|
5877
|
-
* @public
|
|
5878
5877
|
* <p>An array of <code>RuleGroupUpdate</code> objects that you want to insert into or delete from a
|
|
5879
5878
|
* <a>RuleGroup</a>.</p>
|
|
5880
5879
|
* <p>You can only insert <code>REGULAR</code> rules into a rule group.</p>
|
|
5881
5880
|
* <p>
|
|
5882
5881
|
* <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>
|
|
5882
|
+
* @public
|
|
5883
5883
|
*/
|
|
5884
5884
|
Updates: RuleGroupUpdate[] | undefined;
|
|
5885
5885
|
/**
|
|
5886
|
-
* @public
|
|
5887
5886
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5887
|
+
* @public
|
|
5888
5888
|
*/
|
|
5889
5889
|
ChangeToken: string | undefined;
|
|
5890
5890
|
}
|
|
@@ -5893,14 +5893,13 @@ export interface UpdateRuleGroupRequest {
|
|
|
5893
5893
|
*/
|
|
5894
5894
|
export interface UpdateRuleGroupResponse {
|
|
5895
5895
|
/**
|
|
5896
|
-
* @public
|
|
5897
5896
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateRuleGroup</code> request. You can also use this value
|
|
5898
5897
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5898
|
+
* @public
|
|
5899
5899
|
*/
|
|
5900
5900
|
ChangeToken?: string;
|
|
5901
5901
|
}
|
|
5902
5902
|
/**
|
|
5903
|
-
* @public
|
|
5904
5903
|
* <note>
|
|
5905
5904
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5906
5905
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5911,20 +5910,21 @@ export interface UpdateRuleGroupResponse {
|
|
|
5911
5910
|
* </note>
|
|
5912
5911
|
* <p>Specifies the part of a web request that you want to inspect the size of and indicates whether you want to
|
|
5913
5912
|
* add the specification to a <a>SizeConstraintSet</a> or delete it from a <code>SizeConstraintSet</code>.</p>
|
|
5913
|
+
* @public
|
|
5914
5914
|
*/
|
|
5915
5915
|
export interface SizeConstraintSetUpdate {
|
|
5916
5916
|
/**
|
|
5917
|
-
* @public
|
|
5918
5917
|
* <p>Specify <code>INSERT</code> to add a <a>SizeConstraintSetUpdate</a> to a <a>SizeConstraintSet</a>.
|
|
5919
5918
|
* Use <code>DELETE</code> to remove a <code>SizeConstraintSetUpdate</code> from a <code>SizeConstraintSet</code>.</p>
|
|
5919
|
+
* @public
|
|
5920
5920
|
*/
|
|
5921
5921
|
Action: ChangeAction | undefined;
|
|
5922
5922
|
/**
|
|
5923
|
-
* @public
|
|
5924
5923
|
* <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
|
|
5925
5924
|
* an expression in the form of "<code>Size</code>
|
|
5926
5925
|
* <code>ComparisonOperator</code> size in bytes of <code>FieldToMatch</code>". If that expression is true, the
|
|
5927
5926
|
* <code>SizeConstraint</code> is considered to match.</p>
|
|
5927
|
+
* @public
|
|
5928
5928
|
*/
|
|
5929
5929
|
SizeConstraint: SizeConstraint | undefined;
|
|
5930
5930
|
}
|
|
@@ -5933,18 +5933,17 @@ export interface SizeConstraintSetUpdate {
|
|
|
5933
5933
|
*/
|
|
5934
5934
|
export interface UpdateSizeConstraintSetRequest {
|
|
5935
5935
|
/**
|
|
5936
|
-
* @public
|
|
5937
5936
|
* <p>The <code>SizeConstraintSetId</code> of the <a>SizeConstraintSet</a> that you want to update. <code>SizeConstraintSetId</code>
|
|
5938
5937
|
* is returned by <a>CreateSizeConstraintSet</a> and by <a>ListSizeConstraintSets</a>.</p>
|
|
5938
|
+
* @public
|
|
5939
5939
|
*/
|
|
5940
5940
|
SizeConstraintSetId: string | undefined;
|
|
5941
5941
|
/**
|
|
5942
|
-
* @public
|
|
5943
5942
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
5943
|
+
* @public
|
|
5944
5944
|
*/
|
|
5945
5945
|
ChangeToken: string | undefined;
|
|
5946
5946
|
/**
|
|
5947
|
-
* @public
|
|
5948
5947
|
* <p>An array of <code>SizeConstraintSetUpdate</code> objects that you want to insert into or delete from a <a>SizeConstraintSet</a>.
|
|
5949
5948
|
* For more information, see the applicable data types:</p>
|
|
5950
5949
|
* <ul>
|
|
@@ -5965,6 +5964,7 @@ export interface UpdateSizeConstraintSetRequest {
|
|
|
5965
5964
|
* </p>
|
|
5966
5965
|
* </li>
|
|
5967
5966
|
* </ul>
|
|
5967
|
+
* @public
|
|
5968
5968
|
*/
|
|
5969
5969
|
Updates: SizeConstraintSetUpdate[] | undefined;
|
|
5970
5970
|
}
|
|
@@ -5973,14 +5973,13 @@ export interface UpdateSizeConstraintSetRequest {
|
|
|
5973
5973
|
*/
|
|
5974
5974
|
export interface UpdateSizeConstraintSetResponse {
|
|
5975
5975
|
/**
|
|
5976
|
-
* @public
|
|
5977
5976
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSizeConstraintSet</code> request. You can also use this value
|
|
5978
5977
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
5978
|
+
* @public
|
|
5979
5979
|
*/
|
|
5980
5980
|
ChangeToken?: string;
|
|
5981
5981
|
}
|
|
5982
5982
|
/**
|
|
5983
|
-
* @public
|
|
5984
5983
|
* <note>
|
|
5985
5984
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
5986
5985
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -5991,38 +5990,38 @@ export interface UpdateSizeConstraintSetResponse {
|
|
|
5991
5990
|
* </note>
|
|
5992
5991
|
* <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
|
|
5993
5992
|
* add the specification to a <a>SqlInjectionMatchSet</a> or delete it from a <code>SqlInjectionMatchSet</code>.</p>
|
|
5993
|
+
* @public
|
|
5994
5994
|
*/
|
|
5995
5995
|
export interface SqlInjectionMatchSetUpdate {
|
|
5996
5996
|
/**
|
|
5997
|
-
* @public
|
|
5998
5997
|
* <p>Specify <code>INSERT</code> to add a <a>SqlInjectionMatchSetUpdate</a> to a <a>SqlInjectionMatchSet</a>.
|
|
5999
5998
|
* Use <code>DELETE</code> to remove a <code>SqlInjectionMatchSetUpdate</code> from a <code>SqlInjectionMatchSet</code>.</p>
|
|
5999
|
+
* @public
|
|
6000
6000
|
*/
|
|
6001
6001
|
Action: ChangeAction | undefined;
|
|
6002
6002
|
/**
|
|
6003
|
-
* @public
|
|
6004
6003
|
* <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>
|
|
6004
|
+
* @public
|
|
6005
6005
|
*/
|
|
6006
6006
|
SqlInjectionMatchTuple: SqlInjectionMatchTuple | undefined;
|
|
6007
6007
|
}
|
|
6008
6008
|
/**
|
|
6009
|
-
* @public
|
|
6010
6009
|
* <p>A request to update a <a>SqlInjectionMatchSet</a>.</p>
|
|
6010
|
+
* @public
|
|
6011
6011
|
*/
|
|
6012
6012
|
export interface UpdateSqlInjectionMatchSetRequest {
|
|
6013
6013
|
/**
|
|
6014
|
-
* @public
|
|
6015
6014
|
* <p>The <code>SqlInjectionMatchSetId</code> of the <code>SqlInjectionMatchSet</code> that you want to update.
|
|
6016
6015
|
* <code>SqlInjectionMatchSetId</code> is returned by <a>CreateSqlInjectionMatchSet</a> and by <a>ListSqlInjectionMatchSets</a>.</p>
|
|
6016
|
+
* @public
|
|
6017
6017
|
*/
|
|
6018
6018
|
SqlInjectionMatchSetId: string | undefined;
|
|
6019
6019
|
/**
|
|
6020
|
-
* @public
|
|
6021
6020
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
6021
|
+
* @public
|
|
6022
6022
|
*/
|
|
6023
6023
|
ChangeToken: string | undefined;
|
|
6024
6024
|
/**
|
|
6025
|
-
* @public
|
|
6026
6025
|
* <p>An array of <code>SqlInjectionMatchSetUpdate</code> objects that you want to insert into or delete from a
|
|
6027
6026
|
* <a>SqlInjectionMatchSet</a>. For more information, see the applicable data types:</p>
|
|
6028
6027
|
* <ul>
|
|
@@ -6042,23 +6041,23 @@ export interface UpdateSqlInjectionMatchSetRequest {
|
|
|
6042
6041
|
* </p>
|
|
6043
6042
|
* </li>
|
|
6044
6043
|
* </ul>
|
|
6044
|
+
* @public
|
|
6045
6045
|
*/
|
|
6046
6046
|
Updates: SqlInjectionMatchSetUpdate[] | undefined;
|
|
6047
6047
|
}
|
|
6048
6048
|
/**
|
|
6049
|
-
* @public
|
|
6050
6049
|
* <p>The response to an <a>UpdateSqlInjectionMatchSets</a> request.</p>
|
|
6050
|
+
* @public
|
|
6051
6051
|
*/
|
|
6052
6052
|
export interface UpdateSqlInjectionMatchSetResponse {
|
|
6053
6053
|
/**
|
|
6054
|
-
* @public
|
|
6055
6054
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateSqlInjectionMatchSet</code> request. You can also use this value
|
|
6056
6055
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
6056
|
+
* @public
|
|
6057
6057
|
*/
|
|
6058
6058
|
ChangeToken?: string;
|
|
6059
6059
|
}
|
|
6060
6060
|
/**
|
|
6061
|
-
* @public
|
|
6062
6061
|
* <note>
|
|
6063
6062
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
6064
6063
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -6068,18 +6067,19 @@ export interface UpdateSqlInjectionMatchSetResponse {
|
|
|
6068
6067
|
* 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>
|
|
6069
6068
|
* </note>
|
|
6070
6069
|
* <p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>
|
|
6070
|
+
* @public
|
|
6071
6071
|
*/
|
|
6072
6072
|
export interface WebACLUpdate {
|
|
6073
6073
|
/**
|
|
6074
|
-
* @public
|
|
6075
6074
|
* <p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>
|
|
6075
|
+
* @public
|
|
6076
6076
|
*/
|
|
6077
6077
|
Action: ChangeAction | undefined;
|
|
6078
6078
|
/**
|
|
6079
|
-
* @public
|
|
6080
6079
|
* <p>The <code>ActivatedRule</code> object in an <a>UpdateWebACL</a> request specifies a <code>Rule</code> that you want to insert or delete,
|
|
6081
6080
|
* 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>
|
|
6082
6081
|
* (<code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>).</p>
|
|
6082
|
+
* @public
|
|
6083
6083
|
*/
|
|
6084
6084
|
ActivatedRule: ActivatedRule | undefined;
|
|
6085
6085
|
}
|
|
@@ -6088,18 +6088,17 @@ export interface WebACLUpdate {
|
|
|
6088
6088
|
*/
|
|
6089
6089
|
export interface UpdateWebACLRequest {
|
|
6090
6090
|
/**
|
|
6091
|
-
* @public
|
|
6092
6091
|
* <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
|
|
6093
6092
|
* <a>ListWebACLs</a>.</p>
|
|
6093
|
+
* @public
|
|
6094
6094
|
*/
|
|
6095
6095
|
WebACLId: string | undefined;
|
|
6096
6096
|
/**
|
|
6097
|
-
* @public
|
|
6098
6097
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
6098
|
+
* @public
|
|
6099
6099
|
*/
|
|
6100
6100
|
ChangeToken: string | undefined;
|
|
6101
6101
|
/**
|
|
6102
|
-
* @public
|
|
6103
6102
|
* <p>An array of updates to make to the <a>WebACL</a>.</p>
|
|
6104
6103
|
* <p>An array of <code>WebACLUpdate</code> objects that you want to insert into or delete from a
|
|
6105
6104
|
* <a>WebACL</a>. For more information, see the applicable data types:</p>
|
|
@@ -6126,12 +6125,13 @@ export interface UpdateWebACLRequest {
|
|
|
6126
6125
|
* </p>
|
|
6127
6126
|
* </li>
|
|
6128
6127
|
* </ul>
|
|
6128
|
+
* @public
|
|
6129
6129
|
*/
|
|
6130
6130
|
Updates?: WebACLUpdate[];
|
|
6131
6131
|
/**
|
|
6132
|
-
* @public
|
|
6133
6132
|
* <p>A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default
|
|
6134
6133
|
* action if a request doesn't match the criteria in any of the rules in a web ACL.</p>
|
|
6134
|
+
* @public
|
|
6135
6135
|
*/
|
|
6136
6136
|
DefaultAction?: WafAction;
|
|
6137
6137
|
}
|
|
@@ -6140,15 +6140,15 @@ export interface UpdateWebACLRequest {
|
|
|
6140
6140
|
*/
|
|
6141
6141
|
export interface UpdateWebACLResponse {
|
|
6142
6142
|
/**
|
|
6143
|
-
* @public
|
|
6144
6143
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateWebACL</code> request. You can also use this value
|
|
6145
6144
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
6145
|
+
* @public
|
|
6146
6146
|
*/
|
|
6147
6147
|
ChangeToken?: string;
|
|
6148
6148
|
}
|
|
6149
6149
|
/**
|
|
6150
|
-
* @public
|
|
6151
6150
|
* <p>The specified subscription does not exist.</p>
|
|
6151
|
+
* @public
|
|
6152
6152
|
*/
|
|
6153
6153
|
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
6154
6154
|
readonly name: "WAFSubscriptionNotFoundException";
|
|
@@ -6159,7 +6159,6 @@ export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
|
6159
6159
|
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
6160
6160
|
}
|
|
6161
6161
|
/**
|
|
6162
|
-
* @public
|
|
6163
6162
|
* <note>
|
|
6164
6163
|
* <p>This is <b>AWS WAF Classic</b> documentation. For
|
|
6165
6164
|
* more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
|
|
@@ -6170,40 +6169,40 @@ export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
|
6170
6169
|
* </note>
|
|
6171
6170
|
* <p>Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether you want to
|
|
6172
6171
|
* add the specification to an <a>XssMatchSet</a> or delete it from an <code>XssMatchSet</code>.</p>
|
|
6172
|
+
* @public
|
|
6173
6173
|
*/
|
|
6174
6174
|
export interface XssMatchSetUpdate {
|
|
6175
6175
|
/**
|
|
6176
|
-
* @public
|
|
6177
6176
|
* <p>Specify <code>INSERT</code> to add an
|
|
6178
6177
|
* <a>XssMatchSetUpdate</a> to an <a>XssMatchSet</a>. Use
|
|
6179
6178
|
* <code>DELETE</code> to remove an
|
|
6180
6179
|
* <code>XssMatchSetUpdate</code> from an <code>XssMatchSet</code>.</p>
|
|
6180
|
+
* @public
|
|
6181
6181
|
*/
|
|
6182
6182
|
Action: ChangeAction | undefined;
|
|
6183
6183
|
/**
|
|
6184
|
-
* @public
|
|
6185
6184
|
* <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>
|
|
6185
|
+
* @public
|
|
6186
6186
|
*/
|
|
6187
6187
|
XssMatchTuple: XssMatchTuple | undefined;
|
|
6188
6188
|
}
|
|
6189
6189
|
/**
|
|
6190
|
-
* @public
|
|
6191
6190
|
* <p>A request to update an <a>XssMatchSet</a>.</p>
|
|
6191
|
+
* @public
|
|
6192
6192
|
*/
|
|
6193
6193
|
export interface UpdateXssMatchSetRequest {
|
|
6194
6194
|
/**
|
|
6195
|
-
* @public
|
|
6196
6195
|
* <p>The <code>XssMatchSetId</code> of the <code>XssMatchSet</code> that you want to update.
|
|
6197
6196
|
* <code>XssMatchSetId</code> is returned by <a>CreateXssMatchSet</a> and by <a>ListXssMatchSets</a>.</p>
|
|
6197
|
+
* @public
|
|
6198
6198
|
*/
|
|
6199
6199
|
XssMatchSetId: string | undefined;
|
|
6200
6200
|
/**
|
|
6201
|
-
* @public
|
|
6202
6201
|
* <p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>
|
|
6202
|
+
* @public
|
|
6203
6203
|
*/
|
|
6204
6204
|
ChangeToken: string | undefined;
|
|
6205
6205
|
/**
|
|
6206
|
-
* @public
|
|
6207
6206
|
* <p>An array of <code>XssMatchSetUpdate</code> objects that you want to insert into or
|
|
6208
6207
|
* delete from an
|
|
6209
6208
|
* <a>XssMatchSet</a>. For more information, see the applicable data
|
|
@@ -6225,18 +6224,19 @@ export interface UpdateXssMatchSetRequest {
|
|
|
6225
6224
|
* </p>
|
|
6226
6225
|
* </li>
|
|
6227
6226
|
* </ul>
|
|
6227
|
+
* @public
|
|
6228
6228
|
*/
|
|
6229
6229
|
Updates: XssMatchSetUpdate[] | undefined;
|
|
6230
6230
|
}
|
|
6231
6231
|
/**
|
|
6232
|
-
* @public
|
|
6233
6232
|
* <p>The response to an <a>UpdateXssMatchSets</a> request.</p>
|
|
6233
|
+
* @public
|
|
6234
6234
|
*/
|
|
6235
6235
|
export interface UpdateXssMatchSetResponse {
|
|
6236
6236
|
/**
|
|
6237
|
-
* @public
|
|
6238
6237
|
* <p>The <code>ChangeToken</code> that you used to submit the <code>UpdateXssMatchSet</code> request. You can also use this value
|
|
6239
6238
|
* to query the status of the request. For more information, see <a>GetChangeTokenStatus</a>.</p>
|
|
6239
|
+
* @public
|
|
6240
6240
|
*/
|
|
6241
6241
|
ChangeToken?: string;
|
|
6242
6242
|
}
|