replicas-cli 0.2.283 → 0.2.285
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/{chunk-WHWH6H5W.mjs → chunk-4FSDNCBY.mjs} +55 -54
- package/dist/{chunk-IYT446IS.mjs → chunk-6VME6DX3.mjs} +377 -102
- package/dist/{chunk-Q2YIUYO5.mjs → chunk-KK6GYGUU.mjs} +12 -12
- package/dist/{chunk-VDOMBJEB.mjs → chunk-NVNLENJ4.mjs} +80 -72
- package/dist/{chunk-NE3F7K7B.mjs → chunk-RQL7JLTE.mjs} +11 -11
- package/dist/{chunk-BBX2YVOK.mjs → chunk-WQSLVATR.mjs} +33 -33
- package/dist/{dist-es-EC3POK4F.mjs → dist-es-BX7CYWBD.mjs} +22 -19
- package/dist/{dist-es-3AXDJI6F.mjs → dist-es-CGONY45O.mjs} +17 -17
- package/dist/{dist-es-SYSOOS3K.mjs → dist-es-DTKVVIKD.mjs} +4 -4
- package/dist/{dist-es-YYOEQY7N.mjs → dist-es-HR2XYBRQ.mjs} +7 -7
- package/dist/{dist-es-7KF5M4TT.mjs → dist-es-UCGFMRLC.mjs} +43 -35
- package/dist/{dist-es-HDJG642P.mjs → dist-es-UXGKQHMI.mjs} +9 -9
- package/dist/{dist-es-ZSLNSC26.mjs → dist-es-XUNSYJ43.mjs} +7 -7
- package/dist/{event-streams-LBH5ISIB.mjs → event-streams-HJSS3SIJ.mjs} +17 -17
- package/dist/index.mjs +182 -36
- package/dist/{loadSso-P6SZ6EZE.mjs → loadSso-HB5FHNX6.mjs} +19 -19
- package/dist/{signin-5AIFZB3D.mjs → signin-3CFFWTPH.mjs} +155 -77
- package/dist/{sso-oidc-BLJ4YGMZ.mjs → sso-oidc-HKJFKUG4.mjs} +21 -21
- package/dist/{sts-TZAOHYLW.mjs → sts-4KOQ3DIV.mjs} +434 -45
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
splitHeader,
|
|
17
17
|
toBase64,
|
|
18
18
|
toUtf8
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WQSLVATR.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__publicField
|
|
22
22
|
} from "./chunk-DR4JHUIF.mjs";
|
|
@@ -32,10 +32,10 @@ var IniSectionType;
|
|
|
32
32
|
IniSectionType2["SERVICES"] = "services";
|
|
33
33
|
})(IniSectionType || (IniSectionType = {}));
|
|
34
34
|
|
|
35
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
35
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
|
|
36
36
|
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
37
37
|
|
|
38
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
38
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
|
|
39
39
|
var normalizeProvider = (input) => {
|
|
40
40
|
if (typeof input === "function")
|
|
41
41
|
return input;
|
|
@@ -43,7 +43,7 @@ var normalizeProvider = (input) => {
|
|
|
43
43
|
return () => promisified;
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
46
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
|
|
47
47
|
function parseQueryString(querystring) {
|
|
48
48
|
const query = {};
|
|
49
49
|
querystring = querystring.replace(/^\?/, "");
|
|
@@ -66,7 +66,7 @@ function parseQueryString(querystring) {
|
|
|
66
66
|
return query;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
69
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
|
|
70
70
|
var parseUrl = (url) => {
|
|
71
71
|
if (typeof url === "string") {
|
|
72
72
|
return parseUrl(new URL(url));
|
|
@@ -85,7 +85,7 @@ var parseUrl = (url) => {
|
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
88
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
|
|
89
89
|
var HttpRequest = class _HttpRequest {
|
|
90
90
|
constructor(options) {
|
|
91
91
|
__publicField(this, "method");
|
|
@@ -142,7 +142,7 @@ function cloneQuery(query) {
|
|
|
142
142
|
}, {});
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
145
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
|
|
146
146
|
var HttpResponse = class {
|
|
147
147
|
constructor(options) {
|
|
148
148
|
__publicField(this, "statusCode");
|
|
@@ -162,7 +162,7 @@ var HttpResponse = class {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
165
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
|
|
166
166
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
167
167
|
var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
168
168
|
if (!allowSubDomains) {
|
|
@@ -177,7 +177,7 @@ var isValidHostLabel = (value, allowSubDomains = false) => {
|
|
|
177
177
|
return true;
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
180
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
|
|
181
181
|
var toEndpointV1 = (endpoint) => {
|
|
182
182
|
if (typeof endpoint === "object") {
|
|
183
183
|
if ("url" in endpoint) {
|
|
@@ -195,7 +195,7 @@ var toEndpointV1 = (endpoint) => {
|
|
|
195
195
|
return parseUrl(endpoint);
|
|
196
196
|
};
|
|
197
197
|
|
|
198
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
198
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
|
|
199
199
|
var _TypeRegistry = class _TypeRegistry {
|
|
200
200
|
constructor(namespace, schemas = /* @__PURE__ */ new Map(), exceptions = /* @__PURE__ */ new Map()) {
|
|
201
201
|
__publicField(this, "namespace");
|
|
@@ -299,7 +299,7 @@ var _TypeRegistry = class _TypeRegistry {
|
|
|
299
299
|
__publicField(_TypeRegistry, "registries", /* @__PURE__ */ new Map());
|
|
300
300
|
var TypeRegistry = _TypeRegistry;
|
|
301
301
|
|
|
302
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
302
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
|
|
303
303
|
var ProviderError = class _ProviderError extends Error {
|
|
304
304
|
constructor(message, options = true) {
|
|
305
305
|
let logger;
|
|
@@ -323,7 +323,7 @@ var ProviderError = class _ProviderError extends Error {
|
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
|
|
326
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
326
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
|
|
327
327
|
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
328
328
|
constructor(message, options = true) {
|
|
329
329
|
super(message, options);
|
|
@@ -332,15 +332,15 @@ var CredentialsProviderError = class _CredentialsProviderError extends ProviderE
|
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
|
|
335
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
335
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
|
|
336
336
|
var ENV_PROFILE = "AWS_PROFILE";
|
|
337
337
|
var DEFAULT_PROFILE = "default";
|
|
338
338
|
var getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
|
|
339
339
|
|
|
340
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
340
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
|
|
341
341
|
import { join } from "path";
|
|
342
342
|
|
|
343
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
343
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
|
|
344
344
|
import { homedir } from "os";
|
|
345
345
|
import { sep } from "path";
|
|
346
346
|
var homeDirCache = {};
|
|
@@ -364,17 +364,17 @@ var getHomeDir = () => {
|
|
|
364
364
|
return homeDirCache[homeDirCacheKey];
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
367
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
|
|
368
368
|
var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
|
|
369
369
|
var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
|
|
370
370
|
|
|
371
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
371
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
|
|
372
372
|
import { join as join3 } from "path";
|
|
373
373
|
|
|
374
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
374
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
|
|
375
375
|
var CONFIG_PREFIX_SEPARATOR = ".";
|
|
376
376
|
|
|
377
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
377
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
|
|
378
378
|
var getConfigData = (data) => Object.entries(data).filter(([key]) => {
|
|
379
379
|
const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
|
|
380
380
|
if (indexOfSeparator === -1) {
|
|
@@ -390,12 +390,12 @@ var getConfigData = (data) => Object.entries(data).filter(([key]) => {
|
|
|
390
390
|
...data.default && { default: data.default }
|
|
391
391
|
});
|
|
392
392
|
|
|
393
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
393
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
|
|
394
394
|
import { join as join2 } from "path";
|
|
395
395
|
var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
|
|
396
396
|
var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join2(getHomeDir(), ".aws", "credentials");
|
|
397
397
|
|
|
398
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
398
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
|
|
399
399
|
var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
|
|
400
400
|
var profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
401
401
|
var parseIni = (iniData) => {
|
|
@@ -444,7 +444,7 @@ var parseIni = (iniData) => {
|
|
|
444
444
|
return map;
|
|
445
445
|
};
|
|
446
446
|
|
|
447
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
447
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
|
|
448
448
|
import { readFile as fsReadFile } from "fs/promises";
|
|
449
449
|
var filePromises = {};
|
|
450
450
|
var fileIntercept = {};
|
|
@@ -458,7 +458,7 @@ var readFile = (path, options) => {
|
|
|
458
458
|
return filePromises[path];
|
|
459
459
|
};
|
|
460
460
|
|
|
461
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
461
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
|
|
462
462
|
var swallowError = () => ({});
|
|
463
463
|
var loadSharedConfigFiles = async (init = {}) => {
|
|
464
464
|
const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
|
|
@@ -486,14 +486,14 @@ var loadSharedConfigFiles = async (init = {}) => {
|
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
489
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
|
|
490
490
|
var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
|
|
491
491
|
|
|
492
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
492
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
|
|
493
493
|
var swallowError2 = () => ({});
|
|
494
494
|
var loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2);
|
|
495
495
|
|
|
496
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
496
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
|
|
497
497
|
var mergeConfigFiles = (...files) => {
|
|
498
498
|
const merged = {};
|
|
499
499
|
for (const file of files) {
|
|
@@ -508,16 +508,16 @@ var mergeConfigFiles = (...files) => {
|
|
|
508
508
|
return merged;
|
|
509
509
|
};
|
|
510
510
|
|
|
511
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
511
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
|
|
512
512
|
var parseKnownFiles = async (init) => {
|
|
513
513
|
const parsedFiles = await loadSharedConfigFiles(init);
|
|
514
514
|
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
515
515
|
};
|
|
516
516
|
|
|
517
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
517
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
|
|
518
518
|
import { readFile as readFile2 } from "fs/promises";
|
|
519
519
|
|
|
520
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
520
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
|
|
521
521
|
import { createHash } from "crypto";
|
|
522
522
|
import { join as join4 } from "path";
|
|
523
523
|
var getSSOTokenFilepath = (id) => {
|
|
@@ -526,7 +526,7 @@ var getSSOTokenFilepath = (id) => {
|
|
|
526
526
|
return join4(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
|
|
527
527
|
};
|
|
528
528
|
|
|
529
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
529
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
|
|
530
530
|
var tokenIntercept = {};
|
|
531
531
|
var getSSOTokenFromFile = async (id) => {
|
|
532
532
|
if (tokenIntercept[id]) {
|
|
@@ -537,7 +537,7 @@ var getSSOTokenFromFile = async (id) => {
|
|
|
537
537
|
return JSON.parse(ssoTokenText);
|
|
538
538
|
};
|
|
539
539
|
|
|
540
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
540
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
|
|
541
541
|
var externalDataInterceptor = {
|
|
542
542
|
getFileRecord() {
|
|
543
543
|
return fileIntercept;
|
|
@@ -553,7 +553,7 @@ var externalDataInterceptor = {
|
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
555
|
|
|
556
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
556
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
|
|
557
557
|
var chain = (...providers) => async () => {
|
|
558
558
|
if (providers.length === 0) {
|
|
559
559
|
throw new ProviderError("No providers in chain");
|
|
@@ -574,7 +574,7 @@ var chain = (...providers) => async () => {
|
|
|
574
574
|
throw lastProviderError;
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
577
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
|
|
578
578
|
var memoize = (provider, isExpired, requiresRefresh) => {
|
|
579
579
|
let resolved;
|
|
580
580
|
let pending;
|
|
@@ -620,7 +620,7 @@ var memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
620
620
|
};
|
|
621
621
|
};
|
|
622
622
|
|
|
623
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
623
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
|
|
624
624
|
function getSelectorName(functionString) {
|
|
625
625
|
try {
|
|
626
626
|
const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
|
|
@@ -633,7 +633,7 @@ function getSelectorName(functionString) {
|
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
636
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
|
|
637
637
|
var fromEnv = (envVarSelector, options) => async () => {
|
|
638
638
|
try {
|
|
639
639
|
const config = envVarSelector(process.env, options);
|
|
@@ -646,7 +646,7 @@ var fromEnv = (envVarSelector, options) => async () => {
|
|
|
646
646
|
}
|
|
647
647
|
};
|
|
648
648
|
|
|
649
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
649
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
|
|
650
650
|
var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
|
|
651
651
|
const profile = getProfileName(init);
|
|
652
652
|
const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
|
|
@@ -665,21 +665,21 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
|
|
|
665
665
|
}
|
|
666
666
|
};
|
|
667
667
|
|
|
668
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
668
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
|
|
669
669
|
var fromValue = (staticValue) => () => Promise.resolve(staticValue);
|
|
670
670
|
|
|
671
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
671
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
|
|
672
672
|
var isFunction = (func) => typeof func === "function";
|
|
673
673
|
var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);
|
|
674
674
|
|
|
675
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
675
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
|
|
676
676
|
var loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
|
|
677
677
|
const { signingName, logger } = configuration;
|
|
678
678
|
const envOptions = { signingName, logger };
|
|
679
679
|
return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));
|
|
680
680
|
};
|
|
681
681
|
|
|
682
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
682
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
|
|
683
683
|
var validRegions = /* @__PURE__ */ new Set();
|
|
684
684
|
var checkRegion = (region, check = isValidHostLabel) => {
|
|
685
685
|
if (!validRegions.has(region) && !check(region)) {
|
|
@@ -693,13 +693,13 @@ var checkRegion = (region, check = isValidHostLabel) => {
|
|
|
693
693
|
}
|
|
694
694
|
};
|
|
695
695
|
|
|
696
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
696
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
|
|
697
697
|
var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
|
|
698
698
|
|
|
699
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
699
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
|
|
700
700
|
var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
|
|
701
701
|
|
|
702
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
702
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
|
|
703
703
|
var resolveRegionConfig = (input) => {
|
|
704
704
|
const { region, useFipsEndpoint } = input;
|
|
705
705
|
if (!region) {
|
|
@@ -722,7 +722,7 @@ var resolveRegionConfig = (input) => {
|
|
|
722
722
|
});
|
|
723
723
|
};
|
|
724
724
|
|
|
725
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
725
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
|
|
726
726
|
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
727
727
|
constructor(message, options = true) {
|
|
728
728
|
super(message, options);
|
|
@@ -731,7 +731,7 @@ var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
|
|
734
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
734
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
|
|
735
735
|
var booleanSelector = (obj, key, type) => {
|
|
736
736
|
if (!(key in obj))
|
|
737
737
|
return void 0;
|
|
@@ -742,14 +742,14 @@ var booleanSelector = (obj, key, type) => {
|
|
|
742
742
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
743
743
|
};
|
|
744
744
|
|
|
745
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
745
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
|
|
746
746
|
var SelectorType;
|
|
747
747
|
(function(SelectorType2) {
|
|
748
748
|
SelectorType2["ENV"] = "env";
|
|
749
749
|
SelectorType2["CONFIG"] = "shared config entry";
|
|
750
750
|
})(SelectorType || (SelectorType = {}));
|
|
751
751
|
|
|
752
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
752
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
753
753
|
var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
|
|
754
754
|
var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
755
755
|
var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
@@ -758,7 +758,7 @@ var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
758
758
|
default: false
|
|
759
759
|
};
|
|
760
760
|
|
|
761
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
761
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
762
762
|
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
763
763
|
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
764
764
|
var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
@@ -767,7 +767,7 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
|
767
767
|
default: false
|
|
768
768
|
};
|
|
769
769
|
|
|
770
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
770
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
771
771
|
var deref = (schemaRef) => {
|
|
772
772
|
if (typeof schemaRef === "function") {
|
|
773
773
|
return schemaRef();
|
|
@@ -775,7 +775,7 @@ var deref = (schemaRef) => {
|
|
|
775
775
|
return schemaRef;
|
|
776
776
|
};
|
|
777
777
|
|
|
778
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
778
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
|
|
779
779
|
var traitsCache = [];
|
|
780
780
|
function translateTraits(indicator) {
|
|
781
781
|
if (typeof indicator === "object") {
|
|
@@ -803,7 +803,7 @@ function translateTraits(indicator) {
|
|
|
803
803
|
return traitsCache[indicator] = traits;
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
806
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
807
807
|
var anno = {
|
|
808
808
|
it: /* @__PURE__ */ Symbol.for("@smithy/nor-struct-it"),
|
|
809
809
|
ns: /* @__PURE__ */ Symbol.for("@smithy/ns")
|
|
@@ -1086,7 +1086,7 @@ function member(memberSchema, memberName) {
|
|
|
1086
1086
|
var isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
|
|
1087
1087
|
var isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
|
|
1088
1088
|
|
|
1089
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1089
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
|
|
1090
1090
|
var REGION_ENV_NAME = "AWS_REGION";
|
|
1091
1091
|
var REGION_INI_NAME = "region";
|
|
1092
1092
|
var NODE_REGION_CONFIG_OPTIONS = {
|
|
@@ -1100,7 +1100,7 @@ var NODE_REGION_CONFIG_FILE_OPTIONS = {
|
|
|
1100
1100
|
preferredFile: "credentials"
|
|
1101
1101
|
};
|
|
1102
1102
|
|
|
1103
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1103
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
|
|
1104
1104
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
1105
1105
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
1106
1106
|
var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
|
|
@@ -1108,7 +1108,7 @@ var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
|
1108
1108
|
var DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"];
|
|
1109
1109
|
var IMDS_REGION_PATH = "/latest/meta-data/placement/region";
|
|
1110
1110
|
|
|
1111
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1111
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
|
|
1112
1112
|
var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
|
|
1113
1113
|
var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
|
|
1114
1114
|
var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
@@ -1121,7 +1121,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
|
1121
1121
|
default: "legacy"
|
|
1122
1122
|
};
|
|
1123
1123
|
|
|
1124
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1124
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
|
|
1125
1125
|
var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
|
|
1126
1126
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
1127
1127
|
switch (mode?.toLowerCase()) {
|
|
@@ -1214,7 +1214,7 @@ var imdsHttpGet = async ({ hostname, path }) => {
|
|
|
1214
1214
|
});
|
|
1215
1215
|
};
|
|
1216
1216
|
|
|
1217
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1217
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
|
|
1218
1218
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
1219
1219
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
1220
1220
|
return (next) => async (args) => {
|
|
@@ -1250,7 +1250,7 @@ var getContentLengthPlugin = (options) => ({
|
|
|
1250
1250
|
}
|
|
1251
1251
|
});
|
|
1252
1252
|
|
|
1253
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1253
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
|
|
1254
1254
|
var collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
1255
1255
|
if (streamBody instanceof Uint8Array) {
|
|
1256
1256
|
return Uint8ArrayBlobAdapter.mutate(streamBody);
|
|
@@ -1262,14 +1262,14 @@ var collectBody = async (streamBody = new Uint8Array(), context) => {
|
|
|
1262
1262
|
return Uint8ArrayBlobAdapter.mutate(await fromContext);
|
|
1263
1263
|
};
|
|
1264
1264
|
|
|
1265
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1265
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
|
|
1266
1266
|
function extendedEncodeURIComponent(str) {
|
|
1267
1267
|
return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
|
|
1268
1268
|
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
1269
1269
|
});
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1272
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
|
|
1273
1273
|
var SerdeContext = class {
|
|
1274
1274
|
constructor() {
|
|
1275
1275
|
__publicField(this, "serdeContext");
|
|
@@ -1279,7 +1279,7 @@ var SerdeContext = class {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
};
|
|
1281
1281
|
|
|
1282
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1282
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
|
|
1283
1283
|
var HttpProtocol = class extends SerdeContext {
|
|
1284
1284
|
constructor(options) {
|
|
1285
1285
|
super();
|
|
@@ -1390,15 +1390,23 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
1390
1390
|
});
|
|
1391
1391
|
}
|
|
1392
1392
|
async loadEventStreamCapability() {
|
|
1393
|
-
const { EventStreamSerde } = await import("./event-streams-
|
|
1393
|
+
const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-HJSS3SIJ.mjs");
|
|
1394
|
+
const marshaller = this.resolveEventStreamMarshaller(eventStreamSerdeProvider);
|
|
1394
1395
|
return new EventStreamSerde({
|
|
1395
|
-
marshaller
|
|
1396
|
+
marshaller,
|
|
1396
1397
|
serializer: this.serializer,
|
|
1397
1398
|
deserializer: this.deserializer,
|
|
1398
1399
|
serdeContext: this.serdeContext,
|
|
1399
1400
|
defaultContentType: this.getDefaultContentType()
|
|
1400
1401
|
});
|
|
1401
1402
|
}
|
|
1403
|
+
resolveEventStreamMarshaller(importedProvider) {
|
|
1404
|
+
const context = this.serdeContext;
|
|
1405
|
+
if (context.eventStreamMarshaller) {
|
|
1406
|
+
return context.eventStreamMarshaller;
|
|
1407
|
+
}
|
|
1408
|
+
return importedProvider(this.serdeContext);
|
|
1409
|
+
}
|
|
1402
1410
|
getDefaultContentType() {
|
|
1403
1411
|
throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
|
|
1404
1412
|
}
|
|
@@ -1419,7 +1427,7 @@ var HttpProtocol = class extends SerdeContext {
|
|
|
1419
1427
|
}
|
|
1420
1428
|
};
|
|
1421
1429
|
|
|
1422
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1430
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
|
|
1423
1431
|
var HttpBindingProtocol = class extends HttpProtocol {
|
|
1424
1432
|
async serializeRequest(operationSchema, _input, context) {
|
|
1425
1433
|
const input = _input && typeof _input === "object" ? _input : {};
|
|
@@ -1683,7 +1691,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
1683
1691
|
}
|
|
1684
1692
|
};
|
|
1685
1693
|
|
|
1686
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1694
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
|
|
1687
1695
|
var RpcProtocol = class extends HttpProtocol {
|
|
1688
1696
|
async serializeRequest(operationSchema, _input, context) {
|
|
1689
1697
|
const serializer = this.serializer;
|
|
@@ -1771,7 +1779,7 @@ var RpcProtocol = class extends HttpProtocol {
|
|
|
1771
1779
|
}
|
|
1772
1780
|
};
|
|
1773
1781
|
|
|
1774
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1782
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
|
|
1775
1783
|
function determineTimestampFormat(ns, settings) {
|
|
1776
1784
|
if (settings.timestampFormat.useTrait) {
|
|
1777
1785
|
if (ns.isTimestampSchema() && (ns.getSchema() === 5 || ns.getSchema() === 6 || ns.getSchema() === 7)) {
|
|
@@ -1783,7 +1791,7 @@ function determineTimestampFormat(ns, settings) {
|
|
|
1783
1791
|
return bindingFormat ?? settings.timestampFormat.default;
|
|
1784
1792
|
}
|
|
1785
1793
|
|
|
1786
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1794
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
|
|
1787
1795
|
var FromStringShapeDeserializer = class extends SerdeContext {
|
|
1788
1796
|
constructor(settings) {
|
|
1789
1797
|
super();
|
|
@@ -1845,7 +1853,7 @@ var FromStringShapeDeserializer = class extends SerdeContext {
|
|
|
1845
1853
|
}
|
|
1846
1854
|
};
|
|
1847
1855
|
|
|
1848
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1856
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
|
|
1849
1857
|
var HttpInterceptingShapeDeserializer = class extends SerdeContext {
|
|
1850
1858
|
constructor(codecDeserializer, codecSettings) {
|
|
1851
1859
|
super();
|
|
@@ -1884,7 +1892,7 @@ var HttpInterceptingShapeDeserializer = class extends SerdeContext {
|
|
|
1884
1892
|
}
|
|
1885
1893
|
};
|
|
1886
1894
|
|
|
1887
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1895
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
|
|
1888
1896
|
var ToStringShapeSerializer = class extends SerdeContext {
|
|
1889
1897
|
constructor(settings) {
|
|
1890
1898
|
super();
|
|
@@ -1971,7 +1979,7 @@ var ToStringShapeSerializer = class extends SerdeContext {
|
|
|
1971
1979
|
}
|
|
1972
1980
|
};
|
|
1973
1981
|
|
|
1974
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1982
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
|
|
1975
1983
|
var HttpInterceptingShapeSerializer = class {
|
|
1976
1984
|
constructor(codecSerializer, codecSettings, stringSerializer = new ToStringShapeSerializer(codecSettings)) {
|
|
1977
1985
|
__publicField(this, "codecSerializer");
|
|
@@ -2004,7 +2012,7 @@ var HttpInterceptingShapeSerializer = class {
|
|
|
2004
2012
|
}
|
|
2005
2013
|
};
|
|
2006
2014
|
|
|
2007
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
2015
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
|
|
2008
2016
|
var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
2009
2017
|
return {
|
|
2010
2018
|
setHttpHandler(handler) {
|
|
@@ -2027,11 +2035,11 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
|
|
|
2027
2035
|
};
|
|
2028
2036
|
};
|
|
2029
2037
|
|
|
2030
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
2038
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
|
|
2031
2039
|
var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
|
|
2032
2040
|
var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
|
|
2033
2041
|
|
|
2034
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
2042
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
|
|
2035
2043
|
function buildQueryString(query) {
|
|
2036
2044
|
const parts = [];
|
|
2037
2045
|
for (let key of Object.keys(query).sort()) {
|