@aws-sdk/client-waf 3.758.0 → 3.772.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/index.js +18 -18
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ChangeAction: () => ChangeAction,
|
|
25
25
|
ChangeTokenStatus: () => ChangeTokenStatus,
|
|
26
26
|
ComparisonOperator: () => ComparisonOperator,
|
|
@@ -139,7 +139,7 @@ __export(src_exports, {
|
|
|
139
139
|
WafRuleType: () => WafRuleType,
|
|
140
140
|
__Client: () => import_smithy_client.Client
|
|
141
141
|
});
|
|
142
|
-
module.exports = __toCommonJS(
|
|
142
|
+
module.exports = __toCommonJS(index_exports);
|
|
143
143
|
|
|
144
144
|
// src/WAFClient.ts
|
|
145
145
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -266,9 +266,9 @@ var WAFClient = class extends import_smithy_client.Client {
|
|
|
266
266
|
this.middlewareStack.use(
|
|
267
267
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
268
268
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultWAFHttpAuthSchemeParametersProvider,
|
|
269
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
269
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
270
270
|
"aws.auth#sigv4": config.credentials
|
|
271
|
-
})
|
|
271
|
+
}), "identityProviderConfigProvider")
|
|
272
272
|
})
|
|
273
273
|
);
|
|
274
274
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -2736,7 +2736,7 @@ var de_WAFTagOperationInternalErrorExceptionRes = /* @__PURE__ */ __name(async (
|
|
|
2736
2736
|
var se_ByteMatchSetUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
2737
2737
|
return (0, import_smithy_client.take)(input, {
|
|
2738
2738
|
Action: [],
|
|
2739
|
-
ByteMatchTuple: (_) => se_ByteMatchTuple(_, context)
|
|
2739
|
+
ByteMatchTuple: /* @__PURE__ */ __name((_) => se_ByteMatchTuple(_, context), "ByteMatchTuple")
|
|
2740
2740
|
});
|
|
2741
2741
|
}, "se_ByteMatchSetUpdate");
|
|
2742
2742
|
var se_ByteMatchSetUpdates = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -2756,27 +2756,27 @@ var se_GetSampledRequestsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2756
2756
|
return (0, import_smithy_client.take)(input, {
|
|
2757
2757
|
MaxItems: [],
|
|
2758
2758
|
RuleId: [],
|
|
2759
|
-
TimeWindow: (_) => se_TimeWindow(_, context),
|
|
2759
|
+
TimeWindow: /* @__PURE__ */ __name((_) => se_TimeWindow(_, context), "TimeWindow"),
|
|
2760
2760
|
WebAclId: []
|
|
2761
2761
|
});
|
|
2762
2762
|
}, "se_GetSampledRequestsRequest");
|
|
2763
2763
|
var se_TimeWindow = /* @__PURE__ */ __name((input, context) => {
|
|
2764
2764
|
return (0, import_smithy_client.take)(input, {
|
|
2765
|
-
EndTime: (_) => _.getTime() / 1e3,
|
|
2766
|
-
StartTime: (_) => _.getTime() / 1e3
|
|
2765
|
+
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
2766
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
2767
2767
|
});
|
|
2768
2768
|
}, "se_TimeWindow");
|
|
2769
2769
|
var se_UpdateByteMatchSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2770
2770
|
return (0, import_smithy_client.take)(input, {
|
|
2771
2771
|
ByteMatchSetId: [],
|
|
2772
2772
|
ChangeToken: [],
|
|
2773
|
-
Updates: (_) => se_ByteMatchSetUpdates(_, context)
|
|
2773
|
+
Updates: /* @__PURE__ */ __name((_) => se_ByteMatchSetUpdates(_, context), "Updates")
|
|
2774
2774
|
});
|
|
2775
2775
|
}, "se_UpdateByteMatchSetRequest");
|
|
2776
2776
|
var de_ByteMatchSet = /* @__PURE__ */ __name((output, context) => {
|
|
2777
2777
|
return (0, import_smithy_client.take)(output, {
|
|
2778
2778
|
ByteMatchSetId: import_smithy_client.expectString,
|
|
2779
|
-
ByteMatchTuples: (_) => de_ByteMatchTuples(_, context),
|
|
2779
|
+
ByteMatchTuples: /* @__PURE__ */ __name((_) => de_ByteMatchTuples(_, context), "ByteMatchTuples"),
|
|
2780
2780
|
Name: import_smithy_client.expectString
|
|
2781
2781
|
});
|
|
2782
2782
|
}, "de_ByteMatchSet");
|
|
@@ -2796,20 +2796,20 @@ var de_ByteMatchTuples = /* @__PURE__ */ __name((output, context) => {
|
|
|
2796
2796
|
}, "de_ByteMatchTuples");
|
|
2797
2797
|
var de_CreateByteMatchSetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2798
2798
|
return (0, import_smithy_client.take)(output, {
|
|
2799
|
-
ByteMatchSet: (_) => de_ByteMatchSet(_, context),
|
|
2799
|
+
ByteMatchSet: /* @__PURE__ */ __name((_) => de_ByteMatchSet(_, context), "ByteMatchSet"),
|
|
2800
2800
|
ChangeToken: import_smithy_client.expectString
|
|
2801
2801
|
});
|
|
2802
2802
|
}, "de_CreateByteMatchSetResponse");
|
|
2803
2803
|
var de_GetByteMatchSetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2804
2804
|
return (0, import_smithy_client.take)(output, {
|
|
2805
|
-
ByteMatchSet: (_) => de_ByteMatchSet(_, context)
|
|
2805
|
+
ByteMatchSet: /* @__PURE__ */ __name((_) => de_ByteMatchSet(_, context), "ByteMatchSet")
|
|
2806
2806
|
});
|
|
2807
2807
|
}, "de_GetByteMatchSetResponse");
|
|
2808
2808
|
var de_GetSampledRequestsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2809
2809
|
return (0, import_smithy_client.take)(output, {
|
|
2810
2810
|
PopulationSize: import_smithy_client.expectLong,
|
|
2811
|
-
SampledRequests: (_) => de_SampledHTTPRequests(_, context),
|
|
2812
|
-
TimeWindow: (_) => de_TimeWindow(_, context)
|
|
2811
|
+
SampledRequests: /* @__PURE__ */ __name((_) => de_SampledHTTPRequests(_, context), "SampledRequests"),
|
|
2812
|
+
TimeWindow: /* @__PURE__ */ __name((_) => de_TimeWindow(_, context), "TimeWindow")
|
|
2813
2813
|
});
|
|
2814
2814
|
}, "de_GetSampledRequestsResponse");
|
|
2815
2815
|
var de_SampledHTTPRequest = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2817,7 +2817,7 @@ var de_SampledHTTPRequest = /* @__PURE__ */ __name((output, context) => {
|
|
|
2817
2817
|
Action: import_smithy_client.expectString,
|
|
2818
2818
|
Request: import_smithy_client._json,
|
|
2819
2819
|
RuleWithinRuleGroup: import_smithy_client.expectString,
|
|
2820
|
-
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2820
|
+
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
|
|
2821
2821
|
Weight: import_smithy_client.expectLong
|
|
2822
2822
|
});
|
|
2823
2823
|
}, "de_SampledHTTPRequest");
|
|
@@ -2829,8 +2829,8 @@ var de_SampledHTTPRequests = /* @__PURE__ */ __name((output, context) => {
|
|
|
2829
2829
|
}, "de_SampledHTTPRequests");
|
|
2830
2830
|
var de_TimeWindow = /* @__PURE__ */ __name((output, context) => {
|
|
2831
2831
|
return (0, import_smithy_client.take)(output, {
|
|
2832
|
-
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2833
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2832
|
+
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
2833
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
2834
2834
|
});
|
|
2835
2835
|
}, "de_TimeWindow");
|
|
2836
2836
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
package/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.772.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-waf",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.758.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|