@aws-sdk/client-wafv2 3.529.1 → 3.533.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.
@@ -52,7 +52,7 @@ declare const CheckCapacityCommand_base: {
52
52
  * Priority: Number("int"), // required
53
53
  * Statement: { // Statement
54
54
  * ByteMatchStatement: { // ByteMatchStatement
55
- * SearchString: "BLOB_VALUE", // required
55
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
56
56
  * FieldToMatch: { // FieldToMatch
57
57
  * SingleHeader: { // SingleHeader
58
58
  * Name: "STRING_VALUE", // required
@@ -457,7 +457,7 @@ declare const CheckCapacityCommand_base: {
457
457
  * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
458
458
  * ScopeDownStatement: {
459
459
  * ByteMatchStatement: {
460
- * SearchString: "BLOB_VALUE", // required
460
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
461
461
  * FieldToMatch: "<FieldToMatch>", // required
462
462
  * TextTransformations: "<TextTransformations>", // required
463
463
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -45,7 +45,7 @@ declare const CreateRuleGroupCommand_base: {
45
45
  * Priority: Number("int"), // required
46
46
  * Statement: { // Statement
47
47
  * ByteMatchStatement: { // ByteMatchStatement
48
- * SearchString: "BLOB_VALUE", // required
48
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
49
49
  * FieldToMatch: { // FieldToMatch
50
50
  * SingleHeader: { // SingleHeader
51
51
  * Name: "STRING_VALUE", // required
@@ -450,7 +450,7 @@ declare const CreateRuleGroupCommand_base: {
450
450
  * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
451
451
  * ScopeDownStatement: {
452
452
  * ByteMatchStatement: {
453
- * SearchString: "BLOB_VALUE", // required
453
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
454
454
  * FieldToMatch: "<FieldToMatch>", // required
455
455
  * TextTransformations: "<TextTransformations>", // required
456
456
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -68,7 +68,7 @@ declare const CreateWebACLCommand_base: {
68
68
  * Priority: Number("int"), // required
69
69
  * Statement: { // Statement
70
70
  * ByteMatchStatement: { // ByteMatchStatement
71
- * SearchString: "BLOB_VALUE", // required
71
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
72
72
  * FieldToMatch: { // FieldToMatch
73
73
  * SingleHeader: { // SingleHeader
74
74
  * Name: "STRING_VALUE", // required
@@ -463,7 +463,7 @@ declare const CreateWebACLCommand_base: {
463
463
  * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
464
464
  * ScopeDownStatement: {
465
465
  * ByteMatchStatement: {
466
- * SearchString: "BLOB_VALUE", // required
466
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
467
467
  * FieldToMatch: "<FieldToMatch>", // required
468
468
  * TextTransformations: "<TextTransformations>", // required
469
469
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -54,7 +54,7 @@ declare const GetRuleGroupCommand_base: {
54
54
  * // Priority: Number("int"), // required
55
55
  * // Statement: { // Statement
56
56
  * // ByteMatchStatement: { // ByteMatchStatement
57
- * // SearchString: "BLOB_VALUE", // required
57
+ * // SearchString: new Uint8Array(), // required
58
58
  * // FieldToMatch: { // FieldToMatch
59
59
  * // SingleHeader: { // SingleHeader
60
60
  * // Name: "STRING_VALUE", // required
@@ -459,7 +459,7 @@ declare const GetRuleGroupCommand_base: {
459
459
  * // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
460
460
  * // ScopeDownStatement: {
461
461
  * // ByteMatchStatement: {
462
- * // SearchString: "BLOB_VALUE", // required
462
+ * // SearchString: new Uint8Array(), // required
463
463
  * // FieldToMatch: "<FieldToMatch>", // required
464
464
  * // TextTransformations: "<TextTransformations>", // required
465
465
  * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -76,7 +76,7 @@ declare const GetWebACLCommand_base: {
76
76
  * // Priority: Number("int"), // required
77
77
  * // Statement: { // Statement
78
78
  * // ByteMatchStatement: { // ByteMatchStatement
79
- * // SearchString: "BLOB_VALUE", // required
79
+ * // SearchString: new Uint8Array(), // required
80
80
  * // FieldToMatch: { // FieldToMatch
81
81
  * // SingleHeader: { // SingleHeader
82
82
  * // Name: "STRING_VALUE", // required
@@ -471,7 +471,7 @@ declare const GetWebACLCommand_base: {
471
471
  * // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
472
472
  * // ScopeDownStatement: {
473
473
  * // ByteMatchStatement: {
474
- * // SearchString: "BLOB_VALUE", // required
474
+ * // SearchString: new Uint8Array(), // required
475
475
  * // FieldToMatch: "<FieldToMatch>", // required
476
476
  * // TextTransformations: "<TextTransformations>", // required
477
477
  * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -84,7 +84,7 @@ declare const GetWebACLForResourceCommand_base: {
84
84
  * // Priority: Number("int"), // required
85
85
  * // Statement: { // Statement
86
86
  * // ByteMatchStatement: { // ByteMatchStatement
87
- * // SearchString: "BLOB_VALUE", // required
87
+ * // SearchString: new Uint8Array(), // required
88
88
  * // FieldToMatch: { // FieldToMatch
89
89
  * // SingleHeader: { // SingleHeader
90
90
  * // Name: "STRING_VALUE", // required
@@ -479,7 +479,7 @@ declare const GetWebACLForResourceCommand_base: {
479
479
  * // AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
480
480
  * // ScopeDownStatement: {
481
481
  * // ByteMatchStatement: {
482
- * // SearchString: "BLOB_VALUE", // required
482
+ * // SearchString: new Uint8Array(), // required
483
483
  * // FieldToMatch: "<FieldToMatch>", // required
484
484
  * // TextTransformations: "<TextTransformations>", // required
485
485
  * // PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -80,7 +80,7 @@ declare const UpdateRuleGroupCommand_base: {
80
80
  * Priority: Number("int"), // required
81
81
  * Statement: { // Statement
82
82
  * ByteMatchStatement: { // ByteMatchStatement
83
- * SearchString: "BLOB_VALUE", // required
83
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
84
84
  * FieldToMatch: { // FieldToMatch
85
85
  * SingleHeader: { // SingleHeader
86
86
  * Name: "STRING_VALUE", // required
@@ -485,7 +485,7 @@ declare const UpdateRuleGroupCommand_base: {
485
485
  * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
486
486
  * ScopeDownStatement: {
487
487
  * ByteMatchStatement: {
488
- * SearchString: "BLOB_VALUE", // required
488
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
489
489
  * FieldToMatch: "<FieldToMatch>", // required
490
490
  * TextTransformations: "<TextTransformations>", // required
491
491
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -105,7 +105,7 @@ declare const UpdateWebACLCommand_base: {
105
105
  * Priority: Number("int"), // required
106
106
  * Statement: { // Statement
107
107
  * ByteMatchStatement: { // ByteMatchStatement
108
- * SearchString: "BLOB_VALUE", // required
108
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
109
109
  * FieldToMatch: { // FieldToMatch
110
110
  * SingleHeader: { // SingleHeader
111
111
  * Name: "STRING_VALUE", // required
@@ -500,7 +500,7 @@ declare const UpdateWebACLCommand_base: {
500
500
  * AggregateKeyType: "IP" || "FORWARDED_IP" || "CUSTOM_KEYS" || "CONSTANT", // required
501
501
  * ScopeDownStatement: {
502
502
  * ByteMatchStatement: {
503
- * SearchString: "BLOB_VALUE", // required
503
+ * SearchString: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
504
504
  * FieldToMatch: "<FieldToMatch>", // required
505
505
  * TextTransformations: "<TextTransformations>", // required
506
506
  * PositionalConstraint: "EXACTLY" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CONTAINS_WORD", // required
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { WAFV2ClientConfig } from "./WAFV2Client";
5
5
  export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
25
25
  apiVersion: string;
26
26
  urlParser: import("@smithy/types").UrlParser;
27
27
  base64Decoder: import("@smithy/types").Decoder;
28
- base64Encoder: import("@smithy/types").Encoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
29
  utf8Decoder: import("@smithy/types").Decoder;
30
- utf8Encoder: import("@smithy/types").Encoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
33
  logger: import("@smithy/types").Logger;
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
29
29
  apiVersion: string;
30
30
  urlParser: import("@smithy/types").UrlParser;
31
31
  base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: import("@smithy/types").Encoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
33
  utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: import("@smithy/types").Encoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
35
  disableHostPrefix: boolean;
36
36
  serviceId: string;
37
37
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { WAFV2ClientConfig } from "./WAFV2Client";
2
2
  export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
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.529.1",
4
+ "version": "3.533.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-wafv2",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/fetch-http-handler": "^2.4.3",
38
- "@smithy/hash-node": "^2.1.3",
39
- "@smithy/invalid-dependency": "^2.1.3",
40
- "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.4",
42
- "@smithy/middleware-retry": "^2.1.4",
43
- "@smithy/middleware-serde": "^2.1.3",
44
- "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.4",
46
- "@smithy/node-http-handler": "^2.4.1",
47
- "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.2",
49
- "@smithy/types": "^2.10.1",
50
- "@smithy/url-parser": "^2.1.3",
51
- "@smithy/util-base64": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.533.0",
24
+ "@aws-sdk/core": "3.533.0",
25
+ "@aws-sdk/credential-provider-node": "3.533.0",
26
+ "@aws-sdk/middleware-host-header": "3.533.0",
27
+ "@aws-sdk/middleware-logger": "3.533.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
+ "@aws-sdk/middleware-user-agent": "3.533.0",
30
+ "@aws-sdk/region-config-resolver": "3.533.0",
31
+ "@aws-sdk/types": "3.533.0",
32
+ "@aws-sdk/util-endpoints": "3.533.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
34
+ "@aws-sdk/util-user-agent-node": "3.533.0",
35
+ "@smithy/config-resolver": "^2.1.5",
36
+ "@smithy/core": "^1.3.8",
37
+ "@smithy/fetch-http-handler": "^2.4.5",
38
+ "@smithy/hash-node": "^2.1.4",
39
+ "@smithy/invalid-dependency": "^2.1.4",
40
+ "@smithy/middleware-content-length": "^2.1.4",
41
+ "@smithy/middleware-endpoint": "^2.4.6",
42
+ "@smithy/middleware-retry": "^2.1.7",
43
+ "@smithy/middleware-serde": "^2.2.1",
44
+ "@smithy/middleware-stack": "^2.1.4",
45
+ "@smithy/node-config-provider": "^2.2.5",
46
+ "@smithy/node-http-handler": "^2.4.3",
47
+ "@smithy/protocol-http": "^3.2.2",
48
+ "@smithy/smithy-client": "^2.4.5",
49
+ "@smithy/types": "^2.11.0",
50
+ "@smithy/url-parser": "^2.1.4",
51
+ "@smithy/util-base64": "^2.2.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.4",
55
- "@smithy/util-defaults-mode-node": "^2.2.3",
56
- "@smithy/util-endpoints": "^1.1.4",
57
- "@smithy/util-middleware": "^2.1.3",
58
- "@smithy/util-retry": "^2.1.3",
59
- "@smithy/util-utf8": "^2.1.1",
53
+ "@smithy/util-body-length-node": "^2.2.2",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
55
+ "@smithy/util-defaults-mode-node": "^2.2.7",
56
+ "@smithy/util-endpoints": "^1.1.5",
57
+ "@smithy/util-middleware": "^2.1.4",
58
+ "@smithy/util-retry": "^2.1.4",
59
+ "@smithy/util-utf8": "^2.2.0",
60
60
  "tslib": "^2.5.0"
61
61
  },
62
62
  "devDependencies": {