@larkup/cli 0.3.11 → 0.3.15

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.
Files changed (43) hide show
  1. package/dist/api-T4HV5OFN.js +6936 -0
  2. package/dist/{chunk-TJPYJ5TS.js → chunk-54YIZOXQ.js} +13 -13
  3. package/dist/{chunk-RN25NOBI.js → chunk-6HRBZ7QP.js} +3 -3
  4. package/dist/{chunk-HQPSE5ZU.js → chunk-6VBJAFWY.js} +63 -55
  5. package/dist/{chunk-QKPH65NY.js → chunk-CUA3FHFQ.js} +16 -16
  6. package/dist/{chunk-ERDDY5EQ.js → chunk-DTRGAEFR.js} +4 -4
  7. package/dist/{chunk-QAJSSODU.js → chunk-FMBWCTFV.js} +116 -67
  8. package/dist/chunk-GYXT77I3.js +515 -0
  9. package/dist/{chunk-MACWQEJS.js → chunk-HYYSI5FE.js} +103 -80
  10. package/dist/{chunk-X46UIKQW.js → chunk-OFWLJSVC.js} +5 -5
  11. package/dist/{event-streams-NVY5IGD3.js → chunk-PFTSXAZG.js} +31 -31
  12. package/dist/{chunk-J2AR7L2Q.js → chunk-RJ2NIMTP.js} +2 -2
  13. package/dist/chunk-TFGGCUFR.js +126 -0
  14. package/dist/{chunk-ZBGNJVTC.js → chunk-VZAREDRR.js} +3 -3
  15. package/dist/{chunk-2IVYLF4F.js → chunk-YOPP3ETL.js} +108 -67
  16. package/dist/{chunk-7KURHXYU.js → chunk-ZH2A3TFQ.js} +44 -44
  17. package/dist/{dist-es-YVYT5SVI.js → dist-es-3SVFRI6P.js} +250 -224
  18. package/dist/{dist-es-7LQAPSS6.js → dist-es-CM7567P2.js} +8 -8
  19. package/dist/{dist-es-WEJJDMJW.js → dist-es-DC3KLBPR.js} +9 -9
  20. package/dist/{dist-es-G4H4NZOY.js → dist-es-FEVR73CQ.js} +8 -8
  21. package/dist/{dist-es-DAE2AYZV.js → dist-es-IS5PH45I.js} +24 -31
  22. package/dist/{dist-es-6MPMKRLG.js → dist-es-KY7QTIEX.js} +22 -22
  23. package/dist/{dist-es-UWL5EGDP.js → dist-es-M6OXVHSI.js} +2 -2
  24. package/dist/{dist-es-CVOBCRJ5.js → dist-es-OB4H2RSG.js} +10 -10
  25. package/dist/{dist-es-PQXH3VYE.js → dist-es-PY4YS7TC.js} +9 -12
  26. package/dist/{dist-es-3L6W7F7P.js → dist-es-ZDCXFYRX.js} +5 -5
  27. package/dist/{event-streams-RZ2JU5EF.js → event-streams-KOWL2S4G.js} +3 -2
  28. package/dist/index.js +48 -28
  29. package/dist/{lexer-DQCqS3nf-CGRGK47I.js → lexer-CanA6ArK-VIUEPQRT.js} +4 -4
  30. package/dist/{loadSso-DEHYSFO4.js → loadSso-OLMNBQ4H.js} +69 -68
  31. package/dist/{signin-CTAMN4QW.js → signin-NBTUJ5KD.js} +73 -72
  32. package/dist/{sso-oidc-ZYLSPNAE.js → sso-oidc-WNK6HQX7.js} +79 -71
  33. package/dist/{sts-EQDDSBAR.js → sts-TGY2Y4DZ.js} +92 -85
  34. package/dist/{tool-loader-JRRAAYTQ.js → tool-loader-K6PLXSLW.js} +2 -2
  35. package/dist/{tool-registry-WZ2RDXVS.js → tool-registry-G35SY4WN.js} +1 -1
  36. package/package.json +12 -12
  37. package/dist/api-X4PHQJTH.js +0 -6943
  38. package/dist/chunk-3GL3SZFJ.js +0 -212
  39. package/dist/chunk-5BX2UVG2.js +0 -2352
  40. package/dist/chunk-5RGEHTEF.js +0 -646
  41. package/dist/chunk-A2PXF6Y7.js +0 -1426
  42. package/dist/chunk-IPKRK5UI.js +0 -73
  43. package/dist/chunk-ZYHZIBTH.js +0 -1272
@@ -24,9 +24,9 @@ import {
24
24
  toBase64,
25
25
  toUtf8,
26
26
  translateTraits
27
- } from "./chunk-MACWQEJS.js";
27
+ } from "./chunk-HYYSI5FE.js";
28
28
 
29
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
29
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
30
30
  var ProviderError = class _ProviderError extends Error {
31
31
  name = "ProviderError";
32
32
  tryNextLink;
@@ -50,7 +50,7 @@ var ProviderError = class _ProviderError extends Error {
50
50
  }
51
51
  };
52
52
 
53
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
53
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
54
54
  var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
55
55
  name = "CredentialsProviderError";
56
56
  constructor(message, options = true) {
@@ -59,15 +59,15 @@ var CredentialsProviderError = class _CredentialsProviderError extends ProviderE
59
59
  }
60
60
  };
61
61
 
62
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
62
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
63
63
  var ENV_PROFILE = "AWS_PROFILE";
64
64
  var DEFAULT_PROFILE = "default";
65
65
  var getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
66
66
 
67
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
67
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
68
68
  import { join } from "path";
69
69
 
70
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
70
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
71
71
  import { homedir } from "os";
72
72
  import { sep } from "path";
73
73
  var homeDirCache = {};
@@ -91,17 +91,17 @@ var getHomeDir = () => {
91
91
  return homeDirCache[homeDirCacheKey];
92
92
  };
93
93
 
94
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
94
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
95
95
  var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
96
96
  var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
97
97
 
98
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
98
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
99
99
  import { join as join3 } from "path";
100
100
 
101
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
101
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
102
102
  var CONFIG_PREFIX_SEPARATOR = ".";
103
103
 
104
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
104
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
105
105
  var getConfigData = (data) => Object.entries(data).filter(([key]) => {
106
106
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
107
107
  if (indexOfSeparator === -1) {
@@ -117,12 +117,12 @@ var getConfigData = (data) => Object.entries(data).filter(([key]) => {
117
117
  ...data.default && { default: data.default }
118
118
  });
119
119
 
120
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
120
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
121
121
  import { join as join2 } from "path";
122
122
  var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
123
123
  var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join2(getHomeDir(), ".aws", "credentials");
124
124
 
125
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
125
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
126
126
  var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@+.%:/]+)\2$/;
127
127
  var profileNameBlockList = ["__proto__", "profile __proto__"];
128
128
  var parseIni = (iniData) => {
@@ -171,7 +171,7 @@ var parseIni = (iniData) => {
171
171
  return map;
172
172
  };
173
173
 
174
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
174
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
175
175
  import { readFile as fsReadFile } from "fs/promises";
176
176
  var filePromises = {};
177
177
  var fileIntercept = {};
@@ -185,7 +185,7 @@ var readFile = (path, options) => {
185
185
  return filePromises[path];
186
186
  };
187
187
 
188
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
188
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
189
189
  var swallowError = () => ({});
190
190
  var loadSharedConfigFiles = async (init = {}) => {
191
191
  const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
@@ -213,14 +213,14 @@ var loadSharedConfigFiles = async (init = {}) => {
213
213
  };
214
214
  };
215
215
 
216
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
216
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
217
217
  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 }), {});
218
218
 
219
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
219
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
220
220
  var swallowError2 = () => ({});
221
221
  var loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2);
222
222
 
223
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
223
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
224
224
  var mergeConfigFiles = (...files) => {
225
225
  const merged = {};
226
226
  for (const file of files) {
@@ -235,16 +235,16 @@ var mergeConfigFiles = (...files) => {
235
235
  return merged;
236
236
  };
237
237
 
238
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
238
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
239
239
  var parseKnownFiles = async (init) => {
240
240
  const parsedFiles = await loadSharedConfigFiles(init);
241
241
  return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
242
242
  };
243
243
 
244
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
244
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
245
245
  import { readFile as readFile2 } from "fs/promises";
246
246
 
247
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
247
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
248
248
  import { createHash } from "crypto";
249
249
  import { join as join4 } from "path";
250
250
  var getSSOTokenFilepath = (id) => {
@@ -253,7 +253,7 @@ var getSSOTokenFilepath = (id) => {
253
253
  return join4(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
254
254
  };
255
255
 
256
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
256
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
257
257
  var tokenIntercept = {};
258
258
  var getSSOTokenFromFile = async (id) => {
259
259
  if (tokenIntercept[id]) {
@@ -264,7 +264,7 @@ var getSSOTokenFromFile = async (id) => {
264
264
  return JSON.parse(ssoTokenText);
265
265
  };
266
266
 
267
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
267
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
268
268
  var externalDataInterceptor = {
269
269
  getFileRecord() {
270
270
  return fileIntercept;
@@ -280,7 +280,7 @@ var externalDataInterceptor = {
280
280
  }
281
281
  };
282
282
 
283
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
283
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
284
284
  var chain = (...providers) => async () => {
285
285
  if (providers.length === 0) {
286
286
  throw new ProviderError("No providers in chain");
@@ -301,7 +301,7 @@ var chain = (...providers) => async () => {
301
301
  throw lastProviderError;
302
302
  };
303
303
 
304
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
304
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
305
305
  var memoize = (provider, isExpired, requiresRefresh) => {
306
306
  let resolved;
307
307
  let pending;
@@ -347,7 +347,7 @@ var memoize = (provider, isExpired, requiresRefresh) => {
347
347
  };
348
348
  };
349
349
 
350
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
350
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
351
351
  function getSelectorName(functionString) {
352
352
  try {
353
353
  const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
@@ -360,7 +360,7 @@ function getSelectorName(functionString) {
360
360
  }
361
361
  }
362
362
 
363
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
363
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
364
364
  var fromEnv = (envVarSelector, options) => async () => {
365
365
  try {
366
366
  const config = envVarSelector(process.env, options);
@@ -373,7 +373,7 @@ var fromEnv = (envVarSelector, options) => async () => {
373
373
  }
374
374
  };
375
375
 
376
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
376
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
377
377
  var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
378
378
  const profile = getProfileName(init);
379
379
  const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
@@ -392,21 +392,21 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
392
392
  }
393
393
  };
394
394
 
395
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
395
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
396
396
  var fromValue = (staticValue) => () => Promise.resolve(staticValue);
397
397
 
398
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
398
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
399
399
  var isFunction = (func) => typeof func === "function";
400
400
  var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);
401
401
 
402
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
402
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
403
403
  var loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
404
404
  const { signingName, logger } = configuration;
405
405
  const envOptions = { signingName, logger };
406
406
  return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));
407
407
  };
408
408
 
409
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
409
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
410
410
  var validRegions = /* @__PURE__ */ new Set();
411
411
  var checkRegion = (region, check = isValidHostLabel) => {
412
412
  if (!validRegions.has(region) && !check(region)) {
@@ -420,13 +420,13 @@ var checkRegion = (region, check = isValidHostLabel) => {
420
420
  }
421
421
  };
422
422
 
423
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
423
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
424
424
  var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
425
425
 
426
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
426
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
427
427
  var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
428
428
 
429
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
429
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
430
430
  var resolveRegionConfig = (input) => {
431
431
  const { region, useFipsEndpoint } = input;
432
432
  if (!region) {
@@ -449,7 +449,16 @@ var resolveRegionConfig = (input) => {
449
449
  });
450
450
  };
451
451
 
452
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
452
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
453
+ var TokenProviderError = class _TokenProviderError extends ProviderError {
454
+ name = "TokenProviderError";
455
+ constructor(message, options = true) {
456
+ super(message, options);
457
+ Object.setPrototypeOf(this, _TokenProviderError.prototype);
458
+ }
459
+ };
460
+
461
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
453
462
  var booleanSelector = (obj, key, type) => {
454
463
  if (!(key in obj))
455
464
  return void 0;
@@ -460,14 +469,14 @@ var booleanSelector = (obj, key, type) => {
460
469
  throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
461
470
  };
462
471
 
463
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
472
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
464
473
  var SelectorType;
465
474
  (function(SelectorType2) {
466
475
  SelectorType2["ENV"] = "env";
467
476
  SelectorType2["CONFIG"] = "shared config entry";
468
477
  })(SelectorType || (SelectorType = {}));
469
478
 
470
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
479
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
471
480
  var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
472
481
  var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
473
482
  var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
@@ -476,7 +485,7 @@ var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
476
485
  default: false
477
486
  };
478
487
 
479
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
488
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
480
489
  var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
481
490
  var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
482
491
  var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
@@ -485,7 +494,7 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
485
494
  default: false
486
495
  };
487
496
 
488
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
497
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
489
498
  var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
490
499
  var AWS_REGION_ENV = "AWS_REGION";
491
500
  var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
@@ -496,7 +505,7 @@ var IMDS_TOKEN_PATH = "/latest/api/token";
496
505
  var X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token";
497
506
  var X_AWS_EC2_METADATA_TOKEN_TTL = "x-aws-ec2-metadata-token-ttl-seconds";
498
507
 
499
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js
508
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js
500
509
  var TIMEOUT_MS = 1e3;
501
510
  var NEG_CACHE_TTL_MS = 6e4;
502
511
  var negativeCacheUntil = 0;
@@ -586,7 +595,7 @@ var imdsRequest = async (options) => {
586
595
  });
587
596
  };
588
597
 
589
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
598
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
590
599
  var REGION_ENV_NAME = "AWS_REGION";
591
600
  var REGION_INI_NAME = "region";
592
601
  var NODE_REGION_CONFIG_OPTIONS = {
@@ -604,7 +613,7 @@ var NODE_REGION_CONFIG_FILE_OPTIONS = {
604
613
  preferredFile: "credentials"
605
614
  };
606
615
 
607
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
616
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
608
617
  var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
609
618
  var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
610
619
  var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
@@ -617,7 +626,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
617
626
  default: "legacy"
618
627
  };
619
628
 
620
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
629
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
621
630
  var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
622
631
  const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
623
632
  switch (mode?.toLowerCase()) {
@@ -657,7 +666,7 @@ var inferPhysicalRegion = async () => {
657
666
  return getInstanceMetadataRegion();
658
667
  };
659
668
 
660
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
669
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
661
670
  var CONTENT_LENGTH_HEADER = "content-length";
662
671
  function contentLengthMiddleware(bodyLengthChecker) {
663
672
  return (next) => async (args) => {
@@ -695,7 +704,7 @@ var getContentLengthPlugin = (options) => ({
695
704
  }
696
705
  });
697
706
 
698
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
707
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
699
708
  var collectBody = async (streamBody = new Uint8Array(), context) => {
700
709
  if (streamBody instanceof Uint8Array) {
701
710
  return Uint8ArrayBlobAdapter.mutate(streamBody);
@@ -707,14 +716,14 @@ var collectBody = async (streamBody = new Uint8Array(), context) => {
707
716
  return Uint8ArrayBlobAdapter.mutate(await fromContext);
708
717
  };
709
718
 
710
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
719
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
711
720
  function extendedEncodeURIComponent(str) {
712
721
  return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
713
722
  return "%" + c.charCodeAt(0).toString(16).toUpperCase();
714
723
  });
715
724
  }
716
725
 
717
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
726
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
718
727
  var SerdeContext = class {
719
728
  serdeContext;
720
729
  setSerdeContext(serdeContext) {
@@ -722,14 +731,14 @@ var SerdeContext = class {
722
731
  }
723
732
  };
724
733
 
725
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
734
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
726
735
  var HttpProtocol = class extends SerdeContext {
727
736
  options;
728
737
  compositeErrorRegistry;
729
738
  constructor(options) {
730
739
  super();
731
740
  this.options = options;
732
- this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace);
741
+ this.compositeErrorRegistry = new TypeRegistry(options.defaultNamespace);
733
742
  for (const etr of options.errorTypeRegistries ?? []) {
734
743
  this.compositeErrorRegistry.copyFrom(etr);
735
744
  }
@@ -823,6 +832,44 @@ var HttpProtocol = class extends SerdeContext {
823
832
  cfId: output.headers["x-amz-cf-id"]
824
833
  };
825
834
  }
835
+ resolveError(name, namespaces, registries) {
836
+ const defaultErrorSchema = [-3, "", "Error", 0, [], [], 0];
837
+ let schema;
838
+ for (const registry of registries) {
839
+ for (const ns of namespaces) {
840
+ try {
841
+ if (ns === "*") {
842
+ schema = registry.getSchema(name);
843
+ } else {
844
+ schema = registry.getSchema(ns + "#" + name);
845
+ }
846
+ const errorCtor = registry.getErrorCtor(schema);
847
+ if (errorCtor) {
848
+ return [schema, errorCtor, "modeled"];
849
+ } else {
850
+ const syntheticErrorSchema = registry.getBaseException();
851
+ if (syntheticErrorSchema) {
852
+ const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);
853
+ if (syntheticErrorCtor) {
854
+ return [schema, syntheticErrorCtor, "synthetic"];
855
+ }
856
+ }
857
+ }
858
+ } catch (ignored) {
859
+ }
860
+ }
861
+ }
862
+ for (const registry of registries) {
863
+ const syntheticErrorSchema = registry.getBaseException();
864
+ if (syntheticErrorSchema) {
865
+ const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);
866
+ if (syntheticErrorCtor) {
867
+ return [syntheticErrorSchema, syntheticErrorCtor, "synthetic"];
868
+ }
869
+ }
870
+ }
871
+ return [defaultErrorSchema, Error, "native"];
872
+ }
826
873
  async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
827
874
  const eventStreamSerde = await this.loadEventStreamCapability();
828
875
  return eventStreamSerde.serializeEventStream({
@@ -840,7 +887,7 @@ var HttpProtocol = class extends SerdeContext {
840
887
  });
841
888
  }
842
889
  async loadEventStreamCapability() {
843
- const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-RZ2JU5EF.js");
890
+ const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-KOWL2S4G.js");
844
891
  const marshaller = this.resolveEventStreamMarshaller(eventStreamSerdeProvider);
845
892
  return new EventStreamSerde({
846
893
  marshaller,
@@ -851,13 +898,6 @@ var HttpProtocol = class extends SerdeContext {
851
898
  compositeErrorRegistry: this.compositeErrorRegistry
852
899
  });
853
900
  }
854
- resolveEventStreamMarshaller(importedProvider) {
855
- const context = this.serdeContext;
856
- if (context.eventStreamMarshaller) {
857
- return context.eventStreamMarshaller;
858
- }
859
- return importedProvider(this.serdeContext);
860
- }
861
901
  getDefaultContentType() {
862
902
  throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
863
903
  }
@@ -876,9 +916,16 @@ var HttpProtocol = class extends SerdeContext {
876
916
  }
877
917
  return context.eventStreamMarshaller;
878
918
  }
919
+ resolveEventStreamMarshaller(importedProvider) {
920
+ const context = this.serdeContext;
921
+ if (context.eventStreamMarshaller) {
922
+ return context.eventStreamMarshaller;
923
+ }
924
+ return importedProvider(this.serdeContext);
925
+ }
879
926
  };
880
927
 
881
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
928
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
882
929
  var HttpBindingProtocol = class extends HttpProtocol {
883
930
  async serializeRequest(operationSchema, _input, context) {
884
931
  const input = _input && typeof _input === "object" ? _input : {};
@@ -1150,7 +1197,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
1150
1197
  }
1151
1198
  };
1152
1199
 
1153
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
1200
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
1154
1201
  var RpcProtocol = class extends HttpProtocol {
1155
1202
  async serializeRequest(operationSchema, _input, context) {
1156
1203
  const serializer = this.serializer;
@@ -1239,7 +1286,7 @@ var RpcProtocol = class extends HttpProtocol {
1239
1286
  }
1240
1287
  };
1241
1288
 
1242
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
1289
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
1243
1290
  function determineTimestampFormat(ns, settings) {
1244
1291
  if (settings.timestampFormat.useTrait) {
1245
1292
  if (ns.isTimestampSchema() && (ns.getSchema() === 5 || ns.getSchema() === 6 || ns.getSchema() === 7)) {
@@ -1251,7 +1298,7 @@ function determineTimestampFormat(ns, settings) {
1251
1298
  return bindingFormat ?? settings.timestampFormat.default;
1252
1299
  }
1253
1300
 
1254
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
1301
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
1255
1302
  var FromStringShapeDeserializer = class extends SerdeContext {
1256
1303
  settings;
1257
1304
  constructor(settings) {
@@ -1313,7 +1360,7 @@ var FromStringShapeDeserializer = class extends SerdeContext {
1313
1360
  }
1314
1361
  };
1315
1362
 
1316
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
1363
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
1317
1364
  var HttpInterceptingShapeDeserializer = class extends SerdeContext {
1318
1365
  codecDeserializer;
1319
1366
  stringDeserializer;
@@ -1352,7 +1399,7 @@ var HttpInterceptingShapeDeserializer = class extends SerdeContext {
1352
1399
  }
1353
1400
  };
1354
1401
 
1355
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
1402
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
1356
1403
  var ToStringShapeSerializer = class extends SerdeContext {
1357
1404
  settings;
1358
1405
  stringBuffer = "";
@@ -1439,7 +1486,7 @@ var ToStringShapeSerializer = class extends SerdeContext {
1439
1486
  }
1440
1487
  };
1441
1488
 
1442
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
1489
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
1443
1490
  var HttpInterceptingShapeSerializer = class {
1444
1491
  codecSerializer;
1445
1492
  stringSerializer;
@@ -1472,7 +1519,7 @@ var HttpInterceptingShapeSerializer = class {
1472
1519
  }
1473
1520
  };
1474
1521
 
1475
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
1522
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
1476
1523
  var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
1477
1524
  if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
1478
1525
  runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
@@ -1498,11 +1545,11 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
1498
1545
  };
1499
1546
  };
1500
1547
 
1501
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
1548
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
1502
1549
  var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
1503
1550
  var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
1504
1551
 
1505
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
1552
+ // ../../node_modules/.pnpm/@smithy+core@3.35.2/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
1506
1553
  function buildQueryString(query) {
1507
1554
  const parts = [];
1508
1555
  for (let key of Object.keys(query).sort()) {
@@ -1526,11 +1573,13 @@ function buildQueryString(query) {
1526
1573
  export {
1527
1574
  ProviderError,
1528
1575
  CredentialsProviderError,
1576
+ TokenProviderError,
1529
1577
  chain,
1530
1578
  booleanSelector,
1531
1579
  SelectorType,
1532
1580
  ENV_PROFILE,
1533
1581
  getProfileName,
1582
+ getSSOTokenFilepath,
1534
1583
  getSSOTokenFromFile,
1535
1584
  CONFIG_PREFIX_SEPARATOR,
1536
1585
  loadSsoSessionData,