@aws-sdk/client-wafv2 3.606.0 → 3.609.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.
@@ -516,11 +516,12 @@ export type JsonMatchScope = (typeof JsonMatchScope)[keyof typeof JsonMatchScope
516
516
  * <p>This is used to indicate the web request component to inspect, in the <a>FieldToMatch</a> specification. </p>
517
517
  * <p>Use the specifications in this object to indicate which parts of the JSON body to
518
518
  * inspect using the rule's inspection criteria. WAF inspects only the parts of the JSON
519
- * that result from the matches that you indicate.
520
- * </p>
519
+ * that result from the matches that you indicate. </p>
521
520
  * <p>Example JSON: <code>"JsonBody": \{ "MatchPattern": \{ "All": \{\} \}, "MatchScope": "ALL"
522
521
  * \}</code>
523
522
  * </p>
523
+ * <p>For additional information about this request component option, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body">JSON body</a>
524
+ * in the <i>WAF Developer Guide</i>.</p>
524
525
  * @public
525
526
  */
526
527
  export interface JsonBody {
@@ -564,24 +565,12 @@ export interface JsonBody {
564
565
  * </ul>
565
566
  * <p>If you don't provide this setting, WAF parses and evaluates the content only up to the
566
567
  * first parsing failure that it encounters. </p>
567
- * <p>WAF does its best to parse the entire JSON body, but might be forced to stop for
568
- * reasons such as invalid characters, duplicate keys, truncation, and any content whose root
569
- * node isn't an object or an array. </p>
570
- * <p>WAF parses the JSON in the following examples as two valid key, value pairs: </p>
571
- * <ul>
572
- * <li>
573
- * <p>Missing comma: <code>\{"key1":"value1""key2":"value2"\}</code>
574
- * </p>
575
- * </li>
576
- * <li>
577
- * <p>Missing colon: <code>\{"key1":"value1","key2""value2"\}</code>
578
- * </p>
579
- * </li>
580
- * <li>
581
- * <p>Extra colons: <code>\{"key1"::"value1","key2""value2"\}</code>
582
- * </p>
583
- * </li>
584
- * </ul>
568
+ * <note>
569
+ * <p>WAF parsing doesn't fully validate the input JSON string, so parsing can succeed even for invalid JSON. When
570
+ * parsing succeeds, WAF doesn't apply the fallback behavior. For more information,
571
+ * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-fields-list.html#waf-rule-statement-request-component-json-body">JSON body</a>
572
+ * in the <i>WAF Developer Guide</i>.</p>
573
+ * </note>
585
574
  * @public
586
575
  */
587
576
  InvalidFallbackBehavior?: BodyParsingFallbackBehavior;
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.606.0",
4
+ "version": "3.609.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": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.606.0",
24
- "@aws-sdk/client-sts": "3.606.0",
25
- "@aws-sdk/core": "3.598.0",
26
- "@aws-sdk/credential-provider-node": "3.600.0",
27
- "@aws-sdk/middleware-host-header": "3.598.0",
28
- "@aws-sdk/middleware-logger": "3.598.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.598.0",
30
- "@aws-sdk/middleware-user-agent": "3.598.0",
31
- "@aws-sdk/region-config-resolver": "3.598.0",
32
- "@aws-sdk/types": "3.598.0",
33
- "@aws-sdk/util-endpoints": "3.598.0",
34
- "@aws-sdk/util-user-agent-browser": "3.598.0",
35
- "@aws-sdk/util-user-agent-node": "3.598.0",
36
- "@smithy/config-resolver": "^3.0.2",
37
- "@smithy/core": "^2.2.1",
38
- "@smithy/fetch-http-handler": "^3.0.2",
39
- "@smithy/hash-node": "^3.0.1",
40
- "@smithy/invalid-dependency": "^3.0.1",
41
- "@smithy/middleware-content-length": "^3.0.1",
42
- "@smithy/middleware-endpoint": "^3.0.2",
43
- "@smithy/middleware-retry": "^3.0.4",
44
- "@smithy/middleware-serde": "^3.0.1",
45
- "@smithy/middleware-stack": "^3.0.1",
46
- "@smithy/node-config-provider": "^3.1.1",
47
- "@smithy/node-http-handler": "^3.0.1",
48
- "@smithy/protocol-http": "^4.0.1",
49
- "@smithy/smithy-client": "^3.1.2",
50
- "@smithy/types": "^3.1.0",
51
- "@smithy/url-parser": "^3.0.1",
23
+ "@aws-sdk/client-sso-oidc": "3.609.0",
24
+ "@aws-sdk/client-sts": "3.609.0",
25
+ "@aws-sdk/core": "3.609.0",
26
+ "@aws-sdk/credential-provider-node": "3.609.0",
27
+ "@aws-sdk/middleware-host-header": "3.609.0",
28
+ "@aws-sdk/middleware-logger": "3.609.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.609.0",
30
+ "@aws-sdk/middleware-user-agent": "3.609.0",
31
+ "@aws-sdk/region-config-resolver": "3.609.0",
32
+ "@aws-sdk/types": "3.609.0",
33
+ "@aws-sdk/util-endpoints": "3.609.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.609.0",
35
+ "@aws-sdk/util-user-agent-node": "3.609.0",
36
+ "@smithy/config-resolver": "^3.0.4",
37
+ "@smithy/core": "^2.2.4",
38
+ "@smithy/fetch-http-handler": "^3.2.0",
39
+ "@smithy/hash-node": "^3.0.3",
40
+ "@smithy/invalid-dependency": "^3.0.3",
41
+ "@smithy/middleware-content-length": "^3.0.3",
42
+ "@smithy/middleware-endpoint": "^3.0.4",
43
+ "@smithy/middleware-retry": "^3.0.7",
44
+ "@smithy/middleware-serde": "^3.0.3",
45
+ "@smithy/middleware-stack": "^3.0.3",
46
+ "@smithy/node-config-provider": "^3.1.3",
47
+ "@smithy/node-http-handler": "^3.1.1",
48
+ "@smithy/protocol-http": "^4.0.3",
49
+ "@smithy/smithy-client": "^3.1.5",
50
+ "@smithy/types": "^3.3.0",
51
+ "@smithy/url-parser": "^3.0.3",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.4",
56
- "@smithy/util-defaults-mode-node": "^3.0.4",
57
- "@smithy/util-endpoints": "^2.0.2",
58
- "@smithy/util-middleware": "^3.0.1",
59
- "@smithy/util-retry": "^3.0.1",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.7",
56
+ "@smithy/util-defaults-mode-node": "^3.0.7",
57
+ "@smithy/util-endpoints": "^2.0.4",
58
+ "@smithy/util-middleware": "^3.0.3",
59
+ "@smithy/util-retry": "^3.0.3",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },