@aws-sdk/client-waf 3.28.0 → 3.32.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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +10 -8
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +11 -9
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +15 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-waf
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-waf
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-waf
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-waf
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -7893,7 +7893,7 @@ const deserializeAws_json1_1ActivatedRule = (output, context) => {
|
|
|
7893
7893
|
OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null
|
|
7894
7894
|
? deserializeAws_json1_1WafOverrideAction(output.OverrideAction, context)
|
|
7895
7895
|
: undefined,
|
|
7896
|
-
Priority: smithy_client_1.
|
|
7896
|
+
Priority: smithy_client_1.expectInt32(output.Priority),
|
|
7897
7897
|
RuleId: smithy_client_1.expectString(output.RuleId),
|
|
7898
7898
|
Type: smithy_client_1.expectString(output.Type),
|
|
7899
7899
|
};
|
|
@@ -8268,7 +8268,7 @@ const deserializeAws_json1_1GetRuleResponse = (output, context) => {
|
|
|
8268
8268
|
};
|
|
8269
8269
|
const deserializeAws_json1_1GetSampledRequestsResponse = (output, context) => {
|
|
8270
8270
|
return {
|
|
8271
|
-
PopulationSize: smithy_client_1.
|
|
8271
|
+
PopulationSize: smithy_client_1.expectLong(output.PopulationSize),
|
|
8272
8272
|
SampledRequests: output.SampledRequests !== undefined && output.SampledRequests !== null
|
|
8273
8273
|
? deserializeAws_json1_1SampledHTTPRequests(output.SampledRequests, context)
|
|
8274
8274
|
: undefined,
|
|
@@ -8578,7 +8578,7 @@ const deserializeAws_json1_1RateBasedRule = (output, context) => {
|
|
|
8578
8578
|
MetricName: smithy_client_1.expectString(output.MetricName),
|
|
8579
8579
|
Name: smithy_client_1.expectString(output.Name),
|
|
8580
8580
|
RateKey: smithy_client_1.expectString(output.RateKey),
|
|
8581
|
-
RateLimit: smithy_client_1.
|
|
8581
|
+
RateLimit: smithy_client_1.expectLong(output.RateLimit),
|
|
8582
8582
|
RuleId: smithy_client_1.expectString(output.RuleId),
|
|
8583
8583
|
};
|
|
8584
8584
|
};
|
|
@@ -8728,9 +8728,9 @@ const deserializeAws_json1_1SampledHTTPRequest = (output, context) => {
|
|
|
8728
8728
|
: undefined,
|
|
8729
8729
|
RuleWithinRuleGroup: smithy_client_1.expectString(output.RuleWithinRuleGroup),
|
|
8730
8730
|
Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
|
|
8731
|
-
?
|
|
8731
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
|
|
8732
8732
|
: undefined,
|
|
8733
|
-
Weight: smithy_client_1.
|
|
8733
|
+
Weight: smithy_client_1.expectLong(output.Weight),
|
|
8734
8734
|
};
|
|
8735
8735
|
};
|
|
8736
8736
|
const deserializeAws_json1_1SampledHTTPRequests = (output, context) => {
|
|
@@ -8749,7 +8749,7 @@ const deserializeAws_json1_1SizeConstraint = (output, context) => {
|
|
|
8749
8749
|
FieldToMatch: output.FieldToMatch !== undefined && output.FieldToMatch !== null
|
|
8750
8750
|
? deserializeAws_json1_1FieldToMatch(output.FieldToMatch, context)
|
|
8751
8751
|
: undefined,
|
|
8752
|
-
Size: smithy_client_1.
|
|
8752
|
+
Size: smithy_client_1.expectLong(output.Size),
|
|
8753
8753
|
TextTransformation: smithy_client_1.expectString(output.TextTransformation),
|
|
8754
8754
|
};
|
|
8755
8755
|
};
|
|
@@ -8877,9 +8877,11 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
8877
8877
|
};
|
|
8878
8878
|
const deserializeAws_json1_1TimeWindow = (output, context) => {
|
|
8879
8879
|
return {
|
|
8880
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
8880
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
8881
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
8882
|
+
: undefined,
|
|
8881
8883
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
8882
|
-
?
|
|
8884
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
8883
8885
|
: undefined,
|
|
8884
8886
|
};
|
|
8885
8887
|
};
|