@cloudsnorkel/cdk-github-runners 0.7.3 → 0.7.5

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.
@@ -24,6 +24,10 @@ var __copyProps = (to, from, except, desc) => {
24
24
  return to;
25
25
  };
26
26
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
31
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
28
32
  mod
29
33
  ));
@@ -1659,10 +1663,10 @@ var require_default_error_handler = __commonJS({
1659
1663
  };
1660
1664
  exports.throwDefaultError = throwDefaultError;
1661
1665
  var deserializeMetadata = (output) => {
1662
- var _a;
1666
+ var _a, _b;
1663
1667
  return {
1664
1668
  httpStatusCode: output.statusCode,
1665
- requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
1669
+ requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
1666
1670
  extendedRequestId: output.headers["x-amz-id-2"],
1667
1671
  cfId: output.headers["x-amz-cf-id"]
1668
1672
  };
@@ -13788,14 +13792,14 @@ var require_resolveCustomEndpointsConfig = __commonJS({
13788
13792
  exports.resolveCustomEndpointsConfig = void 0;
13789
13793
  var util_middleware_1 = require_dist_cjs4();
13790
13794
  var resolveCustomEndpointsConfig = (input) => {
13791
- var _a;
13795
+ var _a, _b;
13792
13796
  const { endpoint, urlParser } = input;
13793
13797
  return {
13794
13798
  ...input,
13795
13799
  tls: (_a = input.tls) !== null && _a !== void 0 ? _a : true,
13796
13800
  endpoint: (0, util_middleware_1.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint),
13797
13801
  isCustomEndpoint: true,
13798
- useDualstackEndpoint: (0, util_middleware_1.normalizeProvider)(input.useDualstackEndpoint)
13802
+ useDualstackEndpoint: (0, util_middleware_1.normalizeProvider)((_b = input.useDualstackEndpoint) !== null && _b !== void 0 ? _b : false)
13799
13803
  };
13800
13804
  };
13801
13805
  exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig;
@@ -13837,12 +13841,12 @@ var require_resolveEndpointsConfig = __commonJS({
13837
13841
  var util_middleware_1 = require_dist_cjs4();
13838
13842
  var getEndpointFromRegion_1 = require_getEndpointFromRegion();
13839
13843
  var resolveEndpointsConfig = (input) => {
13840
- var _a;
13841
- const useDualstackEndpoint = (0, util_middleware_1.normalizeProvider)(input.useDualstackEndpoint);
13844
+ var _a, _b;
13845
+ const useDualstackEndpoint = (0, util_middleware_1.normalizeProvider)((_a = input.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false);
13842
13846
  const { endpoint, useFipsEndpoint, urlParser } = input;
13843
13847
  return {
13844
13848
  ...input,
13845
- tls: (_a = input.tls) !== null && _a !== void 0 ? _a : true,
13849
+ tls: (_b = input.tls) !== null && _b !== void 0 ? _b : true,
13846
13850
  endpoint: endpoint ? (0, util_middleware_1.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) : () => (0, getEndpointFromRegion_1.getEndpointFromRegion)({ ...input, useDualstackEndpoint, useFipsEndpoint }),
13847
13851
  isCustomEndpoint: !!endpoint,
13848
13852
  useDualstackEndpoint
@@ -13936,7 +13940,7 @@ var require_resolveRegionConfig = __commonJS({
13936
13940
  if ((0, isFipsRegion_1.isFipsRegion)(providedRegion)) {
13937
13941
  return true;
13938
13942
  }
13939
- return typeof useFipsEndpoint === "boolean" ? Promise.resolve(useFipsEndpoint) : useFipsEndpoint();
13943
+ return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
13940
13944
  }
13941
13945
  };
13942
13946
  };
@@ -14276,9 +14280,9 @@ var require_dist_cjs14 = __commonJS({
14276
14280
  }
14277
14281
  });
14278
14282
 
14279
- // node_modules/@aws-sdk/middleware-retry/dist-cjs/config.js
14283
+ // node_modules/@aws-sdk/util-retry/dist-cjs/config.js
14280
14284
  var require_config2 = __commonJS({
14281
- "node_modules/@aws-sdk/middleware-retry/dist-cjs/config.js"(exports) {
14285
+ "node_modules/@aws-sdk/util-retry/dist-cjs/config.js"(exports) {
14282
14286
  "use strict";
14283
14287
  Object.defineProperty(exports, "__esModule", { value: true });
14284
14288
  exports.DEFAULT_RETRY_MODE = exports.DEFAULT_MAX_ATTEMPTS = exports.RETRY_MODES = void 0;
@@ -14288,7 +14292,7 @@ var require_config2 = __commonJS({
14288
14292
  RETRY_MODES2["ADAPTIVE"] = "adaptive";
14289
14293
  })(RETRY_MODES = exports.RETRY_MODES || (exports.RETRY_MODES = {}));
14290
14294
  exports.DEFAULT_MAX_ATTEMPTS = 3;
14291
- exports.DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
14295
+ exports.DEFAULT_RETRY_MODE = "STANDARD";
14292
14296
  }
14293
14297
  });
14294
14298
 
@@ -14333,7 +14337,7 @@ var require_dist_cjs15 = __commonJS({
14333
14337
  "node_modules/@aws-sdk/service-error-classification/dist-cjs/index.js"(exports) {
14334
14338
  "use strict";
14335
14339
  Object.defineProperty(exports, "__esModule", { value: true });
14336
- exports.isTransientError = exports.isThrottlingError = exports.isClockSkewError = exports.isRetryableByTrait = void 0;
14340
+ exports.isServerError = exports.isTransientError = exports.isThrottlingError = exports.isClockSkewError = exports.isRetryableByTrait = void 0;
14337
14341
  var constants_1 = require_constants2();
14338
14342
  var isRetryableByTrait = (error) => error.$retryable !== void 0;
14339
14343
  exports.isRetryableByTrait = isRetryableByTrait;
@@ -14349,12 +14353,24 @@ var require_dist_cjs15 = __commonJS({
14349
14353
  return constants_1.TRANSIENT_ERROR_CODES.includes(error.name) || constants_1.NODEJS_TIMEOUT_ERROR_CODES.includes((error === null || error === void 0 ? void 0 : error.code) || "") || constants_1.TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) || 0);
14350
14354
  };
14351
14355
  exports.isTransientError = isTransientError;
14356
+ var isServerError = (error) => {
14357
+ var _a;
14358
+ if (((_a = error.$metadata) === null || _a === void 0 ? void 0 : _a.httpStatusCode) !== void 0) {
14359
+ const statusCode = error.$metadata.httpStatusCode;
14360
+ if (500 <= statusCode && statusCode <= 599 && !(0, exports.isTransientError)(error)) {
14361
+ return true;
14362
+ }
14363
+ return false;
14364
+ }
14365
+ return false;
14366
+ };
14367
+ exports.isServerError = isServerError;
14352
14368
  }
14353
14369
  });
14354
14370
 
14355
- // node_modules/@aws-sdk/middleware-retry/dist-cjs/DefaultRateLimiter.js
14371
+ // node_modules/@aws-sdk/util-retry/dist-cjs/DefaultRateLimiter.js
14356
14372
  var require_DefaultRateLimiter = __commonJS({
14357
- "node_modules/@aws-sdk/middleware-retry/dist-cjs/DefaultRateLimiter.js"(exports) {
14373
+ "node_modules/@aws-sdk/util-retry/dist-cjs/DefaultRateLimiter.js"(exports) {
14358
14374
  "use strict";
14359
14375
  Object.defineProperty(exports, "__esModule", { value: true });
14360
14376
  exports.DefaultRateLimiter = void 0;
@@ -14461,6 +14477,216 @@ var require_DefaultRateLimiter = __commonJS({
14461
14477
  }
14462
14478
  });
14463
14479
 
14480
+ // node_modules/@aws-sdk/util-retry/dist-cjs/constants.js
14481
+ var require_constants3 = __commonJS({
14482
+ "node_modules/@aws-sdk/util-retry/dist-cjs/constants.js"(exports) {
14483
+ "use strict";
14484
+ Object.defineProperty(exports, "__esModule", { value: true });
14485
+ exports.REQUEST_HEADER = exports.INVOCATION_ID_HEADER = exports.NO_RETRY_INCREMENT = exports.TIMEOUT_RETRY_COST = exports.RETRY_COST = exports.INITIAL_RETRY_TOKENS = exports.THROTTLING_RETRY_DELAY_BASE = exports.MAXIMUM_RETRY_DELAY = exports.DEFAULT_RETRY_DELAY_BASE = void 0;
14486
+ exports.DEFAULT_RETRY_DELAY_BASE = 100;
14487
+ exports.MAXIMUM_RETRY_DELAY = 20 * 1e3;
14488
+ exports.THROTTLING_RETRY_DELAY_BASE = 500;
14489
+ exports.INITIAL_RETRY_TOKENS = 500;
14490
+ exports.RETRY_COST = 5;
14491
+ exports.TIMEOUT_RETRY_COST = 10;
14492
+ exports.NO_RETRY_INCREMENT = 1;
14493
+ exports.INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
14494
+ exports.REQUEST_HEADER = "amz-sdk-request";
14495
+ }
14496
+ });
14497
+
14498
+ // node_modules/@aws-sdk/util-retry/dist-cjs/defaultRetryBackoffStrategy.js
14499
+ var require_defaultRetryBackoffStrategy = __commonJS({
14500
+ "node_modules/@aws-sdk/util-retry/dist-cjs/defaultRetryBackoffStrategy.js"(exports) {
14501
+ "use strict";
14502
+ Object.defineProperty(exports, "__esModule", { value: true });
14503
+ exports.getDefaultRetryBackoffStrategy = void 0;
14504
+ var constants_1 = require_constants3();
14505
+ var getDefaultRetryBackoffStrategy = () => {
14506
+ let delayBase = constants_1.DEFAULT_RETRY_DELAY_BASE;
14507
+ const computeNextBackoffDelay = (attempts) => {
14508
+ return Math.floor(Math.min(constants_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
14509
+ };
14510
+ const setDelayBase = (delay) => {
14511
+ delayBase = delay;
14512
+ };
14513
+ return {
14514
+ computeNextBackoffDelay,
14515
+ setDelayBase
14516
+ };
14517
+ };
14518
+ exports.getDefaultRetryBackoffStrategy = getDefaultRetryBackoffStrategy;
14519
+ }
14520
+ });
14521
+
14522
+ // node_modules/@aws-sdk/util-retry/dist-cjs/defaultRetryToken.js
14523
+ var require_defaultRetryToken = __commonJS({
14524
+ "node_modules/@aws-sdk/util-retry/dist-cjs/defaultRetryToken.js"(exports) {
14525
+ "use strict";
14526
+ Object.defineProperty(exports, "__esModule", { value: true });
14527
+ exports.getDefaultRetryToken = void 0;
14528
+ var constants_1 = require_constants3();
14529
+ var defaultRetryBackoffStrategy_1 = require_defaultRetryBackoffStrategy();
14530
+ var getDefaultRetryToken = (initialRetryTokens, initialRetryDelay, initialRetryCount, options) => {
14531
+ var _a, _b, _c;
14532
+ const MAX_CAPACITY = initialRetryTokens;
14533
+ const retryCost = (_a = options === null || options === void 0 ? void 0 : options.retryCost) !== null && _a !== void 0 ? _a : constants_1.RETRY_COST;
14534
+ const timeoutRetryCost = (_b = options === null || options === void 0 ? void 0 : options.timeoutRetryCost) !== null && _b !== void 0 ? _b : constants_1.TIMEOUT_RETRY_COST;
14535
+ const retryBackoffStrategy = (_c = options === null || options === void 0 ? void 0 : options.retryBackoffStrategy) !== null && _c !== void 0 ? _c : (0, defaultRetryBackoffStrategy_1.getDefaultRetryBackoffStrategy)();
14536
+ let availableCapacity = initialRetryTokens;
14537
+ let retryDelay = Math.min(constants_1.MAXIMUM_RETRY_DELAY, initialRetryDelay);
14538
+ let lastRetryCost = void 0;
14539
+ let retryCount = initialRetryCount !== null && initialRetryCount !== void 0 ? initialRetryCount : 0;
14540
+ const getCapacityAmount = (errorType) => errorType === "TRANSIENT" ? timeoutRetryCost : retryCost;
14541
+ const getRetryCount = () => retryCount;
14542
+ const getRetryDelay = () => retryDelay;
14543
+ const getLastRetryCost = () => lastRetryCost;
14544
+ const hasRetryTokens = (errorType) => getCapacityAmount(errorType) <= availableCapacity;
14545
+ const getRetryTokenCount = (errorInfo) => {
14546
+ const errorType = errorInfo.errorType;
14547
+ if (!hasRetryTokens(errorType)) {
14548
+ throw new Error("No retry token available");
14549
+ }
14550
+ const capacityAmount = getCapacityAmount(errorType);
14551
+ const delayBase = errorType === "THROTTLING" ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE;
14552
+ retryBackoffStrategy.setDelayBase(delayBase);
14553
+ const delayFromErrorType = retryBackoffStrategy.computeNextBackoffDelay(retryCount);
14554
+ if (errorInfo.retryAfterHint) {
14555
+ const delayFromRetryAfterHint = errorInfo.retryAfterHint.getTime() - Date.now();
14556
+ retryDelay = Math.max(delayFromRetryAfterHint || 0, delayFromErrorType);
14557
+ } else {
14558
+ retryDelay = delayFromErrorType;
14559
+ }
14560
+ retryCount++;
14561
+ lastRetryCost = capacityAmount;
14562
+ availableCapacity -= capacityAmount;
14563
+ return capacityAmount;
14564
+ };
14565
+ const releaseRetryTokens = (releaseAmount) => {
14566
+ availableCapacity += releaseAmount !== null && releaseAmount !== void 0 ? releaseAmount : constants_1.NO_RETRY_INCREMENT;
14567
+ availableCapacity = Math.min(availableCapacity, MAX_CAPACITY);
14568
+ };
14569
+ return {
14570
+ getRetryCount,
14571
+ getRetryDelay,
14572
+ getLastRetryCost,
14573
+ hasRetryTokens,
14574
+ getRetryTokenCount,
14575
+ releaseRetryTokens
14576
+ };
14577
+ };
14578
+ exports.getDefaultRetryToken = getDefaultRetryToken;
14579
+ }
14580
+ });
14581
+
14582
+ // node_modules/@aws-sdk/util-retry/dist-cjs/StandardRetryStrategy.js
14583
+ var require_StandardRetryStrategy = __commonJS({
14584
+ "node_modules/@aws-sdk/util-retry/dist-cjs/StandardRetryStrategy.js"(exports) {
14585
+ "use strict";
14586
+ Object.defineProperty(exports, "__esModule", { value: true });
14587
+ exports.StandardRetryStrategy = void 0;
14588
+ var config_1 = require_config2();
14589
+ var constants_1 = require_constants3();
14590
+ var defaultRetryToken_1 = require_defaultRetryToken();
14591
+ var StandardRetryStrategy = class {
14592
+ constructor(maxAttemptsProvider) {
14593
+ this.maxAttemptsProvider = maxAttemptsProvider;
14594
+ this.mode = config_1.RETRY_MODES.STANDARD;
14595
+ this.retryToken = (0, defaultRetryToken_1.getDefaultRetryToken)(constants_1.INITIAL_RETRY_TOKENS, constants_1.DEFAULT_RETRY_DELAY_BASE);
14596
+ this.maxAttemptsProvider = maxAttemptsProvider;
14597
+ }
14598
+ async acquireInitialRetryToken(retryTokenScope) {
14599
+ return this.retryToken;
14600
+ }
14601
+ async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
14602
+ const maxAttempts = await this.getMaxAttempts();
14603
+ if (this.shouldRetry(tokenToRenew, errorInfo, maxAttempts)) {
14604
+ tokenToRenew.getRetryTokenCount(errorInfo);
14605
+ return tokenToRenew;
14606
+ }
14607
+ throw new Error("No retry token available");
14608
+ }
14609
+ recordSuccess(token) {
14610
+ this.retryToken.releaseRetryTokens(token.getLastRetryCost());
14611
+ }
14612
+ async getMaxAttempts() {
14613
+ let maxAttempts;
14614
+ try {
14615
+ return await this.maxAttemptsProvider();
14616
+ } catch (error) {
14617
+ console.warn(`Max attempts provider could not resolve. Using default of ${config_1.DEFAULT_MAX_ATTEMPTS}`);
14618
+ return config_1.DEFAULT_MAX_ATTEMPTS;
14619
+ }
14620
+ }
14621
+ shouldRetry(tokenToRenew, errorInfo, maxAttempts) {
14622
+ const attempts = tokenToRenew.getRetryCount();
14623
+ return attempts < maxAttempts && tokenToRenew.hasRetryTokens(errorInfo.errorType) && this.isRetryableError(errorInfo.errorType);
14624
+ }
14625
+ isRetryableError(errorType) {
14626
+ return errorType === "THROTTLING" || errorType === "TRANSIENT";
14627
+ }
14628
+ };
14629
+ exports.StandardRetryStrategy = StandardRetryStrategy;
14630
+ }
14631
+ });
14632
+
14633
+ // node_modules/@aws-sdk/util-retry/dist-cjs/AdaptiveRetryStrategy.js
14634
+ var require_AdaptiveRetryStrategy = __commonJS({
14635
+ "node_modules/@aws-sdk/util-retry/dist-cjs/AdaptiveRetryStrategy.js"(exports) {
14636
+ "use strict";
14637
+ Object.defineProperty(exports, "__esModule", { value: true });
14638
+ exports.AdaptiveRetryStrategy = void 0;
14639
+ var config_1 = require_config2();
14640
+ var DefaultRateLimiter_1 = require_DefaultRateLimiter();
14641
+ var StandardRetryStrategy_1 = require_StandardRetryStrategy();
14642
+ var AdaptiveRetryStrategy = class {
14643
+ constructor(maxAttemptsProvider, options) {
14644
+ this.maxAttemptsProvider = maxAttemptsProvider;
14645
+ this.mode = config_1.RETRY_MODES.ADAPTIVE;
14646
+ const { rateLimiter } = options !== null && options !== void 0 ? options : {};
14647
+ this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new DefaultRateLimiter_1.DefaultRateLimiter();
14648
+ this.standardRetryStrategy = new StandardRetryStrategy_1.StandardRetryStrategy(maxAttemptsProvider);
14649
+ }
14650
+ async acquireInitialRetryToken(retryTokenScope) {
14651
+ await this.rateLimiter.getSendToken();
14652
+ return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope);
14653
+ }
14654
+ async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {
14655
+ this.rateLimiter.updateClientSendingRate(errorInfo);
14656
+ return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo);
14657
+ }
14658
+ recordSuccess(token) {
14659
+ this.rateLimiter.updateClientSendingRate({});
14660
+ this.standardRetryStrategy.recordSuccess(token);
14661
+ }
14662
+ };
14663
+ exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy;
14664
+ }
14665
+ });
14666
+
14667
+ // node_modules/@aws-sdk/util-retry/dist-cjs/types.js
14668
+ var require_types2 = __commonJS({
14669
+ "node_modules/@aws-sdk/util-retry/dist-cjs/types.js"(exports) {
14670
+ "use strict";
14671
+ Object.defineProperty(exports, "__esModule", { value: true });
14672
+ }
14673
+ });
14674
+
14675
+ // node_modules/@aws-sdk/util-retry/dist-cjs/index.js
14676
+ var require_dist_cjs16 = __commonJS({
14677
+ "node_modules/@aws-sdk/util-retry/dist-cjs/index.js"(exports) {
14678
+ "use strict";
14679
+ Object.defineProperty(exports, "__esModule", { value: true });
14680
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
14681
+ tslib_1.__exportStar(require_AdaptiveRetryStrategy(), exports);
14682
+ tslib_1.__exportStar(require_DefaultRateLimiter(), exports);
14683
+ tslib_1.__exportStar(require_StandardRetryStrategy(), exports);
14684
+ tslib_1.__exportStar(require_config2(), exports);
14685
+ tslib_1.__exportStar(require_constants3(), exports);
14686
+ tslib_1.__exportStar(require_types2(), exports);
14687
+ }
14688
+ });
14689
+
14464
14690
  // node_modules/uuid/dist/esm-node/rng.js
14465
14691
  function rng() {
14466
14692
  if (poolPtr > rnds8Pool.length - 16) {
@@ -14794,37 +15020,19 @@ var init_esm_node = __esm({
14794
15020
  }
14795
15021
  });
14796
15022
 
14797
- // node_modules/@aws-sdk/middleware-retry/dist-cjs/constants.js
14798
- var require_constants3 = __commonJS({
14799
- "node_modules/@aws-sdk/middleware-retry/dist-cjs/constants.js"(exports) {
14800
- "use strict";
14801
- Object.defineProperty(exports, "__esModule", { value: true });
14802
- exports.REQUEST_HEADER = exports.INVOCATION_ID_HEADER = exports.NO_RETRY_INCREMENT = exports.TIMEOUT_RETRY_COST = exports.RETRY_COST = exports.INITIAL_RETRY_TOKENS = exports.THROTTLING_RETRY_DELAY_BASE = exports.MAXIMUM_RETRY_DELAY = exports.DEFAULT_RETRY_DELAY_BASE = void 0;
14803
- exports.DEFAULT_RETRY_DELAY_BASE = 100;
14804
- exports.MAXIMUM_RETRY_DELAY = 20 * 1e3;
14805
- exports.THROTTLING_RETRY_DELAY_BASE = 500;
14806
- exports.INITIAL_RETRY_TOKENS = 500;
14807
- exports.RETRY_COST = 5;
14808
- exports.TIMEOUT_RETRY_COST = 10;
14809
- exports.NO_RETRY_INCREMENT = 1;
14810
- exports.INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
14811
- exports.REQUEST_HEADER = "amz-sdk-request";
14812
- }
14813
- });
14814
-
14815
15023
  // node_modules/@aws-sdk/middleware-retry/dist-cjs/defaultRetryQuota.js
14816
15024
  var require_defaultRetryQuota = __commonJS({
14817
15025
  "node_modules/@aws-sdk/middleware-retry/dist-cjs/defaultRetryQuota.js"(exports) {
14818
15026
  "use strict";
14819
15027
  Object.defineProperty(exports, "__esModule", { value: true });
14820
15028
  exports.getDefaultRetryQuota = void 0;
14821
- var constants_1 = require_constants3();
15029
+ var util_retry_1 = require_dist_cjs16();
14822
15030
  var getDefaultRetryQuota = (initialRetryTokens, options) => {
14823
15031
  var _a, _b, _c;
14824
15032
  const MAX_CAPACITY = initialRetryTokens;
14825
- const noRetryIncrement = (_a = options === null || options === void 0 ? void 0 : options.noRetryIncrement) !== null && _a !== void 0 ? _a : constants_1.NO_RETRY_INCREMENT;
14826
- const retryCost = (_b = options === null || options === void 0 ? void 0 : options.retryCost) !== null && _b !== void 0 ? _b : constants_1.RETRY_COST;
14827
- const timeoutRetryCost = (_c = options === null || options === void 0 ? void 0 : options.timeoutRetryCost) !== null && _c !== void 0 ? _c : constants_1.TIMEOUT_RETRY_COST;
15033
+ const noRetryIncrement = (_a = options === null || options === void 0 ? void 0 : options.noRetryIncrement) !== null && _a !== void 0 ? _a : util_retry_1.NO_RETRY_INCREMENT;
15034
+ const retryCost = (_b = options === null || options === void 0 ? void 0 : options.retryCost) !== null && _b !== void 0 ? _b : util_retry_1.RETRY_COST;
15035
+ const timeoutRetryCost = (_c = options === null || options === void 0 ? void 0 : options.timeoutRetryCost) !== null && _c !== void 0 ? _c : util_retry_1.TIMEOUT_RETRY_COST;
14828
15036
  let availableCapacity = initialRetryTokens;
14829
15037
  const getCapacityAmount = (error) => error.name === "TimeoutError" ? timeoutRetryCost : retryCost;
14830
15038
  const hasRetryTokens = (error) => getCapacityAmount(error) <= availableCapacity;
@@ -14856,8 +15064,8 @@ var require_delayDecider = __commonJS({
14856
15064
  "use strict";
14857
15065
  Object.defineProperty(exports, "__esModule", { value: true });
14858
15066
  exports.defaultDelayDecider = void 0;
14859
- var constants_1 = require_constants3();
14860
- var defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(constants_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
15067
+ var util_retry_1 = require_dist_cjs16();
15068
+ var defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(util_retry_1.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
14861
15069
  exports.defaultDelayDecider = defaultDelayDecider;
14862
15070
  }
14863
15071
  });
@@ -14879,28 +15087,47 @@ var require_retryDecider = __commonJS({
14879
15087
  }
14880
15088
  });
14881
15089
 
15090
+ // node_modules/@aws-sdk/middleware-retry/dist-cjs/util.js
15091
+ var require_util = __commonJS({
15092
+ "node_modules/@aws-sdk/middleware-retry/dist-cjs/util.js"(exports) {
15093
+ "use strict";
15094
+ Object.defineProperty(exports, "__esModule", { value: true });
15095
+ exports.asSdkError = void 0;
15096
+ var asSdkError = (error) => {
15097
+ if (error instanceof Error)
15098
+ return error;
15099
+ if (error instanceof Object)
15100
+ return Object.assign(new Error(), error);
15101
+ if (typeof error === "string")
15102
+ return new Error(error);
15103
+ return new Error(`AWS SDK error wrapper for ${error}`);
15104
+ };
15105
+ exports.asSdkError = asSdkError;
15106
+ }
15107
+ });
15108
+
14882
15109
  // node_modules/@aws-sdk/middleware-retry/dist-cjs/StandardRetryStrategy.js
14883
- var require_StandardRetryStrategy = __commonJS({
15110
+ var require_StandardRetryStrategy2 = __commonJS({
14884
15111
  "node_modules/@aws-sdk/middleware-retry/dist-cjs/StandardRetryStrategy.js"(exports) {
14885
15112
  "use strict";
14886
15113
  Object.defineProperty(exports, "__esModule", { value: true });
14887
15114
  exports.StandardRetryStrategy = void 0;
14888
15115
  var protocol_http_1 = require_dist_cjs8();
14889
15116
  var service_error_classification_1 = require_dist_cjs15();
15117
+ var util_retry_1 = require_dist_cjs16();
14890
15118
  var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports));
14891
- var config_1 = require_config2();
14892
- var constants_1 = require_constants3();
14893
15119
  var defaultRetryQuota_1 = require_defaultRetryQuota();
14894
15120
  var delayDecider_1 = require_delayDecider();
14895
15121
  var retryDecider_1 = require_retryDecider();
15122
+ var util_1 = require_util();
14896
15123
  var StandardRetryStrategy = class {
14897
15124
  constructor(maxAttemptsProvider, options) {
14898
15125
  var _a, _b, _c;
14899
15126
  this.maxAttemptsProvider = maxAttemptsProvider;
14900
- this.mode = config_1.RETRY_MODES.STANDARD;
15127
+ this.mode = util_retry_1.RETRY_MODES.STANDARD;
14901
15128
  this.retryDecider = (_a = options === null || options === void 0 ? void 0 : options.retryDecider) !== null && _a !== void 0 ? _a : retryDecider_1.defaultRetryDecider;
14902
15129
  this.delayDecider = (_b = options === null || options === void 0 ? void 0 : options.delayDecider) !== null && _b !== void 0 ? _b : delayDecider_1.defaultDelayDecider;
14903
- this.retryQuota = (_c = options === null || options === void 0 ? void 0 : options.retryQuota) !== null && _c !== void 0 ? _c : (0, defaultRetryQuota_1.getDefaultRetryQuota)(constants_1.INITIAL_RETRY_TOKENS);
15130
+ this.retryQuota = (_c = options === null || options === void 0 ? void 0 : options.retryQuota) !== null && _c !== void 0 ? _c : (0, defaultRetryQuota_1.getDefaultRetryQuota)(util_retry_1.INITIAL_RETRY_TOKENS);
14904
15131
  }
14905
15132
  shouldRetry(error, attempts, maxAttempts) {
14906
15133
  return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error);
@@ -14910,7 +15137,7 @@ var require_StandardRetryStrategy = __commonJS({
14910
15137
  try {
14911
15138
  maxAttempts = await this.maxAttemptsProvider();
14912
15139
  } catch (error) {
14913
- maxAttempts = config_1.DEFAULT_MAX_ATTEMPTS;
15140
+ maxAttempts = util_retry_1.DEFAULT_MAX_ATTEMPTS;
14914
15141
  }
14915
15142
  return maxAttempts;
14916
15143
  }
@@ -14921,12 +15148,12 @@ var require_StandardRetryStrategy = __commonJS({
14921
15148
  const maxAttempts = await this.getMaxAttempts();
14922
15149
  const { request } = args;
14923
15150
  if (protocol_http_1.HttpRequest.isInstance(request)) {
14924
- request.headers[constants_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)();
15151
+ request.headers[util_retry_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)();
14925
15152
  }
14926
15153
  while (true) {
14927
15154
  try {
14928
15155
  if (protocol_http_1.HttpRequest.isInstance(request)) {
14929
- request.headers[constants_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
15156
+ request.headers[util_retry_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
14930
15157
  }
14931
15158
  if (options === null || options === void 0 ? void 0 : options.beforeRequest) {
14932
15159
  await options.beforeRequest();
@@ -14940,11 +15167,11 @@ var require_StandardRetryStrategy = __commonJS({
14940
15167
  output.$metadata.totalRetryDelay = totalDelay;
14941
15168
  return { response, output };
14942
15169
  } catch (e) {
14943
- const err = asSdkError(e);
15170
+ const err = (0, util_1.asSdkError)(e);
14944
15171
  attempts++;
14945
15172
  if (this.shouldRetry(err, attempts, maxAttempts)) {
14946
15173
  retryTokenAmount = this.retryQuota.retrieveRetryTokens(err);
14947
- const delayFromDecider = this.delayDecider((0, service_error_classification_1.isThrottlingError)(err) ? constants_1.THROTTLING_RETRY_DELAY_BASE : constants_1.DEFAULT_RETRY_DELAY_BASE, attempts);
15174
+ const delayFromDecider = this.delayDecider((0, service_error_classification_1.isThrottlingError)(err) ? util_retry_1.THROTTLING_RETRY_DELAY_BASE : util_retry_1.DEFAULT_RETRY_DELAY_BASE, attempts);
14948
15175
  const delayFromResponse = getDelayFromRetryAfterHeader(err.$response);
14949
15176
  const delay = Math.max(delayFromResponse || 0, delayFromDecider);
14950
15177
  totalDelay += delay;
@@ -14975,33 +15202,23 @@ var require_StandardRetryStrategy = __commonJS({
14975
15202
  const retryAfterDate = new Date(retryAfter);
14976
15203
  return retryAfterDate.getTime() - Date.now();
14977
15204
  };
14978
- var asSdkError = (error) => {
14979
- if (error instanceof Error)
14980
- return error;
14981
- if (error instanceof Object)
14982
- return Object.assign(new Error(), error);
14983
- if (typeof error === "string")
14984
- return new Error(error);
14985
- return new Error(`AWS SDK error wrapper for ${error}`);
14986
- };
14987
15205
  }
14988
15206
  });
14989
15207
 
14990
15208
  // node_modules/@aws-sdk/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js
14991
- var require_AdaptiveRetryStrategy = __commonJS({
15209
+ var require_AdaptiveRetryStrategy2 = __commonJS({
14992
15210
  "node_modules/@aws-sdk/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js"(exports) {
14993
15211
  "use strict";
14994
15212
  Object.defineProperty(exports, "__esModule", { value: true });
14995
15213
  exports.AdaptiveRetryStrategy = void 0;
14996
- var config_1 = require_config2();
14997
- var DefaultRateLimiter_1 = require_DefaultRateLimiter();
14998
- var StandardRetryStrategy_1 = require_StandardRetryStrategy();
15214
+ var util_retry_1 = require_dist_cjs16();
15215
+ var StandardRetryStrategy_1 = require_StandardRetryStrategy2();
14999
15216
  var AdaptiveRetryStrategy = class extends StandardRetryStrategy_1.StandardRetryStrategy {
15000
15217
  constructor(maxAttemptsProvider, options) {
15001
15218
  const { rateLimiter, ...superOptions } = options !== null && options !== void 0 ? options : {};
15002
15219
  super(maxAttemptsProvider, superOptions);
15003
- this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new DefaultRateLimiter_1.DefaultRateLimiter();
15004
- this.mode = config_1.RETRY_MODES.ADAPTIVE;
15220
+ this.rateLimiter = rateLimiter !== null && rateLimiter !== void 0 ? rateLimiter : new util_retry_1.DefaultRateLimiter();
15221
+ this.mode = util_retry_1.RETRY_MODES.ADAPTIVE;
15005
15222
  }
15006
15223
  async retry(next, args) {
15007
15224
  return super.retry(next, args, {
@@ -15025,9 +15242,7 @@ var require_configurations = __commonJS({
15025
15242
  Object.defineProperty(exports, "__esModule", { value: true });
15026
15243
  exports.NODE_RETRY_MODE_CONFIG_OPTIONS = exports.CONFIG_RETRY_MODE = exports.ENV_RETRY_MODE = exports.resolveRetryConfig = exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = exports.CONFIG_MAX_ATTEMPTS = exports.ENV_MAX_ATTEMPTS = void 0;
15027
15244
  var util_middleware_1 = require_dist_cjs4();
15028
- var AdaptiveRetryStrategy_1 = require_AdaptiveRetryStrategy();
15029
- var config_1 = require_config2();
15030
- var StandardRetryStrategy_1 = require_StandardRetryStrategy();
15245
+ var util_retry_1 = require_dist_cjs16();
15031
15246
  exports.ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
15032
15247
  exports.CONFIG_MAX_ATTEMPTS = "max_attempts";
15033
15248
  exports.NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
@@ -15051,23 +15266,24 @@ var require_configurations = __commonJS({
15051
15266
  }
15052
15267
  return maxAttempt;
15053
15268
  },
15054
- default: config_1.DEFAULT_MAX_ATTEMPTS
15269
+ default: util_retry_1.DEFAULT_MAX_ATTEMPTS
15055
15270
  };
15056
15271
  var resolveRetryConfig = (input) => {
15057
15272
  var _a;
15058
- const maxAttempts = (0, util_middleware_1.normalizeProvider)((_a = input.maxAttempts) !== null && _a !== void 0 ? _a : config_1.DEFAULT_MAX_ATTEMPTS);
15273
+ const { retryStrategy } = input;
15274
+ const maxAttempts = (0, util_middleware_1.normalizeProvider)((_a = input.maxAttempts) !== null && _a !== void 0 ? _a : util_retry_1.DEFAULT_MAX_ATTEMPTS);
15059
15275
  return {
15060
15276
  ...input,
15061
15277
  maxAttempts,
15062
15278
  retryStrategy: async () => {
15063
- if (input.retryStrategy) {
15064
- return input.retryStrategy;
15279
+ if (retryStrategy) {
15280
+ return retryStrategy;
15065
15281
  }
15066
15282
  const retryMode = await (0, util_middleware_1.normalizeProvider)(input.retryMode)();
15067
- if (retryMode === config_1.RETRY_MODES.ADAPTIVE) {
15068
- return new AdaptiveRetryStrategy_1.AdaptiveRetryStrategy(maxAttempts);
15283
+ if (retryMode === util_retry_1.RETRY_MODES.ADAPTIVE) {
15284
+ return new util_retry_1.AdaptiveRetryStrategy(maxAttempts);
15069
15285
  }
15070
- return new StandardRetryStrategy_1.StandardRetryStrategy(maxAttempts);
15286
+ return new util_retry_1.StandardRetryStrategy(maxAttempts);
15071
15287
  }
15072
15288
  };
15073
15289
  };
@@ -15077,7 +15293,7 @@ var require_configurations = __commonJS({
15077
15293
  exports.NODE_RETRY_MODE_CONFIG_OPTIONS = {
15078
15294
  environmentVariableSelector: (env) => env[exports.ENV_RETRY_MODE],
15079
15295
  configFileSelector: (profile) => profile[exports.CONFIG_RETRY_MODE],
15080
- default: config_1.DEFAULT_RETRY_MODE
15296
+ default: util_retry_1.DEFAULT_RETRY_MODE
15081
15297
  };
15082
15298
  }
15083
15299
  });
@@ -15089,12 +15305,12 @@ var require_omitRetryHeadersMiddleware = __commonJS({
15089
15305
  Object.defineProperty(exports, "__esModule", { value: true });
15090
15306
  exports.getOmitRetryHeadersPlugin = exports.omitRetryHeadersMiddlewareOptions = exports.omitRetryHeadersMiddleware = void 0;
15091
15307
  var protocol_http_1 = require_dist_cjs8();
15092
- var constants_1 = require_constants3();
15308
+ var util_retry_1 = require_dist_cjs16();
15093
15309
  var omitRetryHeadersMiddleware = () => (next) => async (args) => {
15094
15310
  const { request } = args;
15095
15311
  if (protocol_http_1.HttpRequest.isInstance(request)) {
15096
- delete request.headers[constants_1.INVOCATION_ID_HEADER];
15097
- delete request.headers[constants_1.REQUEST_HEADER];
15312
+ delete request.headers[util_retry_1.INVOCATION_ID_HEADER];
15313
+ delete request.headers[util_retry_1.REQUEST_HEADER];
15098
15314
  }
15099
15315
  return next(args);
15100
15316
  };
@@ -15120,14 +15336,82 @@ var require_retryMiddleware = __commonJS({
15120
15336
  "node_modules/@aws-sdk/middleware-retry/dist-cjs/retryMiddleware.js"(exports) {
15121
15337
  "use strict";
15122
15338
  Object.defineProperty(exports, "__esModule", { value: true });
15123
- exports.getRetryPlugin = exports.retryMiddlewareOptions = exports.retryMiddleware = void 0;
15339
+ exports.getRetryAfterHint = exports.getRetryPlugin = exports.retryMiddlewareOptions = exports.retryMiddleware = void 0;
15340
+ var protocol_http_1 = require_dist_cjs8();
15341
+ var service_error_classification_1 = require_dist_cjs15();
15342
+ var util_retry_1 = require_dist_cjs16();
15343
+ var uuid_1 = (init_esm_node(), __toCommonJS(esm_node_exports));
15344
+ var util_1 = require_util();
15124
15345
  var retryMiddleware = (options) => (next, context) => async (args) => {
15125
- const retryStrategy = await options.retryStrategy();
15126
- if (retryStrategy === null || retryStrategy === void 0 ? void 0 : retryStrategy.mode)
15127
- context.userAgent = [...context.userAgent || [], ["cfg/retry-mode", retryStrategy.mode]];
15128
- return retryStrategy.retry(next, args);
15346
+ let retryStrategy = await options.retryStrategy();
15347
+ const maxAttempts = await options.maxAttempts();
15348
+ if (isRetryStrategyV2(retryStrategy)) {
15349
+ retryStrategy = retryStrategy;
15350
+ let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]);
15351
+ let lastError = new Error();
15352
+ let attempts = 0;
15353
+ let totalRetryDelay = 0;
15354
+ const { request } = args;
15355
+ if (protocol_http_1.HttpRequest.isInstance(request)) {
15356
+ request.headers[util_retry_1.INVOCATION_ID_HEADER] = (0, uuid_1.v4)();
15357
+ }
15358
+ while (true) {
15359
+ try {
15360
+ if (protocol_http_1.HttpRequest.isInstance(request)) {
15361
+ request.headers[util_retry_1.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`;
15362
+ }
15363
+ const { response, output } = await next(args);
15364
+ retryStrategy.recordSuccess(retryToken);
15365
+ output.$metadata.attempts = attempts + 1;
15366
+ output.$metadata.totalRetryDelay = totalRetryDelay;
15367
+ return { response, output };
15368
+ } catch (e) {
15369
+ const retryErrorInfo = getRetyErrorInto(e);
15370
+ lastError = (0, util_1.asSdkError)(e);
15371
+ try {
15372
+ retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
15373
+ } catch (refreshError) {
15374
+ if (!lastError.$metadata) {
15375
+ lastError.$metadata = {};
15376
+ }
15377
+ lastError.$metadata.attempts = attempts + 1;
15378
+ lastError.$metadata.totalRetryDelay = totalRetryDelay;
15379
+ throw lastError;
15380
+ }
15381
+ attempts = retryToken.getRetryCount();
15382
+ const delay = retryToken.getRetryDelay();
15383
+ totalRetryDelay += delay;
15384
+ await new Promise((resolve) => setTimeout(resolve, delay));
15385
+ }
15386
+ }
15387
+ } else {
15388
+ retryStrategy = retryStrategy;
15389
+ if (retryStrategy === null || retryStrategy === void 0 ? void 0 : retryStrategy.mode)
15390
+ context.userAgent = [...context.userAgent || [], ["cfg/retry-mode", retryStrategy.mode]];
15391
+ return retryStrategy.retry(next, args);
15392
+ }
15129
15393
  };
15130
15394
  exports.retryMiddleware = retryMiddleware;
15395
+ var isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined";
15396
+ var getRetyErrorInto = (error) => {
15397
+ const errorInfo = {
15398
+ errorType: getRetryErrorType(error)
15399
+ };
15400
+ const retryAfterHint = (0, exports.getRetryAfterHint)(error.$response);
15401
+ if (retryAfterHint) {
15402
+ errorInfo.retryAfterHint = retryAfterHint;
15403
+ }
15404
+ return errorInfo;
15405
+ };
15406
+ var getRetryErrorType = (error) => {
15407
+ if ((0, service_error_classification_1.isThrottlingError)(error))
15408
+ return "THROTTLING";
15409
+ if ((0, service_error_classification_1.isTransientError)(error))
15410
+ return "TRANSIENT";
15411
+ if ((0, service_error_classification_1.isServerError)(error))
15412
+ return "SERVER_ERROR";
15413
+ return "CLIENT_ERROR";
15414
+ };
15131
15415
  exports.retryMiddlewareOptions = {
15132
15416
  name: "retryMiddleware",
15133
15417
  tags: ["RETRY"],
@@ -15141,33 +15425,36 @@ var require_retryMiddleware = __commonJS({
15141
15425
  }
15142
15426
  });
15143
15427
  exports.getRetryPlugin = getRetryPlugin;
15144
- }
15145
- });
15146
-
15147
- // node_modules/@aws-sdk/middleware-retry/dist-cjs/types.js
15148
- var require_types2 = __commonJS({
15149
- "node_modules/@aws-sdk/middleware-retry/dist-cjs/types.js"(exports) {
15150
- "use strict";
15151
- Object.defineProperty(exports, "__esModule", { value: true });
15428
+ var getRetryAfterHint = (response) => {
15429
+ if (!protocol_http_1.HttpResponse.isInstance(response))
15430
+ return;
15431
+ const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after");
15432
+ if (!retryAfterHeaderName)
15433
+ return;
15434
+ const retryAfter = response.headers[retryAfterHeaderName];
15435
+ const retryAfterSeconds = Number(retryAfter);
15436
+ if (!Number.isNaN(retryAfterSeconds))
15437
+ return new Date(retryAfterSeconds * 1e3);
15438
+ const retryAfterDate = new Date(retryAfter);
15439
+ return retryAfterDate;
15440
+ };
15441
+ exports.getRetryAfterHint = getRetryAfterHint;
15152
15442
  }
15153
15443
  });
15154
15444
 
15155
15445
  // node_modules/@aws-sdk/middleware-retry/dist-cjs/index.js
15156
- var require_dist_cjs16 = __commonJS({
15446
+ var require_dist_cjs17 = __commonJS({
15157
15447
  "node_modules/@aws-sdk/middleware-retry/dist-cjs/index.js"(exports) {
15158
15448
  "use strict";
15159
15449
  Object.defineProperty(exports, "__esModule", { value: true });
15160
15450
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
15161
- tslib_1.__exportStar(require_AdaptiveRetryStrategy(), exports);
15162
- tslib_1.__exportStar(require_DefaultRateLimiter(), exports);
15163
- tslib_1.__exportStar(require_StandardRetryStrategy(), exports);
15164
- tslib_1.__exportStar(require_config2(), exports);
15451
+ tslib_1.__exportStar(require_AdaptiveRetryStrategy2(), exports);
15452
+ tslib_1.__exportStar(require_StandardRetryStrategy2(), exports);
15165
15453
  tslib_1.__exportStar(require_configurations(), exports);
15166
15454
  tslib_1.__exportStar(require_delayDecider(), exports);
15167
15455
  tslib_1.__exportStar(require_omitRetryHeadersMiddleware(), exports);
15168
15456
  tslib_1.__exportStar(require_retryDecider(), exports);
15169
15457
  tslib_1.__exportStar(require_retryMiddleware(), exports);
15170
- tslib_1.__exportStar(require_types2(), exports);
15171
15458
  }
15172
15459
  });
15173
15460
 
@@ -15321,7 +15608,7 @@ var require_memoize = __commonJS({
15321
15608
  });
15322
15609
 
15323
15610
  // node_modules/@aws-sdk/property-provider/dist-cjs/index.js
15324
- var require_dist_cjs17 = __commonJS({
15611
+ var require_dist_cjs18 = __commonJS({
15325
15612
  "node_modules/@aws-sdk/property-provider/dist-cjs/index.js"(exports) {
15326
15613
  "use strict";
15327
15614
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -15336,7 +15623,7 @@ var require_dist_cjs17 = __commonJS({
15336
15623
  });
15337
15624
 
15338
15625
  // node_modules/@aws-sdk/util-hex-encoding/dist-cjs/index.js
15339
- var require_dist_cjs18 = __commonJS({
15626
+ var require_dist_cjs19 = __commonJS({
15340
15627
  "node_modules/@aws-sdk/util-hex-encoding/dist-cjs/index.js"(exports) {
15341
15628
  "use strict";
15342
15629
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -15436,7 +15723,7 @@ var require_credentialDerivation = __commonJS({
15436
15723
  "use strict";
15437
15724
  Object.defineProperty(exports, "__esModule", { value: true });
15438
15725
  exports.clearCredentialCache = exports.getSigningKey = exports.createScope = void 0;
15439
- var util_hex_encoding_1 = require_dist_cjs18();
15726
+ var util_hex_encoding_1 = require_dist_cjs19();
15440
15727
  var constants_1 = require_constants4();
15441
15728
  var signingKeyCache = {};
15442
15729
  var cacheQueue = [];
@@ -15526,7 +15813,7 @@ var require_escape_uri_path = __commonJS({
15526
15813
  });
15527
15814
 
15528
15815
  // node_modules/@aws-sdk/util-uri-escape/dist-cjs/index.js
15529
- var require_dist_cjs19 = __commonJS({
15816
+ var require_dist_cjs20 = __commonJS({
15530
15817
  "node_modules/@aws-sdk/util-uri-escape/dist-cjs/index.js"(exports) {
15531
15818
  "use strict";
15532
15819
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -15542,7 +15829,7 @@ var require_getCanonicalQuery = __commonJS({
15542
15829
  "use strict";
15543
15830
  Object.defineProperty(exports, "__esModule", { value: true });
15544
15831
  exports.getCanonicalQuery = void 0;
15545
- var util_uri_escape_1 = require_dist_cjs19();
15832
+ var util_uri_escape_1 = require_dist_cjs20();
15546
15833
  var constants_1 = require_constants4();
15547
15834
  var getCanonicalQuery = ({ query = {} }) => {
15548
15835
  const keys = [];
@@ -15566,7 +15853,7 @@ var require_getCanonicalQuery = __commonJS({
15566
15853
  });
15567
15854
 
15568
15855
  // node_modules/@aws-sdk/is-array-buffer/dist-cjs/index.js
15569
- var require_dist_cjs20 = __commonJS({
15856
+ var require_dist_cjs21 = __commonJS({
15570
15857
  "node_modules/@aws-sdk/is-array-buffer/dist-cjs/index.js"(exports) {
15571
15858
  "use strict";
15572
15859
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -15582,8 +15869,8 @@ var require_getPayloadHash = __commonJS({
15582
15869
  "use strict";
15583
15870
  Object.defineProperty(exports, "__esModule", { value: true });
15584
15871
  exports.getPayloadHash = void 0;
15585
- var is_array_buffer_1 = require_dist_cjs20();
15586
- var util_hex_encoding_1 = require_dist_cjs18();
15872
+ var is_array_buffer_1 = require_dist_cjs21();
15873
+ var util_hex_encoding_1 = require_dist_cjs19();
15587
15874
  var constants_1 = require_constants4();
15588
15875
  var getPayloadHash = async ({ headers, body }, hashConstructor) => {
15589
15876
  for (const headerName of Object.keys(headers)) {
@@ -15743,7 +16030,7 @@ var require_SignatureV4 = __commonJS({
15743
16030
  "use strict";
15744
16031
  Object.defineProperty(exports, "__esModule", { value: true });
15745
16032
  exports.SignatureV4 = void 0;
15746
- var util_hex_encoding_1 = require_dist_cjs18();
16033
+ var util_hex_encoding_1 = require_dist_cjs19();
15747
16034
  var util_middleware_1 = require_dist_cjs4();
15748
16035
  var constants_1 = require_constants4();
15749
16036
  var credentialDerivation_1 = require_credentialDerivation();
@@ -15909,7 +16196,7 @@ ${(0, util_hex_encoding_1.toHex)(hashedRequest)}`;
15909
16196
  });
15910
16197
 
15911
16198
  // node_modules/@aws-sdk/signature-v4/dist-cjs/index.js
15912
- var require_dist_cjs21 = __commonJS({
16199
+ var require_dist_cjs22 = __commonJS({
15913
16200
  "node_modules/@aws-sdk/signature-v4/dist-cjs/index.js"(exports) {
15914
16201
  "use strict";
15915
16202
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -15946,8 +16233,8 @@ var require_configurations2 = __commonJS({
15946
16233
  "use strict";
15947
16234
  Object.defineProperty(exports, "__esModule", { value: true });
15948
16235
  exports.resolveSigV4AuthConfig = exports.resolveAwsAuthConfig = void 0;
15949
- var property_provider_1 = require_dist_cjs17();
15950
- var signature_v4_1 = require_dist_cjs21();
16236
+ var property_provider_1 = require_dist_cjs18();
16237
+ var signature_v4_1 = require_dist_cjs22();
15951
16238
  var util_middleware_1 = require_dist_cjs4();
15952
16239
  var CREDENTIAL_EXPIRE_WINDOW = 3e5;
15953
16240
  var resolveAwsAuthConfig = (input) => {
@@ -16145,7 +16432,7 @@ var require_middleware = __commonJS({
16145
16432
  });
16146
16433
 
16147
16434
  // node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js
16148
- var require_dist_cjs22 = __commonJS({
16435
+ var require_dist_cjs23 = __commonJS({
16149
16436
  "node_modules/@aws-sdk/middleware-signing/dist-cjs/index.js"(exports) {
16150
16437
  "use strict";
16151
16438
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -16246,7 +16533,7 @@ var require_user_agent_middleware = __commonJS({
16246
16533
  });
16247
16534
 
16248
16535
  // node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js
16249
- var require_dist_cjs23 = __commonJS({
16536
+ var require_dist_cjs24 = __commonJS({
16250
16537
  "node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js"(exports) {
16251
16538
  "use strict";
16252
16539
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -16280,7 +16567,7 @@ var require_package = __commonJS({
16280
16567
  module2.exports = {
16281
16568
  name: "@aws-sdk/client-lambda",
16282
16569
  description: "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
16283
- version: "3.226.0",
16570
+ version: "3.245.0",
16284
16571
  scripts: {
16285
16572
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
16286
16573
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -16289,7 +16576,8 @@ var require_package = __commonJS({
16289
16576
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
16290
16577
  "build:types": "tsc -p tsconfig.types.json",
16291
16578
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
16292
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
16579
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
16580
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/lambda.json --keepFiles)"
16293
16581
  },
16294
16582
  main: "./dist-cjs/index.js",
16295
16583
  types: "./dist-types/index.d.ts",
@@ -16298,9 +16586,9 @@ var require_package = __commonJS({
16298
16586
  dependencies: {
16299
16587
  "@aws-crypto/sha256-browser": "2.0.0",
16300
16588
  "@aws-crypto/sha256-js": "2.0.0",
16301
- "@aws-sdk/client-sts": "3.226.0",
16302
- "@aws-sdk/config-resolver": "3.226.0",
16303
- "@aws-sdk/credential-provider-node": "3.226.0",
16589
+ "@aws-sdk/client-sts": "3.245.0",
16590
+ "@aws-sdk/config-resolver": "3.234.0",
16591
+ "@aws-sdk/credential-provider-node": "3.245.0",
16304
16592
  "@aws-sdk/fetch-http-handler": "3.226.0",
16305
16593
  "@aws-sdk/hash-node": "3.226.0",
16306
16594
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -16309,7 +16597,7 @@ var require_package = __commonJS({
16309
16597
  "@aws-sdk/middleware-host-header": "3.226.0",
16310
16598
  "@aws-sdk/middleware-logger": "3.226.0",
16311
16599
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
16312
- "@aws-sdk/middleware-retry": "3.226.0",
16600
+ "@aws-sdk/middleware-retry": "3.235.0",
16313
16601
  "@aws-sdk/middleware-serde": "3.226.0",
16314
16602
  "@aws-sdk/middleware-signing": "3.226.0",
16315
16603
  "@aws-sdk/middleware-stack": "3.226.0",
@@ -16317,15 +16605,16 @@ var require_package = __commonJS({
16317
16605
  "@aws-sdk/node-config-provider": "3.226.0",
16318
16606
  "@aws-sdk/node-http-handler": "3.226.0",
16319
16607
  "@aws-sdk/protocol-http": "3.226.0",
16320
- "@aws-sdk/smithy-client": "3.226.0",
16608
+ "@aws-sdk/smithy-client": "3.234.0",
16321
16609
  "@aws-sdk/types": "3.226.0",
16322
16610
  "@aws-sdk/url-parser": "3.226.0",
16323
16611
  "@aws-sdk/util-base64": "3.208.0",
16324
16612
  "@aws-sdk/util-body-length-browser": "3.188.0",
16325
16613
  "@aws-sdk/util-body-length-node": "3.208.0",
16326
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
16327
- "@aws-sdk/util-defaults-mode-node": "3.226.0",
16328
- "@aws-sdk/util-endpoints": "3.226.0",
16614
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
16615
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
16616
+ "@aws-sdk/util-endpoints": "3.245.0",
16617
+ "@aws-sdk/util-retry": "3.229.0",
16329
16618
  "@aws-sdk/util-user-agent-browser": "3.226.0",
16330
16619
  "@aws-sdk/util-user-agent-node": "3.226.0",
16331
16620
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -16598,7 +16887,7 @@ var require_models_02 = __commonJS({
16598
16887
  });
16599
16888
 
16600
16889
  // node_modules/fast-xml-parser/src/util.js
16601
- var require_util = __commonJS({
16890
+ var require_util2 = __commonJS({
16602
16891
  "node_modules/fast-xml-parser/src/util.js"(exports) {
16603
16892
  "use strict";
16604
16893
  var nameStartChar = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";
@@ -16660,9 +16949,10 @@ var require_util = __commonJS({
16660
16949
  var require_validator = __commonJS({
16661
16950
  "node_modules/fast-xml-parser/src/validator.js"(exports) {
16662
16951
  "use strict";
16663
- var util = require_util();
16952
+ var util = require_util2();
16664
16953
  var defaultOptions = {
16665
16954
  allowBooleanAttributes: false,
16955
+ //A tag can have attributes without any value
16666
16956
  unpairedTags: []
16667
16957
  };
16668
16958
  exports.validate = function(xmlData, options) {
@@ -16957,6 +17247,7 @@ var require_validator = __commonJS({
16957
17247
  const lines = xmlData.substring(0, index).split(/\r?\n/);
16958
17248
  return {
16959
17249
  line: lines.length,
17250
+ // column number is last line's length + 1, because column numbering starts at 1:
16960
17251
  col: lines[lines.length - 1].length + 1
16961
17252
  };
16962
17253
  }
@@ -16976,10 +17267,14 @@ var require_OptionsBuilder = __commonJS({
16976
17267
  textNodeName: "#text",
16977
17268
  ignoreAttributes: true,
16978
17269
  removeNSPrefix: false,
17270
+ // remove NS from tag name or attribute name if true
16979
17271
  allowBooleanAttributes: false,
17272
+ //a tag can have attributes without any value
17273
+ //ignoreRootElement : false,
16980
17274
  parseTagValue: true,
16981
17275
  parseAttributeValue: false,
16982
17276
  trimValues: true,
17277
+ //Trim string values of tag and attributes
16983
17278
  cdataPropName: false,
16984
17279
  numberParseOptions: {
16985
17280
  hex: true,
@@ -16992,6 +17287,7 @@ var require_OptionsBuilder = __commonJS({
16992
17287
  return val;
16993
17288
  },
16994
17289
  stopNodes: [],
17290
+ //nested tags will not be parsed even for errors
16995
17291
  alwaysCreateTextNode: false,
16996
17292
  isArray: () => false,
16997
17293
  commentPropName: false,
@@ -17056,7 +17352,8 @@ var require_DocTypeReader = __commonJS({
17056
17352
  i += 8;
17057
17353
  } else if (hasBody && xmlData[i + 1] === "!" && xmlData[i + 2] === "N" && xmlData[i + 3] === "O" && xmlData[i + 4] === "T" && xmlData[i + 5] === "A" && xmlData[i + 6] === "T" && xmlData[i + 7] === "I" && xmlData[i + 8] === "O" && xmlData[i + 9] === "N") {
17058
17354
  i += 9;
17059
- } else if (xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") {
17355
+ } else if (//comment
17356
+ xmlData[i + 1] === "!" && xmlData[i + 2] === "-" && xmlData[i + 3] === "-") {
17060
17357
  comment = true;
17061
17358
  } else {
17062
17359
  throw new Error("Invalid DOCTYPE");
@@ -17122,6 +17419,7 @@ var require_strnum = __commonJS({
17122
17419
  leadingZeros: true,
17123
17420
  decimalPoint: ".",
17124
17421
  eNotation: true
17422
+ //skipLike: /regex/
17125
17423
  };
17126
17424
  function toNumber(str, options = {}) {
17127
17425
  options = Object.assign({}, consider, options);
@@ -17206,7 +17504,7 @@ var require_strnum = __commonJS({
17206
17504
  var require_OrderedObjParser = __commonJS({
17207
17505
  "node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"(exports, module2) {
17208
17506
  "use strict";
17209
- var util = require_util();
17507
+ var util = require_util2();
17210
17508
  var xmlNode = require_xmlNode();
17211
17509
  var readDocType = require_DocTypeReader();
17212
17510
  var toNumber = require_strnum();
@@ -17226,6 +17524,11 @@ var require_OrderedObjParser = __commonJS({
17226
17524
  this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" };
17227
17525
  this.htmlEntities = {
17228
17526
  "space": { regex: /&(nbsp|#160);/g, val: " " },
17527
+ // "lt" : { regex: /&(lt|#60);/g, val: "<" },
17528
+ // "gt" : { regex: /&(gt|#62);/g, val: ">" },
17529
+ // "amp" : { regex: /&(amp|#38);/g, val: "&" },
17530
+ // "quot" : { regex: /&(quot|#34);/g, val: "\"" },
17531
+ // "apos" : { regex: /&(apos|#39);/g, val: "'" },
17229
17532
  "cent": { regex: /&(cent|#162);/g, val: "\xA2" },
17230
17533
  "pound": { regex: /&(pound|#163);/g, val: "\xA3" },
17231
17534
  "yen": { regex: /&(yen|#165);/g, val: "\xA5" },
@@ -17762,6 +18065,11 @@ var require_XMLParser = __commonJS({
17762
18065
  this.externalEntities = {};
17763
18066
  this.options = buildOptions(options);
17764
18067
  }
18068
+ /**
18069
+ * Parse XML dats to JS object
18070
+ * @param {string|Buffer} xmlData
18071
+ * @param {boolean|Object} validationOption
18072
+ */
17765
18073
  parse(xmlData, validationOption) {
17766
18074
  if (typeof xmlData === "string") {
17767
18075
  } else if (xmlData.toString) {
@@ -17785,6 +18093,11 @@ var require_XMLParser = __commonJS({
17785
18093
  else
17786
18094
  return prettify(orderedResult, this.options);
17787
18095
  }
18096
+ /**
18097
+ * Add Entity which is not by default supported by this library
18098
+ * @param {string} key
18099
+ * @param {string} value
18100
+ */
17788
18101
  addEntity(key, value) {
17789
18102
  if (value.indexOf("&") !== -1) {
17790
18103
  throw new Error("Entity value can't have '&'");
@@ -17932,6 +18245,7 @@ var require_json2xml = __commonJS({
17932
18245
  unpairedTags: [],
17933
18246
  entities: [
17934
18247
  { regex: new RegExp("&", "g"), val: "&amp;" },
18248
+ //it must be on top
17935
18249
  { regex: new RegExp(">", "g"), val: "&gt;" },
17936
18250
  { regex: new RegExp("<", "g"), val: "&lt;" },
17937
18251
  { regex: new RegExp("'", "g"), val: "&apos;" },
@@ -19254,7 +19568,7 @@ var require_AssumeRoleCommand = __commonJS({
19254
19568
  exports.AssumeRoleCommand = void 0;
19255
19569
  var middleware_endpoint_1 = require_dist_cjs5();
19256
19570
  var middleware_serde_1 = require_dist_cjs3();
19257
- var middleware_signing_1 = require_dist_cjs22();
19571
+ var middleware_signing_1 = require_dist_cjs23();
19258
19572
  var smithy_client_1 = require_dist_cjs7();
19259
19573
  var models_0_1 = require_models_02();
19260
19574
  var Aws_query_1 = require_Aws_query();
@@ -19415,7 +19729,7 @@ var require_DecodeAuthorizationMessageCommand = __commonJS({
19415
19729
  exports.DecodeAuthorizationMessageCommand = void 0;
19416
19730
  var middleware_endpoint_1 = require_dist_cjs5();
19417
19731
  var middleware_serde_1 = require_dist_cjs3();
19418
- var middleware_signing_1 = require_dist_cjs22();
19732
+ var middleware_signing_1 = require_dist_cjs23();
19419
19733
  var smithy_client_1 = require_dist_cjs7();
19420
19734
  var models_0_1 = require_models_02();
19421
19735
  var Aws_query_1 = require_Aws_query();
@@ -19470,7 +19784,7 @@ var require_GetAccessKeyInfoCommand = __commonJS({
19470
19784
  exports.GetAccessKeyInfoCommand = void 0;
19471
19785
  var middleware_endpoint_1 = require_dist_cjs5();
19472
19786
  var middleware_serde_1 = require_dist_cjs3();
19473
- var middleware_signing_1 = require_dist_cjs22();
19787
+ var middleware_signing_1 = require_dist_cjs23();
19474
19788
  var smithy_client_1 = require_dist_cjs7();
19475
19789
  var models_0_1 = require_models_02();
19476
19790
  var Aws_query_1 = require_Aws_query();
@@ -19525,7 +19839,7 @@ var require_GetCallerIdentityCommand = __commonJS({
19525
19839
  exports.GetCallerIdentityCommand = void 0;
19526
19840
  var middleware_endpoint_1 = require_dist_cjs5();
19527
19841
  var middleware_serde_1 = require_dist_cjs3();
19528
- var middleware_signing_1 = require_dist_cjs22();
19842
+ var middleware_signing_1 = require_dist_cjs23();
19529
19843
  var smithy_client_1 = require_dist_cjs7();
19530
19844
  var models_0_1 = require_models_02();
19531
19845
  var Aws_query_1 = require_Aws_query();
@@ -19580,7 +19894,7 @@ var require_GetFederationTokenCommand = __commonJS({
19580
19894
  exports.GetFederationTokenCommand = void 0;
19581
19895
  var middleware_endpoint_1 = require_dist_cjs5();
19582
19896
  var middleware_serde_1 = require_dist_cjs3();
19583
- var middleware_signing_1 = require_dist_cjs22();
19897
+ var middleware_signing_1 = require_dist_cjs23();
19584
19898
  var smithy_client_1 = require_dist_cjs7();
19585
19899
  var models_0_1 = require_models_02();
19586
19900
  var Aws_query_1 = require_Aws_query();
@@ -19635,7 +19949,7 @@ var require_GetSessionTokenCommand = __commonJS({
19635
19949
  exports.GetSessionTokenCommand = void 0;
19636
19950
  var middleware_endpoint_1 = require_dist_cjs5();
19637
19951
  var middleware_serde_1 = require_dist_cjs3();
19638
- var middleware_signing_1 = require_dist_cjs22();
19952
+ var middleware_signing_1 = require_dist_cjs23();
19639
19953
  var smithy_client_1 = require_dist_cjs7();
19640
19954
  var models_0_1 = require_models_02();
19641
19955
  var Aws_query_1 = require_Aws_query();
@@ -19683,12 +19997,12 @@ var require_GetSessionTokenCommand = __commonJS({
19683
19997
  });
19684
19998
 
19685
19999
  // node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js
19686
- var require_dist_cjs24 = __commonJS({
20000
+ var require_dist_cjs25 = __commonJS({
19687
20001
  "node_modules/@aws-sdk/middleware-sdk-sts/dist-cjs/index.js"(exports) {
19688
20002
  "use strict";
19689
20003
  Object.defineProperty(exports, "__esModule", { value: true });
19690
20004
  exports.resolveStsAuthConfig = void 0;
19691
- var middleware_signing_1 = require_dist_cjs22();
20005
+ var middleware_signing_1 = require_dist_cjs23();
19692
20006
  var resolveStsAuthConfig = (input, { stsClientCtor }) => (0, middleware_signing_1.resolveAwsAuthConfig)({
19693
20007
  ...input,
19694
20008
  stsClientCtor
@@ -19722,7 +20036,7 @@ var require_package2 = __commonJS({
19722
20036
  module2.exports = {
19723
20037
  name: "@aws-sdk/client-sts",
19724
20038
  description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
19725
- version: "3.226.0",
20039
+ version: "3.245.0",
19726
20040
  scripts: {
19727
20041
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
19728
20042
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19733,7 +20047,8 @@ var require_package2 = __commonJS({
19733
20047
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
19734
20048
  clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
19735
20049
  test: "yarn test:unit",
19736
- "test:unit": "jest"
20050
+ "test:unit": "jest",
20051
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sts.json --keepFiles)"
19737
20052
  },
19738
20053
  main: "./dist-cjs/index.js",
19739
20054
  types: "./dist-types/index.d.ts",
@@ -19742,8 +20057,8 @@ var require_package2 = __commonJS({
19742
20057
  dependencies: {
19743
20058
  "@aws-crypto/sha256-browser": "2.0.0",
19744
20059
  "@aws-crypto/sha256-js": "2.0.0",
19745
- "@aws-sdk/config-resolver": "3.226.0",
19746
- "@aws-sdk/credential-provider-node": "3.226.0",
20060
+ "@aws-sdk/config-resolver": "3.234.0",
20061
+ "@aws-sdk/credential-provider-node": "3.245.0",
19747
20062
  "@aws-sdk/fetch-http-handler": "3.226.0",
19748
20063
  "@aws-sdk/hash-node": "3.226.0",
19749
20064
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -19752,7 +20067,7 @@ var require_package2 = __commonJS({
19752
20067
  "@aws-sdk/middleware-host-header": "3.226.0",
19753
20068
  "@aws-sdk/middleware-logger": "3.226.0",
19754
20069
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
19755
- "@aws-sdk/middleware-retry": "3.226.0",
20070
+ "@aws-sdk/middleware-retry": "3.235.0",
19756
20071
  "@aws-sdk/middleware-sdk-sts": "3.226.0",
19757
20072
  "@aws-sdk/middleware-serde": "3.226.0",
19758
20073
  "@aws-sdk/middleware-signing": "3.226.0",
@@ -19761,15 +20076,16 @@ var require_package2 = __commonJS({
19761
20076
  "@aws-sdk/node-config-provider": "3.226.0",
19762
20077
  "@aws-sdk/node-http-handler": "3.226.0",
19763
20078
  "@aws-sdk/protocol-http": "3.226.0",
19764
- "@aws-sdk/smithy-client": "3.226.0",
20079
+ "@aws-sdk/smithy-client": "3.234.0",
19765
20080
  "@aws-sdk/types": "3.226.0",
19766
20081
  "@aws-sdk/url-parser": "3.226.0",
19767
20082
  "@aws-sdk/util-base64": "3.208.0",
19768
20083
  "@aws-sdk/util-body-length-browser": "3.188.0",
19769
20084
  "@aws-sdk/util-body-length-node": "3.208.0",
19770
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
19771
- "@aws-sdk/util-defaults-mode-node": "3.226.0",
19772
- "@aws-sdk/util-endpoints": "3.226.0",
20085
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
20086
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
20087
+ "@aws-sdk/util-endpoints": "3.245.0",
20088
+ "@aws-sdk/util-retry": "3.229.0",
19773
20089
  "@aws-sdk/util-user-agent-browser": "3.226.0",
19774
20090
  "@aws-sdk/util-user-agent-node": "3.226.0",
19775
20091
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -19913,7 +20229,7 @@ var require_fromEnv = __commonJS({
19913
20229
  "use strict";
19914
20230
  Object.defineProperty(exports, "__esModule", { value: true });
19915
20231
  exports.fromEnv = exports.ENV_EXPIRATION = exports.ENV_SESSION = exports.ENV_SECRET = exports.ENV_KEY = void 0;
19916
- var property_provider_1 = require_dist_cjs17();
20232
+ var property_provider_1 = require_dist_cjs18();
19917
20233
  exports.ENV_KEY = "AWS_ACCESS_KEY_ID";
19918
20234
  exports.ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
19919
20235
  exports.ENV_SESSION = "AWS_SESSION_TOKEN";
@@ -19938,7 +20254,7 @@ var require_fromEnv = __commonJS({
19938
20254
  });
19939
20255
 
19940
20256
  // node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
19941
- var require_dist_cjs25 = __commonJS({
20257
+ var require_dist_cjs26 = __commonJS({
19942
20258
  "node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js"(exports) {
19943
20259
  "use strict";
19944
20260
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20203,7 +20519,7 @@ var require_types3 = __commonJS({
20203
20519
  });
20204
20520
 
20205
20521
  // node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/index.js
20206
- var require_dist_cjs26 = __commonJS({
20522
+ var require_dist_cjs27 = __commonJS({
20207
20523
  "node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/index.js"(exports) {
20208
20524
  "use strict";
20209
20525
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20225,7 +20541,7 @@ var require_httpRequest2 = __commonJS({
20225
20541
  "use strict";
20226
20542
  Object.defineProperty(exports, "__esModule", { value: true });
20227
20543
  exports.httpRequest = void 0;
20228
- var property_provider_1 = require_dist_cjs17();
20544
+ var property_provider_1 = require_dist_cjs18();
20229
20545
  var buffer_1 = require("buffer");
20230
20546
  var http_1 = require("http");
20231
20547
  function httpRequest(options) {
@@ -20320,7 +20636,7 @@ var require_fromContainerMetadata = __commonJS({
20320
20636
  "use strict";
20321
20637
  Object.defineProperty(exports, "__esModule", { value: true });
20322
20638
  exports.fromContainerMetadata = exports.ENV_CMDS_AUTH_TOKEN = exports.ENV_CMDS_RELATIVE_URI = exports.ENV_CMDS_FULL_URI = void 0;
20323
- var property_provider_1 = require_dist_cjs17();
20639
+ var property_provider_1 = require_dist_cjs18();
20324
20640
  var url_1 = require("url");
20325
20641
  var httpRequest_1 = require_httpRequest2();
20326
20642
  var ImdsCredentials_1 = require_ImdsCredentials();
@@ -20394,7 +20710,7 @@ var require_fromEnv2 = __commonJS({
20394
20710
  "use strict";
20395
20711
  Object.defineProperty(exports, "__esModule", { value: true });
20396
20712
  exports.fromEnv = void 0;
20397
- var property_provider_1 = require_dist_cjs17();
20713
+ var property_provider_1 = require_dist_cjs18();
20398
20714
  var fromEnv = (envVarSelector) => async () => {
20399
20715
  try {
20400
20716
  const config = envVarSelector(process.env);
@@ -20416,8 +20732,8 @@ var require_fromSharedConfigFiles = __commonJS({
20416
20732
  "use strict";
20417
20733
  Object.defineProperty(exports, "__esModule", { value: true });
20418
20734
  exports.fromSharedConfigFiles = void 0;
20419
- var property_provider_1 = require_dist_cjs17();
20420
- var shared_ini_file_loader_1 = require_dist_cjs26();
20735
+ var property_provider_1 = require_dist_cjs18();
20736
+ var shared_ini_file_loader_1 = require_dist_cjs27();
20421
20737
  var fromSharedConfigFiles = (configSelector, { preferredFile = "config", ...init } = {}) => async () => {
20422
20738
  const profile = (0, shared_ini_file_loader_1.getProfileName)(init);
20423
20739
  const { configFile, credentialsFile } = await (0, shared_ini_file_loader_1.loadSharedConfigFiles)(init);
@@ -20444,7 +20760,7 @@ var require_fromStatic2 = __commonJS({
20444
20760
  "use strict";
20445
20761
  Object.defineProperty(exports, "__esModule", { value: true });
20446
20762
  exports.fromStatic = void 0;
20447
- var property_provider_1 = require_dist_cjs17();
20763
+ var property_provider_1 = require_dist_cjs18();
20448
20764
  var isFunction = (func) => typeof func === "function";
20449
20765
  var fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, property_provider_1.fromStatic)(defaultValue);
20450
20766
  exports.fromStatic = fromStatic;
@@ -20457,7 +20773,7 @@ var require_configLoader = __commonJS({
20457
20773
  "use strict";
20458
20774
  Object.defineProperty(exports, "__esModule", { value: true });
20459
20775
  exports.loadConfig = void 0;
20460
- var property_provider_1 = require_dist_cjs17();
20776
+ var property_provider_1 = require_dist_cjs18();
20461
20777
  var fromEnv_1 = require_fromEnv2();
20462
20778
  var fromSharedConfigFiles_1 = require_fromSharedConfigFiles();
20463
20779
  var fromStatic_1 = require_fromStatic2();
@@ -20467,7 +20783,7 @@ var require_configLoader = __commonJS({
20467
20783
  });
20468
20784
 
20469
20785
  // node_modules/@aws-sdk/node-config-provider/dist-cjs/index.js
20470
- var require_dist_cjs27 = __commonJS({
20786
+ var require_dist_cjs28 = __commonJS({
20471
20787
  "node_modules/@aws-sdk/node-config-provider/dist-cjs/index.js"(exports) {
20472
20788
  "use strict";
20473
20789
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20543,7 +20859,7 @@ var require_getInstanceMetadataEndpoint = __commonJS({
20543
20859
  "use strict";
20544
20860
  Object.defineProperty(exports, "__esModule", { value: true });
20545
20861
  exports.getInstanceMetadataEndpoint = void 0;
20546
- var node_config_provider_1 = require_dist_cjs27();
20862
+ var node_config_provider_1 = require_dist_cjs28();
20547
20863
  var url_parser_1 = require_dist_cjs2();
20548
20864
  var Endpoint_1 = require_Endpoint();
20549
20865
  var EndpointConfigOptions_1 = require_EndpointConfigOptions();
@@ -20630,7 +20946,7 @@ var require_fromInstanceMetadata = __commonJS({
20630
20946
  "use strict";
20631
20947
  Object.defineProperty(exports, "__esModule", { value: true });
20632
20948
  exports.fromInstanceMetadata = void 0;
20633
- var property_provider_1 = require_dist_cjs17();
20949
+ var property_provider_1 = require_dist_cjs18();
20634
20950
  var httpRequest_1 = require_httpRequest2();
20635
20951
  var ImdsCredentials_1 = require_ImdsCredentials();
20636
20952
  var RemoteProviderInit_1 = require_RemoteProviderInit();
@@ -20729,7 +21045,7 @@ var require_types4 = __commonJS({
20729
21045
  });
20730
21046
 
20731
21047
  // node_modules/@aws-sdk/credential-provider-imds/dist-cjs/index.js
20732
- var require_dist_cjs28 = __commonJS({
21048
+ var require_dist_cjs29 = __commonJS({
20733
21049
  "node_modules/@aws-sdk/credential-provider-imds/dist-cjs/index.js"(exports) {
20734
21050
  "use strict";
20735
21051
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20756,9 +21072,9 @@ var require_resolveCredentialSource = __commonJS({
20756
21072
  "use strict";
20757
21073
  Object.defineProperty(exports, "__esModule", { value: true });
20758
21074
  exports.resolveCredentialSource = void 0;
20759
- var credential_provider_env_1 = require_dist_cjs25();
20760
- var credential_provider_imds_1 = require_dist_cjs28();
20761
- var property_provider_1 = require_dist_cjs17();
21075
+ var credential_provider_env_1 = require_dist_cjs26();
21076
+ var credential_provider_imds_1 = require_dist_cjs29();
21077
+ var property_provider_1 = require_dist_cjs18();
20762
21078
  var resolveCredentialSource = (credentialSource, profileName) => {
20763
21079
  const sourceProvidersMap = {
20764
21080
  EcsContainer: credential_provider_imds_1.fromContainerMetadata,
@@ -20781,8 +21097,8 @@ var require_resolveAssumeRoleCredentials = __commonJS({
20781
21097
  "use strict";
20782
21098
  Object.defineProperty(exports, "__esModule", { value: true });
20783
21099
  exports.resolveAssumeRoleCredentials = exports.isAssumeRoleProfile = void 0;
20784
- var property_provider_1 = require_dist_cjs17();
20785
- var shared_ini_file_loader_1 = require_dist_cjs26();
21100
+ var property_provider_1 = require_dist_cjs18();
21101
+ var shared_ini_file_loader_1 = require_dist_cjs27();
20786
21102
  var resolveCredentialSource_1 = require_resolveCredentialSource();
20787
21103
  var resolveProfileData_1 = require_resolveProfileData();
20788
21104
  var isAssumeRoleProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg) || isAssumeRoleWithProviderProfile(arg));
@@ -20859,7 +21175,7 @@ var require_resolveProcessCredentials = __commonJS({
20859
21175
  "use strict";
20860
21176
  Object.defineProperty(exports, "__esModule", { value: true });
20861
21177
  exports.resolveProcessCredentials = void 0;
20862
- var property_provider_1 = require_dist_cjs17();
21178
+ var property_provider_1 = require_dist_cjs18();
20863
21179
  var child_process_1 = require("child_process");
20864
21180
  var util_1 = require("util");
20865
21181
  var getValidatedProcessCredentials_1 = require_getValidatedProcessCredentials();
@@ -20898,7 +21214,7 @@ var require_fromProcess = __commonJS({
20898
21214
  "use strict";
20899
21215
  Object.defineProperty(exports, "__esModule", { value: true });
20900
21216
  exports.fromProcess = void 0;
20901
- var shared_ini_file_loader_1 = require_dist_cjs26();
21217
+ var shared_ini_file_loader_1 = require_dist_cjs27();
20902
21218
  var resolveProcessCredentials_1 = require_resolveProcessCredentials();
20903
21219
  var fromProcess = (init = {}) => async () => {
20904
21220
  const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init);
@@ -20909,7 +21225,7 @@ var require_fromProcess = __commonJS({
20909
21225
  });
20910
21226
 
20911
21227
  // node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
20912
- var require_dist_cjs29 = __commonJS({
21228
+ var require_dist_cjs30 = __commonJS({
20913
21229
  "node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js"(exports) {
20914
21230
  "use strict";
20915
21231
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -20924,7 +21240,7 @@ var require_resolveProcessCredentials2 = __commonJS({
20924
21240
  "use strict";
20925
21241
  Object.defineProperty(exports, "__esModule", { value: true });
20926
21242
  exports.resolveProcessCredentials = exports.isProcessProfile = void 0;
20927
- var credential_provider_process_1 = require_dist_cjs29();
21243
+ var credential_provider_process_1 = require_dist_cjs30();
20928
21244
  var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
20929
21245
  exports.isProcessProfile = isProcessProfile;
20930
21246
  var resolveProcessCredentials = async (options, profile) => (0, credential_provider_process_1.fromProcess)({
@@ -21720,7 +22036,7 @@ var require_package3 = __commonJS({
21720
22036
  module2.exports = {
21721
22037
  name: "@aws-sdk/client-sso",
21722
22038
  description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
21723
- version: "3.226.0",
22039
+ version: "3.245.0",
21724
22040
  scripts: {
21725
22041
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
21726
22042
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21729,7 +22045,8 @@ var require_package3 = __commonJS({
21729
22045
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
21730
22046
  "build:types": "tsc -p tsconfig.types.json",
21731
22047
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
21732
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
22048
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
22049
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sso.json --keepFiles)"
21733
22050
  },
21734
22051
  main: "./dist-cjs/index.js",
21735
22052
  types: "./dist-types/index.d.ts",
@@ -21738,7 +22055,7 @@ var require_package3 = __commonJS({
21738
22055
  dependencies: {
21739
22056
  "@aws-crypto/sha256-browser": "2.0.0",
21740
22057
  "@aws-crypto/sha256-js": "2.0.0",
21741
- "@aws-sdk/config-resolver": "3.226.0",
22058
+ "@aws-sdk/config-resolver": "3.234.0",
21742
22059
  "@aws-sdk/fetch-http-handler": "3.226.0",
21743
22060
  "@aws-sdk/hash-node": "3.226.0",
21744
22061
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -21747,22 +22064,23 @@ var require_package3 = __commonJS({
21747
22064
  "@aws-sdk/middleware-host-header": "3.226.0",
21748
22065
  "@aws-sdk/middleware-logger": "3.226.0",
21749
22066
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
21750
- "@aws-sdk/middleware-retry": "3.226.0",
22067
+ "@aws-sdk/middleware-retry": "3.235.0",
21751
22068
  "@aws-sdk/middleware-serde": "3.226.0",
21752
22069
  "@aws-sdk/middleware-stack": "3.226.0",
21753
22070
  "@aws-sdk/middleware-user-agent": "3.226.0",
21754
22071
  "@aws-sdk/node-config-provider": "3.226.0",
21755
22072
  "@aws-sdk/node-http-handler": "3.226.0",
21756
22073
  "@aws-sdk/protocol-http": "3.226.0",
21757
- "@aws-sdk/smithy-client": "3.226.0",
22074
+ "@aws-sdk/smithy-client": "3.234.0",
21758
22075
  "@aws-sdk/types": "3.226.0",
21759
22076
  "@aws-sdk/url-parser": "3.226.0",
21760
22077
  "@aws-sdk/util-base64": "3.208.0",
21761
22078
  "@aws-sdk/util-body-length-browser": "3.188.0",
21762
22079
  "@aws-sdk/util-body-length-node": "3.208.0",
21763
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
21764
- "@aws-sdk/util-defaults-mode-node": "3.226.0",
21765
- "@aws-sdk/util-endpoints": "3.226.0",
22080
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
22081
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
22082
+ "@aws-sdk/util-endpoints": "3.245.0",
22083
+ "@aws-sdk/util-retry": "3.229.0",
21766
22084
  "@aws-sdk/util-user-agent-browser": "3.226.0",
21767
22085
  "@aws-sdk/util-user-agent-node": "3.226.0",
21768
22086
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -21819,12 +22137,12 @@ var require_package3 = __commonJS({
21819
22137
  });
21820
22138
 
21821
22139
  // node_modules/@aws-sdk/util-buffer-from/dist-cjs/index.js
21822
- var require_dist_cjs30 = __commonJS({
22140
+ var require_dist_cjs31 = __commonJS({
21823
22141
  "node_modules/@aws-sdk/util-buffer-from/dist-cjs/index.js"(exports) {
21824
22142
  "use strict";
21825
22143
  Object.defineProperty(exports, "__esModule", { value: true });
21826
22144
  exports.fromString = exports.fromArrayBuffer = void 0;
21827
- var is_array_buffer_1 = require_dist_cjs20();
22145
+ var is_array_buffer_1 = require_dist_cjs21();
21828
22146
  var buffer_1 = require("buffer");
21829
22147
  var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
21830
22148
  if (!(0, is_array_buffer_1.isArrayBuffer)(input)) {
@@ -21844,12 +22162,12 @@ var require_dist_cjs30 = __commonJS({
21844
22162
  });
21845
22163
 
21846
22164
  // node_modules/@aws-sdk/hash-node/dist-cjs/index.js
21847
- var require_dist_cjs31 = __commonJS({
22165
+ var require_dist_cjs32 = __commonJS({
21848
22166
  "node_modules/@aws-sdk/hash-node/dist-cjs/index.js"(exports) {
21849
22167
  "use strict";
21850
22168
  Object.defineProperty(exports, "__esModule", { value: true });
21851
22169
  exports.Hash = void 0;
21852
- var util_buffer_from_1 = require_dist_cjs30();
22170
+ var util_buffer_from_1 = require_dist_cjs31();
21853
22171
  var buffer_1 = require("buffer");
21854
22172
  var crypto_1 = require("crypto");
21855
22173
  var Hash = class {
@@ -21880,12 +22198,12 @@ var require_dist_cjs31 = __commonJS({
21880
22198
  });
21881
22199
 
21882
22200
  // node_modules/@aws-sdk/querystring-builder/dist-cjs/index.js
21883
- var require_dist_cjs32 = __commonJS({
22201
+ var require_dist_cjs33 = __commonJS({
21884
22202
  "node_modules/@aws-sdk/querystring-builder/dist-cjs/index.js"(exports) {
21885
22203
  "use strict";
21886
22204
  Object.defineProperty(exports, "__esModule", { value: true });
21887
22205
  exports.buildQueryString = void 0;
21888
- var util_uri_escape_1 = require_dist_cjs19();
22206
+ var util_uri_escape_1 = require_dist_cjs20();
21889
22207
  function buildQueryString(query) {
21890
22208
  const parts = [];
21891
22209
  for (let key of Object.keys(query).sort()) {
@@ -22018,7 +22336,7 @@ var require_node_http_handler = __commonJS({
22018
22336
  Object.defineProperty(exports, "__esModule", { value: true });
22019
22337
  exports.NodeHttpHandler = void 0;
22020
22338
  var protocol_http_1 = require_dist_cjs8();
22021
- var querystring_builder_1 = require_dist_cjs32();
22339
+ var querystring_builder_1 = require_dist_cjs33();
22022
22340
  var http_1 = require("http");
22023
22341
  var https_1 = require("https");
22024
22342
  var constants_1 = require_constants6();
@@ -22120,7 +22438,7 @@ var require_node_http2_handler = __commonJS({
22120
22438
  Object.defineProperty(exports, "__esModule", { value: true });
22121
22439
  exports.NodeHttp2Handler = void 0;
22122
22440
  var protocol_http_1 = require_dist_cjs8();
22123
- var querystring_builder_1 = require_dist_cjs32();
22441
+ var querystring_builder_1 = require_dist_cjs33();
22124
22442
  var http2_1 = require("http2");
22125
22443
  var get_transformed_headers_1 = require_get_transformed_headers();
22126
22444
  var write_request_body_1 = require_write_request_body();
@@ -22309,7 +22627,7 @@ var require_stream_collector = __commonJS({
22309
22627
  });
22310
22628
 
22311
22629
  // node_modules/@aws-sdk/node-http-handler/dist-cjs/index.js
22312
- var require_dist_cjs33 = __commonJS({
22630
+ var require_dist_cjs34 = __commonJS({
22313
22631
  "node_modules/@aws-sdk/node-http-handler/dist-cjs/index.js"(exports) {
22314
22632
  "use strict";
22315
22633
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -22349,7 +22667,7 @@ var require_calculateBodyLength = __commonJS({
22349
22667
  });
22350
22668
 
22351
22669
  // node_modules/@aws-sdk/util-body-length-node/dist-cjs/index.js
22352
- var require_dist_cjs34 = __commonJS({
22670
+ var require_dist_cjs35 = __commonJS({
22353
22671
  "node_modules/@aws-sdk/util-body-length-node/dist-cjs/index.js"(exports) {
22354
22672
  "use strict";
22355
22673
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -22379,12 +22697,12 @@ var require_is_crt_available = __commonJS({
22379
22697
  });
22380
22698
 
22381
22699
  // node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
22382
- var require_dist_cjs35 = __commonJS({
22700
+ var require_dist_cjs36 = __commonJS({
22383
22701
  "node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js"(exports) {
22384
22702
  "use strict";
22385
22703
  Object.defineProperty(exports, "__esModule", { value: true });
22386
22704
  exports.defaultUserAgent = exports.UA_APP_ID_INI_NAME = exports.UA_APP_ID_ENV_NAME = void 0;
22387
- var node_config_provider_1 = require_dist_cjs27();
22705
+ var node_config_provider_1 = require_dist_cjs28();
22388
22706
  var os_1 = require("os");
22389
22707
  var process_1 = require("process");
22390
22708
  var is_crt_available_1 = require_is_crt_available();
@@ -22426,12 +22744,12 @@ var require_dist_cjs35 = __commonJS({
22426
22744
  });
22427
22745
 
22428
22746
  // node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js
22429
- var require_dist_cjs36 = __commonJS({
22747
+ var require_dist_cjs37 = __commonJS({
22430
22748
  "node_modules/@aws-sdk/util-utf8-node/dist-cjs/index.js"(exports) {
22431
22749
  "use strict";
22432
22750
  Object.defineProperty(exports, "__esModule", { value: true });
22433
22751
  exports.toUtf8 = exports.fromUtf8 = void 0;
22434
- var util_buffer_from_1 = require_dist_cjs30();
22752
+ var util_buffer_from_1 = require_dist_cjs31();
22435
22753
  var fromUtf8 = (input) => {
22436
22754
  const buf = (0, util_buffer_from_1.fromString)(input, "utf8");
22437
22755
  return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
@@ -22448,7 +22766,7 @@ var require_fromBase64 = __commonJS({
22448
22766
  "use strict";
22449
22767
  Object.defineProperty(exports, "__esModule", { value: true });
22450
22768
  exports.fromBase64 = void 0;
22451
- var util_buffer_from_1 = require_dist_cjs30();
22769
+ var util_buffer_from_1 = require_dist_cjs31();
22452
22770
  var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
22453
22771
  var fromBase64 = (input) => {
22454
22772
  if (input.length * 3 % 4 !== 0) {
@@ -22470,14 +22788,14 @@ var require_toBase64 = __commonJS({
22470
22788
  "use strict";
22471
22789
  Object.defineProperty(exports, "__esModule", { value: true });
22472
22790
  exports.toBase64 = void 0;
22473
- var util_buffer_from_1 = require_dist_cjs30();
22791
+ var util_buffer_from_1 = require_dist_cjs31();
22474
22792
  var toBase64 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64");
22475
22793
  exports.toBase64 = toBase64;
22476
22794
  }
22477
22795
  });
22478
22796
 
22479
22797
  // node_modules/@aws-sdk/util-base64/dist-cjs/index.js
22480
- var require_dist_cjs37 = __commonJS({
22798
+ var require_dist_cjs38 = __commonJS({
22481
22799
  "node_modules/@aws-sdk/util-base64/dist-cjs/index.js"(exports) {
22482
22800
  "use strict";
22483
22801
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23257,7 +23575,7 @@ var require_transfer = __commonJS({
23257
23575
  });
23258
23576
 
23259
23577
  // node_modules/@aws-sdk/types/dist-cjs/util.js
23260
- var require_util2 = __commonJS({
23578
+ var require_util3 = __commonJS({
23261
23579
  "node_modules/@aws-sdk/types/dist-cjs/util.js"(exports) {
23262
23580
  "use strict";
23263
23581
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23273,7 +23591,7 @@ var require_waiter = __commonJS({
23273
23591
  });
23274
23592
 
23275
23593
  // node_modules/@aws-sdk/types/dist-cjs/index.js
23276
- var require_dist_cjs38 = __commonJS({
23594
+ var require_dist_cjs39 = __commonJS({
23277
23595
  "node_modules/@aws-sdk/types/dist-cjs/index.js"(exports) {
23278
23596
  "use strict";
23279
23597
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23301,7 +23619,7 @@ var require_dist_cjs38 = __commonJS({
23301
23619
  tslib_1.__exportStar(require_stream(), exports);
23302
23620
  tslib_1.__exportStar(require_token(), exports);
23303
23621
  tslib_1.__exportStar(require_transfer(), exports);
23304
- tslib_1.__exportStar(require_util2(), exports);
23622
+ tslib_1.__exportStar(require_util3(), exports);
23305
23623
  tslib_1.__exportStar(require_waiter(), exports);
23306
23624
  }
23307
23625
  });
@@ -23312,7 +23630,7 @@ var require_parseURL = __commonJS({
23312
23630
  "use strict";
23313
23631
  Object.defineProperty(exports, "__esModule", { value: true });
23314
23632
  exports.parseURL = void 0;
23315
- var types_1 = require_dist_cjs38();
23633
+ var types_1 = require_dist_cjs39();
23316
23634
  var isIpAddress_1 = require_isIpAddress();
23317
23635
  var DEFAULT_PORTS = {
23318
23636
  [types_1.EndpointURLScheme.HTTP]: 80,
@@ -23850,7 +24168,7 @@ var require_resolveEndpoint = __commonJS({
23850
24168
  });
23851
24169
 
23852
24170
  // node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js
23853
- var require_dist_cjs39 = __commonJS({
24171
+ var require_dist_cjs40 = __commonJS({
23854
24172
  "node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js"(exports) {
23855
24173
  "use strict";
23856
24174
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -23867,321 +24185,27 @@ var require_ruleset = __commonJS({
23867
24185
  "use strict";
23868
24186
  Object.defineProperty(exports, "__esModule", { value: true });
23869
24187
  exports.ruleSet = void 0;
23870
- exports.ruleSet = {
23871
- version: "1.0",
23872
- parameters: {
23873
- Region: {
23874
- builtIn: "AWS::Region",
23875
- required: false,
23876
- documentation: "The AWS region used to dispatch the request.",
23877
- type: "String"
23878
- },
23879
- UseDualStack: {
23880
- builtIn: "AWS::UseDualStack",
23881
- required: true,
23882
- default: false,
23883
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
23884
- type: "Boolean"
23885
- },
23886
- UseFIPS: {
23887
- builtIn: "AWS::UseFIPS",
23888
- required: true,
23889
- default: false,
23890
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
23891
- type: "Boolean"
23892
- },
23893
- Endpoint: {
23894
- builtIn: "SDK::Endpoint",
23895
- required: false,
23896
- documentation: "Override the endpoint used to send this request",
23897
- type: "String"
23898
- }
23899
- },
23900
- rules: [
23901
- {
23902
- conditions: [
23903
- {
23904
- fn: "aws.partition",
23905
- argv: [
23906
- {
23907
- ref: "Region"
23908
- }
23909
- ],
23910
- assign: "PartitionResult"
23911
- }
23912
- ],
23913
- type: "tree",
23914
- rules: [
23915
- {
23916
- conditions: [
23917
- {
23918
- fn: "isSet",
23919
- argv: [
23920
- {
23921
- ref: "Endpoint"
23922
- }
23923
- ]
23924
- },
23925
- {
23926
- fn: "parseURL",
23927
- argv: [
23928
- {
23929
- ref: "Endpoint"
23930
- }
23931
- ],
23932
- assign: "url"
23933
- }
23934
- ],
23935
- type: "tree",
23936
- rules: [
23937
- {
23938
- conditions: [
23939
- {
23940
- fn: "booleanEquals",
23941
- argv: [
23942
- {
23943
- ref: "UseFIPS"
23944
- },
23945
- true
23946
- ]
23947
- }
23948
- ],
23949
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
23950
- type: "error"
23951
- },
23952
- {
23953
- conditions: [],
23954
- type: "tree",
23955
- rules: [
23956
- {
23957
- conditions: [
23958
- {
23959
- fn: "booleanEquals",
23960
- argv: [
23961
- {
23962
- ref: "UseDualStack"
23963
- },
23964
- true
23965
- ]
23966
- }
23967
- ],
23968
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
23969
- type: "error"
23970
- },
23971
- {
23972
- conditions: [],
23973
- endpoint: {
23974
- url: {
23975
- ref: "Endpoint"
23976
- },
23977
- properties: {},
23978
- headers: {}
23979
- },
23980
- type: "endpoint"
23981
- }
23982
- ]
23983
- }
23984
- ]
23985
- },
23986
- {
23987
- conditions: [
23988
- {
23989
- fn: "booleanEquals",
23990
- argv: [
23991
- {
23992
- ref: "UseFIPS"
23993
- },
23994
- true
23995
- ]
23996
- },
23997
- {
23998
- fn: "booleanEquals",
23999
- argv: [
24000
- {
24001
- ref: "UseDualStack"
24002
- },
24003
- true
24004
- ]
24005
- }
24006
- ],
24007
- type: "tree",
24008
- rules: [
24009
- {
24010
- conditions: [
24011
- {
24012
- fn: "booleanEquals",
24013
- argv: [
24014
- true,
24015
- {
24016
- fn: "getAttr",
24017
- argv: [
24018
- {
24019
- ref: "PartitionResult"
24020
- },
24021
- "supportsFIPS"
24022
- ]
24023
- }
24024
- ]
24025
- },
24026
- {
24027
- fn: "booleanEquals",
24028
- argv: [
24029
- true,
24030
- {
24031
- fn: "getAttr",
24032
- argv: [
24033
- {
24034
- ref: "PartitionResult"
24035
- },
24036
- "supportsDualStack"
24037
- ]
24038
- }
24039
- ]
24040
- }
24041
- ],
24042
- type: "tree",
24043
- rules: [
24044
- {
24045
- conditions: [],
24046
- endpoint: {
24047
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
24048
- properties: {},
24049
- headers: {}
24050
- },
24051
- type: "endpoint"
24052
- }
24053
- ]
24054
- },
24055
- {
24056
- conditions: [],
24057
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
24058
- type: "error"
24059
- }
24060
- ]
24061
- },
24062
- {
24063
- conditions: [
24064
- {
24065
- fn: "booleanEquals",
24066
- argv: [
24067
- {
24068
- ref: "UseFIPS"
24069
- },
24070
- true
24071
- ]
24072
- }
24073
- ],
24074
- type: "tree",
24075
- rules: [
24076
- {
24077
- conditions: [
24078
- {
24079
- fn: "booleanEquals",
24080
- argv: [
24081
- true,
24082
- {
24083
- fn: "getAttr",
24084
- argv: [
24085
- {
24086
- ref: "PartitionResult"
24087
- },
24088
- "supportsFIPS"
24089
- ]
24090
- }
24091
- ]
24092
- }
24093
- ],
24094
- type: "tree",
24095
- rules: [
24096
- {
24097
- conditions: [],
24098
- type: "tree",
24099
- rules: [
24100
- {
24101
- conditions: [],
24102
- endpoint: {
24103
- url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",
24104
- properties: {},
24105
- headers: {}
24106
- },
24107
- type: "endpoint"
24108
- }
24109
- ]
24110
- }
24111
- ]
24112
- },
24113
- {
24114
- conditions: [],
24115
- error: "FIPS is enabled but this partition does not support FIPS",
24116
- type: "error"
24117
- }
24118
- ]
24119
- },
24120
- {
24121
- conditions: [
24122
- {
24123
- fn: "booleanEquals",
24124
- argv: [
24125
- {
24126
- ref: "UseDualStack"
24127
- },
24128
- true
24129
- ]
24130
- }
24131
- ],
24132
- type: "tree",
24133
- rules: [
24134
- {
24135
- conditions: [
24136
- {
24137
- fn: "booleanEquals",
24138
- argv: [
24139
- true,
24140
- {
24141
- fn: "getAttr",
24142
- argv: [
24143
- {
24144
- ref: "PartitionResult"
24145
- },
24146
- "supportsDualStack"
24147
- ]
24148
- }
24149
- ]
24150
- }
24151
- ],
24152
- type: "tree",
24153
- rules: [
24154
- {
24155
- conditions: [],
24156
- endpoint: {
24157
- url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",
24158
- properties: {},
24159
- headers: {}
24160
- },
24161
- type: "endpoint"
24162
- }
24163
- ]
24164
- },
24165
- {
24166
- conditions: [],
24167
- error: "DualStack is enabled but this partition does not support DualStack",
24168
- type: "error"
24169
- }
24170
- ]
24171
- },
24172
- {
24173
- conditions: [],
24174
- endpoint: {
24175
- url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",
24176
- properties: {},
24177
- headers: {}
24178
- },
24179
- type: "endpoint"
24180
- }
24181
- ]
24182
- }
24183
- ]
24184
- };
24188
+ var p = "required";
24189
+ var q = "fn";
24190
+ var r = "argv";
24191
+ var s = "ref";
24192
+ var a = "PartitionResult";
24193
+ var b = "tree";
24194
+ var c = "error";
24195
+ var d = "endpoint";
24196
+ var e = { [p]: false, "type": "String" };
24197
+ var f = { [p]: true, "default": false, "type": "Boolean" };
24198
+ var g = { [s]: "Endpoint" };
24199
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
24200
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
24201
+ var j = {};
24202
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
24203
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
24204
+ var m = [g];
24205
+ var n = [h];
24206
+ var o = [i];
24207
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
24208
+ exports.ruleSet = _data;
24185
24209
  }
24186
24210
  });
24187
24211
 
@@ -24191,7 +24215,7 @@ var require_endpointResolver = __commonJS({
24191
24215
  "use strict";
24192
24216
  Object.defineProperty(exports, "__esModule", { value: true });
24193
24217
  exports.defaultEndpointResolver = void 0;
24194
- var util_endpoints_1 = require_dist_cjs39();
24218
+ var util_endpoints_1 = require_dist_cjs40();
24195
24219
  var ruleset_1 = require_ruleset();
24196
24220
  var defaultEndpointResolver = (endpointParams, context = {}) => {
24197
24221
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -24211,7 +24235,7 @@ var require_runtimeConfig_shared = __commonJS({
24211
24235
  exports.getRuntimeConfig = void 0;
24212
24236
  var smithy_client_1 = require_dist_cjs7();
24213
24237
  var url_parser_1 = require_dist_cjs2();
24214
- var util_base64_1 = require_dist_cjs37();
24238
+ var util_base64_1 = require_dist_cjs38();
24215
24239
  var endpointResolver_1 = require_endpointResolver();
24216
24240
  var getRuntimeConfig = (config) => ({
24217
24241
  apiVersion: "2019-06-10",
@@ -24269,9 +24293,9 @@ var require_resolveDefaultsModeConfig = __commonJS({
24269
24293
  Object.defineProperty(exports, "__esModule", { value: true });
24270
24294
  exports.resolveDefaultsModeConfig = void 0;
24271
24295
  var config_resolver_1 = require_dist_cjs10();
24272
- var credential_provider_imds_1 = require_dist_cjs28();
24273
- var node_config_provider_1 = require_dist_cjs27();
24274
- var property_provider_1 = require_dist_cjs17();
24296
+ var credential_provider_imds_1 = require_dist_cjs29();
24297
+ var node_config_provider_1 = require_dist_cjs28();
24298
+ var property_provider_1 = require_dist_cjs18();
24275
24299
  var constants_1 = require_constants7();
24276
24300
  var defaultsModeConfig_1 = require_defaultsModeConfig();
24277
24301
  var resolveDefaultsModeConfig = ({ region = (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS), defaultsMode = (0, node_config_provider_1.loadConfig)(defaultsModeConfig_1.NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => (0, property_provider_1.memoize)(async () => {
@@ -24324,7 +24348,7 @@ var require_resolveDefaultsModeConfig = __commonJS({
24324
24348
  });
24325
24349
 
24326
24350
  // node_modules/@aws-sdk/util-defaults-mode-node/dist-cjs/index.js
24327
- var require_dist_cjs40 = __commonJS({
24351
+ var require_dist_cjs41 = __commonJS({
24328
24352
  "node_modules/@aws-sdk/util-defaults-mode-node/dist-cjs/index.js"(exports) {
24329
24353
  "use strict";
24330
24354
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -24342,16 +24366,17 @@ var require_runtimeConfig = __commonJS({
24342
24366
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
24343
24367
  var package_json_1 = tslib_1.__importDefault(require_package3());
24344
24368
  var config_resolver_1 = require_dist_cjs10();
24345
- var hash_node_1 = require_dist_cjs31();
24346
- var middleware_retry_1 = require_dist_cjs16();
24347
- var node_config_provider_1 = require_dist_cjs27();
24348
- var node_http_handler_1 = require_dist_cjs33();
24349
- var util_body_length_node_1 = require_dist_cjs34();
24350
- var util_user_agent_node_1 = require_dist_cjs35();
24351
- var util_utf8_node_1 = require_dist_cjs36();
24369
+ var hash_node_1 = require_dist_cjs32();
24370
+ var middleware_retry_1 = require_dist_cjs17();
24371
+ var node_config_provider_1 = require_dist_cjs28();
24372
+ var node_http_handler_1 = require_dist_cjs34();
24373
+ var util_body_length_node_1 = require_dist_cjs35();
24374
+ var util_retry_1 = require_dist_cjs16();
24375
+ var util_user_agent_node_1 = require_dist_cjs36();
24376
+ var util_utf8_node_1 = require_dist_cjs37();
24352
24377
  var runtimeConfig_shared_1 = require_runtimeConfig_shared();
24353
24378
  var smithy_client_1 = require_dist_cjs7();
24354
- var util_defaults_mode_node_1 = require_dist_cjs40();
24379
+ var util_defaults_mode_node_1 = require_dist_cjs41();
24355
24380
  var smithy_client_2 = require_dist_cjs7();
24356
24381
  var getRuntimeConfig = (config) => {
24357
24382
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
@@ -24370,7 +24395,7 @@ var require_runtimeConfig = __commonJS({
24370
24395
  requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
24371
24396
  retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
24372
24397
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
24373
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
24398
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
24374
24399
  }),
24375
24400
  sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
24376
24401
  streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
@@ -24396,8 +24421,8 @@ var require_SSOClient = __commonJS({
24396
24421
  var middleware_host_header_1 = require_dist_cjs12();
24397
24422
  var middleware_logger_1 = require_dist_cjs13();
24398
24423
  var middleware_recursion_detection_1 = require_dist_cjs14();
24399
- var middleware_retry_1 = require_dist_cjs16();
24400
- var middleware_user_agent_1 = require_dist_cjs23();
24424
+ var middleware_retry_1 = require_dist_cjs17();
24425
+ var middleware_user_agent_1 = require_dist_cjs24();
24401
24426
  var smithy_client_1 = require_dist_cjs7();
24402
24427
  var EndpointParameters_1 = require_EndpointParameters3();
24403
24428
  var runtimeConfig_1 = require_runtimeConfig();
@@ -24616,7 +24641,7 @@ var require_pagination2 = __commonJS({
24616
24641
  });
24617
24642
 
24618
24643
  // node_modules/@aws-sdk/client-sso/dist-cjs/index.js
24619
- var require_dist_cjs41 = __commonJS({
24644
+ var require_dist_cjs42 = __commonJS({
24620
24645
  "node_modules/@aws-sdk/client-sso/dist-cjs/index.js"(exports) {
24621
24646
  "use strict";
24622
24647
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -25577,7 +25602,7 @@ var require_package4 = __commonJS({
25577
25602
  module2.exports = {
25578
25603
  name: "@aws-sdk/client-sso-oidc",
25579
25604
  description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
25580
- version: "3.226.0",
25605
+ version: "3.245.0",
25581
25606
  scripts: {
25582
25607
  build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
25583
25608
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -25586,7 +25611,8 @@ var require_package4 = __commonJS({
25586
25611
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
25587
25612
  "build:types": "tsc -p tsconfig.types.json",
25588
25613
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
25589
- clean: "rimraf ./dist-* && rimraf *.tsbuildinfo"
25614
+ clean: "rimraf ./dist-* && rimraf *.tsbuildinfo",
25615
+ "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/sso-oidc.json --keepFiles)"
25590
25616
  },
25591
25617
  main: "./dist-cjs/index.js",
25592
25618
  types: "./dist-types/index.d.ts",
@@ -25595,7 +25621,7 @@ var require_package4 = __commonJS({
25595
25621
  dependencies: {
25596
25622
  "@aws-crypto/sha256-browser": "2.0.0",
25597
25623
  "@aws-crypto/sha256-js": "2.0.0",
25598
- "@aws-sdk/config-resolver": "3.226.0",
25624
+ "@aws-sdk/config-resolver": "3.234.0",
25599
25625
  "@aws-sdk/fetch-http-handler": "3.226.0",
25600
25626
  "@aws-sdk/hash-node": "3.226.0",
25601
25627
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -25604,22 +25630,23 @@ var require_package4 = __commonJS({
25604
25630
  "@aws-sdk/middleware-host-header": "3.226.0",
25605
25631
  "@aws-sdk/middleware-logger": "3.226.0",
25606
25632
  "@aws-sdk/middleware-recursion-detection": "3.226.0",
25607
- "@aws-sdk/middleware-retry": "3.226.0",
25633
+ "@aws-sdk/middleware-retry": "3.235.0",
25608
25634
  "@aws-sdk/middleware-serde": "3.226.0",
25609
25635
  "@aws-sdk/middleware-stack": "3.226.0",
25610
25636
  "@aws-sdk/middleware-user-agent": "3.226.0",
25611
25637
  "@aws-sdk/node-config-provider": "3.226.0",
25612
25638
  "@aws-sdk/node-http-handler": "3.226.0",
25613
25639
  "@aws-sdk/protocol-http": "3.226.0",
25614
- "@aws-sdk/smithy-client": "3.226.0",
25640
+ "@aws-sdk/smithy-client": "3.234.0",
25615
25641
  "@aws-sdk/types": "3.226.0",
25616
25642
  "@aws-sdk/url-parser": "3.226.0",
25617
25643
  "@aws-sdk/util-base64": "3.208.0",
25618
25644
  "@aws-sdk/util-body-length-browser": "3.188.0",
25619
25645
  "@aws-sdk/util-body-length-node": "3.208.0",
25620
- "@aws-sdk/util-defaults-mode-browser": "3.226.0",
25621
- "@aws-sdk/util-defaults-mode-node": "3.226.0",
25622
- "@aws-sdk/util-endpoints": "3.226.0",
25646
+ "@aws-sdk/util-defaults-mode-browser": "3.234.0",
25647
+ "@aws-sdk/util-defaults-mode-node": "3.234.0",
25648
+ "@aws-sdk/util-endpoints": "3.245.0",
25649
+ "@aws-sdk/util-retry": "3.229.0",
25623
25650
  "@aws-sdk/util-user-agent-browser": "3.226.0",
25624
25651
  "@aws-sdk/util-user-agent-node": "3.226.0",
25625
25652
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -25681,321 +25708,27 @@ var require_ruleset2 = __commonJS({
25681
25708
  "use strict";
25682
25709
  Object.defineProperty(exports, "__esModule", { value: true });
25683
25710
  exports.ruleSet = void 0;
25684
- exports.ruleSet = {
25685
- version: "1.0",
25686
- parameters: {
25687
- Region: {
25688
- builtIn: "AWS::Region",
25689
- required: false,
25690
- documentation: "The AWS region used to dispatch the request.",
25691
- type: "String"
25692
- },
25693
- UseDualStack: {
25694
- builtIn: "AWS::UseDualStack",
25695
- required: true,
25696
- default: false,
25697
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
25698
- type: "Boolean"
25699
- },
25700
- UseFIPS: {
25701
- builtIn: "AWS::UseFIPS",
25702
- required: true,
25703
- default: false,
25704
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
25705
- type: "Boolean"
25706
- },
25707
- Endpoint: {
25708
- builtIn: "SDK::Endpoint",
25709
- required: false,
25710
- documentation: "Override the endpoint used to send this request",
25711
- type: "String"
25712
- }
25713
- },
25714
- rules: [
25715
- {
25716
- conditions: [
25717
- {
25718
- fn: "aws.partition",
25719
- argv: [
25720
- {
25721
- ref: "Region"
25722
- }
25723
- ],
25724
- assign: "PartitionResult"
25725
- }
25726
- ],
25727
- type: "tree",
25728
- rules: [
25729
- {
25730
- conditions: [
25731
- {
25732
- fn: "isSet",
25733
- argv: [
25734
- {
25735
- ref: "Endpoint"
25736
- }
25737
- ]
25738
- },
25739
- {
25740
- fn: "parseURL",
25741
- argv: [
25742
- {
25743
- ref: "Endpoint"
25744
- }
25745
- ],
25746
- assign: "url"
25747
- }
25748
- ],
25749
- type: "tree",
25750
- rules: [
25751
- {
25752
- conditions: [
25753
- {
25754
- fn: "booleanEquals",
25755
- argv: [
25756
- {
25757
- ref: "UseFIPS"
25758
- },
25759
- true
25760
- ]
25761
- }
25762
- ],
25763
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
25764
- type: "error"
25765
- },
25766
- {
25767
- conditions: [],
25768
- type: "tree",
25769
- rules: [
25770
- {
25771
- conditions: [
25772
- {
25773
- fn: "booleanEquals",
25774
- argv: [
25775
- {
25776
- ref: "UseDualStack"
25777
- },
25778
- true
25779
- ]
25780
- }
25781
- ],
25782
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
25783
- type: "error"
25784
- },
25785
- {
25786
- conditions: [],
25787
- endpoint: {
25788
- url: {
25789
- ref: "Endpoint"
25790
- },
25791
- properties: {},
25792
- headers: {}
25793
- },
25794
- type: "endpoint"
25795
- }
25796
- ]
25797
- }
25798
- ]
25799
- },
25800
- {
25801
- conditions: [
25802
- {
25803
- fn: "booleanEquals",
25804
- argv: [
25805
- {
25806
- ref: "UseFIPS"
25807
- },
25808
- true
25809
- ]
25810
- },
25811
- {
25812
- fn: "booleanEquals",
25813
- argv: [
25814
- {
25815
- ref: "UseDualStack"
25816
- },
25817
- true
25818
- ]
25819
- }
25820
- ],
25821
- type: "tree",
25822
- rules: [
25823
- {
25824
- conditions: [
25825
- {
25826
- fn: "booleanEquals",
25827
- argv: [
25828
- true,
25829
- {
25830
- fn: "getAttr",
25831
- argv: [
25832
- {
25833
- ref: "PartitionResult"
25834
- },
25835
- "supportsFIPS"
25836
- ]
25837
- }
25838
- ]
25839
- },
25840
- {
25841
- fn: "booleanEquals",
25842
- argv: [
25843
- true,
25844
- {
25845
- fn: "getAttr",
25846
- argv: [
25847
- {
25848
- ref: "PartitionResult"
25849
- },
25850
- "supportsDualStack"
25851
- ]
25852
- }
25853
- ]
25854
- }
25855
- ],
25856
- type: "tree",
25857
- rules: [
25858
- {
25859
- conditions: [],
25860
- endpoint: {
25861
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
25862
- properties: {},
25863
- headers: {}
25864
- },
25865
- type: "endpoint"
25866
- }
25867
- ]
25868
- },
25869
- {
25870
- conditions: [],
25871
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
25872
- type: "error"
25873
- }
25874
- ]
25875
- },
25876
- {
25877
- conditions: [
25878
- {
25879
- fn: "booleanEquals",
25880
- argv: [
25881
- {
25882
- ref: "UseFIPS"
25883
- },
25884
- true
25885
- ]
25886
- }
25887
- ],
25888
- type: "tree",
25889
- rules: [
25890
- {
25891
- conditions: [
25892
- {
25893
- fn: "booleanEquals",
25894
- argv: [
25895
- true,
25896
- {
25897
- fn: "getAttr",
25898
- argv: [
25899
- {
25900
- ref: "PartitionResult"
25901
- },
25902
- "supportsFIPS"
25903
- ]
25904
- }
25905
- ]
25906
- }
25907
- ],
25908
- type: "tree",
25909
- rules: [
25910
- {
25911
- conditions: [],
25912
- type: "tree",
25913
- rules: [
25914
- {
25915
- conditions: [],
25916
- endpoint: {
25917
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
25918
- properties: {},
25919
- headers: {}
25920
- },
25921
- type: "endpoint"
25922
- }
25923
- ]
25924
- }
25925
- ]
25926
- },
25927
- {
25928
- conditions: [],
25929
- error: "FIPS is enabled but this partition does not support FIPS",
25930
- type: "error"
25931
- }
25932
- ]
25933
- },
25934
- {
25935
- conditions: [
25936
- {
25937
- fn: "booleanEquals",
25938
- argv: [
25939
- {
25940
- ref: "UseDualStack"
25941
- },
25942
- true
25943
- ]
25944
- }
25945
- ],
25946
- type: "tree",
25947
- rules: [
25948
- {
25949
- conditions: [
25950
- {
25951
- fn: "booleanEquals",
25952
- argv: [
25953
- true,
25954
- {
25955
- fn: "getAttr",
25956
- argv: [
25957
- {
25958
- ref: "PartitionResult"
25959
- },
25960
- "supportsDualStack"
25961
- ]
25962
- }
25963
- ]
25964
- }
25965
- ],
25966
- type: "tree",
25967
- rules: [
25968
- {
25969
- conditions: [],
25970
- endpoint: {
25971
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
25972
- properties: {},
25973
- headers: {}
25974
- },
25975
- type: "endpoint"
25976
- }
25977
- ]
25978
- },
25979
- {
25980
- conditions: [],
25981
- error: "DualStack is enabled but this partition does not support DualStack",
25982
- type: "error"
25983
- }
25984
- ]
25985
- },
25986
- {
25987
- conditions: [],
25988
- endpoint: {
25989
- url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
25990
- properties: {},
25991
- headers: {}
25992
- },
25993
- type: "endpoint"
25994
- }
25995
- ]
25996
- }
25997
- ]
25998
- };
25711
+ var p = "required";
25712
+ var q = "fn";
25713
+ var r = "argv";
25714
+ var s = "ref";
25715
+ var a = "PartitionResult";
25716
+ var b = "tree";
25717
+ var c = "error";
25718
+ var d = "endpoint";
25719
+ var e = { [p]: false, "type": "String" };
25720
+ var f = { [p]: true, "default": false, "type": "Boolean" };
25721
+ var g = { [s]: "Endpoint" };
25722
+ var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
25723
+ var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
25724
+ var j = {};
25725
+ var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
25726
+ var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
25727
+ var m = [g];
25728
+ var n = [h];
25729
+ var o = [i];
25730
+ var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
25731
+ exports.ruleSet = _data;
25999
25732
  }
26000
25733
  });
26001
25734
 
@@ -26005,7 +25738,7 @@ var require_endpointResolver2 = __commonJS({
26005
25738
  "use strict";
26006
25739
  Object.defineProperty(exports, "__esModule", { value: true });
26007
25740
  exports.defaultEndpointResolver = void 0;
26008
- var util_endpoints_1 = require_dist_cjs39();
25741
+ var util_endpoints_1 = require_dist_cjs40();
26009
25742
  var ruleset_1 = require_ruleset2();
26010
25743
  var defaultEndpointResolver = (endpointParams, context = {}) => {
26011
25744
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -26025,7 +25758,7 @@ var require_runtimeConfig_shared2 = __commonJS({
26025
25758
  exports.getRuntimeConfig = void 0;
26026
25759
  var smithy_client_1 = require_dist_cjs7();
26027
25760
  var url_parser_1 = require_dist_cjs2();
26028
- var util_base64_1 = require_dist_cjs37();
25761
+ var util_base64_1 = require_dist_cjs38();
26029
25762
  var endpointResolver_1 = require_endpointResolver2();
26030
25763
  var getRuntimeConfig = (config) => ({
26031
25764
  apiVersion: "2019-06-10",
@@ -26050,16 +25783,17 @@ var require_runtimeConfig2 = __commonJS({
26050
25783
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
26051
25784
  var package_json_1 = tslib_1.__importDefault(require_package4());
26052
25785
  var config_resolver_1 = require_dist_cjs10();
26053
- var hash_node_1 = require_dist_cjs31();
26054
- var middleware_retry_1 = require_dist_cjs16();
26055
- var node_config_provider_1 = require_dist_cjs27();
26056
- var node_http_handler_1 = require_dist_cjs33();
26057
- var util_body_length_node_1 = require_dist_cjs34();
26058
- var util_user_agent_node_1 = require_dist_cjs35();
26059
- var util_utf8_node_1 = require_dist_cjs36();
25786
+ var hash_node_1 = require_dist_cjs32();
25787
+ var middleware_retry_1 = require_dist_cjs17();
25788
+ var node_config_provider_1 = require_dist_cjs28();
25789
+ var node_http_handler_1 = require_dist_cjs34();
25790
+ var util_body_length_node_1 = require_dist_cjs35();
25791
+ var util_retry_1 = require_dist_cjs16();
25792
+ var util_user_agent_node_1 = require_dist_cjs36();
25793
+ var util_utf8_node_1 = require_dist_cjs37();
26060
25794
  var runtimeConfig_shared_1 = require_runtimeConfig_shared2();
26061
25795
  var smithy_client_1 = require_dist_cjs7();
26062
- var util_defaults_mode_node_1 = require_dist_cjs40();
25796
+ var util_defaults_mode_node_1 = require_dist_cjs41();
26063
25797
  var smithy_client_2 = require_dist_cjs7();
26064
25798
  var getRuntimeConfig = (config) => {
26065
25799
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
@@ -26078,7 +25812,7 @@ var require_runtimeConfig2 = __commonJS({
26078
25812
  requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
26079
25813
  retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
26080
25814
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
26081
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
25815
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
26082
25816
  }),
26083
25817
  sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
26084
25818
  streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
@@ -26104,8 +25838,8 @@ var require_SSOOIDCClient = __commonJS({
26104
25838
  var middleware_host_header_1 = require_dist_cjs12();
26105
25839
  var middleware_logger_1 = require_dist_cjs13();
26106
25840
  var middleware_recursion_detection_1 = require_dist_cjs14();
26107
- var middleware_retry_1 = require_dist_cjs16();
26108
- var middleware_user_agent_1 = require_dist_cjs23();
25841
+ var middleware_retry_1 = require_dist_cjs17();
25842
+ var middleware_user_agent_1 = require_dist_cjs24();
26109
25843
  var smithy_client_1 = require_dist_cjs7();
26110
25844
  var EndpointParameters_1 = require_EndpointParameters4();
26111
25845
  var runtimeConfig_1 = require_runtimeConfig2();
@@ -26210,7 +25944,7 @@ var require_models2 = __commonJS({
26210
25944
  });
26211
25945
 
26212
25946
  // node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js
26213
- var require_dist_cjs42 = __commonJS({
25947
+ var require_dist_cjs43 = __commonJS({
26214
25948
  "node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js"(exports) {
26215
25949
  "use strict";
26216
25950
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26233,7 +25967,7 @@ var require_getSsoOidcClient = __commonJS({
26233
25967
  "use strict";
26234
25968
  Object.defineProperty(exports, "__esModule", { value: true });
26235
25969
  exports.getSsoOidcClient = void 0;
26236
- var client_sso_oidc_1 = require_dist_cjs42();
25970
+ var client_sso_oidc_1 = require_dist_cjs43();
26237
25971
  var ssoOidcClientsHash = {};
26238
25972
  var getSsoOidcClient = (ssoRegion) => {
26239
25973
  if (ssoOidcClientsHash[ssoRegion]) {
@@ -26253,7 +25987,7 @@ var require_getNewSsoOidcToken = __commonJS({
26253
25987
  "use strict";
26254
25988
  Object.defineProperty(exports, "__esModule", { value: true });
26255
25989
  exports.getNewSsoOidcToken = void 0;
26256
- var client_sso_oidc_1 = require_dist_cjs42();
25990
+ var client_sso_oidc_1 = require_dist_cjs43();
26257
25991
  var getSsoOidcClient_1 = require_getSsoOidcClient();
26258
25992
  var getNewSsoOidcToken = (ssoToken, ssoRegion) => {
26259
25993
  const ssoOidcClient = (0, getSsoOidcClient_1.getSsoOidcClient)(ssoRegion);
@@ -26274,7 +26008,7 @@ var require_validateTokenExpiry = __commonJS({
26274
26008
  "use strict";
26275
26009
  Object.defineProperty(exports, "__esModule", { value: true });
26276
26010
  exports.validateTokenExpiry = void 0;
26277
- var property_provider_1 = require_dist_cjs17();
26011
+ var property_provider_1 = require_dist_cjs18();
26278
26012
  var constants_1 = require_constants8();
26279
26013
  var validateTokenExpiry = (token) => {
26280
26014
  if (token.expiration && token.expiration.getTime() < Date.now()) {
@@ -26291,7 +26025,7 @@ var require_validateTokenKey = __commonJS({
26291
26025
  "use strict";
26292
26026
  Object.defineProperty(exports, "__esModule", { value: true });
26293
26027
  exports.validateTokenKey = void 0;
26294
- var property_provider_1 = require_dist_cjs17();
26028
+ var property_provider_1 = require_dist_cjs18();
26295
26029
  var constants_1 = require_constants8();
26296
26030
  var validateTokenKey = (key, value, forRefresh = false) => {
26297
26031
  if (typeof value === "undefined") {
@@ -26308,7 +26042,7 @@ var require_writeSSOTokenToFile = __commonJS({
26308
26042
  "use strict";
26309
26043
  Object.defineProperty(exports, "__esModule", { value: true });
26310
26044
  exports.writeSSOTokenToFile = void 0;
26311
- var shared_ini_file_loader_1 = require_dist_cjs26();
26045
+ var shared_ini_file_loader_1 = require_dist_cjs27();
26312
26046
  var fs_1 = require("fs");
26313
26047
  var { writeFile } = fs_1.promises;
26314
26048
  var writeSSOTokenToFile = (id, ssoToken) => {
@@ -26326,8 +26060,8 @@ var require_fromSso = __commonJS({
26326
26060
  "use strict";
26327
26061
  Object.defineProperty(exports, "__esModule", { value: true });
26328
26062
  exports.fromSso = void 0;
26329
- var property_provider_1 = require_dist_cjs17();
26330
- var shared_ini_file_loader_1 = require_dist_cjs26();
26063
+ var property_provider_1 = require_dist_cjs18();
26064
+ var shared_ini_file_loader_1 = require_dist_cjs27();
26331
26065
  var constants_1 = require_constants8();
26332
26066
  var getNewSsoOidcToken_1 = require_getNewSsoOidcToken();
26333
26067
  var validateTokenExpiry_1 = require_validateTokenExpiry();
@@ -26410,7 +26144,7 @@ var require_fromStatic3 = __commonJS({
26410
26144
  "use strict";
26411
26145
  Object.defineProperty(exports, "__esModule", { value: true });
26412
26146
  exports.fromStatic = void 0;
26413
- var property_provider_1 = require_dist_cjs17();
26147
+ var property_provider_1 = require_dist_cjs18();
26414
26148
  var fromStatic = ({ token }) => async () => {
26415
26149
  if (!token || !token.token) {
26416
26150
  throw new property_provider_1.TokenProviderError(`Please pass a valid token to fromStatic`, false);
@@ -26427,7 +26161,7 @@ var require_nodeProvider = __commonJS({
26427
26161
  "use strict";
26428
26162
  Object.defineProperty(exports, "__esModule", { value: true });
26429
26163
  exports.nodeProvider = void 0;
26430
- var property_provider_1 = require_dist_cjs17();
26164
+ var property_provider_1 = require_dist_cjs18();
26431
26165
  var fromSso_1 = require_fromSso();
26432
26166
  var nodeProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)((0, fromSso_1.fromSso)(init), async () => {
26433
26167
  throw new property_provider_1.TokenProviderError("Could not load token from any providers", false);
@@ -26437,7 +26171,7 @@ var require_nodeProvider = __commonJS({
26437
26171
  });
26438
26172
 
26439
26173
  // node_modules/@aws-sdk/token-providers/dist-cjs/index.js
26440
- var require_dist_cjs43 = __commonJS({
26174
+ var require_dist_cjs44 = __commonJS({
26441
26175
  "node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports) {
26442
26176
  "use strict";
26443
26177
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26454,10 +26188,10 @@ var require_resolveSSOCredentials = __commonJS({
26454
26188
  "use strict";
26455
26189
  Object.defineProperty(exports, "__esModule", { value: true });
26456
26190
  exports.resolveSSOCredentials = void 0;
26457
- var client_sso_1 = require_dist_cjs41();
26458
- var property_provider_1 = require_dist_cjs17();
26459
- var shared_ini_file_loader_1 = require_dist_cjs26();
26460
- var token_providers_1 = require_dist_cjs43();
26191
+ var client_sso_1 = require_dist_cjs42();
26192
+ var property_provider_1 = require_dist_cjs18();
26193
+ var shared_ini_file_loader_1 = require_dist_cjs27();
26194
+ var token_providers_1 = require_dist_cjs44();
26461
26195
  var EXPIRE_WINDOW_MS = 15 * 60 * 1e3;
26462
26196
  var SHOULD_FAIL_CREDENTIAL_CHAIN = false;
26463
26197
  var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoRegion, ssoRoleName, ssoClient, profile }) => {
@@ -26511,7 +26245,7 @@ var require_validateSsoProfile = __commonJS({
26511
26245
  "use strict";
26512
26246
  Object.defineProperty(exports, "__esModule", { value: true });
26513
26247
  exports.validateSsoProfile = void 0;
26514
- var property_provider_1 = require_dist_cjs17();
26248
+ var property_provider_1 = require_dist_cjs18();
26515
26249
  var validateSsoProfile = (profile) => {
26516
26250
  const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile;
26517
26251
  if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) {
@@ -26530,8 +26264,8 @@ var require_fromSSO = __commonJS({
26530
26264
  "use strict";
26531
26265
  Object.defineProperty(exports, "__esModule", { value: true });
26532
26266
  exports.fromSSO = void 0;
26533
- var property_provider_1 = require_dist_cjs17();
26534
- var shared_ini_file_loader_1 = require_dist_cjs26();
26267
+ var property_provider_1 = require_dist_cjs18();
26268
+ var shared_ini_file_loader_1 = require_dist_cjs27();
26535
26269
  var isSsoProfile_1 = require_isSsoProfile();
26536
26270
  var resolveSSOCredentials_1 = require_resolveSSOCredentials();
26537
26271
  var validateSsoProfile_1 = require_validateSsoProfile();
@@ -26597,7 +26331,7 @@ var require_types6 = __commonJS({
26597
26331
  });
26598
26332
 
26599
26333
  // node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
26600
- var require_dist_cjs44 = __commonJS({
26334
+ var require_dist_cjs45 = __commonJS({
26601
26335
  "node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js"(exports) {
26602
26336
  "use strict";
26603
26337
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26615,8 +26349,8 @@ var require_resolveSsoCredentials = __commonJS({
26615
26349
  "use strict";
26616
26350
  Object.defineProperty(exports, "__esModule", { value: true });
26617
26351
  exports.resolveSsoCredentials = exports.isSsoProfile = void 0;
26618
- var credential_provider_sso_1 = require_dist_cjs44();
26619
- var credential_provider_sso_2 = require_dist_cjs44();
26352
+ var credential_provider_sso_1 = require_dist_cjs45();
26353
+ var credential_provider_sso_2 = require_dist_cjs45();
26620
26354
  Object.defineProperty(exports, "isSsoProfile", { enumerable: true, get: function() {
26621
26355
  return credential_provider_sso_2.isSsoProfile;
26622
26356
  } });
@@ -26657,7 +26391,7 @@ var require_fromWebToken = __commonJS({
26657
26391
  "use strict";
26658
26392
  Object.defineProperty(exports, "__esModule", { value: true });
26659
26393
  exports.fromWebToken = void 0;
26660
- var property_provider_1 = require_dist_cjs17();
26394
+ var property_provider_1 = require_dist_cjs18();
26661
26395
  var fromWebToken = (init) => () => {
26662
26396
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds, roleAssumerWithWebIdentity } = init;
26663
26397
  if (!roleAssumerWithWebIdentity) {
@@ -26683,7 +26417,7 @@ var require_fromTokenFile = __commonJS({
26683
26417
  "use strict";
26684
26418
  Object.defineProperty(exports, "__esModule", { value: true });
26685
26419
  exports.fromTokenFile = void 0;
26686
- var property_provider_1 = require_dist_cjs17();
26420
+ var property_provider_1 = require_dist_cjs18();
26687
26421
  var fs_1 = require("fs");
26688
26422
  var fromWebToken_1 = require_fromWebToken();
26689
26423
  var ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
@@ -26712,7 +26446,7 @@ var require_fromTokenFile = __commonJS({
26712
26446
  });
26713
26447
 
26714
26448
  // node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
26715
- var require_dist_cjs45 = __commonJS({
26449
+ var require_dist_cjs46 = __commonJS({
26716
26450
  "node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js"(exports) {
26717
26451
  "use strict";
26718
26452
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26728,7 +26462,7 @@ var require_resolveWebIdentityCredentials = __commonJS({
26728
26462
  "use strict";
26729
26463
  Object.defineProperty(exports, "__esModule", { value: true });
26730
26464
  exports.resolveWebIdentityCredentials = exports.isWebIdentityProfile = void 0;
26731
- var credential_provider_web_identity_1 = require_dist_cjs45();
26465
+ var credential_provider_web_identity_1 = require_dist_cjs46();
26732
26466
  var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
26733
26467
  exports.isWebIdentityProfile = isWebIdentityProfile;
26734
26468
  var resolveWebIdentityCredentials = async (profile, options) => (0, credential_provider_web_identity_1.fromTokenFile)({
@@ -26747,7 +26481,7 @@ var require_resolveProfileData = __commonJS({
26747
26481
  "use strict";
26748
26482
  Object.defineProperty(exports, "__esModule", { value: true });
26749
26483
  exports.resolveProfileData = void 0;
26750
- var property_provider_1 = require_dist_cjs17();
26484
+ var property_provider_1 = require_dist_cjs18();
26751
26485
  var resolveAssumeRoleCredentials_1 = require_resolveAssumeRoleCredentials();
26752
26486
  var resolveProcessCredentials_1 = require_resolveProcessCredentials2();
26753
26487
  var resolveSsoCredentials_1 = require_resolveSsoCredentials();
@@ -26785,7 +26519,7 @@ var require_fromIni = __commonJS({
26785
26519
  "use strict";
26786
26520
  Object.defineProperty(exports, "__esModule", { value: true });
26787
26521
  exports.fromIni = void 0;
26788
- var shared_ini_file_loader_1 = require_dist_cjs26();
26522
+ var shared_ini_file_loader_1 = require_dist_cjs27();
26789
26523
  var resolveProfileData_1 = require_resolveProfileData();
26790
26524
  var fromIni = (init = {}) => async () => {
26791
26525
  const profiles = await (0, shared_ini_file_loader_1.parseKnownFiles)(init);
@@ -26796,7 +26530,7 @@ var require_fromIni = __commonJS({
26796
26530
  });
26797
26531
 
26798
26532
  // node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
26799
- var require_dist_cjs46 = __commonJS({
26533
+ var require_dist_cjs47 = __commonJS({
26800
26534
  "node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js"(exports) {
26801
26535
  "use strict";
26802
26536
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26811,8 +26545,8 @@ var require_remoteProvider = __commonJS({
26811
26545
  "use strict";
26812
26546
  Object.defineProperty(exports, "__esModule", { value: true });
26813
26547
  exports.remoteProvider = exports.ENV_IMDS_DISABLED = void 0;
26814
- var credential_provider_imds_1 = require_dist_cjs28();
26815
- var property_provider_1 = require_dist_cjs17();
26548
+ var credential_provider_imds_1 = require_dist_cjs29();
26549
+ var property_provider_1 = require_dist_cjs18();
26816
26550
  exports.ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
26817
26551
  var remoteProvider = (init) => {
26818
26552
  if (process.env[credential_provider_imds_1.ENV_CMDS_RELATIVE_URI] || process.env[credential_provider_imds_1.ENV_CMDS_FULL_URI]) {
@@ -26835,13 +26569,13 @@ var require_defaultProvider = __commonJS({
26835
26569
  "use strict";
26836
26570
  Object.defineProperty(exports, "__esModule", { value: true });
26837
26571
  exports.defaultProvider = void 0;
26838
- var credential_provider_env_1 = require_dist_cjs25();
26839
- var credential_provider_ini_1 = require_dist_cjs46();
26840
- var credential_provider_process_1 = require_dist_cjs29();
26841
- var credential_provider_sso_1 = require_dist_cjs44();
26842
- var credential_provider_web_identity_1 = require_dist_cjs45();
26843
- var property_provider_1 = require_dist_cjs17();
26844
- var shared_ini_file_loader_1 = require_dist_cjs26();
26572
+ var credential_provider_env_1 = require_dist_cjs26();
26573
+ var credential_provider_ini_1 = require_dist_cjs47();
26574
+ var credential_provider_process_1 = require_dist_cjs30();
26575
+ var credential_provider_sso_1 = require_dist_cjs45();
26576
+ var credential_provider_web_identity_1 = require_dist_cjs46();
26577
+ var property_provider_1 = require_dist_cjs18();
26578
+ var shared_ini_file_loader_1 = require_dist_cjs27();
26845
26579
  var remoteProvider_1 = require_remoteProvider();
26846
26580
  var defaultProvider = (init = {}) => (0, property_provider_1.memoize)((0, property_provider_1.chain)(...init.profile || process.env[shared_ini_file_loader_1.ENV_PROFILE] ? [] : [(0, credential_provider_env_1.fromEnv)()], (0, credential_provider_sso_1.fromSSO)(init), (0, credential_provider_ini_1.fromIni)(init), (0, credential_provider_process_1.fromProcess)(init), (0, credential_provider_web_identity_1.fromTokenFile)(init), (0, remoteProvider_1.remoteProvider)(init), async () => {
26847
26581
  throw new property_provider_1.CredentialsProviderError("Could not load credentials from any providers", false);
@@ -26851,7 +26585,7 @@ var require_defaultProvider = __commonJS({
26851
26585
  });
26852
26586
 
26853
26587
  // node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
26854
- var require_dist_cjs47 = __commonJS({
26588
+ var require_dist_cjs48 = __commonJS({
26855
26589
  "node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js"(exports) {
26856
26590
  "use strict";
26857
26591
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -26866,882 +26600,47 @@ var require_ruleset3 = __commonJS({
26866
26600
  "use strict";
26867
26601
  Object.defineProperty(exports, "__esModule", { value: true });
26868
26602
  exports.ruleSet = void 0;
26869
- exports.ruleSet = {
26870
- version: "1.0",
26871
- parameters: {
26872
- Region: {
26873
- builtIn: "AWS::Region",
26874
- required: false,
26875
- documentation: "The AWS region used to dispatch the request.",
26876
- type: "String"
26877
- },
26878
- UseDualStack: {
26879
- builtIn: "AWS::UseDualStack",
26880
- required: true,
26881
- default: false,
26882
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
26883
- type: "Boolean"
26884
- },
26885
- UseFIPS: {
26886
- builtIn: "AWS::UseFIPS",
26887
- required: true,
26888
- default: false,
26889
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
26890
- type: "Boolean"
26891
- },
26892
- Endpoint: {
26893
- builtIn: "SDK::Endpoint",
26894
- required: false,
26895
- documentation: "Override the endpoint used to send this request",
26896
- type: "String"
26897
- },
26898
- UseGlobalEndpoint: {
26899
- builtIn: "AWS::STS::UseGlobalEndpoint",
26900
- required: true,
26901
- default: false,
26902
- documentation: "Whether the global endpoint should be used, rather then the regional endpoint for us-east-1.",
26903
- type: "Boolean"
26904
- }
26905
- },
26906
- rules: [
26907
- {
26908
- conditions: [
26909
- {
26910
- fn: "aws.partition",
26911
- argv: [
26912
- {
26913
- ref: "Region"
26914
- }
26915
- ],
26916
- assign: "PartitionResult"
26917
- }
26918
- ],
26919
- type: "tree",
26920
- rules: [
26921
- {
26922
- conditions: [
26923
- {
26924
- fn: "booleanEquals",
26925
- argv: [
26926
- {
26927
- ref: "UseGlobalEndpoint"
26928
- },
26929
- true
26930
- ]
26931
- },
26932
- {
26933
- fn: "booleanEquals",
26934
- argv: [
26935
- {
26936
- ref: "UseFIPS"
26937
- },
26938
- false
26939
- ]
26940
- },
26941
- {
26942
- fn: "booleanEquals",
26943
- argv: [
26944
- {
26945
- ref: "UseDualStack"
26946
- },
26947
- false
26948
- ]
26949
- },
26950
- {
26951
- fn: "not",
26952
- argv: [
26953
- {
26954
- fn: "isSet",
26955
- argv: [
26956
- {
26957
- ref: "Endpoint"
26958
- }
26959
- ]
26960
- }
26961
- ]
26962
- }
26963
- ],
26964
- type: "tree",
26965
- rules: [
26966
- {
26967
- conditions: [
26968
- {
26969
- fn: "stringEquals",
26970
- argv: [
26971
- {
26972
- ref: "Region"
26973
- },
26974
- "ap-northeast-1"
26975
- ]
26976
- }
26977
- ],
26978
- endpoint: {
26979
- url: "https://sts.amazonaws.com",
26980
- properties: {
26981
- authSchemes: [
26982
- {
26983
- name: "sigv4",
26984
- signingName: "sts",
26985
- signingRegion: "us-east-1"
26986
- }
26987
- ]
26988
- },
26989
- headers: {}
26990
- },
26991
- type: "endpoint"
26992
- },
26993
- {
26994
- conditions: [
26995
- {
26996
- fn: "stringEquals",
26997
- argv: [
26998
- {
26999
- ref: "Region"
27000
- },
27001
- "ap-south-1"
27002
- ]
27003
- }
27004
- ],
27005
- endpoint: {
27006
- url: "https://sts.amazonaws.com",
27007
- properties: {
27008
- authSchemes: [
27009
- {
27010
- name: "sigv4",
27011
- signingName: "sts",
27012
- signingRegion: "us-east-1"
27013
- }
27014
- ]
27015
- },
27016
- headers: {}
27017
- },
27018
- type: "endpoint"
27019
- },
27020
- {
27021
- conditions: [
27022
- {
27023
- fn: "stringEquals",
27024
- argv: [
27025
- {
27026
- ref: "Region"
27027
- },
27028
- "ap-southeast-1"
27029
- ]
27030
- }
27031
- ],
27032
- endpoint: {
27033
- url: "https://sts.amazonaws.com",
27034
- properties: {
27035
- authSchemes: [
27036
- {
27037
- name: "sigv4",
27038
- signingName: "sts",
27039
- signingRegion: "us-east-1"
27040
- }
27041
- ]
27042
- },
27043
- headers: {}
27044
- },
27045
- type: "endpoint"
27046
- },
27047
- {
27048
- conditions: [
27049
- {
27050
- fn: "stringEquals",
27051
- argv: [
27052
- {
27053
- ref: "Region"
27054
- },
27055
- "ap-southeast-2"
27056
- ]
27057
- }
27058
- ],
27059
- endpoint: {
27060
- url: "https://sts.amazonaws.com",
27061
- properties: {
27062
- authSchemes: [
27063
- {
27064
- name: "sigv4",
27065
- signingName: "sts",
27066
- signingRegion: "us-east-1"
27067
- }
27068
- ]
27069
- },
27070
- headers: {}
27071
- },
27072
- type: "endpoint"
27073
- },
27074
- {
27075
- conditions: [
27076
- {
27077
- fn: "stringEquals",
27078
- argv: [
27079
- {
27080
- ref: "Region"
27081
- },
27082
- "aws-global"
27083
- ]
27084
- }
27085
- ],
27086
- endpoint: {
27087
- url: "https://sts.amazonaws.com",
27088
- properties: {
27089
- authSchemes: [
27090
- {
27091
- name: "sigv4",
27092
- signingName: "sts",
27093
- signingRegion: "us-east-1"
27094
- }
27095
- ]
27096
- },
27097
- headers: {}
27098
- },
27099
- type: "endpoint"
27100
- },
27101
- {
27102
- conditions: [
27103
- {
27104
- fn: "stringEquals",
27105
- argv: [
27106
- {
27107
- ref: "Region"
27108
- },
27109
- "ca-central-1"
27110
- ]
27111
- }
27112
- ],
27113
- endpoint: {
27114
- url: "https://sts.amazonaws.com",
27115
- properties: {
27116
- authSchemes: [
27117
- {
27118
- name: "sigv4",
27119
- signingName: "sts",
27120
- signingRegion: "us-east-1"
27121
- }
27122
- ]
27123
- },
27124
- headers: {}
27125
- },
27126
- type: "endpoint"
27127
- },
27128
- {
27129
- conditions: [
27130
- {
27131
- fn: "stringEquals",
27132
- argv: [
27133
- {
27134
- ref: "Region"
27135
- },
27136
- "eu-central-1"
27137
- ]
27138
- }
27139
- ],
27140
- endpoint: {
27141
- url: "https://sts.amazonaws.com",
27142
- properties: {
27143
- authSchemes: [
27144
- {
27145
- name: "sigv4",
27146
- signingName: "sts",
27147
- signingRegion: "us-east-1"
27148
- }
27149
- ]
27150
- },
27151
- headers: {}
27152
- },
27153
- type: "endpoint"
27154
- },
27155
- {
27156
- conditions: [
27157
- {
27158
- fn: "stringEquals",
27159
- argv: [
27160
- {
27161
- ref: "Region"
27162
- },
27163
- "eu-north-1"
27164
- ]
27165
- }
27166
- ],
27167
- endpoint: {
27168
- url: "https://sts.amazonaws.com",
27169
- properties: {
27170
- authSchemes: [
27171
- {
27172
- name: "sigv4",
27173
- signingName: "sts",
27174
- signingRegion: "us-east-1"
27175
- }
27176
- ]
27177
- },
27178
- headers: {}
27179
- },
27180
- type: "endpoint"
27181
- },
27182
- {
27183
- conditions: [
27184
- {
27185
- fn: "stringEquals",
27186
- argv: [
27187
- {
27188
- ref: "Region"
27189
- },
27190
- "eu-west-1"
27191
- ]
27192
- }
27193
- ],
27194
- endpoint: {
27195
- url: "https://sts.amazonaws.com",
27196
- properties: {
27197
- authSchemes: [
27198
- {
27199
- name: "sigv4",
27200
- signingName: "sts",
27201
- signingRegion: "us-east-1"
27202
- }
27203
- ]
27204
- },
27205
- headers: {}
27206
- },
27207
- type: "endpoint"
27208
- },
27209
- {
27210
- conditions: [
27211
- {
27212
- fn: "stringEquals",
27213
- argv: [
27214
- {
27215
- ref: "Region"
27216
- },
27217
- "eu-west-2"
27218
- ]
27219
- }
27220
- ],
27221
- endpoint: {
27222
- url: "https://sts.amazonaws.com",
27223
- properties: {
27224
- authSchemes: [
27225
- {
27226
- name: "sigv4",
27227
- signingName: "sts",
27228
- signingRegion: "us-east-1"
27229
- }
27230
- ]
27231
- },
27232
- headers: {}
27233
- },
27234
- type: "endpoint"
27235
- },
27236
- {
27237
- conditions: [
27238
- {
27239
- fn: "stringEquals",
27240
- argv: [
27241
- {
27242
- ref: "Region"
27243
- },
27244
- "eu-west-3"
27245
- ]
27246
- }
27247
- ],
27248
- endpoint: {
27249
- url: "https://sts.amazonaws.com",
27250
- properties: {
27251
- authSchemes: [
27252
- {
27253
- name: "sigv4",
27254
- signingName: "sts",
27255
- signingRegion: "us-east-1"
27256
- }
27257
- ]
27258
- },
27259
- headers: {}
27260
- },
27261
- type: "endpoint"
27262
- },
27263
- {
27264
- conditions: [
27265
- {
27266
- fn: "stringEquals",
27267
- argv: [
27268
- {
27269
- ref: "Region"
27270
- },
27271
- "sa-east-1"
27272
- ]
27273
- }
27274
- ],
27275
- endpoint: {
27276
- url: "https://sts.amazonaws.com",
27277
- properties: {
27278
- authSchemes: [
27279
- {
27280
- name: "sigv4",
27281
- signingName: "sts",
27282
- signingRegion: "us-east-1"
27283
- }
27284
- ]
27285
- },
27286
- headers: {}
27287
- },
27288
- type: "endpoint"
27289
- },
27290
- {
27291
- conditions: [
27292
- {
27293
- fn: "stringEquals",
27294
- argv: [
27295
- {
27296
- ref: "Region"
27297
- },
27298
- "us-east-1"
27299
- ]
27300
- }
27301
- ],
27302
- endpoint: {
27303
- url: "https://sts.amazonaws.com",
27304
- properties: {
27305
- authSchemes: [
27306
- {
27307
- name: "sigv4",
27308
- signingName: "sts",
27309
- signingRegion: "us-east-1"
27310
- }
27311
- ]
27312
- },
27313
- headers: {}
27314
- },
27315
- type: "endpoint"
27316
- },
27317
- {
27318
- conditions: [
27319
- {
27320
- fn: "stringEquals",
27321
- argv: [
27322
- {
27323
- ref: "Region"
27324
- },
27325
- "us-east-2"
27326
- ]
27327
- }
27328
- ],
27329
- endpoint: {
27330
- url: "https://sts.amazonaws.com",
27331
- properties: {
27332
- authSchemes: [
27333
- {
27334
- name: "sigv4",
27335
- signingName: "sts",
27336
- signingRegion: "us-east-1"
27337
- }
27338
- ]
27339
- },
27340
- headers: {}
27341
- },
27342
- type: "endpoint"
27343
- },
27344
- {
27345
- conditions: [
27346
- {
27347
- fn: "stringEquals",
27348
- argv: [
27349
- {
27350
- ref: "Region"
27351
- },
27352
- "us-west-1"
27353
- ]
27354
- }
27355
- ],
27356
- endpoint: {
27357
- url: "https://sts.amazonaws.com",
27358
- properties: {
27359
- authSchemes: [
27360
- {
27361
- name: "sigv4",
27362
- signingName: "sts",
27363
- signingRegion: "us-east-1"
27364
- }
27365
- ]
27366
- },
27367
- headers: {}
27368
- },
27369
- type: "endpoint"
27370
- },
27371
- {
27372
- conditions: [
27373
- {
27374
- fn: "stringEquals",
27375
- argv: [
27376
- {
27377
- ref: "Region"
27378
- },
27379
- "us-west-2"
27380
- ]
27381
- }
27382
- ],
27383
- endpoint: {
27384
- url: "https://sts.amazonaws.com",
27385
- properties: {
27386
- authSchemes: [
27387
- {
27388
- name: "sigv4",
27389
- signingName: "sts",
27390
- signingRegion: "us-east-1"
27391
- }
27392
- ]
27393
- },
27394
- headers: {}
27395
- },
27396
- type: "endpoint"
27397
- },
27398
- {
27399
- conditions: [],
27400
- endpoint: {
27401
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27402
- properties: {
27403
- authSchemes: [
27404
- {
27405
- name: "sigv4",
27406
- signingName: "sts",
27407
- signingRegion: "{Region}"
27408
- }
27409
- ]
27410
- },
27411
- headers: {}
27412
- },
27413
- type: "endpoint"
27414
- }
27415
- ]
27416
- },
27417
- {
27418
- conditions: [
27419
- {
27420
- fn: "isSet",
27421
- argv: [
27422
- {
27423
- ref: "Endpoint"
27424
- }
27425
- ]
27426
- },
27427
- {
27428
- fn: "parseURL",
27429
- argv: [
27430
- {
27431
- ref: "Endpoint"
27432
- }
27433
- ],
27434
- assign: "url"
27435
- }
27436
- ],
27437
- type: "tree",
27438
- rules: [
27439
- {
27440
- conditions: [
27441
- {
27442
- fn: "booleanEquals",
27443
- argv: [
27444
- {
27445
- ref: "UseFIPS"
27446
- },
27447
- true
27448
- ]
27449
- }
27450
- ],
27451
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
27452
- type: "error"
27453
- },
27454
- {
27455
- conditions: [],
27456
- type: "tree",
27457
- rules: [
27458
- {
27459
- conditions: [
27460
- {
27461
- fn: "booleanEquals",
27462
- argv: [
27463
- {
27464
- ref: "UseDualStack"
27465
- },
27466
- true
27467
- ]
27468
- }
27469
- ],
27470
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
27471
- type: "error"
27472
- },
27473
- {
27474
- conditions: [],
27475
- endpoint: {
27476
- url: {
27477
- ref: "Endpoint"
27478
- },
27479
- properties: {},
27480
- headers: {}
27481
- },
27482
- type: "endpoint"
27483
- }
27484
- ]
27485
- }
27486
- ]
27487
- },
27488
- {
27489
- conditions: [
27490
- {
27491
- fn: "booleanEquals",
27492
- argv: [
27493
- {
27494
- ref: "UseFIPS"
27495
- },
27496
- true
27497
- ]
27498
- },
27499
- {
27500
- fn: "booleanEquals",
27501
- argv: [
27502
- {
27503
- ref: "UseDualStack"
27504
- },
27505
- true
27506
- ]
27507
- }
27508
- ],
27509
- type: "tree",
27510
- rules: [
27511
- {
27512
- conditions: [
27513
- {
27514
- fn: "booleanEquals",
27515
- argv: [
27516
- true,
27517
- {
27518
- fn: "getAttr",
27519
- argv: [
27520
- {
27521
- ref: "PartitionResult"
27522
- },
27523
- "supportsFIPS"
27524
- ]
27525
- }
27526
- ]
27527
- },
27528
- {
27529
- fn: "booleanEquals",
27530
- argv: [
27531
- true,
27532
- {
27533
- fn: "getAttr",
27534
- argv: [
27535
- {
27536
- ref: "PartitionResult"
27537
- },
27538
- "supportsDualStack"
27539
- ]
27540
- }
27541
- ]
27542
- }
27543
- ],
27544
- type: "tree",
27545
- rules: [
27546
- {
27547
- conditions: [],
27548
- endpoint: {
27549
- url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
27550
- properties: {},
27551
- headers: {}
27552
- },
27553
- type: "endpoint"
27554
- }
27555
- ]
27556
- },
27557
- {
27558
- conditions: [],
27559
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
27560
- type: "error"
27561
- }
27562
- ]
27563
- },
27564
- {
27565
- conditions: [
27566
- {
27567
- fn: "booleanEquals",
27568
- argv: [
27569
- {
27570
- ref: "UseFIPS"
27571
- },
27572
- true
27573
- ]
27574
- }
27575
- ],
27576
- type: "tree",
27577
- rules: [
27578
- {
27579
- conditions: [
27580
- {
27581
- fn: "booleanEquals",
27582
- argv: [
27583
- true,
27584
- {
27585
- fn: "getAttr",
27586
- argv: [
27587
- {
27588
- ref: "PartitionResult"
27589
- },
27590
- "supportsFIPS"
27591
- ]
27592
- }
27593
- ]
27594
- }
27595
- ],
27596
- type: "tree",
27597
- rules: [
27598
- {
27599
- conditions: [],
27600
- type: "tree",
27601
- rules: [
27602
- {
27603
- conditions: [
27604
- {
27605
- fn: "stringEquals",
27606
- argv: [
27607
- "aws-us-gov",
27608
- {
27609
- fn: "getAttr",
27610
- argv: [
27611
- {
27612
- ref: "PartitionResult"
27613
- },
27614
- "name"
27615
- ]
27616
- }
27617
- ]
27618
- }
27619
- ],
27620
- endpoint: {
27621
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27622
- properties: {},
27623
- headers: {}
27624
- },
27625
- type: "endpoint"
27626
- },
27627
- {
27628
- conditions: [],
27629
- endpoint: {
27630
- url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
27631
- properties: {},
27632
- headers: {}
27633
- },
27634
- type: "endpoint"
27635
- }
27636
- ]
27637
- }
27638
- ]
27639
- },
27640
- {
27641
- conditions: [],
27642
- error: "FIPS is enabled but this partition does not support FIPS",
27643
- type: "error"
27644
- }
27645
- ]
27646
- },
27647
- {
27648
- conditions: [
27649
- {
27650
- fn: "booleanEquals",
27651
- argv: [
27652
- {
27653
- ref: "UseDualStack"
27654
- },
27655
- true
27656
- ]
27657
- }
27658
- ],
27659
- type: "tree",
27660
- rules: [
27661
- {
27662
- conditions: [
27663
- {
27664
- fn: "booleanEquals",
27665
- argv: [
27666
- true,
27667
- {
27668
- fn: "getAttr",
27669
- argv: [
27670
- {
27671
- ref: "PartitionResult"
27672
- },
27673
- "supportsDualStack"
27674
- ]
27675
- }
27676
- ]
27677
- }
27678
- ],
27679
- type: "tree",
27680
- rules: [
27681
- {
27682
- conditions: [],
27683
- endpoint: {
27684
- url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
27685
- properties: {},
27686
- headers: {}
27687
- },
27688
- type: "endpoint"
27689
- }
27690
- ]
27691
- },
27692
- {
27693
- conditions: [],
27694
- error: "DualStack is enabled but this partition does not support DualStack",
27695
- type: "error"
27696
- }
27697
- ]
27698
- },
27699
- {
27700
- conditions: [],
27701
- type: "tree",
27702
- rules: [
27703
- {
27704
- conditions: [
27705
- {
27706
- fn: "stringEquals",
27707
- argv: [
27708
- {
27709
- ref: "Region"
27710
- },
27711
- "aws-global"
27712
- ]
27713
- }
27714
- ],
27715
- endpoint: {
27716
- url: "https://sts.amazonaws.com",
27717
- properties: {
27718
- authSchemes: [
27719
- {
27720
- name: "sigv4",
27721
- signingRegion: "us-east-1",
27722
- signingName: "sts"
27723
- }
27724
- ]
27725
- },
27726
- headers: {}
27727
- },
27728
- type: "endpoint"
27729
- },
27730
- {
27731
- conditions: [],
27732
- endpoint: {
27733
- url: "https://sts.{Region}.{PartitionResult#dnsSuffix}",
27734
- properties: {},
27735
- headers: {}
27736
- },
27737
- type: "endpoint"
27738
- }
27739
- ]
27740
- }
27741
- ]
27742
- }
27743
- ]
27744
- };
26603
+ var H = "required";
26604
+ var I = "fn";
26605
+ var J = "argv";
26606
+ var K = "ref";
26607
+ var L = "properties";
26608
+ var M = "headers";
26609
+ var a = false;
26610
+ var b = true;
26611
+ var c = "PartitionResult";
26612
+ var d = "tree";
26613
+ var e = "booleanEquals";
26614
+ var f = "stringEquals";
26615
+ var g = "https://sts.amazonaws.com";
26616
+ var h = "sigv4";
26617
+ var i = "sts";
26618
+ var j = "us-east-1";
26619
+ var k = "endpoint";
26620
+ var l = "https://sts.{Region}.{PartitionResult#dnsSuffix}";
26621
+ var m = "error";
26622
+ var n = "getAttr";
26623
+ var o = { [H]: false, "type": "String" };
26624
+ var p = { [H]: true, "default": false, "type": "Boolean" };
26625
+ var q = { [K]: "Region" };
26626
+ var r = { [K]: "UseFIPS" };
26627
+ var s = { [K]: "UseDualStack" };
26628
+ var t = { [I]: "isSet", [J]: [{ [K]: "Endpoint" }] };
26629
+ var u = { [K]: "Endpoint" };
26630
+ var v = { "url": g, [L]: { "authSchemes": [{ "name": h, "signingName": i, "signingRegion": j }] }, [M]: {} };
26631
+ var w = {};
26632
+ var x = { [I]: e, [J]: [r, true] };
26633
+ var y = { [I]: e, [J]: [s, true] };
26634
+ var z = { [I]: e, [J]: [true, { [I]: n, [J]: [{ [K]: c }, "supportsFIPS"] }] };
26635
+ var A = { [K]: c };
26636
+ var B = { [I]: e, [J]: [true, { [I]: n, [J]: [A, "supportsDualStack"] }] };
26637
+ var C = { "url": l, [L]: {}, [M]: {} };
26638
+ var D = [u];
26639
+ var E = [{ [I]: f, [J]: [q, "aws-global"] }];
26640
+ var F = [x];
26641
+ var G = [y];
26642
+ var _data = { version: "1.0", parameters: { Region: o, UseDualStack: p, UseFIPS: p, Endpoint: o, UseGlobalEndpoint: p }, rules: [{ conditions: [{ [I]: "aws.partition", [J]: [q], assign: c }], type: d, rules: [{ conditions: [{ [I]: e, [J]: [{ [K]: "UseGlobalEndpoint" }, b] }, { [I]: e, [J]: [r, a] }, { [I]: e, [J]: [s, a] }, { [I]: "not", [J]: [t] }], type: d, rules: [{ conditions: [{ [I]: f, [J]: [q, "ap-northeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-south-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ap-southeast-2"] }], endpoint: v, type: k }, { conditions: E, endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "ca-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-central-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-north-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "eu-west-3"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "sa-east-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, j] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-east-2"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-1"] }], endpoint: v, type: k }, { conditions: [{ [I]: f, [J]: [q, "us-west-2"] }], endpoint: v, type: k }, { endpoint: { url: l, [L]: { authSchemes: [{ name: h, signingName: i, signingRegion: "{Region}" }] }, [M]: w }, type: k }] }, { conditions: [t, { [I]: "parseURL", [J]: D, assign: "url" }], type: d, rules: [{ conditions: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: m }, { type: d, rules: [{ conditions: G, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: m }, { endpoint: { url: u, [L]: w, [M]: w }, type: k }] }] }, { conditions: [x, y], type: d, rules: [{ conditions: [z, B], type: d, rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: m }] }, { conditions: F, type: d, rules: [{ conditions: [z], type: d, rules: [{ type: d, rules: [{ conditions: [{ [I]: f, [J]: ["aws-us-gov", { [I]: n, [J]: [A, "name"] }] }], endpoint: C, type: k }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", [L]: w, [M]: w }, type: k }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: m }] }, { conditions: G, type: d, rules: [{ conditions: [B], type: d, rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", [L]: w, [M]: w }, type: k }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: m }] }, { type: d, rules: [{ conditions: E, endpoint: { url: g, [L]: { authSchemes: [{ name: h, signingRegion: j, signingName: i }] }, [M]: w }, type: k }, { endpoint: C, type: k }] }] }] };
26643
+ exports.ruleSet = _data;
27745
26644
  }
27746
26645
  });
27747
26646
 
@@ -27751,7 +26650,7 @@ var require_endpointResolver3 = __commonJS({
27751
26650
  "use strict";
27752
26651
  Object.defineProperty(exports, "__esModule", { value: true });
27753
26652
  exports.defaultEndpointResolver = void 0;
27754
- var util_endpoints_1 = require_dist_cjs39();
26653
+ var util_endpoints_1 = require_dist_cjs40();
27755
26654
  var ruleset_1 = require_ruleset3();
27756
26655
  var defaultEndpointResolver = (endpointParams, context = {}) => {
27757
26656
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -27771,7 +26670,7 @@ var require_runtimeConfig_shared3 = __commonJS({
27771
26670
  exports.getRuntimeConfig = void 0;
27772
26671
  var smithy_client_1 = require_dist_cjs7();
27773
26672
  var url_parser_1 = require_dist_cjs2();
27774
- var util_base64_1 = require_dist_cjs37();
26673
+ var util_base64_1 = require_dist_cjs38();
27775
26674
  var endpointResolver_1 = require_endpointResolver3();
27776
26675
  var getRuntimeConfig = (config) => ({
27777
26676
  apiVersion: "2011-06-15",
@@ -27797,17 +26696,18 @@ var require_runtimeConfig3 = __commonJS({
27797
26696
  var package_json_1 = tslib_1.__importDefault(require_package2());
27798
26697
  var defaultStsRoleAssumers_1 = require_defaultStsRoleAssumers();
27799
26698
  var config_resolver_1 = require_dist_cjs10();
27800
- var credential_provider_node_1 = require_dist_cjs47();
27801
- var hash_node_1 = require_dist_cjs31();
27802
- var middleware_retry_1 = require_dist_cjs16();
27803
- var node_config_provider_1 = require_dist_cjs27();
27804
- var node_http_handler_1 = require_dist_cjs33();
27805
- var util_body_length_node_1 = require_dist_cjs34();
27806
- var util_user_agent_node_1 = require_dist_cjs35();
27807
- var util_utf8_node_1 = require_dist_cjs36();
26699
+ var credential_provider_node_1 = require_dist_cjs48();
26700
+ var hash_node_1 = require_dist_cjs32();
26701
+ var middleware_retry_1 = require_dist_cjs17();
26702
+ var node_config_provider_1 = require_dist_cjs28();
26703
+ var node_http_handler_1 = require_dist_cjs34();
26704
+ var util_body_length_node_1 = require_dist_cjs35();
26705
+ var util_retry_1 = require_dist_cjs16();
26706
+ var util_user_agent_node_1 = require_dist_cjs36();
26707
+ var util_utf8_node_1 = require_dist_cjs37();
27808
26708
  var runtimeConfig_shared_1 = require_runtimeConfig_shared3();
27809
26709
  var smithy_client_1 = require_dist_cjs7();
27810
- var util_defaults_mode_node_1 = require_dist_cjs40();
26710
+ var util_defaults_mode_node_1 = require_dist_cjs41();
27811
26711
  var smithy_client_2 = require_dist_cjs7();
27812
26712
  var getRuntimeConfig = (config) => {
27813
26713
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
@@ -27827,7 +26727,7 @@ var require_runtimeConfig3 = __commonJS({
27827
26727
  requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
27828
26728
  retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
27829
26729
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
27830
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
26730
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
27831
26731
  }),
27832
26732
  sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
27833
26733
  streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
@@ -27853,9 +26753,9 @@ var require_STSClient = __commonJS({
27853
26753
  var middleware_host_header_1 = require_dist_cjs12();
27854
26754
  var middleware_logger_1 = require_dist_cjs13();
27855
26755
  var middleware_recursion_detection_1 = require_dist_cjs14();
27856
- var middleware_retry_1 = require_dist_cjs16();
27857
- var middleware_sdk_sts_1 = require_dist_cjs24();
27858
- var middleware_user_agent_1 = require_dist_cjs23();
26756
+ var middleware_retry_1 = require_dist_cjs17();
26757
+ var middleware_sdk_sts_1 = require_dist_cjs25();
26758
+ var middleware_user_agent_1 = require_dist_cjs24();
27859
26759
  var smithy_client_1 = require_dist_cjs7();
27860
26760
  var EndpointParameters_1 = require_EndpointParameters2();
27861
26761
  var runtimeConfig_1 = require_runtimeConfig3();
@@ -28065,7 +26965,7 @@ var require_models3 = __commonJS({
28065
26965
  });
28066
26966
 
28067
26967
  // node_modules/@aws-sdk/client-sts/dist-cjs/index.js
28068
- var require_dist_cjs48 = __commonJS({
26968
+ var require_dist_cjs49 = __commonJS({
28069
26969
  "node_modules/@aws-sdk/client-sts/dist-cjs/index.js"(exports) {
28070
26970
  "use strict";
28071
26971
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -28089,321 +26989,28 @@ var require_ruleset4 = __commonJS({
28089
26989
  "use strict";
28090
26990
  Object.defineProperty(exports, "__esModule", { value: true });
28091
26991
  exports.ruleSet = void 0;
28092
- exports.ruleSet = {
28093
- version: "1.0",
28094
- parameters: {
28095
- Region: {
28096
- builtIn: "AWS::Region",
28097
- required: true,
28098
- documentation: "The AWS region used to dispatch the request.",
28099
- type: "String"
28100
- },
28101
- UseDualStack: {
28102
- builtIn: "AWS::UseDualStack",
28103
- required: true,
28104
- default: false,
28105
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
28106
- type: "Boolean"
28107
- },
28108
- UseFIPS: {
28109
- builtIn: "AWS::UseFIPS",
28110
- required: true,
28111
- default: false,
28112
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
28113
- type: "Boolean"
28114
- },
28115
- Endpoint: {
28116
- builtIn: "SDK::Endpoint",
28117
- required: false,
28118
- documentation: "Override the endpoint used to send this request",
28119
- type: "String"
28120
- }
28121
- },
28122
- rules: [
28123
- {
28124
- conditions: [
28125
- {
28126
- fn: "aws.partition",
28127
- argv: [
28128
- {
28129
- ref: "Region"
28130
- }
28131
- ],
28132
- assign: "PartitionResult"
28133
- }
28134
- ],
28135
- type: "tree",
28136
- rules: [
28137
- {
28138
- conditions: [
28139
- {
28140
- fn: "isSet",
28141
- argv: [
28142
- {
28143
- ref: "Endpoint"
28144
- }
28145
- ]
28146
- },
28147
- {
28148
- fn: "parseURL",
28149
- argv: [
28150
- {
28151
- ref: "Endpoint"
28152
- }
28153
- ],
28154
- assign: "url"
28155
- }
28156
- ],
28157
- type: "tree",
28158
- rules: [
28159
- {
28160
- conditions: [
28161
- {
28162
- fn: "booleanEquals",
28163
- argv: [
28164
- {
28165
- ref: "UseFIPS"
28166
- },
28167
- true
28168
- ]
28169
- }
28170
- ],
28171
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
28172
- type: "error"
28173
- },
28174
- {
28175
- conditions: [],
28176
- type: "tree",
28177
- rules: [
28178
- {
28179
- conditions: [
28180
- {
28181
- fn: "booleanEquals",
28182
- argv: [
28183
- {
28184
- ref: "UseDualStack"
28185
- },
28186
- true
28187
- ]
28188
- }
28189
- ],
28190
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
28191
- type: "error"
28192
- },
28193
- {
28194
- conditions: [],
28195
- endpoint: {
28196
- url: {
28197
- ref: "Endpoint"
28198
- },
28199
- properties: {},
28200
- headers: {}
28201
- },
28202
- type: "endpoint"
28203
- }
28204
- ]
28205
- }
28206
- ]
28207
- },
28208
- {
28209
- conditions: [
28210
- {
28211
- fn: "booleanEquals",
28212
- argv: [
28213
- {
28214
- ref: "UseFIPS"
28215
- },
28216
- true
28217
- ]
28218
- },
28219
- {
28220
- fn: "booleanEquals",
28221
- argv: [
28222
- {
28223
- ref: "UseDualStack"
28224
- },
28225
- true
28226
- ]
28227
- }
28228
- ],
28229
- type: "tree",
28230
- rules: [
28231
- {
28232
- conditions: [
28233
- {
28234
- fn: "booleanEquals",
28235
- argv: [
28236
- true,
28237
- {
28238
- fn: "getAttr",
28239
- argv: [
28240
- {
28241
- ref: "PartitionResult"
28242
- },
28243
- "supportsFIPS"
28244
- ]
28245
- }
28246
- ]
28247
- },
28248
- {
28249
- fn: "booleanEquals",
28250
- argv: [
28251
- true,
28252
- {
28253
- fn: "getAttr",
28254
- argv: [
28255
- {
28256
- ref: "PartitionResult"
28257
- },
28258
- "supportsDualStack"
28259
- ]
28260
- }
28261
- ]
28262
- }
28263
- ],
28264
- type: "tree",
28265
- rules: [
28266
- {
28267
- conditions: [],
28268
- endpoint: {
28269
- url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
28270
- properties: {},
28271
- headers: {}
28272
- },
28273
- type: "endpoint"
28274
- }
28275
- ]
28276
- },
28277
- {
28278
- conditions: [],
28279
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
28280
- type: "error"
28281
- }
28282
- ]
28283
- },
28284
- {
28285
- conditions: [
28286
- {
28287
- fn: "booleanEquals",
28288
- argv: [
28289
- {
28290
- ref: "UseFIPS"
28291
- },
28292
- true
28293
- ]
28294
- }
28295
- ],
28296
- type: "tree",
28297
- rules: [
28298
- {
28299
- conditions: [
28300
- {
28301
- fn: "booleanEquals",
28302
- argv: [
28303
- true,
28304
- {
28305
- fn: "getAttr",
28306
- argv: [
28307
- {
28308
- ref: "PartitionResult"
28309
- },
28310
- "supportsFIPS"
28311
- ]
28312
- }
28313
- ]
28314
- }
28315
- ],
28316
- type: "tree",
28317
- rules: [
28318
- {
28319
- conditions: [],
28320
- type: "tree",
28321
- rules: [
28322
- {
28323
- conditions: [],
28324
- endpoint: {
28325
- url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}",
28326
- properties: {},
28327
- headers: {}
28328
- },
28329
- type: "endpoint"
28330
- }
28331
- ]
28332
- }
28333
- ]
28334
- },
28335
- {
28336
- conditions: [],
28337
- error: "FIPS is enabled but this partition does not support FIPS",
28338
- type: "error"
28339
- }
28340
- ]
28341
- },
28342
- {
28343
- conditions: [
28344
- {
28345
- fn: "booleanEquals",
28346
- argv: [
28347
- {
28348
- ref: "UseDualStack"
28349
- },
28350
- true
28351
- ]
28352
- }
28353
- ],
28354
- type: "tree",
28355
- rules: [
28356
- {
28357
- conditions: [
28358
- {
28359
- fn: "booleanEquals",
28360
- argv: [
28361
- true,
28362
- {
28363
- fn: "getAttr",
28364
- argv: [
28365
- {
28366
- ref: "PartitionResult"
28367
- },
28368
- "supportsDualStack"
28369
- ]
28370
- }
28371
- ]
28372
- }
28373
- ],
28374
- type: "tree",
28375
- rules: [
28376
- {
28377
- conditions: [],
28378
- endpoint: {
28379
- url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}",
28380
- properties: {},
28381
- headers: {}
28382
- },
28383
- type: "endpoint"
28384
- }
28385
- ]
28386
- },
28387
- {
28388
- conditions: [],
28389
- error: "DualStack is enabled but this partition does not support DualStack",
28390
- type: "error"
28391
- }
28392
- ]
28393
- },
28394
- {
28395
- conditions: [],
28396
- endpoint: {
28397
- url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}",
28398
- properties: {},
28399
- headers: {}
28400
- },
28401
- type: "endpoint"
28402
- }
28403
- ]
28404
- }
28405
- ]
28406
- };
26992
+ var r = "fn";
26993
+ var s = "argv";
26994
+ var t = "ref";
26995
+ var a = true;
26996
+ var b = false;
26997
+ var c = "String";
26998
+ var d = "PartitionResult";
26999
+ var e = "tree";
27000
+ var f = "error";
27001
+ var g = "endpoint";
27002
+ var h = { "required": true, "default": false, "type": "Boolean" };
27003
+ var i = { [t]: "Endpoint" };
27004
+ var j = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] };
27005
+ var k = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] };
27006
+ var l = {};
27007
+ var m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsFIPS"] }] };
27008
+ var n = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: d }, "supportsDualStack"] }] };
27009
+ var o = [i];
27010
+ var p = [j];
27011
+ var q = [k];
27012
+ var _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [r]: "aws.partition", [s]: [{ [t]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [r]: "isSet", [s]: o }, { [r]: "parseURL", [s]: o, assign: "url" }], type: e, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
27013
+ exports.ruleSet = _data;
28407
27014
  }
28408
27015
  });
28409
27016
 
@@ -28413,7 +27020,7 @@ var require_endpointResolver4 = __commonJS({
28413
27020
  "use strict";
28414
27021
  Object.defineProperty(exports, "__esModule", { value: true });
28415
27022
  exports.defaultEndpointResolver = void 0;
28416
- var util_endpoints_1 = require_dist_cjs39();
27023
+ var util_endpoints_1 = require_dist_cjs40();
28417
27024
  var ruleset_1 = require_ruleset4();
28418
27025
  var defaultEndpointResolver = (endpointParams, context = {}) => {
28419
27026
  return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
@@ -28433,7 +27040,7 @@ var require_runtimeConfig_shared4 = __commonJS({
28433
27040
  exports.getRuntimeConfig = void 0;
28434
27041
  var smithy_client_1 = require_dist_cjs7();
28435
27042
  var url_parser_1 = require_dist_cjs2();
28436
- var util_base64_1 = require_dist_cjs37();
27043
+ var util_base64_1 = require_dist_cjs38();
28437
27044
  var endpointResolver_1 = require_endpointResolver4();
28438
27045
  var getRuntimeConfig = (config) => ({
28439
27046
  apiVersion: "2015-03-31",
@@ -28457,19 +27064,20 @@ var require_runtimeConfig4 = __commonJS({
28457
27064
  exports.getRuntimeConfig = void 0;
28458
27065
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
28459
27066
  var package_json_1 = tslib_1.__importDefault(require_package());
28460
- var client_sts_1 = require_dist_cjs48();
27067
+ var client_sts_1 = require_dist_cjs49();
28461
27068
  var config_resolver_1 = require_dist_cjs10();
28462
- var credential_provider_node_1 = require_dist_cjs47();
28463
- var hash_node_1 = require_dist_cjs31();
28464
- var middleware_retry_1 = require_dist_cjs16();
28465
- var node_config_provider_1 = require_dist_cjs27();
28466
- var node_http_handler_1 = require_dist_cjs33();
28467
- var util_body_length_node_1 = require_dist_cjs34();
28468
- var util_user_agent_node_1 = require_dist_cjs35();
28469
- var util_utf8_node_1 = require_dist_cjs36();
27069
+ var credential_provider_node_1 = require_dist_cjs48();
27070
+ var hash_node_1 = require_dist_cjs32();
27071
+ var middleware_retry_1 = require_dist_cjs17();
27072
+ var node_config_provider_1 = require_dist_cjs28();
27073
+ var node_http_handler_1 = require_dist_cjs34();
27074
+ var util_body_length_node_1 = require_dist_cjs35();
27075
+ var util_retry_1 = require_dist_cjs16();
27076
+ var util_user_agent_node_1 = require_dist_cjs36();
27077
+ var util_utf8_node_1 = require_dist_cjs37();
28470
27078
  var runtimeConfig_shared_1 = require_runtimeConfig_shared4();
28471
27079
  var smithy_client_1 = require_dist_cjs7();
28472
- var util_defaults_mode_node_1 = require_dist_cjs40();
27080
+ var util_defaults_mode_node_1 = require_dist_cjs41();
28473
27081
  var smithy_client_2 = require_dist_cjs7();
28474
27082
  var getRuntimeConfig = (config) => {
28475
27083
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
@@ -28489,7 +27097,7 @@ var require_runtimeConfig4 = __commonJS({
28489
27097
  requestHandler: (config == null ? void 0 : config.requestHandler) ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
28490
27098
  retryMode: (config == null ? void 0 : config.retryMode) ?? (0, node_config_provider_1.loadConfig)({
28491
27099
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
28492
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE
27100
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
28493
27101
  }),
28494
27102
  sha256: (config == null ? void 0 : config.sha256) ?? hash_node_1.Hash.bind(null, "sha256"),
28495
27103
  streamCollector: (config == null ? void 0 : config.streamCollector) ?? node_http_handler_1.streamCollector,
@@ -28515,9 +27123,9 @@ var require_LambdaClient = __commonJS({
28515
27123
  var middleware_host_header_1 = require_dist_cjs12();
28516
27124
  var middleware_logger_1 = require_dist_cjs13();
28517
27125
  var middleware_recursion_detection_1 = require_dist_cjs14();
28518
- var middleware_retry_1 = require_dist_cjs16();
28519
- var middleware_signing_1 = require_dist_cjs22();
28520
- var middleware_user_agent_1 = require_dist_cjs23();
27126
+ var middleware_retry_1 = require_dist_cjs17();
27127
+ var middleware_signing_1 = require_dist_cjs23();
27128
+ var middleware_user_agent_1 = require_dist_cjs24();
28521
27129
  var smithy_client_1 = require_dist_cjs7();
28522
27130
  var EndpointParameters_1 = require_EndpointParameters();
28523
27131
  var runtimeConfig_1 = require_runtimeConfig4();
@@ -30099,7 +28707,7 @@ var require_createWaiter = __commonJS({
30099
28707
  });
30100
28708
 
30101
28709
  // node_modules/@aws-sdk/util-waiter/dist-cjs/index.js
30102
- var require_dist_cjs49 = __commonJS({
28710
+ var require_dist_cjs50 = __commonJS({
30103
28711
  "node_modules/@aws-sdk/util-waiter/dist-cjs/index.js"(exports) {
30104
28712
  "use strict";
30105
28713
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -30115,7 +28723,7 @@ var require_waitForFunctionActive = __commonJS({
30115
28723
  "use strict";
30116
28724
  Object.defineProperty(exports, "__esModule", { value: true });
30117
28725
  exports.waitUntilFunctionActive = exports.waitForFunctionActive = void 0;
30118
- var util_waiter_1 = require_dist_cjs49();
28726
+ var util_waiter_1 = require_dist_cjs50();
30119
28727
  var GetFunctionConfigurationCommand_1 = require_GetFunctionConfigurationCommand();
30120
28728
  var checkState = async (client, input) => {
30121
28729
  let reason;
@@ -30174,7 +28782,7 @@ var require_waitForFunctionActiveV2 = __commonJS({
30174
28782
  "use strict";
30175
28783
  Object.defineProperty(exports, "__esModule", { value: true });
30176
28784
  exports.waitUntilFunctionActiveV2 = exports.waitForFunctionActiveV2 = void 0;
30177
- var util_waiter_1 = require_dist_cjs49();
28785
+ var util_waiter_1 = require_dist_cjs50();
30178
28786
  var GetFunctionCommand_1 = require_GetFunctionCommand();
30179
28787
  var checkState = async (client, input) => {
30180
28788
  let reason;
@@ -30233,7 +28841,7 @@ var require_waitForFunctionExists = __commonJS({
30233
28841
  "use strict";
30234
28842
  Object.defineProperty(exports, "__esModule", { value: true });
30235
28843
  exports.waitUntilFunctionExists = exports.waitForFunctionExists = void 0;
30236
- var util_waiter_1 = require_dist_cjs49();
28844
+ var util_waiter_1 = require_dist_cjs50();
30237
28845
  var GetFunctionCommand_1 = require_GetFunctionCommand();
30238
28846
  var checkState = async (client, input) => {
30239
28847
  let reason;
@@ -30269,7 +28877,7 @@ var require_waitForFunctionUpdated = __commonJS({
30269
28877
  "use strict";
30270
28878
  Object.defineProperty(exports, "__esModule", { value: true });
30271
28879
  exports.waitUntilFunctionUpdated = exports.waitForFunctionUpdated = void 0;
30272
- var util_waiter_1 = require_dist_cjs49();
28880
+ var util_waiter_1 = require_dist_cjs50();
30273
28881
  var GetFunctionConfigurationCommand_1 = require_GetFunctionConfigurationCommand();
30274
28882
  var checkState = async (client, input) => {
30275
28883
  let reason;
@@ -30328,7 +28936,7 @@ var require_waitForFunctionUpdatedV2 = __commonJS({
30328
28936
  "use strict";
30329
28937
  Object.defineProperty(exports, "__esModule", { value: true });
30330
28938
  exports.waitUntilFunctionUpdatedV2 = exports.waitForFunctionUpdatedV2 = void 0;
30331
- var util_waiter_1 = require_dist_cjs49();
28939
+ var util_waiter_1 = require_dist_cjs50();
30332
28940
  var GetFunctionCommand_1 = require_GetFunctionCommand();
30333
28941
  var checkState = async (client, input) => {
30334
28942
  let reason;
@@ -30387,7 +28995,7 @@ var require_waitForPublishedVersionActive = __commonJS({
30387
28995
  "use strict";
30388
28996
  Object.defineProperty(exports, "__esModule", { value: true });
30389
28997
  exports.waitUntilPublishedVersionActive = exports.waitForPublishedVersionActive = void 0;
30390
- var util_waiter_1 = require_dist_cjs49();
28998
+ var util_waiter_1 = require_dist_cjs50();
30391
28999
  var GetFunctionConfigurationCommand_1 = require_GetFunctionConfigurationCommand();
30392
29000
  var checkState = async (client, input) => {
30393
29001
  let reason;
@@ -30456,7 +29064,7 @@ var require_waiters = __commonJS({
30456
29064
  });
30457
29065
 
30458
29066
  // node_modules/@aws-sdk/client-lambda/dist-cjs/index.js
30459
- var require_dist_cjs50 = __commonJS({
29067
+ var require_dist_cjs51 = __commonJS({
30460
29068
  "node_modules/@aws-sdk/client-lambda/dist-cjs/index.js"(exports) {
30461
29069
  "use strict";
30462
29070
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -30481,7 +29089,7 @@ __export(update_lambda_exports, {
30481
29089
  handler: () => handler
30482
29090
  });
30483
29091
  module.exports = __toCommonJS(update_lambda_exports);
30484
- var import_client_lambda = __toESM(require_dist_cjs50());
29092
+ var import_client_lambda = __toESM(require_dist_cjs51());
30485
29093
  var AWS = __toESM(require("aws-sdk"));
30486
29094
  var lambda = new AWS.Lambda();
30487
29095
  function sleep(ms) {