@aws-sdk/client-waf-regional 3.758.0 → 3.774.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 +7 -7
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
|
AssociateWebACLCommand: () => AssociateWebACLCommand,
|
|
25
25
|
ChangeAction: () => ChangeAction,
|
|
26
26
|
ChangeTokenStatus: () => ChangeTokenStatus,
|
|
@@ -145,7 +145,7 @@ __export(src_exports, {
|
|
|
145
145
|
WafRuleType: () => WafRuleType,
|
|
146
146
|
__Client: () => import_smithy_client.Client
|
|
147
147
|
});
|
|
148
|
-
module.exports = __toCommonJS(
|
|
148
|
+
module.exports = __toCommonJS(index_exports);
|
|
149
149
|
|
|
150
150
|
// src/WAFRegionalClient.ts
|
|
151
151
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -272,9 +272,9 @@ var WAFRegionalClient = class extends import_smithy_client.Client {
|
|
|
272
272
|
this.middlewareStack.use(
|
|
273
273
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
274
274
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultWAFRegionalHttpAuthSchemeParametersProvider,
|
|
275
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
275
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
276
276
|
"aws.auth#sigv4": config.credentials
|
|
277
|
-
})
|
|
277
|
+
}), "identityProviderConfigProvider")
|
|
278
278
|
})
|
|
279
279
|
);
|
|
280
280
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -2852,7 +2852,7 @@ var de_WAFUnavailableEntityExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
|
2852
2852
|
var se_ByteMatchSetUpdate = /* @__PURE__ */ __name((input, context) => {
|
|
2853
2853
|
return (0, import_smithy_client.take)(input, {
|
|
2854
2854
|
Action: [],
|
|
2855
|
-
ByteMatchTuple: (_) => se_ByteMatchTuple(_, context)
|
|
2855
|
+
ByteMatchTuple: /* @__PURE__ */ __name((_) => se_ByteMatchTuple(_, context), "ByteMatchTuple")
|
|
2856
2856
|
});
|
|
2857
2857
|
}, "se_ByteMatchSetUpdate");
|
|
2858
2858
|
var se_ByteMatchSetUpdates = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -2872,27 +2872,27 @@ var se_GetSampledRequestsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
2872
2872
|
return (0, import_smithy_client.take)(input, {
|
|
2873
2873
|
MaxItems: [],
|
|
2874
2874
|
RuleId: [],
|
|
2875
|
-
TimeWindow: (_) => se_TimeWindow(_, context),
|
|
2875
|
+
TimeWindow: /* @__PURE__ */ __name((_) => se_TimeWindow(_, context), "TimeWindow"),
|
|
2876
2876
|
WebAclId: []
|
|
2877
2877
|
});
|
|
2878
2878
|
}, "se_GetSampledRequestsRequest");
|
|
2879
2879
|
var se_TimeWindow = /* @__PURE__ */ __name((input, context) => {
|
|
2880
2880
|
return (0, import_smithy_client.take)(input, {
|
|
2881
|
-
EndTime: (_) => _.getTime() / 1e3,
|
|
2882
|
-
StartTime: (_) => _.getTime() / 1e3
|
|
2881
|
+
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
2882
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
2883
2883
|
});
|
|
2884
2884
|
}, "se_TimeWindow");
|
|
2885
2885
|
var se_UpdateByteMatchSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2886
2886
|
return (0, import_smithy_client.take)(input, {
|
|
2887
2887
|
ByteMatchSetId: [],
|
|
2888
2888
|
ChangeToken: [],
|
|
2889
|
-
Updates: (_) => se_ByteMatchSetUpdates(_, context)
|
|
2889
|
+
Updates: /* @__PURE__ */ __name((_) => se_ByteMatchSetUpdates(_, context), "Updates")
|
|
2890
2890
|
});
|
|
2891
2891
|
}, "se_UpdateByteMatchSetRequest");
|
|
2892
2892
|
var de_ByteMatchSet = /* @__PURE__ */ __name((output, context) => {
|
|
2893
2893
|
return (0, import_smithy_client.take)(output, {
|
|
2894
2894
|
ByteMatchSetId: import_smithy_client.expectString,
|
|
2895
|
-
ByteMatchTuples: (_) => de_ByteMatchTuples(_, context),
|
|
2895
|
+
ByteMatchTuples: /* @__PURE__ */ __name((_) => de_ByteMatchTuples(_, context), "ByteMatchTuples"),
|
|
2896
2896
|
Name: import_smithy_client.expectString
|
|
2897
2897
|
});
|
|
2898
2898
|
}, "de_ByteMatchSet");
|
|
@@ -2912,20 +2912,20 @@ var de_ByteMatchTuples = /* @__PURE__ */ __name((output, context) => {
|
|
|
2912
2912
|
}, "de_ByteMatchTuples");
|
|
2913
2913
|
var de_CreateByteMatchSetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2914
2914
|
return (0, import_smithy_client.take)(output, {
|
|
2915
|
-
ByteMatchSet: (_) => de_ByteMatchSet(_, context),
|
|
2915
|
+
ByteMatchSet: /* @__PURE__ */ __name((_) => de_ByteMatchSet(_, context), "ByteMatchSet"),
|
|
2916
2916
|
ChangeToken: import_smithy_client.expectString
|
|
2917
2917
|
});
|
|
2918
2918
|
}, "de_CreateByteMatchSetResponse");
|
|
2919
2919
|
var de_GetByteMatchSetResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2920
2920
|
return (0, import_smithy_client.take)(output, {
|
|
2921
|
-
ByteMatchSet: (_) => de_ByteMatchSet(_, context)
|
|
2921
|
+
ByteMatchSet: /* @__PURE__ */ __name((_) => de_ByteMatchSet(_, context), "ByteMatchSet")
|
|
2922
2922
|
});
|
|
2923
2923
|
}, "de_GetByteMatchSetResponse");
|
|
2924
2924
|
var de_GetSampledRequestsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2925
2925
|
return (0, import_smithy_client.take)(output, {
|
|
2926
2926
|
PopulationSize: import_smithy_client.expectLong,
|
|
2927
|
-
SampledRequests: (_) => de_SampledHTTPRequests(_, context),
|
|
2928
|
-
TimeWindow: (_) => de_TimeWindow(_, context)
|
|
2927
|
+
SampledRequests: /* @__PURE__ */ __name((_) => de_SampledHTTPRequests(_, context), "SampledRequests"),
|
|
2928
|
+
TimeWindow: /* @__PURE__ */ __name((_) => de_TimeWindow(_, context), "TimeWindow")
|
|
2929
2929
|
});
|
|
2930
2930
|
}, "de_GetSampledRequestsResponse");
|
|
2931
2931
|
var de_SampledHTTPRequest = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2933,7 +2933,7 @@ var de_SampledHTTPRequest = /* @__PURE__ */ __name((output, context) => {
|
|
|
2933
2933
|
Action: import_smithy_client.expectString,
|
|
2934
2934
|
Request: import_smithy_client._json,
|
|
2935
2935
|
RuleWithinRuleGroup: import_smithy_client.expectString,
|
|
2936
|
-
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2936
|
+
Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
|
|
2937
2937
|
Weight: import_smithy_client.expectLong
|
|
2938
2938
|
});
|
|
2939
2939
|
}, "de_SampledHTTPRequest");
|
|
@@ -2945,8 +2945,8 @@ var de_SampledHTTPRequests = /* @__PURE__ */ __name((output, context) => {
|
|
|
2945
2945
|
}, "de_SampledHTTPRequests");
|
|
2946
2946
|
var de_TimeWindow = /* @__PURE__ */ __name((output, context) => {
|
|
2947
2947
|
return (0, import_smithy_client.take)(output, {
|
|
2948
|
-
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2949
|
-
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2948
|
+
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
2949
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
2950
2950
|
});
|
|
2951
2951
|
}, "de_TimeWindow");
|
|
2952
2952
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-waf-regional",
|
|
3
3
|
"description": "AWS SDK for JavaScript Waf Regional Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.774.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-regional",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|