@aws-sdk/client-wafv2 3.332.0 → 3.334.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +19 -1
- package/dist-cjs/protocols/Aws_json1_1.js +14 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/protocols/Aws_json1_1.js +15 -1
- package/dist-types/commands/CheckCapacityCommand.d.ts +52 -2
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +52 -2
- package/dist-types/commands/CreateWebACLCommand.d.ts +52 -2
- package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +9 -2
- package/dist-types/commands/GetRuleGroupCommand.d.ts +52 -2
- package/dist-types/commands/GetWebACLCommand.d.ts +52 -2
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +52 -2
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +52 -2
- package/dist-types/commands/UpdateWebACLCommand.d.ts +52 -2
- package/dist-types/models/models_0.d.ts +353 -48
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/package.json +1 -1
|
@@ -536,11 +536,44 @@ export interface RuleActionOverride {
|
|
|
536
536
|
ActionToUse: RuleAction | undefined;
|
|
537
537
|
}
|
|
538
538
|
export declare const RateBasedStatementAggregateKeyType: {
|
|
539
|
+
readonly CONSTANT: "CONSTANT";
|
|
540
|
+
readonly CUSTOM_KEYS: "CUSTOM_KEYS";
|
|
539
541
|
readonly FORWARDED_IP: "FORWARDED_IP";
|
|
540
542
|
readonly IP: "IP";
|
|
541
543
|
};
|
|
542
544
|
export type RateBasedStatementAggregateKeyType =
|
|
543
545
|
(typeof RateBasedStatementAggregateKeyType)[keyof typeof RateBasedStatementAggregateKeyType];
|
|
546
|
+
export interface RateLimitCookie {
|
|
547
|
+
Name: string | undefined;
|
|
548
|
+
TextTransformations: TextTransformation[] | undefined;
|
|
549
|
+
}
|
|
550
|
+
export interface RateLimitForwardedIP {}
|
|
551
|
+
export interface RateLimitHeader {
|
|
552
|
+
Name: string | undefined;
|
|
553
|
+
TextTransformations: TextTransformation[] | undefined;
|
|
554
|
+
}
|
|
555
|
+
export interface RateLimitHTTPMethod {}
|
|
556
|
+
export interface RateLimitIP {}
|
|
557
|
+
export interface RateLimitLabelNamespace {
|
|
558
|
+
Namespace: string | undefined;
|
|
559
|
+
}
|
|
560
|
+
export interface RateLimitQueryArgument {
|
|
561
|
+
Name: string | undefined;
|
|
562
|
+
TextTransformations: TextTransformation[] | undefined;
|
|
563
|
+
}
|
|
564
|
+
export interface RateLimitQueryString {
|
|
565
|
+
TextTransformations: TextTransformation[] | undefined;
|
|
566
|
+
}
|
|
567
|
+
export interface RateBasedStatementCustomKey {
|
|
568
|
+
Header?: RateLimitHeader;
|
|
569
|
+
Cookie?: RateLimitCookie;
|
|
570
|
+
QueryArgument?: RateLimitQueryArgument;
|
|
571
|
+
QueryString?: RateLimitQueryString;
|
|
572
|
+
HTTPMethod?: RateLimitHTTPMethod;
|
|
573
|
+
ForwardedIP?: RateLimitForwardedIP;
|
|
574
|
+
IP?: RateLimitIP;
|
|
575
|
+
LabelNamespace?: RateLimitLabelNamespace;
|
|
576
|
+
}
|
|
544
577
|
export interface RegexMatchStatement {
|
|
545
578
|
RegexString: string | undefined;
|
|
546
579
|
FieldToMatch: FieldToMatch | undefined;
|
|
@@ -629,6 +662,7 @@ export declare const ParameterExceptionField: {
|
|
|
629
662
|
readonly CHALLENGE_CONFIG: "CHALLENGE_CONFIG";
|
|
630
663
|
readonly CHANGE_PROPAGATION_STATUS: "CHANGE_PROPAGATION_STATUS";
|
|
631
664
|
readonly COOKIE_MATCH_PATTERN: "COOKIE_MATCH_PATTERN";
|
|
665
|
+
readonly CUSTOM_KEYS: "CUSTOM_KEYS";
|
|
632
666
|
readonly CUSTOM_REQUEST_HANDLING: "CUSTOM_REQUEST_HANDLING";
|
|
633
667
|
readonly CUSTOM_RESPONSE: "CUSTOM_RESPONSE";
|
|
634
668
|
readonly CUSTOM_RESPONSE_BODY: "CUSTOM_RESPONSE_BODY";
|
|
@@ -675,6 +709,7 @@ export declare const ParameterExceptionField: {
|
|
|
675
709
|
readonly RULE_ACTION: "RULE_ACTION";
|
|
676
710
|
readonly RULE_GROUP: "RULE_GROUP";
|
|
677
711
|
readonly RULE_GROUP_REFERENCE_STATEMENT: "RULE_GROUP_REFERENCE_STATEMENT";
|
|
712
|
+
readonly SCOPE_DOWN: "SCOPE_DOWN";
|
|
678
713
|
readonly SCOPE_VALUE: "SCOPE_VALUE";
|
|
679
714
|
readonly SINGLE_HEADER: "SINGLE_HEADER";
|
|
680
715
|
readonly SINGLE_QUERY_ARGUMENT: "SINGLE_QUERY_ARGUMENT";
|
|
@@ -1149,6 +1184,17 @@ export interface GetRateBasedStatementManagedKeysResponse {
|
|
|
1149
1184
|
ManagedKeysIPV4?: RateBasedStatementManagedKeysIPSet;
|
|
1150
1185
|
ManagedKeysIPV6?: RateBasedStatementManagedKeysIPSet;
|
|
1151
1186
|
}
|
|
1187
|
+
export declare class WAFUnsupportedAggregateKeyTypeException extends __BaseException {
|
|
1188
|
+
readonly name: "WAFUnsupportedAggregateKeyTypeException";
|
|
1189
|
+
readonly $fault: "client";
|
|
1190
|
+
Message?: string;
|
|
1191
|
+
constructor(
|
|
1192
|
+
opts: __ExceptionOptionType<
|
|
1193
|
+
WAFUnsupportedAggregateKeyTypeException,
|
|
1194
|
+
__BaseException
|
|
1195
|
+
>
|
|
1196
|
+
);
|
|
1197
|
+
}
|
|
1152
1198
|
export interface GetRegexPatternSetRequest {
|
|
1153
1199
|
Name: string | undefined;
|
|
1154
1200
|
Scope: Scope | string | undefined;
|
|
@@ -1525,6 +1571,7 @@ export interface RateBasedStatement {
|
|
|
1525
1571
|
AggregateKeyType: RateBasedStatementAggregateKeyType | string | undefined;
|
|
1526
1572
|
ScopeDownStatement?: Statement;
|
|
1527
1573
|
ForwardedIPConfig?: ForwardedIPConfig;
|
|
1574
|
+
CustomKeys?: RateBasedStatementCustomKey[];
|
|
1528
1575
|
}
|
|
1529
1576
|
export interface Rule {
|
|
1530
1577
|
Name: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.334.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",
|