replicas-cli 0.2.283 → 0.2.285
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.
- package/dist/{chunk-WHWH6H5W.mjs → chunk-4FSDNCBY.mjs} +55 -54
- package/dist/{chunk-IYT446IS.mjs → chunk-6VME6DX3.mjs} +377 -102
- package/dist/{chunk-Q2YIUYO5.mjs → chunk-KK6GYGUU.mjs} +12 -12
- package/dist/{chunk-VDOMBJEB.mjs → chunk-NVNLENJ4.mjs} +80 -72
- package/dist/{chunk-NE3F7K7B.mjs → chunk-RQL7JLTE.mjs} +11 -11
- package/dist/{chunk-BBX2YVOK.mjs → chunk-WQSLVATR.mjs} +33 -33
- package/dist/{dist-es-EC3POK4F.mjs → dist-es-BX7CYWBD.mjs} +22 -19
- package/dist/{dist-es-3AXDJI6F.mjs → dist-es-CGONY45O.mjs} +17 -17
- package/dist/{dist-es-SYSOOS3K.mjs → dist-es-DTKVVIKD.mjs} +4 -4
- package/dist/{dist-es-YYOEQY7N.mjs → dist-es-HR2XYBRQ.mjs} +7 -7
- package/dist/{dist-es-7KF5M4TT.mjs → dist-es-UCGFMRLC.mjs} +43 -35
- package/dist/{dist-es-HDJG642P.mjs → dist-es-UXGKQHMI.mjs} +9 -9
- package/dist/{dist-es-ZSLNSC26.mjs → dist-es-XUNSYJ43.mjs} +7 -7
- package/dist/{event-streams-LBH5ISIB.mjs → event-streams-HJSS3SIJ.mjs} +17 -17
- package/dist/index.mjs +182 -36
- package/dist/{loadSso-P6SZ6EZE.mjs → loadSso-HB5FHNX6.mjs} +19 -19
- package/dist/{signin-5AIFZB3D.mjs → signin-3CFFWTPH.mjs} +155 -77
- package/dist/{sso-oidc-BLJ4YGMZ.mjs → sso-oidc-HKJFKUG4.mjs} +21 -21
- package/dist/{sts-TZAOHYLW.mjs → sts-4KOQ3DIV.mjs} +434 -45
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
AwsRestJsonProtocol
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RQL7JLTE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
DefaultIdentityProviderConfig,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
package_default,
|
|
14
14
|
resolveAwsSdkSigV4Config,
|
|
15
15
|
streamCollector
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4FSDNCBY.mjs";
|
|
17
17
|
import {
|
|
18
18
|
NodeHttpHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KK6GYGUU.mjs";
|
|
20
20
|
import {
|
|
21
21
|
BinaryDecisionDiagram,
|
|
22
22
|
Client,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveHostHeaderConfig,
|
|
51
51
|
resolveRetryConfig,
|
|
52
52
|
resolveUserAgentConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-6VME6DX3.mjs";
|
|
54
54
|
import {
|
|
55
55
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
56
56
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resolveDefaultsModeConfig,
|
|
67
67
|
resolveHttpHandlerRuntimeConfig,
|
|
68
68
|
resolveRegionConfig
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-NVNLENJ4.mjs";
|
|
70
70
|
import {
|
|
71
71
|
Hash,
|
|
72
72
|
calculateBodyLength,
|
|
@@ -74,12 +74,12 @@ import {
|
|
|
74
74
|
fromUtf8,
|
|
75
75
|
toBase64,
|
|
76
76
|
toUtf8
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-WQSLVATR.mjs";
|
|
78
78
|
import {
|
|
79
79
|
__publicField
|
|
80
80
|
} from "./chunk-DR4JHUIF.mjs";
|
|
81
81
|
|
|
82
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
82
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js
|
|
83
83
|
var defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
84
84
|
return {
|
|
85
85
|
operation: getSmithyContext(context).operation,
|
|
@@ -128,7 +128,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
131
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/EndpointParameters.js
|
|
132
132
|
var resolveClientEndpointParameters = (options) => {
|
|
133
133
|
return Object.assign(options, {
|
|
134
134
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -143,48 +143,69 @@ var commonParams = {
|
|
|
143
143
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
144
144
|
};
|
|
145
145
|
|
|
146
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
147
|
-
var
|
|
146
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js
|
|
147
|
+
var p = "ref";
|
|
148
148
|
var a = -1;
|
|
149
149
|
var b = true;
|
|
150
150
|
var c = "isSet";
|
|
151
|
-
var d = "
|
|
152
|
-
var e = "
|
|
153
|
-
var f = "
|
|
154
|
-
var g = "
|
|
155
|
-
var h = {
|
|
156
|
-
var i = { [
|
|
157
|
-
var j = { "fn":
|
|
158
|
-
var k = {};
|
|
159
|
-
var l =
|
|
151
|
+
var d = "booleanEquals";
|
|
152
|
+
var e = "PartitionResult";
|
|
153
|
+
var f = "stringEquals";
|
|
154
|
+
var g = "getAttr";
|
|
155
|
+
var h = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}";
|
|
156
|
+
var i = { [p]: "Endpoint" };
|
|
157
|
+
var j = { "fn": g, "argv": [{ [p]: e }, "name"] };
|
|
158
|
+
var k = { [p]: e };
|
|
159
|
+
var l = { [p]: "Region" };
|
|
160
|
+
var m = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] };
|
|
161
|
+
var n = {};
|
|
162
|
+
var o = [l];
|
|
160
163
|
var _data = {
|
|
161
164
|
conditions: [
|
|
162
|
-
[c,
|
|
163
|
-
[
|
|
164
|
-
[
|
|
165
|
-
[
|
|
166
|
-
[
|
|
167
|
-
[
|
|
168
|
-
[
|
|
169
|
-
[
|
|
170
|
-
[g, [
|
|
171
|
-
[
|
|
165
|
+
[c, o],
|
|
166
|
+
[d, [{ fn: "coalesce", argv: [{ [p]: "IsControlPlane" }, false] }, b]],
|
|
167
|
+
[c, [i]],
|
|
168
|
+
["aws.partition", o, e],
|
|
169
|
+
[d, [{ [p]: "UseFIPS" }, b]],
|
|
170
|
+
[d, [{ [p]: "UseDualStack" }, b]],
|
|
171
|
+
[f, [j, "aws"]],
|
|
172
|
+
[f, [j, "aws-cn"]],
|
|
173
|
+
[d, [{ fn: g, argv: [k, "supportsDualStack"] }, b]],
|
|
174
|
+
[f, [l, "us-gov-west-1"]],
|
|
175
|
+
[f, [j, "aws-us-gov"]],
|
|
176
|
+
[d, [{ fn: g, argv: [k, "supportsFIPS"] }, b]],
|
|
177
|
+
[f, [j, "aws-iso"]],
|
|
178
|
+
[f, [j, "aws-iso-b"]],
|
|
179
|
+
[f, [j, "aws-iso-f"]],
|
|
180
|
+
[f, [j, "aws-iso-e"]],
|
|
181
|
+
[f, [j, "aws-eusc"]]
|
|
172
182
|
],
|
|
173
183
|
results: [
|
|
174
184
|
[a],
|
|
185
|
+
["https://signin.{Region}.api.aws", m],
|
|
186
|
+
["https://signin.{Region}.api.amazonwebservices.com.cn", m],
|
|
187
|
+
[h, m],
|
|
188
|
+
["https://{Region}.signin.aws.amazon.com", n],
|
|
189
|
+
["https://{Region}.signin.amazonaws.cn", n],
|
|
190
|
+
["https://{Region}.signin.amazonaws-us-gov.com", n],
|
|
191
|
+
["https://{Region}.signin.c2shome.ic.gov", n],
|
|
192
|
+
["https://{Region}.signin.sc2shome.sgov.gov", n],
|
|
193
|
+
["https://{Region}.signin.csphome.hci.ic.gov", n],
|
|
194
|
+
["https://{Region}.signin.csphome.adc-e.uk", n],
|
|
195
|
+
["https://{Region}.signin.amazonaws-eusc.eu", n],
|
|
196
|
+
["https://signin-fips.amazonaws-us-gov.com", n],
|
|
197
|
+
["https://{Region}.signin-fips.amazonaws-us-gov.com", n],
|
|
198
|
+
["https://{Region}.signin.{PartitionResult#dnsSuffix}", n],
|
|
175
199
|
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
176
200
|
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
177
|
-
[
|
|
178
|
-
["https://{Region}.
|
|
179
|
-
["https://{Region}.signin.amazonaws.cn", k],
|
|
180
|
-
["https://{Region}.signin.amazonaws-us-gov.com", k],
|
|
181
|
-
["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
201
|
+
[i, n],
|
|
202
|
+
["https://signin-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", n],
|
|
182
203
|
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
183
|
-
["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
204
|
+
["https://signin-fips.{Region}.{PartitionResult#dnsSuffix}", n],
|
|
184
205
|
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
185
|
-
[
|
|
206
|
+
[h, n],
|
|
186
207
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
187
|
-
["https://signin.{Region}.{PartitionResult#dnsSuffix}",
|
|
208
|
+
["https://signin.{Region}.{PartitionResult#dnsSuffix}", n],
|
|
188
209
|
[a, "Invalid Configuration: Missing Region"]
|
|
189
210
|
]
|
|
190
211
|
};
|
|
@@ -195,57 +216,108 @@ var nodes = new Int32Array([
|
|
|
195
216
|
1,
|
|
196
217
|
-1,
|
|
197
218
|
0,
|
|
198
|
-
15,
|
|
199
|
-
3,
|
|
200
|
-
1,
|
|
201
219
|
4,
|
|
202
|
-
|
|
220
|
+
3,
|
|
203
221
|
2,
|
|
222
|
+
30,
|
|
223
|
+
r + 25,
|
|
224
|
+
1,
|
|
225
|
+
24,
|
|
204
226
|
5,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
11,
|
|
227
|
+
2,
|
|
228
|
+
30,
|
|
208
229
|
6,
|
|
230
|
+
3,
|
|
231
|
+
7,
|
|
232
|
+
26,
|
|
209
233
|
4,
|
|
234
|
+
18,
|
|
235
|
+
8,
|
|
236
|
+
5,
|
|
237
|
+
17,
|
|
238
|
+
9,
|
|
239
|
+
6,
|
|
240
|
+
r + 4,
|
|
210
241
|
10,
|
|
211
242
|
7,
|
|
212
|
-
7,
|
|
213
|
-
r + 4,
|
|
214
|
-
8,
|
|
215
|
-
8,
|
|
216
243
|
r + 5,
|
|
217
|
-
|
|
218
|
-
|
|
244
|
+
11,
|
|
245
|
+
10,
|
|
219
246
|
r + 6,
|
|
247
|
+
12,
|
|
248
|
+
12,
|
|
249
|
+
r + 7,
|
|
250
|
+
13,
|
|
251
|
+
13,
|
|
252
|
+
r + 8,
|
|
253
|
+
14,
|
|
254
|
+
14,
|
|
255
|
+
r + 9,
|
|
256
|
+
15,
|
|
257
|
+
15,
|
|
258
|
+
r + 10,
|
|
259
|
+
16,
|
|
260
|
+
16,
|
|
261
|
+
r + 11,
|
|
262
|
+
r + 14,
|
|
263
|
+
8,
|
|
264
|
+
r + 22,
|
|
265
|
+
r + 23,
|
|
266
|
+
5,
|
|
267
|
+
22,
|
|
268
|
+
19,
|
|
269
|
+
9,
|
|
270
|
+
r + 12,
|
|
271
|
+
20,
|
|
272
|
+
10,
|
|
220
273
|
r + 13,
|
|
274
|
+
21,
|
|
275
|
+
11,
|
|
276
|
+
r + 20,
|
|
277
|
+
r + 21,
|
|
278
|
+
8,
|
|
279
|
+
23,
|
|
280
|
+
r + 19,
|
|
281
|
+
11,
|
|
282
|
+
r + 18,
|
|
283
|
+
r + 19,
|
|
284
|
+
2,
|
|
285
|
+
29,
|
|
286
|
+
25,
|
|
287
|
+
3,
|
|
288
|
+
32,
|
|
289
|
+
26,
|
|
290
|
+
4,
|
|
291
|
+
27,
|
|
292
|
+
r + 25,
|
|
221
293
|
5,
|
|
222
|
-
r +
|
|
294
|
+
r + 25,
|
|
295
|
+
28,
|
|
296
|
+
9,
|
|
223
297
|
r + 12,
|
|
298
|
+
r + 25,
|
|
299
|
+
3,
|
|
300
|
+
32,
|
|
301
|
+
30,
|
|
224
302
|
4,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
6,
|
|
228
|
-
r + 9,
|
|
229
|
-
r + 10,
|
|
303
|
+
r + 15,
|
|
304
|
+
31,
|
|
230
305
|
5,
|
|
231
|
-
|
|
232
|
-
r +
|
|
306
|
+
r + 16,
|
|
307
|
+
r + 17,
|
|
233
308
|
6,
|
|
234
|
-
r + 7,
|
|
235
|
-
r + 8,
|
|
236
|
-
3,
|
|
237
309
|
r + 1,
|
|
238
|
-
|
|
239
|
-
|
|
310
|
+
33,
|
|
311
|
+
7,
|
|
240
312
|
r + 2,
|
|
241
313
|
r + 3
|
|
242
314
|
]);
|
|
243
315
|
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
244
316
|
|
|
245
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
317
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js
|
|
246
318
|
var cache = new EndpointCache({
|
|
247
319
|
size: 50,
|
|
248
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
320
|
+
params: ["Endpoint", "IsControlPlane", "Region", "UseDualStack", "UseFIPS"]
|
|
249
321
|
});
|
|
250
322
|
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
251
323
|
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
@@ -255,7 +327,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
255
327
|
};
|
|
256
328
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
257
329
|
|
|
258
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
330
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js
|
|
259
331
|
var SigninServiceException = class _SigninServiceException extends ServiceException {
|
|
260
332
|
constructor(options) {
|
|
261
333
|
super(options);
|
|
@@ -263,7 +335,7 @@ var SigninServiceException = class _SigninServiceException extends ServiceExcept
|
|
|
263
335
|
}
|
|
264
336
|
};
|
|
265
337
|
|
|
266
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
338
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/errors.js
|
|
267
339
|
var AccessDeniedException = class _AccessDeniedException extends SigninServiceException {
|
|
268
340
|
constructor(opts) {
|
|
269
341
|
super({
|
|
@@ -321,7 +393,7 @@ var ValidationException = class _ValidationException extends SigninServiceExcept
|
|
|
321
393
|
}
|
|
322
394
|
};
|
|
323
395
|
|
|
324
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
396
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js
|
|
325
397
|
var _ADE = "AccessDeniedException";
|
|
326
398
|
var _AT = "AccessToken";
|
|
327
399
|
var _COAT = "CreateOAuth2Token";
|
|
@@ -460,7 +532,7 @@ var CreateOAuth2Token$ = [
|
|
|
460
532
|
() => CreateOAuth2TokenResponse$
|
|
461
533
|
];
|
|
462
534
|
|
|
463
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
535
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js
|
|
464
536
|
var getRuntimeConfig = (config) => {
|
|
465
537
|
return {
|
|
466
538
|
apiVersion: "2023-01-01",
|
|
@@ -497,7 +569,7 @@ var getRuntimeConfig = (config) => {
|
|
|
497
569
|
};
|
|
498
570
|
};
|
|
499
571
|
|
|
500
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
572
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js
|
|
501
573
|
var getRuntimeConfig2 = (config) => {
|
|
502
574
|
emitWarningIfUnsupportedVersion2(process.version);
|
|
503
575
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -531,7 +603,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
531
603
|
};
|
|
532
604
|
};
|
|
533
605
|
|
|
534
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
606
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthExtensionConfiguration.js
|
|
535
607
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
536
608
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
537
609
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -570,14 +642,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
570
642
|
};
|
|
571
643
|
};
|
|
572
644
|
|
|
573
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
645
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js
|
|
574
646
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
575
647
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
576
648
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
577
649
|
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
578
650
|
};
|
|
579
651
|
|
|
580
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
652
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js
|
|
581
653
|
var SigninClient = class extends Client {
|
|
582
654
|
constructor(...[configuration]) {
|
|
583
655
|
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
@@ -613,13 +685,16 @@ var SigninClient = class extends Client {
|
|
|
613
685
|
}
|
|
614
686
|
};
|
|
615
687
|
|
|
616
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
617
|
-
var CreateOAuth2TokenCommand = class extends Command.classBuilder().ep(
|
|
688
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js
|
|
689
|
+
var CreateOAuth2TokenCommand = class extends Command.classBuilder().ep({
|
|
690
|
+
...commonParams,
|
|
691
|
+
IsControlPlane: { type: "staticContextParams", value: false }
|
|
692
|
+
}).m(function(Command2, cs, config, o2) {
|
|
618
693
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
619
694
|
}).s("Signin", "CreateOAuth2Token", {}).n("SigninClient", "CreateOAuth2TokenCommand").sc(CreateOAuth2Token$).build() {
|
|
620
695
|
};
|
|
621
696
|
|
|
622
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
697
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js
|
|
623
698
|
var commands = {
|
|
624
699
|
CreateOAuth2TokenCommand
|
|
625
700
|
};
|
|
@@ -627,12 +702,15 @@ var Signin = class extends SigninClient {
|
|
|
627
702
|
};
|
|
628
703
|
createAggregatedClient(commands, Signin);
|
|
629
704
|
|
|
630
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
705
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js
|
|
631
706
|
var OAuth2ErrorCode = {
|
|
632
707
|
AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED",
|
|
708
|
+
CONFLICT: "CONFLICT",
|
|
633
709
|
INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
|
|
634
710
|
INVALID_REQUEST: "INVALID_REQUEST",
|
|
711
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
635
712
|
SERVER_ERROR: "server_error",
|
|
713
|
+
SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
|
|
636
714
|
TOKEN_EXPIRED: "TOKEN_EXPIRED",
|
|
637
715
|
USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED"
|
|
638
716
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
AwsRestJsonProtocol
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RQL7JLTE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
DefaultIdentityProviderConfig,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
package_default,
|
|
14
14
|
resolveAwsSdkSigV4Config,
|
|
15
15
|
streamCollector
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4FSDNCBY.mjs";
|
|
17
17
|
import {
|
|
18
18
|
NodeHttpHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KK6GYGUU.mjs";
|
|
20
20
|
import {
|
|
21
21
|
BinaryDecisionDiagram,
|
|
22
22
|
Client,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveHostHeaderConfig,
|
|
51
51
|
resolveRetryConfig,
|
|
52
52
|
resolveUserAgentConfig
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-6VME6DX3.mjs";
|
|
54
54
|
import {
|
|
55
55
|
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
56
56
|
NODE_REGION_CONFIG_OPTIONS,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
resolveDefaultsModeConfig,
|
|
67
67
|
resolveHttpHandlerRuntimeConfig,
|
|
68
68
|
resolveRegionConfig
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-NVNLENJ4.mjs";
|
|
70
70
|
import {
|
|
71
71
|
Hash,
|
|
72
72
|
calculateBodyLength,
|
|
@@ -74,12 +74,12 @@ import {
|
|
|
74
74
|
fromUtf8,
|
|
75
75
|
toBase64,
|
|
76
76
|
toUtf8
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-WQSLVATR.mjs";
|
|
78
78
|
import {
|
|
79
79
|
__publicField
|
|
80
80
|
} from "./chunk-DR4JHUIF.mjs";
|
|
81
81
|
|
|
82
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
82
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
|
|
83
83
|
var defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
84
84
|
return {
|
|
85
85
|
operation: getSmithyContext(context).operation,
|
|
@@ -128,7 +128,7 @@ var resolveHttpAuthSchemeConfig = (config) => {
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
131
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
|
|
132
132
|
var resolveClientEndpointParameters = (options) => {
|
|
133
133
|
return Object.assign(options, {
|
|
134
134
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
@@ -143,7 +143,7 @@ var commonParams = {
|
|
|
143
143
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
144
144
|
};
|
|
145
145
|
|
|
146
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
146
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js
|
|
147
147
|
var k = "ref";
|
|
148
148
|
var a = -1;
|
|
149
149
|
var b = true;
|
|
@@ -230,7 +230,7 @@ var nodes = new Int32Array([
|
|
|
230
230
|
]);
|
|
231
231
|
var bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
232
232
|
|
|
233
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
233
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
|
|
234
234
|
var cache = new EndpointCache({
|
|
235
235
|
size: 50,
|
|
236
236
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
@@ -243,7 +243,7 @@ var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
243
243
|
};
|
|
244
244
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
245
245
|
|
|
246
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
246
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
|
|
247
247
|
var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
|
|
248
248
|
constructor(options) {
|
|
249
249
|
super(options);
|
|
@@ -251,7 +251,7 @@ var SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceExce
|
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
254
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/errors.js
|
|
255
255
|
var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
|
|
256
256
|
constructor(opts) {
|
|
257
257
|
super({
|
|
@@ -433,7 +433,7 @@ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends
|
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
|
|
436
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
436
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js
|
|
437
437
|
var _ADE = "AccessDeniedException";
|
|
438
438
|
var _APE = "AuthorizationPendingException";
|
|
439
439
|
var _AT = "AccessToken";
|
|
@@ -614,7 +614,7 @@ var CreateToken$ = [
|
|
|
614
614
|
() => CreateTokenResponse$
|
|
615
615
|
];
|
|
616
616
|
|
|
617
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
617
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
|
|
618
618
|
var getRuntimeConfig = (config) => {
|
|
619
619
|
return {
|
|
620
620
|
apiVersion: "2019-06-10",
|
|
@@ -651,7 +651,7 @@ var getRuntimeConfig = (config) => {
|
|
|
651
651
|
};
|
|
652
652
|
};
|
|
653
653
|
|
|
654
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
654
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
|
|
655
655
|
var getRuntimeConfig2 = (config) => {
|
|
656
656
|
emitWarningIfUnsupportedVersion2(process.version);
|
|
657
657
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -685,7 +685,7 @@ var getRuntimeConfig2 = (config) => {
|
|
|
685
685
|
};
|
|
686
686
|
};
|
|
687
687
|
|
|
688
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
688
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
|
|
689
689
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
690
690
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
691
691
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -724,14 +724,14 @@ var resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
724
724
|
};
|
|
725
725
|
};
|
|
726
726
|
|
|
727
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
727
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
|
|
728
728
|
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
729
729
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
730
730
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
731
731
|
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
732
732
|
};
|
|
733
733
|
|
|
734
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
734
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
|
|
735
735
|
var SSOOIDCClient = class extends Client {
|
|
736
736
|
constructor(...[configuration]) {
|
|
737
737
|
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
@@ -767,13 +767,13 @@ var SSOOIDCClient = class extends Client {
|
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
769
|
|
|
770
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
770
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
|
|
771
771
|
var CreateTokenCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o) {
|
|
772
772
|
return [getEndpointPlugin(config, Command2.getEndpointParameterInstructions())];
|
|
773
773
|
}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").sc(CreateToken$).build() {
|
|
774
774
|
};
|
|
775
775
|
|
|
776
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
776
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
|
|
777
777
|
var commands = {
|
|
778
778
|
CreateTokenCommand
|
|
779
779
|
};
|
|
@@ -781,7 +781,7 @@ var SSOOIDC = class extends SSOOIDCClient {
|
|
|
781
781
|
};
|
|
782
782
|
createAggregatedClient(commands, SSOOIDC);
|
|
783
783
|
|
|
784
|
-
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.
|
|
784
|
+
// ../node_modules/.bun/@aws-sdk+nested-clients@3.997.22/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/enums.js
|
|
785
785
|
var AccessDeniedExceptionReason = {
|
|
786
786
|
KMS_ACCESS_DENIED: "KMS_AccessDeniedException"
|
|
787
787
|
};
|