@layerzerolabs/vm-tooling 0.2.22 → 0.2.24

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 (180) hide show
  1. package/LICENSE +23 -0
  2. package/dist/4JD7YXQE.js +47 -0
  3. package/dist/4JD7YXQE.js.map +1 -0
  4. package/dist/C75WADM5.js +15 -0
  5. package/dist/C75WADM5.js.map +1 -0
  6. package/dist/{GEZ3XVTG.cjs → GD5UJA6I.cjs} +11 -17
  7. package/dist/GD5UJA6I.cjs.map +1 -0
  8. package/dist/{EP2ZMEJO.js → GNUGNPEQ.js} +47 -13
  9. package/dist/GNUGNPEQ.js.map +1 -0
  10. package/dist/ICMHRFCX.cjs +78 -0
  11. package/dist/ICMHRFCX.cjs.map +1 -0
  12. package/dist/{OMZA67EH.js → J2675KOZ.js} +5 -5
  13. package/dist/J2675KOZ.js.map +1 -0
  14. package/dist/{BEHAXLXQ.js → K5MQ7DAS.js} +4 -4
  15. package/dist/{BEHAXLXQ.js.map → K5MQ7DAS.js.map} +1 -1
  16. package/dist/{Y7XA7YWK.cjs → M7FR43QL.cjs} +5 -5
  17. package/dist/M7FR43QL.cjs.map +1 -0
  18. package/dist/{UGOYXDC2.js → V3AKNVHN.js} +10 -16
  19. package/dist/V3AKNVHN.js.map +1 -0
  20. package/dist/{VH4UXRKG.cjs → VAGPJO44.cjs} +49 -15
  21. package/dist/VAGPJO44.cjs.map +1 -0
  22. package/dist/{GG2ZAAIE.cjs → VFGI4IPI.cjs} +6 -6
  23. package/dist/{GG2ZAAIE.cjs.map → VFGI4IPI.cjs.map} +1 -1
  24. package/dist/Y6ZP4DWX.cjs +49 -0
  25. package/dist/Y6ZP4DWX.cjs.map +1 -0
  26. package/dist/YI63OKDP.js +53 -0
  27. package/dist/YI63OKDP.js.map +1 -0
  28. package/dist/Z55JUIO3.cjs +17 -0
  29. package/dist/Z55JUIO3.cjs.map +1 -0
  30. package/dist/cli.cjs +9 -9
  31. package/dist/cli.js +8 -8
  32. package/dist/config.cjs +8 -12
  33. package/dist/config.d.ts +6 -4
  34. package/dist/config.d.ts.map +1 -1
  35. package/dist/config.js +1 -1
  36. package/dist/core/index.cjs +5 -5
  37. package/dist/core/index.js +4 -4
  38. package/dist/core/tool-executor.cjs +5 -5
  39. package/dist/core/tool-executor.d.ts.map +1 -1
  40. package/dist/core/tool-executor.js +4 -4
  41. package/dist/github/index.cjs +5 -16
  42. package/dist/github/index.d.ts.map +1 -1
  43. package/dist/github/index.js +4 -15
  44. package/dist/github/matrix.cjs +4 -15
  45. package/dist/github/matrix.d.ts +13 -3
  46. package/dist/github/matrix.d.ts.map +1 -1
  47. package/dist/github/matrix.js +3 -14
  48. package/dist/index.cjs +22 -29
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.d.ts +2 -1
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +11 -22
  53. package/dist/index.js.map +1 -1
  54. package/dist/test.cjs +4 -4
  55. package/dist/test.d.ts +1 -1
  56. package/dist/test.d.ts.map +1 -1
  57. package/dist/test.js +3 -3
  58. package/dist/utils/docker.cjs +6 -6
  59. package/dist/utils/docker.d.ts +2 -2
  60. package/dist/utils/docker.d.ts.map +1 -1
  61. package/dist/utils/docker.js +2 -2
  62. package/package.json +11 -5
  63. package/dist/3NXVR3DC.cjs +0 -18
  64. package/dist/3NXVR3DC.cjs.map +0 -1
  65. package/dist/3TIEGVTO.cjs +0 -431
  66. package/dist/3TIEGVTO.cjs.map +0 -1
  67. package/dist/3V7HWCTZ.js +0 -190
  68. package/dist/3V7HWCTZ.js.map +0 -1
  69. package/dist/3YN24Z7J.js +0 -261
  70. package/dist/3YN24Z7J.js.map +0 -1
  71. package/dist/427QOV7V.js +0 -348
  72. package/dist/427QOV7V.js.map +0 -1
  73. package/dist/4DNHANRV.cjs +0 -39
  74. package/dist/4DNHANRV.cjs.map +0 -1
  75. package/dist/5IOOBAVX.cjs +0 -832
  76. package/dist/5IOOBAVX.cjs.map +0 -1
  77. package/dist/5QZDX45Q.js +0 -1975
  78. package/dist/5QZDX45Q.js.map +0 -1
  79. package/dist/634Q3MUX.cjs +0 -1128
  80. package/dist/634Q3MUX.cjs.map +0 -1
  81. package/dist/77LS3AZK.cjs +0 -1977
  82. package/dist/77LS3AZK.cjs.map +0 -1
  83. package/dist/7AUJV34E.cjs +0 -144
  84. package/dist/7AUJV34E.cjs.map +0 -1
  85. package/dist/7HA6JSWY.cjs +0 -103
  86. package/dist/7HA6JSWY.cjs.map +0 -1
  87. package/dist/7JWBGU62.js +0 -141
  88. package/dist/7JWBGU62.js.map +0 -1
  89. package/dist/7O5SJUXT.cjs +0 -354
  90. package/dist/7O5SJUXT.cjs.map +0 -1
  91. package/dist/7R4LC2OX.js +0 -3246
  92. package/dist/7R4LC2OX.js.map +0 -1
  93. package/dist/DDKMZ6EE.js +0 -6
  94. package/dist/DDKMZ6EE.js.map +0 -1
  95. package/dist/DS4LZJHX.cjs +0 -252
  96. package/dist/DS4LZJHX.cjs.map +0 -1
  97. package/dist/EP2ZMEJO.js.map +0 -1
  98. package/dist/ERGNNQ6N.js +0 -16
  99. package/dist/ERGNNQ6N.js.map +0 -1
  100. package/dist/EXBTG2GQ.js +0 -4823
  101. package/dist/EXBTG2GQ.js.map +0 -1
  102. package/dist/FBKCEQT5.cjs +0 -263
  103. package/dist/FBKCEQT5.cjs.map +0 -1
  104. package/dist/FC7UGQEI.cjs +0 -19
  105. package/dist/FC7UGQEI.cjs.map +0 -1
  106. package/dist/FDH37YWR.cjs +0 -52
  107. package/dist/FDH37YWR.cjs.map +0 -1
  108. package/dist/FQPOYRQJ.cjs +0 -59
  109. package/dist/FQPOYRQJ.cjs.map +0 -1
  110. package/dist/GEZ3XVTG.cjs.map +0 -1
  111. package/dist/GHQS37WK.js +0 -251
  112. package/dist/GHQS37WK.js.map +0 -1
  113. package/dist/GVS7FGYI.cjs +0 -49
  114. package/dist/GVS7FGYI.cjs.map +0 -1
  115. package/dist/HVDH52K5.cjs +0 -3273
  116. package/dist/HVDH52K5.cjs.map +0 -1
  117. package/dist/HVR3WYCV.js +0 -70
  118. package/dist/HVR3WYCV.js.map +0 -1
  119. package/dist/I24EDDRD.cjs +0 -30
  120. package/dist/I24EDDRD.cjs.map +0 -1
  121. package/dist/IYIFH7LC.js +0 -29
  122. package/dist/IYIFH7LC.js.map +0 -1
  123. package/dist/J2A64VZU.js +0 -143
  124. package/dist/J2A64VZU.js.map +0 -1
  125. package/dist/JXS7ZGGU.js +0 -350
  126. package/dist/JXS7ZGGU.js.map +0 -1
  127. package/dist/MDE37STN.cjs +0 -146
  128. package/dist/MDE37STN.cjs.map +0 -1
  129. package/dist/OBHJ2FSI.cjs +0 -103
  130. package/dist/OBHJ2FSI.cjs.map +0 -1
  131. package/dist/OLCI6QQA.cjs +0 -73
  132. package/dist/OLCI6QQA.cjs.map +0 -1
  133. package/dist/OMZA67EH.js.map +0 -1
  134. package/dist/PFRT6NBP.js +0 -30
  135. package/dist/PFRT6NBP.js.map +0 -1
  136. package/dist/PQ4H7UWU.js +0 -51
  137. package/dist/PQ4H7UWU.js.map +0 -1
  138. package/dist/Q5L3QIKZ.cjs +0 -825
  139. package/dist/Q5L3QIKZ.cjs.map +0 -1
  140. package/dist/QDUIE3K3.js +0 -829
  141. package/dist/QDUIE3K3.js.map +0 -1
  142. package/dist/QEUMSA6O.cjs +0 -260
  143. package/dist/QEUMSA6O.cjs.map +0 -1
  144. package/dist/QHFDWPE3.js +0 -28
  145. package/dist/QHFDWPE3.js.map +0 -1
  146. package/dist/TQHAG73D.js +0 -46
  147. package/dist/TQHAG73D.js.map +0 -1
  148. package/dist/UFZOOGMQ.js +0 -46
  149. package/dist/UFZOOGMQ.js.map +0 -1
  150. package/dist/UGOYXDC2.js.map +0 -1
  151. package/dist/UOMNLT53.cjs +0 -33
  152. package/dist/UOMNLT53.cjs.map +0 -1
  153. package/dist/UUMDUUBJ.cjs +0 -194
  154. package/dist/UUMDUUBJ.cjs.map +0 -1
  155. package/dist/VEHBRPVG.js +0 -175
  156. package/dist/VEHBRPVG.js.map +0 -1
  157. package/dist/VH4UXRKG.cjs.map +0 -1
  158. package/dist/VM366GYK.js +0 -101
  159. package/dist/VM366GYK.js.map +0 -1
  160. package/dist/W3F4RJVY.js +0 -1103
  161. package/dist/W3F4RJVY.js.map +0 -1
  162. package/dist/W4QDYLOA.js +0 -17
  163. package/dist/W4QDYLOA.js.map +0 -1
  164. package/dist/WSDEGNMI.cjs +0 -56
  165. package/dist/WSDEGNMI.cjs.map +0 -1
  166. package/dist/WSES6SE2.js +0 -420
  167. package/dist/WSES6SE2.js.map +0 -1
  168. package/dist/XCUEIITH.js +0 -101
  169. package/dist/XCUEIITH.js.map +0 -1
  170. package/dist/XVWZAEKK.js +0 -807
  171. package/dist/XVWZAEKK.js.map +0 -1
  172. package/dist/Y7XA7YWK.cjs.map +0 -1
  173. package/dist/YHGTF22I.cjs +0 -4881
  174. package/dist/YHGTF22I.cjs.map +0 -1
  175. package/dist/Z7SRDY43.js +0 -250
  176. package/dist/Z7SRDY43.js.map +0 -1
  177. package/dist/ZGCH6KFP.cjs +0 -354
  178. package/dist/ZGCH6KFP.cjs.map +0 -1
  179. package/dist/ZTSEHGET.cjs +0 -182
  180. package/dist/ZTSEHGET.cjs.map +0 -1
package/dist/634Q3MUX.cjs DELETED
@@ -1,1128 +0,0 @@
1
- 'use strict';
2
-
3
- var OBHJ2FSI_cjs = require('./OBHJ2FSI.cjs');
4
- var MDE37STN_cjs = require('./MDE37STN.cjs');
5
- var UOMNLT53_cjs = require('./UOMNLT53.cjs');
6
- var ZTSEHGET_cjs = require('./ZTSEHGET.cjs');
7
- var YHGTF22I_cjs = require('./YHGTF22I.cjs');
8
- var UUMDUUBJ_cjs = require('./UUMDUUBJ.cjs');
9
- require('./I24EDDRD.cjs');
10
- require('./QEUMSA6O.cjs');
11
- var Q5L3QIKZ_cjs = require('./Q5L3QIKZ.cjs');
12
- var FDH37YWR_cjs = require('./FDH37YWR.cjs');
13
- require('./3NXVR3DC.cjs');
14
- require('./GVS7FGYI.cjs');
15
- var _24WEKBY3_cjs = require('./24WEKBY3.cjs');
16
-
17
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js
18
- _24WEKBY3_cjs.init_cjs_shims();
19
-
20
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
21
- _24WEKBY3_cjs.init_cjs_shims();
22
-
23
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
24
- _24WEKBY3_cjs.init_cjs_shims();
25
- var defaultSSOOIDCHttpAuthSchemeParametersProvider = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (config, context, input) => {
26
- return {
27
- operation: YHGTF22I_cjs.getSmithyContext(context).operation,
28
- region: await YHGTF22I_cjs.normalizeProvider(config.region)() || (() => {
29
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
30
- })()
31
- };
32
- }, "defaultSSOOIDCHttpAuthSchemeParametersProvider");
33
- function createAwsAuthSigv4HttpAuthOption(authParameters) {
34
- return {
35
- schemeId: "aws.auth#sigv4",
36
- signingProperties: {
37
- name: "sso-oauth",
38
- region: authParameters.region
39
- },
40
- propertiesExtractor: /* @__PURE__ */ _24WEKBY3_cjs.__name((config, context) => ({
41
- signingProperties: {
42
- config,
43
- context
44
- }
45
- }), "propertiesExtractor")
46
- };
47
- }
48
- _24WEKBY3_cjs.__name(createAwsAuthSigv4HttpAuthOption, "createAwsAuthSigv4HttpAuthOption");
49
- function createSmithyApiNoAuthHttpAuthOption(authParameters) {
50
- return {
51
- schemeId: "smithy.api#noAuth"
52
- };
53
- }
54
- _24WEKBY3_cjs.__name(createSmithyApiNoAuthHttpAuthOption, "createSmithyApiNoAuthHttpAuthOption");
55
- var defaultSSOOIDCHttpAuthSchemeProvider = /* @__PURE__ */ _24WEKBY3_cjs.__name((authParameters) => {
56
- const options = [];
57
- switch (authParameters.operation) {
58
- case "CreateToken": {
59
- options.push(createSmithyApiNoAuthHttpAuthOption());
60
- break;
61
- }
62
- default: {
63
- options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
64
- }
65
- }
66
- return options;
67
- }, "defaultSSOOIDCHttpAuthSchemeProvider");
68
- var resolveHttpAuthSchemeConfig = /* @__PURE__ */ _24WEKBY3_cjs.__name((config) => {
69
- const config_0 = YHGTF22I_cjs.resolveAwsSdkSigV4Config(config);
70
- return Object.assign(config_0, {
71
- authSchemePreference: YHGTF22I_cjs.normalizeProvider(config.authSchemePreference ?? [])
72
- });
73
- }, "resolveHttpAuthSchemeConfig");
74
-
75
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js
76
- _24WEKBY3_cjs.init_cjs_shims();
77
- var resolveClientEndpointParameters = /* @__PURE__ */ _24WEKBY3_cjs.__name((options) => {
78
- return Object.assign(options, {
79
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
80
- useFipsEndpoint: options.useFipsEndpoint ?? false,
81
- defaultSigningName: "sso-oauth"
82
- });
83
- }, "resolveClientEndpointParameters");
84
- var commonParams = {
85
- UseFIPS: {
86
- type: "builtInParams",
87
- name: "useFipsEndpoint"
88
- },
89
- Endpoint: {
90
- type: "builtInParams",
91
- name: "endpoint"
92
- },
93
- Region: {
94
- type: "builtInParams",
95
- name: "region"
96
- },
97
- UseDualStack: {
98
- type: "builtInParams",
99
- name: "useDualstackEndpoint"
100
- }
101
- };
102
-
103
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
104
- _24WEKBY3_cjs.init_cjs_shims();
105
-
106
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
107
- _24WEKBY3_cjs.init_cjs_shims();
108
-
109
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
110
- _24WEKBY3_cjs.init_cjs_shims();
111
-
112
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js
113
- _24WEKBY3_cjs.init_cjs_shims();
114
- var u = "required";
115
- var v = "fn";
116
- var w = "argv";
117
- var x = "ref";
118
- var a = true;
119
- var b = "isSet";
120
- var c = "booleanEquals";
121
- var d = "error";
122
- var e = "endpoint";
123
- var f = "tree";
124
- var g = "PartitionResult";
125
- var h = "getAttr";
126
- var i = {
127
- [u]: false,
128
- "type": "String"
129
- };
130
- var j = {
131
- [u]: true,
132
- "default": false,
133
- "type": "Boolean"
134
- };
135
- var k = {
136
- [x]: "Endpoint"
137
- };
138
- var l = {
139
- [v]: c,
140
- [w]: [
141
- {
142
- [x]: "UseFIPS"
143
- },
144
- true
145
- ]
146
- };
147
- var m = {
148
- [v]: c,
149
- [w]: [
150
- {
151
- [x]: "UseDualStack"
152
- },
153
- true
154
- ]
155
- };
156
- var n = {};
157
- var o = {
158
- [v]: h,
159
- [w]: [
160
- {
161
- [x]: g
162
- },
163
- "supportsFIPS"
164
- ]
165
- };
166
- var p = {
167
- [x]: g
168
- };
169
- var q = {
170
- [v]: c,
171
- [w]: [
172
- true,
173
- {
174
- [v]: h,
175
- [w]: [
176
- p,
177
- "supportsDualStack"
178
- ]
179
- }
180
- ]
181
- };
182
- var r = [
183
- l
184
- ];
185
- var s = [
186
- m
187
- ];
188
- var t = [
189
- {
190
- [x]: "Region"
191
- }
192
- ];
193
- var _data = {
194
- version: "1.0",
195
- parameters: {
196
- Region: i,
197
- UseDualStack: j,
198
- UseFIPS: j,
199
- Endpoint: i
200
- },
201
- rules: [
202
- {
203
- conditions: [
204
- {
205
- [v]: b,
206
- [w]: [
207
- k
208
- ]
209
- }
210
- ],
211
- rules: [
212
- {
213
- conditions: r,
214
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
215
- type: d
216
- },
217
- {
218
- conditions: s,
219
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
220
- type: d
221
- },
222
- {
223
- endpoint: {
224
- url: k,
225
- properties: n,
226
- headers: n
227
- },
228
- type: e
229
- }
230
- ],
231
- type: f
232
- },
233
- {
234
- conditions: [
235
- {
236
- [v]: b,
237
- [w]: t
238
- }
239
- ],
240
- rules: [
241
- {
242
- conditions: [
243
- {
244
- [v]: "aws.partition",
245
- [w]: t,
246
- assign: g
247
- }
248
- ],
249
- rules: [
250
- {
251
- conditions: [
252
- l,
253
- m
254
- ],
255
- rules: [
256
- {
257
- conditions: [
258
- {
259
- [v]: c,
260
- [w]: [
261
- a,
262
- o
263
- ]
264
- },
265
- q
266
- ],
267
- rules: [
268
- {
269
- endpoint: {
270
- url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
271
- properties: n,
272
- headers: n
273
- },
274
- type: e
275
- }
276
- ],
277
- type: f
278
- },
279
- {
280
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
281
- type: d
282
- }
283
- ],
284
- type: f
285
- },
286
- {
287
- conditions: r,
288
- rules: [
289
- {
290
- conditions: [
291
- {
292
- [v]: c,
293
- [w]: [
294
- o,
295
- a
296
- ]
297
- }
298
- ],
299
- rules: [
300
- {
301
- conditions: [
302
- {
303
- [v]: "stringEquals",
304
- [w]: [
305
- {
306
- [v]: h,
307
- [w]: [
308
- p,
309
- "name"
310
- ]
311
- },
312
- "aws-us-gov"
313
- ]
314
- }
315
- ],
316
- endpoint: {
317
- url: "https://oidc.{Region}.amazonaws.com",
318
- properties: n,
319
- headers: n
320
- },
321
- type: e
322
- },
323
- {
324
- endpoint: {
325
- url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
326
- properties: n,
327
- headers: n
328
- },
329
- type: e
330
- }
331
- ],
332
- type: f
333
- },
334
- {
335
- error: "FIPS is enabled but this partition does not support FIPS",
336
- type: d
337
- }
338
- ],
339
- type: f
340
- },
341
- {
342
- conditions: s,
343
- rules: [
344
- {
345
- conditions: [
346
- q
347
- ],
348
- rules: [
349
- {
350
- endpoint: {
351
- url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
352
- properties: n,
353
- headers: n
354
- },
355
- type: e
356
- }
357
- ],
358
- type: f
359
- },
360
- {
361
- error: "DualStack is enabled but this partition does not support DualStack",
362
- type: d
363
- }
364
- ],
365
- type: f
366
- },
367
- {
368
- endpoint: {
369
- url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}",
370
- properties: n,
371
- headers: n
372
- },
373
- type: e
374
- }
375
- ],
376
- type: f
377
- }
378
- ],
379
- type: f
380
- },
381
- {
382
- error: "Invalid Configuration: Missing Region",
383
- type: d
384
- }
385
- ]
386
- };
387
- var ruleSet = _data;
388
-
389
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js
390
- var cache = new YHGTF22I_cjs.EndpointCache({
391
- size: 50,
392
- params: [
393
- "Endpoint",
394
- "Region",
395
- "UseDualStack",
396
- "UseFIPS"
397
- ]
398
- });
399
- var defaultEndpointResolver = /* @__PURE__ */ _24WEKBY3_cjs.__name((endpointParams, context = {}) => {
400
- return cache.get(endpointParams, () => YHGTF22I_cjs.resolveEndpoint(ruleSet, {
401
- endpointParams,
402
- logger: context.logger
403
- }));
404
- }, "defaultEndpointResolver");
405
- YHGTF22I_cjs.customEndpointFunctions.aws = YHGTF22I_cjs.awsEndpointFunctions;
406
-
407
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js
408
- var getRuntimeConfig = /* @__PURE__ */ _24WEKBY3_cjs.__name((config) => {
409
- return {
410
- apiVersion: "2019-06-10",
411
- base64Decoder: config?.base64Decoder ?? Q5L3QIKZ_cjs.fromBase64,
412
- base64Encoder: config?.base64Encoder ?? Q5L3QIKZ_cjs.toBase64,
413
- disableHostPrefix: config?.disableHostPrefix ?? false,
414
- endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
415
- extensions: config?.extensions ?? [],
416
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOOIDCHttpAuthSchemeProvider,
417
- httpAuthSchemes: config?.httpAuthSchemes ?? [
418
- {
419
- schemeId: "aws.auth#sigv4",
420
- identityProvider: /* @__PURE__ */ _24WEKBY3_cjs.__name((ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), "identityProvider"),
421
- signer: new YHGTF22I_cjs.AwsSdkSigV4Signer()
422
- },
423
- {
424
- schemeId: "smithy.api#noAuth",
425
- identityProvider: /* @__PURE__ */ _24WEKBY3_cjs.__name((ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), "identityProvider"),
426
- signer: new UOMNLT53_cjs.NoAuthSigner()
427
- }
428
- ],
429
- logger: config?.logger ?? new YHGTF22I_cjs.NoOpLogger(),
430
- serviceId: config?.serviceId ?? "SSO OIDC",
431
- urlParser: config?.urlParser ?? UUMDUUBJ_cjs.parseUrl,
432
- utf8Decoder: config?.utf8Decoder ?? FDH37YWR_cjs.fromUtf8,
433
- utf8Encoder: config?.utf8Encoder ?? FDH37YWR_cjs.toUtf8
434
- };
435
- }, "getRuntimeConfig");
436
-
437
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js
438
- var getRuntimeConfig2 = /* @__PURE__ */ _24WEKBY3_cjs.__name((config) => {
439
- YHGTF22I_cjs.emitWarningIfUnsupportedVersion2(process.version);
440
- const defaultsMode = YHGTF22I_cjs.resolveDefaultsModeConfig(config);
441
- const defaultConfigProvider = /* @__PURE__ */ _24WEKBY3_cjs.__name(() => defaultsMode().then(YHGTF22I_cjs.loadConfigsForDefaultMode), "defaultConfigProvider");
442
- const clientSharedValues = getRuntimeConfig(config);
443
- YHGTF22I_cjs.emitWarningIfUnsupportedVersion(process.version);
444
- const loaderConfig = {
445
- profile: config?.profile,
446
- logger: clientSharedValues.logger
447
- };
448
- return {
449
- ...clientSharedValues,
450
- ...config,
451
- runtime: "node",
452
- defaultsMode,
453
- authSchemePreference: config?.authSchemePreference ?? UUMDUUBJ_cjs.loadConfig(YHGTF22I_cjs.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
454
- bodyLengthChecker: config?.bodyLengthChecker ?? YHGTF22I_cjs.calculateBodyLength,
455
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? YHGTF22I_cjs.createDefaultUserAgentProvider({
456
- serviceId: clientSharedValues.serviceId,
457
- clientVersion: MDE37STN_cjs.package_default.version
458
- }),
459
- maxAttempts: config?.maxAttempts ?? UUMDUUBJ_cjs.loadConfig(YHGTF22I_cjs.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
460
- region: config?.region ?? UUMDUUBJ_cjs.loadConfig(YHGTF22I_cjs.NODE_REGION_CONFIG_OPTIONS, {
461
- ...YHGTF22I_cjs.NODE_REGION_CONFIG_FILE_OPTIONS,
462
- ...loaderConfig
463
- }),
464
- requestHandler: Q5L3QIKZ_cjs.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
465
- retryMode: config?.retryMode ?? UUMDUUBJ_cjs.loadConfig({
466
- ...YHGTF22I_cjs.NODE_RETRY_MODE_CONFIG_OPTIONS,
467
- default: /* @__PURE__ */ _24WEKBY3_cjs.__name(async () => (await defaultConfigProvider()).retryMode || YHGTF22I_cjs.DEFAULT_RETRY_MODE, "default")
468
- }, config),
469
- sha256: config?.sha256 ?? YHGTF22I_cjs.Hash.bind(null, "sha256"),
470
- streamCollector: config?.streamCollector ?? Q5L3QIKZ_cjs.streamCollector,
471
- useDualstackEndpoint: config?.useDualstackEndpoint ?? UUMDUUBJ_cjs.loadConfig(YHGTF22I_cjs.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
472
- useFipsEndpoint: config?.useFipsEndpoint ?? UUMDUUBJ_cjs.loadConfig(YHGTF22I_cjs.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
473
- userAgentAppId: config?.userAgentAppId ?? UUMDUUBJ_cjs.loadConfig(YHGTF22I_cjs.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
474
- };
475
- }, "getRuntimeConfig");
476
-
477
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
478
- _24WEKBY3_cjs.init_cjs_shims();
479
-
480
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.js
481
- _24WEKBY3_cjs.init_cjs_shims();
482
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ _24WEKBY3_cjs.__name((runtimeConfig) => {
483
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
484
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
485
- let _credentials = runtimeConfig.credentials;
486
- return {
487
- setHttpAuthScheme(httpAuthScheme) {
488
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
489
- if (index === -1) {
490
- _httpAuthSchemes.push(httpAuthScheme);
491
- } else {
492
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
493
- }
494
- },
495
- httpAuthSchemes() {
496
- return _httpAuthSchemes;
497
- },
498
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
499
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
500
- },
501
- httpAuthSchemeProvider() {
502
- return _httpAuthSchemeProvider;
503
- },
504
- setCredentials(credentials) {
505
- _credentials = credentials;
506
- },
507
- credentials() {
508
- return _credentials;
509
- }
510
- };
511
- }, "getHttpAuthExtensionConfiguration");
512
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ _24WEKBY3_cjs.__name((config) => {
513
- return {
514
- httpAuthSchemes: config.httpAuthSchemes(),
515
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
516
- credentials: config.credentials()
517
- };
518
- }, "resolveHttpAuthRuntimeConfig");
519
-
520
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js
521
- var resolveRuntimeExtensions = /* @__PURE__ */ _24WEKBY3_cjs.__name((runtimeConfig, extensions) => {
522
- const extensionConfiguration = Object.assign(YHGTF22I_cjs.getAwsRegionExtensionConfiguration(runtimeConfig), YHGTF22I_cjs.getDefaultExtensionConfiguration(runtimeConfig), YHGTF22I_cjs.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
523
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
524
- return Object.assign(runtimeConfig, YHGTF22I_cjs.resolveAwsRegionExtensionConfiguration(extensionConfiguration), YHGTF22I_cjs.resolveDefaultRuntimeConfig(extensionConfiguration), YHGTF22I_cjs.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
525
- }, "resolveRuntimeExtensions");
526
-
527
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js
528
- var SSOOIDCClient = class extends YHGTF22I_cjs.Client {
529
- static {
530
- _24WEKBY3_cjs.__name(this, "SSOOIDCClient");
531
- }
532
- config;
533
- constructor(...[configuration]) {
534
- const _config_0 = getRuntimeConfig2(configuration || {});
535
- super(_config_0);
536
- this.initConfig = _config_0;
537
- const _config_1 = resolveClientEndpointParameters(_config_0);
538
- const _config_2 = YHGTF22I_cjs.resolveUserAgentConfig(_config_1);
539
- const _config_3 = YHGTF22I_cjs.resolveRetryConfig(_config_2);
540
- const _config_4 = YHGTF22I_cjs.resolveRegionConfig(_config_3);
541
- const _config_5 = YHGTF22I_cjs.resolveHostHeaderConfig(_config_4);
542
- const _config_6 = YHGTF22I_cjs.resolveEndpointConfig(_config_5);
543
- const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
544
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
545
- this.config = _config_8;
546
- this.middlewareStack.use(YHGTF22I_cjs.getUserAgentPlugin(this.config));
547
- this.middlewareStack.use(YHGTF22I_cjs.getRetryPlugin(this.config));
548
- this.middlewareStack.use(YHGTF22I_cjs.getContentLengthPlugin(this.config));
549
- this.middlewareStack.use(YHGTF22I_cjs.getHostHeaderPlugin(this.config));
550
- this.middlewareStack.use(YHGTF22I_cjs.getLoggerPlugin(this.config));
551
- this.middlewareStack.use(YHGTF22I_cjs.getRecursionDetectionPlugin(this.config));
552
- this.middlewareStack.use(YHGTF22I_cjs.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
553
- httpAuthSchemeParametersProvider: defaultSSOOIDCHttpAuthSchemeParametersProvider,
554
- identityProviderConfigProvider: /* @__PURE__ */ _24WEKBY3_cjs.__name(async (config) => new YHGTF22I_cjs.DefaultIdentityProviderConfig({
555
- "aws.auth#sigv4": config.credentials
556
- }), "identityProviderConfigProvider")
557
- }));
558
- this.middlewareStack.use(YHGTF22I_cjs.getHttpSigningPlugin(this.config));
559
- }
560
- destroy() {
561
- super.destroy();
562
- }
563
- };
564
-
565
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
566
- _24WEKBY3_cjs.init_cjs_shims();
567
-
568
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
569
- _24WEKBY3_cjs.init_cjs_shims();
570
-
571
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
572
- _24WEKBY3_cjs.init_cjs_shims();
573
-
574
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js
575
- _24WEKBY3_cjs.init_cjs_shims();
576
- var SSOOIDCServiceException = class _SSOOIDCServiceException extends YHGTF22I_cjs.ServiceException {
577
- static {
578
- _24WEKBY3_cjs.__name(this, "SSOOIDCServiceException");
579
- }
580
- constructor(options) {
581
- super(options);
582
- Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
583
- }
584
- };
585
-
586
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js
587
- var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException {
588
- static {
589
- _24WEKBY3_cjs.__name(this, "AccessDeniedException");
590
- }
591
- name = "AccessDeniedException";
592
- $fault = "client";
593
- error;
594
- error_description;
595
- constructor(opts) {
596
- super({
597
- name: "AccessDeniedException",
598
- $fault: "client",
599
- ...opts
600
- });
601
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
602
- this.error = opts.error;
603
- this.error_description = opts.error_description;
604
- }
605
- };
606
- var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException {
607
- static {
608
- _24WEKBY3_cjs.__name(this, "AuthorizationPendingException");
609
- }
610
- name = "AuthorizationPendingException";
611
- $fault = "client";
612
- error;
613
- error_description;
614
- constructor(opts) {
615
- super({
616
- name: "AuthorizationPendingException",
617
- $fault: "client",
618
- ...opts
619
- });
620
- Object.setPrototypeOf(this, _AuthorizationPendingException.prototype);
621
- this.error = opts.error;
622
- this.error_description = opts.error_description;
623
- }
624
- };
625
- var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ _24WEKBY3_cjs.__name((obj) => ({
626
- ...obj,
627
- ...obj.clientSecret && {
628
- clientSecret: UOMNLT53_cjs.SENSITIVE_STRING
629
- },
630
- ...obj.refreshToken && {
631
- refreshToken: UOMNLT53_cjs.SENSITIVE_STRING
632
- },
633
- ...obj.codeVerifier && {
634
- codeVerifier: UOMNLT53_cjs.SENSITIVE_STRING
635
- }
636
- }), "CreateTokenRequestFilterSensitiveLog");
637
- var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ _24WEKBY3_cjs.__name((obj) => ({
638
- ...obj,
639
- ...obj.accessToken && {
640
- accessToken: UOMNLT53_cjs.SENSITIVE_STRING
641
- },
642
- ...obj.refreshToken && {
643
- refreshToken: UOMNLT53_cjs.SENSITIVE_STRING
644
- },
645
- ...obj.idToken && {
646
- idToken: UOMNLT53_cjs.SENSITIVE_STRING
647
- }
648
- }), "CreateTokenResponseFilterSensitiveLog");
649
- var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException {
650
- static {
651
- _24WEKBY3_cjs.__name(this, "ExpiredTokenException");
652
- }
653
- name = "ExpiredTokenException";
654
- $fault = "client";
655
- error;
656
- error_description;
657
- constructor(opts) {
658
- super({
659
- name: "ExpiredTokenException",
660
- $fault: "client",
661
- ...opts
662
- });
663
- Object.setPrototypeOf(this, _ExpiredTokenException.prototype);
664
- this.error = opts.error;
665
- this.error_description = opts.error_description;
666
- }
667
- };
668
- var InternalServerException = class _InternalServerException extends SSOOIDCServiceException {
669
- static {
670
- _24WEKBY3_cjs.__name(this, "InternalServerException");
671
- }
672
- name = "InternalServerException";
673
- $fault = "server";
674
- error;
675
- error_description;
676
- constructor(opts) {
677
- super({
678
- name: "InternalServerException",
679
- $fault: "server",
680
- ...opts
681
- });
682
- Object.setPrototypeOf(this, _InternalServerException.prototype);
683
- this.error = opts.error;
684
- this.error_description = opts.error_description;
685
- }
686
- };
687
- var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException {
688
- static {
689
- _24WEKBY3_cjs.__name(this, "InvalidClientException");
690
- }
691
- name = "InvalidClientException";
692
- $fault = "client";
693
- error;
694
- error_description;
695
- constructor(opts) {
696
- super({
697
- name: "InvalidClientException",
698
- $fault: "client",
699
- ...opts
700
- });
701
- Object.setPrototypeOf(this, _InvalidClientException.prototype);
702
- this.error = opts.error;
703
- this.error_description = opts.error_description;
704
- }
705
- };
706
- var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException {
707
- static {
708
- _24WEKBY3_cjs.__name(this, "InvalidGrantException");
709
- }
710
- name = "InvalidGrantException";
711
- $fault = "client";
712
- error;
713
- error_description;
714
- constructor(opts) {
715
- super({
716
- name: "InvalidGrantException",
717
- $fault: "client",
718
- ...opts
719
- });
720
- Object.setPrototypeOf(this, _InvalidGrantException.prototype);
721
- this.error = opts.error;
722
- this.error_description = opts.error_description;
723
- }
724
- };
725
- var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException {
726
- static {
727
- _24WEKBY3_cjs.__name(this, "InvalidRequestException");
728
- }
729
- name = "InvalidRequestException";
730
- $fault = "client";
731
- error;
732
- error_description;
733
- constructor(opts) {
734
- super({
735
- name: "InvalidRequestException",
736
- $fault: "client",
737
- ...opts
738
- });
739
- Object.setPrototypeOf(this, _InvalidRequestException.prototype);
740
- this.error = opts.error;
741
- this.error_description = opts.error_description;
742
- }
743
- };
744
- var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException {
745
- static {
746
- _24WEKBY3_cjs.__name(this, "InvalidScopeException");
747
- }
748
- name = "InvalidScopeException";
749
- $fault = "client";
750
- error;
751
- error_description;
752
- constructor(opts) {
753
- super({
754
- name: "InvalidScopeException",
755
- $fault: "client",
756
- ...opts
757
- });
758
- Object.setPrototypeOf(this, _InvalidScopeException.prototype);
759
- this.error = opts.error;
760
- this.error_description = opts.error_description;
761
- }
762
- };
763
- var SlowDownException = class _SlowDownException extends SSOOIDCServiceException {
764
- static {
765
- _24WEKBY3_cjs.__name(this, "SlowDownException");
766
- }
767
- name = "SlowDownException";
768
- $fault = "client";
769
- error;
770
- error_description;
771
- constructor(opts) {
772
- super({
773
- name: "SlowDownException",
774
- $fault: "client",
775
- ...opts
776
- });
777
- Object.setPrototypeOf(this, _SlowDownException.prototype);
778
- this.error = opts.error;
779
- this.error_description = opts.error_description;
780
- }
781
- };
782
- var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException {
783
- static {
784
- _24WEKBY3_cjs.__name(this, "UnauthorizedClientException");
785
- }
786
- name = "UnauthorizedClientException";
787
- $fault = "client";
788
- error;
789
- error_description;
790
- constructor(opts) {
791
- super({
792
- name: "UnauthorizedClientException",
793
- $fault: "client",
794
- ...opts
795
- });
796
- Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
797
- this.error = opts.error;
798
- this.error_description = opts.error_description;
799
- }
800
- };
801
- var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException {
802
- static {
803
- _24WEKBY3_cjs.__name(this, "UnsupportedGrantTypeException");
804
- }
805
- name = "UnsupportedGrantTypeException";
806
- $fault = "client";
807
- error;
808
- error_description;
809
- constructor(opts) {
810
- super({
811
- name: "UnsupportedGrantTypeException",
812
- $fault: "client",
813
- ...opts
814
- });
815
- Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype);
816
- this.error = opts.error;
817
- this.error_description = opts.error_description;
818
- }
819
- };
820
-
821
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js
822
- _24WEKBY3_cjs.init_cjs_shims();
823
- var se_CreateTokenCommand = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (input, context) => {
824
- const b2 = OBHJ2FSI_cjs.requestBuilder(input, context);
825
- const headers = {
826
- "content-type": "application/json"
827
- };
828
- b2.bp("/token");
829
- let body;
830
- body = JSON.stringify(ZTSEHGET_cjs.take(input, {
831
- clientId: [],
832
- clientSecret: [],
833
- code: [],
834
- codeVerifier: [],
835
- deviceCode: [],
836
- grantType: [],
837
- redirectUri: [],
838
- refreshToken: [],
839
- scope: /* @__PURE__ */ _24WEKBY3_cjs.__name((_) => ZTSEHGET_cjs._json(_), "scope")
840
- }));
841
- b2.m("POST").h(headers).b(body);
842
- return b2.build();
843
- }, "se_CreateTokenCommand");
844
- var de_CreateTokenCommand = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (output, context) => {
845
- if (output.statusCode !== 200 && output.statusCode >= 300) {
846
- return de_CommandError(output, context);
847
- }
848
- const contents = ZTSEHGET_cjs.map({
849
- $metadata: deserializeMetadata(output)
850
- });
851
- const data = Q5L3QIKZ_cjs.expectNonNull(Q5L3QIKZ_cjs.expectObject(await ZTSEHGET_cjs.parseJsonBody(output.body, context)), "body");
852
- const doc = ZTSEHGET_cjs.take(data, {
853
- accessToken: Q5L3QIKZ_cjs.expectString,
854
- expiresIn: Q5L3QIKZ_cjs.expectInt32,
855
- idToken: Q5L3QIKZ_cjs.expectString,
856
- refreshToken: Q5L3QIKZ_cjs.expectString,
857
- tokenType: Q5L3QIKZ_cjs.expectString
858
- });
859
- Object.assign(contents, doc);
860
- return contents;
861
- }, "de_CreateTokenCommand");
862
- var de_CommandError = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (output, context) => {
863
- const parsedOutput = {
864
- ...output,
865
- body: await ZTSEHGET_cjs.parseJsonErrorBody(output.body, context)
866
- };
867
- const errorCode = ZTSEHGET_cjs.loadRestJsonErrorCode(output, parsedOutput.body);
868
- switch (errorCode) {
869
- case "AccessDeniedException":
870
- case "com.amazonaws.ssooidc#AccessDeniedException":
871
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
872
- case "AuthorizationPendingException":
873
- case "com.amazonaws.ssooidc#AuthorizationPendingException":
874
- throw await de_AuthorizationPendingExceptionRes(parsedOutput, context);
875
- case "ExpiredTokenException":
876
- case "com.amazonaws.ssooidc#ExpiredTokenException":
877
- throw await de_ExpiredTokenExceptionRes(parsedOutput, context);
878
- case "InternalServerException":
879
- case "com.amazonaws.ssooidc#InternalServerException":
880
- throw await de_InternalServerExceptionRes(parsedOutput, context);
881
- case "InvalidClientException":
882
- case "com.amazonaws.ssooidc#InvalidClientException":
883
- throw await de_InvalidClientExceptionRes(parsedOutput, context);
884
- case "InvalidGrantException":
885
- case "com.amazonaws.ssooidc#InvalidGrantException":
886
- throw await de_InvalidGrantExceptionRes(parsedOutput, context);
887
- case "InvalidRequestException":
888
- case "com.amazonaws.ssooidc#InvalidRequestException":
889
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
890
- case "InvalidScopeException":
891
- case "com.amazonaws.ssooidc#InvalidScopeException":
892
- throw await de_InvalidScopeExceptionRes(parsedOutput, context);
893
- case "SlowDownException":
894
- case "com.amazonaws.ssooidc#SlowDownException":
895
- throw await de_SlowDownExceptionRes(parsedOutput, context);
896
- case "UnauthorizedClientException":
897
- case "com.amazonaws.ssooidc#UnauthorizedClientException":
898
- throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
899
- case "UnsupportedGrantTypeException":
900
- case "com.amazonaws.ssooidc#UnsupportedGrantTypeException":
901
- throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
902
- default:
903
- const parsedBody = parsedOutput.body;
904
- return throwDefaultError({
905
- output,
906
- parsedBody,
907
- errorCode
908
- });
909
- }
910
- }, "de_CommandError");
911
- var throwDefaultError = YHGTF22I_cjs.withBaseException(SSOOIDCServiceException);
912
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
913
- const contents = ZTSEHGET_cjs.map({});
914
- const data = parsedOutput.body;
915
- const doc = ZTSEHGET_cjs.take(data, {
916
- error: Q5L3QIKZ_cjs.expectString,
917
- error_description: Q5L3QIKZ_cjs.expectString
918
- });
919
- Object.assign(contents, doc);
920
- const exception = new AccessDeniedException({
921
- $metadata: deserializeMetadata(parsedOutput),
922
- ...contents
923
- });
924
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
925
- }, "de_AccessDeniedExceptionRes");
926
- var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
927
- const contents = ZTSEHGET_cjs.map({});
928
- const data = parsedOutput.body;
929
- const doc = ZTSEHGET_cjs.take(data, {
930
- error: Q5L3QIKZ_cjs.expectString,
931
- error_description: Q5L3QIKZ_cjs.expectString
932
- });
933
- Object.assign(contents, doc);
934
- const exception = new AuthorizationPendingException({
935
- $metadata: deserializeMetadata(parsedOutput),
936
- ...contents
937
- });
938
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
939
- }, "de_AuthorizationPendingExceptionRes");
940
- var de_ExpiredTokenExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
941
- const contents = ZTSEHGET_cjs.map({});
942
- const data = parsedOutput.body;
943
- const doc = ZTSEHGET_cjs.take(data, {
944
- error: Q5L3QIKZ_cjs.expectString,
945
- error_description: Q5L3QIKZ_cjs.expectString
946
- });
947
- Object.assign(contents, doc);
948
- const exception = new ExpiredTokenException({
949
- $metadata: deserializeMetadata(parsedOutput),
950
- ...contents
951
- });
952
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
953
- }, "de_ExpiredTokenExceptionRes");
954
- var de_InternalServerExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
955
- const contents = ZTSEHGET_cjs.map({});
956
- const data = parsedOutput.body;
957
- const doc = ZTSEHGET_cjs.take(data, {
958
- error: Q5L3QIKZ_cjs.expectString,
959
- error_description: Q5L3QIKZ_cjs.expectString
960
- });
961
- Object.assign(contents, doc);
962
- const exception = new InternalServerException({
963
- $metadata: deserializeMetadata(parsedOutput),
964
- ...contents
965
- });
966
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
967
- }, "de_InternalServerExceptionRes");
968
- var de_InvalidClientExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
969
- const contents = ZTSEHGET_cjs.map({});
970
- const data = parsedOutput.body;
971
- const doc = ZTSEHGET_cjs.take(data, {
972
- error: Q5L3QIKZ_cjs.expectString,
973
- error_description: Q5L3QIKZ_cjs.expectString
974
- });
975
- Object.assign(contents, doc);
976
- const exception = new InvalidClientException({
977
- $metadata: deserializeMetadata(parsedOutput),
978
- ...contents
979
- });
980
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
981
- }, "de_InvalidClientExceptionRes");
982
- var de_InvalidGrantExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
983
- const contents = ZTSEHGET_cjs.map({});
984
- const data = parsedOutput.body;
985
- const doc = ZTSEHGET_cjs.take(data, {
986
- error: Q5L3QIKZ_cjs.expectString,
987
- error_description: Q5L3QIKZ_cjs.expectString
988
- });
989
- Object.assign(contents, doc);
990
- const exception = new InvalidGrantException({
991
- $metadata: deserializeMetadata(parsedOutput),
992
- ...contents
993
- });
994
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
995
- }, "de_InvalidGrantExceptionRes");
996
- var de_InvalidRequestExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
997
- const contents = ZTSEHGET_cjs.map({});
998
- const data = parsedOutput.body;
999
- const doc = ZTSEHGET_cjs.take(data, {
1000
- error: Q5L3QIKZ_cjs.expectString,
1001
- error_description: Q5L3QIKZ_cjs.expectString
1002
- });
1003
- Object.assign(contents, doc);
1004
- const exception = new InvalidRequestException({
1005
- $metadata: deserializeMetadata(parsedOutput),
1006
- ...contents
1007
- });
1008
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
1009
- }, "de_InvalidRequestExceptionRes");
1010
- var de_InvalidScopeExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
1011
- const contents = ZTSEHGET_cjs.map({});
1012
- const data = parsedOutput.body;
1013
- const doc = ZTSEHGET_cjs.take(data, {
1014
- error: Q5L3QIKZ_cjs.expectString,
1015
- error_description: Q5L3QIKZ_cjs.expectString
1016
- });
1017
- Object.assign(contents, doc);
1018
- const exception = new InvalidScopeException({
1019
- $metadata: deserializeMetadata(parsedOutput),
1020
- ...contents
1021
- });
1022
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
1023
- }, "de_InvalidScopeExceptionRes");
1024
- var de_SlowDownExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
1025
- const contents = ZTSEHGET_cjs.map({});
1026
- const data = parsedOutput.body;
1027
- const doc = ZTSEHGET_cjs.take(data, {
1028
- error: Q5L3QIKZ_cjs.expectString,
1029
- error_description: Q5L3QIKZ_cjs.expectString
1030
- });
1031
- Object.assign(contents, doc);
1032
- const exception = new SlowDownException({
1033
- $metadata: deserializeMetadata(parsedOutput),
1034
- ...contents
1035
- });
1036
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
1037
- }, "de_SlowDownExceptionRes");
1038
- var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
1039
- const contents = ZTSEHGET_cjs.map({});
1040
- const data = parsedOutput.body;
1041
- const doc = ZTSEHGET_cjs.take(data, {
1042
- error: Q5L3QIKZ_cjs.expectString,
1043
- error_description: Q5L3QIKZ_cjs.expectString
1044
- });
1045
- Object.assign(contents, doc);
1046
- const exception = new UnauthorizedClientException({
1047
- $metadata: deserializeMetadata(parsedOutput),
1048
- ...contents
1049
- });
1050
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
1051
- }, "de_UnauthorizedClientExceptionRes");
1052
- var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ _24WEKBY3_cjs.__name(async (parsedOutput, context) => {
1053
- const contents = ZTSEHGET_cjs.map({});
1054
- const data = parsedOutput.body;
1055
- const doc = ZTSEHGET_cjs.take(data, {
1056
- error: Q5L3QIKZ_cjs.expectString,
1057
- error_description: Q5L3QIKZ_cjs.expectString
1058
- });
1059
- Object.assign(contents, doc);
1060
- const exception = new UnsupportedGrantTypeException({
1061
- $metadata: deserializeMetadata(parsedOutput),
1062
- ...contents
1063
- });
1064
- return YHGTF22I_cjs.decorateServiceException(exception, parsedOutput.body);
1065
- }, "de_UnsupportedGrantTypeExceptionRes");
1066
- var deserializeMetadata = /* @__PURE__ */ _24WEKBY3_cjs.__name((output) => ({
1067
- httpStatusCode: output.statusCode,
1068
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1069
- extendedRequestId: output.headers["x-amz-id-2"],
1070
- cfId: output.headers["x-amz-cf-id"]
1071
- }), "deserializeMetadata");
1072
-
1073
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js
1074
- var CreateTokenCommand = class extends YHGTF22I_cjs.Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
1075
- return [
1076
- YHGTF22I_cjs.getSerdePlugin(config, this.serialize, this.deserialize),
1077
- YHGTF22I_cjs.getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
1078
- ];
1079
- }).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() {
1080
- static {
1081
- _24WEKBY3_cjs.__name(this, "CreateTokenCommand");
1082
- }
1083
- };
1084
-
1085
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js
1086
- var commands = {
1087
- CreateTokenCommand
1088
- };
1089
- var SSOOIDC = class extends SSOOIDCClient {
1090
- static {
1091
- _24WEKBY3_cjs.__name(this, "SSOOIDC");
1092
- }
1093
- };
1094
- MDE37STN_cjs.createAggregatedClient(commands, SSOOIDC);
1095
-
1096
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/index.js
1097
- _24WEKBY3_cjs.init_cjs_shims();
1098
-
1099
- // ../../node_modules/.pnpm/@aws-sdk+nested-clients@3.879.0/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/index.js
1100
- _24WEKBY3_cjs.init_cjs_shims();
1101
-
1102
- Object.defineProperty(exports, "$Command", {
1103
- enumerable: true,
1104
- get: function () { return YHGTF22I_cjs.Command; }
1105
- });
1106
- Object.defineProperty(exports, "__Client", {
1107
- enumerable: true,
1108
- get: function () { return YHGTF22I_cjs.Client; }
1109
- });
1110
- exports.AccessDeniedException = AccessDeniedException;
1111
- exports.AuthorizationPendingException = AuthorizationPendingException;
1112
- exports.CreateTokenCommand = CreateTokenCommand;
1113
- exports.CreateTokenRequestFilterSensitiveLog = CreateTokenRequestFilterSensitiveLog;
1114
- exports.CreateTokenResponseFilterSensitiveLog = CreateTokenResponseFilterSensitiveLog;
1115
- exports.ExpiredTokenException = ExpiredTokenException;
1116
- exports.InternalServerException = InternalServerException;
1117
- exports.InvalidClientException = InvalidClientException;
1118
- exports.InvalidGrantException = InvalidGrantException;
1119
- exports.InvalidRequestException = InvalidRequestException;
1120
- exports.InvalidScopeException = InvalidScopeException;
1121
- exports.SSOOIDC = SSOOIDC;
1122
- exports.SSOOIDCClient = SSOOIDCClient;
1123
- exports.SSOOIDCServiceException = SSOOIDCServiceException;
1124
- exports.SlowDownException = SlowDownException;
1125
- exports.UnauthorizedClientException = UnauthorizedClientException;
1126
- exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
1127
- //# sourceMappingURL=634Q3MUX.cjs.map
1128
- //# sourceMappingURL=634Q3MUX.cjs.map