replicas-cli 0.2.122 → 0.2.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{chunk-NH63C5BC.mjs → chunk-4KZFIKR3.mjs} +1077 -1230
  2. package/dist/{chunk-HDHAEUVR.mjs → chunk-6E4PAXC5.mjs} +1 -1
  3. package/dist/{chunk-OMR2FLSI.mjs → chunk-AEKGTTWT.mjs} +2 -2
  4. package/dist/{chunk-R7VCWGZ2.mjs → chunk-CEE3Y7RM.mjs} +1 -1
  5. package/dist/{chunk-BY7XUH2G.mjs → chunk-F3ZHQCAZ.mjs} +162 -157
  6. package/dist/{chunk-H7SOGPWV.mjs → chunk-H57WOA7R.mjs} +309 -22
  7. package/dist/{chunk-43COQWMG.mjs → chunk-HMKFI7SL.mjs} +19 -19
  8. package/dist/{chunk-G3M3ZN6T.mjs → chunk-K7B6G3FP.mjs} +6 -6
  9. package/dist/{chunk-EHHAQWN3.mjs → chunk-KHHYAMUK.mjs} +12 -12
  10. package/dist/{chunk-ENRF2K6M.mjs → chunk-W27BU2E4.mjs} +72 -355
  11. package/dist/{chunk-PNVVO6MW.mjs → chunk-YZ62XZX5.mjs} +2 -2
  12. package/dist/{dist-es-XKOZULQT.mjs → dist-es-76ZS5ZGX.mjs} +19 -19
  13. package/dist/{dist-es-HC7MGS4M.mjs → dist-es-DRC4RUDF.mjs} +18 -18
  14. package/dist/{dist-es-VFOQQKFA.mjs → dist-es-FTV27CJE.mjs} +3 -3
  15. package/dist/{dist-es-WSBAYZQI.mjs → dist-es-MVWFIO2N.mjs} +7 -7
  16. package/dist/{dist-es-DZIRR447.mjs → dist-es-PGBT2GSM.mjs} +27 -27
  17. package/dist/{dist-es-URIWYPPF.mjs → dist-es-TKQAVPOM.mjs} +12 -14
  18. package/dist/{dist-es-I6P57CZS.mjs → dist-es-X7XEFTLU.mjs} +7 -7
  19. package/dist/index.mjs +3 -3
  20. package/dist/{interactive-OHZFZVXH.mjs → interactive-TRUNJWJL.mjs} +1 -1
  21. package/dist/{loadSso-WA3733QO.mjs → loadSso-PADWQIUG.mjs} +109 -148
  22. package/dist/{signin-QNS25VI4.mjs → signin-4DZRTUJH.mjs} +123 -177
  23. package/dist/{sso-oidc-KJ5X6WUQ.mjs → sso-oidc-VICR4TNH.mjs} +111 -150
  24. package/dist/{sts-7OF5CJSW.mjs → sts-WJPOT3CH.mjs} +2853 -660
  25. package/package.json +1 -1
  26. package/dist/chunk-GXZPN42X.mjs +0 -178
  27. package/dist/event-streams-T3U3ZQLC.mjs +0 -247
@@ -4,9 +4,10 @@ import {
4
4
  } from "./chunk-75QHZ6FC.mjs";
5
5
  import {
6
6
  AwsRestJsonProtocol
7
- } from "./chunk-ENRF2K6M.mjs";
7
+ } from "./chunk-W27BU2E4.mjs";
8
8
  import {
9
9
  AwsSdkSigV4Signer,
10
+ BinaryDecisionDiagram,
10
11
  Client,
11
12
  Command,
12
13
  DEFAULT_RETRY_MODE,
@@ -29,6 +30,7 @@ import {
29
30
  calculateBodyLength,
30
31
  createDefaultUserAgentProvider,
31
32
  customEndpointFunctions,
33
+ decideEndpoint,
32
34
  emitWarningIfUnsupportedVersion,
33
35
  emitWarningIfUnsupportedVersion2,
34
36
  getAwsRegionExtensionConfiguration,
@@ -52,39 +54,38 @@ import {
52
54
  resolveAwsSdkSigV4Config,
53
55
  resolveDefaultRuntimeConfig,
54
56
  resolveDefaultsModeConfig,
55
- resolveEndpoint,
56
57
  resolveEndpointConfig,
57
58
  resolveHostHeaderConfig,
58
59
  resolveHttpHandlerRuntimeConfig,
59
60
  resolveRegionConfig,
60
61
  resolveRetryConfig,
61
62
  resolveUserAgentConfig
62
- } from "./chunk-NH63C5BC.mjs";
63
+ } from "./chunk-4KZFIKR3.mjs";
63
64
  import {
64
65
  loadConfig,
65
66
  parseUrl
66
- } from "./chunk-EHHAQWN3.mjs";
67
- import "./chunk-PNVVO6MW.mjs";
68
- import "./chunk-43COQWMG.mjs";
69
- import "./chunk-G3M3ZN6T.mjs";
67
+ } from "./chunk-KHHYAMUK.mjs";
68
+ import "./chunk-YZ62XZX5.mjs";
69
+ import "./chunk-K7B6G3FP.mjs";
70
70
  import {
71
71
  NodeHttpHandler,
72
72
  fromBase64,
73
73
  streamCollector,
74
74
  toBase64
75
- } from "./chunk-H7SOGPWV.mjs";
76
- import "./chunk-HDHAEUVR.mjs";
75
+ } from "./chunk-H57WOA7R.mjs";
76
+ import "./chunk-6E4PAXC5.mjs";
77
77
  import {
78
78
  fromUtf8,
79
79
  toUtf8
80
80
  } from "./chunk-S6VA5TIO.mjs";
81
- import "./chunk-R7VCWGZ2.mjs";
82
- import "./chunk-OMR2FLSI.mjs";
81
+ import "./chunk-HMKFI7SL.mjs";
82
+ import "./chunk-CEE3Y7RM.mjs";
83
+ import "./chunk-AEKGTTWT.mjs";
83
84
  import {
84
85
  __publicField
85
86
  } from "./chunk-FFDYI4OH.mjs";
86
87
 
87
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
88
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
88
89
  var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
89
90
  return {
90
91
  operation: getSmithyContext(context).operation,
@@ -133,7 +134,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
133
134
  });
134
135
  };
135
136
 
136
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
137
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
137
138
  var resolveClientEndpointParameters = (options) => {
138
139
  return Object.assign(options, {
139
140
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
@@ -148,147 +149,107 @@ var commonParams = {
148
149
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
149
150
  };
150
151
 
151
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
152
- var u = "required";
153
- var v = "fn";
154
- var w = "argv";
155
- var x = "ref";
156
- var a = true;
157
- var b = "isSet";
158
- var c = "booleanEquals";
159
- var d = "error";
160
- var e = "endpoint";
161
- var f = "tree";
162
- var g = "PartitionResult";
163
- var h = "getAttr";
164
- var i = { [u]: false, type: "string" };
165
- var j = { [u]: true, default: false, type: "boolean" };
166
- var k = { [x]: "Endpoint" };
167
- var l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] };
168
- var m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] };
169
- var n = {};
170
- var o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] };
171
- var p = { [x]: g };
172
- var q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] };
173
- var r = [l];
174
- var s = [m];
175
- var t = [{ [x]: "Region" }];
152
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js
153
+ var k = "ref";
154
+ var a = -1;
155
+ var b = true;
156
+ var c = "isSet";
157
+ var d = "PartitionResult";
158
+ var e = "booleanEquals";
159
+ var f = "getAttr";
160
+ var g = { [k]: "Endpoint" };
161
+ var h = { [k]: d };
162
+ var i = {};
163
+ var j = [{ [k]: "Region" }];
176
164
  var _data = {
177
- version: "1.0",
178
- parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i },
179
- rules: [
180
- {
181
- conditions: [{ [v]: b, [w]: [k] }],
182
- rules: [
183
- { conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d },
184
- { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d },
185
- { endpoint: { url: k, properties: n, headers: n }, type: e }
186
- ],
187
- type: f
188
- },
189
- {
190
- conditions: [{ [v]: b, [w]: t }],
191
- rules: [
192
- {
193
- conditions: [{ [v]: "aws.partition", [w]: t, assign: g }],
194
- rules: [
195
- {
196
- conditions: [l, m],
197
- rules: [
198
- {
199
- conditions: [{ [v]: c, [w]: [a, o] }, q],
200
- rules: [
201
- {
202
- endpoint: {
203
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
204
- properties: n,
205
- headers: n
206
- },
207
- type: e
208
- }
209
- ],
210
- type: f
211
- },
212
- { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }
213
- ],
214
- type: f
215
- },
216
- {
217
- conditions: r,
218
- rules: [
219
- {
220
- conditions: [{ [v]: c, [w]: [o, a] }],
221
- rules: [
222
- {
223
- conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }],
224
- endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: n, headers: n },
225
- type: e
226
- },
227
- {
228
- endpoint: {
229
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
230
- properties: n,
231
- headers: n
232
- },
233
- type: e
234
- }
235
- ],
236
- type: f
237
- },
238
- { error: "FIPS is enabled but this partition does not support FIPS", type: d }
239
- ],
240
- type: f
241
- },
242
- {
243
- conditions: s,
244
- rules: [
245
- {
246
- conditions: [q],
247
- rules: [
248
- {
249
- endpoint: {
250
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
251
- properties: n,
252
- headers: n
253
- },
254
- type: e
255
- }
256
- ],
257
- type: f
258
- },
259
- { error: "DualStack is enabled but this partition does not support DualStack", type: d }
260
- ],
261
- type: f
262
- },
263
- {
264
- endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n },
265
- type: e
266
- }
267
- ],
268
- type: f
269
- }
270
- ],
271
- type: f
272
- },
273
- { error: "Invalid Configuration: Missing Region", type: d }
165
+ conditions: [
166
+ [c, [g]],
167
+ [c, j],
168
+ ["aws.partition", j, d],
169
+ [e, [{ [k]: "UseFIPS" }, b]],
170
+ [e, [{ [k]: "UseDualStack" }, b]],
171
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
172
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
173
+ ["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
174
+ ],
175
+ results: [
176
+ [a],
177
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
178
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
179
+ [g, i],
180
+ ["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
181
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
182
+ ["https://oidc.{Region}.amazonaws.com", i],
183
+ ["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", i],
184
+ [a, "FIPS is enabled but this partition does not support FIPS"],
185
+ ["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
186
+ [a, "DualStack is enabled but this partition does not support DualStack"],
187
+ ["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i],
188
+ [a, "Invalid Configuration: Missing Region"]
274
189
  ]
275
190
  };
276
- var ruleSet = _data;
191
+ var root = 2;
192
+ var r = 1e8;
193
+ var nodes = new Int32Array([
194
+ -1,
195
+ 1,
196
+ -1,
197
+ 0,
198
+ 13,
199
+ 3,
200
+ 1,
201
+ 4,
202
+ r + 12,
203
+ 2,
204
+ 5,
205
+ r + 12,
206
+ 3,
207
+ 8,
208
+ 6,
209
+ 4,
210
+ 7,
211
+ r + 11,
212
+ 5,
213
+ r + 9,
214
+ r + 10,
215
+ 4,
216
+ 11,
217
+ 9,
218
+ 6,
219
+ 10,
220
+ r + 8,
221
+ 7,
222
+ r + 6,
223
+ r + 7,
224
+ 5,
225
+ 12,
226
+ r + 5,
227
+ 6,
228
+ r + 4,
229
+ r + 5,
230
+ 3,
231
+ r + 1,
232
+ 14,
233
+ 4,
234
+ r + 2,
235
+ r + 3
236
+ ]);
237
+ var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
277
238
 
278
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
239
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
279
240
  var cache = new EndpointCache({
280
241
  size: 50,
281
242
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
282
243
  });
283
244
  var defaultEndpointResolver = (endpointParams, context = {}) => {
284
- return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
245
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
285
246
  endpointParams,
286
247
  logger: context.logger
287
248
  }));
288
249
  };
289
250
  customEndpointFunctions.aws = awsEndpointFunctions;
290
251
 
291
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
252
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
292
253
  var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
293
254
  constructor(options) {
294
255
  super(options);
@@ -296,7 +257,7 @@ var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceExce
296
257
  }
297
258
  };
298
259
 
299
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
260
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
300
261
  var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
301
262
  constructor(opts) {
302
263
  super({
@@ -478,7 +439,7 @@ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends
478
439
  }
479
440
  };
480
441
 
481
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
442
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
482
443
  var _ADE = "AccessDeniedException";
483
444
  var _APE = "AuthorizationPendingException";
484
445
  var _AT = "AccessToken";
@@ -614,7 +575,7 @@ var CreateToken$ = [
614
575
  () => CreateTokenResponse$
615
576
  ];
616
577
 
617
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
578
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
618
579
  var getRuntimeConfig = (config) => {
619
580
  return {
620
581
  apiVersion: "2019-06-10",
@@ -651,7 +612,7 @@ var getRuntimeConfig = (config) => {
651
612
  };
652
613
  };
653
614
 
654
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
615
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
655
616
  var getRuntimeConfig2 = (config) => {
656
617
  emitWarningIfUnsupportedVersion2(process.version);
657
618
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -685,7 +646,7 @@ var getRuntimeConfig2 = (config) => {
685
646
  };
686
647
  };
687
648
 
688
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
649
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
689
650
  var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
690
651
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
691
652
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -724,14 +685,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
724
685
  };
725
686
  };
726
687
 
727
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
688
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
728
689
  var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
729
690
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
730
691
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
731
692
  return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
732
693
  };
733
694
 
734
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
695
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
735
696
  var SSOOIDCClient = class extends Client {
736
697
  constructor(...[configuration]) {
737
698
  const _config_0 = getRuntimeConfig2(configuration || {});
@@ -767,13 +728,13 @@ var SSOOIDCClient = class extends Client {
767
728
  }
768
729
  };
769
730
 
770
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
771
- var CreateTokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
731
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
732
+ var CreateTokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o) {
772
733
  return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
773
734
  }).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").sc(CreateToken$).build() {
774
735
  };
775
736
 
776
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
737
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
777
738
  var commands = {
778
739
  CreateTokenCommand
779
740
  };
@@ -781,7 +742,7 @@ var SSOOIDC = class extends SSOOIDCClient {
781
742
  };
782
743
  createAggregatedClient(commands, SSOOIDC);
783
744
 
784
- // ../node_modules/.bun/@aws-sdk+nested-clients@3.996.18/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js
745
+ // ../node_modules/.bun/@aws-sdk+nested-clients@3.997.6/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js
785
746
  var AccessDeniedExceptionReason = {
786
747
  KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
787
748
  };