@layerzerolabs/vm-tooling 0.0.60 → 0.0.62
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/2AQAGKCU.cjs +39 -0
- package/dist/2AQAGKCU.cjs.map +1 -0
- package/dist/{M6YAIP2X.cjs → 37UR3RSN.cjs} +10 -10
- package/dist/{M6YAIP2X.cjs.map → 37UR3RSN.cjs.map} +1 -1
- package/dist/{CL6CDQMJ.js → 45K4IRAA.js} +5 -5
- package/dist/{CL6CDQMJ.js.map → 45K4IRAA.js.map} +1 -1
- package/dist/{IQXSRATS.cjs → 4SZ6P77Q.cjs} +30 -30
- package/dist/{IQXSRATS.cjs.map → 4SZ6P77Q.cjs.map} +1 -1
- package/dist/{NUB3VR3D.js → 5JYEGDVK.js} +4 -4
- package/dist/{NUB3VR3D.js.map → 5JYEGDVK.js.map} +1 -1
- package/dist/{IZVZ5TRG.js → 5QGJ7CFM.js} +5 -5
- package/dist/{IZVZ5TRG.js.map → 5QGJ7CFM.js.map} +1 -1
- package/dist/{VVTDADG7.cjs → 7WVEMAKW.cjs} +5 -5
- package/dist/{VVTDADG7.cjs.map → 7WVEMAKW.cjs.map} +1 -1
- package/dist/{VGCATKI5.cjs → AHQNBZE4.cjs} +5 -5
- package/dist/{VGCATKI5.cjs.map → AHQNBZE4.cjs.map} +1 -1
- package/dist/{4RWETOR3.cjs → AMF2EES3.cjs} +23 -23
- package/dist/{4RWETOR3.cjs.map → AMF2EES3.cjs.map} +1 -1
- package/dist/{OGU6CONG.js → BOOCAPHW.js} +5 -5
- package/dist/{OGU6CONG.js.map → BOOCAPHW.js.map} +1 -1
- package/dist/{BPGURM6D.js → CJNBA2MN.js} +6 -4
- package/dist/CJNBA2MN.js.map +1 -0
- package/dist/{72W2AKIC.js → CMSYZVLH.js} +3 -3
- package/dist/{72W2AKIC.js.map → CMSYZVLH.js.map} +1 -1
- package/dist/CYUSPBTH.cjs +8 -0
- package/dist/{YI6EL3AH.cjs.map → CYUSPBTH.cjs.map} +1 -1
- package/dist/{NNE5MIRH.cjs → DEL75SYN.cjs} +284 -284
- package/dist/{NNE5MIRH.cjs.map → DEL75SYN.cjs.map} +1 -1
- package/dist/DPCW4JIV.cjs +53 -0
- package/dist/DPCW4JIV.cjs.map +1 -0
- package/dist/{DK5YZCTB.cjs → EPPFFBGP.cjs} +13 -13
- package/dist/{DK5YZCTB.cjs.map → EPPFFBGP.cjs.map} +1 -1
- package/dist/{W7QMZBXR.cjs → F7OAIAEX.cjs} +26 -26
- package/dist/{W7QMZBXR.cjs.map → F7OAIAEX.cjs.map} +1 -1
- package/dist/{ZGTCJSBO.js → FAOU2ZJO.js} +3 -3
- package/dist/{ZGTCJSBO.js.map → FAOU2ZJO.js.map} +1 -1
- package/dist/{PSSBUABA.cjs → FI3AZBYE.cjs} +7 -7
- package/dist/{PSSBUABA.cjs.map → FI3AZBYE.cjs.map} +1 -1
- package/dist/FKPK53TD.cjs +8 -0
- package/dist/FKPK53TD.cjs.map +1 -0
- package/dist/{F46O4OAT.js → GQAEO3WU.js} +9 -5
- package/dist/GQAEO3WU.js.map +1 -0
- package/dist/GSHFVQRI.cjs +8 -0
- package/dist/{OOTZHKMN.cjs.map → GSHFVQRI.cjs.map} +1 -1
- package/dist/{QO6IEDLG.cjs → HMP4FGDB.cjs} +61 -61
- package/dist/{QO6IEDLG.cjs.map → HMP4FGDB.cjs.map} +1 -1
- package/dist/{2RWEJQEO.cjs → HN3U775J.cjs} +10 -10
- package/dist/{2RWEJQEO.cjs.map → HN3U775J.cjs.map} +1 -1
- package/dist/{4EYI4PYN.cjs → HSC5AWAD.cjs} +211 -211
- package/dist/{4EYI4PYN.cjs.map → HSC5AWAD.cjs.map} +1 -1
- package/dist/{BI33BCZD.js → HVBHNWI7.js} +3 -3
- package/dist/{BI33BCZD.js.map → HVBHNWI7.js.map} +1 -1
- package/dist/{W3N4CNDW.js → JEOLJJ6F.js} +4 -4
- package/dist/{W3N4CNDW.js.map → JEOLJJ6F.js.map} +1 -1
- package/dist/{BXO3RC75.cjs → JGLHYXTW.cjs} +17 -17
- package/dist/{BXO3RC75.cjs.map → JGLHYXTW.cjs.map} +1 -1
- package/dist/{HI4NXK4T.cjs → JLKKDVCL.cjs} +10 -4
- package/dist/JLKKDVCL.cjs.map +1 -0
- package/dist/{LUO6HP3P.cjs → KFOKN2M2.cjs} +62 -62
- package/dist/{LUO6HP3P.cjs.map → KFOKN2M2.cjs.map} +1 -1
- package/dist/{OSR73KYW.cjs → KONCDJAL.cjs} +18 -18
- package/dist/{OSR73KYW.cjs.map → KONCDJAL.cjs.map} +1 -1
- package/dist/{6SVY3NVF.cjs → L6RZSSWB.cjs} +22 -22
- package/dist/{6SVY3NVF.cjs.map → L6RZSSWB.cjs.map} +1 -1
- package/dist/M4PGJV5D.js +6 -0
- package/dist/M4PGJV5D.js.map +1 -0
- package/dist/MMIV5S36.js +51 -0
- package/dist/MMIV5S36.js.map +1 -0
- package/dist/{JGA7AJCX.js → NX66I36H.js} +8 -2
- package/dist/NX66I36H.js.map +1 -0
- package/dist/{FUZCR6WN.cjs → OT5L7ME6.cjs} +273 -273
- package/dist/{FUZCR6WN.cjs.map → OT5L7ME6.cjs.map} +1 -1
- package/dist/{NEQ3DTUV.cjs → OWTMHDOF.cjs} +16 -16
- package/dist/{NEQ3DTUV.cjs.map → OWTMHDOF.cjs.map} +1 -1
- package/dist/{4UZKQNSD.cjs → OZNFYXME.cjs} +20 -20
- package/dist/{4UZKQNSD.cjs.map → OZNFYXME.cjs.map} +1 -1
- package/dist/{OAYLBSRH.cjs → P5BPMTGP.cjs} +40 -40
- package/dist/{OAYLBSRH.cjs.map → P5BPMTGP.cjs.map} +1 -1
- package/dist/{64SMUTQJ.cjs → QYB5VPZE.cjs} +5 -5
- package/dist/{64SMUTQJ.cjs.map → QYB5VPZE.cjs.map} +1 -1
- package/dist/{LJR3ILZB.cjs → S5DRZSZW.cjs} +28 -24
- package/dist/S5DRZSZW.cjs.map +1 -0
- package/dist/{L5ENV2DK.cjs → SPOUVTPR.cjs} +56 -56
- package/dist/{L5ENV2DK.cjs.map → SPOUVTPR.cjs.map} +1 -1
- package/dist/{M5C4OTHX.js → TBDZQONT.js} +6 -6
- package/dist/{M5C4OTHX.js.map → TBDZQONT.js.map} +1 -1
- package/dist/{ABGH4Z56.cjs → TQMUPD75.cjs} +8 -8
- package/dist/{ABGH4Z56.cjs.map → TQMUPD75.cjs.map} +1 -1
- package/dist/{2X4NOJJL.js → U4OLGGKH.js} +5 -5
- package/dist/{2X4NOJJL.js.map → U4OLGGKH.js.map} +1 -1
- package/dist/{VO65XOWD.cjs → U7VZULNU.cjs} +2 -5
- package/dist/U7VZULNU.cjs.map +1 -0
- package/dist/{ZV7VZVS6.js → UHPHZ6AE.js} +3 -3
- package/dist/{ZV7VZVS6.js.map → UHPHZ6AE.js.map} +1 -1
- package/dist/{KS44PBXU.cjs → UN57VWAW.cjs} +438 -438
- package/dist/{KS44PBXU.cjs.map → UN57VWAW.cjs.map} +1 -1
- package/dist/{BVLAV47O.cjs → VZOUGVXS.cjs} +9 -9
- package/dist/{BVLAV47O.cjs.map → VZOUGVXS.cjs.map} +1 -1
- package/dist/{DPDVRYLI.cjs → WDSPHVPJ.cjs} +65 -65
- package/dist/{DPDVRYLI.cjs.map → WDSPHVPJ.cjs.map} +1 -1
- package/dist/{F2ZPATQF.cjs → WH45T4LS.cjs} +10 -10
- package/dist/{F2ZPATQF.cjs.map → WH45T4LS.cjs.map} +1 -1
- package/dist/{XOQZ3G2K.cjs → WHAPJZ3U.cjs} +34 -32
- package/dist/WHAPJZ3U.cjs.map +1 -0
- package/dist/{JWQN2QGP.cjs → Y5ZXTD76.cjs} +147 -147
- package/dist/{JWQN2QGP.cjs.map → Y5ZXTD76.cjs.map} +1 -1
- package/dist/YNMZEV5X.cjs +11 -0
- package/dist/{TC7EHVC2.cjs.map → YNMZEV5X.cjs.map} +1 -1
- package/dist/commands/starknet/build-typescript-sdk.cjs +13 -0
- package/dist/commands/starknet/build-typescript-sdk.cjs.map +1 -0
- package/dist/commands/starknet/build-typescript-sdk.d.ts +2 -0
- package/dist/commands/starknet/build-typescript-sdk.d.ts.map +1 -0
- package/dist/commands/starknet/build-typescript-sdk.js +4 -0
- package/dist/commands/starknet/build-typescript-sdk.js.map +1 -0
- package/dist/commands/starknet/index.cjs +14 -0
- package/dist/commands/starknet/index.cjs.map +1 -0
- package/dist/commands/starknet/index.d.ts +2 -0
- package/dist/commands/starknet/index.d.ts.map +1 -0
- package/dist/commands/starknet/index.js +5 -0
- package/dist/commands/starknet/index.js.map +1 -0
- package/dist/config/index.cjs +9 -9
- package/dist/config/index.js +2 -2
- package/dist/config/tools.cjs +4 -4
- package/dist/config/tools.d.ts.map +1 -1
- package/dist/config/tools.js +2 -2
- package/dist/config/version-matrices.cjs +3 -3
- package/dist/config/version-matrices.d.ts.map +1 -1
- package/dist/config/version-matrices.js +1 -1
- package/dist/core/compatibility.cjs +3 -3
- package/dist/core/index.cjs +14 -14
- package/dist/core/index.js +4 -4
- package/dist/core/lock.cjs +5 -5
- package/dist/core/lock.test.cjs +996 -996
- package/dist/core/tool-executor.cjs +9 -9
- package/dist/core/tool-executor.d.ts +1 -0
- package/dist/core/tool-executor.d.ts.map +1 -1
- package/dist/core/tool-executor.js +4 -4
- package/dist/core/version-resolver.cjs +8 -8
- package/dist/core/version-resolver.js +3 -3
- package/dist/display/formatters.cjs +5 -5
- package/dist/display/formatters.js +3 -3
- package/dist/display/index.cjs +9 -9
- package/dist/display/index.js +4 -4
- package/dist/display/version-display.cjs +7 -7
- package/dist/display/version-display.js +4 -4
- package/dist/index.cjs +28 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -7
- package/dist/index.js.map +1 -1
- package/dist/scripts/generate-github-matrix.cjs +298 -299
- package/dist/scripts/generate-github-matrix.cjs.map +1 -1
- package/dist/scripts/generate-github-matrix.js +9 -10
- package/dist/scripts/generate-github-matrix.js.map +1 -1
- package/dist/types/docker.cjs +2 -2
- package/dist/types/index.cjs +2 -2
- package/dist/types/tool.cjs +2 -2
- package/dist/types/version.cjs +2 -2
- package/dist/types/version.cjs.map +1 -1
- package/dist/types/version.d.ts +1 -0
- package/dist/types/version.d.ts.map +1 -1
- package/dist/types/version.js.map +1 -1
- package/dist/utils/docker.cjs +5 -5
- package/dist/utils/docker.js +2 -2
- package/dist/utils/error.cjs +3 -3
- package/dist/utils/finder.cjs +12 -12
- package/dist/utils/finder.js +2 -2
- package/dist/utils/version.cjs +7 -7
- package/dist/utils/version.js +2 -2
- package/dist/utils.cjs +6 -6
- package/dist/utils.js +2 -2
- package/package.json +6 -5
- package/dist/AY3IP22W.cjs +0 -39
- package/dist/AY3IP22W.cjs.map +0 -1
- package/dist/BPGURM6D.js.map +0 -1
- package/dist/F46O4OAT.js.map +0 -1
- package/dist/HI4NXK4T.cjs.map +0 -1
- package/dist/JGA7AJCX.js.map +0 -1
- package/dist/LJR3ILZB.cjs.map +0 -1
- package/dist/OOTZHKMN.cjs +0 -8
- package/dist/TC7EHVC2.cjs +0 -11
- package/dist/VO65XOWD.cjs.map +0 -1
- package/dist/XOQZ3G2K.cjs.map +0 -1
- package/dist/YI6EL3AH.cjs +0 -8
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
3
|
+
var F7OAIAEX_cjs = require('./F7OAIAEX.cjs');
|
|
4
|
+
var P5BPMTGP_cjs = require('./P5BPMTGP.cjs');
|
|
5
|
+
var OT5L7ME6_cjs = require('./OT5L7ME6.cjs');
|
|
6
|
+
var OWTMHDOF_cjs = require('./OWTMHDOF.cjs');
|
|
7
|
+
var _7WVEMAKW_cjs = require('./7WVEMAKW.cjs');
|
|
8
|
+
var WDSPHVPJ_cjs = require('./WDSPHVPJ.cjs');
|
|
9
|
+
var JGLHYXTW_cjs = require('./JGLHYXTW.cjs');
|
|
10
|
+
var U7VZULNU_cjs = require('./U7VZULNU.cjs');
|
|
11
11
|
var stream = require('stream');
|
|
12
12
|
var os = require('os');
|
|
13
13
|
var process$1 = require('process');
|
|
@@ -16,13 +16,13 @@ var crypto = require('crypto');
|
|
|
16
16
|
var fs = require('fs');
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-host-header@3.873.0/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js
|
|
19
|
-
|
|
19
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
20
20
|
function resolveHostHeaderConfig(input) {
|
|
21
21
|
return input;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
var hostHeaderMiddleware = /* @__PURE__ */
|
|
25
|
-
if (!
|
|
23
|
+
U7VZULNU_cjs.__name(resolveHostHeaderConfig, "resolveHostHeaderConfig");
|
|
24
|
+
var hostHeaderMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => (next) => async (args) => {
|
|
25
|
+
if (!OT5L7ME6_cjs.HttpRequest.isInstance(args.request)) return next(args);
|
|
26
26
|
const { request } = args;
|
|
27
27
|
const { handlerProtocol = "" } = options.requestHandler.metadata || {};
|
|
28
28
|
if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) {
|
|
@@ -44,15 +44,15 @@ var hostHeaderMiddlewareOptions = {
|
|
|
44
44
|
],
|
|
45
45
|
override: true
|
|
46
46
|
};
|
|
47
|
-
var getHostHeaderPlugin = /* @__PURE__ */
|
|
48
|
-
applyToStack: /* @__PURE__ */
|
|
47
|
+
var getHostHeaderPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => ({
|
|
48
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
49
49
|
clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);
|
|
50
50
|
}, "applyToStack")
|
|
51
51
|
}), "getHostHeaderPlugin");
|
|
52
52
|
|
|
53
53
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-logger@3.876.0/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js
|
|
54
|
-
|
|
55
|
-
var loggerMiddleware = /* @__PURE__ */
|
|
54
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
55
|
+
var loggerMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name(() => (next, context) => async (args) => {
|
|
56
56
|
try {
|
|
57
57
|
const response = await next(args);
|
|
58
58
|
const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;
|
|
@@ -90,23 +90,23 @@ var loggerMiddlewareOptions = {
|
|
|
90
90
|
step: "initialize",
|
|
91
91
|
override: true
|
|
92
92
|
};
|
|
93
|
-
var getLoggerPlugin = /* @__PURE__ */
|
|
94
|
-
applyToStack: /* @__PURE__ */
|
|
93
|
+
var getLoggerPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => ({
|
|
94
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
95
95
|
clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);
|
|
96
96
|
}, "applyToStack")
|
|
97
97
|
}), "getLoggerPlugin");
|
|
98
98
|
|
|
99
99
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-logger@3.876.0/node_modules/@aws-sdk/middleware-logger/dist-es/index.js
|
|
100
|
-
|
|
100
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
101
101
|
|
|
102
102
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-recursion-detection@3.873.0/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js
|
|
103
|
-
|
|
103
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
104
104
|
var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
105
105
|
var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
106
106
|
var ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
107
|
-
var recursionDetectionMiddleware = /* @__PURE__ */
|
|
107
|
+
var recursionDetectionMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => (next) => async (args) => {
|
|
108
108
|
const { request } = args;
|
|
109
|
-
if (!
|
|
109
|
+
if (!OT5L7ME6_cjs.HttpRequest.isInstance(request) || options.runtime !== "node") {
|
|
110
110
|
return next(args);
|
|
111
111
|
}
|
|
112
112
|
const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? TRACE_ID_HEADER_NAME;
|
|
@@ -115,7 +115,7 @@ var recursionDetectionMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options)
|
|
|
115
115
|
}
|
|
116
116
|
const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];
|
|
117
117
|
const traceId = process.env[ENV_TRACE_ID];
|
|
118
|
-
const nonEmptyString = /* @__PURE__ */
|
|
118
|
+
const nonEmptyString = /* @__PURE__ */ U7VZULNU_cjs.__name((str) => typeof str === "string" && str.length > 0, "nonEmptyString");
|
|
119
119
|
if (nonEmptyString(functionName) && nonEmptyString(traceId)) {
|
|
120
120
|
request.headers[TRACE_ID_HEADER_NAME] = traceId;
|
|
121
121
|
}
|
|
@@ -133,36 +133,36 @@ var addRecursionDetectionMiddlewareOptions = {
|
|
|
133
133
|
override: true,
|
|
134
134
|
priority: "low"
|
|
135
135
|
};
|
|
136
|
-
var getRecursionDetectionPlugin = /* @__PURE__ */
|
|
137
|
-
applyToStack: /* @__PURE__ */
|
|
136
|
+
var getRecursionDetectionPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => ({
|
|
137
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
138
138
|
clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions);
|
|
139
139
|
}, "applyToStack")
|
|
140
140
|
}), "getRecursionDetectionPlugin");
|
|
141
141
|
|
|
142
142
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
143
|
-
|
|
143
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
144
144
|
|
|
145
145
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
|
|
146
|
-
|
|
146
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
147
147
|
|
|
148
148
|
// ../../node_modules/.pnpm/@smithy+util-middleware@4.0.5/node_modules/@smithy/util-middleware/dist-es/index.js
|
|
149
|
-
|
|
149
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
150
150
|
|
|
151
151
|
// ../../node_modules/.pnpm/@smithy+util-middleware@4.0.5/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
152
|
-
|
|
153
|
-
var getSmithyContext = /* @__PURE__ */
|
|
152
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
153
|
+
var getSmithyContext = /* @__PURE__ */ U7VZULNU_cjs.__name((context) => context[WDSPHVPJ_cjs.SMITHY_CONTEXT_KEY] || (context[WDSPHVPJ_cjs.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
154
154
|
|
|
155
155
|
// ../../node_modules/.pnpm/@smithy+util-middleware@4.0.5/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
156
|
-
|
|
157
|
-
var normalizeProvider = /* @__PURE__ */
|
|
156
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
157
|
+
var normalizeProvider = /* @__PURE__ */ U7VZULNU_cjs.__name((input) => {
|
|
158
158
|
if (typeof input === "function") return input;
|
|
159
159
|
const promisified = Promise.resolve(input);
|
|
160
160
|
return () => promisified;
|
|
161
161
|
}, "normalizeProvider");
|
|
162
162
|
|
|
163
163
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js
|
|
164
|
-
|
|
165
|
-
var resolveAuthOptions = /* @__PURE__ */
|
|
164
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
165
|
+
var resolveAuthOptions = /* @__PURE__ */ U7VZULNU_cjs.__name((candidateAuthOptions, authSchemePreference) => {
|
|
166
166
|
if (!authSchemePreference || authSchemePreference.length === 0) {
|
|
167
167
|
return candidateAuthOptions;
|
|
168
168
|
}
|
|
@@ -191,8 +191,8 @@ function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
|
191
191
|
}
|
|
192
192
|
return map;
|
|
193
193
|
}
|
|
194
|
-
|
|
195
|
-
var httpAuthSchemeMiddleware = /* @__PURE__ */
|
|
194
|
+
U7VZULNU_cjs.__name(convertHttpAuthSchemesToMap, "convertHttpAuthSchemesToMap");
|
|
195
|
+
var httpAuthSchemeMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((config, mwOptions) => (next, context) => async (args) => {
|
|
196
196
|
const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input));
|
|
197
197
|
const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
|
|
198
198
|
const resolvedOptions = resolveAuthOptions(options, authSchemePreference);
|
|
@@ -237,8 +237,8 @@ var httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
|
237
237
|
relation: "before",
|
|
238
238
|
toMiddleware: "endpointV2Middleware"
|
|
239
239
|
};
|
|
240
|
-
var getHttpAuthSchemeEndpointRuleSetPlugin = /* @__PURE__ */
|
|
241
|
-
applyToStack: /* @__PURE__ */
|
|
240
|
+
var getHttpAuthSchemeEndpointRuleSetPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider }) => ({
|
|
241
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
242
242
|
clientStack.addRelativeTo(httpAuthSchemeMiddleware(config, {
|
|
243
243
|
httpAuthSchemeParametersProvider,
|
|
244
244
|
identityProviderConfigProvider
|
|
@@ -247,11 +247,11 @@ var getHttpAuthSchemeEndpointRuleSetPlugin = /* @__PURE__ */ VO65XOWD_cjs.__name
|
|
|
247
247
|
}), "getHttpAuthSchemeEndpointRuleSetPlugin");
|
|
248
248
|
|
|
249
249
|
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.0.9/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
250
|
-
|
|
250
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
251
251
|
|
|
252
252
|
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.0.9/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js
|
|
253
|
-
|
|
254
|
-
var deserializerMiddleware = /* @__PURE__ */
|
|
253
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
254
|
+
var deserializerMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((options, deserializer) => (next, context) => async (args) => {
|
|
255
255
|
const { response } = await next(args);
|
|
256
256
|
try {
|
|
257
257
|
const parsed = await deserializer(response, options);
|
|
@@ -280,7 +280,7 @@ var deserializerMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options, deser
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
try {
|
|
283
|
-
if (
|
|
283
|
+
if (OT5L7ME6_cjs.HttpResponse.isInstance(response)) {
|
|
284
284
|
const { headers = {} } = response;
|
|
285
285
|
const headerEntries = Object.entries(headers);
|
|
286
286
|
error.$metadata = {
|
|
@@ -296,7 +296,7 @@ var deserializerMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options, deser
|
|
|
296
296
|
throw error;
|
|
297
297
|
}
|
|
298
298
|
}, "deserializerMiddleware");
|
|
299
|
-
var findHeader = /* @__PURE__ */
|
|
299
|
+
var findHeader = /* @__PURE__ */ U7VZULNU_cjs.__name((pattern, headers) => {
|
|
300
300
|
return (headers.find(([k]) => {
|
|
301
301
|
return k.match(pattern);
|
|
302
302
|
}) || [
|
|
@@ -306,8 +306,8 @@ var findHeader = /* @__PURE__ */ VO65XOWD_cjs.__name((pattern, headers) => {
|
|
|
306
306
|
}, "findHeader");
|
|
307
307
|
|
|
308
308
|
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.0.9/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js
|
|
309
|
-
|
|
310
|
-
var serializerMiddleware = /* @__PURE__ */
|
|
309
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
310
|
+
var serializerMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((options, serializer) => (next, context) => async (args) => {
|
|
311
311
|
const endpointConfig = options;
|
|
312
312
|
const endpoint = context.endpointV2?.url && endpointConfig.urlParser ? async () => endpointConfig.urlParser(context.endpointV2.url) : endpointConfig.endpoint;
|
|
313
313
|
if (!endpoint) {
|
|
@@ -342,29 +342,29 @@ var serializerMiddlewareOption = {
|
|
|
342
342
|
};
|
|
343
343
|
function getSerdePlugin(config, serializer, deserializer) {
|
|
344
344
|
return {
|
|
345
|
-
applyToStack: /* @__PURE__ */
|
|
345
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((commandStack) => {
|
|
346
346
|
commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption);
|
|
347
347
|
commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption);
|
|
348
348
|
}, "applyToStack")
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
|
|
351
|
+
U7VZULNU_cjs.__name(getSerdePlugin, "getSerdePlugin");
|
|
352
352
|
|
|
353
353
|
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.0.9/node_modules/@smithy/middleware-serde/dist-es/index.js
|
|
354
|
-
|
|
354
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
355
355
|
|
|
356
356
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
357
|
-
|
|
357
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
358
358
|
|
|
359
359
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js
|
|
360
|
-
|
|
361
|
-
var defaultErrorHandler = /* @__PURE__ */
|
|
360
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
361
|
+
var defaultErrorHandler = /* @__PURE__ */ U7VZULNU_cjs.__name((signingProperties) => (error) => {
|
|
362
362
|
throw error;
|
|
363
363
|
}, "defaultErrorHandler");
|
|
364
|
-
var defaultSuccessHandler = /* @__PURE__ */
|
|
364
|
+
var defaultSuccessHandler = /* @__PURE__ */ U7VZULNU_cjs.__name((httpResponse, signingProperties) => {
|
|
365
365
|
}, "defaultSuccessHandler");
|
|
366
|
-
var httpSigningMiddleware = /* @__PURE__ */
|
|
367
|
-
if (!
|
|
366
|
+
var httpSigningMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((config) => (next, context) => async (args) => {
|
|
367
|
+
if (!OT5L7ME6_cjs.HttpRequest.isInstance(args.request)) {
|
|
368
368
|
return next(args);
|
|
369
369
|
}
|
|
370
370
|
const smithyContext = getSmithyContext(context);
|
|
@@ -397,17 +397,17 @@ var httpSigningMiddlewareOptions = {
|
|
|
397
397
|
relation: "after",
|
|
398
398
|
toMiddleware: "retryMiddleware"
|
|
399
399
|
};
|
|
400
|
-
var getHttpSigningPlugin = /* @__PURE__ */
|
|
401
|
-
applyToStack: /* @__PURE__ */
|
|
400
|
+
var getHttpSigningPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((config) => ({
|
|
401
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
402
402
|
clientStack.addRelativeTo(httpSigningMiddleware(config), httpSigningMiddlewareOptions);
|
|
403
403
|
}, "applyToStack")
|
|
404
404
|
}), "getHttpSigningPlugin");
|
|
405
405
|
|
|
406
406
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js
|
|
407
|
-
|
|
407
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
408
408
|
var DefaultIdentityProviderConfig = class {
|
|
409
409
|
static {
|
|
410
|
-
|
|
410
|
+
U7VZULNU_cjs.__name(this, "DefaultIdentityProviderConfig");
|
|
411
411
|
}
|
|
412
412
|
constructor(config) {
|
|
413
413
|
this.authSchemes = /* @__PURE__ */ new Map();
|
|
@@ -423,18 +423,18 @@ var DefaultIdentityProviderConfig = class {
|
|
|
423
423
|
};
|
|
424
424
|
|
|
425
425
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
426
|
-
|
|
426
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
427
427
|
|
|
428
428
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/normalizeProvider.js
|
|
429
|
-
|
|
430
|
-
var normalizeProvider2 = /* @__PURE__ */
|
|
429
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
430
|
+
var normalizeProvider2 = /* @__PURE__ */ U7VZULNU_cjs.__name((input) => {
|
|
431
431
|
if (typeof input === "function") return input;
|
|
432
432
|
const promisified = Promise.resolve(input);
|
|
433
433
|
return () => promisified;
|
|
434
434
|
}, "normalizeProvider");
|
|
435
435
|
|
|
436
436
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/setFeature.js
|
|
437
|
-
|
|
437
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
438
438
|
function setFeature(context, feature, value) {
|
|
439
439
|
if (!context.__smithy_context) {
|
|
440
440
|
context.__smithy_context = {
|
|
@@ -445,15 +445,15 @@ function setFeature(context, feature, value) {
|
|
|
445
445
|
}
|
|
446
446
|
context.__smithy_context.features[feature] = value;
|
|
447
447
|
}
|
|
448
|
-
|
|
448
|
+
U7VZULNU_cjs.__name(setFeature, "setFeature");
|
|
449
449
|
|
|
450
450
|
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js
|
|
451
|
-
|
|
452
|
-
var createIsIdentityExpiredFunction = /* @__PURE__ */
|
|
451
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
452
|
+
var createIsIdentityExpiredFunction = /* @__PURE__ */ U7VZULNU_cjs.__name((expirationMs) => (identity) => doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs, "createIsIdentityExpiredFunction");
|
|
453
453
|
var EXPIRATION_MS = 3e5;
|
|
454
454
|
var isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);
|
|
455
|
-
var doesIdentityRequireRefresh = /* @__PURE__ */
|
|
456
|
-
var memoizeIdentityProvider = /* @__PURE__ */
|
|
455
|
+
var doesIdentityRequireRefresh = /* @__PURE__ */ U7VZULNU_cjs.__name((identity) => identity.expiration !== void 0, "doesIdentityRequireRefresh");
|
|
456
|
+
var memoizeIdentityProvider = /* @__PURE__ */ U7VZULNU_cjs.__name((provider, isExpired, requiresRefresh) => {
|
|
457
457
|
if (provider === void 0) {
|
|
458
458
|
return void 0;
|
|
459
459
|
}
|
|
@@ -462,7 +462,7 @@ var memoizeIdentityProvider = /* @__PURE__ */ VO65XOWD_cjs.__name((provider, isE
|
|
|
462
462
|
let pending;
|
|
463
463
|
let hasResult;
|
|
464
464
|
let isConstant = false;
|
|
465
|
-
const coalesceProvider = /* @__PURE__ */
|
|
465
|
+
const coalesceProvider = /* @__PURE__ */ U7VZULNU_cjs.__name(async (options) => {
|
|
466
466
|
if (!pending) {
|
|
467
467
|
pending = normalizedProvider(options);
|
|
468
468
|
}
|
|
@@ -510,7 +510,7 @@ function isValidUserAgentAppId(appId) {
|
|
|
510
510
|
}
|
|
511
511
|
return typeof appId === "string" && appId.length <= 50;
|
|
512
512
|
}
|
|
513
|
-
|
|
513
|
+
U7VZULNU_cjs.__name(isValidUserAgentAppId, "isValidUserAgentAppId");
|
|
514
514
|
function resolveUserAgentConfig(input) {
|
|
515
515
|
const normalizedAppIdProvider = normalizeProvider2(input.userAgentAppId ?? DEFAULT_UA_APP_ID);
|
|
516
516
|
const { customUserAgent } = input;
|
|
@@ -520,7 +520,7 @@ function resolveUserAgentConfig(input) {
|
|
|
520
520
|
customUserAgent
|
|
521
521
|
]
|
|
522
522
|
] : customUserAgent,
|
|
523
|
-
userAgentAppId: /* @__PURE__ */
|
|
523
|
+
userAgentAppId: /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
524
524
|
const appId = await normalizedAppIdProvider();
|
|
525
525
|
if (!isValidUserAgentAppId(appId)) {
|
|
526
526
|
const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger;
|
|
@@ -534,25 +534,25 @@ function resolveUserAgentConfig(input) {
|
|
|
534
534
|
}, "userAgentAppId")
|
|
535
535
|
});
|
|
536
536
|
}
|
|
537
|
-
|
|
537
|
+
U7VZULNU_cjs.__name(resolveUserAgentConfig, "resolveUserAgentConfig");
|
|
538
538
|
|
|
539
539
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js
|
|
540
|
-
|
|
540
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
541
541
|
|
|
542
542
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/index.js
|
|
543
|
-
|
|
543
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
544
544
|
|
|
545
545
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js
|
|
546
|
-
|
|
546
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
547
547
|
|
|
548
548
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/index.js
|
|
549
|
-
|
|
549
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
550
550
|
|
|
551
551
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js
|
|
552
|
-
|
|
552
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
553
553
|
var EndpointCache = class {
|
|
554
554
|
static {
|
|
555
|
-
|
|
555
|
+
U7VZULNU_cjs.__name(this, "EndpointCache");
|
|
556
556
|
}
|
|
557
557
|
constructor({ size, params }) {
|
|
558
558
|
this.data = /* @__PURE__ */ new Map();
|
|
@@ -604,14 +604,14 @@ var EndpointCache = class {
|
|
|
604
604
|
};
|
|
605
605
|
|
|
606
606
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js
|
|
607
|
-
|
|
607
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
608
608
|
var IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
|
|
609
|
-
var isIpAddress = /* @__PURE__ */
|
|
609
|
+
var isIpAddress = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]"), "isIpAddress");
|
|
610
610
|
|
|
611
611
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js
|
|
612
|
-
|
|
612
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
613
613
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
614
|
-
var isValidHostLabel = /* @__PURE__ */
|
|
614
|
+
var isValidHostLabel = /* @__PURE__ */ U7VZULNU_cjs.__name((value, allowSubDomains = false) => {
|
|
615
615
|
if (!allowSubDomains) {
|
|
616
616
|
return VALID_HOST_LABEL_REGEX.test(value);
|
|
617
617
|
}
|
|
@@ -625,21 +625,21 @@ var isValidHostLabel = /* @__PURE__ */ VO65XOWD_cjs.__name((value, allowSubDomai
|
|
|
625
625
|
}, "isValidHostLabel");
|
|
626
626
|
|
|
627
627
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js
|
|
628
|
-
|
|
628
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
629
629
|
var customEndpointFunctions = {};
|
|
630
630
|
|
|
631
631
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js
|
|
632
|
-
|
|
632
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
633
633
|
|
|
634
634
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/debug/index.js
|
|
635
|
-
|
|
635
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
636
636
|
|
|
637
637
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js
|
|
638
|
-
|
|
638
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
639
639
|
var debugId = "endpoints";
|
|
640
640
|
|
|
641
641
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js
|
|
642
|
-
|
|
642
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
643
643
|
function toDebugString(input) {
|
|
644
644
|
if (typeof input !== "object" || input == null) {
|
|
645
645
|
return input;
|
|
@@ -652,16 +652,16 @@ function toDebugString(input) {
|
|
|
652
652
|
}
|
|
653
653
|
return JSON.stringify(input, null, 2);
|
|
654
654
|
}
|
|
655
|
-
|
|
655
|
+
U7VZULNU_cjs.__name(toDebugString, "toDebugString");
|
|
656
656
|
|
|
657
657
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/index.js
|
|
658
|
-
|
|
658
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
659
659
|
|
|
660
660
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js
|
|
661
|
-
|
|
661
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
662
662
|
var EndpointError = class extends Error {
|
|
663
663
|
static {
|
|
664
|
-
|
|
664
|
+
U7VZULNU_cjs.__name(this, "EndpointError");
|
|
665
665
|
}
|
|
666
666
|
constructor(message) {
|
|
667
667
|
super(message);
|
|
@@ -670,57 +670,57 @@ var EndpointError = class extends Error {
|
|
|
670
670
|
};
|
|
671
671
|
|
|
672
672
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js
|
|
673
|
-
|
|
673
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
674
674
|
|
|
675
675
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js
|
|
676
|
-
|
|
676
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
677
677
|
|
|
678
678
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js
|
|
679
|
-
|
|
679
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
680
680
|
|
|
681
681
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js
|
|
682
|
-
|
|
682
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
683
683
|
|
|
684
684
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js
|
|
685
|
-
|
|
685
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
686
686
|
|
|
687
687
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/shared.js
|
|
688
|
-
|
|
688
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
689
689
|
|
|
690
690
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/index.js
|
|
691
|
-
|
|
691
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
692
692
|
|
|
693
693
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
694
|
-
|
|
694
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
695
695
|
|
|
696
696
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js
|
|
697
|
-
|
|
697
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
698
698
|
|
|
699
699
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js
|
|
700
|
-
|
|
700
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
701
701
|
|
|
702
702
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js
|
|
703
|
-
|
|
703
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
704
704
|
|
|
705
705
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js
|
|
706
|
-
|
|
706
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
707
707
|
|
|
708
708
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js
|
|
709
|
-
|
|
709
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
710
710
|
|
|
711
711
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/index.js
|
|
712
|
-
|
|
712
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
713
713
|
|
|
714
714
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js
|
|
715
|
-
|
|
716
|
-
var booleanEquals = /* @__PURE__ */
|
|
715
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
716
|
+
var booleanEquals = /* @__PURE__ */ U7VZULNU_cjs.__name((value1, value2) => value1 === value2, "booleanEquals");
|
|
717
717
|
|
|
718
718
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js
|
|
719
|
-
|
|
719
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
720
720
|
|
|
721
721
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js
|
|
722
|
-
|
|
723
|
-
var getAttrPathList = /* @__PURE__ */
|
|
722
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
723
|
+
var getAttrPathList = /* @__PURE__ */ U7VZULNU_cjs.__name((path) => {
|
|
724
724
|
const parts = path.split(".");
|
|
725
725
|
const pathList = [];
|
|
726
726
|
for (const part of parts) {
|
|
@@ -745,7 +745,7 @@ var getAttrPathList = /* @__PURE__ */ VO65XOWD_cjs.__name((path) => {
|
|
|
745
745
|
}, "getAttrPathList");
|
|
746
746
|
|
|
747
747
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js
|
|
748
|
-
var getAttr = /* @__PURE__ */
|
|
748
|
+
var getAttr = /* @__PURE__ */ U7VZULNU_cjs.__name((value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
749
749
|
if (typeof acc !== "object") {
|
|
750
750
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
751
751
|
} else if (Array.isArray(acc)) {
|
|
@@ -755,20 +755,20 @@ var getAttr = /* @__PURE__ */ VO65XOWD_cjs.__name((value, path) => getAttrPathLi
|
|
|
755
755
|
}, value), "getAttr");
|
|
756
756
|
|
|
757
757
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js
|
|
758
|
-
|
|
759
|
-
var isSet = /* @__PURE__ */
|
|
758
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
759
|
+
var isSet = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => value != null, "isSet");
|
|
760
760
|
|
|
761
761
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/not.js
|
|
762
|
-
|
|
763
|
-
var not = /* @__PURE__ */
|
|
762
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
763
|
+
var not = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => !value, "not");
|
|
764
764
|
|
|
765
765
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js
|
|
766
|
-
|
|
766
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
767
767
|
var DEFAULT_PORTS = {
|
|
768
|
-
[
|
|
769
|
-
[
|
|
768
|
+
[WDSPHVPJ_cjs.EndpointURLScheme.HTTP]: 80,
|
|
769
|
+
[WDSPHVPJ_cjs.EndpointURLScheme.HTTPS]: 443
|
|
770
770
|
};
|
|
771
|
-
var parseURL = /* @__PURE__ */
|
|
771
|
+
var parseURL = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => {
|
|
772
772
|
const whatwgURL = (() => {
|
|
773
773
|
try {
|
|
774
774
|
if (value instanceof URL) {
|
|
@@ -795,7 +795,7 @@ var parseURL = /* @__PURE__ */ VO65XOWD_cjs.__name((value) => {
|
|
|
795
795
|
return null;
|
|
796
796
|
}
|
|
797
797
|
const scheme = protocol.slice(0, -1);
|
|
798
|
-
if (!Object.values(
|
|
798
|
+
if (!Object.values(WDSPHVPJ_cjs.EndpointURLScheme).includes(scheme)) {
|
|
799
799
|
return null;
|
|
800
800
|
}
|
|
801
801
|
const isIp = isIpAddress(hostname);
|
|
@@ -811,12 +811,12 @@ var parseURL = /* @__PURE__ */ VO65XOWD_cjs.__name((value) => {
|
|
|
811
811
|
}, "parseURL");
|
|
812
812
|
|
|
813
813
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js
|
|
814
|
-
|
|
815
|
-
var stringEquals = /* @__PURE__ */
|
|
814
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
815
|
+
var stringEquals = /* @__PURE__ */ U7VZULNU_cjs.__name((value1, value2) => value1 === value2, "stringEquals");
|
|
816
816
|
|
|
817
817
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js
|
|
818
|
-
|
|
819
|
-
var substring = /* @__PURE__ */
|
|
818
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
819
|
+
var substring = /* @__PURE__ */ U7VZULNU_cjs.__name((input, start, stop, reverse) => {
|
|
820
820
|
if (start >= stop || input.length < stop) {
|
|
821
821
|
return null;
|
|
822
822
|
}
|
|
@@ -827,8 +827,8 @@ var substring = /* @__PURE__ */ VO65XOWD_cjs.__name((input, start, stop, reverse
|
|
|
827
827
|
}, "substring");
|
|
828
828
|
|
|
829
829
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js
|
|
830
|
-
|
|
831
|
-
var uriEncode = /* @__PURE__ */
|
|
830
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
831
|
+
var uriEncode = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`), "uriEncode");
|
|
832
832
|
|
|
833
833
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js
|
|
834
834
|
var endpointFunctions = {
|
|
@@ -844,11 +844,11 @@ var endpointFunctions = {
|
|
|
844
844
|
};
|
|
845
845
|
|
|
846
846
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js
|
|
847
|
-
|
|
847
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
848
848
|
|
|
849
849
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js
|
|
850
|
-
|
|
851
|
-
var evaluateTemplate = /* @__PURE__ */
|
|
850
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
851
|
+
var evaluateTemplate = /* @__PURE__ */ U7VZULNU_cjs.__name((template, options) => {
|
|
852
852
|
const evaluatedTemplateArr = [];
|
|
853
853
|
const templateContext = {
|
|
854
854
|
...options.endpointParams,
|
|
@@ -884,8 +884,8 @@ var evaluateTemplate = /* @__PURE__ */ VO65XOWD_cjs.__name((template, options) =
|
|
|
884
884
|
}, "evaluateTemplate");
|
|
885
885
|
|
|
886
886
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js
|
|
887
|
-
|
|
888
|
-
var getReferenceValue = /* @__PURE__ */
|
|
887
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
888
|
+
var getReferenceValue = /* @__PURE__ */ U7VZULNU_cjs.__name(({ ref }, options) => {
|
|
889
889
|
const referenceRecord = {
|
|
890
890
|
...options.endpointParams,
|
|
891
891
|
...options.referenceRecord
|
|
@@ -894,7 +894,7 @@ var getReferenceValue = /* @__PURE__ */ VO65XOWD_cjs.__name(({ ref }, options) =
|
|
|
894
894
|
}, "getReferenceValue");
|
|
895
895
|
|
|
896
896
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js
|
|
897
|
-
var evaluateExpression = /* @__PURE__ */
|
|
897
|
+
var evaluateExpression = /* @__PURE__ */ U7VZULNU_cjs.__name((obj, keyName, options) => {
|
|
898
898
|
if (typeof obj === "string") {
|
|
899
899
|
return evaluateTemplate(obj, options);
|
|
900
900
|
} else if (obj["fn"]) {
|
|
@@ -906,7 +906,7 @@ var evaluateExpression = /* @__PURE__ */ VO65XOWD_cjs.__name((obj, keyName, opti
|
|
|
906
906
|
}, "evaluateExpression");
|
|
907
907
|
|
|
908
908
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js
|
|
909
|
-
var callFunction = /* @__PURE__ */
|
|
909
|
+
var callFunction = /* @__PURE__ */ U7VZULNU_cjs.__name(({ fn, argv }, options) => {
|
|
910
910
|
const evaluatedArgs = argv.map((arg) => [
|
|
911
911
|
"boolean",
|
|
912
912
|
"number"
|
|
@@ -919,7 +919,7 @@ var callFunction = /* @__PURE__ */ VO65XOWD_cjs.__name(({ fn, argv }, options) =
|
|
|
919
919
|
}, "callFunction");
|
|
920
920
|
|
|
921
921
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js
|
|
922
|
-
var evaluateCondition = /* @__PURE__ */
|
|
922
|
+
var evaluateCondition = /* @__PURE__ */ U7VZULNU_cjs.__name(({ assign, ...fnArgs }, options) => {
|
|
923
923
|
if (assign && assign in options.referenceRecord) {
|
|
924
924
|
throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
925
925
|
}
|
|
@@ -937,7 +937,7 @@ var evaluateCondition = /* @__PURE__ */ VO65XOWD_cjs.__name(({ assign, ...fnArgs
|
|
|
937
937
|
}, "evaluateCondition");
|
|
938
938
|
|
|
939
939
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js
|
|
940
|
-
var evaluateConditions = /* @__PURE__ */
|
|
940
|
+
var evaluateConditions = /* @__PURE__ */ U7VZULNU_cjs.__name((conditions = [], options) => {
|
|
941
941
|
const conditionsReferenceRecord = {};
|
|
942
942
|
for (const condition of conditions) {
|
|
943
943
|
const { result, toAssign } = evaluateCondition(condition, {
|
|
@@ -964,8 +964,8 @@ var evaluateConditions = /* @__PURE__ */ VO65XOWD_cjs.__name((conditions = [], o
|
|
|
964
964
|
}, "evaluateConditions");
|
|
965
965
|
|
|
966
966
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js
|
|
967
|
-
|
|
968
|
-
var getEndpointHeaders = /* @__PURE__ */
|
|
967
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
968
|
+
var getEndpointHeaders = /* @__PURE__ */ U7VZULNU_cjs.__name((headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({
|
|
969
969
|
...acc,
|
|
970
970
|
[headerKey]: headerVal.map((headerValEntry) => {
|
|
971
971
|
const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
|
|
@@ -977,11 +977,11 @@ var getEndpointHeaders = /* @__PURE__ */ VO65XOWD_cjs.__name((headers, options)
|
|
|
977
977
|
}), {}), "getEndpointHeaders");
|
|
978
978
|
|
|
979
979
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js
|
|
980
|
-
|
|
980
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
981
981
|
|
|
982
982
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js
|
|
983
|
-
|
|
984
|
-
var getEndpointProperty = /* @__PURE__ */
|
|
983
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
984
|
+
var getEndpointProperty = /* @__PURE__ */ U7VZULNU_cjs.__name((property, options) => {
|
|
985
985
|
if (Array.isArray(property)) {
|
|
986
986
|
return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
|
|
987
987
|
}
|
|
@@ -1001,14 +1001,14 @@ var getEndpointProperty = /* @__PURE__ */ VO65XOWD_cjs.__name((property, options
|
|
|
1001
1001
|
}, "getEndpointProperty");
|
|
1002
1002
|
|
|
1003
1003
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js
|
|
1004
|
-
var getEndpointProperties = /* @__PURE__ */
|
|
1004
|
+
var getEndpointProperties = /* @__PURE__ */ U7VZULNU_cjs.__name((properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
|
|
1005
1005
|
...acc,
|
|
1006
1006
|
[propertyKey]: getEndpointProperty(propertyVal, options)
|
|
1007
1007
|
}), {}), "getEndpointProperties");
|
|
1008
1008
|
|
|
1009
1009
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js
|
|
1010
|
-
|
|
1011
|
-
var getEndpointUrl = /* @__PURE__ */
|
|
1010
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1011
|
+
var getEndpointUrl = /* @__PURE__ */ U7VZULNU_cjs.__name((endpointUrl, options) => {
|
|
1012
1012
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
1013
1013
|
if (typeof expression === "string") {
|
|
1014
1014
|
try {
|
|
@@ -1022,7 +1022,7 @@ var getEndpointUrl = /* @__PURE__ */ VO65XOWD_cjs.__name((endpointUrl, options)
|
|
|
1022
1022
|
}, "getEndpointUrl");
|
|
1023
1023
|
|
|
1024
1024
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js
|
|
1025
|
-
var evaluateEndpointRule = /* @__PURE__ */
|
|
1025
|
+
var evaluateEndpointRule = /* @__PURE__ */ U7VZULNU_cjs.__name((endpointRule, options) => {
|
|
1026
1026
|
const { conditions, endpoint } = endpointRule;
|
|
1027
1027
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
1028
1028
|
if (!result) {
|
|
@@ -1049,8 +1049,8 @@ var evaluateEndpointRule = /* @__PURE__ */ VO65XOWD_cjs.__name((endpointRule, op
|
|
|
1049
1049
|
}, "evaluateEndpointRule");
|
|
1050
1050
|
|
|
1051
1051
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js
|
|
1052
|
-
|
|
1053
|
-
var evaluateErrorRule = /* @__PURE__ */
|
|
1052
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1053
|
+
var evaluateErrorRule = /* @__PURE__ */ U7VZULNU_cjs.__name((errorRule, options) => {
|
|
1054
1054
|
const { conditions, error } = errorRule;
|
|
1055
1055
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
1056
1056
|
if (!result) {
|
|
@@ -1066,8 +1066,8 @@ var evaluateErrorRule = /* @__PURE__ */ VO65XOWD_cjs.__name((errorRule, options)
|
|
|
1066
1066
|
}, "evaluateErrorRule");
|
|
1067
1067
|
|
|
1068
1068
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js
|
|
1069
|
-
|
|
1070
|
-
var evaluateTreeRule = /* @__PURE__ */
|
|
1069
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1070
|
+
var evaluateTreeRule = /* @__PURE__ */ U7VZULNU_cjs.__name((treeRule, options) => {
|
|
1071
1071
|
const { conditions, rules } = treeRule;
|
|
1072
1072
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
1073
1073
|
if (!result) {
|
|
@@ -1083,7 +1083,7 @@ var evaluateTreeRule = /* @__PURE__ */ VO65XOWD_cjs.__name((treeRule, options) =
|
|
|
1083
1083
|
}, "evaluateTreeRule");
|
|
1084
1084
|
|
|
1085
1085
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
1086
|
-
var evaluateRules = /* @__PURE__ */
|
|
1086
|
+
var evaluateRules = /* @__PURE__ */ U7VZULNU_cjs.__name((rules, options) => {
|
|
1087
1087
|
for (const rule of rules) {
|
|
1088
1088
|
if (rule.type === "endpoint") {
|
|
1089
1089
|
const endpointOrUndefined = evaluateEndpointRule(rule, options);
|
|
@@ -1105,7 +1105,7 @@ var evaluateRules = /* @__PURE__ */ VO65XOWD_cjs.__name((rules, options) => {
|
|
|
1105
1105
|
}, "evaluateRules");
|
|
1106
1106
|
|
|
1107
1107
|
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js
|
|
1108
|
-
var resolveEndpoint = /* @__PURE__ */
|
|
1108
|
+
var resolveEndpoint = /* @__PURE__ */ U7VZULNU_cjs.__name((ruleSetObject, options) => {
|
|
1109
1109
|
const { endpointParams, logger } = options;
|
|
1110
1110
|
const { parameters, rules } = ruleSetObject;
|
|
1111
1111
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
@@ -1134,13 +1134,13 @@ var resolveEndpoint = /* @__PURE__ */ VO65XOWD_cjs.__name((ruleSetObject, option
|
|
|
1134
1134
|
}, "resolveEndpoint");
|
|
1135
1135
|
|
|
1136
1136
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js
|
|
1137
|
-
|
|
1137
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1138
1138
|
|
|
1139
1139
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js
|
|
1140
|
-
|
|
1140
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1141
1141
|
|
|
1142
1142
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js
|
|
1143
|
-
var isVirtualHostableS3Bucket = /* @__PURE__ */
|
|
1143
|
+
var isVirtualHostableS3Bucket = /* @__PURE__ */ U7VZULNU_cjs.__name((value, allowSubDomains = false) => {
|
|
1144
1144
|
if (allowSubDomains) {
|
|
1145
1145
|
for (const label of value.split(".")) {
|
|
1146
1146
|
if (!isVirtualHostableS3Bucket(label)) {
|
|
@@ -1165,10 +1165,10 @@ var isVirtualHostableS3Bucket = /* @__PURE__ */ VO65XOWD_cjs.__name((value, allo
|
|
|
1165
1165
|
}, "isVirtualHostableS3Bucket");
|
|
1166
1166
|
|
|
1167
1167
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js
|
|
1168
|
-
|
|
1168
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1169
1169
|
var ARN_DELIMITER = ":";
|
|
1170
1170
|
var RESOURCE_DELIMITER = "/";
|
|
1171
|
-
var parseArn = /* @__PURE__ */
|
|
1171
|
+
var parseArn = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => {
|
|
1172
1172
|
const segments = value.split(ARN_DELIMITER);
|
|
1173
1173
|
if (segments.length < 6) return null;
|
|
1174
1174
|
const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
|
|
@@ -1184,7 +1184,7 @@ var parseArn = /* @__PURE__ */ VO65XOWD_cjs.__name((value) => {
|
|
|
1184
1184
|
}, "parseArn");
|
|
1185
1185
|
|
|
1186
1186
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js
|
|
1187
|
-
|
|
1187
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1188
1188
|
|
|
1189
1189
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json
|
|
1190
1190
|
var partitions_default = {
|
|
@@ -1453,7 +1453,7 @@ var partitions_default = {
|
|
|
1453
1453
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js
|
|
1454
1454
|
var selectedPartitionsInfo = partitions_default;
|
|
1455
1455
|
var selectedUserAgentPrefix = "";
|
|
1456
|
-
var partition = /* @__PURE__ */
|
|
1456
|
+
var partition = /* @__PURE__ */ U7VZULNU_cjs.__name((value) => {
|
|
1457
1457
|
const { partitions } = selectedPartitionsInfo;
|
|
1458
1458
|
for (const partition2 of partitions) {
|
|
1459
1459
|
const { regions, outputs } = partition2;
|
|
@@ -1482,7 +1482,7 @@ var partition = /* @__PURE__ */ VO65XOWD_cjs.__name((value) => {
|
|
|
1482
1482
|
...DEFAULT_PARTITION.outputs
|
|
1483
1483
|
};
|
|
1484
1484
|
}, "partition");
|
|
1485
|
-
var getUserAgentPrefix = /* @__PURE__ */
|
|
1485
|
+
var getUserAgentPrefix = /* @__PURE__ */ U7VZULNU_cjs.__name(() => selectedUserAgentPrefix, "getUserAgentPrefix");
|
|
1486
1486
|
|
|
1487
1487
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js
|
|
1488
1488
|
var awsEndpointFunctions = {
|
|
@@ -1493,41 +1493,41 @@ var awsEndpointFunctions = {
|
|
|
1493
1493
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
1494
1494
|
|
|
1495
1495
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js
|
|
1496
|
-
|
|
1496
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1497
1497
|
|
|
1498
1498
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js
|
|
1499
|
-
|
|
1499
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1500
1500
|
|
|
1501
1501
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js
|
|
1502
|
-
|
|
1502
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1503
1503
|
|
|
1504
1504
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js
|
|
1505
|
-
|
|
1505
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1506
1506
|
|
|
1507
1507
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js
|
|
1508
|
-
|
|
1508
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1509
1509
|
|
|
1510
1510
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js
|
|
1511
|
-
|
|
1511
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1512
1512
|
|
|
1513
1513
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js
|
|
1514
|
-
|
|
1514
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1515
1515
|
|
|
1516
1516
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js
|
|
1517
|
-
|
|
1517
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1518
1518
|
|
|
1519
1519
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js
|
|
1520
|
-
|
|
1520
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1521
1521
|
|
|
1522
1522
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
1523
|
-
|
|
1523
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1524
1524
|
|
|
1525
1525
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js
|
|
1526
|
-
|
|
1526
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1527
1527
|
var state = {
|
|
1528
1528
|
warningEmitted: false
|
|
1529
1529
|
};
|
|
1530
|
-
var emitWarningIfUnsupportedVersion = /* @__PURE__ */
|
|
1530
|
+
var emitWarningIfUnsupportedVersion = /* @__PURE__ */ U7VZULNU_cjs.__name((version) => {
|
|
1531
1531
|
if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 18) {
|
|
1532
1532
|
state.warningEmitted = true;
|
|
1533
1533
|
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
@@ -1541,7 +1541,7 @@ More information can be found at: https://a.co/74kJMmI`);
|
|
|
1541
1541
|
}, "emitWarningIfUnsupportedVersion");
|
|
1542
1542
|
|
|
1543
1543
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js
|
|
1544
|
-
|
|
1544
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1545
1545
|
function setFeature2(context, feature, value) {
|
|
1546
1546
|
if (!context.__aws_sdk_context) {
|
|
1547
1547
|
context.__aws_sdk_context = {
|
|
@@ -1552,31 +1552,31 @@ function setFeature2(context, feature, value) {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
context.__aws_sdk_context.features[feature] = value;
|
|
1554
1554
|
}
|
|
1555
|
-
|
|
1555
|
+
U7VZULNU_cjs.__name(setFeature2, "setFeature");
|
|
1556
1556
|
|
|
1557
1557
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js
|
|
1558
|
-
|
|
1558
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1559
1559
|
|
|
1560
1560
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
1561
|
-
|
|
1561
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1562
1562
|
|
|
1563
1563
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js
|
|
1564
|
-
|
|
1565
|
-
var getDateHeader = /* @__PURE__ */
|
|
1564
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1565
|
+
var getDateHeader = /* @__PURE__ */ U7VZULNU_cjs.__name((response) => OT5L7ME6_cjs.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : void 0, "getDateHeader");
|
|
1566
1566
|
|
|
1567
1567
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js
|
|
1568
|
-
|
|
1569
|
-
var getSkewCorrectedDate = /* @__PURE__ */
|
|
1568
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1569
|
+
var getSkewCorrectedDate = /* @__PURE__ */ U7VZULNU_cjs.__name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate");
|
|
1570
1570
|
|
|
1571
1571
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
|
|
1572
|
-
|
|
1572
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1573
1573
|
|
|
1574
1574
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js
|
|
1575
|
-
|
|
1576
|
-
var isClockSkewed = /* @__PURE__ */
|
|
1575
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1576
|
+
var isClockSkewed = /* @__PURE__ */ U7VZULNU_cjs.__name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, "isClockSkewed");
|
|
1577
1577
|
|
|
1578
1578
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js
|
|
1579
|
-
var getUpdatedSystemClockOffset = /* @__PURE__ */
|
|
1579
|
+
var getUpdatedSystemClockOffset = /* @__PURE__ */ U7VZULNU_cjs.__name((clockTime, currentSystemClockOffset) => {
|
|
1580
1580
|
const clockTimeInMs = Date.parse(clockTime);
|
|
1581
1581
|
if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
|
|
1582
1582
|
return clockTimeInMs - Date.now();
|
|
@@ -1585,13 +1585,13 @@ var getUpdatedSystemClockOffset = /* @__PURE__ */ VO65XOWD_cjs.__name((clockTime
|
|
|
1585
1585
|
}, "getUpdatedSystemClockOffset");
|
|
1586
1586
|
|
|
1587
1587
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
|
|
1588
|
-
var throwSigningPropertyError = /* @__PURE__ */
|
|
1588
|
+
var throwSigningPropertyError = /* @__PURE__ */ U7VZULNU_cjs.__name((name, property) => {
|
|
1589
1589
|
if (!property) {
|
|
1590
1590
|
throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`);
|
|
1591
1591
|
}
|
|
1592
1592
|
return property;
|
|
1593
1593
|
}, "throwSigningPropertyError");
|
|
1594
|
-
var validateSigningProperties = /* @__PURE__ */
|
|
1594
|
+
var validateSigningProperties = /* @__PURE__ */ U7VZULNU_cjs.__name(async (signingProperties) => {
|
|
1595
1595
|
const context = throwSigningPropertyError("context", signingProperties.context);
|
|
1596
1596
|
const config = throwSigningPropertyError("config", signingProperties.config);
|
|
1597
1597
|
const authScheme = context.endpointV2?.properties?.authSchemes?.[0];
|
|
@@ -1610,10 +1610,10 @@ var validateSigningProperties = /* @__PURE__ */ VO65XOWD_cjs.__name(async (signi
|
|
|
1610
1610
|
}, "validateSigningProperties");
|
|
1611
1611
|
var AwsSdkSigV4Signer = class {
|
|
1612
1612
|
static {
|
|
1613
|
-
|
|
1613
|
+
U7VZULNU_cjs.__name(this, "AwsSdkSigV4Signer");
|
|
1614
1614
|
}
|
|
1615
1615
|
async sign(httpRequest, identity, signingProperties) {
|
|
1616
|
-
if (!
|
|
1616
|
+
if (!OT5L7ME6_cjs.HttpRequest.isInstance(httpRequest)) {
|
|
1617
1617
|
throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");
|
|
1618
1618
|
}
|
|
1619
1619
|
const validatedProps = await validateSigningProperties(signingProperties);
|
|
@@ -1659,21 +1659,21 @@ var AwsSdkSigV4Signer = class {
|
|
|
1659
1659
|
};
|
|
1660
1660
|
|
|
1661
1661
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js
|
|
1662
|
-
|
|
1662
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1663
1663
|
|
|
1664
1664
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js
|
|
1665
|
-
|
|
1666
|
-
var getArrayForCommaSeparatedString = /* @__PURE__ */
|
|
1665
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1666
|
+
var getArrayForCommaSeparatedString = /* @__PURE__ */ U7VZULNU_cjs.__name((str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [], "getArrayForCommaSeparatedString");
|
|
1667
1667
|
|
|
1668
1668
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.js
|
|
1669
|
-
|
|
1670
|
-
var getBearerTokenEnvKey = /* @__PURE__ */
|
|
1669
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1670
|
+
var getBearerTokenEnvKey = /* @__PURE__ */ U7VZULNU_cjs.__name((signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\s-]/g, "_").toUpperCase()}`, "getBearerTokenEnvKey");
|
|
1671
1671
|
|
|
1672
1672
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js
|
|
1673
1673
|
var NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
|
1674
1674
|
var NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
|
1675
1675
|
var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
1676
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
1676
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2, options) => {
|
|
1677
1677
|
if (options?.signingName) {
|
|
1678
1678
|
const bearerTokenKey = getBearerTokenEnvKey(options.signingName);
|
|
1679
1679
|
if (bearerTokenKey in env2) return [
|
|
@@ -1683,7 +1683,7 @@ var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
|
1683
1683
|
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env2)) return void 0;
|
|
1684
1684
|
return getArrayForCommaSeparatedString(env2[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
|
1685
1685
|
}, "environmentVariableSelector"),
|
|
1686
|
-
configFileSelector: /* @__PURE__ */
|
|
1686
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => {
|
|
1687
1687
|
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;
|
|
1688
1688
|
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
|
1689
1689
|
}, "configFileSelector"),
|
|
@@ -1691,16 +1691,16 @@ var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
|
1691
1691
|
};
|
|
1692
1692
|
|
|
1693
1693
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
1694
|
-
|
|
1694
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1695
1695
|
|
|
1696
1696
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/index.js
|
|
1697
|
-
|
|
1697
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1698
1698
|
|
|
1699
1699
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
1700
|
-
|
|
1700
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1701
1701
|
|
|
1702
1702
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/constants.js
|
|
1703
|
-
|
|
1703
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1704
1704
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
1705
1705
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
1706
1706
|
var AMZ_DATE_QUERY_PARAM = "X-Amz-Date";
|
|
@@ -1746,13 +1746,13 @@ var KEY_TYPE_IDENTIFIER = "aws4_request";
|
|
|
1746
1746
|
var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
1747
1747
|
|
|
1748
1748
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js
|
|
1749
|
-
|
|
1749
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1750
1750
|
var signingKeyCache = {};
|
|
1751
1751
|
var cacheQueue = [];
|
|
1752
|
-
var createScope = /* @__PURE__ */
|
|
1753
|
-
var getSigningKey = /* @__PURE__ */
|
|
1752
|
+
var createScope = /* @__PURE__ */ U7VZULNU_cjs.__name((shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`, "createScope");
|
|
1753
|
+
var getSigningKey = /* @__PURE__ */ U7VZULNU_cjs.__name(async (sha256Constructor, credentials, shortDate, region, service) => {
|
|
1754
1754
|
const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId);
|
|
1755
|
-
const cacheKey = `${shortDate}:${region}:${service}:${
|
|
1755
|
+
const cacheKey = `${shortDate}:${region}:${service}:${OT5L7ME6_cjs.toHex(credsHash)}:${credentials.sessionToken}`;
|
|
1756
1756
|
if (cacheKey in signingKeyCache) {
|
|
1757
1757
|
return signingKeyCache[cacheKey];
|
|
1758
1758
|
}
|
|
@@ -1771,15 +1771,15 @@ var getSigningKey = /* @__PURE__ */ VO65XOWD_cjs.__name(async (sha256Constructor
|
|
|
1771
1771
|
}
|
|
1772
1772
|
return signingKeyCache[cacheKey] = key;
|
|
1773
1773
|
}, "getSigningKey");
|
|
1774
|
-
var hmac = /* @__PURE__ */
|
|
1774
|
+
var hmac = /* @__PURE__ */ U7VZULNU_cjs.__name((ctor, secret, data) => {
|
|
1775
1775
|
const hash = new ctor(secret);
|
|
1776
|
-
hash.update(
|
|
1776
|
+
hash.update(OWTMHDOF_cjs.toUint8Array(data));
|
|
1777
1777
|
return hash.digest();
|
|
1778
1778
|
}, "hmac");
|
|
1779
1779
|
|
|
1780
1780
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js
|
|
1781
|
-
|
|
1782
|
-
var getCanonicalHeaders = /* @__PURE__ */
|
|
1781
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1782
|
+
var getCanonicalHeaders = /* @__PURE__ */ U7VZULNU_cjs.__name(({ headers }, unsignableHeaders, signableHeaders) => {
|
|
1783
1783
|
const canonical = {};
|
|
1784
1784
|
for (const headerName of Object.keys(headers).sort()) {
|
|
1785
1785
|
if (headers[headerName] == void 0) {
|
|
@@ -1797,8 +1797,8 @@ var getCanonicalHeaders = /* @__PURE__ */ VO65XOWD_cjs.__name(({ headers }, unsi
|
|
|
1797
1797
|
}, "getCanonicalHeaders");
|
|
1798
1798
|
|
|
1799
1799
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
1800
|
-
|
|
1801
|
-
var getPayloadHash = /* @__PURE__ */
|
|
1800
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1801
|
+
var getPayloadHash = /* @__PURE__ */ U7VZULNU_cjs.__name(async ({ headers, body }, hashConstructor) => {
|
|
1802
1802
|
for (const headerName of Object.keys(headers)) {
|
|
1803
1803
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
1804
1804
|
return headers[headerName];
|
|
@@ -1806,24 +1806,24 @@ var getPayloadHash = /* @__PURE__ */ VO65XOWD_cjs.__name(async ({ headers, body
|
|
|
1806
1806
|
}
|
|
1807
1807
|
if (body == void 0) {
|
|
1808
1808
|
return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
|
|
1809
|
-
} else if (typeof body === "string" || ArrayBuffer.isView(body) ||
|
|
1809
|
+
} else if (typeof body === "string" || ArrayBuffer.isView(body) || OWTMHDOF_cjs.isArrayBuffer(body)) {
|
|
1810
1810
|
const hashCtor = new hashConstructor();
|
|
1811
|
-
hashCtor.update(
|
|
1812
|
-
return
|
|
1811
|
+
hashCtor.update(OWTMHDOF_cjs.toUint8Array(body));
|
|
1812
|
+
return OT5L7ME6_cjs.toHex(await hashCtor.digest());
|
|
1813
1813
|
}
|
|
1814
1814
|
return UNSIGNED_PAYLOAD;
|
|
1815
1815
|
}, "getPayloadHash");
|
|
1816
1816
|
|
|
1817
1817
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js
|
|
1818
|
-
|
|
1818
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1819
1819
|
var HeaderFormatter = class {
|
|
1820
1820
|
static {
|
|
1821
|
-
|
|
1821
|
+
U7VZULNU_cjs.__name(this, "HeaderFormatter");
|
|
1822
1822
|
}
|
|
1823
1823
|
format(headers) {
|
|
1824
1824
|
const chunks = [];
|
|
1825
1825
|
for (const headerName of Object.keys(headers)) {
|
|
1826
|
-
const bytes =
|
|
1826
|
+
const bytes = OWTMHDOF_cjs.fromUtf8(headerName);
|
|
1827
1827
|
chunks.push(Uint8Array.from([
|
|
1828
1828
|
bytes.byteLength
|
|
1829
1829
|
]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
@@ -1870,7 +1870,7 @@ var HeaderFormatter = class {
|
|
|
1870
1870
|
binBytes.set(header.value, 3);
|
|
1871
1871
|
return binBytes;
|
|
1872
1872
|
case "string":
|
|
1873
|
-
const utf8Bytes =
|
|
1873
|
+
const utf8Bytes = OWTMHDOF_cjs.fromUtf8(header.value);
|
|
1874
1874
|
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
1875
1875
|
strView.setUint8(0, 7);
|
|
1876
1876
|
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
@@ -1888,7 +1888,7 @@ var HeaderFormatter = class {
|
|
|
1888
1888
|
}
|
|
1889
1889
|
const uuidBytes = new Uint8Array(17);
|
|
1890
1890
|
uuidBytes[0] = 9;
|
|
1891
|
-
uuidBytes.set(
|
|
1891
|
+
uuidBytes.set(OT5L7ME6_cjs.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
1892
1892
|
return uuidBytes;
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
@@ -1909,7 +1909,7 @@ var HEADER_VALUE_TYPE;
|
|
|
1909
1909
|
var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
1910
1910
|
var Int64 = class _Int64 {
|
|
1911
1911
|
static {
|
|
1912
|
-
|
|
1912
|
+
U7VZULNU_cjs.__name(this, "Int64");
|
|
1913
1913
|
}
|
|
1914
1914
|
constructor(bytes) {
|
|
1915
1915
|
this.bytes = bytes;
|
|
@@ -1936,7 +1936,7 @@ var Int64 = class _Int64 {
|
|
|
1936
1936
|
if (negative) {
|
|
1937
1937
|
negate(bytes);
|
|
1938
1938
|
}
|
|
1939
|
-
return parseInt(
|
|
1939
|
+
return parseInt(OT5L7ME6_cjs.toHex(bytes), 16) * (negative ? -1 : 1);
|
|
1940
1940
|
}
|
|
1941
1941
|
toString() {
|
|
1942
1942
|
return String(this.valueOf());
|
|
@@ -1951,11 +1951,11 @@ function negate(bytes) {
|
|
|
1951
1951
|
if (bytes[i] !== 0) break;
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
|
-
|
|
1954
|
+
U7VZULNU_cjs.__name(negate, "negate");
|
|
1955
1955
|
|
|
1956
1956
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/headerUtil.js
|
|
1957
|
-
|
|
1958
|
-
var hasHeader = /* @__PURE__ */
|
|
1957
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1958
|
+
var hasHeader = /* @__PURE__ */ U7VZULNU_cjs.__name((soughtHeader, headers) => {
|
|
1959
1959
|
soughtHeader = soughtHeader.toLowerCase();
|
|
1960
1960
|
for (const headerName of Object.keys(headers)) {
|
|
1961
1961
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
@@ -1966,9 +1966,9 @@ var hasHeader = /* @__PURE__ */ VO65XOWD_cjs.__name((soughtHeader, headers) => {
|
|
|
1966
1966
|
}, "hasHeader");
|
|
1967
1967
|
|
|
1968
1968
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
|
|
1969
|
-
|
|
1970
|
-
var moveHeadersToQuery = /* @__PURE__ */
|
|
1971
|
-
const { headers, query = {} } =
|
|
1969
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1970
|
+
var moveHeadersToQuery = /* @__PURE__ */ U7VZULNU_cjs.__name((request, options = {}) => {
|
|
1971
|
+
const { headers, query = {} } = OT5L7ME6_cjs.HttpRequest.clone(request);
|
|
1972
1972
|
for (const name of Object.keys(headers)) {
|
|
1973
1973
|
const lname = name.toLowerCase();
|
|
1974
1974
|
if (lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname) || options.hoistableHeaders?.has(lname)) {
|
|
@@ -1984,9 +1984,9 @@ var moveHeadersToQuery = /* @__PURE__ */ VO65XOWD_cjs.__name((request, options =
|
|
|
1984
1984
|
}, "moveHeadersToQuery");
|
|
1985
1985
|
|
|
1986
1986
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
|
|
1987
|
-
|
|
1988
|
-
var prepareRequest = /* @__PURE__ */
|
|
1989
|
-
request =
|
|
1987
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
1988
|
+
var prepareRequest = /* @__PURE__ */ U7VZULNU_cjs.__name((request) => {
|
|
1989
|
+
request = OT5L7ME6_cjs.HttpRequest.clone(request);
|
|
1990
1990
|
for (const headerName of Object.keys(request.headers)) {
|
|
1991
1991
|
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
1992
1992
|
delete request.headers[headerName];
|
|
@@ -1996,25 +1996,25 @@ var prepareRequest = /* @__PURE__ */ VO65XOWD_cjs.__name((request) => {
|
|
|
1996
1996
|
}, "prepareRequest");
|
|
1997
1997
|
|
|
1998
1998
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js
|
|
1999
|
-
|
|
1999
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2000
2000
|
|
|
2001
2001
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js
|
|
2002
|
-
|
|
2003
|
-
var getCanonicalQuery = /* @__PURE__ */
|
|
2002
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2003
|
+
var getCanonicalQuery = /* @__PURE__ */ U7VZULNU_cjs.__name(({ query = {} }) => {
|
|
2004
2004
|
const keys = [];
|
|
2005
2005
|
const serialized = {};
|
|
2006
2006
|
for (const key of Object.keys(query)) {
|
|
2007
2007
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
2008
2008
|
continue;
|
|
2009
2009
|
}
|
|
2010
|
-
const encodedKey =
|
|
2010
|
+
const encodedKey = OT5L7ME6_cjs.escapeUri(key);
|
|
2011
2011
|
keys.push(encodedKey);
|
|
2012
2012
|
const value = query[key];
|
|
2013
2013
|
if (typeof value === "string") {
|
|
2014
|
-
serialized[encodedKey] = `${encodedKey}=${
|
|
2014
|
+
serialized[encodedKey] = `${encodedKey}=${OT5L7ME6_cjs.escapeUri(value)}`;
|
|
2015
2015
|
} else if (Array.isArray(value)) {
|
|
2016
2016
|
serialized[encodedKey] = value.slice(0).reduce((encoded, value2) => encoded.concat([
|
|
2017
|
-
`${encodedKey}=${
|
|
2017
|
+
`${encodedKey}=${OT5L7ME6_cjs.escapeUri(value2)}`
|
|
2018
2018
|
]), []).sort().join("&");
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
@@ -2022,9 +2022,9 @@ var getCanonicalQuery = /* @__PURE__ */ VO65XOWD_cjs.__name(({ query = {} }) =>
|
|
|
2022
2022
|
}, "getCanonicalQuery");
|
|
2023
2023
|
|
|
2024
2024
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/utilDate.js
|
|
2025
|
-
|
|
2026
|
-
var iso8601 = /* @__PURE__ */
|
|
2027
|
-
var toDate = /* @__PURE__ */
|
|
2025
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2026
|
+
var iso8601 = /* @__PURE__ */ U7VZULNU_cjs.__name((time) => toDate(time).toISOString().replace(/\.\d{3}Z$/, "Z"), "iso8601");
|
|
2027
|
+
var toDate = /* @__PURE__ */ U7VZULNU_cjs.__name((time) => {
|
|
2028
2028
|
if (typeof time === "number") {
|
|
2029
2029
|
return new Date(time * 1e3);
|
|
2030
2030
|
}
|
|
@@ -2040,7 +2040,7 @@ var toDate = /* @__PURE__ */ VO65XOWD_cjs.__name((time) => {
|
|
|
2040
2040
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js
|
|
2041
2041
|
var SignatureV4Base = class {
|
|
2042
2042
|
static {
|
|
2043
|
-
|
|
2043
|
+
U7VZULNU_cjs.__name(this, "SignatureV4Base");
|
|
2044
2044
|
}
|
|
2045
2045
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
2046
2046
|
this.service = service;
|
|
@@ -2062,12 +2062,12 @@ ${payloadHash}`;
|
|
|
2062
2062
|
}
|
|
2063
2063
|
async createStringToSign(longDate, credentialScope, canonicalRequest, algorithmIdentifier) {
|
|
2064
2064
|
const hash = new this.sha256();
|
|
2065
|
-
hash.update(
|
|
2065
|
+
hash.update(OWTMHDOF_cjs.toUint8Array(canonicalRequest));
|
|
2066
2066
|
const hashedRequest = await hash.digest();
|
|
2067
2067
|
return `${algorithmIdentifier}
|
|
2068
2068
|
${longDate}
|
|
2069
2069
|
${credentialScope}
|
|
2070
|
-
${
|
|
2070
|
+
${OT5L7ME6_cjs.toHex(hashedRequest)}`;
|
|
2071
2071
|
}
|
|
2072
2072
|
getCanonicalPath({ path }) {
|
|
2073
2073
|
if (this.uriEscapePath) {
|
|
@@ -2082,7 +2082,7 @@ ${FUZCR6WN_cjs.toHex(hashedRequest)}`;
|
|
|
2082
2082
|
}
|
|
2083
2083
|
}
|
|
2084
2084
|
const normalizedPath = `${path?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path?.endsWith("/") ? "/" : ""}`;
|
|
2085
|
-
const doubleEncoded =
|
|
2085
|
+
const doubleEncoded = OT5L7ME6_cjs.escapeUri(normalizedPath);
|
|
2086
2086
|
return doubleEncoded.replace(/%2F/g, "/");
|
|
2087
2087
|
}
|
|
2088
2088
|
return path;
|
|
@@ -2107,7 +2107,7 @@ ${FUZCR6WN_cjs.toHex(hashedRequest)}`;
|
|
|
2107
2107
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
2108
2108
|
var SignatureV4 = class extends SignatureV4Base {
|
|
2109
2109
|
static {
|
|
2110
|
-
|
|
2110
|
+
U7VZULNU_cjs.__name(this, "SignatureV4");
|
|
2111
2111
|
}
|
|
2112
2112
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
2113
2113
|
super({
|
|
@@ -2167,7 +2167,7 @@ var SignatureV4 = class extends SignatureV4Base {
|
|
|
2167
2167
|
}, this.sha256);
|
|
2168
2168
|
const hash = new this.sha256();
|
|
2169
2169
|
hash.update(headers);
|
|
2170
|
-
const hashedHeaders =
|
|
2170
|
+
const hashedHeaders = OT5L7ME6_cjs.toHex(await hash.digest());
|
|
2171
2171
|
const stringToSign = [
|
|
2172
2172
|
EVENT_ALGORITHM_IDENTIFIER,
|
|
2173
2173
|
longDate,
|
|
@@ -2205,8 +2205,8 @@ var SignatureV4 = class extends SignatureV4Base {
|
|
|
2205
2205
|
const region = signingRegion ?? await this.regionProvider();
|
|
2206
2206
|
const { shortDate } = this.formatDate(signingDate);
|
|
2207
2207
|
const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService));
|
|
2208
|
-
hash.update(
|
|
2209
|
-
return
|
|
2208
|
+
hash.update(OWTMHDOF_cjs.toUint8Array(stringToSign));
|
|
2209
|
+
return OT5L7ME6_cjs.toHex(await hash.digest());
|
|
2210
2210
|
}
|
|
2211
2211
|
async signRequest(requestToSign, { signingDate = /* @__PURE__ */ new Date(), signableHeaders, unsignableHeaders, signingRegion, signingService } = {}) {
|
|
2212
2212
|
const credentials = await this.credentialProvider();
|
|
@@ -2231,8 +2231,8 @@ var SignatureV4 = class extends SignatureV4Base {
|
|
|
2231
2231
|
async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
|
|
2232
2232
|
const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest, ALGORITHM_IDENTIFIER);
|
|
2233
2233
|
const hash = new this.sha256(await keyPromise);
|
|
2234
|
-
hash.update(
|
|
2235
|
-
return
|
|
2234
|
+
hash.update(OWTMHDOF_cjs.toUint8Array(stringToSign));
|
|
2235
|
+
return OT5L7ME6_cjs.toHex(await hash.digest());
|
|
2236
2236
|
}
|
|
2237
2237
|
getSigningKey(credentials, region, shortDate, service) {
|
|
2238
2238
|
return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service);
|
|
@@ -2240,10 +2240,10 @@ var SignatureV4 = class extends SignatureV4Base {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
|
|
2242
2242
|
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
|
|
2243
|
-
|
|
2243
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2244
2244
|
|
|
2245
2245
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
2246
|
-
var resolveAwsSdkSigV4Config = /* @__PURE__ */
|
|
2246
|
+
var resolveAwsSdkSigV4Config = /* @__PURE__ */ U7VZULNU_cjs.__name((config) => {
|
|
2247
2247
|
let inputCredentials = config.credentials;
|
|
2248
2248
|
let isUserSupplied = !!config.credentials;
|
|
2249
2249
|
let resolvedCredentials = void 0;
|
|
@@ -2259,7 +2259,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ VO65XOWD_cjs.__name((config) => {
|
|
|
2259
2259
|
});
|
|
2260
2260
|
const boundProvider = bindCallerConfig(config, memoizedProvider);
|
|
2261
2261
|
if (isUserSupplied && !boundProvider.attributed) {
|
|
2262
|
-
resolvedCredentials = /* @__PURE__ */
|
|
2262
|
+
resolvedCredentials = /* @__PURE__ */ U7VZULNU_cjs.__name(async (options) => boundProvider(options).then((creds) => _7WVEMAKW_cjs.setCredentialFeature(creds, "CREDENTIALS_CODE", "e")), "resolvedCredentials");
|
|
2263
2263
|
resolvedCredentials.memoized = boundProvider.memoized;
|
|
2264
2264
|
resolvedCredentials.configBound = boundProvider.configBound;
|
|
2265
2265
|
resolvedCredentials.attributed = true;
|
|
@@ -2279,7 +2279,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ VO65XOWD_cjs.__name((config) => {
|
|
|
2279
2279
|
if (config.signer) {
|
|
2280
2280
|
signer = normalizeProvider2(config.signer);
|
|
2281
2281
|
} else if (config.regionInfoProvider) {
|
|
2282
|
-
signer = /* @__PURE__ */
|
|
2282
|
+
signer = /* @__PURE__ */ U7VZULNU_cjs.__name(() => normalizeProvider2(config.region)().then(async (region) => [
|
|
2283
2283
|
await config.regionInfoProvider(region, {
|
|
2284
2284
|
useFipsEndpoint: await config.useFipsEndpoint(),
|
|
2285
2285
|
useDualstackEndpoint: await config.useDualstackEndpoint()
|
|
@@ -2301,7 +2301,7 @@ var resolveAwsSdkSigV4Config = /* @__PURE__ */ VO65XOWD_cjs.__name((config) => {
|
|
|
2301
2301
|
return new SignerCtor(params);
|
|
2302
2302
|
}), "signer");
|
|
2303
2303
|
} else {
|
|
2304
|
-
signer = /* @__PURE__ */
|
|
2304
|
+
signer = /* @__PURE__ */ U7VZULNU_cjs.__name(async (authScheme) => {
|
|
2305
2305
|
authScheme = Object.assign({}, {
|
|
2306
2306
|
name: "sigv4",
|
|
2307
2307
|
signingName: config.signingName || config.defaultSigningName,
|
|
@@ -2345,7 +2345,7 @@ function normalizeCredentialProvider(config, { credentials, credentialDefaultPro
|
|
|
2345
2345
|
parentClientConfig: config
|
|
2346
2346
|
})));
|
|
2347
2347
|
} else {
|
|
2348
|
-
credentialsProvider = /* @__PURE__ */
|
|
2348
|
+
credentialsProvider = /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
2349
2349
|
throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.");
|
|
2350
2350
|
}, "credentialsProvider");
|
|
2351
2351
|
}
|
|
@@ -2353,12 +2353,12 @@ function normalizeCredentialProvider(config, { credentials, credentialDefaultPro
|
|
|
2353
2353
|
credentialsProvider.memoized = true;
|
|
2354
2354
|
return credentialsProvider;
|
|
2355
2355
|
}
|
|
2356
|
-
|
|
2356
|
+
U7VZULNU_cjs.__name(normalizeCredentialProvider, "normalizeCredentialProvider");
|
|
2357
2357
|
function bindCallerConfig(config, credentialsProvider) {
|
|
2358
2358
|
if (credentialsProvider.configBound) {
|
|
2359
2359
|
return credentialsProvider;
|
|
2360
2360
|
}
|
|
2361
|
-
const fn = /* @__PURE__ */
|
|
2361
|
+
const fn = /* @__PURE__ */ U7VZULNU_cjs.__name(async (options) => credentialsProvider({
|
|
2362
2362
|
...options,
|
|
2363
2363
|
callerClientConfig: config
|
|
2364
2364
|
}), "fn");
|
|
@@ -2366,11 +2366,11 @@ function bindCallerConfig(config, credentialsProvider) {
|
|
|
2366
2366
|
fn.configBound = true;
|
|
2367
2367
|
return fn;
|
|
2368
2368
|
}
|
|
2369
|
-
|
|
2369
|
+
U7VZULNU_cjs.__name(bindCallerConfig, "bindCallerConfig");
|
|
2370
2370
|
|
|
2371
2371
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js
|
|
2372
|
-
|
|
2373
|
-
var collectBodyString = /* @__PURE__ */
|
|
2372
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2373
|
+
var collectBodyString = /* @__PURE__ */ U7VZULNU_cjs.__name((streamBody, context) => OT5L7ME6_cjs.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? OWTMHDOF_cjs.toUtf8)(body)), "collectBodyString");
|
|
2374
2374
|
|
|
2375
2375
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
2376
2376
|
var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/;
|
|
@@ -2419,10 +2419,10 @@ async function checkFeatures(context, config, args) {
|
|
|
2419
2419
|
}
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
|
-
|
|
2422
|
+
U7VZULNU_cjs.__name(checkFeatures, "checkFeatures");
|
|
2423
2423
|
|
|
2424
2424
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js
|
|
2425
|
-
|
|
2425
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2426
2426
|
var USER_AGENT = "user-agent";
|
|
2427
2427
|
var X_AMZ_USER_AGENT = "x-amz-user-agent";
|
|
2428
2428
|
var SPACE = " ";
|
|
@@ -2432,7 +2432,7 @@ var UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;
|
|
|
2432
2432
|
var UA_ESCAPE_CHAR = "-";
|
|
2433
2433
|
|
|
2434
2434
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js
|
|
2435
|
-
|
|
2435
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2436
2436
|
var BYTE_LIMIT = 1024;
|
|
2437
2437
|
function encodeFeatures(features) {
|
|
2438
2438
|
let buffer = "";
|
|
@@ -2450,12 +2450,12 @@ function encodeFeatures(features) {
|
|
|
2450
2450
|
}
|
|
2451
2451
|
return buffer;
|
|
2452
2452
|
}
|
|
2453
|
-
|
|
2453
|
+
U7VZULNU_cjs.__name(encodeFeatures, "encodeFeatures");
|
|
2454
2454
|
|
|
2455
2455
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js
|
|
2456
|
-
var userAgentMiddleware = /* @__PURE__ */
|
|
2456
|
+
var userAgentMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => (next, context) => async (args) => {
|
|
2457
2457
|
const { request } = args;
|
|
2458
|
-
if (!
|
|
2458
|
+
if (!OT5L7ME6_cjs.HttpRequest.isInstance(request)) {
|
|
2459
2459
|
return next(args);
|
|
2460
2460
|
}
|
|
2461
2461
|
const { headers } = request;
|
|
@@ -2496,7 +2496,7 @@ var userAgentMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options) => (next
|
|
|
2496
2496
|
request
|
|
2497
2497
|
});
|
|
2498
2498
|
}, "userAgentMiddleware");
|
|
2499
|
-
var escapeUserAgent = /* @__PURE__ */
|
|
2499
|
+
var escapeUserAgent = /* @__PURE__ */ U7VZULNU_cjs.__name((userAgentPair) => {
|
|
2500
2500
|
const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR);
|
|
2501
2501
|
const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);
|
|
2502
2502
|
const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);
|
|
@@ -2530,46 +2530,46 @@ var getUserAgentMiddlewareOptions = {
|
|
|
2530
2530
|
],
|
|
2531
2531
|
override: true
|
|
2532
2532
|
};
|
|
2533
|
-
var getUserAgentPlugin = /* @__PURE__ */
|
|
2534
|
-
applyToStack: /* @__PURE__ */
|
|
2533
|
+
var getUserAgentPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((config) => ({
|
|
2534
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
2535
2535
|
clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);
|
|
2536
2536
|
}, "applyToStack")
|
|
2537
2537
|
}), "getUserAgentPlugin");
|
|
2538
2538
|
|
|
2539
2539
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js
|
|
2540
|
-
|
|
2540
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2541
2541
|
|
|
2542
2542
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
2543
|
-
|
|
2543
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2544
2544
|
|
|
2545
2545
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
2546
|
-
|
|
2546
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2547
2547
|
|
|
2548
2548
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js
|
|
2549
|
-
|
|
2550
|
-
var isFipsRegion = /* @__PURE__ */
|
|
2549
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2550
|
+
var isFipsRegion = /* @__PURE__ */ U7VZULNU_cjs.__name((region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")), "isFipsRegion");
|
|
2551
2551
|
|
|
2552
2552
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
2553
|
-
var getRealRegion = /* @__PURE__ */
|
|
2553
|
+
var getRealRegion = /* @__PURE__ */ U7VZULNU_cjs.__name((region) => isFipsRegion(region) ? [
|
|
2554
2554
|
"fips-aws-global",
|
|
2555
2555
|
"aws-fips"
|
|
2556
2556
|
].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region, "getRealRegion");
|
|
2557
2557
|
|
|
2558
2558
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
2559
|
-
var resolveRegionConfig = /* @__PURE__ */
|
|
2559
|
+
var resolveRegionConfig = /* @__PURE__ */ U7VZULNU_cjs.__name((input) => {
|
|
2560
2560
|
const { region, useFipsEndpoint } = input;
|
|
2561
2561
|
if (!region) {
|
|
2562
2562
|
throw new Error("Region is missing");
|
|
2563
2563
|
}
|
|
2564
2564
|
return Object.assign(input, {
|
|
2565
|
-
region: /* @__PURE__ */
|
|
2565
|
+
region: /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
2566
2566
|
if (typeof region === "string") {
|
|
2567
2567
|
return getRealRegion(region);
|
|
2568
2568
|
}
|
|
2569
2569
|
const providedRegion = await region();
|
|
2570
2570
|
return getRealRegion(providedRegion);
|
|
2571
2571
|
}, "region"),
|
|
2572
|
-
useFipsEndpoint: /* @__PURE__ */
|
|
2572
|
+
useFipsEndpoint: /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
2573
2573
|
const providedRegion = typeof region === "string" ? region : await region();
|
|
2574
2574
|
if (isFipsRegion(providedRegion)) {
|
|
2575
2575
|
return true;
|
|
@@ -2580,20 +2580,20 @@ var resolveRegionConfig = /* @__PURE__ */ VO65XOWD_cjs.__name((input) => {
|
|
|
2580
2580
|
}, "resolveRegionConfig");
|
|
2581
2581
|
|
|
2582
2582
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/index.js
|
|
2583
|
-
|
|
2583
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2584
2584
|
|
|
2585
2585
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js
|
|
2586
|
-
|
|
2586
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2587
2587
|
|
|
2588
2588
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
2589
|
-
|
|
2589
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2590
2590
|
|
|
2591
2591
|
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/index.js
|
|
2592
|
-
|
|
2592
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2593
2593
|
|
|
2594
2594
|
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js
|
|
2595
|
-
|
|
2596
|
-
var booleanSelector = /* @__PURE__ */
|
|
2595
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2596
|
+
var booleanSelector = /* @__PURE__ */ U7VZULNU_cjs.__name((obj, key, type) => {
|
|
2597
2597
|
if (!(key in obj)) return void 0;
|
|
2598
2598
|
if (obj[key] === "true") return true;
|
|
2599
2599
|
if (obj[key] === "false") return false;
|
|
@@ -2601,10 +2601,10 @@ var booleanSelector = /* @__PURE__ */ VO65XOWD_cjs.__name((obj, key, type) => {
|
|
|
2601
2601
|
}, "booleanSelector");
|
|
2602
2602
|
|
|
2603
2603
|
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js
|
|
2604
|
-
|
|
2604
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2605
2605
|
|
|
2606
2606
|
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/types.js
|
|
2607
|
-
|
|
2607
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2608
2608
|
var SelectorType;
|
|
2609
2609
|
(function(SelectorType2) {
|
|
2610
2610
|
SelectorType2["ENV"] = "env";
|
|
@@ -2615,41 +2615,41 @@ var SelectorType;
|
|
|
2615
2615
|
var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
|
|
2616
2616
|
var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
2617
2617
|
var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
2618
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
2619
|
-
configFileSelector: /* @__PURE__ */
|
|
2618
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => booleanSelector(env2, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV), "environmentVariableSelector"),
|
|
2619
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG), "configFileSelector"),
|
|
2620
2620
|
default: false
|
|
2621
2621
|
};
|
|
2622
2622
|
|
|
2623
2623
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
2624
|
-
|
|
2624
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2625
2625
|
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
2626
2626
|
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
2627
2627
|
var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
2628
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
2629
|
-
configFileSelector: /* @__PURE__ */
|
|
2628
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => booleanSelector(env2, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV), "environmentVariableSelector"),
|
|
2629
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG), "configFileSelector"),
|
|
2630
2630
|
default: false
|
|
2631
2631
|
};
|
|
2632
2632
|
|
|
2633
2633
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js
|
|
2634
|
-
|
|
2634
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2635
2635
|
|
|
2636
2636
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js
|
|
2637
|
-
|
|
2637
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2638
2638
|
|
|
2639
2639
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js
|
|
2640
|
-
|
|
2640
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2641
2641
|
|
|
2642
2642
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js
|
|
2643
|
-
|
|
2643
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2644
2644
|
|
|
2645
2645
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
2646
|
-
|
|
2646
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2647
2647
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
2648
2648
|
var REGION_INI_NAME = "region";
|
|
2649
2649
|
var NODE_REGION_CONFIG_OPTIONS = {
|
|
2650
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
2651
|
-
configFileSelector: /* @__PURE__ */
|
|
2652
|
-
default: /* @__PURE__ */
|
|
2650
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => env2[REGION_ENV_NAME], "environmentVariableSelector"),
|
|
2651
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => profile[REGION_INI_NAME], "configFileSelector"),
|
|
2652
|
+
default: /* @__PURE__ */ U7VZULNU_cjs.__name(() => {
|
|
2653
2653
|
throw new Error("Region is missing");
|
|
2654
2654
|
}, "default")
|
|
2655
2655
|
};
|
|
@@ -2658,36 +2658,36 @@ var NODE_REGION_CONFIG_FILE_OPTIONS = {
|
|
|
2658
2658
|
};
|
|
2659
2659
|
|
|
2660
2660
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js
|
|
2661
|
-
|
|
2661
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2662
2662
|
|
|
2663
2663
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js
|
|
2664
|
-
|
|
2664
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2665
2665
|
|
|
2666
2666
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js
|
|
2667
|
-
|
|
2667
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2668
2668
|
|
|
2669
2669
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js
|
|
2670
|
-
|
|
2670
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2671
2671
|
|
|
2672
2672
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js
|
|
2673
|
-
|
|
2673
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2674
2674
|
|
|
2675
2675
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js
|
|
2676
|
-
|
|
2676
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2677
2677
|
|
|
2678
2678
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js
|
|
2679
|
-
|
|
2679
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2680
2680
|
|
|
2681
2681
|
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js
|
|
2682
|
-
|
|
2682
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2683
2683
|
|
|
2684
2684
|
// ../../node_modules/.pnpm/@smithy+middleware-content-length@4.0.5/node_modules/@smithy/middleware-content-length/dist-es/index.js
|
|
2685
|
-
|
|
2685
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2686
2686
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
2687
2687
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
2688
2688
|
return (next) => async (args) => {
|
|
2689
2689
|
const request = args.request;
|
|
2690
|
-
if (
|
|
2690
|
+
if (OT5L7ME6_cjs.HttpRequest.isInstance(request)) {
|
|
2691
2691
|
const { body, headers } = request;
|
|
2692
2692
|
if (body && Object.keys(headers).map((str) => str.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER) === -1) {
|
|
2693
2693
|
try {
|
|
@@ -2706,7 +2706,7 @@ function contentLengthMiddleware(bodyLengthChecker) {
|
|
|
2706
2706
|
});
|
|
2707
2707
|
};
|
|
2708
2708
|
}
|
|
2709
|
-
|
|
2709
|
+
U7VZULNU_cjs.__name(contentLengthMiddleware, "contentLengthMiddleware");
|
|
2710
2710
|
var contentLengthMiddlewareOptions = {
|
|
2711
2711
|
step: "build",
|
|
2712
2712
|
tags: [
|
|
@@ -2716,27 +2716,27 @@ var contentLengthMiddlewareOptions = {
|
|
|
2716
2716
|
name: "contentLengthMiddleware",
|
|
2717
2717
|
override: true
|
|
2718
2718
|
};
|
|
2719
|
-
var getContentLengthPlugin = /* @__PURE__ */
|
|
2720
|
-
applyToStack: /* @__PURE__ */
|
|
2719
|
+
var getContentLengthPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => ({
|
|
2720
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
2721
2721
|
clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions);
|
|
2722
2722
|
}, "applyToStack")
|
|
2723
2723
|
}), "getContentLengthPlugin");
|
|
2724
2724
|
|
|
2725
2725
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
2726
|
-
|
|
2726
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2727
2727
|
|
|
2728
2728
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
2729
|
-
|
|
2729
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2730
2730
|
|
|
2731
2731
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
2732
|
-
|
|
2732
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2733
2733
|
|
|
2734
2734
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/index.js
|
|
2735
|
-
|
|
2735
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2736
2736
|
|
|
2737
2737
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
2738
|
-
|
|
2739
|
-
var resolveParamsForS3 = /* @__PURE__ */
|
|
2738
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2739
|
+
var resolveParamsForS3 = /* @__PURE__ */ U7VZULNU_cjs.__name(async (endpointParams) => {
|
|
2740
2740
|
const bucket = endpointParams?.Bucket || "";
|
|
2741
2741
|
if (typeof endpointParams.Bucket === "string") {
|
|
2742
2742
|
endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?"));
|
|
@@ -2757,8 +2757,8 @@ var resolveParamsForS3 = /* @__PURE__ */ VO65XOWD_cjs.__name(async (endpointPara
|
|
|
2757
2757
|
var DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;
|
|
2758
2758
|
var IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/;
|
|
2759
2759
|
var DOTS_PATTERN = /\.\./;
|
|
2760
|
-
var isDnsCompatibleBucketName = /* @__PURE__ */
|
|
2761
|
-
var isArnBucketName = /* @__PURE__ */
|
|
2760
|
+
var isDnsCompatibleBucketName = /* @__PURE__ */ U7VZULNU_cjs.__name((bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName), "isDnsCompatibleBucketName");
|
|
2761
|
+
var isArnBucketName = /* @__PURE__ */ U7VZULNU_cjs.__name((bucketName) => {
|
|
2762
2762
|
const [arn, partition2, service, , , bucket] = bucketName.split(":");
|
|
2763
2763
|
const isArn = arn === "arn" && bucketName.split(":").length >= 6;
|
|
2764
2764
|
const isValidArn = Boolean(isArn && partition2 && service && bucket);
|
|
@@ -2769,9 +2769,9 @@ var isArnBucketName = /* @__PURE__ */ VO65XOWD_cjs.__name((bucketName) => {
|
|
|
2769
2769
|
}, "isArnBucketName");
|
|
2770
2770
|
|
|
2771
2771
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js
|
|
2772
|
-
|
|
2773
|
-
var createConfigValueProvider = /* @__PURE__ */
|
|
2774
|
-
const configProvider = /* @__PURE__ */
|
|
2772
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2773
|
+
var createConfigValueProvider = /* @__PURE__ */ U7VZULNU_cjs.__name((configKey, canonicalEndpointParamKey, config) => {
|
|
2774
|
+
const configProvider = /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
2775
2775
|
const configValue = config[configKey] ?? config[canonicalEndpointParamKey];
|
|
2776
2776
|
if (typeof configValue === "function") {
|
|
2777
2777
|
return configValue();
|
|
@@ -2814,14 +2814,14 @@ var createConfigValueProvider = /* @__PURE__ */ VO65XOWD_cjs.__name((configKey,
|
|
|
2814
2814
|
}, "createConfigValueProvider");
|
|
2815
2815
|
|
|
2816
2816
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js
|
|
2817
|
-
|
|
2817
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2818
2818
|
|
|
2819
2819
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js
|
|
2820
|
-
|
|
2820
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2821
2821
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
2822
2822
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
2823
|
-
var getEndpointUrlConfig = /* @__PURE__ */
|
|
2824
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
2823
|
+
var getEndpointUrlConfig = /* @__PURE__ */ U7VZULNU_cjs.__name((serviceId) => ({
|
|
2824
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => {
|
|
2825
2825
|
const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
|
|
2826
2826
|
const serviceEndpointUrl = env2[[
|
|
2827
2827
|
ENV_ENDPOINT_URL,
|
|
@@ -2832,18 +2832,18 @@ var getEndpointUrlConfig = /* @__PURE__ */ VO65XOWD_cjs.__name((serviceId) => ({
|
|
|
2832
2832
|
if (endpointUrl) return endpointUrl;
|
|
2833
2833
|
return void 0;
|
|
2834
2834
|
}, "environmentVariableSelector"),
|
|
2835
|
-
configFileSelector: /* @__PURE__ */
|
|
2835
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile, config) => {
|
|
2836
2836
|
if (config && profile.services) {
|
|
2837
2837
|
const servicesSection = config[[
|
|
2838
2838
|
"services",
|
|
2839
2839
|
profile.services
|
|
2840
|
-
].join(
|
|
2840
|
+
].join(P5BPMTGP_cjs.CONFIG_PREFIX_SEPARATOR)];
|
|
2841
2841
|
if (servicesSection) {
|
|
2842
2842
|
const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
|
|
2843
2843
|
const endpointUrl2 = servicesSection[[
|
|
2844
2844
|
servicePrefixParts.join("_"),
|
|
2845
2845
|
CONFIG_ENDPOINT_URL
|
|
2846
|
-
].join(
|
|
2846
|
+
].join(P5BPMTGP_cjs.CONFIG_PREFIX_SEPARATOR)];
|
|
2847
2847
|
if (endpointUrl2) return endpointUrl2;
|
|
2848
2848
|
}
|
|
2849
2849
|
}
|
|
@@ -2855,22 +2855,22 @@ var getEndpointUrlConfig = /* @__PURE__ */ VO65XOWD_cjs.__name((serviceId) => ({
|
|
|
2855
2855
|
}), "getEndpointUrlConfig");
|
|
2856
2856
|
|
|
2857
2857
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js
|
|
2858
|
-
var getEndpointFromConfig = /* @__PURE__ */
|
|
2858
|
+
var getEndpointFromConfig = /* @__PURE__ */ U7VZULNU_cjs.__name(async (serviceId) => F7OAIAEX_cjs.loadConfig(getEndpointUrlConfig(serviceId ?? ""))(), "getEndpointFromConfig");
|
|
2859
2859
|
|
|
2860
2860
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js
|
|
2861
|
-
|
|
2862
|
-
var toEndpointV1 = /* @__PURE__ */
|
|
2861
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2862
|
+
var toEndpointV1 = /* @__PURE__ */ U7VZULNU_cjs.__name((endpoint) => {
|
|
2863
2863
|
if (typeof endpoint === "object") {
|
|
2864
2864
|
if ("url" in endpoint) {
|
|
2865
|
-
return
|
|
2865
|
+
return F7OAIAEX_cjs.parseUrl(endpoint.url);
|
|
2866
2866
|
}
|
|
2867
2867
|
return endpoint;
|
|
2868
2868
|
}
|
|
2869
|
-
return
|
|
2869
|
+
return F7OAIAEX_cjs.parseUrl(endpoint);
|
|
2870
2870
|
}, "toEndpointV1");
|
|
2871
2871
|
|
|
2872
2872
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
2873
|
-
var getEndpointFromInstructions = /* @__PURE__ */
|
|
2873
|
+
var getEndpointFromInstructions = /* @__PURE__ */ U7VZULNU_cjs.__name(async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
2874
2874
|
if (!clientConfig.isCustomEndpoint) {
|
|
2875
2875
|
let endpointFromConfig;
|
|
2876
2876
|
if (clientConfig.serviceConfiguredEndpoint) {
|
|
@@ -2890,7 +2890,7 @@ var getEndpointFromInstructions = /* @__PURE__ */ VO65XOWD_cjs.__name(async (com
|
|
|
2890
2890
|
const endpoint = clientConfig.endpointProvider(endpointParams, context);
|
|
2891
2891
|
return endpoint;
|
|
2892
2892
|
}, "getEndpointFromInstructions");
|
|
2893
|
-
var resolveParams = /* @__PURE__ */
|
|
2893
|
+
var resolveParams = /* @__PURE__ */ U7VZULNU_cjs.__name(async (commandInput, instructionsSupplier, clientConfig) => {
|
|
2894
2894
|
const endpointParams = {};
|
|
2895
2895
|
const instructions = instructionsSupplier?.getEndpointParameterInstructions?.() || {};
|
|
2896
2896
|
for (const [name, instruction] of Object.entries(instructions)) {
|
|
@@ -2922,7 +2922,7 @@ var resolveParams = /* @__PURE__ */ VO65XOWD_cjs.__name(async (commandInput, ins
|
|
|
2922
2922
|
}, "resolveParams");
|
|
2923
2923
|
|
|
2924
2924
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
2925
|
-
var endpointMiddleware = /* @__PURE__ */
|
|
2925
|
+
var endpointMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name(({ config, instructions }) => {
|
|
2926
2926
|
return (next, context) => async (args) => {
|
|
2927
2927
|
if (config.isCustomEndpoint) {
|
|
2928
2928
|
setFeature(context, "ENDPOINT_OVERRIDE", "N");
|
|
@@ -2971,8 +2971,8 @@ var endpointMiddlewareOptions = {
|
|
|
2971
2971
|
relation: "before",
|
|
2972
2972
|
toMiddleware: serializerMiddlewareOption.name
|
|
2973
2973
|
};
|
|
2974
|
-
var getEndpointPlugin = /* @__PURE__ */
|
|
2975
|
-
applyToStack: /* @__PURE__ */
|
|
2974
|
+
var getEndpointPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((config, instructions) => ({
|
|
2975
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
2976
2976
|
clientStack.addRelativeTo(endpointMiddleware({
|
|
2977
2977
|
config,
|
|
2978
2978
|
instructions
|
|
@@ -2981,8 +2981,8 @@ var getEndpointPlugin = /* @__PURE__ */ VO65XOWD_cjs.__name((config, instruction
|
|
|
2981
2981
|
}), "getEndpointPlugin");
|
|
2982
2982
|
|
|
2983
2983
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
2984
|
-
|
|
2985
|
-
var resolveEndpointConfig = /* @__PURE__ */
|
|
2984
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
2985
|
+
var resolveEndpointConfig = /* @__PURE__ */ U7VZULNU_cjs.__name((input) => {
|
|
2986
2986
|
const tls = input.tls ?? true;
|
|
2987
2987
|
const { endpoint, useDualstackEndpoint, useFipsEndpoint } = input;
|
|
2988
2988
|
const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await normalizeProvider(endpoint)()) : void 0;
|
|
@@ -3005,28 +3005,28 @@ var resolveEndpointConfig = /* @__PURE__ */ VO65XOWD_cjs.__name((input) => {
|
|
|
3005
3005
|
}, "resolveEndpointConfig");
|
|
3006
3006
|
|
|
3007
3007
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/index.js
|
|
3008
|
-
|
|
3008
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3009
3009
|
|
|
3010
3010
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js
|
|
3011
|
-
|
|
3011
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3012
3012
|
|
|
3013
3013
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js
|
|
3014
|
-
|
|
3014
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3015
3015
|
|
|
3016
3016
|
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/types.js
|
|
3017
|
-
|
|
3017
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3018
3018
|
|
|
3019
3019
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
3020
|
-
|
|
3020
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3021
3021
|
|
|
3022
3022
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/index.js
|
|
3023
|
-
|
|
3023
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3024
3024
|
|
|
3025
3025
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js
|
|
3026
|
-
|
|
3026
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3027
3027
|
|
|
3028
3028
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/config.js
|
|
3029
|
-
|
|
3029
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3030
3030
|
var RETRY_MODES;
|
|
3031
3031
|
(function(RETRY_MODES2) {
|
|
3032
3032
|
RETRY_MODES2["STANDARD"] = "standard";
|
|
@@ -3036,13 +3036,13 @@ var DEFAULT_MAX_ATTEMPTS = 3;
|
|
|
3036
3036
|
var DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
3037
3037
|
|
|
3038
3038
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js
|
|
3039
|
-
|
|
3039
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3040
3040
|
|
|
3041
3041
|
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.0.7/node_modules/@smithy/service-error-classification/dist-es/index.js
|
|
3042
|
-
|
|
3042
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3043
3043
|
|
|
3044
3044
|
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.0.7/node_modules/@smithy/service-error-classification/dist-es/constants.js
|
|
3045
|
-
|
|
3045
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3046
3046
|
var THROTTLING_ERROR_CODES = [
|
|
3047
3047
|
"BandwidthLimitExceeded",
|
|
3048
3048
|
"EC2ThrottledException",
|
|
@@ -3083,8 +3083,8 @@ var NODEJS_NETWORK_ERROR_CODES = [
|
|
|
3083
3083
|
];
|
|
3084
3084
|
|
|
3085
3085
|
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.0.7/node_modules/@smithy/service-error-classification/dist-es/index.js
|
|
3086
|
-
var isClockSkewCorrectedError = /* @__PURE__ */
|
|
3087
|
-
var isBrowserNetworkError = /* @__PURE__ */
|
|
3086
|
+
var isClockSkewCorrectedError = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
|
|
3087
|
+
var isBrowserNetworkError = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => {
|
|
3088
3088
|
const errorMessages = /* @__PURE__ */ new Set([
|
|
3089
3089
|
"Failed to fetch",
|
|
3090
3090
|
"NetworkError when attempting to fetch resource",
|
|
@@ -3098,9 +3098,9 @@ var isBrowserNetworkError = /* @__PURE__ */ VO65XOWD_cjs.__name((error) => {
|
|
|
3098
3098
|
}
|
|
3099
3099
|
return errorMessages.has(error.message);
|
|
3100
3100
|
}, "isBrowserNetworkError");
|
|
3101
|
-
var isThrottlingError = /* @__PURE__ */
|
|
3102
|
-
var isTransientError = /* @__PURE__ */
|
|
3103
|
-
var isServerError = /* @__PURE__ */
|
|
3101
|
+
var isThrottlingError = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
|
|
3102
|
+
var isTransientError = /* @__PURE__ */ U7VZULNU_cjs.__name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
3103
|
+
var isServerError = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => {
|
|
3104
3104
|
if (error.$metadata?.httpStatusCode !== void 0) {
|
|
3105
3105
|
const statusCode = error.$metadata.httpStatusCode;
|
|
3106
3106
|
if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) {
|
|
@@ -3114,7 +3114,7 @@ var isServerError = /* @__PURE__ */ VO65XOWD_cjs.__name((error) => {
|
|
|
3114
3114
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js
|
|
3115
3115
|
var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
3116
3116
|
static {
|
|
3117
|
-
|
|
3117
|
+
U7VZULNU_cjs.__name(this, "DefaultRateLimiter");
|
|
3118
3118
|
}
|
|
3119
3119
|
constructor(options) {
|
|
3120
3120
|
this.currentCapacity = 0;
|
|
@@ -3215,10 +3215,10 @@ var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
3215
3215
|
DefaultRateLimiter.setTimeoutFn = setTimeout;
|
|
3216
3216
|
|
|
3217
3217
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js
|
|
3218
|
-
|
|
3218
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3219
3219
|
|
|
3220
3220
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/constants.js
|
|
3221
|
-
|
|
3221
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3222
3222
|
var DEFAULT_RETRY_DELAY_BASE = 100;
|
|
3223
3223
|
var MAXIMUM_RETRY_DELAY = 20 * 1e3;
|
|
3224
3224
|
var THROTTLING_RETRY_DELAY_BASE = 500;
|
|
@@ -3230,13 +3230,13 @@ var INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
|
3230
3230
|
var REQUEST_HEADER = "amz-sdk-request";
|
|
3231
3231
|
|
|
3232
3232
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js
|
|
3233
|
-
|
|
3234
|
-
var getDefaultRetryBackoffStrategy = /* @__PURE__ */
|
|
3233
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3234
|
+
var getDefaultRetryBackoffStrategy = /* @__PURE__ */ U7VZULNU_cjs.__name(() => {
|
|
3235
3235
|
let delayBase = DEFAULT_RETRY_DELAY_BASE;
|
|
3236
|
-
const computeNextBackoffDelay = /* @__PURE__ */
|
|
3236
|
+
const computeNextBackoffDelay = /* @__PURE__ */ U7VZULNU_cjs.__name((attempts) => {
|
|
3237
3237
|
return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
|
|
3238
3238
|
}, "computeNextBackoffDelay");
|
|
3239
|
-
const setDelayBase = /* @__PURE__ */
|
|
3239
|
+
const setDelayBase = /* @__PURE__ */ U7VZULNU_cjs.__name((delay) => {
|
|
3240
3240
|
delayBase = delay;
|
|
3241
3241
|
}, "setDelayBase");
|
|
3242
3242
|
return {
|
|
@@ -3246,11 +3246,11 @@ var getDefaultRetryBackoffStrategy = /* @__PURE__ */ VO65XOWD_cjs.__name(() => {
|
|
|
3246
3246
|
}, "getDefaultRetryBackoffStrategy");
|
|
3247
3247
|
|
|
3248
3248
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js
|
|
3249
|
-
|
|
3250
|
-
var createDefaultRetryToken = /* @__PURE__ */
|
|
3251
|
-
const getRetryCount = /* @__PURE__ */
|
|
3252
|
-
const getRetryDelay = /* @__PURE__ */
|
|
3253
|
-
const getRetryCost = /* @__PURE__ */
|
|
3249
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3250
|
+
var createDefaultRetryToken = /* @__PURE__ */ U7VZULNU_cjs.__name(({ retryDelay, retryCount, retryCost }) => {
|
|
3251
|
+
const getRetryCount = /* @__PURE__ */ U7VZULNU_cjs.__name(() => retryCount, "getRetryCount");
|
|
3252
|
+
const getRetryDelay = /* @__PURE__ */ U7VZULNU_cjs.__name(() => Math.min(MAXIMUM_RETRY_DELAY, retryDelay), "getRetryDelay");
|
|
3253
|
+
const getRetryCost = /* @__PURE__ */ U7VZULNU_cjs.__name(() => retryCost, "getRetryCost");
|
|
3254
3254
|
return {
|
|
3255
3255
|
getRetryCount,
|
|
3256
3256
|
getRetryDelay,
|
|
@@ -3261,7 +3261,7 @@ var createDefaultRetryToken = /* @__PURE__ */ VO65XOWD_cjs.__name(({ retryDelay,
|
|
|
3261
3261
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js
|
|
3262
3262
|
var StandardRetryStrategy = class {
|
|
3263
3263
|
static {
|
|
3264
|
-
|
|
3264
|
+
U7VZULNU_cjs.__name(this, "StandardRetryStrategy");
|
|
3265
3265
|
}
|
|
3266
3266
|
constructor(maxAttempts) {
|
|
3267
3267
|
this.maxAttempts = maxAttempts;
|
|
@@ -3322,7 +3322,7 @@ var StandardRetryStrategy = class {
|
|
|
3322
3322
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js
|
|
3323
3323
|
var AdaptiveRetryStrategy = class {
|
|
3324
3324
|
static {
|
|
3325
|
-
|
|
3325
|
+
U7VZULNU_cjs.__name(this, "AdaptiveRetryStrategy");
|
|
3326
3326
|
}
|
|
3327
3327
|
constructor(maxAttemptsProvider, options) {
|
|
3328
3328
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
@@ -3346,16 +3346,16 @@ var AdaptiveRetryStrategy = class {
|
|
|
3346
3346
|
};
|
|
3347
3347
|
|
|
3348
3348
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js
|
|
3349
|
-
|
|
3349
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3350
3350
|
|
|
3351
3351
|
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/types.js
|
|
3352
|
-
|
|
3352
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3353
3353
|
|
|
3354
3354
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
3355
3355
|
var ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
3356
3356
|
var CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
3357
3357
|
var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
3358
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
3358
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => {
|
|
3359
3359
|
const value = env2[ENV_MAX_ATTEMPTS];
|
|
3360
3360
|
if (!value) return void 0;
|
|
3361
3361
|
const maxAttempt = parseInt(value);
|
|
@@ -3364,7 +3364,7 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
3364
3364
|
}
|
|
3365
3365
|
return maxAttempt;
|
|
3366
3366
|
}, "environmentVariableSelector"),
|
|
3367
|
-
configFileSelector: /* @__PURE__ */
|
|
3367
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => {
|
|
3368
3368
|
const value = profile[CONFIG_MAX_ATTEMPTS];
|
|
3369
3369
|
if (!value) return void 0;
|
|
3370
3370
|
const maxAttempt = parseInt(value);
|
|
@@ -3375,12 +3375,12 @@ var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
|
3375
3375
|
}, "configFileSelector"),
|
|
3376
3376
|
default: DEFAULT_MAX_ATTEMPTS
|
|
3377
3377
|
};
|
|
3378
|
-
var resolveRetryConfig = /* @__PURE__ */
|
|
3378
|
+
var resolveRetryConfig = /* @__PURE__ */ U7VZULNU_cjs.__name((input) => {
|
|
3379
3379
|
const { retryStrategy, retryMode: _retryMode, maxAttempts: _maxAttempts } = input;
|
|
3380
3380
|
const maxAttempts = normalizeProvider(_maxAttempts ?? DEFAULT_MAX_ATTEMPTS);
|
|
3381
3381
|
return Object.assign(input, {
|
|
3382
3382
|
maxAttempts,
|
|
3383
|
-
retryStrategy: /* @__PURE__ */
|
|
3383
|
+
retryStrategy: /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
3384
3384
|
if (retryStrategy) {
|
|
3385
3385
|
return retryStrategy;
|
|
3386
3386
|
}
|
|
@@ -3395,21 +3395,21 @@ var resolveRetryConfig = /* @__PURE__ */ VO65XOWD_cjs.__name((input) => {
|
|
|
3395
3395
|
var ENV_RETRY_MODE = "AWS_RETRY_MODE";
|
|
3396
3396
|
var CONFIG_RETRY_MODE = "retry_mode";
|
|
3397
3397
|
var NODE_RETRY_MODE_CONFIG_OPTIONS = {
|
|
3398
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
3399
|
-
configFileSelector: /* @__PURE__ */
|
|
3398
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => env2[ENV_RETRY_MODE], "environmentVariableSelector"),
|
|
3399
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => profile[CONFIG_RETRY_MODE], "configFileSelector"),
|
|
3400
3400
|
default: DEFAULT_RETRY_MODE
|
|
3401
3401
|
};
|
|
3402
3402
|
|
|
3403
3403
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js
|
|
3404
|
-
|
|
3404
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3405
3405
|
|
|
3406
3406
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js
|
|
3407
|
-
|
|
3408
|
-
var isStreamingPayload = /* @__PURE__ */
|
|
3407
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3408
|
+
var isStreamingPayload = /* @__PURE__ */ U7VZULNU_cjs.__name((request) => request?.body instanceof stream.Readable || typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream, "isStreamingPayload");
|
|
3409
3409
|
|
|
3410
3410
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/util.js
|
|
3411
|
-
|
|
3412
|
-
var asSdkError = /* @__PURE__ */
|
|
3411
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3412
|
+
var asSdkError = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => {
|
|
3413
3413
|
if (error instanceof Error) return error;
|
|
3414
3414
|
if (error instanceof Object) return Object.assign(new Error(), error);
|
|
3415
3415
|
if (typeof error === "string") return new Error(error);
|
|
@@ -3417,7 +3417,7 @@ var asSdkError = /* @__PURE__ */ VO65XOWD_cjs.__name((error) => {
|
|
|
3417
3417
|
}, "asSdkError");
|
|
3418
3418
|
|
|
3419
3419
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js
|
|
3420
|
-
var retryMiddleware = /* @__PURE__ */
|
|
3420
|
+
var retryMiddleware = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => (next, context) => async (args) => {
|
|
3421
3421
|
let retryStrategy = await options.retryStrategy();
|
|
3422
3422
|
const maxAttempts = await options.maxAttempts();
|
|
3423
3423
|
if (isRetryStrategyV2(retryStrategy)) {
|
|
@@ -3427,9 +3427,9 @@ var retryMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options) => (next, co
|
|
|
3427
3427
|
let attempts = 0;
|
|
3428
3428
|
let totalRetryDelay = 0;
|
|
3429
3429
|
const { request } = args;
|
|
3430
|
-
const isRequest =
|
|
3430
|
+
const isRequest = OT5L7ME6_cjs.HttpRequest.isInstance(request);
|
|
3431
3431
|
if (isRequest) {
|
|
3432
|
-
request.headers[INVOCATION_ID_HEADER] =
|
|
3432
|
+
request.headers[INVOCATION_ID_HEADER] = OT5L7ME6_cjs.v4_default();
|
|
3433
3433
|
}
|
|
3434
3434
|
while (true) {
|
|
3435
3435
|
try {
|
|
@@ -3448,7 +3448,7 @@ var retryMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options) => (next, co
|
|
|
3448
3448
|
const retryErrorInfo = getRetryErrorInfo(e);
|
|
3449
3449
|
lastError = asSdkError(e);
|
|
3450
3450
|
if (isRequest && isStreamingPayload(request)) {
|
|
3451
|
-
(context.logger instanceof
|
|
3451
|
+
(context.logger instanceof OT5L7ME6_cjs.NoOpLogger ? console : context.logger)?.warn("An error was encountered in a non-retryable streaming request.");
|
|
3452
3452
|
throw lastError;
|
|
3453
3453
|
}
|
|
3454
3454
|
try {
|
|
@@ -3479,8 +3479,8 @@ var retryMiddleware = /* @__PURE__ */ VO65XOWD_cjs.__name((options) => (next, co
|
|
|
3479
3479
|
return retryStrategy.retry(next, args);
|
|
3480
3480
|
}
|
|
3481
3481
|
}, "retryMiddleware");
|
|
3482
|
-
var isRetryStrategyV2 = /* @__PURE__ */
|
|
3483
|
-
var getRetryErrorInfo = /* @__PURE__ */
|
|
3482
|
+
var isRetryStrategyV2 = /* @__PURE__ */ U7VZULNU_cjs.__name((retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined", "isRetryStrategyV2");
|
|
3483
|
+
var getRetryErrorInfo = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => {
|
|
3484
3484
|
const errorInfo = {
|
|
3485
3485
|
error,
|
|
3486
3486
|
errorType: getRetryErrorType(error)
|
|
@@ -3491,7 +3491,7 @@ var getRetryErrorInfo = /* @__PURE__ */ VO65XOWD_cjs.__name((error) => {
|
|
|
3491
3491
|
}
|
|
3492
3492
|
return errorInfo;
|
|
3493
3493
|
}, "getRetryErrorInfo");
|
|
3494
|
-
var getRetryErrorType = /* @__PURE__ */
|
|
3494
|
+
var getRetryErrorType = /* @__PURE__ */ U7VZULNU_cjs.__name((error) => {
|
|
3495
3495
|
if (isThrottlingError(error)) return "THROTTLING";
|
|
3496
3496
|
if (isTransientError(error)) return "TRANSIENT";
|
|
3497
3497
|
if (isServerError(error)) return "SERVER_ERROR";
|
|
@@ -3506,13 +3506,13 @@ var retryMiddlewareOptions = {
|
|
|
3506
3506
|
priority: "high",
|
|
3507
3507
|
override: true
|
|
3508
3508
|
};
|
|
3509
|
-
var getRetryPlugin = /* @__PURE__ */
|
|
3510
|
-
applyToStack: /* @__PURE__ */
|
|
3509
|
+
var getRetryPlugin = /* @__PURE__ */ U7VZULNU_cjs.__name((options) => ({
|
|
3510
|
+
applyToStack: /* @__PURE__ */ U7VZULNU_cjs.__name((clientStack) => {
|
|
3511
3511
|
clientStack.add(retryMiddleware(options), retryMiddlewareOptions);
|
|
3512
3512
|
}, "applyToStack")
|
|
3513
3513
|
}), "getRetryPlugin");
|
|
3514
|
-
var getRetryAfterHint = /* @__PURE__ */
|
|
3515
|
-
if (!
|
|
3514
|
+
var getRetryAfterHint = /* @__PURE__ */ U7VZULNU_cjs.__name((response) => {
|
|
3515
|
+
if (!OT5L7ME6_cjs.HttpResponse.isInstance(response)) return;
|
|
3516
3516
|
const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
|
|
3517
3517
|
if (!retryAfterHeaderName) return;
|
|
3518
3518
|
const retryAfter = response.headers[retryAfterHeaderName];
|
|
@@ -3523,42 +3523,42 @@ var getRetryAfterHint = /* @__PURE__ */ VO65XOWD_cjs.__name((response) => {
|
|
|
3523
3523
|
}, "getRetryAfterHint");
|
|
3524
3524
|
|
|
3525
3525
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/index.js
|
|
3526
|
-
|
|
3526
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3527
3527
|
|
|
3528
3528
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js
|
|
3529
|
-
|
|
3529
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3530
3530
|
|
|
3531
3531
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js
|
|
3532
|
-
|
|
3532
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3533
3533
|
|
|
3534
3534
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js
|
|
3535
|
-
|
|
3535
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3536
3536
|
|
|
3537
3537
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js
|
|
3538
|
-
|
|
3538
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3539
3539
|
|
|
3540
3540
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js
|
|
3541
|
-
|
|
3541
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3542
3542
|
|
|
3543
3543
|
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js
|
|
3544
|
-
|
|
3544
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3545
3545
|
|
|
3546
3546
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js
|
|
3547
|
-
|
|
3547
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3548
3548
|
|
|
3549
3549
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js
|
|
3550
|
-
|
|
3550
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3551
3551
|
|
|
3552
3552
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js
|
|
3553
|
-
|
|
3553
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3554
3554
|
|
|
3555
3555
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js
|
|
3556
|
-
var isCrtAvailable = /* @__PURE__ */
|
|
3556
|
+
var isCrtAvailable = /* @__PURE__ */ U7VZULNU_cjs.__name(() => {
|
|
3557
3557
|
return null;
|
|
3558
3558
|
}, "isCrtAvailable");
|
|
3559
3559
|
|
|
3560
3560
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js
|
|
3561
|
-
var createDefaultUserAgentProvider = /* @__PURE__ */
|
|
3561
|
+
var createDefaultUserAgentProvider = /* @__PURE__ */ U7VZULNU_cjs.__name(({ serviceId, clientVersion }) => {
|
|
3562
3562
|
return async (config) => {
|
|
3563
3563
|
const sections = [
|
|
3564
3564
|
[
|
|
@@ -3610,24 +3610,24 @@ var createDefaultUserAgentProvider = /* @__PURE__ */ VO65XOWD_cjs.__name(({ serv
|
|
|
3610
3610
|
}, "createDefaultUserAgentProvider");
|
|
3611
3611
|
|
|
3612
3612
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js
|
|
3613
|
-
|
|
3613
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3614
3614
|
var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
|
|
3615
3615
|
var UA_APP_ID_INI_NAME = "sdk_ua_app_id";
|
|
3616
3616
|
var UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
|
|
3617
3617
|
var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
3618
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
3619
|
-
configFileSelector: /* @__PURE__ */
|
|
3618
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => env2[UA_APP_ID_ENV_NAME], "environmentVariableSelector"),
|
|
3619
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], "configFileSelector"),
|
|
3620
3620
|
default: DEFAULT_UA_APP_ID
|
|
3621
3621
|
};
|
|
3622
3622
|
|
|
3623
3623
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js
|
|
3624
|
-
|
|
3624
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3625
3625
|
|
|
3626
3626
|
// ../../node_modules/.pnpm/@smithy+hash-node@4.0.5/node_modules/@smithy/hash-node/dist-es/index.js
|
|
3627
|
-
|
|
3627
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3628
3628
|
var Hash = class {
|
|
3629
3629
|
static {
|
|
3630
|
-
|
|
3630
|
+
U7VZULNU_cjs.__name(this, "Hash");
|
|
3631
3631
|
}
|
|
3632
3632
|
constructor(algorithmIdentifier, secret) {
|
|
3633
3633
|
this.algorithmIdentifier = algorithmIdentifier;
|
|
@@ -3635,7 +3635,7 @@ var Hash = class {
|
|
|
3635
3635
|
this.reset();
|
|
3636
3636
|
}
|
|
3637
3637
|
update(toHash, encoding) {
|
|
3638
|
-
this.hash.update(
|
|
3638
|
+
this.hash.update(OWTMHDOF_cjs.toUint8Array(castSourceData(toHash, encoding)));
|
|
3639
3639
|
}
|
|
3640
3640
|
digest() {
|
|
3641
3641
|
return Promise.resolve(this.hash.digest());
|
|
@@ -3649,18 +3649,18 @@ function castSourceData(toCast, encoding) {
|
|
|
3649
3649
|
return toCast;
|
|
3650
3650
|
}
|
|
3651
3651
|
if (typeof toCast === "string") {
|
|
3652
|
-
return
|
|
3652
|
+
return OWTMHDOF_cjs.fromString(toCast, encoding);
|
|
3653
3653
|
}
|
|
3654
3654
|
if (ArrayBuffer.isView(toCast)) {
|
|
3655
|
-
return
|
|
3655
|
+
return OWTMHDOF_cjs.fromArrayBuffer(toCast.buffer, toCast.byteOffset, toCast.byteLength);
|
|
3656
3656
|
}
|
|
3657
|
-
return
|
|
3657
|
+
return OWTMHDOF_cjs.fromArrayBuffer(toCast);
|
|
3658
3658
|
}
|
|
3659
|
-
|
|
3659
|
+
U7VZULNU_cjs.__name(castSourceData, "castSourceData");
|
|
3660
3660
|
|
|
3661
3661
|
// ../../node_modules/.pnpm/@smithy+util-body-length-node@4.0.0/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js
|
|
3662
|
-
|
|
3663
|
-
var calculateBodyLength = /* @__PURE__ */
|
|
3662
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3663
|
+
var calculateBodyLength = /* @__PURE__ */ U7VZULNU_cjs.__name((body) => {
|
|
3664
3664
|
if (!body) {
|
|
3665
3665
|
return 0;
|
|
3666
3666
|
}
|
|
@@ -3681,13 +3681,13 @@ var calculateBodyLength = /* @__PURE__ */ VO65XOWD_cjs.__name((body) => {
|
|
|
3681
3681
|
}, "calculateBodyLength");
|
|
3682
3682
|
|
|
3683
3683
|
// ../../node_modules/.pnpm/@smithy+util-body-length-node@4.0.0/node_modules/@smithy/util-body-length-node/dist-es/index.js
|
|
3684
|
-
|
|
3684
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3685
3685
|
|
|
3686
3686
|
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
3687
|
-
|
|
3687
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3688
3688
|
|
|
3689
3689
|
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js
|
|
3690
|
-
|
|
3690
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3691
3691
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
3692
3692
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
3693
3693
|
var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
|
|
@@ -3702,21 +3702,21 @@ var DEFAULTS_MODE_OPTIONS = [
|
|
|
3702
3702
|
var IMDS_REGION_PATH = "/latest/meta-data/placement/region";
|
|
3703
3703
|
|
|
3704
3704
|
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js
|
|
3705
|
-
|
|
3705
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3706
3706
|
var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
|
|
3707
3707
|
var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
|
|
3708
3708
|
var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
3709
|
-
environmentVariableSelector: /* @__PURE__ */
|
|
3709
|
+
environmentVariableSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((env2) => {
|
|
3710
3710
|
return env2[AWS_DEFAULTS_MODE_ENV];
|
|
3711
3711
|
}, "environmentVariableSelector"),
|
|
3712
|
-
configFileSelector: /* @__PURE__ */
|
|
3712
|
+
configFileSelector: /* @__PURE__ */ U7VZULNU_cjs.__name((profile) => {
|
|
3713
3713
|
return profile[AWS_DEFAULTS_MODE_CONFIG];
|
|
3714
3714
|
}, "configFileSelector"),
|
|
3715
3715
|
default: "legacy"
|
|
3716
3716
|
};
|
|
3717
3717
|
|
|
3718
3718
|
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
3719
|
-
var resolveDefaultsModeConfig = /* @__PURE__ */
|
|
3719
|
+
var resolveDefaultsModeConfig = /* @__PURE__ */ U7VZULNU_cjs.__name(({ region = F7OAIAEX_cjs.loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = F7OAIAEX_cjs.loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => JGLHYXTW_cjs.memoize(async () => {
|
|
3720
3720
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
3721
3721
|
switch (mode?.toLowerCase()) {
|
|
3722
3722
|
case "auto":
|
|
@@ -3733,7 +3733,7 @@ var resolveDefaultsModeConfig = /* @__PURE__ */ VO65XOWD_cjs.__name(({ region =
|
|
|
3733
3733
|
throw new Error(`Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}`);
|
|
3734
3734
|
}
|
|
3735
3735
|
}), "resolveDefaultsModeConfig");
|
|
3736
|
-
var resolveNodeDefaultsModeAuto = /* @__PURE__ */
|
|
3736
|
+
var resolveNodeDefaultsModeAuto = /* @__PURE__ */ U7VZULNU_cjs.__name(async (clientRegion) => {
|
|
3737
3737
|
if (clientRegion) {
|
|
3738
3738
|
const resolvedRegion = typeof clientRegion === "function" ? await clientRegion() : clientRegion;
|
|
3739
3739
|
const inferredRegion = await inferPhysicalRegion();
|
|
@@ -3748,13 +3748,13 @@ var resolveNodeDefaultsModeAuto = /* @__PURE__ */ VO65XOWD_cjs.__name(async (cli
|
|
|
3748
3748
|
}
|
|
3749
3749
|
return "standard";
|
|
3750
3750
|
}, "resolveNodeDefaultsModeAuto");
|
|
3751
|
-
var inferPhysicalRegion = /* @__PURE__ */
|
|
3751
|
+
var inferPhysicalRegion = /* @__PURE__ */ U7VZULNU_cjs.__name(async () => {
|
|
3752
3752
|
if (process.env[AWS_EXECUTION_ENV] && (process.env[AWS_REGION_ENV] || process.env[AWS_DEFAULT_REGION_ENV])) {
|
|
3753
3753
|
return process.env[AWS_REGION_ENV] ?? process.env[AWS_DEFAULT_REGION_ENV];
|
|
3754
3754
|
}
|
|
3755
3755
|
if (!process.env[ENV_IMDS_DISABLED]) {
|
|
3756
3756
|
try {
|
|
3757
|
-
const { getInstanceMetadataEndpoint, httpRequest } = await import('./
|
|
3757
|
+
const { getInstanceMetadataEndpoint, httpRequest } = await import('./HMP4FGDB.cjs');
|
|
3758
3758
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
3759
3759
|
return (await httpRequest({
|
|
3760
3760
|
...endpoint,
|
|
@@ -3766,11 +3766,11 @@ var inferPhysicalRegion = /* @__PURE__ */ VO65XOWD_cjs.__name(async () => {
|
|
|
3766
3766
|
}, "inferPhysicalRegion");
|
|
3767
3767
|
|
|
3768
3768
|
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js
|
|
3769
|
-
|
|
3769
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3770
3770
|
|
|
3771
3771
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js
|
|
3772
|
-
|
|
3773
|
-
var getAwsRegionExtensionConfiguration = /* @__PURE__ */
|
|
3772
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3773
|
+
var getAwsRegionExtensionConfiguration = /* @__PURE__ */ U7VZULNU_cjs.__name((runtimeConfig) => {
|
|
3774
3774
|
return {
|
|
3775
3775
|
setRegion(region) {
|
|
3776
3776
|
runtimeConfig.region = region;
|
|
@@ -3780,29 +3780,29 @@ var getAwsRegionExtensionConfiguration = /* @__PURE__ */ VO65XOWD_cjs.__name((ru
|
|
|
3780
3780
|
}
|
|
3781
3781
|
};
|
|
3782
3782
|
}, "getAwsRegionExtensionConfiguration");
|
|
3783
|
-
var resolveAwsRegionExtensionConfiguration = /* @__PURE__ */
|
|
3783
|
+
var resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ U7VZULNU_cjs.__name((awsRegionExtensionConfiguration) => {
|
|
3784
3784
|
return {
|
|
3785
3785
|
region: awsRegionExtensionConfiguration.region()
|
|
3786
3786
|
};
|
|
3787
3787
|
}, "resolveAwsRegionExtensionConfiguration");
|
|
3788
3788
|
|
|
3789
3789
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js
|
|
3790
|
-
|
|
3790
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3791
3791
|
|
|
3792
3792
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js
|
|
3793
|
-
|
|
3793
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3794
3794
|
|
|
3795
3795
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js
|
|
3796
|
-
|
|
3796
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3797
3797
|
|
|
3798
3798
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
3799
|
-
|
|
3799
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3800
3800
|
|
|
3801
3801
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
3802
|
-
|
|
3802
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3803
3803
|
|
|
3804
3804
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js
|
|
3805
|
-
|
|
3805
|
+
U7VZULNU_cjs.init_cjs_shims();
|
|
3806
3806
|
|
|
3807
3807
|
exports.AwsSdkSigV4Signer = AwsSdkSigV4Signer;
|
|
3808
3808
|
exports.DEFAULT_RETRY_MODE = DEFAULT_RETRY_MODE;
|
|
@@ -3845,5 +3845,5 @@ exports.resolveHostHeaderConfig = resolveHostHeaderConfig;
|
|
|
3845
3845
|
exports.resolveRegionConfig = resolveRegionConfig;
|
|
3846
3846
|
exports.resolveRetryConfig = resolveRetryConfig;
|
|
3847
3847
|
exports.resolveUserAgentConfig = resolveUserAgentConfig;
|
|
3848
|
-
//# sourceMappingURL=
|
|
3849
|
-
//# sourceMappingURL=
|
|
3848
|
+
//# sourceMappingURL=UN57VWAW.cjs.map
|
|
3849
|
+
//# sourceMappingURL=UN57VWAW.cjs.map
|