@aws-sdk/client-wafv2 3.329.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.
@@ -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.329.0",
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",
@@ -21,9 +21,9 @@
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.329.0",
24
+ "@aws-sdk/client-sts": "3.332.0",
25
25
  "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.332.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.329.0",
28
28
  "@aws-sdk/hash-node": "3.329.0",
29
29
  "@aws-sdk/invalid-dependency": "3.329.0",
@@ -36,7 +36,7 @@
36
36
  "@aws-sdk/middleware-serde": "3.329.0",
37
37
  "@aws-sdk/middleware-signing": "3.329.0",
38
38
  "@aws-sdk/middleware-stack": "3.329.0",
39
- "@aws-sdk/middleware-user-agent": "3.329.0",
39
+ "@aws-sdk/middleware-user-agent": "3.332.0",
40
40
  "@aws-sdk/node-config-provider": "3.329.0",
41
41
  "@aws-sdk/node-http-handler": "3.329.0",
42
42
  "@aws-sdk/protocol-http": "3.329.0",
@@ -48,7 +48,7 @@
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.329.0",
50
50
  "@aws-sdk/util-defaults-mode-node": "3.329.0",
51
- "@aws-sdk/util-endpoints": "3.329.0",
51
+ "@aws-sdk/util-endpoints": "3.332.0",
52
52
  "@aws-sdk/util-retry": "3.329.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.329.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.329.0",