@larkup/cli 0.3.11 → 0.3.14

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 (42) hide show
  1. package/dist/api-T4HV5OFN.js +6936 -0
  2. package/dist/{chunk-QAJSSODU.js → chunk-CQ7NVYHT.js} +108 -68
  3. package/dist/{chunk-2IVYLF4F.js → chunk-CVBK47OT.js} +93 -69
  4. package/dist/{chunk-QKPH65NY.js → chunk-DE4VP425.js} +16 -16
  5. package/dist/{chunk-IPKRK5UI.js → chunk-FNZK42G6.js} +3 -3
  6. package/dist/{chunk-A2PXF6Y7.js → chunk-HBASLJRD.js} +25 -25
  7. package/dist/{chunk-7KURHXYU.js → chunk-HX45PZFR.js} +44 -44
  8. package/dist/{chunk-HQPSE5ZU.js → chunk-IJE2RPSN.js} +55 -55
  9. package/dist/{chunk-ZBGNJVTC.js → chunk-KA5D5NKN.js} +3 -3
  10. package/dist/{chunk-ERDDY5EQ.js → chunk-LCK6D6SK.js} +4 -4
  11. package/dist/{chunk-ZYHZIBTH.js → chunk-LREGQMME.js} +44 -36
  12. package/dist/{chunk-3GL3SZFJ.js → chunk-M5367BNN.js} +12 -40
  13. package/dist/{chunk-X46UIKQW.js → chunk-OFWLJSVC.js} +5 -5
  14. package/dist/{chunk-J2AR7L2Q.js → chunk-RJ2NIMTP.js} +2 -2
  15. package/dist/{chunk-RN25NOBI.js → chunk-V5MXHOEA.js} +3 -3
  16. package/dist/{chunk-TJPYJ5TS.js → chunk-WH6SGG26.js} +13 -13
  17. package/dist/chunk-WXRKGSWM.js +34 -0
  18. package/dist/{chunk-5RGEHTEF.js → chunk-XEB2OVD6.js} +45 -43
  19. package/dist/{chunk-5BX2UVG2.js → chunk-XFLXM5WU.js} +137 -95
  20. package/dist/{chunk-MACWQEJS.js → chunk-Z3C6M6AJ.js} +99 -107
  21. package/dist/{dist-es-YVYT5SVI.js → dist-es-2UI7ONZZ.js} +223 -220
  22. package/dist/{dist-es-DAE2AYZV.js → dist-es-5D5ADEYS.js} +21 -20
  23. package/dist/{dist-es-3L6W7F7P.js → dist-es-FI7PADBF.js} +6 -5
  24. package/dist/{dist-es-PQXH3VYE.js → dist-es-IAOJLUTI.js} +11 -10
  25. package/dist/{dist-es-6MPMKRLG.js → dist-es-KL7UCI6C.js} +23 -22
  26. package/dist/{dist-es-CVOBCRJ5.js → dist-es-MAY5SYH5.js} +11 -10
  27. package/dist/{dist-es-G4H4NZOY.js → dist-es-OED5OOKX.js} +9 -8
  28. package/dist/{dist-es-UWL5EGDP.js → dist-es-QQMKUAEQ.js} +3 -2
  29. package/dist/{dist-es-WEJJDMJW.js → dist-es-UJY2ZAAU.js} +10 -9
  30. package/dist/{dist-es-7LQAPSS6.js → dist-es-Y73OHM5Y.js} +9 -8
  31. package/dist/{event-streams-RZ2JU5EF.js → event-streams-IXBDR476.js} +3 -2
  32. package/dist/{event-streams-NVY5IGD3.js → event-streams-JRBKH3UT.js} +19 -18
  33. package/dist/index.js +17 -17
  34. package/dist/{lexer-DQCqS3nf-CGRGK47I.js → lexer-CanA6ArK-VIUEPQRT.js} +4 -4
  35. package/dist/{loadSso-DEHYSFO4.js → loadSso-S4KING47.js} +29 -28
  36. package/dist/{signin-CTAMN4QW.js → signin-ALRQUKQQ.js} +32 -31
  37. package/dist/{sso-oidc-ZYLSPNAE.js → sso-oidc-D3TLLZUS.js} +31 -30
  38. package/dist/{sts-EQDDSBAR.js → sts-PHP2EVI2.js} +45 -41
  39. package/dist/{tool-loader-JRRAAYTQ.js → tool-loader-K6PLXSLW.js} +2 -2
  40. package/dist/{tool-registry-WZ2RDXVS.js → tool-registry-G35SY4WN.js} +1 -1
  41. package/package.json +10 -10
  42. package/dist/api-X4PHQJTH.js +0 -6943
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  HttpRequest,
3
3
  HttpResponse,
4
- IniSectionType,
5
4
  LazyJsonString,
6
5
  NormalizedSchema,
7
6
  NumericValue,
@@ -24,9 +23,12 @@ import {
24
23
  toBase64,
25
24
  toUtf8,
26
25
  translateTraits
27
- } from "./chunk-MACWQEJS.js";
26
+ } from "./chunk-Z3C6M6AJ.js";
27
+ import {
28
+ IniSectionType
29
+ } from "./chunk-WXRKGSWM.js";
28
30
 
29
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
31
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
30
32
  var ProviderError = class _ProviderError extends Error {
31
33
  name = "ProviderError";
32
34
  tryNextLink;
@@ -50,7 +52,7 @@ var ProviderError = class _ProviderError extends Error {
50
52
  }
51
53
  };
52
54
 
53
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
55
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
54
56
  var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
55
57
  name = "CredentialsProviderError";
56
58
  constructor(message, options = true) {
@@ -59,15 +61,15 @@ var CredentialsProviderError = class _CredentialsProviderError extends ProviderE
59
61
  }
60
62
  };
61
63
 
62
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
64
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
63
65
  var ENV_PROFILE = "AWS_PROFILE";
64
66
  var DEFAULT_PROFILE = "default";
65
67
  var getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
66
68
 
67
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
69
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
68
70
  import { join } from "path";
69
71
 
70
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
72
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
71
73
  import { homedir } from "os";
72
74
  import { sep } from "path";
73
75
  var homeDirCache = {};
@@ -91,17 +93,17 @@ var getHomeDir = () => {
91
93
  return homeDirCache[homeDirCacheKey];
92
94
  };
93
95
 
94
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
96
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigFilepath.js
95
97
  var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
96
98
  var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || join(getHomeDir(), ".aws", "config");
97
99
 
98
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
100
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
99
101
  import { join as join3 } from "path";
100
102
 
101
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
103
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
102
104
  var CONFIG_PREFIX_SEPARATOR = ".";
103
105
 
104
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
106
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
105
107
  var getConfigData = (data) => Object.entries(data).filter(([key]) => {
106
108
  const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
107
109
  if (indexOfSeparator === -1) {
@@ -117,12 +119,12 @@ var getConfigData = (data) => Object.entries(data).filter(([key]) => {
117
119
  ...data.default && { default: data.default }
118
120
  });
119
121
 
120
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
122
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getCredentialsFilepath.js
121
123
  import { join as join2 } from "path";
122
124
  var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
123
125
  var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join2(getHomeDir(), ".aws", "credentials");
124
126
 
125
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
127
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
126
128
  var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@+.%:/]+)\2$/;
127
129
  var profileNameBlockList = ["__proto__", "profile __proto__"];
128
130
  var parseIni = (iniData) => {
@@ -171,7 +173,7 @@ var parseIni = (iniData) => {
171
173
  return map;
172
174
  };
173
175
 
174
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
176
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
175
177
  import { readFile as fsReadFile } from "fs/promises";
176
178
  var filePromises = {};
177
179
  var fileIntercept = {};
@@ -185,7 +187,7 @@ var readFile = (path, options) => {
185
187
  return filePromises[path];
186
188
  };
187
189
 
188
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
190
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
189
191
  var swallowError = () => ({});
190
192
  var loadSharedConfigFiles = async (init = {}) => {
191
193
  const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
@@ -213,14 +215,14 @@ var loadSharedConfigFiles = async (init = {}) => {
213
215
  };
214
216
  };
215
217
 
216
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
218
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
217
219
  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
220
 
219
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
221
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
220
222
  var swallowError2 = () => ({});
221
223
  var loadSsoSessionData = async (init = {}) => readFile(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2);
222
224
 
223
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
225
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
224
226
  var mergeConfigFiles = (...files) => {
225
227
  const merged = {};
226
228
  for (const file of files) {
@@ -235,16 +237,16 @@ var mergeConfigFiles = (...files) => {
235
237
  return merged;
236
238
  };
237
239
 
238
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
240
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
239
241
  var parseKnownFiles = async (init) => {
240
242
  const parsedFiles = await loadSharedConfigFiles(init);
241
243
  return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
242
244
  };
243
245
 
244
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
246
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
245
247
  import { readFile as readFile2 } from "fs/promises";
246
248
 
247
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
249
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
248
250
  import { createHash } from "crypto";
249
251
  import { join as join4 } from "path";
250
252
  var getSSOTokenFilepath = (id) => {
@@ -253,7 +255,7 @@ var getSSOTokenFilepath = (id) => {
253
255
  return join4(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json`);
254
256
  };
255
257
 
256
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
258
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
257
259
  var tokenIntercept = {};
258
260
  var getSSOTokenFromFile = async (id) => {
259
261
  if (tokenIntercept[id]) {
@@ -264,7 +266,7 @@ var getSSOTokenFromFile = async (id) => {
264
266
  return JSON.parse(ssoTokenText);
265
267
  };
266
268
 
267
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
269
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
268
270
  var externalDataInterceptor = {
269
271
  getFileRecord() {
270
272
  return fileIntercept;
@@ -280,7 +282,7 @@ var externalDataInterceptor = {
280
282
  }
281
283
  };
282
284
 
283
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
285
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
284
286
  var chain = (...providers) => async () => {
285
287
  if (providers.length === 0) {
286
288
  throw new ProviderError("No providers in chain");
@@ -301,7 +303,7 @@ var chain = (...providers) => async () => {
301
303
  throw lastProviderError;
302
304
  };
303
305
 
304
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
306
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
305
307
  var memoize = (provider, isExpired, requiresRefresh) => {
306
308
  let resolved;
307
309
  let pending;
@@ -347,7 +349,7 @@ var memoize = (provider, isExpired, requiresRefresh) => {
347
349
  };
348
350
  };
349
351
 
350
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
352
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
351
353
  function getSelectorName(functionString) {
352
354
  try {
353
355
  const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
@@ -360,7 +362,7 @@ function getSelectorName(functionString) {
360
362
  }
361
363
  }
362
364
 
363
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
365
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
364
366
  var fromEnv = (envVarSelector, options) => async () => {
365
367
  try {
366
368
  const config = envVarSelector(process.env, options);
@@ -373,7 +375,7 @@ var fromEnv = (envVarSelector, options) => async () => {
373
375
  }
374
376
  };
375
377
 
376
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
378
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
377
379
  var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
378
380
  const profile = getProfileName(init);
379
381
  const { configFile, credentialsFile } = await loadSharedConfigFiles(init);
@@ -392,21 +394,21 @@ var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init
392
394
  }
393
395
  };
394
396
 
395
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
397
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
396
398
  var fromValue = (staticValue) => () => Promise.resolve(staticValue);
397
399
 
398
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
400
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
399
401
  var isFunction = (func) => typeof func === "function";
400
402
  var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);
401
403
 
402
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
404
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
403
405
  var loadConfig = ({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => {
404
406
  const { signingName, logger } = configuration;
405
407
  const envOptions = { signingName, logger };
406
408
  return memoize(chain(fromEnv(environmentVariableSelector, envOptions), fromSharedConfigFiles(configFileSelector, configuration), fromStatic(defaultValue)));
407
409
  };
408
410
 
409
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
411
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
410
412
  var validRegions = /* @__PURE__ */ new Set();
411
413
  var checkRegion = (region, check = isValidHostLabel) => {
412
414
  if (!validRegions.has(region) && !check(region)) {
@@ -420,13 +422,13 @@ var checkRegion = (region, check = isValidHostLabel) => {
420
422
  }
421
423
  };
422
424
 
423
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
425
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
424
426
  var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
425
427
 
426
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
428
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
427
429
  var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
428
430
 
429
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
431
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
430
432
  var resolveRegionConfig = (input) => {
431
433
  const { region, useFipsEndpoint } = input;
432
434
  if (!region) {
@@ -449,7 +451,7 @@ var resolveRegionConfig = (input) => {
449
451
  });
450
452
  };
451
453
 
452
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
454
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
453
455
  var booleanSelector = (obj, key, type) => {
454
456
  if (!(key in obj))
455
457
  return void 0;
@@ -460,14 +462,14 @@ var booleanSelector = (obj, key, type) => {
460
462
  throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
461
463
  };
462
464
 
463
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
465
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
464
466
  var SelectorType;
465
467
  (function(SelectorType2) {
466
468
  SelectorType2["ENV"] = "env";
467
469
  SelectorType2["CONFIG"] = "shared config entry";
468
470
  })(SelectorType || (SelectorType = {}));
469
471
 
470
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
472
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
471
473
  var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
472
474
  var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
473
475
  var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
@@ -476,7 +478,7 @@ var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
476
478
  default: false
477
479
  };
478
480
 
479
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
481
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
480
482
  var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
481
483
  var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
482
484
  var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
@@ -485,7 +487,7 @@ var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
485
487
  default: false
486
488
  };
487
489
 
488
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
490
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js
489
491
  var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
490
492
  var AWS_REGION_ENV = "AWS_REGION";
491
493
  var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION";
@@ -496,7 +498,7 @@ var IMDS_TOKEN_PATH = "/latest/api/token";
496
498
  var X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token";
497
499
  var X_AWS_EC2_METADATA_TOKEN_TTL = "x-aws-ec2-metadata-token-ttl-seconds";
498
500
 
499
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js
501
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js
500
502
  var TIMEOUT_MS = 1e3;
501
503
  var NEG_CACHE_TTL_MS = 6e4;
502
504
  var negativeCacheUntil = 0;
@@ -586,7 +588,7 @@ var imdsRequest = async (options) => {
586
588
  });
587
589
  };
588
590
 
589
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
591
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
590
592
  var REGION_ENV_NAME = "AWS_REGION";
591
593
  var REGION_INI_NAME = "region";
592
594
  var NODE_REGION_CONFIG_OPTIONS = {
@@ -604,7 +606,7 @@ var NODE_REGION_CONFIG_FILE_OPTIONS = {
604
606
  preferredFile: "credentials"
605
607
  };
606
608
 
607
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
609
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
608
610
  var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
609
611
  var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
610
612
  var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
@@ -617,7 +619,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
617
619
  default: "legacy"
618
620
  };
619
621
 
620
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
622
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
621
623
  var resolveDefaultsModeConfig = ({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
622
624
  const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
623
625
  switch (mode?.toLowerCase()) {
@@ -657,7 +659,7 @@ var inferPhysicalRegion = async () => {
657
659
  return getInstanceMetadataRegion();
658
660
  };
659
661
 
660
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
662
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js
661
663
  var CONTENT_LENGTH_HEADER = "content-length";
662
664
  function contentLengthMiddleware(bodyLengthChecker) {
663
665
  return (next) => async (args) => {
@@ -695,7 +697,7 @@ var getContentLengthPlugin = (options) => ({
695
697
  }
696
698
  });
697
699
 
698
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
700
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
699
701
  var collectBody = async (streamBody = new Uint8Array(), context) => {
700
702
  if (streamBody instanceof Uint8Array) {
701
703
  return Uint8ArrayBlobAdapter.mutate(streamBody);
@@ -707,14 +709,14 @@ var collectBody = async (streamBody = new Uint8Array(), context) => {
707
709
  return Uint8ArrayBlobAdapter.mutate(await fromContext);
708
710
  };
709
711
 
710
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
712
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
711
713
  function extendedEncodeURIComponent(str) {
712
714
  return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
713
715
  return "%" + c.charCodeAt(0).toString(16).toUpperCase();
714
716
  });
715
717
  }
716
718
 
717
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
719
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js
718
720
  var SerdeContext = class {
719
721
  serdeContext;
720
722
  setSerdeContext(serdeContext) {
@@ -722,14 +724,14 @@ var SerdeContext = class {
722
724
  }
723
725
  };
724
726
 
725
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
727
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js
726
728
  var HttpProtocol = class extends SerdeContext {
727
729
  options;
728
730
  compositeErrorRegistry;
729
731
  constructor(options) {
730
732
  super();
731
733
  this.options = options;
732
- this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace);
734
+ this.compositeErrorRegistry = new TypeRegistry(options.defaultNamespace);
733
735
  for (const etr of options.errorTypeRegistries ?? []) {
734
736
  this.compositeErrorRegistry.copyFrom(etr);
735
737
  }
@@ -823,6 +825,44 @@ var HttpProtocol = class extends SerdeContext {
823
825
  cfId: output.headers["x-amz-cf-id"]
824
826
  };
825
827
  }
828
+ resolveError(name, namespaces, registries) {
829
+ const defaultErrorSchema = [-3, "", "Error", 0, [], [], 0];
830
+ let schema;
831
+ for (const registry of registries) {
832
+ for (const ns of namespaces) {
833
+ try {
834
+ if (ns === "*") {
835
+ schema = registry.getSchema(name);
836
+ } else {
837
+ schema = registry.getSchema(ns + "#" + name);
838
+ }
839
+ const errorCtor = registry.getErrorCtor(schema);
840
+ if (errorCtor) {
841
+ return [schema, errorCtor, "modeled"];
842
+ } else {
843
+ const syntheticErrorSchema = registry.getBaseException();
844
+ if (syntheticErrorSchema) {
845
+ const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);
846
+ if (syntheticErrorCtor) {
847
+ return [schema, syntheticErrorCtor, "synthetic"];
848
+ }
849
+ }
850
+ }
851
+ } catch (ignored) {
852
+ }
853
+ }
854
+ }
855
+ for (const registry of registries) {
856
+ const syntheticErrorSchema = registry.getBaseException();
857
+ if (syntheticErrorSchema) {
858
+ const syntheticErrorCtor = registry.getErrorCtor(syntheticErrorSchema);
859
+ if (syntheticErrorCtor) {
860
+ return [syntheticErrorSchema, syntheticErrorCtor, "synthetic"];
861
+ }
862
+ }
863
+ }
864
+ return [defaultErrorSchema, Error, "native"];
865
+ }
826
866
  async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
827
867
  const eventStreamSerde = await this.loadEventStreamCapability();
828
868
  return eventStreamSerde.serializeEventStream({
@@ -840,7 +880,7 @@ var HttpProtocol = class extends SerdeContext {
840
880
  });
841
881
  }
842
882
  async loadEventStreamCapability() {
843
- const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-RZ2JU5EF.js");
883
+ const { EventStreamSerde, eventStreamSerdeProvider } = await import("./event-streams-IXBDR476.js");
844
884
  const marshaller = this.resolveEventStreamMarshaller(eventStreamSerdeProvider);
845
885
  return new EventStreamSerde({
846
886
  marshaller,
@@ -851,13 +891,6 @@ var HttpProtocol = class extends SerdeContext {
851
891
  compositeErrorRegistry: this.compositeErrorRegistry
852
892
  });
853
893
  }
854
- resolveEventStreamMarshaller(importedProvider) {
855
- const context = this.serdeContext;
856
- if (context.eventStreamMarshaller) {
857
- return context.eventStreamMarshaller;
858
- }
859
- return importedProvider(this.serdeContext);
860
- }
861
894
  getDefaultContentType() {
862
895
  throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`);
863
896
  }
@@ -876,9 +909,16 @@ var HttpProtocol = class extends SerdeContext {
876
909
  }
877
910
  return context.eventStreamMarshaller;
878
911
  }
912
+ resolveEventStreamMarshaller(importedProvider) {
913
+ const context = this.serdeContext;
914
+ if (context.eventStreamMarshaller) {
915
+ return context.eventStreamMarshaller;
916
+ }
917
+ return importedProvider(this.serdeContext);
918
+ }
879
919
  };
880
920
 
881
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
921
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js
882
922
  var HttpBindingProtocol = class extends HttpProtocol {
883
923
  async serializeRequest(operationSchema, _input, context) {
884
924
  const input = _input && typeof _input === "object" ? _input : {};
@@ -1150,7 +1190,7 @@ var HttpBindingProtocol = class extends HttpProtocol {
1150
1190
  }
1151
1191
  };
1152
1192
 
1153
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
1193
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js
1154
1194
  var RpcProtocol = class extends HttpProtocol {
1155
1195
  async serializeRequest(operationSchema, _input, context) {
1156
1196
  const serializer = this.serializer;
@@ -1239,7 +1279,7 @@ var RpcProtocol = class extends HttpProtocol {
1239
1279
  }
1240
1280
  };
1241
1281
 
1242
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
1282
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js
1243
1283
  function determineTimestampFormat(ns, settings) {
1244
1284
  if (settings.timestampFormat.useTrait) {
1245
1285
  if (ns.isTimestampSchema() && (ns.getSchema() === 5 || ns.getSchema() === 6 || ns.getSchema() === 7)) {
@@ -1251,7 +1291,7 @@ function determineTimestampFormat(ns, settings) {
1251
1291
  return bindingFormat ?? settings.timestampFormat.default;
1252
1292
  }
1253
1293
 
1254
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
1294
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
1255
1295
  var FromStringShapeDeserializer = class extends SerdeContext {
1256
1296
  settings;
1257
1297
  constructor(settings) {
@@ -1313,7 +1353,7 @@ var FromStringShapeDeserializer = class extends SerdeContext {
1313
1353
  }
1314
1354
  };
1315
1355
 
1316
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
1356
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js
1317
1357
  var HttpInterceptingShapeDeserializer = class extends SerdeContext {
1318
1358
  codecDeserializer;
1319
1359
  stringDeserializer;
@@ -1352,7 +1392,7 @@ var HttpInterceptingShapeDeserializer = class extends SerdeContext {
1352
1392
  }
1353
1393
  };
1354
1394
 
1355
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
1395
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js
1356
1396
  var ToStringShapeSerializer = class extends SerdeContext {
1357
1397
  settings;
1358
1398
  stringBuffer = "";
@@ -1439,7 +1479,7 @@ var ToStringShapeSerializer = class extends SerdeContext {
1439
1479
  }
1440
1480
  };
1441
1481
 
1442
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
1482
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js
1443
1483
  var HttpInterceptingShapeSerializer = class {
1444
1484
  codecSerializer;
1445
1485
  stringSerializer;
@@ -1472,7 +1512,7 @@ var HttpInterceptingShapeSerializer = class {
1472
1512
  }
1473
1513
  };
1474
1514
 
1475
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
1515
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js
1476
1516
  var getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
1477
1517
  if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
1478
1518
  runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
@@ -1498,11 +1538,11 @@ var resolveHttpHandlerRuntimeConfig = (httpHandlerExtensionConfiguration) => {
1498
1538
  };
1499
1539
  };
1500
1540
 
1501
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
1541
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/util-uri-escape/escape-uri.js
1502
1542
  var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
1503
1543
  var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
1504
1544
 
1505
- // ../../node_modules/.pnpm/@smithy+core@3.33.3/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
1545
+ // ../../node_modules/.pnpm/@smithy+core@3.35.0/node_modules/@smithy/core/dist-es/submodules/protocols/querystring-builder/buildQueryString.js
1506
1546
  function buildQueryString(query) {
1507
1547
  const parts = [];
1508
1548
  for (let key of Object.keys(query).sort()) {