@alienplatform/sdk 1.11.1 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/.turbo/turbo-build.log +18 -44
  2. package/dist/bearerTokenAuthenticationPolicy.js +40 -40
  3. package/dist/{serde.js → checksum.js} +1103 -469
  4. package/dist/dist-cjs.js +15256 -1
  5. package/dist/dist.js +36 -23
  6. package/dist/es5.js +107 -11
  7. package/dist/esm.js +4803 -4946
  8. package/dist/esm2.js +298 -236
  9. package/dist/event-streams.js +571 -4
  10. package/dist/generated/artifact_registry.d.ts +14 -14
  11. package/dist/generated/artifact_registry.d.ts.map +1 -1
  12. package/dist/generated/build.d.ts +6 -6
  13. package/dist/generated/build.d.ts.map +1 -1
  14. package/dist/generated/container.d.ts +6 -6
  15. package/dist/generated/container.d.ts.map +1 -1
  16. package/dist/generated/control.d.ts +8 -8
  17. package/dist/generated/control.d.ts.map +1 -1
  18. package/dist/generated/kv.d.ts +10 -10
  19. package/dist/generated/kv.d.ts.map +1 -1
  20. package/dist/generated/queue.d.ts +6 -6
  21. package/dist/generated/queue.d.ts.map +1 -1
  22. package/dist/generated/service_account.d.ts +4 -4
  23. package/dist/generated/service_account.d.ts.map +1 -1
  24. package/dist/generated/storage.d.ts +28 -28
  25. package/dist/generated/storage.d.ts.map +1 -1
  26. package/dist/generated/vault.d.ts +6 -6
  27. package/dist/generated/vault.d.ts.map +1 -1
  28. package/dist/generated/wait_until.d.ts +8 -8
  29. package/dist/generated/wait_until.d.ts.map +1 -1
  30. package/dist/generated/worker.d.ts +4 -4
  31. package/dist/generated/worker.d.ts.map +1 -1
  32. package/dist/index.js +311 -278
  33. package/dist/open.js +2 -1
  34. package/dist/rolldown-runtime.js +9 -2
  35. package/dist/src.js +10240 -10043
  36. package/dist/src2.js +15 -13
  37. package/package.json +4 -4
  38. package/src/generated/artifact_registry.ts +125 -35
  39. package/src/generated/build.ts +67 -19
  40. package/src/generated/container.ts +28 -10
  41. package/src/generated/control.ts +130 -34
  42. package/src/generated/google/protobuf/duration.ts +1 -1
  43. package/src/generated/google/protobuf/timestamp.ts +1 -1
  44. package/src/generated/kv.ts +53 -21
  45. package/src/generated/queue.ts +37 -13
  46. package/src/generated/service_account.ts +64 -16
  47. package/src/generated/storage.ts +189 -61
  48. package/src/generated/vault.ts +37 -13
  49. package/src/generated/wait_until.ts +68 -20
  50. package/src/generated/worker.ts +29 -11
  51. package/dist/client.js +0 -2376
  52. package/dist/dist-cjs2.js +0 -718
  53. package/dist/dist-cjs3.js +0 -2486
  54. package/dist/dist-cjs4.js +0 -171
  55. package/dist/dist-cjs5.js +0 -429
  56. package/dist/dist-cjs6.js +0 -60
  57. package/dist/dist-cjs7.js +0 -978
  58. package/dist/dist-cjs8.js +0 -86
  59. package/dist/dist-cjs9.js +0 -319
  60. package/dist/package.js +0 -4
  61. package/dist/protocols.js +0 -954
  62. package/dist/protocols2.js +0 -5565
  63. package/dist/signin.js +0 -723
  64. package/dist/sso-oidc.js +0 -940
  65. package/dist/sts.js +0 -1329
  66. package/dist/tslib.es6.js +0 -543
@@ -1,11 +1,12 @@
1
1
  import { n as __esmMin, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime.js";
2
- import { Duplex, PassThrough, Readable, Writable } from "node:stream";
2
+ import { PassThrough, Readable, Writable } from "node:stream";
3
3
  import { createHash, createHmac, getRandomValues } from "node:crypto";
4
- import { ReadStream, fstatSync, lstatSync } from "node:fs";
4
+ import { ReadStream, createReadStream, fstatSync, lstatSync } from "node:fs";
5
5
  import { homedir } from "node:os";
6
6
  import { join, sep } from "node:path";
7
7
  import { readFile } from "node:fs/promises";
8
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
8
+ import * as zlib$1 from "node:zlib";
9
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js
9
10
  var getAllAliases, getMiddlewareNameWithAliases, constructStack, stepWeights, priorityWeights;
10
11
  var init_MiddlewareStack = __esmMin((() => {
11
12
  getAllAliases = (name, aliases) => {
@@ -223,94 +224,65 @@ var init_MiddlewareStack = __esmMin((() => {
223
224
  };
224
225
  }));
225
226
  //#endregion
226
- //#region ../../node_modules/.pnpm/@smithy+types@4.14.4/node_modules/@smithy/types/dist-cjs/index.js
227
+ //#region ../../node_modules/.pnpm/@smithy+types@4.15.1/node_modules/@smithy/types/dist-cjs/index.js
227
228
  var require_dist_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
228
- exports.HttpAuthLocation = void 0;
229
+ var HttpAuthLocation;
229
230
  (function(HttpAuthLocation) {
230
231
  HttpAuthLocation["HEADER"] = "header";
231
232
  HttpAuthLocation["QUERY"] = "query";
232
- })(exports.HttpAuthLocation || (exports.HttpAuthLocation = {}));
233
- exports.HttpApiKeyAuthLocation = void 0;
233
+ })(HttpAuthLocation || (HttpAuthLocation = {}));
234
+ var HttpApiKeyAuthLocation;
234
235
  (function(HttpApiKeyAuthLocation) {
235
236
  HttpApiKeyAuthLocation["HEADER"] = "header";
236
237
  HttpApiKeyAuthLocation["QUERY"] = "query";
237
- })(exports.HttpApiKeyAuthLocation || (exports.HttpApiKeyAuthLocation = {}));
238
- exports.EndpointURLScheme = void 0;
238
+ })(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));
239
+ var EndpointURLScheme;
239
240
  (function(EndpointURLScheme) {
240
241
  EndpointURLScheme["HTTP"] = "http";
241
242
  EndpointURLScheme["HTTPS"] = "https";
242
- })(exports.EndpointURLScheme || (exports.EndpointURLScheme = {}));
243
- exports.AlgorithmId = void 0;
243
+ })(EndpointURLScheme || (EndpointURLScheme = {}));
244
+ var AlgorithmId;
244
245
  (function(AlgorithmId) {
245
246
  AlgorithmId["MD5"] = "md5";
246
247
  AlgorithmId["CRC32"] = "crc32";
247
248
  AlgorithmId["CRC32C"] = "crc32c";
248
249
  AlgorithmId["SHA1"] = "sha1";
249
250
  AlgorithmId["SHA256"] = "sha256";
250
- })(exports.AlgorithmId || (exports.AlgorithmId = {}));
251
- const getChecksumConfiguration = (runtimeConfig) => {
252
- const checksumAlgorithms = [];
253
- if (runtimeConfig.sha256 !== void 0) checksumAlgorithms.push({
254
- algorithmId: () => exports.AlgorithmId.SHA256,
255
- checksumConstructor: () => runtimeConfig.sha256
256
- });
257
- if (runtimeConfig.md5 != void 0) checksumAlgorithms.push({
258
- algorithmId: () => exports.AlgorithmId.MD5,
259
- checksumConstructor: () => runtimeConfig.md5
260
- });
261
- return {
262
- addChecksumAlgorithm(algo) {
263
- checksumAlgorithms.push(algo);
264
- },
265
- checksumAlgorithms() {
266
- return checksumAlgorithms;
267
- }
268
- };
269
- };
270
- const resolveChecksumRuntimeConfig = (clientConfig) => {
271
- const runtimeConfig = {};
272
- clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
273
- runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();
274
- });
275
- return runtimeConfig;
276
- };
277
- const getDefaultClientConfiguration = (runtimeConfig) => {
278
- return getChecksumConfiguration(runtimeConfig);
279
- };
280
- const resolveDefaultRuntimeConfig = (config) => {
281
- return resolveChecksumRuntimeConfig(config);
282
- };
283
- exports.FieldPosition = void 0;
251
+ })(AlgorithmId || (AlgorithmId = {}));
252
+ var FieldPosition;
284
253
  (function(FieldPosition) {
285
254
  FieldPosition[FieldPosition["HEADER"] = 0] = "HEADER";
286
255
  FieldPosition[FieldPosition["TRAILER"] = 1] = "TRAILER";
287
- })(exports.FieldPosition || (exports.FieldPosition = {}));
256
+ })(FieldPosition || (FieldPosition = {}));
288
257
  const SMITHY_CONTEXT_KEY = "__smithy_context";
289
- exports.IniSectionType = void 0;
258
+ var IniSectionType;
290
259
  (function(IniSectionType) {
291
260
  IniSectionType["PROFILE"] = "profile";
292
261
  IniSectionType["SSO_SESSION"] = "sso-session";
293
262
  IniSectionType["SERVICES"] = "services";
294
- })(exports.IniSectionType || (exports.IniSectionType = {}));
295
- exports.RequestHandlerProtocol = void 0;
263
+ })(IniSectionType || (IniSectionType = {}));
264
+ var RequestHandlerProtocol;
296
265
  (function(RequestHandlerProtocol) {
297
266
  RequestHandlerProtocol["HTTP_0_9"] = "http/0.9";
298
267
  RequestHandlerProtocol["HTTP_1_0"] = "http/1.0";
299
268
  RequestHandlerProtocol["TDS_8_0"] = "tds/8.0";
300
- })(exports.RequestHandlerProtocol || (exports.RequestHandlerProtocol = {}));
269
+ })(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
270
+ exports.AlgorithmId = AlgorithmId;
271
+ exports.EndpointURLScheme = EndpointURLScheme;
272
+ exports.FieldPosition = FieldPosition;
273
+ exports.HttpApiKeyAuthLocation = HttpApiKeyAuthLocation;
274
+ exports.IniSectionType = IniSectionType;
301
275
  exports.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY;
302
- exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
303
- exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
304
276
  }));
305
277
  //#endregion
306
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
278
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/getSmithyContext.js
307
279
  var import_dist_cjs$6, getSmithyContext;
308
280
  var init_getSmithyContext = __esmMin((() => {
309
281
  import_dist_cjs$6 = require_dist_cjs();
310
282
  getSmithyContext = (context) => context[import_dist_cjs$6.SMITHY_CONTEXT_KEY] || (context[import_dist_cjs$6.SMITHY_CONTEXT_KEY] = {});
311
283
  }));
312
284
  //#endregion
313
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
285
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/httpRequest.js
314
286
  function cloneQuery(query) {
315
287
  return Object.keys(query).reduce((carry, paramName) => {
316
288
  const param = query[paramName];
@@ -366,7 +338,7 @@ var init_httpRequest = __esmMin((() => {
366
338
  };
367
339
  }));
368
340
  //#endregion
369
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
341
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js
370
342
  var HttpResponse;
371
343
  var init_httpResponse = __esmMin((() => {
372
344
  HttpResponse = class {
@@ -388,7 +360,7 @@ var init_httpResponse = __esmMin((() => {
388
360
  };
389
361
  }));
390
362
  //#endregion
391
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
363
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostLabel.js
392
364
  var VALID_HOST_LABEL_REGEX, isValidHostLabel;
393
365
  var init_isValidHostLabel = __esmMin((() => {
394
366
  VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
@@ -400,13 +372,13 @@ var init_isValidHostLabel = __esmMin((() => {
400
372
  };
401
373
  }));
402
374
  //#endregion
403
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js
375
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js
404
376
  function isValidHostname(hostname) {
405
377
  return /^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(hostname);
406
378
  }
407
379
  var init_isValidHostname = __esmMin((() => {}));
408
380
  //#endregion
409
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
381
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js
410
382
  var normalizeProvider;
411
383
  var init_normalizeProvider = __esmMin((() => {
412
384
  normalizeProvider = (input) => {
@@ -416,7 +388,7 @@ var init_normalizeProvider = __esmMin((() => {
416
388
  };
417
389
  }));
418
390
  //#endregion
419
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
391
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/parseQueryString.js
420
392
  function parseQueryString(querystring) {
421
393
  const query = {};
422
394
  querystring = querystring.replace(/^\?/, "");
@@ -432,7 +404,7 @@ function parseQueryString(querystring) {
432
404
  }
433
405
  var init_parseQueryString = __esmMin((() => {}));
434
406
  //#endregion
435
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
407
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/parseUrl.js
436
408
  var parseUrl;
437
409
  var init_parseUrl = __esmMin((() => {
438
410
  init_parseQueryString();
@@ -451,7 +423,7 @@ var init_parseUrl = __esmMin((() => {
451
423
  };
452
424
  }));
453
425
  //#endregion
454
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
426
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js
455
427
  var toEndpointV1;
456
428
  var init_toEndpointV1$1 = __esmMin((() => {
457
429
  init_parseUrl();
@@ -471,7 +443,7 @@ var init_toEndpointV1$1 = __esmMin((() => {
471
443
  };
472
444
  }));
473
445
  //#endregion
474
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/transport/index.js
446
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/transport/index.js
475
447
  var init_transport = __esmMin((() => {
476
448
  init_getSmithyContext();
477
449
  init_httpRequest();
@@ -484,7 +456,7 @@ var init_transport = __esmMin((() => {
484
456
  init_toEndpointV1$1();
485
457
  }));
486
458
  //#endregion
487
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/invalid-dependency/invalidFunction.js
459
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/invalid-dependency/invalidFunction.js
488
460
  var invalidFunction;
489
461
  var init_invalidFunction = __esmMin((() => {
490
462
  invalidFunction = (message) => () => {
@@ -492,13 +464,13 @@ var init_invalidFunction = __esmMin((() => {
492
464
  };
493
465
  }));
494
466
  //#endregion
495
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/invalid-dependency/invalidProvider.js
467
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/invalid-dependency/invalidProvider.js
496
468
  var invalidProvider;
497
469
  var init_invalidProvider = __esmMin((() => {
498
470
  invalidProvider = (message) => () => Promise.reject(message);
499
471
  }));
500
472
  //#endregion
501
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js
473
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/circularReplacer.js
502
474
  var getCircularReplacer;
503
475
  var init_circularReplacer = __esmMin((() => {
504
476
  getCircularReplacer = () => {
@@ -513,7 +485,7 @@ var init_circularReplacer = __esmMin((() => {
513
485
  };
514
486
  }));
515
487
  //#endregion
516
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js
488
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/sleep.js
517
489
  var sleep;
518
490
  var init_sleep = __esmMin((() => {
519
491
  sleep = (seconds) => {
@@ -521,7 +493,7 @@ var init_sleep = __esmMin((() => {
521
493
  };
522
494
  }));
523
495
  //#endregion
524
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js
496
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/waiter.js
525
497
  var waiterServiceDefaults, WaiterState, checkExceptions;
526
498
  var init_waiter = __esmMin((() => {
527
499
  init_circularReplacer();
@@ -556,7 +528,7 @@ var init_waiter = __esmMin((() => {
556
528
  };
557
529
  }));
558
530
  //#endregion
559
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js
531
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/poller.js
560
532
  var runPolling, checkWarn403, createMessageFromResponse, exponentialBackoffWithJitter, randomInRange;
561
533
  var init_poller = __esmMin((() => {
562
534
  init_circularReplacer();
@@ -641,7 +613,7 @@ var init_poller = __esmMin((() => {
641
613
  randomInRange = (min, max) => min + Math.random() * (max - min);
642
614
  }));
643
615
  //#endregion
644
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js
616
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/utils/validate.js
645
617
  var validateWaiterOptions;
646
618
  var init_validate = __esmMin((() => {
647
619
  validateWaiterOptions = (options) => {
@@ -653,7 +625,7 @@ var init_validate = __esmMin((() => {
653
625
  };
654
626
  }));
655
627
  //#endregion
656
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js
628
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/util-waiter/createWaiter.js
657
629
  var abortTimeout, createWaiter;
658
630
  var init_createWaiter = __esmMin((() => {
659
631
  init_poller();
@@ -697,7 +669,7 @@ var init_createWaiter = __esmMin((() => {
697
669
  };
698
670
  }));
699
671
  //#endregion
700
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
672
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client.js
701
673
  var Client;
702
674
  var init_client$1 = __esmMin((() => {
703
675
  init_MiddlewareStack();
@@ -740,7 +712,7 @@ var init_client$1 = __esmMin((() => {
740
712
  };
741
713
  }));
742
714
  //#endregion
743
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
715
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
744
716
  var deref;
745
717
  var init_deref = __esmMin((() => {
746
718
  deref = (schemaRef) => {
@@ -749,7 +721,7 @@ var init_deref = __esmMin((() => {
749
721
  };
750
722
  }));
751
723
  //#endregion
752
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
724
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/operation.js
753
725
  var operation;
754
726
  var init_operation = __esmMin((() => {
755
727
  operation = (namespace, name, traits, input, output) => ({
@@ -761,7 +733,7 @@ var init_operation = __esmMin((() => {
761
733
  });
762
734
  }));
763
735
  //#endregion
764
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
736
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js
765
737
  var schemaDeserializationMiddleware, findHeader$1;
766
738
  var init_schemaDeserializationMiddleware = __esmMin((() => {
767
739
  init_transport();
@@ -819,7 +791,7 @@ var init_schemaDeserializationMiddleware = __esmMin((() => {
819
791
  };
820
792
  }));
821
793
  //#endregion
822
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
794
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js
823
795
  var schemaSerializationMiddleware;
824
796
  var init_schemaSerializationMiddleware = __esmMin((() => {
825
797
  init_transport();
@@ -840,7 +812,7 @@ var init_schemaSerializationMiddleware = __esmMin((() => {
840
812
  };
841
813
  }));
842
814
  //#endregion
843
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
815
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js
844
816
  function getSchemaSerdePlugin(config) {
845
817
  return { applyToStack: (commandStack) => {
846
818
  commandStack.add(schemaSerializationMiddleware(config), serializerMiddlewareOption$2);
@@ -866,7 +838,7 @@ var init_getSchemaSerdePlugin = __esmMin((() => {
866
838
  };
867
839
  }));
868
840
  //#endregion
869
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js
841
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js
870
842
  var Schema;
871
843
  var init_Schema = __esmMin((() => {
872
844
  Schema = class {
@@ -887,7 +859,7 @@ var init_Schema = __esmMin((() => {
887
859
  };
888
860
  }));
889
861
  //#endregion
890
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js
862
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js
891
863
  var ListSchema, list;
892
864
  var init_ListSchema = __esmMin((() => {
893
865
  init_Schema();
@@ -906,7 +878,7 @@ var init_ListSchema = __esmMin((() => {
906
878
  });
907
879
  }));
908
880
  //#endregion
909
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js
881
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js
910
882
  var MapSchema, map$1;
911
883
  var init_MapSchema = __esmMin((() => {
912
884
  init_Schema();
@@ -927,7 +899,7 @@ var init_MapSchema = __esmMin((() => {
927
899
  });
928
900
  }));
929
901
  //#endregion
930
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js
902
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js
931
903
  var OperationSchema, op;
932
904
  var init_OperationSchema = __esmMin((() => {
933
905
  init_Schema();
@@ -948,7 +920,7 @@ var init_OperationSchema = __esmMin((() => {
948
920
  });
949
921
  }));
950
922
  //#endregion
951
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js
923
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js
952
924
  var StructureSchema, struct;
953
925
  var init_StructureSchema = __esmMin((() => {
954
926
  init_Schema();
@@ -969,7 +941,7 @@ var init_StructureSchema = __esmMin((() => {
969
941
  });
970
942
  }));
971
943
  //#endregion
972
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js
944
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js
973
945
  var ErrorSchema, error;
974
946
  var init_ErrorSchema = __esmMin((() => {
975
947
  init_Schema();
@@ -989,7 +961,7 @@ var init_ErrorSchema = __esmMin((() => {
989
961
  });
990
962
  }));
991
963
  //#endregion
992
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
964
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
993
965
  function translateTraits(indicator) {
994
966
  if (typeof indicator === "object") return indicator;
995
967
  indicator = indicator | 0;
@@ -1012,7 +984,7 @@ var init_translateTraits = __esmMin((() => {
1012
984
  traitsCache = [];
1013
985
  }));
1014
986
  //#endregion
1015
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
987
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
1016
988
  function member(memberSchema, memberName) {
1017
989
  if (memberSchema instanceof NormalizedSchema) return Object.assign(memberSchema, {
1018
990
  memberName,
@@ -1254,7 +1226,7 @@ var init_NormalizedSchema = __esmMin((() => {
1254
1226
  isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
1255
1227
  }));
1256
1228
  //#endregion
1257
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js
1229
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js
1258
1230
  var SimpleSchema, sim, simAdapter;
1259
1231
  var init_SimpleSchema = __esmMin((() => {
1260
1232
  init_Schema();
@@ -1279,7 +1251,7 @@ var init_SimpleSchema = __esmMin((() => {
1279
1251
  });
1280
1252
  }));
1281
1253
  //#endregion
1282
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js
1254
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js
1283
1255
  var SCHEMA;
1284
1256
  var init_sentinels = __esmMin((() => {
1285
1257
  SCHEMA = {
@@ -1300,7 +1272,7 @@ var init_sentinels = __esmMin((() => {
1300
1272
  };
1301
1273
  }));
1302
1274
  //#endregion
1303
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
1275
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
1304
1276
  var TypeRegistry;
1305
1277
  var init_TypeRegistry = __esmMin((() => {
1306
1278
  TypeRegistry = class TypeRegistry {
@@ -1373,7 +1345,7 @@ var init_TypeRegistry = __esmMin((() => {
1373
1345
  };
1374
1346
  }));
1375
1347
  //#endregion
1376
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/schema/index.js
1348
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/schema/index.js
1377
1349
  var schema_exports = /* @__PURE__ */ __exportAll({
1378
1350
  ErrorSchema: () => ErrorSchema,
1379
1351
  ListSchema: () => ListSchema,
@@ -1420,7 +1392,7 @@ var init_schema = __esmMin((() => {
1420
1392
  init_TypeRegistry();
1421
1393
  }));
1422
1394
  //#endregion
1423
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
1395
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js
1424
1396
  function schemaLogFilter(schema, data) {
1425
1397
  if (data == null) return data;
1426
1398
  const ns = NormalizedSchema.of(schema);
@@ -1443,7 +1415,7 @@ var init_schemaLogFilter = __esmMin((() => {
1443
1415
  SENSITIVE_STRING$1 = "***SensitiveInformation***";
1444
1416
  }));
1445
1417
  //#endregion
1446
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
1418
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js
1447
1419
  var import_dist_cjs$5, Command, ClassBuilder;
1448
1420
  var init_command = __esmMin((() => {
1449
1421
  import_dist_cjs$5 = require_dist_cjs();
@@ -1575,13 +1547,13 @@ var init_command = __esmMin((() => {
1575
1547
  };
1576
1548
  }));
1577
1549
  //#endregion
1578
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/constants.js
1550
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/constants.js
1579
1551
  var SENSITIVE_STRING;
1580
1552
  var init_constants$2 = __esmMin((() => {
1581
1553
  SENSITIVE_STRING = "***SensitiveInformation***";
1582
1554
  }));
1583
1555
  //#endregion
1584
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
1556
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js
1585
1557
  var createAggregatedClient;
1586
1558
  var init_create_aggregated_client = __esmMin((() => {
1587
1559
  createAggregatedClient = (commands, Client, options) => {
@@ -1615,7 +1587,7 @@ var init_create_aggregated_client = __esmMin((() => {
1615
1587
  };
1616
1588
  }));
1617
1589
  //#endregion
1618
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
1590
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js
1619
1591
  var ServiceException, decorateServiceException;
1620
1592
  var init_exceptions = __esmMin((() => {
1621
1593
  ServiceException = class ServiceException extends Error {
@@ -1656,7 +1628,7 @@ var init_exceptions = __esmMin((() => {
1656
1628
  };
1657
1629
  }));
1658
1630
  //#endregion
1659
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/default-error-handler.js
1631
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/default-error-handler.js
1660
1632
  var throwDefaultError, withBaseException, deserializeMetadata;
1661
1633
  var init_default_error_handler = __esmMin((() => {
1662
1634
  init_exceptions();
@@ -1687,7 +1659,7 @@ var init_default_error_handler = __esmMin((() => {
1687
1659
  });
1688
1660
  }));
1689
1661
  //#endregion
1690
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
1662
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/defaults-mode.js
1691
1663
  var loadConfigsForDefaultMode;
1692
1664
  var init_defaults_mode = __esmMin((() => {
1693
1665
  loadConfigsForDefaultMode = (mode) => {
@@ -1713,7 +1685,7 @@ var init_defaults_mode = __esmMin((() => {
1713
1685
  };
1714
1686
  }));
1715
1687
  //#endregion
1716
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
1688
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.js
1717
1689
  var warningEmitted, emitWarningIfUnsupportedVersion;
1718
1690
  var init_emitWarningIfUnsupportedVersion = __esmMin((() => {
1719
1691
  warningEmitted = false;
@@ -1722,9 +1694,9 @@ var init_emitWarningIfUnsupportedVersion = __esmMin((() => {
1722
1694
  };
1723
1695
  }));
1724
1696
  //#endregion
1725
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
1697
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js
1726
1698
  var import_dist_cjs$4, knownAlgorithms, getChecksumConfiguration, resolveChecksumRuntimeConfig;
1727
- var init_checksum = __esmMin((() => {
1699
+ var init_checksum$1 = __esmMin((() => {
1728
1700
  import_dist_cjs$4 = require_dist_cjs();
1729
1701
  knownAlgorithms = Object.values(import_dist_cjs$4.AlgorithmId);
1730
1702
  getChecksumConfiguration = (runtimeConfig) => {
@@ -1765,7 +1737,7 @@ var init_checksum = __esmMin((() => {
1765
1737
  };
1766
1738
  }));
1767
1739
  //#endregion
1768
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
1740
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/retry.js
1769
1741
  var getRetryConfiguration, resolveRetryRuntimeConfig;
1770
1742
  var init_retry = __esmMin((() => {
1771
1743
  getRetryConfiguration = (runtimeConfig) => {
@@ -1785,10 +1757,10 @@ var init_retry = __esmMin((() => {
1785
1757
  };
1786
1758
  }));
1787
1759
  //#endregion
1788
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
1760
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.js
1789
1761
  var getDefaultExtensionConfiguration, getDefaultClientConfiguration, resolveDefaultRuntimeConfig;
1790
1762
  var init_defaultExtensionConfiguration = __esmMin((() => {
1791
- init_checksum();
1763
+ init_checksum$1();
1792
1764
  init_retry();
1793
1765
  getDefaultExtensionConfiguration = (runtimeConfig) => {
1794
1766
  return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
@@ -1799,24 +1771,24 @@ var init_defaultExtensionConfiguration = __esmMin((() => {
1799
1771
  };
1800
1772
  }));
1801
1773
  //#endregion
1802
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-array-if-single-item.js
1774
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-array-if-single-item.js
1803
1775
  var getArrayIfSingleItem;
1804
1776
  var init_get_array_if_single_item = __esmMin((() => {
1805
1777
  getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray];
1806
1778
  }));
1807
1779
  //#endregion
1808
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js
1780
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js
1809
1781
  var getValueFromTextNode;
1810
1782
  var init_get_value_from_text_node = __esmMin((() => {
1811
1783
  getValueFromTextNode = (obj) => {
1812
1784
  const textNodeName = "#text";
1813
- for (const key in obj) if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== void 0) obj[key] = obj[key][textNodeName];
1785
+ for (const key in obj) if (Object.prototype.hasOwnProperty.call(obj, key) && obj[key][textNodeName] !== void 0) obj[key] = obj[key][textNodeName];
1814
1786
  else if (typeof obj[key] === "object" && obj[key] !== null) obj[key] = getValueFromTextNode(obj[key]);
1815
1787
  return obj;
1816
1788
  };
1817
1789
  }));
1818
1790
  //#endregion
1819
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/is-serializable-header-value.js
1791
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/is-serializable-header-value.js
1820
1792
  var isSerializableHeaderValue;
1821
1793
  var init_is_serializable_header_value = __esmMin((() => {
1822
1794
  isSerializableHeaderValue = (value) => {
@@ -1824,7 +1796,7 @@ var init_is_serializable_header_value = __esmMin((() => {
1824
1796
  };
1825
1797
  }));
1826
1798
  //#endregion
1827
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
1799
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/NoOpLogger.js
1828
1800
  var NoOpLogger;
1829
1801
  var init_NoOpLogger = __esmMin((() => {
1830
1802
  NoOpLogger = class {
@@ -1836,7 +1808,7 @@ var init_NoOpLogger = __esmMin((() => {
1836
1808
  };
1837
1809
  }));
1838
1810
  //#endregion
1839
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js
1811
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js
1840
1812
  function map(arg0, arg1, arg2) {
1841
1813
  let target;
1842
1814
  let filter;
@@ -1906,7 +1878,7 @@ var init_object_mapping = __esmMin((() => {
1906
1878
  pass = (_) => _;
1907
1879
  }));
1908
1880
  //#endregion
1909
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/ser-utils.js
1881
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/ser-utils.js
1910
1882
  var serializeFloat, serializeDateTime;
1911
1883
  var init_ser_utils = __esmMin((() => {
1912
1884
  serializeFloat = (value) => {
@@ -1920,7 +1892,7 @@ var init_ser_utils = __esmMin((() => {
1920
1892
  serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z");
1921
1893
  }));
1922
1894
  //#endregion
1923
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js
1895
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js
1924
1896
  var _json;
1925
1897
  var init_serde_json = __esmMin((() => {
1926
1898
  _json = (obj) => {
@@ -1938,7 +1910,22 @@ var init_serde_json = __esmMin((() => {
1938
1910
  };
1939
1911
  }));
1940
1912
  //#endregion
1941
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/client/index.js
1913
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js
1914
+ function makeBuilder(common, service, name, ep) {
1915
+ return function makeCommand(added, plugins, op, $, smithyContext = {}) {
1916
+ const epMerged = Object.assign({}, common, added);
1917
+ return Command.classBuilder().ep(epMerged).m(function(CommandCtor, clientStack, config, options) {
1918
+ const list = plugins.call(this, CommandCtor, clientStack, config, options);
1919
+ list.unshift(ep(config, CommandCtor.getEndpointParameterInstructions()));
1920
+ return list;
1921
+ }).s(service, op, smithyContext).n(name, op.charAt(0).toUpperCase() + op.slice(1) + "Command").sc($).build();
1922
+ };
1923
+ }
1924
+ var init_client_command_builder = __esmMin((() => {
1925
+ init_command();
1926
+ }));
1927
+ //#endregion
1928
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/client/index.js
1942
1929
  var client_exports = /* @__PURE__ */ __exportAll({
1943
1930
  AlgorithmId: () => import_dist_cjs$4.AlgorithmId,
1944
1931
  Client: () => Client,
@@ -1966,6 +1953,7 @@ var client_exports = /* @__PURE__ */ __exportAll({
1966
1953
  invalidProvider: () => invalidProvider,
1967
1954
  isSerializableHeaderValue: () => isSerializableHeaderValue,
1968
1955
  loadConfigsForDefaultMode: () => loadConfigsForDefaultMode,
1956
+ makeBuilder: () => makeBuilder,
1969
1957
  map: () => map,
1970
1958
  normalizeProvider: () => normalizeProvider,
1971
1959
  resolveChecksumRuntimeConfig: () => resolveChecksumRuntimeConfig,
@@ -1995,7 +1983,7 @@ var init_client = __esmMin((() => {
1995
1983
  init_emitWarningIfUnsupportedVersion();
1996
1984
  init_exceptions();
1997
1985
  init_defaultExtensionConfiguration();
1998
- init_checksum();
1986
+ init_checksum$1();
1999
1987
  init_retry();
2000
1988
  init_get_array_if_single_item();
2001
1989
  init_get_value_from_text_node();
@@ -2005,15 +1993,16 @@ var init_client = __esmMin((() => {
2005
1993
  init_schemaLogFilter();
2006
1994
  init_ser_utils();
2007
1995
  init_serde_json();
1996
+ init_client_command_builder();
2008
1997
  }));
2009
1998
  //#endregion
2010
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
1999
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
2011
2000
  var isArrayBuffer;
2012
2001
  var init_is_array_buffer = __esmMin((() => {
2013
2002
  isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
2014
2003
  }));
2015
2004
  //#endregion
2016
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
2005
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
2017
2006
  var fromArrayBuffer, fromString;
2018
2007
  var init_buffer_from = __esmMin((() => {
2019
2008
  init_is_array_buffer();
@@ -2027,12 +2016,12 @@ var init_buffer_from = __esmMin((() => {
2027
2016
  };
2028
2017
  }));
2029
2018
  //#endregion
2030
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
2031
- var BASE64_REGEX, fromBase64$1;
2019
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
2020
+ var BASE64_REGEX, fromBase64;
2032
2021
  var init_fromBase64 = __esmMin((() => {
2033
2022
  init_buffer_from();
2034
2023
  BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
2035
- fromBase64$1 = (input) => {
2024
+ fromBase64 = (input) => {
2036
2025
  if (input.length * 3 % 4 !== 0) throw new TypeError(`Incorrect padding on base64 string.`);
2037
2026
  if (!BASE64_REGEX.exec(input)) throw new TypeError(`Invalid base64 string.`);
2038
2027
  const buffer = fromString(input, "base64");
@@ -2040,7 +2029,7 @@ var init_fromBase64 = __esmMin((() => {
2040
2029
  };
2041
2030
  }));
2042
2031
  //#endregion
2043
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
2032
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
2044
2033
  var fromUtf8$1;
2045
2034
  var init_fromUtf8 = __esmMin((() => {
2046
2035
  init_buffer_from();
@@ -2050,7 +2039,7 @@ var init_fromUtf8 = __esmMin((() => {
2050
2039
  };
2051
2040
  }));
2052
2041
  //#endregion
2053
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
2042
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
2054
2043
  var toBase64$1;
2055
2044
  var init_toBase64 = __esmMin((() => {
2056
2045
  init_buffer_from();
@@ -2064,7 +2053,7 @@ var init_toBase64 = __esmMin((() => {
2064
2053
  };
2065
2054
  }));
2066
2055
  //#endregion
2067
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
2056
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
2068
2057
  function bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
2069
2058
  return class Uint8ArrayBlobAdapter extends Uint8Array {
2070
2059
  static fromString(source, encoding = "utf-8") {
@@ -2086,7 +2075,7 @@ function bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
2086
2075
  }
2087
2076
  var init_Uint8ArrayBlobAdapter = __esmMin((() => {}));
2088
2077
  //#endregion
2089
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
2078
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
2090
2079
  var toUtf8$1;
2091
2080
  var init_toUtf8 = __esmMin((() => {
2092
2081
  init_buffer_from();
@@ -2097,11 +2086,11 @@ var init_toUtf8 = __esmMin((() => {
2097
2086
  };
2098
2087
  }));
2099
2088
  //#endregion
2100
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
2089
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
2101
2090
  function bindV4(getRandomValues) {
2102
2091
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") return () => crypto.randomUUID();
2103
2092
  return () => {
2104
- const rnds = new Uint8Array(16);
2093
+ const rnds = /* @__PURE__ */ new Uint8Array(16);
2105
2094
  getRandomValues(rnds);
2106
2095
  rnds[6] = rnds[6] & 15 | 64;
2107
2096
  rnds[8] = rnds[8] & 63 | 128;
@@ -2113,13 +2102,13 @@ var init_v4 = __esmMin((() => {
2113
2102
  decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
2114
2103
  }));
2115
2104
  //#endregion
2116
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js
2105
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js
2117
2106
  var copyDocumentWithTransform;
2118
2107
  var init_copyDocumentWithTransform = __esmMin((() => {
2119
2108
  copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
2120
2109
  }));
2121
2110
  //#endregion
2122
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
2111
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
2123
2112
  var parseBoolean, expectBoolean, expectNumber, MAX_FLOAT, expectFloat32, expectLong, expectInt, expectInt32, expectShort, expectByte, expectSizedInt, castInt, expectNonNull, expectObject, expectString, expectUnion, strictParseDouble, strictParseFloat, strictParseFloat32, NUMBER_REGEX, parseNumber, limitedParseDouble, handleFloat, limitedParseFloat, limitedParseFloat32, parseFloatString, strictParseLong, strictParseInt, strictParseInt32, strictParseShort, strictParseByte, stackTraceWarning, logger;
2124
2113
  var init_parse_utils = __esmMin((() => {
2125
2114
  parseBoolean = (value) => {
@@ -2276,7 +2265,7 @@ var init_parse_utils = __esmMin((() => {
2276
2265
  logger = { warn: console.warn };
2277
2266
  }));
2278
2267
  //#endregion
2279
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
2268
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
2280
2269
  function dateToUtcString(date) {
2281
2270
  const year = date.getUTCFullYear();
2282
2271
  const month = date.getUTCMonth();
@@ -2324,7 +2313,10 @@ var init_date_utils = __esmMin((() => {
2324
2313
  const match = RFC3339.exec(value);
2325
2314
  if (!match) throw new TypeError("Invalid RFC-3339 date-time value");
2326
2315
  const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match;
2327
- return buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseDateValue(monthStr, "month", 1, 12), parseDateValue(dayStr, "day", 1, 31), {
2316
+ const year = strictParseShort(stripLeadingZeroes(yearStr));
2317
+ const month = parseDateValue(monthStr, "month", 1, 12);
2318
+ const day = parseDateValue(dayStr, "day", 1, 31);
2319
+ return buildDate(year, month, day, {
2328
2320
  hours,
2329
2321
  minutes,
2330
2322
  seconds,
@@ -2338,7 +2330,10 @@ var init_date_utils = __esmMin((() => {
2338
2330
  const match = RFC3339_WITH_OFFSET$1.exec(value);
2339
2331
  if (!match) throw new TypeError("Invalid RFC-3339 date-time value");
2340
2332
  const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match;
2341
- const date = buildDate(strictParseShort(stripLeadingZeroes(yearStr)), parseDateValue(monthStr, "month", 1, 12), parseDateValue(dayStr, "day", 1, 31), {
2333
+ const year = strictParseShort(stripLeadingZeroes(yearStr));
2334
+ const month = parseDateValue(monthStr, "month", 1, 12);
2335
+ const day = parseDateValue(dayStr, "day", 1, 31);
2336
+ const date = buildDate(year, month, day, {
2342
2337
  hours,
2343
2338
  minutes,
2344
2339
  seconds,
@@ -2465,7 +2460,7 @@ var init_date_utils = __esmMin((() => {
2465
2460
  };
2466
2461
  }));
2467
2462
  //#endregion
2468
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
2463
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
2469
2464
  var LazyJsonString;
2470
2465
  var init_lazy_json = __esmMin((() => {
2471
2466
  LazyJsonString = function LazyJsonString(val) {
@@ -2489,14 +2484,14 @@ var init_lazy_json = __esmMin((() => {
2489
2484
  LazyJsonString.fromObject = LazyJsonString.from;
2490
2485
  }));
2491
2486
  //#endregion
2492
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
2487
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
2493
2488
  function quoteHeader(part) {
2494
2489
  if (part.includes(",") || part.includes("\"")) part = `"${part.replace(/"/g, "\\\"")}"`;
2495
2490
  return part;
2496
2491
  }
2497
2492
  var init_quote_header = __esmMin((() => {}));
2498
2493
  //#endregion
2499
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
2494
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
2500
2495
  function range(v, min, max) {
2501
2496
  const _v = Number(v);
2502
2497
  if (_v < min || _v > max) throw new Error(`Value ${_v} out of range [${min}, ${max}]`);
@@ -2592,7 +2587,7 @@ var init_schema_date_utils = __esmMin((() => {
2592
2587
  };
2593
2588
  }));
2594
2589
  //#endregion
2595
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
2590
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
2596
2591
  function splitEvery(value, delimiter, numDelimiters) {
2597
2592
  if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
2598
2593
  const segments = value.split(delimiter);
@@ -2612,7 +2607,7 @@ function splitEvery(value, delimiter, numDelimiters) {
2612
2607
  }
2613
2608
  var init_split_every = __esmMin((() => {}));
2614
2609
  //#endregion
2615
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
2610
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
2616
2611
  var splitHeader;
2617
2612
  var init_split_header = __esmMin((() => {
2618
2613
  splitHeader = (value) => {
@@ -2648,7 +2643,7 @@ var init_split_header = __esmMin((() => {
2648
2643
  };
2649
2644
  }));
2650
2645
  //#endregion
2651
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
2646
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
2652
2647
  function nv(input) {
2653
2648
  return new NumericValue(String(input), "bigDecimal");
2654
2649
  }
@@ -2674,7 +2669,7 @@ var init_NumericValue = __esmMin((() => {
2674
2669
  };
2675
2670
  }));
2676
2671
  //#endregion
2677
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
2672
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
2678
2673
  function fromHex(encoded) {
2679
2674
  if (encoded.length % 2 !== 0) throw new Error("Hex encoded strings must have an even number length");
2680
2675
  const out = new Uint8Array(encoded.length / 2);
@@ -2702,7 +2697,7 @@ var init_hex_encoding = __esmMin((() => {
2702
2697
  }
2703
2698
  }));
2704
2699
  //#endregion
2705
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
2700
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
2706
2701
  var calculateBodyLength;
2707
2702
  var init_calculateBodyLength = __esmMin((() => {
2708
2703
  calculateBodyLength = (body) => {
@@ -2719,18 +2714,35 @@ var init_calculateBodyLength = __esmMin((() => {
2719
2714
  };
2720
2715
  }));
2721
2716
  //#endregion
2722
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
2717
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
2723
2718
  var toUint8Array;
2724
2719
  var init_toUint8Array = __esmMin((() => {
2725
2720
  init_fromUtf8();
2726
2721
  toUint8Array = (data) => {
2722
+ if (data instanceof Uint8Array) return data;
2727
2723
  if (typeof data === "string") return fromUtf8$1(data);
2728
2724
  if (ArrayBuffer.isView(data)) return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
2729
2725
  return new Uint8Array(data);
2730
2726
  };
2731
2727
  }));
2732
2728
  //#endregion
2733
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js
2729
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js
2730
+ function concatBytes(arrays, length) {
2731
+ if (length === void 0) {
2732
+ length = 0;
2733
+ for (const bytes of arrays) length += bytes.byteLength;
2734
+ }
2735
+ const result = new Uint8Array(length);
2736
+ let offset = 0;
2737
+ for (const buf of arrays) {
2738
+ result.set(buf, offset);
2739
+ offset += buf.byteLength;
2740
+ }
2741
+ return result;
2742
+ }
2743
+ var init_concatBytes = __esmMin((() => {}));
2744
+ //#endregion
2745
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js
2734
2746
  var deserializerMiddleware, findHeader;
2735
2747
  var init_deserializerMiddleware = __esmMin((() => {
2736
2748
  init_transport();
@@ -2782,7 +2794,7 @@ var init_deserializerMiddleware = __esmMin((() => {
2782
2794
  };
2783
2795
  }));
2784
2796
  //#endregion
2785
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
2797
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/ProviderError.js
2786
2798
  var ProviderError;
2787
2799
  var init_ProviderError = __esmMin((() => {
2788
2800
  ProviderError = class ProviderError extends Error {
@@ -2809,7 +2821,7 @@ var init_ProviderError = __esmMin((() => {
2809
2821
  };
2810
2822
  }));
2811
2823
  //#endregion
2812
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
2824
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/CredentialsProviderError.js
2813
2825
  var CredentialsProviderError;
2814
2826
  var init_CredentialsProviderError = __esmMin((() => {
2815
2827
  init_ProviderError();
@@ -2822,7 +2834,7 @@ var init_CredentialsProviderError = __esmMin((() => {
2822
2834
  };
2823
2835
  }));
2824
2836
  //#endregion
2825
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
2837
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/TokenProviderError.js
2826
2838
  var TokenProviderError;
2827
2839
  var init_TokenProviderError = __esmMin((() => {
2828
2840
  init_ProviderError();
@@ -2835,7 +2847,7 @@ var init_TokenProviderError = __esmMin((() => {
2835
2847
  };
2836
2848
  }));
2837
2849
  //#endregion
2838
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
2850
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/chain.js
2839
2851
  var chain;
2840
2852
  var init_chain = __esmMin((() => {
2841
2853
  init_ProviderError();
@@ -2853,13 +2865,13 @@ var init_chain = __esmMin((() => {
2853
2865
  };
2854
2866
  }));
2855
2867
  //#endregion
2856
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
2868
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/fromValue.js
2857
2869
  var fromValue;
2858
2870
  var init_fromValue = __esmMin((() => {
2859
2871
  fromValue = (staticValue) => () => Promise.resolve(staticValue);
2860
2872
  }));
2861
2873
  //#endregion
2862
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
2874
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/property-provider/memoize.js
2863
2875
  var memoize;
2864
2876
  var init_memoize = __esmMin((() => {
2865
2877
  memoize = (provider, isExpired, requiresRefresh) => {
@@ -2898,7 +2910,7 @@ var init_memoize = __esmMin((() => {
2898
2910
  };
2899
2911
  }));
2900
2912
  //#endregion
2901
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
2913
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js
2902
2914
  var booleanSelector;
2903
2915
  var init_booleanSelector = __esmMin((() => {
2904
2916
  booleanSelector = (obj, key, type) => {
@@ -2909,7 +2921,7 @@ var init_booleanSelector = __esmMin((() => {
2909
2921
  };
2910
2922
  }));
2911
2923
  //#endregion
2912
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js
2924
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js
2913
2925
  var numberSelector;
2914
2926
  var init_numberSelector = __esmMin((() => {
2915
2927
  numberSelector = (obj, key, type) => {
@@ -2920,7 +2932,7 @@ var init_numberSelector = __esmMin((() => {
2920
2932
  };
2921
2933
  }));
2922
2934
  //#endregion
2923
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
2935
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/types.js
2924
2936
  var SelectorType;
2925
2937
  var init_types$1 = __esmMin((() => {
2926
2938
  (function(SelectorType) {
@@ -2929,7 +2941,7 @@ var init_types$1 = __esmMin((() => {
2929
2941
  })(SelectorType || (SelectorType = {}));
2930
2942
  }));
2931
2943
  //#endregion
2932
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
2944
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js
2933
2945
  var homeDirCache, getHomeDirCacheKey, getHomeDir;
2934
2946
  var init_getHomeDir = __esmMin((() => {
2935
2947
  homeDirCache = {};
@@ -2948,7 +2960,7 @@ var init_getHomeDir = __esmMin((() => {
2948
2960
  };
2949
2961
  }));
2950
2962
  //#endregion
2951
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
2963
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getProfileName.js
2952
2964
  var ENV_PROFILE, DEFAULT_PROFILE, getProfileName;
2953
2965
  var init_getProfileName = __esmMin((() => {
2954
2966
  ENV_PROFILE = "AWS_PROFILE";
@@ -2956,7 +2968,7 @@ var init_getProfileName = __esmMin((() => {
2956
2968
  getProfileName = (init) => init.profile || process.env["AWS_PROFILE"] || "default";
2957
2969
  }));
2958
2970
  //#endregion
2959
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
2971
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.js
2960
2972
  var getSSOTokenFilepath;
2961
2973
  var init_getSSOTokenFilepath = __esmMin((() => {
2962
2974
  init_getHomeDir();
@@ -2966,7 +2978,7 @@ var init_getSSOTokenFilepath = __esmMin((() => {
2966
2978
  };
2967
2979
  }));
2968
2980
  //#endregion
2969
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
2981
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.js
2970
2982
  var tokenIntercept, getSSOTokenFromFile;
2971
2983
  var init_getSSOTokenFromFile = __esmMin((() => {
2972
2984
  init_getSSOTokenFilepath();
@@ -2978,10 +2990,10 @@ var init_getSSOTokenFromFile = __esmMin((() => {
2978
2990
  };
2979
2991
  }));
2980
2992
  //#endregion
2981
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
2993
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/constants.js
2982
2994
  var init_constants$1 = __esmMin((() => {}));
2983
2995
  //#endregion
2984
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
2996
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getConfigData.js
2985
2997
  var import_dist_cjs$3, getConfigData;
2986
2998
  var init_getConfigData = __esmMin((() => {
2987
2999
  import_dist_cjs$3 = require_dist_cjs();
@@ -3006,7 +3018,7 @@ var init_getCredentialsFilepath = __esmMin((() => {
3006
3018
  getCredentialsFilepath = () => process.env["AWS_SHARED_CREDENTIALS_FILE"] || join(getHomeDir(), ".aws", "credentials");
3007
3019
  }));
3008
3020
  //#endregion
3009
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
3021
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js
3010
3022
  var import_dist_cjs$2, prefixKeyRegex, profileNameBlockList, parseIni;
3011
3023
  var init_parseIni = __esmMin((() => {
3012
3024
  import_dist_cjs$2 = require_dist_cjs();
@@ -3047,7 +3059,7 @@ var init_parseIni = __esmMin((() => {
3047
3059
  };
3048
3060
  }));
3049
3061
  //#endregion
3050
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
3062
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/readFile.js
3051
3063
  var filePromises, fileIntercept, readFile$1;
3052
3064
  var init_readFile = __esmMin((() => {
3053
3065
  filePromises = {};
@@ -3059,7 +3071,7 @@ var init_readFile = __esmMin((() => {
3059
3071
  };
3060
3072
  }));
3061
3073
  //#endregion
3062
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
3074
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.js
3063
3075
  var swallowError$1, loadSharedConfigFiles;
3064
3076
  var init_loadSharedConfigFiles = __esmMin((() => {
3065
3077
  init_getConfigData();
@@ -3086,7 +3098,7 @@ var init_loadSharedConfigFiles = __esmMin((() => {
3086
3098
  };
3087
3099
  }));
3088
3100
  //#endregion
3089
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
3101
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getSsoSessionData.js
3090
3102
  var import_dist_cjs$1, getSsoSessionData;
3091
3103
  var init_getSsoSessionData = __esmMin((() => {
3092
3104
  import_dist_cjs$1 = require_dist_cjs();
@@ -3097,7 +3109,7 @@ var init_getSsoSessionData = __esmMin((() => {
3097
3109
  }), {});
3098
3110
  }));
3099
3111
  //#endregion
3100
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
3112
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/loadSsoSessionData.js
3101
3113
  var swallowError, loadSsoSessionData;
3102
3114
  var init_loadSsoSessionData = __esmMin((() => {
3103
3115
  init_getConfigFilepath();
@@ -3108,7 +3120,7 @@ var init_loadSsoSessionData = __esmMin((() => {
3108
3120
  loadSsoSessionData = async (init = {}) => readFile$1(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError);
3109
3121
  }));
3110
3122
  //#endregion
3111
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
3123
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/mergeConfigFiles.js
3112
3124
  var mergeConfigFiles;
3113
3125
  var init_mergeConfigFiles = __esmMin((() => {
3114
3126
  mergeConfigFiles = (...files) => {
@@ -3119,7 +3131,7 @@ var init_mergeConfigFiles = __esmMin((() => {
3119
3131
  };
3120
3132
  }));
3121
3133
  //#endregion
3122
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
3134
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseKnownFiles.js
3123
3135
  var parseKnownFiles;
3124
3136
  var init_parseKnownFiles = __esmMin((() => {
3125
3137
  init_loadSharedConfigFiles();
@@ -3130,7 +3142,7 @@ var init_parseKnownFiles = __esmMin((() => {
3130
3142
  };
3131
3143
  }));
3132
3144
  //#endregion
3133
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
3145
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/externalDataInterceptor.js
3134
3146
  var externalDataInterceptor;
3135
3147
  var init_externalDataInterceptor = __esmMin((() => {
3136
3148
  init_getSSOTokenFromFile();
@@ -3151,7 +3163,7 @@ var init_externalDataInterceptor = __esmMin((() => {
3151
3163
  };
3152
3164
  }));
3153
3165
  //#endregion
3154
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
3166
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js
3155
3167
  function getSelectorName(functionString) {
3156
3168
  try {
3157
3169
  const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
@@ -3165,7 +3177,7 @@ function getSelectorName(functionString) {
3165
3177
  }
3166
3178
  var init_getSelectorName = __esmMin((() => {}));
3167
3179
  //#endregion
3168
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
3180
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromEnv.js
3169
3181
  var fromEnv;
3170
3182
  var init_fromEnv = __esmMin((() => {
3171
3183
  init_CredentialsProviderError();
@@ -3181,7 +3193,7 @@ var init_fromEnv = __esmMin((() => {
3181
3193
  };
3182
3194
  }));
3183
3195
  //#endregion
3184
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
3196
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromSharedConfigFiles.js
3185
3197
  var fromSharedConfigFiles;
3186
3198
  var init_fromSharedConfigFiles = __esmMin((() => {
3187
3199
  init_CredentialsProviderError();
@@ -3210,7 +3222,7 @@ var init_fromSharedConfigFiles = __esmMin((() => {
3210
3222
  };
3211
3223
  }));
3212
3224
  //#endregion
3213
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
3225
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/fromStatic.js
3214
3226
  var isFunction, fromStatic;
3215
3227
  var init_fromStatic = __esmMin((() => {
3216
3228
  init_fromValue();
@@ -3218,7 +3230,7 @@ var init_fromStatic = __esmMin((() => {
3218
3230
  fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : fromValue(defaultValue);
3219
3231
  }));
3220
3232
  //#endregion
3221
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
3233
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/configLoader.js
3222
3234
  var loadConfig;
3223
3235
  var init_configLoader = __esmMin((() => {
3224
3236
  init_chain();
@@ -3235,7 +3247,7 @@ var init_configLoader = __esmMin((() => {
3235
3247
  };
3236
3248
  }));
3237
3249
  //#endregion
3238
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
3250
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
3239
3251
  var ENV_USE_DUALSTACK_ENDPOINT, CONFIG_USE_DUALSTACK_ENDPOINT, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, nodeDualstackConfigSelectors;
3240
3252
  var init_NodeUseDualstackEndpointConfigOptions = __esmMin((() => {
3241
3253
  init_booleanSelector();
@@ -3254,7 +3266,7 @@ var init_NodeUseDualstackEndpointConfigOptions = __esmMin((() => {
3254
3266
  };
3255
3267
  }));
3256
3268
  //#endregion
3257
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
3269
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
3258
3270
  var ENV_USE_FIPS_ENDPOINT, CONFIG_USE_FIPS_ENDPOINT, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, nodeFipsConfigSelectors;
3259
3271
  var init_NodeUseFipsEndpointConfigOptions = __esmMin((() => {
3260
3272
  init_booleanSelector();
@@ -3273,7 +3285,7 @@ var init_NodeUseFipsEndpointConfigOptions = __esmMin((() => {
3273
3285
  };
3274
3286
  }));
3275
3287
  //#endregion
3276
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.js
3288
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.js
3277
3289
  var resolveCustomEndpointsConfig;
3278
3290
  var init_resolveCustomEndpointsConfig = __esmMin((() => {
3279
3291
  init_client();
@@ -3288,7 +3300,7 @@ var init_resolveCustomEndpointsConfig = __esmMin((() => {
3288
3300
  };
3289
3301
  }));
3290
3302
  //#endregion
3291
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.js
3303
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.js
3292
3304
  var getEndpointFromRegion;
3293
3305
  var init_getEndpointFromRegion = __esmMin((() => {
3294
3306
  getEndpointFromRegion = async (input) => {
@@ -3306,7 +3318,7 @@ var init_getEndpointFromRegion = __esmMin((() => {
3306
3318
  };
3307
3319
  }));
3308
3320
  //#endregion
3309
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.js
3321
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.js
3310
3322
  var resolveEndpointsConfig;
3311
3323
  var init_resolveEndpointsConfig = __esmMin((() => {
3312
3324
  init_client();
@@ -3325,24 +3337,120 @@ var init_resolveEndpointsConfig = __esmMin((() => {
3325
3337
  useDualstackEndpoint
3326
3338
  });
3327
3339
  };
3340
+ })), DEFAULTS_MODE_OPTIONS, IMDS_TOKEN_PATH, X_AWS_EC2_METADATA_TOKEN_TTL;
3341
+ var init_constants = __esmMin((() => {
3342
+ DEFAULTS_MODE_OPTIONS = [
3343
+ "in-region",
3344
+ "cross-region",
3345
+ "mobile",
3346
+ "standard",
3347
+ "legacy"
3348
+ ];
3349
+ IMDS_TOKEN_PATH = "/latest/api/token";
3350
+ X_AWS_EC2_METADATA_TOKEN_TTL = "x-aws-ec2-metadata-token-ttl-seconds";
3328
3351
  }));
3329
3352
  //#endregion
3330
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
3353
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js
3354
+ var TIMEOUT_MS, NEG_CACHE_TTL_MS, negativeCacheUntil, getInstanceMetadataRegion, cacheNegativeAndReturnUndefined, resolveImdsEndpoint, imdsRequest;
3355
+ var init_getInstanceMetadataRegion = __esmMin((() => {
3356
+ init_constants();
3357
+ TIMEOUT_MS = 1e3;
3358
+ NEG_CACHE_TTL_MS = 6e4;
3359
+ negativeCacheUntil = 0;
3360
+ getInstanceMetadataRegion = async () => {
3361
+ if (process.env["AWS_EC2_METADATA_DISABLED"]) return;
3362
+ if (Date.now() < negativeCacheUntil) return;
3363
+ try {
3364
+ const endpoint = resolveImdsEndpoint();
3365
+ const token = (await imdsRequest({
3366
+ ...endpoint,
3367
+ path: IMDS_TOKEN_PATH,
3368
+ method: "PUT",
3369
+ headers: { [X_AWS_EC2_METADATA_TOKEN_TTL]: "21600" }
3370
+ })).toString();
3371
+ return (await imdsRequest({
3372
+ ...endpoint,
3373
+ path: "/latest/meta-data/placement/region",
3374
+ method: "GET",
3375
+ headers: { ["x-aws-ec2-metadata-token"]: token }
3376
+ })).toString().trim() || cacheNegativeAndReturnUndefined();
3377
+ } catch {
3378
+ return cacheNegativeAndReturnUndefined();
3379
+ }
3380
+ };
3381
+ cacheNegativeAndReturnUndefined = () => {
3382
+ negativeCacheUntil = Date.now() + NEG_CACHE_TTL_MS;
3383
+ };
3384
+ resolveImdsEndpoint = () => {
3385
+ const envEndpoint = process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;
3386
+ if (envEndpoint) {
3387
+ const url = new URL(envEndpoint);
3388
+ return {
3389
+ hostname: url.hostname.replace(/^\[(.+)]$/, "$1"),
3390
+ port: url.port ? Number(url.port) : void 0
3391
+ };
3392
+ }
3393
+ if (process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE === "IPv6") return { hostname: "fd00:ec2::254" };
3394
+ return { hostname: "169.254.169.254" };
3395
+ };
3396
+ imdsRequest = async (options) => {
3397
+ const { request } = await import("node:http");
3398
+ return new Promise((resolve, reject) => {
3399
+ const req = request({
3400
+ hostname: options.hostname,
3401
+ port: options.port,
3402
+ path: options.path,
3403
+ method: options.method,
3404
+ headers: options.headers,
3405
+ timeout: TIMEOUT_MS,
3406
+ signal: AbortSignal.timeout(TIMEOUT_MS)
3407
+ });
3408
+ req.on("error", (err) => {
3409
+ reject(err);
3410
+ req.destroy();
3411
+ });
3412
+ req.on("timeout", () => {
3413
+ reject(/* @__PURE__ */ new Error("TimeoutError from instance metadata service"));
3414
+ req.destroy();
3415
+ });
3416
+ req.on("response", (res) => {
3417
+ const { statusCode = 400 } = res;
3418
+ if (statusCode < 200 || statusCode >= 300) {
3419
+ reject(Object.assign(/* @__PURE__ */ new Error("Error response received from instance metadata service"), { statusCode }));
3420
+ req.destroy();
3421
+ return;
3422
+ }
3423
+ const chunks = [];
3424
+ res.on("data", (chunk) => chunks.push(chunk));
3425
+ res.on("end", () => {
3426
+ resolve(Buffer.concat(chunks));
3427
+ req.destroy();
3428
+ });
3429
+ });
3430
+ req.end();
3431
+ });
3432
+ };
3433
+ }));
3434
+ //#endregion
3435
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js
3331
3436
  var REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS;
3332
3437
  var init_config$1 = __esmMin((() => {
3438
+ init_getInstanceMetadataRegion();
3333
3439
  REGION_ENV_NAME = "AWS_REGION";
3334
3440
  REGION_INI_NAME = "region";
3335
3441
  NODE_REGION_CONFIG_OPTIONS = {
3336
3442
  environmentVariableSelector: (env) => env[REGION_ENV_NAME],
3337
3443
  configFileSelector: (profile) => profile[REGION_INI_NAME],
3338
- default: () => {
3444
+ default: async () => {
3445
+ const region = await getInstanceMetadataRegion();
3446
+ if (region) return region;
3339
3447
  throw new Error("Region is missing");
3340
3448
  }
3341
3449
  };
3342
3450
  NODE_REGION_CONFIG_FILE_OPTIONS = { preferredFile: "credentials" };
3343
3451
  }));
3344
3452
  //#endregion
3345
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
3453
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js
3346
3454
  var validRegions, checkRegion;
3347
3455
  var init_checkRegion = __esmMin((() => {
3348
3456
  init_transport();
@@ -3354,20 +3462,20 @@ var init_checkRegion = __esmMin((() => {
3354
3462
  };
3355
3463
  }));
3356
3464
  //#endregion
3357
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
3465
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/isFipsRegion.js
3358
3466
  var isFipsRegion;
3359
3467
  var init_isFipsRegion = __esmMin((() => {
3360
3468
  isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
3361
3469
  }));
3362
3470
  //#endregion
3363
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
3471
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getRealRegion.js
3364
3472
  var getRealRegion;
3365
3473
  var init_getRealRegion = __esmMin((() => {
3366
3474
  init_isFipsRegion();
3367
3475
  getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
3368
3476
  }));
3369
3477
  //#endregion
3370
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
3478
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/resolveRegionConfig.js
3371
3479
  var resolveRegionConfig;
3372
3480
  var init_resolveRegionConfig = __esmMin((() => {
3373
3481
  init_checkRegion();
@@ -3390,25 +3498,25 @@ var init_resolveRegionConfig = __esmMin((() => {
3390
3498
  };
3391
3499
  }));
3392
3500
  //#endregion
3393
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.js
3501
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.js
3394
3502
  var getHostnameFromVariants;
3395
3503
  var init_getHostnameFromVariants = __esmMin((() => {
3396
3504
  getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack"))?.hostname;
3397
3505
  }));
3398
3506
  //#endregion
3399
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getResolvedHostname.js
3507
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getResolvedHostname.js
3400
3508
  var getResolvedHostname;
3401
3509
  var init_getResolvedHostname = __esmMin((() => {
3402
3510
  getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname ? regionHostname : partitionHostname ? partitionHostname.replace("{region}", resolvedRegion) : void 0;
3403
3511
  }));
3404
3512
  //#endregion
3405
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getResolvedPartition.js
3513
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getResolvedPartition.js
3406
3514
  var getResolvedPartition;
3407
3515
  var init_getResolvedPartition = __esmMin((() => {
3408
3516
  getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws";
3409
3517
  }));
3410
3518
  //#endregion
3411
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.js
3519
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.js
3412
3520
  var getResolvedSigningRegion;
3413
3521
  var init_getResolvedSigningRegion = __esmMin((() => {
3414
3522
  getResolvedSigningRegion = (hostname, { signingRegion, regionRegex, useFipsEndpoint }) => {
@@ -3421,7 +3529,7 @@ var init_getResolvedSigningRegion = __esmMin((() => {
3421
3529
  };
3422
3530
  }));
3423
3531
  //#endregion
3424
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js
3532
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js
3425
3533
  var getRegionInfo;
3426
3534
  var init_getRegionInfo = __esmMin((() => {
3427
3535
  init_getHostnameFromVariants();
@@ -3453,19 +3561,9 @@ var init_getRegionInfo = __esmMin((() => {
3453
3561
  ...regionHash[resolvedRegion]?.signingService && { signingService: regionHash[resolvedRegion].signingService }
3454
3562
  };
3455
3563
  };
3456
- })), DEFAULTS_MODE_OPTIONS, IMDS_REGION_PATH;
3457
- var init_constants = __esmMin((() => {
3458
- DEFAULTS_MODE_OPTIONS = [
3459
- "in-region",
3460
- "cross-region",
3461
- "mobile",
3462
- "standard",
3463
- "legacy"
3464
- ];
3465
- IMDS_REGION_PATH = "/latest/meta-data/placement/region";
3466
3564
  }));
3467
3565
  //#endregion
3468
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
3566
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/defaultsModeConfig.js
3469
3567
  var AWS_DEFAULTS_MODE_ENV, AWS_DEFAULTS_MODE_CONFIG, NODE_DEFAULTS_MODE_CONFIG_OPTIONS;
3470
3568
  var init_defaultsModeConfig = __esmMin((() => {
3471
3569
  AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
@@ -3481,10 +3579,11 @@ var init_defaultsModeConfig = __esmMin((() => {
3481
3579
  };
3482
3580
  }));
3483
3581
  //#endregion
3484
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
3485
- var resolveDefaultsModeConfig, resolveNodeDefaultsModeAuto, inferPhysicalRegion, getImdsEndpoint, imdsHttpGet;
3582
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js
3583
+ var resolveDefaultsModeConfig, resolveNodeDefaultsModeAuto, inferPhysicalRegion;
3486
3584
  var init_resolveDefaultsModeConfig = __esmMin((() => {
3487
3585
  init_config$1();
3586
+ init_getInstanceMetadataRegion();
3488
3587
  init_configLoader();
3489
3588
  init_memoize();
3490
3589
  init_constants();
@@ -3514,69 +3613,11 @@ var init_resolveDefaultsModeConfig = __esmMin((() => {
3514
3613
  };
3515
3614
  inferPhysicalRegion = async () => {
3516
3615
  if (process.env["AWS_EXECUTION_ENV"] && (process.env["AWS_REGION"] || process.env["AWS_DEFAULT_REGION"])) return process.env["AWS_REGION"] ?? process.env["AWS_DEFAULT_REGION"];
3517
- if (!process.env["AWS_EC2_METADATA_DISABLED"]) try {
3518
- return (await imdsHttpGet({
3519
- hostname: (await getImdsEndpoint()).hostname,
3520
- path: IMDS_REGION_PATH
3521
- })).toString();
3522
- } catch (e) {}
3523
- };
3524
- getImdsEndpoint = async () => {
3525
- const envEndpoint = process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT;
3526
- if (envEndpoint) {
3527
- const url = new URL(envEndpoint);
3528
- return {
3529
- hostname: url.hostname,
3530
- path: url.pathname
3531
- };
3532
- }
3533
- if (process.env.AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE === "IPv6") return {
3534
- hostname: "fd00:ec2::254",
3535
- path: "/"
3536
- };
3537
- return {
3538
- hostname: "169.254.169.254",
3539
- path: "/"
3540
- };
3541
- };
3542
- imdsHttpGet = async ({ hostname, path }) => {
3543
- const { request } = await import("node:http");
3544
- return new Promise((resolve, reject) => {
3545
- const req = request({
3546
- method: "GET",
3547
- hostname: hostname.replace(/^\[(.+)]$/, "$1"),
3548
- path,
3549
- timeout: 1e3,
3550
- signal: AbortSignal.timeout(1e3)
3551
- });
3552
- req.on("error", (err) => {
3553
- reject(err);
3554
- req.destroy();
3555
- });
3556
- req.on("timeout", () => {
3557
- reject(/* @__PURE__ */ new Error("TimeoutError from instance metadata service"));
3558
- req.destroy();
3559
- });
3560
- req.on("response", (res) => {
3561
- const { statusCode = 400 } = res;
3562
- if (statusCode < 200 || 300 <= statusCode) {
3563
- reject(Object.assign(/* @__PURE__ */ new Error("Error response received from instance metadata service"), { statusCode }));
3564
- req.destroy();
3565
- return;
3566
- }
3567
- const chunks = [];
3568
- res.on("data", (chunk) => chunks.push(chunk));
3569
- res.on("end", () => {
3570
- resolve(Buffer.concat(chunks));
3571
- req.destroy();
3572
- });
3573
- });
3574
- req.end();
3575
- });
3616
+ return getInstanceMetadataRegion();
3576
3617
  };
3577
3618
  }));
3578
3619
  //#endregion
3579
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/config/index.js
3620
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/config/index.js
3580
3621
  var config_exports = /* @__PURE__ */ __exportAll({
3581
3622
  CONFIG_PREFIX_SEPARATOR: () => ".",
3582
3623
  CONFIG_USE_DUALSTACK_ENDPOINT: () => CONFIG_USE_DUALSTACK_ENDPOINT,
@@ -3653,7 +3694,7 @@ var init_config = __esmMin((() => {
3653
3694
  init_resolveDefaultsModeConfig();
3654
3695
  }));
3655
3696
  //#endregion
3656
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
3697
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js
3657
3698
  var ENV_ENDPOINT_URL, CONFIG_ENDPOINT_URL, getEndpointUrlConfig;
3658
3699
  var init_getEndpointUrlConfig = __esmMin((() => {
3659
3700
  init_config();
@@ -3661,7 +3702,8 @@ var init_getEndpointUrlConfig = __esmMin((() => {
3661
3702
  CONFIG_ENDPOINT_URL = "endpoint_url";
3662
3703
  getEndpointUrlConfig = (serviceId) => ({
3663
3704
  environmentVariableSelector: (env) => {
3664
- const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceId.split(" ").map((w) => w.toUpperCase())].join("_")];
3705
+ const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
3706
+ const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
3665
3707
  if (serviceEndpointUrl) return serviceEndpointUrl;
3666
3708
  const endpointUrl = env[ENV_ENDPOINT_URL];
3667
3709
  if (endpointUrl) return endpointUrl;
@@ -3681,7 +3723,7 @@ var init_getEndpointUrlConfig = __esmMin((() => {
3681
3723
  });
3682
3724
  }));
3683
3725
  //#endregion
3684
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
3726
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
3685
3727
  var getEndpointFromConfig;
3686
3728
  var init_getEndpointFromConfig = __esmMin((() => {
3687
3729
  init_config();
@@ -3689,7 +3731,7 @@ var init_getEndpointFromConfig = __esmMin((() => {
3689
3731
  getEndpointFromConfig = async (serviceId) => loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
3690
3732
  }));
3691
3733
  //#endregion
3692
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
3734
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
3693
3735
  var resolveParamsForS3, DOMAIN_PATTERN, IP_ADDRESS_PATTERN, DOTS_PATTERN, isDnsCompatibleBucketName, isArnBucketName;
3694
3736
  var init_s3 = __esmMin((() => {
3695
3737
  resolveParamsForS3 = async (endpointParams) => {
@@ -3717,12 +3759,12 @@ var init_s3 = __esmMin((() => {
3717
3759
  };
3718
3760
  }));
3719
3761
  //#endregion
3720
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js
3762
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js
3721
3763
  var init_service_customizations = __esmMin((() => {
3722
3764
  init_s3();
3723
3765
  }));
3724
3766
  //#endregion
3725
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
3767
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.js
3726
3768
  var createConfigValueProvider;
3727
3769
  var init_createConfigValueProvider = __esmMin((() => {
3728
3770
  createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, isClientContextParam = false) => {
@@ -3757,12 +3799,12 @@ var init_createConfigValueProvider = __esmMin((() => {
3757
3799
  };
3758
3800
  }));
3759
3801
  //#endregion
3760
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js
3802
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js
3761
3803
  var init_toEndpointV1 = __esmMin((() => {
3762
3804
  init_transport();
3763
3805
  }));
3764
3806
  //#endregion
3765
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
3807
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
3766
3808
  function bindGetEndpointFromInstructions(getEndpointFromConfig) {
3767
3809
  return async (commandInput, instructionsSupplier, clientConfig, context) => {
3768
3810
  if (!clientConfig.isCustomEndpoint) {
@@ -3817,7 +3859,7 @@ var init_getEndpointFromInstructions = __esmMin((() => {
3817
3859
  };
3818
3860
  }));
3819
3861
  //#endregion
3820
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
3862
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js
3821
3863
  function setFeature(context, feature, value) {
3822
3864
  if (!context.__smithy_context) context.__smithy_context = { features: {} };
3823
3865
  else if (!context.__smithy_context.features) context.__smithy_context.features = {};
@@ -3851,11 +3893,11 @@ function bindEndpointMiddleware(getEndpointFromConfig) {
3851
3893
  };
3852
3894
  }
3853
3895
  var init_endpointMiddleware = __esmMin((() => {
3854
- init_client();
3896
+ init_transport();
3855
3897
  init_getEndpointFromInstructions();
3856
3898
  }));
3857
3899
  //#endregion
3858
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
3900
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/getEndpointPlugin.js
3859
3901
  function bindGetEndpointPlugin(getEndpointFromConfig) {
3860
3902
  const endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
3861
3903
  return (config, instructions) => ({ applyToStack: (clientStack) => {
@@ -3888,7 +3930,7 @@ var init_getEndpointPlugin = __esmMin((() => {
3888
3930
  };
3889
3931
  }));
3890
3932
  //#endregion
3891
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
3933
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js
3892
3934
  function bindResolveEndpointConfig(getEndpointFromConfig) {
3893
3935
  return (input) => {
3894
3936
  const tls = input.tls ?? true;
@@ -3913,7 +3955,7 @@ var init_resolveEndpointConfig = __esmMin((() => {
3913
3955
  init_toEndpointV1();
3914
3956
  }));
3915
3957
  //#endregion
3916
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
3958
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.js
3917
3959
  var BinaryDecisionDiagram;
3918
3960
  var init_BinaryDecisionDiagram = __esmMin((() => {
3919
3961
  BinaryDecisionDiagram = class BinaryDecisionDiagram {
@@ -3933,7 +3975,7 @@ var init_BinaryDecisionDiagram = __esmMin((() => {
3933
3975
  };
3934
3976
  }));
3935
3977
  //#endregion
3936
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
3978
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/cache/EndpointCache.js
3937
3979
  var EndpointCache;
3938
3980
  var init_EndpointCache = __esmMin((() => {
3939
3981
  EndpointCache = class {
@@ -3978,7 +4020,7 @@ var init_EndpointCache = __esmMin((() => {
3978
4020
  };
3979
4021
  }));
3980
4022
  //#endregion
3981
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
4023
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointError.js
3982
4024
  var EndpointError;
3983
4025
  var init_EndpointError = __esmMin((() => {
3984
4026
  EndpointError = class extends Error {
@@ -3989,25 +4031,25 @@ var init_EndpointError = __esmMin((() => {
3989
4031
  };
3990
4032
  }));
3991
4033
  //#endregion
3992
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointFunctions.js
4034
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointFunctions.js
3993
4035
  var init_EndpointFunctions = __esmMin((() => {}));
3994
4036
  //#endregion
3995
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointRuleObject.js
4037
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/EndpointRuleObject.js
3996
4038
  var init_EndpointRuleObject = __esmMin((() => {}));
3997
4039
  //#endregion
3998
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/ErrorRuleObject.js
4040
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/ErrorRuleObject.js
3999
4041
  var init_ErrorRuleObject = __esmMin((() => {}));
4000
4042
  //#endregion
4001
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/RuleSetObject.js
4043
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/RuleSetObject.js
4002
4044
  var init_RuleSetObject = __esmMin((() => {}));
4003
4045
  //#endregion
4004
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/TreeRuleObject.js
4046
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/TreeRuleObject.js
4005
4047
  var init_TreeRuleObject = __esmMin((() => {}));
4006
4048
  //#endregion
4007
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/shared.js
4049
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/shared.js
4008
4050
  var init_shared = __esmMin((() => {}));
4009
4051
  //#endregion
4010
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js
4052
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js
4011
4053
  var init_types = __esmMin((() => {
4012
4054
  init_EndpointError();
4013
4055
  init_EndpointFunctions();
@@ -4018,13 +4060,13 @@ var init_types = __esmMin((() => {
4018
4060
  init_shared();
4019
4061
  }));
4020
4062
  //#endregion
4021
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
4063
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/debugId.js
4022
4064
  var debugId;
4023
4065
  var init_debugId = __esmMin((() => {
4024
4066
  debugId = "endpoints";
4025
4067
  }));
4026
4068
  //#endregion
4027
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
4069
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/toDebugString.js
4028
4070
  function toDebugString(input) {
4029
4071
  if (typeof input !== "object" || input == null) return input;
4030
4072
  if ("ref" in input) return `$${toDebugString(input.ref)}`;
@@ -4033,31 +4075,31 @@ function toDebugString(input) {
4033
4075
  }
4034
4076
  var init_toDebugString = __esmMin((() => {}));
4035
4077
  //#endregion
4036
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js
4078
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js
4037
4079
  var init_debug = __esmMin((() => {
4038
4080
  init_debugId();
4039
4081
  init_toDebugString();
4040
4082
  }));
4041
4083
  //#endregion
4042
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
4084
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.js
4043
4085
  var customEndpointFunctions;
4044
4086
  var init_customEndpointFunctions = __esmMin((() => {
4045
4087
  customEndpointFunctions = {};
4046
4088
  }));
4047
4089
  //#endregion
4048
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
4090
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/booleanEquals.js
4049
4091
  var booleanEquals;
4050
4092
  var init_booleanEquals = __esmMin((() => {
4051
4093
  booleanEquals = (value1, value2) => value1 === value2;
4052
4094
  }));
4053
4095
  //#endregion
4054
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
4096
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/coalesce.js
4055
4097
  function coalesce(...args) {
4056
4098
  for (const arg of args) if (arg != null) return arg;
4057
4099
  }
4058
4100
  var init_coalesce = __esmMin((() => {}));
4059
4101
  //#endregion
4060
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
4102
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttrPathList.js
4061
4103
  var getAttrPathList;
4062
4104
  var init_getAttrPathList = __esmMin((() => {
4063
4105
  init_types();
@@ -4078,7 +4120,7 @@ var init_getAttrPathList = __esmMin((() => {
4078
4120
  };
4079
4121
  }));
4080
4122
  //#endregion
4081
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
4123
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/getAttr.js
4082
4124
  var getAttr;
4083
4125
  var init_getAttr = __esmMin((() => {
4084
4126
  init_types();
@@ -4093,32 +4135,32 @@ var init_getAttr = __esmMin((() => {
4093
4135
  }, value);
4094
4136
  }));
4095
4137
  //#endregion
4096
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
4138
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isSet.js
4097
4139
  var isSet;
4098
4140
  var init_isSet = __esmMin((() => {
4099
4141
  isSet = (value) => value != null;
4100
4142
  }));
4101
4143
  //#endregion
4102
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
4144
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/ite.js
4103
4145
  function ite(condition, trueValue, falseValue) {
4104
4146
  return condition ? trueValue : falseValue;
4105
4147
  }
4106
4148
  var init_ite = __esmMin((() => {}));
4107
4149
  //#endregion
4108
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
4150
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/not.js
4109
4151
  var not;
4110
4152
  var init_not = __esmMin((() => {
4111
4153
  not = (value) => !value;
4112
4154
  }));
4113
4155
  //#endregion
4114
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
4156
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/isIpAddress.js
4115
4157
  var IP_V4_REGEX, isIpAddress;
4116
4158
  var init_isIpAddress = __esmMin((() => {
4117
4159
  IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
4118
4160
  isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
4119
4161
  }));
4120
4162
  //#endregion
4121
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
4163
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js
4122
4164
  var import_dist_cjs, DEFAULT_PORTS, parseURL;
4123
4165
  var init_parseURL = __esmMin((() => {
4124
4166
  import_dist_cjs = require_dist_cjs();
@@ -4162,7 +4204,7 @@ var init_parseURL = __esmMin((() => {
4162
4204
  };
4163
4205
  }));
4164
4206
  //#endregion
4165
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
4207
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/split.js
4166
4208
  function split(value, delimiter, limit) {
4167
4209
  if (limit === 1) return [value];
4168
4210
  if (value === "") return [""];
@@ -4172,13 +4214,13 @@ function split(value, delimiter, limit) {
4172
4214
  }
4173
4215
  var init_split = __esmMin((() => {}));
4174
4216
  //#endregion
4175
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
4217
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/stringEquals.js
4176
4218
  var stringEquals;
4177
4219
  var init_stringEquals = __esmMin((() => {
4178
4220
  stringEquals = (value1, value2) => value1 === value2;
4179
4221
  }));
4180
4222
  //#endregion
4181
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
4223
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/substring.js
4182
4224
  var substring;
4183
4225
  var init_substring = __esmMin((() => {
4184
4226
  substring = (input, start, stop, reverse) => {
@@ -4188,13 +4230,13 @@ var init_substring = __esmMin((() => {
4188
4230
  };
4189
4231
  }));
4190
4232
  //#endregion
4191
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
4233
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/uriEncode.js
4192
4234
  var uriEncode;
4193
4235
  var init_uriEncode = __esmMin((() => {
4194
4236
  uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
4195
4237
  }));
4196
4238
  //#endregion
4197
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js
4239
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js
4198
4240
  var init_lib = __esmMin((() => {
4199
4241
  init_booleanEquals();
4200
4242
  init_coalesce();
@@ -4210,7 +4252,7 @@ var init_lib = __esmMin((() => {
4210
4252
  init_uriEncode();
4211
4253
  }));
4212
4254
  //#endregion
4213
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
4255
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/endpointFunctions.js
4214
4256
  var endpointFunctions;
4215
4257
  var init_endpointFunctions = __esmMin((() => {
4216
4258
  init_lib();
@@ -4230,7 +4272,7 @@ var init_endpointFunctions = __esmMin((() => {
4230
4272
  };
4231
4273
  }));
4232
4274
  //#endregion
4233
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
4275
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateTemplate.js
4234
4276
  var evaluateTemplate;
4235
4277
  var init_evaluateTemplate = __esmMin((() => {
4236
4278
  init_lib();
@@ -4265,7 +4307,7 @@ var init_evaluateTemplate = __esmMin((() => {
4265
4307
  };
4266
4308
  }));
4267
4309
  //#endregion
4268
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
4310
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getReferenceValue.js
4269
4311
  var getReferenceValue;
4270
4312
  var init_getReferenceValue = __esmMin((() => {
4271
4313
  getReferenceValue = ({ ref }, options) => {
@@ -4273,7 +4315,7 @@ var init_getReferenceValue = __esmMin((() => {
4273
4315
  };
4274
4316
  }));
4275
4317
  //#endregion
4276
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
4318
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateExpression.js
4277
4319
  var evaluateExpression, callFunction, group$2;
4278
4320
  var init_evaluateExpression = __esmMin((() => {
4279
4321
  init_types();
@@ -4309,12 +4351,12 @@ var init_evaluateExpression = __esmMin((() => {
4309
4351
  };
4310
4352
  }));
4311
4353
  //#endregion
4312
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/callFunction.js
4354
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/callFunction.js
4313
4355
  var init_callFunction = __esmMin((() => {
4314
4356
  init_evaluateExpression();
4315
4357
  }));
4316
4358
  //#endregion
4317
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
4359
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateCondition.js
4318
4360
  var evaluateCondition;
4319
4361
  var init_evaluateCondition = __esmMin((() => {
4320
4362
  init_debug();
@@ -4337,7 +4379,7 @@ var init_evaluateCondition = __esmMin((() => {
4337
4379
  };
4338
4380
  }));
4339
4381
  //#endregion
4340
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
4382
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.js
4341
4383
  var getEndpointHeaders;
4342
4384
  var init_getEndpointHeaders = __esmMin((() => {
4343
4385
  init_types();
@@ -4352,7 +4394,7 @@ var init_getEndpointHeaders = __esmMin((() => {
4352
4394
  }, {});
4353
4395
  }));
4354
4396
  //#endregion
4355
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
4397
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js
4356
4398
  var getEndpointProperties, getEndpointProperty, group$1;
4357
4399
  var init_getEndpointProperties = __esmMin((() => {
4358
4400
  init_types();
@@ -4378,7 +4420,7 @@ var init_getEndpointProperties = __esmMin((() => {
4378
4420
  };
4379
4421
  }));
4380
4422
  //#endregion
4381
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
4423
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointUrl.js
4382
4424
  var getEndpointUrl;
4383
4425
  var init_getEndpointUrl = __esmMin((() => {
4384
4426
  init_types();
@@ -4395,7 +4437,7 @@ var init_getEndpointUrl = __esmMin((() => {
4395
4437
  };
4396
4438
  }));
4397
4439
  //#endregion
4398
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
4440
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/decideEndpoint.js
4399
4441
  var RESULT, decideEndpoint;
4400
4442
  var init_decideEndpoint = __esmMin((() => {
4401
4443
  init_types();
@@ -4450,7 +4492,7 @@ var init_decideEndpoint = __esmMin((() => {
4450
4492
  };
4451
4493
  }));
4452
4494
  //#endregion
4453
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateConditions.js
4495
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateConditions.js
4454
4496
  var evaluateConditions;
4455
4497
  var init_evaluateConditions = __esmMin((() => {
4456
4498
  init_debug();
@@ -4480,7 +4522,7 @@ var init_evaluateConditions = __esmMin((() => {
4480
4522
  };
4481
4523
  }));
4482
4524
  //#endregion
4483
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.js
4525
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.js
4484
4526
  var evaluateEndpointRule;
4485
4527
  var init_evaluateEndpointRule = __esmMin((() => {
4486
4528
  init_debug();
@@ -4508,7 +4550,7 @@ var init_evaluateEndpointRule = __esmMin((() => {
4508
4550
  };
4509
4551
  }));
4510
4552
  //#endregion
4511
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.js
4553
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.js
4512
4554
  var evaluateErrorRule;
4513
4555
  var init_evaluateErrorRule = __esmMin((() => {
4514
4556
  init_types();
@@ -4528,7 +4570,7 @@ var init_evaluateErrorRule = __esmMin((() => {
4528
4570
  };
4529
4571
  }));
4530
4572
  //#endregion
4531
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateRules.js
4573
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/evaluateRules.js
4532
4574
  var evaluateRules, evaluateTreeRule, group;
4533
4575
  var init_evaluateRules = __esmMin((() => {
4534
4576
  init_types();
@@ -4565,13 +4607,13 @@ var init_evaluateRules = __esmMin((() => {
4565
4607
  };
4566
4608
  }));
4567
4609
  //#endregion
4568
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js
4610
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js
4569
4611
  var init_utils = __esmMin((() => {
4570
4612
  init_customEndpointFunctions();
4571
4613
  init_evaluateRules();
4572
4614
  }));
4573
4615
  //#endregion
4574
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js
4616
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js
4575
4617
  var resolveEndpoint;
4576
4618
  var init_resolveEndpoint = __esmMin((() => {
4577
4619
  init_debug();
@@ -4600,7 +4642,7 @@ var init_resolveEndpoint = __esmMin((() => {
4600
4642
  };
4601
4643
  }));
4602
4644
  //#endregion
4603
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.js
4645
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.js
4604
4646
  var resolveEndpointRequiredConfig;
4605
4647
  var init_resolveEndpointRequiredConfig = __esmMin((() => {
4606
4648
  resolveEndpointRequiredConfig = (input) => {
@@ -4612,7 +4654,7 @@ var init_resolveEndpointRequiredConfig = __esmMin((() => {
4612
4654
  };
4613
4655
  }));
4614
4656
  //#endregion
4615
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
4657
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js
4616
4658
  var endpoints_exports = /* @__PURE__ */ __exportAll({
4617
4659
  BinaryDecisionDiagram: () => BinaryDecisionDiagram,
4618
4660
  EndpointCache: () => EndpointCache,
@@ -4655,7 +4697,7 @@ var init_endpoints = __esmMin((() => {
4655
4697
  getEndpointPlugin = bindGetEndpointPlugin(getEndpointFromConfig);
4656
4698
  }));
4657
4699
  //#endregion
4658
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/serializerMiddleware.js
4700
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/serializerMiddleware.js
4659
4701
  var serializerMiddleware;
4660
4702
  var init_serializerMiddleware = __esmMin((() => {
4661
4703
  init_endpoints();
@@ -4674,7 +4716,7 @@ var init_serializerMiddleware = __esmMin((() => {
4674
4716
  };
4675
4717
  }));
4676
4718
  //#endregion
4677
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/serdePlugin.js
4719
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/serdePlugin.js
4678
4720
  function getSerdePlugin(config, serializer, deserializer) {
4679
4721
  return { applyToStack: (commandStack) => {
4680
4722
  commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption);
@@ -4699,7 +4741,7 @@ var init_serdePlugin = __esmMin((() => {
4699
4741
  };
4700
4742
  }));
4701
4743
  //#endregion
4702
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/hash-node/hash-node.js
4744
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/hash-node/hash-node.js
4703
4745
  function castSourceData(toCast, encoding) {
4704
4746
  if (Buffer.isBuffer(toCast)) return toCast;
4705
4747
  if (typeof toCast === "string") return fromString(toCast, encoding);
@@ -4731,61 +4773,68 @@ var init_hash_node = __esmMin((() => {
4731
4773
  };
4732
4774
  }));
4733
4775
  //#endregion
4734
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
4776
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js
4735
4777
  var ChecksumStream$1;
4736
4778
  var init_ChecksumStream = __esmMin((() => {
4737
4779
  init_toBase64();
4738
- ChecksumStream$1 = class extends Duplex {
4780
+ ChecksumStream$1 = class extends Readable {
4739
4781
  expectedChecksum;
4740
4782
  checksumSourceLocation;
4741
4783
  checksum;
4742
4784
  source;
4743
4785
  base64Encoder;
4744
- pendingCallback = null;
4745
4786
  constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder }) {
4746
4787
  super();
4747
- if (typeof source.pipe === "function") this.source = source;
4748
- else throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
4788
+ if (typeof source.pipe !== "function") throw new Error(`@smithy/util-stream: unsupported source type ${source?.constructor?.name ?? source} in ChecksumStream.`);
4789
+ this.source = source;
4749
4790
  this.base64Encoder = base64Encoder ?? toBase64$1;
4750
4791
  this.expectedChecksum = expectedChecksum;
4751
4792
  this.checksum = checksum;
4752
4793
  this.checksumSourceLocation = checksumSourceLocation;
4753
- this.source.pipe(this);
4794
+ this.source.on("data", this.onSourceData);
4795
+ this.source.on("end", this.onSourceEnd);
4796
+ this.source.on("error", this.onSourceError);
4797
+ this.source.pause();
4754
4798
  }
4755
- _read(size) {
4756
- if (this.pendingCallback) {
4757
- const callback = this.pendingCallback;
4758
- this.pendingCallback = null;
4759
- callback();
4760
- }
4761
- }
4762
- _write(chunk, encoding, callback) {
4799
+ onSourceData = (chunk) => {
4800
+ if (this.destroyed) return;
4763
4801
  try {
4764
4802
  this.checksum.update(chunk);
4765
- if (!this.push(chunk)) {
4766
- this.pendingCallback = callback;
4767
- return;
4768
- }
4769
4803
  } catch (e) {
4770
- return callback(e);
4804
+ this.destroy(e);
4805
+ return;
4771
4806
  }
4772
- return callback();
4773
- }
4774
- async _final(callback) {
4807
+ if (!this.push(chunk)) this.source.pause();
4808
+ };
4809
+ onSourceEnd = async () => {
4810
+ if (this.destroyed) return;
4775
4811
  try {
4776
4812
  const digest = await this.checksum.digest();
4777
4813
  const received = this.base64Encoder(digest);
4778
- if (this.expectedChecksum !== received) return callback(/* @__PURE__ */ new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}" in response header "${this.checksumSourceLocation}".`));
4814
+ if (this.expectedChecksum !== received) {
4815
+ this.destroy(/* @__PURE__ */ new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}" in response header "${this.checksumSourceLocation}".`));
4816
+ return;
4817
+ }
4779
4818
  } catch (e) {
4780
- return callback(e);
4819
+ this.destroy(e);
4820
+ return;
4781
4821
  }
4782
4822
  this.push(null);
4783
- return callback();
4823
+ };
4824
+ onSourceError = (error) => {
4825
+ this.destroy(error);
4826
+ };
4827
+ _read(size) {
4828
+ this.source.resume();
4829
+ }
4830
+ _destroy(error, callback) {
4831
+ this.source?.destroy();
4832
+ callback(error);
4784
4833
  }
4785
4834
  };
4786
4835
  }));
4787
4836
  //#endregion
4788
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
4837
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
4789
4838
  var isReadableStream, isBlob;
4790
4839
  var init_stream_type_check = __esmMin((() => {
4791
4840
  isReadableStream = (stream) => typeof ReadableStream === "function" && (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
@@ -4794,24 +4843,21 @@ var init_stream_type_check = __esmMin((() => {
4794
4843
  };
4795
4844
  }));
4796
4845
  //#endregion
4797
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
4846
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
4798
4847
  var fromUtf8;
4799
4848
  var init_fromUtf8_browser = __esmMin((() => {
4800
4849
  fromUtf8 = (input) => new TextEncoder().encode(input);
4801
- }));
4802
- //#endregion
4803
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/constants-for-browser.js
4804
- var chars, alphabetByEncoding, alphabetByValue;
4850
+ })), chars, alphabetByValue;
4805
4851
  var init_constants_for_browser = __esmMin((() => {
4806
4852
  chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
4807
- alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
4853
+ Object.entries(chars).reduce((acc, [i, c]) => {
4808
4854
  acc[c] = Number(i);
4809
4855
  return acc;
4810
4856
  }, {});
4811
4857
  alphabetByValue = chars.split("");
4812
4858
  }));
4813
4859
  //#endregion
4814
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
4860
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
4815
4861
  function toBase64(_input) {
4816
4862
  let input;
4817
4863
  if (typeof _input === "string") input = fromUtf8(_input);
@@ -4842,14 +4888,14 @@ var init_toBase64_browser = __esmMin((() => {
4842
4888
  init_constants_for_browser();
4843
4889
  }));
4844
4890
  //#endregion
4845
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.browser.js
4891
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.browser.js
4846
4892
  var ReadableStreamRef, ChecksumStream;
4847
4893
  var init_ChecksumStream_browser = __esmMin((() => {
4848
4894
  ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function() {};
4849
4895
  ChecksumStream = class extends ReadableStreamRef {};
4850
4896
  }));
4851
4897
  //#endregion
4852
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js
4898
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js
4853
4899
  var createChecksumStream$1;
4854
4900
  var init_createChecksumStream_browser = __esmMin((() => {
4855
4901
  init_toBase64_browser();
@@ -4866,7 +4912,8 @@ var init_createChecksumStream_browser = __esmMin((() => {
4866
4912
  controller.enqueue(chunk);
4867
4913
  },
4868
4914
  async flush(controller) {
4869
- const received = encoder(await checksum.digest());
4915
+ const digest = await checksum.digest();
4916
+ const received = encoder(digest);
4870
4917
  if (expectedChecksum !== received) {
4871
4918
  const error = /* @__PURE__ */ new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}" in response header "${checksumSourceLocation}".`);
4872
4919
  controller.error(error);
@@ -4880,7 +4927,7 @@ var init_createChecksumStream_browser = __esmMin((() => {
4880
4927
  };
4881
4928
  }));
4882
4929
  //#endregion
4883
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js
4930
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.js
4884
4931
  function createChecksumStream(init) {
4885
4932
  if (typeof ReadableStream === "function" && isReadableStream(init.source)) return createChecksumStream$1(init);
4886
4933
  return new ChecksumStream$1(init);
@@ -4891,7 +4938,7 @@ var init_createChecksumStream = __esmMin((() => {
4891
4938
  init_createChecksumStream_browser();
4892
4939
  }));
4893
4940
  //#endregion
4894
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/ByteArrayCollector.js
4941
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/ByteArrayCollector.js
4895
4942
  var ByteArrayCollector;
4896
4943
  var init_ByteArrayCollector = __esmMin((() => {
4897
4944
  ByteArrayCollector = class {
@@ -4928,7 +4975,7 @@ var init_ByteArrayCollector = __esmMin((() => {
4928
4975
  };
4929
4976
  }));
4930
4977
  //#endregion
4931
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js
4978
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.browser.js
4932
4979
  function createBufferedReadableStream(upstream, size, logger) {
4933
4980
  const reader = upstream.getReader();
4934
4981
  let streamBufferingLoggedWarning = false;
@@ -5006,7 +5053,7 @@ var init_createBufferedReadable_browser = __esmMin((() => {
5006
5053
  init_ByteArrayCollector();
5007
5054
  }));
5008
5055
  //#endregion
5009
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
5056
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/createBufferedReadable.js
5010
5057
  function createBufferedReadable(upstream, size, logger) {
5011
5058
  if (isReadableStream(upstream)) return createBufferedReadableStream(upstream, size, logger);
5012
5059
  const downstream = new Readable({ read() {} });
@@ -5056,7 +5103,7 @@ var init_createBufferedReadable = __esmMin((() => {
5056
5103
  init_stream_type_check();
5057
5104
  }));
5058
5105
  //#endregion
5059
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js
5106
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js
5060
5107
  var getAwsChunkedEncodingStream$1;
5061
5108
  var init_getAwsChunkedEncodingStream_browser = __esmMin((() => {
5062
5109
  getAwsChunkedEncodingStream$1 = (readableStream, options) => {
@@ -5079,7 +5126,7 @@ var init_getAwsChunkedEncodingStream_browser = __esmMin((() => {
5079
5126
  };
5080
5127
  }));
5081
5128
  //#endregion
5082
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
5129
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js
5083
5130
  function getAwsChunkedEncodingStream(stream, options) {
5084
5131
  const readable = stream;
5085
5132
  const readableStream = stream;
@@ -5111,7 +5158,7 @@ var init_getAwsChunkedEncodingStream = __esmMin((() => {
5111
5158
  init_stream_type_check();
5112
5159
  }));
5113
5160
  //#endregion
5114
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.browser.js
5161
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.browser.js
5115
5162
  async function headStream$1(stream, bytes) {
5116
5163
  let byteLengthCounter = 0;
5117
5164
  const chunks = [];
@@ -5140,9 +5187,10 @@ async function headStream$1(stream, bytes) {
5140
5187
  }
5141
5188
  var init_headStream_browser = __esmMin((() => {}));
5142
5189
  //#endregion
5143
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js
5190
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js
5144
5191
  var headStream, Collector$1;
5145
5192
  var init_headStream = __esmMin((() => {
5193
+ init_concatBytes();
5146
5194
  init_headStream_browser();
5147
5195
  init_stream_type_check();
5148
5196
  headStream = (stream, bytes) => {
@@ -5157,7 +5205,7 @@ var init_headStream = __esmMin((() => {
5157
5205
  });
5158
5206
  collector.on("error", reject);
5159
5207
  collector.on("finish", function() {
5160
- resolve(new Uint8Array(Buffer.concat(this.buffers)));
5208
+ resolve(concatBytes(this.buffers));
5161
5209
  });
5162
5210
  });
5163
5211
  };
@@ -5179,7 +5227,7 @@ var init_headStream = __esmMin((() => {
5179
5227
  };
5180
5228
  }));
5181
5229
  //#endregion
5182
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
5230
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
5183
5231
  var toUtf8;
5184
5232
  var init_toUtf8_browser = __esmMin((() => {
5185
5233
  toUtf8 = (input) => {
@@ -5189,90 +5237,35 @@ var init_toUtf8_browser = __esmMin((() => {
5189
5237
  };
5190
5238
  }));
5191
5239
  //#endregion
5192
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.browser.js
5193
- var fromBase64;
5194
- var init_fromBase64_browser = __esmMin((() => {
5195
- init_constants_for_browser();
5196
- fromBase64 = (input) => {
5197
- let totalByteLength = input.length / 4 * 3;
5198
- if (input.slice(-2) === "==") totalByteLength -= 2;
5199
- else if (input.slice(-1) === "=") totalByteLength--;
5200
- const out = new ArrayBuffer(totalByteLength);
5201
- const dataView = new DataView(out);
5202
- for (let i = 0; i < input.length; i += 4) {
5203
- let bits = 0;
5204
- let bitLength = 0;
5205
- for (let j = i, limit = i + 3; j <= limit; j++) if (input[j] !== "=") {
5206
- if (!(input[j] in alphabetByEncoding)) throw new TypeError(`Invalid character ${input[j]} in base64 string.`);
5207
- bits |= alphabetByEncoding[input[j]] << (limit - j) * 6;
5208
- bitLength += 6;
5209
- } else bits >>= 6;
5210
- const chunkOffset = i / 4 * 3;
5211
- bits >>= bitLength % 8;
5212
- const byteLength = Math.floor(bitLength / 8);
5213
- for (let k = 0; k < byteLength; k++) {
5214
- const offset = (byteLength - k - 1) * 8;
5215
- dataView.setUint8(chunkOffset + k, (bits & 255 << offset) >> offset);
5216
- }
5217
- }
5218
- return new Uint8Array(out);
5219
- };
5220
- }));
5221
- //#endregion
5222
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
5240
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
5223
5241
  async function collectBlob(blob) {
5224
- const arrayBuffer = fromBase64(await readToBase64(blob));
5225
- return new Uint8Array(arrayBuffer);
5242
+ return blob.arrayBuffer().then((ab) => new Uint8Array(ab));
5226
5243
  }
5227
- async function collectStream(stream) {
5244
+ async function collectReadableStream(stream) {
5228
5245
  const chunks = [];
5229
5246
  const reader = stream.getReader();
5230
- let isDone = false;
5231
5247
  let length = 0;
5232
- while (!isDone) {
5248
+ while (true) {
5233
5249
  const { done, value } = await reader.read();
5234
5250
  if (value) {
5235
5251
  chunks.push(value);
5236
5252
  length += value.length;
5237
5253
  }
5238
- isDone = done;
5254
+ if (done) break;
5239
5255
  }
5240
- const collected = new Uint8Array(length);
5241
- let offset = 0;
5242
- for (const chunk of chunks) {
5243
- collected.set(chunk, offset);
5244
- offset += chunk.length;
5245
- }
5246
- return collected;
5247
- }
5248
- function readToBase64(blob) {
5249
- return new Promise((resolve, reject) => {
5250
- const reader = new FileReader();
5251
- reader.onloadend = () => {
5252
- if (reader.readyState !== 2) return reject(/* @__PURE__ */ new Error("Reader aborted too early"));
5253
- const result = reader.result ?? "";
5254
- const commaIndex = result.indexOf(",");
5255
- const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
5256
- resolve(result.substring(dataOffset));
5257
- };
5258
- reader.onabort = () => reject(/* @__PURE__ */ new Error("Read aborted"));
5259
- reader.onerror = () => reject(reader.error);
5260
- reader.readAsDataURL(blob);
5261
- });
5256
+ return concatBytes(chunks, length);
5262
5257
  }
5263
5258
  var streamCollector$1;
5264
5259
  var init_stream_collector_browser = __esmMin((() => {
5265
- init_fromBase64_browser();
5260
+ init_concatBytes();
5261
+ init_stream_type_check();
5266
5262
  streamCollector$1 = async (stream) => {
5267
- if (typeof Blob === "function" && stream instanceof Blob || stream.constructor?.name === "Blob") {
5268
- if (Blob.prototype.arrayBuffer !== void 0) return new Uint8Array(await stream.arrayBuffer());
5269
- return collectBlob(stream);
5270
- }
5271
- return collectStream(stream);
5263
+ if (isBlob(stream)) return collectBlob(stream);
5264
+ return collectReadableStream(stream);
5272
5265
  };
5273
5266
  }));
5274
5267
  //#endregion
5275
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
5268
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
5276
5269
  var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED$1, sdkStreamMixin$1, isBlobInstance;
5277
5270
  var init_sdk_stream_mixin_browser = __esmMin((() => {
5278
5271
  init_toBase64_browser();
@@ -5318,56 +5311,39 @@ var init_sdk_stream_mixin_browser = __esmMin((() => {
5318
5311
  isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
5319
5312
  }));
5320
5313
  //#endregion
5321
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
5322
- async function collectReadableStream(stream) {
5323
- const chunks = [];
5324
- const reader = stream.getReader();
5325
- let isDone = false;
5326
- let length = 0;
5327
- while (!isDone) {
5328
- const { done, value } = await reader.read();
5329
- if (value) {
5330
- chunks.push(value);
5331
- length += value.length;
5332
- }
5333
- isDone = done;
5334
- }
5335
- const collected = new Uint8Array(length);
5336
- let offset = 0;
5337
- for (const chunk of chunks) {
5338
- collected.set(chunk, offset);
5339
- offset += chunk.length;
5340
- }
5341
- return collected;
5342
- }
5343
- var Collector, isReadableStreamInstance, streamCollector;
5314
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
5315
+ var streamCollector, Collector;
5344
5316
  var init_stream_collector = __esmMin((() => {
5345
- Collector = class extends Writable {
5346
- bufferedBytes = [];
5347
- _write(chunk, encoding, callback) {
5348
- this.bufferedBytes.push(chunk);
5349
- callback();
5350
- }
5351
- };
5352
- isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream;
5317
+ init_concatBytes();
5318
+ init_stream_collector_browser();
5319
+ init_stream_type_check();
5353
5320
  streamCollector = (stream) => {
5354
- if (isReadableStreamInstance(stream)) return collectReadableStream(stream);
5321
+ if (isBlob(stream)) return collectBlob(stream);
5322
+ if (isReadableStream(stream)) return collectReadableStream(stream);
5355
5323
  return new Promise((resolve, reject) => {
5356
5324
  const collector = new Collector();
5357
- stream.pipe(collector);
5358
- stream.on("error", (err) => {
5325
+ const nodeStream = stream;
5326
+ nodeStream.pipe(collector);
5327
+ nodeStream.on("error", (err) => {
5359
5328
  collector.end();
5360
5329
  reject(err);
5361
5330
  });
5362
5331
  collector.on("error", reject);
5363
5332
  collector.on("finish", function() {
5364
- resolve(new Uint8Array(Buffer.concat(this.bufferedBytes)));
5333
+ resolve(concatBytes(this.bufferedBytes));
5365
5334
  });
5366
5335
  });
5367
5336
  };
5337
+ Collector = class extends Writable {
5338
+ bufferedBytes = [];
5339
+ _write(chunk, encoding, callback) {
5340
+ this.bufferedBytes.push(chunk);
5341
+ callback();
5342
+ }
5343
+ };
5368
5344
  }));
5369
5345
  //#endregion
5370
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
5346
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
5371
5347
  var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED, sdkStreamMixin;
5372
5348
  var init_sdk_stream_mixin = __esmMin((() => {
5373
5349
  init_buffer_from();
@@ -5405,14 +5381,14 @@ var init_sdk_stream_mixin = __esmMin((() => {
5405
5381
  };
5406
5382
  }));
5407
5383
  //#endregion
5408
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/splitStream.browser.js
5384
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/splitStream.browser.js
5409
5385
  async function splitStream$1(stream) {
5410
5386
  if (typeof stream.stream === "function") stream = stream.stream();
5411
5387
  return stream.tee();
5412
5388
  }
5413
5389
  var init_splitStream_browser = __esmMin((() => {}));
5414
5390
  //#endregion
5415
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/splitStream.js
5391
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/splitStream.js
5416
5392
  async function splitStream(stream) {
5417
5393
  if (isReadableStream(stream) || isBlob(stream)) return splitStream$1(stream);
5418
5394
  const stream1 = new PassThrough();
@@ -5426,7 +5402,7 @@ var init_splitStream = __esmMin((() => {
5426
5402
  init_stream_type_check();
5427
5403
  }));
5428
5404
  //#endregion
5429
- //#region ../../node_modules/.pnpm/@smithy+core@3.24.7/node_modules/@smithy/core/dist-es/submodules/serde/index.js
5405
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/serde/index.js
5430
5406
  var serde_exports = /* @__PURE__ */ __exportAll({
5431
5407
  ChecksumStream: () => ChecksumStream$1,
5432
5408
  Hash: () => Hash,
@@ -5437,6 +5413,7 @@ var serde_exports = /* @__PURE__ */ __exportAll({
5437
5413
  _parseRfc3339DateTimeWithOffset: () => _parseRfc3339DateTimeWithOffset,
5438
5414
  _parseRfc7231DateTime: () => _parseRfc7231DateTime,
5439
5415
  calculateBodyLength: () => calculateBodyLength,
5416
+ concatBytes: () => concatBytes,
5440
5417
  copyDocumentWithTransform: () => copyDocumentWithTransform,
5441
5418
  createBufferedReadable: () => createBufferedReadable,
5442
5419
  createChecksumStream: () => createChecksumStream,
@@ -5456,7 +5433,7 @@ var serde_exports = /* @__PURE__ */ __exportAll({
5456
5433
  expectString: () => expectString,
5457
5434
  expectUnion: () => expectUnion,
5458
5435
  fromArrayBuffer: () => fromArrayBuffer,
5459
- fromBase64: () => fromBase64$1,
5436
+ fromBase64: () => fromBase64,
5460
5437
  fromHex: () => fromHex,
5461
5438
  fromString: () => fromString,
5462
5439
  fromUtf8: () => fromUtf8$1,
@@ -5485,6 +5462,7 @@ var serde_exports = /* @__PURE__ */ __exportAll({
5485
5462
  splitEvery: () => splitEvery,
5486
5463
  splitHeader: () => splitHeader,
5487
5464
  splitStream: () => splitStream,
5465
+ streamCollector: () => streamCollector,
5488
5466
  strictParseByte: () => strictParseByte,
5489
5467
  strictParseDouble: () => strictParseDouble,
5490
5468
  strictParseFloat: () => strictParseFloat,
@@ -5519,6 +5497,7 @@ var init_serde = __esmMin((() => {
5519
5497
  init_hex_encoding();
5520
5498
  init_calculateBodyLength();
5521
5499
  init_toUint8Array();
5500
+ init_concatBytes();
5522
5501
  init_buffer_from();
5523
5502
  init_is_array_buffer();
5524
5503
  init_deserializerMiddleware();
@@ -5533,10 +5512,665 @@ var init_serde = __esmMin((() => {
5533
5512
  init_sdk_stream_mixin();
5534
5513
  init_splitStream();
5535
5514
  init_stream_type_check();
5536
- Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8$1, fromUtf8$1, toBase64$1, fromBase64$1) {};
5515
+ init_stream_collector();
5516
+ Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8$1, fromUtf8$1, toBase64$1, fromBase64) {};
5537
5517
  _getRandomValues = getRandomValues;
5538
5518
  v4 = bindV4(_getRandomValues);
5539
5519
  generateIdempotencyToken = v4;
5540
5520
  }));
5541
5521
  //#endregion
5542
- export { calculateBodyLength as $, TypeRegistry as $t, config_exports as A, init_fromBase64 as At, init_config$1 as B, emitWarningIfUnsupportedVersion as Bt, init_EndpointError as C, init_httpResponse as Cn, init_toUtf8 as Ct, init_BinaryDecisionDiagram as D, init_getSmithyContext as Dn, fromUtf8$1 as Dt, BinaryDecisionDiagram as E, getSmithyContext as En, toBase64$1 as Et, resolveRegionConfig as F, getValueFromTextNode as Ft, init_configLoader as G, decorateServiceException as Gt, init_NodeUseFipsEndpointConfigOptions as H, init_defaults_mode as Ht, NODE_REGION_CONFIG_FILE_OPTIONS as I, init_get_value_from_text_node as It, init_types$1 as J, init_create_aggregated_client as Jt, loadConfig as K, init_exceptions as Kt, NODE_REGION_CONFIG_OPTIONS as L, getDefaultExtensionConfiguration as Lt, init_resolveDefaultsModeConfig as M, init_client as Mt, resolveDefaultsModeConfig as N, NoOpLogger as Nt, init_getEndpointFromInstructions as O, require_dist_cjs as On, init_fromUtf8 as Ot, init_resolveRegionConfig as P, init_NoOpLogger as Pt, init_ProviderError as Q, schema_exports as Qt, REGION_ENV_NAME as R, init_defaultExtensionConfiguration as Rt, EndpointError as S, HttpResponse as Sn, init_parse_utils as St, init_EndpointCache as T, init_httpRequest as Tn, init_toBase64 as Tt, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS as U, loadConfigsForDefaultMode as Ut, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS as V, init_emitWarningIfUnsupportedVersion as Vt, init_NodeUseDualstackEndpointConfigOptions as W, ServiceException as Wt, init_booleanSelector as X, init_command as Xt, booleanSelector as Y, Command as Yt, ProviderError as Z, init_schema as Zt, init_decideEndpoint as _, normalizeProvider as _n, init_date_utils as _t, v4 as a, getSchemaSerdePlugin as an, splitHeader as at, customEndpointFunctions as b, init_isValidHostLabel as bn, parseRfc7231DateTime as bt, Hash as c, init_deref as cn, _parseEpochTimestamp as ct, getEndpointPlugin as d, init_transport as dn, init_schema_date_utils as dt, init_TypeRegistry as en, init_calculateBodyLength as et, init_endpoints as f, init_parseUrl as fn, init_quote_header as ft, decideEndpoint as g, init_normalizeProvider as gn, dateToUtcString as gt, resolveEndpoint as h, parseQueryString as hn, init_lazy_json as ht, serde_exports as i, translateTraits as in, init_split_header as it, init_config as j, client_exports as jt, resolveParams as k, fromBase64$1 as kt, init_hash_node as l, Client as ln, _parseRfc3339DateTimeWithOffset as lt, init_resolveEndpoint as m, init_parseQueryString as mn, LazyJsonString as mt, generateIdempotencyToken as n, init_NormalizedSchema as nn, init_NumericValue as nt, init_sdk_stream_mixin as o, init_getSchemaSerdePlugin as on, init_split_every as ot, resolveEndpointConfig as p, parseUrl as pn, quoteHeader as pt, SelectorType as q, createAggregatedClient as qt, init_serde as r, init_translateTraits as rn, nv as rt, sdkStreamMixin as s, deref as sn, splitEvery as st, Uint8ArrayBlobAdapter as t, NormalizedSchema as tn, NumericValue as tt, endpoints_exports as u, init_client$1 as un, _parseRfc7231DateTime as ut, init_isIpAddress as v, init_isValidHostname as vn, parseEpochTimestamp as vt, EndpointCache as w, HttpRequest as wn, toUtf8$1 as wt, init_customEndpointFunctions as x, isValidHostLabel as xn, expectUnion as xt, isIpAddress as y, isValidHostname as yn, parseRfc3339DateTimeWithOffset as yt, REGION_INI_NAME as z, resolveDefaultRuntimeConfig as zt };
5522
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/chunked-blob-reader/chunked-blob-reader.js
5523
+ async function blobReader(blob, onChunk, chunkSize = 1024 * 1024) {
5524
+ const size = blob.size;
5525
+ let totalBytesRead = 0;
5526
+ while (totalBytesRead < size) {
5527
+ const slice = blob.slice(totalBytesRead, Math.min(size, totalBytesRead + chunkSize));
5528
+ onChunk(new Uint8Array(await slice.arrayBuffer()));
5529
+ totalBytesRead += slice.size;
5530
+ }
5531
+ }
5532
+ var init_chunked_blob_reader = __esmMin((() => {}));
5533
+ //#endregion
5534
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/hash-blob-browser/blobHasher.js
5535
+ var blobHasher;
5536
+ var init_blobHasher = __esmMin((() => {
5537
+ init_chunked_blob_reader();
5538
+ blobHasher = async function blobHasher(hashCtor, blob) {
5539
+ const hash = new hashCtor();
5540
+ await blobReader(blob, (chunk) => {
5541
+ hash.update(chunk);
5542
+ });
5543
+ return hash.digest();
5544
+ };
5545
+ }));
5546
+ //#endregion
5547
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/HashCalculator.js
5548
+ var HashCalculator;
5549
+ var init_HashCalculator = __esmMin((() => {
5550
+ init_serde();
5551
+ HashCalculator = class extends Writable {
5552
+ hash;
5553
+ constructor(hash, options) {
5554
+ super(options);
5555
+ this.hash = hash;
5556
+ }
5557
+ _write(chunk, encoding, callback) {
5558
+ try {
5559
+ this.hash.update(toUint8Array(chunk));
5560
+ } catch (err) {
5561
+ return callback(err);
5562
+ }
5563
+ callback();
5564
+ }
5565
+ };
5566
+ }));
5567
+ //#endregion
5568
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/fileStreamHasher.js
5569
+ var fileStreamHasher, isReadStream;
5570
+ var init_fileStreamHasher = __esmMin((() => {
5571
+ init_HashCalculator();
5572
+ fileStreamHasher = (hashCtor, fileStream) => new Promise((resolve, reject) => {
5573
+ if (!isReadStream(fileStream)) {
5574
+ reject(/* @__PURE__ */ new Error("Unable to calculate hash for non-file streams."));
5575
+ return;
5576
+ }
5577
+ const fileStreamTee = createReadStream(fileStream.path, {
5578
+ start: fileStream.start,
5579
+ end: fileStream.end
5580
+ });
5581
+ const hash = new hashCtor();
5582
+ const hashCalculator = new HashCalculator(hash);
5583
+ fileStreamTee.pipe(hashCalculator);
5584
+ fileStreamTee.on("error", (err) => {
5585
+ hashCalculator.end();
5586
+ reject(err);
5587
+ });
5588
+ hashCalculator.on("error", reject);
5589
+ hashCalculator.on("finish", function() {
5590
+ hash.digest().then(resolve).catch(reject);
5591
+ });
5592
+ });
5593
+ isReadStream = (stream) => typeof stream.path === "string";
5594
+ }));
5595
+ //#endregion
5596
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/hash-stream-node/readableStreamHasher.js
5597
+ var readableStreamHasher;
5598
+ var init_readableStreamHasher = __esmMin((() => {
5599
+ init_HashCalculator();
5600
+ readableStreamHasher = (hashCtor, readableStream) => {
5601
+ if (readableStream.readableFlowing !== null) throw new Error("Unable to calculate hash for flowing readable stream");
5602
+ const hash = new hashCtor();
5603
+ const hashCalculator = new HashCalculator(hash);
5604
+ readableStream.pipe(hashCalculator);
5605
+ return new Promise((resolve, reject) => {
5606
+ readableStream.on("error", (err) => {
5607
+ hashCalculator.end();
5608
+ reject(err);
5609
+ });
5610
+ hashCalculator.on("error", reject);
5611
+ hashCalculator.on("finish", () => {
5612
+ hash.digest().then(resolve).catch(reject);
5613
+ });
5614
+ });
5615
+ };
5616
+ }));
5617
+ //#endregion
5618
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js
5619
+ function compress(state, block) {
5620
+ let a = state[0], b = state[1], c = state[2], d = state[3];
5621
+ for (let i = 0; i < 64; ++i) {
5622
+ let f, g;
5623
+ if (i < 16) {
5624
+ f = b & c | ~b & d;
5625
+ g = i;
5626
+ } else if (i < 32) {
5627
+ f = d & b | c & ~d;
5628
+ g = (5 * i + 1) % 16;
5629
+ } else if (i < 48) {
5630
+ f = b ^ c ^ d;
5631
+ g = (3 * i + 5) % 16;
5632
+ } else {
5633
+ f = c ^ (b | ~d);
5634
+ g = 7 * i % 16;
5635
+ }
5636
+ const x = block.getUint32(g * 4, true);
5637
+ const tmp = d;
5638
+ d = c;
5639
+ c = b;
5640
+ const s = S[(i >> 4) * 4 + (i & 3)];
5641
+ const sum = (a + f & M) + (x + T[i] & M) & M;
5642
+ b = b + ((sum << s | sum >>> 32 - s) >>> 0) & M;
5643
+ a = tmp;
5644
+ }
5645
+ state[0] = state[0] + a & M;
5646
+ state[1] = state[1] + b & M;
5647
+ state[2] = state[2] + c & M;
5648
+ state[3] = state[3] + d & M;
5649
+ }
5650
+ var Md5Js, INIT$1, M, S, T;
5651
+ var init_Md5Js = __esmMin((() => {
5652
+ init_serde();
5653
+ Md5Js = class {
5654
+ digestLength = 16;
5655
+ state = Uint32Array.from(INIT$1);
5656
+ writeBuffer = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(64));
5657
+ bufferLength = 0;
5658
+ bytesHashed = 0;
5659
+ update(sourceData) {
5660
+ const data = toUint8Array(sourceData);
5661
+ let pos = 0;
5662
+ let len = data.byteLength;
5663
+ this.bytesHashed += len;
5664
+ while (len > 0) {
5665
+ this.writeBuffer.setUint8(this.bufferLength++, data[pos++]);
5666
+ --len;
5667
+ if (this.bufferLength === 64) {
5668
+ compress(this.state, this.writeBuffer);
5669
+ this.bufferLength = 0;
5670
+ }
5671
+ }
5672
+ }
5673
+ async digest() {
5674
+ const state = Uint32Array.from(this.state);
5675
+ const buf = new DataView(this.writeBuffer.buffer.slice(0));
5676
+ let bufLen = this.bufferLength;
5677
+ const bits = this.bytesHashed * 8;
5678
+ buf.setUint8(bufLen++, 128);
5679
+ if (this.bufferLength % 64 >= 56) {
5680
+ for (let i = bufLen; i < 64; ++i) buf.setUint8(i, 0);
5681
+ compress(state, buf);
5682
+ bufLen = 0;
5683
+ }
5684
+ for (let i = bufLen; i < 56; ++i) buf.setUint8(i, 0);
5685
+ buf.setUint32(56, bits >>> 0, true);
5686
+ buf.setUint32(60, Math.floor(bits / 2 ** 32), true);
5687
+ compress(state, buf);
5688
+ const out = /* @__PURE__ */ new Uint8Array(16);
5689
+ const view = new DataView(out.buffer);
5690
+ for (let i = 0; i < 4; ++i) view.setUint32(i * 4, state[i], true);
5691
+ return out;
5692
+ }
5693
+ reset() {
5694
+ this.state.set(INIT$1);
5695
+ this.writeBuffer = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(64));
5696
+ this.bufferLength = 0;
5697
+ this.bytesHashed = 0;
5698
+ }
5699
+ };
5700
+ INIT$1 = [
5701
+ 1732584193,
5702
+ 4023233417,
5703
+ 2562383102,
5704
+ 271733878
5705
+ ];
5706
+ M = 4294967295;
5707
+ S = Uint8Array.of(7, 12, 17, 22, 5, 9, 14, 20, 4, 11, 16, 23, 6, 10, 15, 21);
5708
+ T = Array.from({ length: 64 }, (_, i) => Math.abs(Math.sin(i + 1)) * 2 ** 32 >>> 0);
5709
+ }));
5710
+ //#endregion
5711
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js
5712
+ function buildNativeClass$2() {
5713
+ return class Md5Node {
5714
+ digestLength = 16;
5715
+ hash = createHash("md5");
5716
+ update(data) {
5717
+ this.hash.update(toUint8Array(data));
5718
+ }
5719
+ async digest() {
5720
+ const buf = this.hash.copy().digest();
5721
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
5722
+ }
5723
+ reset() {
5724
+ this.hash = createHash("md5");
5725
+ }
5726
+ };
5727
+ }
5728
+ var hasNativeCrypto$1, Md5Node;
5729
+ var init_Md5Node = __esmMin((() => {
5730
+ init_serde();
5731
+ init_Md5Js();
5732
+ hasNativeCrypto$1 = (() => {
5733
+ try {
5734
+ createHash("md5");
5735
+ return true;
5736
+ } catch {
5737
+ return false;
5738
+ }
5739
+ })();
5740
+ Md5Node = hasNativeCrypto$1 ? buildNativeClass$2() : Md5Js;
5741
+ }));
5742
+ //#endregion
5743
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js
5744
+ var CRC32_TABLE, ONES, Crc32Js;
5745
+ var init_Crc32Js = __esmMin((() => {
5746
+ CRC32_TABLE = /* @__PURE__ */ new Uint32Array(256);
5747
+ for (let i = 0; i < 256; ++i) {
5748
+ let c = i;
5749
+ for (let j = 0; j < 8; ++j) c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
5750
+ CRC32_TABLE[i] = c >>> 0;
5751
+ }
5752
+ ONES = 4294967295;
5753
+ Crc32Js = class {
5754
+ digestLength = 4;
5755
+ checksum = ONES;
5756
+ update(data) {
5757
+ for (let i = 0; i < data.length; ++i) this.checksum = this.checksum >>> 8 ^ CRC32_TABLE[(this.checksum ^ data[i]) & 255];
5758
+ }
5759
+ digestSync() {
5760
+ return (this.checksum ^ ONES) >>> 0;
5761
+ }
5762
+ async digest() {
5763
+ const value = this.digestSync();
5764
+ const out = /* @__PURE__ */ new Uint8Array(4);
5765
+ new DataView(out.buffer).setUint32(0, value, false);
5766
+ return out;
5767
+ }
5768
+ reset() {
5769
+ this.checksum = ONES;
5770
+ }
5771
+ };
5772
+ }));
5773
+ //#endregion
5774
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js
5775
+ function buildNativeClass$1(nativeCrc32) {
5776
+ return class Crc32Node {
5777
+ digestLength = 4;
5778
+ value = 0;
5779
+ update(data) {
5780
+ this.value = nativeCrc32(data, this.value);
5781
+ }
5782
+ digestSync() {
5783
+ return this.value >>> 0;
5784
+ }
5785
+ async digest() {
5786
+ const out = /* @__PURE__ */ new Uint8Array(4);
5787
+ new DataView(out.buffer).setUint32(0, this.digestSync(), false);
5788
+ return out;
5789
+ }
5790
+ reset() {
5791
+ this.value = 0;
5792
+ }
5793
+ };
5794
+ }
5795
+ var zlibCrc32, Crc32Node;
5796
+ var init_Crc32Node = __esmMin((() => {
5797
+ init_Crc32Js();
5798
+ zlibCrc32 = typeof zlib$1.crc32 === "function" ? zlib$1.crc32 : void 0;
5799
+ Crc32Node = zlibCrc32 ? buildNativeClass$1(zlibCrc32) : Crc32Js;
5800
+ }));
5801
+ //#endregion
5802
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js
5803
+ var BLOCK, DIGEST_LENGTH, MAX_HASHABLE_LENGTH, Sha256Js, INIT, K;
5804
+ var init_Sha256Js = __esmMin((() => {
5805
+ init_serde();
5806
+ BLOCK = 64;
5807
+ DIGEST_LENGTH = 32;
5808
+ MAX_HASHABLE_LENGTH = 2 ** 53 - 1;
5809
+ Sha256Js = class Sha256Js {
5810
+ digestLength = DIGEST_LENGTH;
5811
+ state = Int32Array.from(INIT);
5812
+ w;
5813
+ buffer = /* @__PURE__ */ new Uint8Array(64);
5814
+ bufferLength = 0;
5815
+ bytesHashed = 0;
5816
+ finished = false;
5817
+ inner;
5818
+ outer;
5819
+ constructor(secret) {
5820
+ if (secret) {
5821
+ const key = Sha256Js.normalizeKey(secret);
5822
+ this.inner = new Sha256Js();
5823
+ this.outer = new Sha256Js();
5824
+ const { inner, outer } = this;
5825
+ const pad = new Uint8Array(BLOCK * 2);
5826
+ for (let i = 0; i < BLOCK; ++i) {
5827
+ pad[i] = 54 ^ key[i];
5828
+ pad[i + BLOCK] = 92 ^ key[i];
5829
+ }
5830
+ inner.update(pad.subarray(0, BLOCK));
5831
+ outer.update(pad.subarray(BLOCK));
5832
+ }
5833
+ }
5834
+ update(data) {
5835
+ if (this.finished) throw new Error("Attempted to update an already finished HMAC.");
5836
+ if (this.inner) {
5837
+ this.inner.update(data);
5838
+ return;
5839
+ }
5840
+ const chunk = toUint8Array(data);
5841
+ let position = 0;
5842
+ let { byteLength } = chunk;
5843
+ this.bytesHashed += byteLength;
5844
+ if (this.bytesHashed * 8 > MAX_HASHABLE_LENGTH) throw new Error("Cannot hash more than 2^53 - 1 bits");
5845
+ while (byteLength > 0) {
5846
+ this.buffer[this.bufferLength++] = chunk[position++];
5847
+ byteLength--;
5848
+ if (this.bufferLength === BLOCK) {
5849
+ this.hashBuffer();
5850
+ this.bufferLength = 0;
5851
+ }
5852
+ }
5853
+ }
5854
+ async digest() {
5855
+ const { inner, outer } = this;
5856
+ if (inner && outer) {
5857
+ if (this.finished) throw new Error("Attempted to digest an already finished HMAC.");
5858
+ this.finished = true;
5859
+ const innerDigest = inner.digestSync();
5860
+ outer.update(innerDigest);
5861
+ return outer.digestSync();
5862
+ }
5863
+ return this.digestSync();
5864
+ }
5865
+ reset() {
5866
+ this.state = Int32Array.from(INIT);
5867
+ this.buffer = /* @__PURE__ */ new Uint8Array(64);
5868
+ this.bufferLength = 0;
5869
+ this.bytesHashed = 0;
5870
+ }
5871
+ digestSync() {
5872
+ const state = this.state.slice();
5873
+ const buffer = this.buffer.slice();
5874
+ let bufferLength = this.bufferLength;
5875
+ const bitsHashed = this.bytesHashed * 8;
5876
+ const bufferView = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);
5877
+ bufferView.setUint8(bufferLength++, 128);
5878
+ if ((bufferLength - 1) % BLOCK >= BLOCK - 8) {
5879
+ for (let i = bufferLength; i < BLOCK; ++i) bufferView.setUint8(i, 0);
5880
+ this.hashBufferWith(state, buffer);
5881
+ bufferLength = 0;
5882
+ }
5883
+ for (let i = bufferLength; i < BLOCK - 8; ++i) bufferView.setUint8(i, 0);
5884
+ bufferView.setUint32(BLOCK - 8, Math.floor(bitsHashed / 4294967296), false);
5885
+ bufferView.setUint32(BLOCK - 4, bitsHashed, false);
5886
+ this.hashBufferWith(state, buffer);
5887
+ const out = new Uint8Array(DIGEST_LENGTH);
5888
+ for (let i = 0; i < 8; ++i) {
5889
+ out[i * 4] = state[i] >>> 24 & 255;
5890
+ out[i * 4 + 1] = state[i] >>> 16 & 255;
5891
+ out[i * 4 + 2] = state[i] >>> 8 & 255;
5892
+ out[i * 4 + 3] = state[i] >>> 0 & 255;
5893
+ }
5894
+ return out;
5895
+ }
5896
+ static normalizeKey(secret) {
5897
+ const key = toUint8Array(secret);
5898
+ if (key.byteLength > BLOCK) {
5899
+ const h = new Sha256Js();
5900
+ h.update(key);
5901
+ const out = h.digestSync();
5902
+ const padded = new Uint8Array(BLOCK);
5903
+ padded.set(out);
5904
+ return padded;
5905
+ }
5906
+ if (key.byteLength < BLOCK) {
5907
+ const padded = new Uint8Array(BLOCK);
5908
+ padded.set(key);
5909
+ return padded;
5910
+ }
5911
+ return key;
5912
+ }
5913
+ hashBuffer() {
5914
+ this.hashBufferWith(this.state, this.buffer);
5915
+ }
5916
+ hashBufferWith(state, buffer) {
5917
+ const w = this.w ??= /* @__PURE__ */ new Int32Array(64);
5918
+ let s0 = state[0], s1 = state[1], s2 = state[2], s3 = state[3], s4 = state[4], s5 = state[5], s6 = state[6], s7 = state[7];
5919
+ for (let i = 0; i < BLOCK; ++i) {
5920
+ if (i < 16) w[i] = (buffer[i * 4] & 255) << 24 | (buffer[i * 4 + 1] & 255) << 16 | (buffer[i * 4 + 2] & 255) << 8 | buffer[i * 4 + 3] & 255;
5921
+ else {
5922
+ let u = w[i - 2];
5923
+ const t1 = (u >>> 17 | u << 15) ^ (u >>> 19 | u << 13) ^ u >>> 10;
5924
+ u = w[i - 15];
5925
+ const t2 = (u >>> 7 | u << 25) ^ (u >>> 18 | u << 14) ^ u >>> 3;
5926
+ w[i] = (t1 + w[i - 7] | 0) + (t2 + w[i - 16] | 0);
5927
+ }
5928
+ const t1 = (((s4 >>> 6 | s4 << 26) ^ (s4 >>> 11 | s4 << 21) ^ (s4 >>> 25 | s4 << 7)) + (s4 & s5 ^ ~s4 & s6) | 0) + (s7 + (K[i] + w[i] | 0) | 0) | 0;
5929
+ const t2 = ((s0 >>> 2 | s0 << 30) ^ (s0 >>> 13 | s0 << 19) ^ (s0 >>> 22 | s0 << 10)) + (s0 & s1 ^ s0 & s2 ^ s1 & s2) | 0;
5930
+ s7 = s6;
5931
+ s6 = s5;
5932
+ s5 = s4;
5933
+ s4 = s3 + t1 | 0;
5934
+ s3 = s2;
5935
+ s2 = s1;
5936
+ s1 = s0;
5937
+ s0 = t1 + t2 | 0;
5938
+ }
5939
+ state[0] += s0;
5940
+ state[1] += s1;
5941
+ state[2] += s2;
5942
+ state[3] += s3;
5943
+ state[4] += s4;
5944
+ state[5] += s5;
5945
+ state[6] += s6;
5946
+ state[7] += s7;
5947
+ }
5948
+ };
5949
+ INIT = new Int32Array([
5950
+ 1779033703,
5951
+ 3144134277,
5952
+ 1013904242,
5953
+ 2773480762,
5954
+ 1359893119,
5955
+ 2600822924,
5956
+ 528734635,
5957
+ 1541459225
5958
+ ]);
5959
+ K = new Int32Array([
5960
+ 1116352408,
5961
+ 1899447441,
5962
+ 3049323471,
5963
+ 3921009573,
5964
+ 961987163,
5965
+ 1508970993,
5966
+ 2453635748,
5967
+ 2870763221,
5968
+ 3624381080,
5969
+ 310598401,
5970
+ 607225278,
5971
+ 1426881987,
5972
+ 1925078388,
5973
+ 2162078206,
5974
+ 2614888103,
5975
+ 3248222580,
5976
+ 3835390401,
5977
+ 4022224774,
5978
+ 264347078,
5979
+ 604807628,
5980
+ 770255983,
5981
+ 1249150122,
5982
+ 1555081692,
5983
+ 1996064986,
5984
+ 2554220882,
5985
+ 2821834349,
5986
+ 2952996808,
5987
+ 3210313671,
5988
+ 3336571891,
5989
+ 3584528711,
5990
+ 113926993,
5991
+ 338241895,
5992
+ 666307205,
5993
+ 773529912,
5994
+ 1294757372,
5995
+ 1396182291,
5996
+ 1695183700,
5997
+ 1986661051,
5998
+ 2177026350,
5999
+ 2456956037,
6000
+ 2730485921,
6001
+ 2820302411,
6002
+ 3259730800,
6003
+ 3345764771,
6004
+ 3516065817,
6005
+ 3600352804,
6006
+ 4094571909,
6007
+ 275423344,
6008
+ 430227734,
6009
+ 506948616,
6010
+ 659060556,
6011
+ 883997877,
6012
+ 958139571,
6013
+ 1322822218,
6014
+ 1537002063,
6015
+ 1747873779,
6016
+ 1955562222,
6017
+ 2024104815,
6018
+ 2227730452,
6019
+ 2361852424,
6020
+ 2428436474,
6021
+ 2756734187,
6022
+ 3204031479,
6023
+ 3329325298
6024
+ ]);
6025
+ }));
6026
+ //#endregion
6027
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js
6028
+ function buildNativeClass() {
6029
+ return class Sha256Node {
6030
+ digestLength = 32;
6031
+ secret;
6032
+ hash;
6033
+ isHmac;
6034
+ finished = false;
6035
+ constructor(secret) {
6036
+ this.secret = secret;
6037
+ this.isHmac = !!secret;
6038
+ this.hash = this.createHash();
6039
+ }
6040
+ update(data) {
6041
+ if (this.finished) throw new Error("Attempted to update an already finished hash.");
6042
+ this.hash.update(data);
6043
+ }
6044
+ async digest() {
6045
+ let buf;
6046
+ if (this.isHmac) {
6047
+ this.finished = true;
6048
+ buf = this.hash.digest();
6049
+ } else buf = this.hash.copy().digest();
6050
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
6051
+ }
6052
+ reset() {
6053
+ this.hash = this.createHash();
6054
+ this.finished = false;
6055
+ }
6056
+ createHash() {
6057
+ return this.secret ? createHmac("sha256", toBuffer(this.secret)) : createHash("sha256");
6058
+ }
6059
+ };
6060
+ }
6061
+ function toBuffer(data) {
6062
+ if (typeof data === "string") return data;
6063
+ if (ArrayBuffer.isView(data)) return Buffer.from(data.buffer, data.byteOffset, data.byteLength);
6064
+ return Buffer.from(data);
6065
+ }
6066
+ var hasNativeCrypto, Sha256Node;
6067
+ var init_Sha256Node = __esmMin((() => {
6068
+ init_Sha256Js();
6069
+ hasNativeCrypto = (() => {
6070
+ try {
6071
+ createHash("sha256");
6072
+ return true;
6073
+ } catch {
6074
+ return false;
6075
+ }
6076
+ })();
6077
+ Sha256Node = hasNativeCrypto ? buildNativeClass() : Sha256Js;
6078
+ }));
6079
+ //#endregion
6080
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js
6081
+ var digest, sign, importKey, subtle, MAX_PENDING_BYTES, Sha256WebCrypto;
6082
+ var init_Sha256WebCrypto = __esmMin((() => {
6083
+ init_serde();
6084
+ init_Sha256Js();
6085
+ ({digest, sign, importKey} = globalThis?.crypto?.subtle ?? {});
6086
+ subtle = typeof digest === "function" && typeof sign === "function" && typeof importKey === "function" ? globalThis.crypto.subtle : void 0;
6087
+ MAX_PENDING_BYTES = 8 * 1024 * 1024;
6088
+ Sha256WebCrypto = class {
6089
+ digestLength = 32;
6090
+ secret;
6091
+ pending = [];
6092
+ pendingBytes = 0;
6093
+ fallback;
6094
+ finished = false;
6095
+ constructor(secret) {
6096
+ if (secret) this.secret = toUint8Array(secret);
6097
+ }
6098
+ update(data) {
6099
+ if (this.finished) throw new Error("Attempted to update an already finished HMAC.");
6100
+ if (this.fallback) {
6101
+ this.fallback.update(data);
6102
+ return;
6103
+ }
6104
+ this.pending.push(data.slice());
6105
+ this.pendingBytes += data.byteLength;
6106
+ if (this.pendingBytes >= MAX_PENDING_BYTES) this.switchToFallback();
6107
+ }
6108
+ async digest() {
6109
+ if (this.fallback) return this.fallback.digest();
6110
+ if (this.secret && this.finished) throw new Error("Attempted to digest an already finished HMAC.");
6111
+ const data = concatBytes(this.pending);
6112
+ if (subtle) {
6113
+ if (this.secret) {
6114
+ this.finished = true;
6115
+ const key = await subtle.importKey("raw", this.secret, {
6116
+ name: "HMAC",
6117
+ hash: "SHA-256"
6118
+ }, false, ["sign"]);
6119
+ const sig = await subtle.sign("HMAC", key, data);
6120
+ return new Uint8Array(sig);
6121
+ }
6122
+ const hash = await subtle.digest("SHA-256", data);
6123
+ return new Uint8Array(hash);
6124
+ }
6125
+ const sha256 = new Sha256Js(this.secret);
6126
+ sha256.update(data);
6127
+ return sha256.digest();
6128
+ }
6129
+ reset() {
6130
+ this.pending = [];
6131
+ this.pendingBytes = 0;
6132
+ this.fallback = void 0;
6133
+ this.finished = false;
6134
+ }
6135
+ switchToFallback() {
6136
+ const sha256Js = new Sha256Js(this.secret);
6137
+ for (const chunk of this.pending) sha256Js.update(chunk);
6138
+ this.fallback = sha256Js;
6139
+ this.pending = [];
6140
+ this.pendingBytes = 0;
6141
+ }
6142
+ };
6143
+ }));
6144
+ //#endregion
6145
+ //#region ../../node_modules/.pnpm/@smithy+core@3.29.1/node_modules/@smithy/core/dist-es/submodules/checksum/index.js
6146
+ var checksum_exports = /* @__PURE__ */ __exportAll({
6147
+ Crc32: () => Crc32Node,
6148
+ Crc32Js: () => Crc32Js,
6149
+ Crc32Node: () => Crc32Node,
6150
+ Md5: () => Md5Node,
6151
+ Md5Js: () => Md5Js,
6152
+ Md5Node: () => Md5Node,
6153
+ Sha256: () => Sha256Node,
6154
+ Sha256Js: () => Sha256Js,
6155
+ Sha256Node: () => Sha256Node,
6156
+ Sha256WebCrypto: () => Sha256WebCrypto,
6157
+ blobHasher: () => blobHasher,
6158
+ blobReader: () => blobReader,
6159
+ fileStreamHasher: () => fileStreamHasher,
6160
+ readableStreamHasher: () => readableStreamHasher
6161
+ });
6162
+ var init_checksum = __esmMin((() => {
6163
+ init_blobHasher();
6164
+ init_fileStreamHasher();
6165
+ init_readableStreamHasher();
6166
+ init_Md5Js();
6167
+ init_Md5Node();
6168
+ init_Crc32Js();
6169
+ init_Crc32Node();
6170
+ init_Sha256Js();
6171
+ init_Sha256Node();
6172
+ init_Sha256WebCrypto();
6173
+ init_chunked_blob_reader();
6174
+ }));
6175
+ //#endregion
6176
+ export { booleanSelector as $, ServiceException as $t, BinaryDecisionDiagram as A, isValidHostLabel as An, init_toUtf8 as At, NODE_REGION_CONFIG_FILE_OPTIONS as B, init_client_command_builder as Bt, isIpAddress as C, init_parseQueryString as Cn, dateToUtcString as Ct, init_EndpointError as D, init_isValidHostname as Dn, parseRfc7231DateTime as Dt, EndpointError as E, normalizeProvider as En, parseRfc3339DateTimeWithOffset as Et, init_config as F, getSmithyContext as Fn, init_fromUtf8 as Ft, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS as G, init_get_value_from_text_node as Gt, REGION_ENV_NAME as H, NoOpLogger as Ht, init_resolveDefaultsModeConfig as I, init_getSmithyContext as In, fromBase64 as It, init_NodeUseDualstackEndpointConfigOptions as J, resolveDefaultRuntimeConfig as Jt, init_NodeUseFipsEndpointConfigOptions as K, getDefaultExtensionConfiguration as Kt, resolveDefaultsModeConfig as L, require_dist_cjs as Ln, init_fromBase64 as Lt, init_getEndpointFromInstructions as M, init_httpResponse as Mn, init_toBase64 as Mt, resolveParams as N, HttpRequest as Nn, toBase64$1 as Nt, EndpointCache as O, isValidHostname as On, expectUnion as Ot, config_exports as P, init_httpRequest as Pn, fromUtf8$1 as Pt, init_types$1 as Q, loadConfigsForDefaultMode as Qt, init_resolveRegionConfig as R, client_exports as Rt, init_isIpAddress as S, parseUrl as Sn, init_lazy_json as St, init_customEndpointFunctions as T, init_normalizeProvider as Tn, parseEpochTimestamp as Tt, REGION_INI_NAME as U, init_NoOpLogger as Ut, NODE_REGION_CONFIG_OPTIONS as V, makeBuilder as Vt, init_config$1 as W, getValueFromTextNode as Wt, loadConfig as X, init_emitWarningIfUnsupportedVersion as Xt, init_configLoader as Y, emitWarningIfUnsupportedVersion as Yt, SelectorType as Z, init_defaults_mode as Zt, resolveEndpointConfig as _, init_deref as _n, _parseRfc7231DateTime as _t, Crc32Node as a, init_command as an, fromHex as at, decideEndpoint as b, init_transport as bn, quoteHeader as bt, generateIdempotencyToken as c, TypeRegistry as cn, NumericValue as ct, v4 as d, init_NormalizedSchema as dn, init_split_header as dt, decorateServiceException as en, init_booleanSelector as et, init_sdk_stream_mixin as f, init_translateTraits as fn, splitHeader as ft, init_endpoints as g, deref as gn, _parseRfc3339DateTimeWithOffset as gt, getEndpointPlugin as h, init_getSchemaSerdePlugin as hn, _parseEpochTimestamp as ht, init_Sha256Node as i, Command as in, init_calculateBodyLength as it, init_BinaryDecisionDiagram as j, HttpResponse as jn, toUtf8$1 as jt, init_EndpointCache as k, init_isValidHostLabel as kn, init_parse_utils as kt, init_serde as l, init_TypeRegistry as ln, init_NumericValue as lt, endpoints_exports as m, getSchemaSerdePlugin as mn, splitEvery as mt, init_checksum as n, createAggregatedClient as nn, init_ProviderError as nt, init_Crc32Node as o, init_schema as on, init_hex_encoding as ot, sdkStreamMixin as p, translateTraits as pn, init_split_every as pt, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS as q, init_defaultExtensionConfiguration as qt, Sha256Node as r, init_create_aggregated_client as rn, calculateBodyLength as rt, Uint8ArrayBlobAdapter as s, schema_exports as sn, toHex as st, checksum_exports as t, init_exceptions as tn, ProviderError as tt, serde_exports as u, NormalizedSchema as un, nv as ut, init_resolveEndpoint as v, Client as vn, init_schema_date_utils as vt, customEndpointFunctions as w, parseQueryString as wn, init_date_utils as wt, init_decideEndpoint as x, init_parseUrl as xn, LazyJsonString as xt, resolveEndpoint as y, init_client$1 as yn, init_quote_header as yt, resolveRegionConfig as z, init_client as zt };