@aws-sdk/client-waf 3.427.0 → 3.429.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/models/models_0.d.ts +32 -32
- package/dist-types/ts3.4/models/models_0.d.ts +32 -32
- package/package.json +31 -31
|
@@ -48,7 +48,7 @@ export interface WafAction {
|
|
|
48
48
|
* </li>
|
|
49
49
|
* </ul>
|
|
50
50
|
*/
|
|
51
|
-
Type: WafActionType |
|
|
51
|
+
Type: WafActionType | undefined;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* @public
|
|
@@ -101,7 +101,7 @@ export interface WafOverrideAction {
|
|
|
101
101
|
* <p>
|
|
102
102
|
* <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>
|
|
103
103
|
*/
|
|
104
|
-
Type: WafOverrideActionType |
|
|
104
|
+
Type: WafOverrideActionType | undefined;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* @public
|
|
@@ -189,7 +189,7 @@ export interface ActivatedRule {
|
|
|
189
189
|
* <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
190
|
* </p>
|
|
191
191
|
*/
|
|
192
|
-
Type?: WafRuleType
|
|
192
|
+
Type?: WafRuleType;
|
|
193
193
|
/**
|
|
194
194
|
* @public
|
|
195
195
|
* <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>
|
|
@@ -324,7 +324,7 @@ export interface FieldToMatch {
|
|
|
324
324
|
* </li>
|
|
325
325
|
* </ul>
|
|
326
326
|
*/
|
|
327
|
-
Type: MatchFieldType |
|
|
327
|
+
Type: MatchFieldType | undefined;
|
|
328
328
|
/**
|
|
329
329
|
* @public
|
|
330
330
|
* <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,
|
|
@@ -548,7 +548,7 @@ export interface ByteMatchTuple {
|
|
|
548
548
|
* </p>
|
|
549
549
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
550
550
|
*/
|
|
551
|
-
TextTransformation: TextTransformation |
|
|
551
|
+
TextTransformation: TextTransformation | undefined;
|
|
552
552
|
/**
|
|
553
553
|
* @public
|
|
554
554
|
* <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>
|
|
@@ -597,7 +597,7 @@ export interface ByteMatchTuple {
|
|
|
597
597
|
* </p>
|
|
598
598
|
* <p>The value of <code>TargetString</code> must appear at the end of the specified part of the web request.</p>
|
|
599
599
|
*/
|
|
600
|
-
PositionalConstraint: PositionalConstraint |
|
|
600
|
+
PositionalConstraint: PositionalConstraint | undefined;
|
|
601
601
|
}
|
|
602
602
|
/**
|
|
603
603
|
* @public
|
|
@@ -776,9 +776,9 @@ export type ParameterExceptionReason = (typeof ParameterExceptionReason)[keyof t
|
|
|
776
776
|
export declare class WAFInvalidParameterException extends __BaseException {
|
|
777
777
|
readonly name: "WAFInvalidParameterException";
|
|
778
778
|
readonly $fault: "client";
|
|
779
|
-
field?: ParameterExceptionField
|
|
779
|
+
field?: ParameterExceptionField;
|
|
780
780
|
parameter?: string;
|
|
781
|
-
reason?: ParameterExceptionReason
|
|
781
|
+
reason?: ParameterExceptionReason;
|
|
782
782
|
/**
|
|
783
783
|
* @internal
|
|
784
784
|
*/
|
|
@@ -1112,12 +1112,12 @@ export interface GeoMatchConstraint {
|
|
|
1112
1112
|
* @public
|
|
1113
1113
|
* <p>The type of geographical area you want AWS WAF to search for. Currently <code>Country</code> is the only valid value.</p>
|
|
1114
1114
|
*/
|
|
1115
|
-
Type: GeoMatchConstraintType |
|
|
1115
|
+
Type: GeoMatchConstraintType | undefined;
|
|
1116
1116
|
/**
|
|
1117
1117
|
* @public
|
|
1118
1118
|
* <p>The country that you want AWS WAF to search for.</p>
|
|
1119
1119
|
*/
|
|
1120
|
-
Value: GeoMatchConstraintValue |
|
|
1120
|
+
Value: GeoMatchConstraintValue | undefined;
|
|
1121
1121
|
}
|
|
1122
1122
|
/**
|
|
1123
1123
|
* @public
|
|
@@ -1211,7 +1211,7 @@ export interface IPSetDescriptor {
|
|
|
1211
1211
|
* @public
|
|
1212
1212
|
* <p>Specify <code>IPV4</code> or <code>IPV6</code>.</p>
|
|
1213
1213
|
*/
|
|
1214
|
-
Type: IPSetDescriptorType |
|
|
1214
|
+
Type: IPSetDescriptorType | undefined;
|
|
1215
1215
|
/**
|
|
1216
1216
|
* @public
|
|
1217
1217
|
* <p>Specify an IPv4 address by using CIDR notation. For example:</p>
|
|
@@ -1357,7 +1357,7 @@ export interface CreateRateBasedRuleRequest {
|
|
|
1357
1357
|
* address are subject to the <code>RateLimit</code> that is specified in
|
|
1358
1358
|
* the <code>RateBasedRule</code>.</p>
|
|
1359
1359
|
*/
|
|
1360
|
-
RateKey: RateKey |
|
|
1360
|
+
RateKey: RateKey | undefined;
|
|
1361
1361
|
/**
|
|
1362
1362
|
* @public
|
|
1363
1363
|
* <p>The maximum number of requests, which have an identical value in the field that is
|
|
@@ -1427,7 +1427,7 @@ export interface Predicate {
|
|
|
1427
1427
|
* @public
|
|
1428
1428
|
* <p>The type of predicate in a <code>Rule</code>, such as <code>ByteMatch</code> or <code>IPSet</code>.</p>
|
|
1429
1429
|
*/
|
|
1430
|
-
Type: PredicateType |
|
|
1430
|
+
Type: PredicateType | undefined;
|
|
1431
1431
|
/**
|
|
1432
1432
|
* @public
|
|
1433
1433
|
* <p>A unique identifier for a predicate in a <code>Rule</code>, such as <code>ByteMatchSetId</code> or <code>IPSetId</code>.
|
|
@@ -1500,7 +1500,7 @@ export interface RateBasedRule {
|
|
|
1500
1500
|
* address are subject to the <code>RateLimit</code> that is specified in the
|
|
1501
1501
|
* <code>RateBasedRule</code>.</p>
|
|
1502
1502
|
*/
|
|
1503
|
-
RateKey: RateKey |
|
|
1503
|
+
RateKey: RateKey | undefined;
|
|
1504
1504
|
/**
|
|
1505
1505
|
* @public
|
|
1506
1506
|
* <p>The maximum number of requests, which have an identical value in the field specified
|
|
@@ -1704,7 +1704,7 @@ export interface RegexMatchTuple {
|
|
|
1704
1704
|
* </p>
|
|
1705
1705
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
1706
1706
|
*/
|
|
1707
|
-
TextTransformation: TextTransformation |
|
|
1707
|
+
TextTransformation: TextTransformation | undefined;
|
|
1708
1708
|
/**
|
|
1709
1709
|
* @public
|
|
1710
1710
|
* <p>The <code>RegexPatternSetId</code> for a <code>RegexPatternSet</code>. You use <code>RegexPatternSetId</code> to get information about a
|
|
@@ -2181,7 +2181,7 @@ export interface SizeConstraint {
|
|
|
2181
2181
|
* </p>
|
|
2182
2182
|
* <p>Use this option to decode a URL-encoded value.</p>
|
|
2183
2183
|
*/
|
|
2184
|
-
TextTransformation: TextTransformation |
|
|
2184
|
+
TextTransformation: TextTransformation | undefined;
|
|
2185
2185
|
/**
|
|
2186
2186
|
* @public
|
|
2187
2187
|
* <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>
|
|
@@ -2207,7 +2207,7 @@ export interface SizeConstraint {
|
|
|
2207
2207
|
* <b>GT</b>: Used to test if the <code>Size</code> is strictly greater than the size of the <code>FieldToMatch</code>
|
|
2208
2208
|
* </p>
|
|
2209
2209
|
*/
|
|
2210
|
-
ComparisonOperator: ComparisonOperator |
|
|
2210
|
+
ComparisonOperator: ComparisonOperator | undefined;
|
|
2211
2211
|
/**
|
|
2212
2212
|
* @public
|
|
2213
2213
|
* <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
|
|
@@ -2404,7 +2404,7 @@ export interface SqlInjectionMatchTuple {
|
|
|
2404
2404
|
* </p>
|
|
2405
2405
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
2406
2406
|
*/
|
|
2407
|
-
TextTransformation: TextTransformation |
|
|
2407
|
+
TextTransformation: TextTransformation | undefined;
|
|
2408
2408
|
}
|
|
2409
2409
|
/**
|
|
2410
2410
|
* @public
|
|
@@ -2665,7 +2665,7 @@ export type MigrationErrorType = (typeof MigrationErrorType)[keyof typeof Migrat
|
|
|
2665
2665
|
export declare class WAFEntityMigrationException extends __BaseException {
|
|
2666
2666
|
readonly name: "WAFEntityMigrationException";
|
|
2667
2667
|
readonly $fault: "client";
|
|
2668
|
-
MigrationErrorType?: MigrationErrorType
|
|
2668
|
+
MigrationErrorType?: MigrationErrorType;
|
|
2669
2669
|
MigrationErrorReason?: string;
|
|
2670
2670
|
/**
|
|
2671
2671
|
* @internal
|
|
@@ -2847,7 +2847,7 @@ export interface XssMatchTuple {
|
|
|
2847
2847
|
* </p>
|
|
2848
2848
|
* <p>Specify <code>NONE</code> if you don't want to perform any text transformations.</p>
|
|
2849
2849
|
*/
|
|
2850
|
-
TextTransformation: TextTransformation |
|
|
2850
|
+
TextTransformation: TextTransformation | undefined;
|
|
2851
2851
|
}
|
|
2852
2852
|
/**
|
|
2853
2853
|
* @public
|
|
@@ -3400,7 +3400,7 @@ export interface GetChangeTokenStatusResponse {
|
|
|
3400
3400
|
* @public
|
|
3401
3401
|
* <p>The status of the change token.</p>
|
|
3402
3402
|
*/
|
|
3403
|
-
ChangeTokenStatus?: ChangeTokenStatus
|
|
3403
|
+
ChangeTokenStatus?: ChangeTokenStatus;
|
|
3404
3404
|
}
|
|
3405
3405
|
/**
|
|
3406
3406
|
* @public
|
|
@@ -5217,7 +5217,7 @@ export interface ByteMatchSetUpdate {
|
|
|
5217
5217
|
* @public
|
|
5218
5218
|
* <p>Specifies whether to insert or delete a <a>ByteMatchTuple</a>.</p>
|
|
5219
5219
|
*/
|
|
5220
|
-
Action: ChangeAction |
|
|
5220
|
+
Action: ChangeAction | undefined;
|
|
5221
5221
|
/**
|
|
5222
5222
|
* @public
|
|
5223
5223
|
* <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.
|
|
@@ -5321,7 +5321,7 @@ export interface GeoMatchSetUpdate {
|
|
|
5321
5321
|
* @public
|
|
5322
5322
|
* <p>Specifies whether to insert or delete a country with <a>UpdateGeoMatchSet</a>.</p>
|
|
5323
5323
|
*/
|
|
5324
|
-
Action: ChangeAction |
|
|
5324
|
+
Action: ChangeAction | undefined;
|
|
5325
5325
|
/**
|
|
5326
5326
|
* @public
|
|
5327
5327
|
* <p>The country from which web requests originate that you want AWS WAF to search for.</p>
|
|
@@ -5391,7 +5391,7 @@ export interface IPSetUpdate {
|
|
|
5391
5391
|
* @public
|
|
5392
5392
|
* <p>Specifies whether to insert or delete an IP address with <a>UpdateIPSet</a>.</p>
|
|
5393
5393
|
*/
|
|
5394
|
-
Action: ChangeAction |
|
|
5394
|
+
Action: ChangeAction | undefined;
|
|
5395
5395
|
/**
|
|
5396
5396
|
* @public
|
|
5397
5397
|
* <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>
|
|
@@ -5463,7 +5463,7 @@ export interface RuleUpdate {
|
|
|
5463
5463
|
* <p>Specify <code>INSERT</code> to add a <code>Predicate</code> to a <code>Rule</code>. Use <code>DELETE</code> to remove a
|
|
5464
5464
|
* <code>Predicate</code> from a <code>Rule</code>.</p>
|
|
5465
5465
|
*/
|
|
5466
|
-
Action: ChangeAction |
|
|
5466
|
+
Action: ChangeAction | undefined;
|
|
5467
5467
|
/**
|
|
5468
5468
|
* @public
|
|
5469
5469
|
* <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>
|
|
@@ -5530,7 +5530,7 @@ export interface RegexMatchSetUpdate {
|
|
|
5530
5530
|
* @public
|
|
5531
5531
|
* <p>Specifies whether to insert or delete a <a>RegexMatchTuple</a>.</p>
|
|
5532
5532
|
*/
|
|
5533
|
-
Action: ChangeAction |
|
|
5533
|
+
Action: ChangeAction | undefined;
|
|
5534
5534
|
/**
|
|
5535
5535
|
* @public
|
|
5536
5536
|
* <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.
|
|
@@ -5590,7 +5590,7 @@ export interface RegexPatternSetUpdate {
|
|
|
5590
5590
|
* @public
|
|
5591
5591
|
* <p>Specifies whether to insert or delete a <code>RegexPatternString</code>.</p>
|
|
5592
5592
|
*/
|
|
5593
|
-
Action: ChangeAction |
|
|
5593
|
+
Action: ChangeAction | undefined;
|
|
5594
5594
|
/**
|
|
5595
5595
|
* @public
|
|
5596
5596
|
* <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>
|
|
@@ -5710,7 +5710,7 @@ export interface RuleGroupUpdate {
|
|
|
5710
5710
|
* <p>Specify <code>INSERT</code> to add an <code>ActivatedRule</code> to a <code>RuleGroup</code>. Use <code>DELETE</code> to remove an
|
|
5711
5711
|
* <code>ActivatedRule</code> from a <code>RuleGroup</code>.</p>
|
|
5712
5712
|
*/
|
|
5713
|
-
Action: ChangeAction |
|
|
5713
|
+
Action: ChangeAction | undefined;
|
|
5714
5714
|
/**
|
|
5715
5715
|
* @public
|
|
5716
5716
|
* <p>The <code>ActivatedRule</code> object specifies a <code>Rule</code> that you want to insert or delete,
|
|
@@ -5774,7 +5774,7 @@ export interface SizeConstraintSetUpdate {
|
|
|
5774
5774
|
* <p>Specify <code>INSERT</code> to add a <a>SizeConstraintSetUpdate</a> to a <a>SizeConstraintSet</a>.
|
|
5775
5775
|
* Use <code>DELETE</code> to remove a <code>SizeConstraintSetUpdate</code> from a <code>SizeConstraintSet</code>.</p>
|
|
5776
5776
|
*/
|
|
5777
|
-
Action: ChangeAction |
|
|
5777
|
+
Action: ChangeAction | undefined;
|
|
5778
5778
|
/**
|
|
5779
5779
|
* @public
|
|
5780
5780
|
* <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
|
|
@@ -5854,7 +5854,7 @@ export interface SqlInjectionMatchSetUpdate {
|
|
|
5854
5854
|
* <p>Specify <code>INSERT</code> to add a <a>SqlInjectionMatchSetUpdate</a> to a <a>SqlInjectionMatchSet</a>.
|
|
5855
5855
|
* Use <code>DELETE</code> to remove a <code>SqlInjectionMatchSetUpdate</code> from a <code>SqlInjectionMatchSet</code>.</p>
|
|
5856
5856
|
*/
|
|
5857
|
-
Action: ChangeAction |
|
|
5857
|
+
Action: ChangeAction | undefined;
|
|
5858
5858
|
/**
|
|
5859
5859
|
* @public
|
|
5860
5860
|
* <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>
|
|
@@ -5930,7 +5930,7 @@ export interface WebACLUpdate {
|
|
|
5930
5930
|
* @public
|
|
5931
5931
|
* <p>Specifies whether to insert a <code>Rule</code> into or delete a <code>Rule</code> from a <code>WebACL</code>.</p>
|
|
5932
5932
|
*/
|
|
5933
|
-
Action: ChangeAction |
|
|
5933
|
+
Action: ChangeAction | undefined;
|
|
5934
5934
|
/**
|
|
5935
5935
|
* @public
|
|
5936
5936
|
* <p>The <code>ActivatedRule</code> object in an <a>UpdateWebACL</a> request specifies a <code>Rule</code> that you want to insert or delete,
|
|
@@ -6035,7 +6035,7 @@ export interface XssMatchSetUpdate {
|
|
|
6035
6035
|
* <code>DELETE</code> to remove an
|
|
6036
6036
|
* <code>XssMatchSetUpdate</code> from an <code>XssMatchSet</code>.</p>
|
|
6037
6037
|
*/
|
|
6038
|
-
Action: ChangeAction |
|
|
6038
|
+
Action: ChangeAction | undefined;
|
|
6039
6039
|
/**
|
|
6040
6040
|
* @public
|
|
6041
6041
|
* <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>
|
|
@@ -7,7 +7,7 @@ export declare const WafActionType: {
|
|
|
7
7
|
};
|
|
8
8
|
export type WafActionType = (typeof WafActionType)[keyof typeof WafActionType];
|
|
9
9
|
export interface WafAction {
|
|
10
|
-
Type: WafActionType |
|
|
10
|
+
Type: WafActionType | undefined;
|
|
11
11
|
}
|
|
12
12
|
export interface ExcludedRule {
|
|
13
13
|
RuleId: string | undefined;
|
|
@@ -19,7 +19,7 @@ export declare const WafOverrideActionType: {
|
|
|
19
19
|
export type WafOverrideActionType =
|
|
20
20
|
(typeof WafOverrideActionType)[keyof typeof WafOverrideActionType];
|
|
21
21
|
export interface WafOverrideAction {
|
|
22
|
-
Type: WafOverrideActionType |
|
|
22
|
+
Type: WafOverrideActionType | undefined;
|
|
23
23
|
}
|
|
24
24
|
export declare const WafRuleType: {
|
|
25
25
|
readonly GROUP: "GROUP";
|
|
@@ -32,7 +32,7 @@ export interface ActivatedRule {
|
|
|
32
32
|
RuleId: string | undefined;
|
|
33
33
|
Action?: WafAction;
|
|
34
34
|
OverrideAction?: WafOverrideAction;
|
|
35
|
-
Type?: WafRuleType
|
|
35
|
+
Type?: WafRuleType;
|
|
36
36
|
ExcludedRules?: ExcludedRule[];
|
|
37
37
|
}
|
|
38
38
|
export interface CreateByteMatchSetRequest {
|
|
@@ -51,7 +51,7 @@ export declare const MatchFieldType: {
|
|
|
51
51
|
export type MatchFieldType =
|
|
52
52
|
(typeof MatchFieldType)[keyof typeof MatchFieldType];
|
|
53
53
|
export interface FieldToMatch {
|
|
54
|
-
Type: MatchFieldType |
|
|
54
|
+
Type: MatchFieldType | undefined;
|
|
55
55
|
Data?: string;
|
|
56
56
|
}
|
|
57
57
|
export declare const PositionalConstraint: {
|
|
@@ -76,8 +76,8 @@ export type TextTransformation =
|
|
|
76
76
|
export interface ByteMatchTuple {
|
|
77
77
|
FieldToMatch: FieldToMatch | undefined;
|
|
78
78
|
TargetString: Uint8Array | undefined;
|
|
79
|
-
TextTransformation: TextTransformation |
|
|
80
|
-
PositionalConstraint: PositionalConstraint |
|
|
79
|
+
TextTransformation: TextTransformation | undefined;
|
|
80
|
+
PositionalConstraint: PositionalConstraint | undefined;
|
|
81
81
|
}
|
|
82
82
|
export interface ByteMatchSet {
|
|
83
83
|
ByteMatchSetId: string | undefined;
|
|
@@ -142,9 +142,9 @@ export type ParameterExceptionReason =
|
|
|
142
142
|
export declare class WAFInvalidParameterException extends __BaseException {
|
|
143
143
|
readonly name: "WAFInvalidParameterException";
|
|
144
144
|
readonly $fault: "client";
|
|
145
|
-
field?: ParameterExceptionField
|
|
145
|
+
field?: ParameterExceptionField;
|
|
146
146
|
parameter?: string;
|
|
147
|
-
reason?: ParameterExceptionReason
|
|
147
|
+
reason?: ParameterExceptionReason;
|
|
148
148
|
constructor(
|
|
149
149
|
opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>
|
|
150
150
|
);
|
|
@@ -426,8 +426,8 @@ export declare const GeoMatchConstraintValue: {
|
|
|
426
426
|
export type GeoMatchConstraintValue =
|
|
427
427
|
(typeof GeoMatchConstraintValue)[keyof typeof GeoMatchConstraintValue];
|
|
428
428
|
export interface GeoMatchConstraint {
|
|
429
|
-
Type: GeoMatchConstraintType |
|
|
430
|
-
Value: GeoMatchConstraintValue |
|
|
429
|
+
Type: GeoMatchConstraintType | undefined;
|
|
430
|
+
Value: GeoMatchConstraintValue | undefined;
|
|
431
431
|
}
|
|
432
432
|
export interface GeoMatchSet {
|
|
433
433
|
GeoMatchSetId: string | undefined;
|
|
@@ -449,7 +449,7 @@ export declare const IPSetDescriptorType: {
|
|
|
449
449
|
export type IPSetDescriptorType =
|
|
450
450
|
(typeof IPSetDescriptorType)[keyof typeof IPSetDescriptorType];
|
|
451
451
|
export interface IPSetDescriptor {
|
|
452
|
-
Type: IPSetDescriptorType |
|
|
452
|
+
Type: IPSetDescriptorType | undefined;
|
|
453
453
|
Value: string | undefined;
|
|
454
454
|
}
|
|
455
455
|
export interface IPSet {
|
|
@@ -472,7 +472,7 @@ export interface Tag {
|
|
|
472
472
|
export interface CreateRateBasedRuleRequest {
|
|
473
473
|
Name: string | undefined;
|
|
474
474
|
MetricName: string | undefined;
|
|
475
|
-
RateKey: RateKey |
|
|
475
|
+
RateKey: RateKey | undefined;
|
|
476
476
|
RateLimit: number | undefined;
|
|
477
477
|
ChangeToken: string | undefined;
|
|
478
478
|
Tags?: Tag[];
|
|
@@ -489,7 +489,7 @@ export declare const PredicateType: {
|
|
|
489
489
|
export type PredicateType = (typeof PredicateType)[keyof typeof PredicateType];
|
|
490
490
|
export interface Predicate {
|
|
491
491
|
Negated: boolean | undefined;
|
|
492
|
-
Type: PredicateType |
|
|
492
|
+
Type: PredicateType | undefined;
|
|
493
493
|
DataId: string | undefined;
|
|
494
494
|
}
|
|
495
495
|
export interface RateBasedRule {
|
|
@@ -497,7 +497,7 @@ export interface RateBasedRule {
|
|
|
497
497
|
Name?: string;
|
|
498
498
|
MetricName?: string;
|
|
499
499
|
MatchPredicates: Predicate[] | undefined;
|
|
500
|
-
RateKey: RateKey |
|
|
500
|
+
RateKey: RateKey | undefined;
|
|
501
501
|
RateLimit: number | undefined;
|
|
502
502
|
}
|
|
503
503
|
export interface CreateRateBasedRuleResponse {
|
|
@@ -534,7 +534,7 @@ export interface CreateRegexMatchSetRequest {
|
|
|
534
534
|
}
|
|
535
535
|
export interface RegexMatchTuple {
|
|
536
536
|
FieldToMatch: FieldToMatch | undefined;
|
|
537
|
-
TextTransformation: TextTransformation |
|
|
537
|
+
TextTransformation: TextTransformation | undefined;
|
|
538
538
|
RegexPatternSetId: string | undefined;
|
|
539
539
|
}
|
|
540
540
|
export interface RegexMatchSet {
|
|
@@ -606,8 +606,8 @@ export type ComparisonOperator =
|
|
|
606
606
|
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
607
607
|
export interface SizeConstraint {
|
|
608
608
|
FieldToMatch: FieldToMatch | undefined;
|
|
609
|
-
TextTransformation: TextTransformation |
|
|
610
|
-
ComparisonOperator: ComparisonOperator |
|
|
609
|
+
TextTransformation: TextTransformation | undefined;
|
|
610
|
+
ComparisonOperator: ComparisonOperator | undefined;
|
|
611
611
|
Size: number | undefined;
|
|
612
612
|
}
|
|
613
613
|
export interface SizeConstraintSet {
|
|
@@ -625,7 +625,7 @@ export interface CreateSqlInjectionMatchSetRequest {
|
|
|
625
625
|
}
|
|
626
626
|
export interface SqlInjectionMatchTuple {
|
|
627
627
|
FieldToMatch: FieldToMatch | undefined;
|
|
628
|
-
TextTransformation: TextTransformation |
|
|
628
|
+
TextTransformation: TextTransformation | undefined;
|
|
629
629
|
}
|
|
630
630
|
export interface SqlInjectionMatchSet {
|
|
631
631
|
SqlInjectionMatchSetId: string | undefined;
|
|
@@ -677,7 +677,7 @@ export type MigrationErrorType =
|
|
|
677
677
|
export declare class WAFEntityMigrationException extends __BaseException {
|
|
678
678
|
readonly name: "WAFEntityMigrationException";
|
|
679
679
|
readonly $fault: "client";
|
|
680
|
-
MigrationErrorType?: MigrationErrorType
|
|
680
|
+
MigrationErrorType?: MigrationErrorType;
|
|
681
681
|
MigrationErrorReason?: string;
|
|
682
682
|
constructor(
|
|
683
683
|
opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>
|
|
@@ -703,7 +703,7 @@ export interface CreateXssMatchSetRequest {
|
|
|
703
703
|
}
|
|
704
704
|
export interface XssMatchTuple {
|
|
705
705
|
FieldToMatch: FieldToMatch | undefined;
|
|
706
|
-
TextTransformation: TextTransformation |
|
|
706
|
+
TextTransformation: TextTransformation | undefined;
|
|
707
707
|
}
|
|
708
708
|
export interface XssMatchSet {
|
|
709
709
|
XssMatchSetId: string | undefined;
|
|
@@ -841,7 +841,7 @@ export declare const ChangeTokenStatus: {
|
|
|
841
841
|
export type ChangeTokenStatus =
|
|
842
842
|
(typeof ChangeTokenStatus)[keyof typeof ChangeTokenStatus];
|
|
843
843
|
export interface GetChangeTokenStatusResponse {
|
|
844
|
-
ChangeTokenStatus?: ChangeTokenStatus
|
|
844
|
+
ChangeTokenStatus?: ChangeTokenStatus;
|
|
845
845
|
}
|
|
846
846
|
export interface GetGeoMatchSetRequest {
|
|
847
847
|
GeoMatchSetId: string | undefined;
|
|
@@ -1198,7 +1198,7 @@ export declare const ChangeAction: {
|
|
|
1198
1198
|
};
|
|
1199
1199
|
export type ChangeAction = (typeof ChangeAction)[keyof typeof ChangeAction];
|
|
1200
1200
|
export interface ByteMatchSetUpdate {
|
|
1201
|
-
Action: ChangeAction |
|
|
1201
|
+
Action: ChangeAction | undefined;
|
|
1202
1202
|
ByteMatchTuple: ByteMatchTuple | undefined;
|
|
1203
1203
|
}
|
|
1204
1204
|
export interface UpdateByteMatchSetRequest {
|
|
@@ -1220,7 +1220,7 @@ export declare class WAFNonexistentContainerException extends __BaseException {
|
|
|
1220
1220
|
);
|
|
1221
1221
|
}
|
|
1222
1222
|
export interface GeoMatchSetUpdate {
|
|
1223
|
-
Action: ChangeAction |
|
|
1223
|
+
Action: ChangeAction | undefined;
|
|
1224
1224
|
GeoMatchConstraint: GeoMatchConstraint | undefined;
|
|
1225
1225
|
}
|
|
1226
1226
|
export interface UpdateGeoMatchSetRequest {
|
|
@@ -1232,7 +1232,7 @@ export interface UpdateGeoMatchSetResponse {
|
|
|
1232
1232
|
ChangeToken?: string;
|
|
1233
1233
|
}
|
|
1234
1234
|
export interface IPSetUpdate {
|
|
1235
|
-
Action: ChangeAction |
|
|
1235
|
+
Action: ChangeAction | undefined;
|
|
1236
1236
|
IPSetDescriptor: IPSetDescriptor | undefined;
|
|
1237
1237
|
}
|
|
1238
1238
|
export interface UpdateIPSetRequest {
|
|
@@ -1244,7 +1244,7 @@ export interface UpdateIPSetResponse {
|
|
|
1244
1244
|
ChangeToken?: string;
|
|
1245
1245
|
}
|
|
1246
1246
|
export interface RuleUpdate {
|
|
1247
|
-
Action: ChangeAction |
|
|
1247
|
+
Action: ChangeAction | undefined;
|
|
1248
1248
|
Predicate: Predicate | undefined;
|
|
1249
1249
|
}
|
|
1250
1250
|
export interface UpdateRateBasedRuleRequest {
|
|
@@ -1257,7 +1257,7 @@ export interface UpdateRateBasedRuleResponse {
|
|
|
1257
1257
|
ChangeToken?: string;
|
|
1258
1258
|
}
|
|
1259
1259
|
export interface RegexMatchSetUpdate {
|
|
1260
|
-
Action: ChangeAction |
|
|
1260
|
+
Action: ChangeAction | undefined;
|
|
1261
1261
|
RegexMatchTuple: RegexMatchTuple | undefined;
|
|
1262
1262
|
}
|
|
1263
1263
|
export interface UpdateRegexMatchSetRequest {
|
|
@@ -1269,7 +1269,7 @@ export interface UpdateRegexMatchSetResponse {
|
|
|
1269
1269
|
ChangeToken?: string;
|
|
1270
1270
|
}
|
|
1271
1271
|
export interface RegexPatternSetUpdate {
|
|
1272
|
-
Action: ChangeAction |
|
|
1272
|
+
Action: ChangeAction | undefined;
|
|
1273
1273
|
RegexPatternString: string | undefined;
|
|
1274
1274
|
}
|
|
1275
1275
|
export interface UpdateRegexPatternSetRequest {
|
|
@@ -1299,7 +1299,7 @@ export interface UpdateRuleResponse {
|
|
|
1299
1299
|
ChangeToken?: string;
|
|
1300
1300
|
}
|
|
1301
1301
|
export interface RuleGroupUpdate {
|
|
1302
|
-
Action: ChangeAction |
|
|
1302
|
+
Action: ChangeAction | undefined;
|
|
1303
1303
|
ActivatedRule: ActivatedRule | undefined;
|
|
1304
1304
|
}
|
|
1305
1305
|
export interface UpdateRuleGroupRequest {
|
|
@@ -1311,7 +1311,7 @@ export interface UpdateRuleGroupResponse {
|
|
|
1311
1311
|
ChangeToken?: string;
|
|
1312
1312
|
}
|
|
1313
1313
|
export interface SizeConstraintSetUpdate {
|
|
1314
|
-
Action: ChangeAction |
|
|
1314
|
+
Action: ChangeAction | undefined;
|
|
1315
1315
|
SizeConstraint: SizeConstraint | undefined;
|
|
1316
1316
|
}
|
|
1317
1317
|
export interface UpdateSizeConstraintSetRequest {
|
|
@@ -1323,7 +1323,7 @@ export interface UpdateSizeConstraintSetResponse {
|
|
|
1323
1323
|
ChangeToken?: string;
|
|
1324
1324
|
}
|
|
1325
1325
|
export interface SqlInjectionMatchSetUpdate {
|
|
1326
|
-
Action: ChangeAction |
|
|
1326
|
+
Action: ChangeAction | undefined;
|
|
1327
1327
|
SqlInjectionMatchTuple: SqlInjectionMatchTuple | undefined;
|
|
1328
1328
|
}
|
|
1329
1329
|
export interface UpdateSqlInjectionMatchSetRequest {
|
|
@@ -1335,7 +1335,7 @@ export interface UpdateSqlInjectionMatchSetResponse {
|
|
|
1335
1335
|
ChangeToken?: string;
|
|
1336
1336
|
}
|
|
1337
1337
|
export interface WebACLUpdate {
|
|
1338
|
-
Action: ChangeAction |
|
|
1338
|
+
Action: ChangeAction | undefined;
|
|
1339
1339
|
ActivatedRule: ActivatedRule | undefined;
|
|
1340
1340
|
}
|
|
1341
1341
|
export interface UpdateWebACLRequest {
|
|
@@ -1358,7 +1358,7 @@ export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
|
1358
1358
|
);
|
|
1359
1359
|
}
|
|
1360
1360
|
export interface XssMatchSetUpdate {
|
|
1361
|
-
Action: ChangeAction |
|
|
1361
|
+
Action: ChangeAction | undefined;
|
|
1362
1362
|
XssMatchTuple: XssMatchTuple | undefined;
|
|
1363
1363
|
}
|
|
1364
1364
|
export interface UpdateXssMatchSetRequest {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-waf",
|
|
3
3
|
"description": "AWS SDK for JavaScript Waf Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|