@jayjiang/open-cc 0.2.1
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/LICENSE +8 -0
- package/README.md +107 -0
- package/dist/chunk-00dxqxqj.js +227 -0
- package/dist/chunk-01p8hhsp.js +154 -0
- package/dist/chunk-02wy0m47.js +152 -0
- package/dist/chunk-0465tnzh.js +110 -0
- package/dist/chunk-054mjk62.js +678 -0
- package/dist/chunk-06saje2v.js +39 -0
- package/dist/chunk-0731m51q.js +8 -0
- package/dist/chunk-09y0jvtm.js +165 -0
- package/dist/chunk-0fkqze0v.js +113 -0
- package/dist/chunk-0hn525br.js +1920 -0
- package/dist/chunk-0hneh9ha.js +123 -0
- package/dist/chunk-0paqc2yw.js +15 -0
- package/dist/chunk-0rkbrabt.js +32 -0
- package/dist/chunk-0scs4rpx.js +96 -0
- package/dist/chunk-0vkfrmqm.js +690 -0
- package/dist/chunk-0w2byc95.js +38 -0
- package/dist/chunk-0xjaqda8.js +1124 -0
- package/dist/chunk-0y3vcsv4.js +92 -0
- package/dist/chunk-0yb4dz9c.js +26840 -0
- package/dist/chunk-10fdxge0.js +121 -0
- package/dist/chunk-1141xmr4.js +8 -0
- package/dist/chunk-14vffdmg.js +38 -0
- package/dist/chunk-178ykx7k.js +1493 -0
- package/dist/chunk-1bhva2z9.js +128 -0
- package/dist/chunk-1c8z1b5v.js +16 -0
- package/dist/chunk-1cbn5kxf.js +7 -0
- package/dist/chunk-1che51a5.js +1585 -0
- package/dist/chunk-1h2famwb.js +49 -0
- package/dist/chunk-1jrkpnbn.js +71 -0
- package/dist/chunk-1k4j1xcf.js +154 -0
- package/dist/chunk-1mm9d8p4.js +70 -0
- package/dist/chunk-1n3gnn2t.js +41 -0
- package/dist/chunk-1nqaq1rs.js +654 -0
- package/dist/chunk-1p2j9g3w.js +998 -0
- package/dist/chunk-1p7jfcee.js +533 -0
- package/dist/chunk-1pg8s12r.js +338 -0
- package/dist/chunk-1qjb22fx.js +109 -0
- package/dist/chunk-1yzc16qa.js +39 -0
- package/dist/chunk-20gm89wf.js +208 -0
- package/dist/chunk-238g70xa.js +36 -0
- package/dist/chunk-26k0324b.js +751 -0
- package/dist/chunk-27xc1csx.js +104 -0
- package/dist/chunk-2a42s11t.js +412 -0
- package/dist/chunk-2bhq4emw.js +10476 -0
- package/dist/chunk-2eykm0j0.js +20 -0
- package/dist/chunk-2gzv8nrw.js +205 -0
- package/dist/chunk-2k995y2x.js +880 -0
- package/dist/chunk-2kpzaa7w.js +401 -0
- package/dist/chunk-2nayx6q1.js +63 -0
- package/dist/chunk-2qhs9n36.js +151 -0
- package/dist/chunk-2s5f2nnw.js +603 -0
- package/dist/chunk-2y54j9ew.js +174394 -0
- package/dist/chunk-2zcaw1jd.js +2343 -0
- package/dist/chunk-30chpfyc.js +15275 -0
- package/dist/chunk-30k39xd2.js +28 -0
- package/dist/chunk-30rst83v.js +168 -0
- package/dist/chunk-36z5enc4.js +160 -0
- package/dist/chunk-3c25bcsw.js +17 -0
- package/dist/chunk-3c4qja3e.js +63 -0
- package/dist/chunk-3ccx8k84.js +102 -0
- package/dist/chunk-3envnthj.js +157 -0
- package/dist/chunk-3h8a89gy.js +46 -0
- package/dist/chunk-3kadbep2.js +6956 -0
- package/dist/chunk-3kd79cnk.js +15 -0
- package/dist/chunk-3m45xtza.js +1188 -0
- package/dist/chunk-3q50xe1j.js +17 -0
- package/dist/chunk-3w6s9m5w.js +16 -0
- package/dist/chunk-3x0408tc.js +42 -0
- package/dist/chunk-3z7ae04g.js +372 -0
- package/dist/chunk-40tedt0y.js +275 -0
- package/dist/chunk-44q8kegv.js +811 -0
- package/dist/chunk-47gy6qkp.js +328 -0
- package/dist/chunk-495d85x1.js +8066 -0
- package/dist/chunk-4axcksrv.js +129 -0
- package/dist/chunk-4e1271a8.js +106 -0
- package/dist/chunk-4g3v8y12.js +23 -0
- package/dist/chunk-4g5mrzm0.js +220 -0
- package/dist/chunk-4jm600zv.js +13 -0
- package/dist/chunk-4n989n6h.js +153 -0
- package/dist/chunk-4qedx22a.js +44 -0
- package/dist/chunk-4rze71rx.js +116 -0
- package/dist/chunk-4wbhvcag.js +91 -0
- package/dist/chunk-4zfkzkt6.js +37 -0
- package/dist/chunk-55wgxwa9.js +13877 -0
- package/dist/chunk-56ta4h0b.js +154 -0
- package/dist/chunk-58a0x39g.js +89 -0
- package/dist/chunk-5dbk24zg.js +890 -0
- package/dist/chunk-5gzg4q1k.js +99 -0
- package/dist/chunk-5k2gdxnr.js +336 -0
- package/dist/chunk-5kp252z6.js +202 -0
- package/dist/chunk-5p2ssw3d.js +825 -0
- package/dist/chunk-5w33j8gy.js +1580 -0
- package/dist/chunk-5ywjzvm8.js +61 -0
- package/dist/chunk-5ztxx8gd.js +80 -0
- package/dist/chunk-62vwr0y5.js +117 -0
- package/dist/chunk-6b8ksqmf.js +1153 -0
- package/dist/chunk-6bd8brc4.js +48 -0
- package/dist/chunk-6cpqmd4r.js +132 -0
- package/dist/chunk-6dj5t602.js +341 -0
- package/dist/chunk-6g62sjpf.js +328 -0
- package/dist/chunk-6gr3c3w9.js +378 -0
- package/dist/chunk-6h9n8qbr.js +1170 -0
- package/dist/chunk-6kpbgc5w.js +23 -0
- package/dist/chunk-6n2qgm9v.js +8 -0
- package/dist/chunk-6n6jfmce.js +2833 -0
- package/dist/chunk-6q2x8zeg.js +802 -0
- package/dist/chunk-6tnekwtp.js +849 -0
- package/dist/chunk-6tq2v3rk.js +186 -0
- package/dist/chunk-6vphqqd1.js +27 -0
- package/dist/chunk-6wkdqk81.js +444 -0
- package/dist/chunk-7226mgjt.js +195 -0
- package/dist/chunk-72fey14y.js +565 -0
- package/dist/chunk-73fgm72g.js +698 -0
- package/dist/chunk-73fhat5j.js +212 -0
- package/dist/chunk-73rpbt04.js +1947 -0
- package/dist/chunk-743znc5c.js +56 -0
- package/dist/chunk-760252na.js +101 -0
- package/dist/chunk-76t2h5v2.js +495 -0
- package/dist/chunk-7739pg2c.js +4261 -0
- package/dist/chunk-789khc7a.js +96 -0
- package/dist/chunk-78mma1s7.js +88 -0
- package/dist/chunk-7aw745vx.js +40175 -0
- package/dist/chunk-7azp8c8y.js +584 -0
- package/dist/chunk-7m2nd8da.js +110 -0
- package/dist/chunk-7pemewz2.js +726 -0
- package/dist/chunk-7rjyn5d3.js +125 -0
- package/dist/chunk-7v0wq9nk.js +93 -0
- package/dist/chunk-7wm5s02e.js +216 -0
- package/dist/chunk-83hfzbx3.js +10 -0
- package/dist/chunk-84k64e4a.js +1646 -0
- package/dist/chunk-87jfpcm7.js +438 -0
- package/dist/chunk-8btm871b.js +42 -0
- package/dist/chunk-8hbbzet5.js +34 -0
- package/dist/chunk-8hq5kk3y.js +44 -0
- package/dist/chunk-8j6vs75t.js +256 -0
- package/dist/chunk-8ngxagxq.js +18 -0
- package/dist/chunk-8nsem424.js +110 -0
- package/dist/chunk-8pf73pc8.js +169 -0
- package/dist/chunk-8tnsngw2.js +31 -0
- package/dist/chunk-8y12jxg8.js +10 -0
- package/dist/chunk-8ymf4e6z.js +48 -0
- package/dist/chunk-90wp6wez.js +10510 -0
- package/dist/chunk-95dt8mpg.js +603 -0
- package/dist/chunk-95rj8m4e.js +130 -0
- package/dist/chunk-9ebygqen.js +89 -0
- package/dist/chunk-9gbamk79.js +93 -0
- package/dist/chunk-9tkq3g56.js +642 -0
- package/dist/chunk-a05hje2h.js +105 -0
- package/dist/chunk-a2krhf3c.js +90 -0
- package/dist/chunk-a6q9rehn.js +182 -0
- package/dist/chunk-a78b3pvt.js +71 -0
- package/dist/chunk-a8ejc632.js +3094 -0
- package/dist/chunk-a9vdeb6y.js +258 -0
- package/dist/chunk-a9zh40sj.js +48 -0
- package/dist/chunk-ab59azrr.js +480 -0
- package/dist/chunk-accxhkm6.js +88 -0
- package/dist/chunk-adzd8pzb.js +1095 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/chunk-aftppv3p.js +691 -0
- package/dist/chunk-agmw1vmf.js +725 -0
- package/dist/chunk-an5cb1vx.js +16 -0
- package/dist/chunk-b1s11z4y.js +63 -0
- package/dist/chunk-b2rkh01x.js +443 -0
- package/dist/chunk-b4w4argn.js +1551 -0
- package/dist/chunk-b4wg70y1.js +54 -0
- package/dist/chunk-b5b7h81y.js +7189 -0
- package/dist/chunk-b9k5cs09.js +50 -0
- package/dist/chunk-bapy5rc8.js +40 -0
- package/dist/chunk-bda3gxxz.js +246 -0
- package/dist/chunk-bhdt6k7w.js +15 -0
- package/dist/chunk-bm1qb16p.js +17 -0
- package/dist/chunk-bp0dnrwg.js +281 -0
- package/dist/chunk-bqfnp99q.js +477 -0
- package/dist/chunk-bs6keys0.js +158 -0
- package/dist/chunk-bsbmmfyt.js +17 -0
- package/dist/chunk-btkettbr.js +166 -0
- package/dist/chunk-bwgde7nf.js +37 -0
- package/dist/chunk-c1zc58pw.js +280 -0
- package/dist/chunk-c2g96ga2.js +184 -0
- package/dist/chunk-c3z7ptb2.js +21933 -0
- package/dist/chunk-c8vn3ynx.js +349 -0
- package/dist/chunk-cdm0k2n0.js +115 -0
- package/dist/chunk-cdz5yb0r.js +57 -0
- package/dist/chunk-cfv996bs.js +22 -0
- package/dist/chunk-cg788ab0.js +100 -0
- package/dist/chunk-cgfdkzhb.js +12 -0
- package/dist/chunk-cp76dsdp.js +386 -0
- package/dist/chunk-cr6t6rth.js +306 -0
- package/dist/chunk-cvp5vayb.js +31 -0
- package/dist/chunk-cwehsmj5.js +114 -0
- package/dist/chunk-cy2hswr1.js +15 -0
- package/dist/chunk-d2rzy2p0.js +42 -0
- package/dist/chunk-d3v2fbay.js +106 -0
- package/dist/chunk-dc4eha8a.js +243 -0
- package/dist/chunk-dcz167d6.js +73 -0
- package/dist/chunk-de55jjre.js +106 -0
- package/dist/chunk-dfx733j3.js +650 -0
- package/dist/chunk-dgqrcy74.js +48 -0
- package/dist/chunk-dj6dk19k.js +55 -0
- package/dist/chunk-dn2xcmc4.js +173 -0
- package/dist/chunk-dndehvfr.js +57 -0
- package/dist/chunk-dnh7jtpb.js +37 -0
- package/dist/chunk-dnwzz9f7.js +88 -0
- package/dist/chunk-dv1wfr85.js +6373 -0
- package/dist/chunk-dwq5rs3q.js +62 -0
- package/dist/chunk-dz8exe78.js +91 -0
- package/dist/chunk-e4rzw1sd.js +606 -0
- package/dist/chunk-e6rrwzv0.js +463 -0
- package/dist/chunk-e6t9kpzq.js +145 -0
- package/dist/chunk-e7c8ypwc.js +287 -0
- package/dist/chunk-e9nkfs4e.js +738 -0
- package/dist/chunk-eaf7c8ck.js +537 -0
- package/dist/chunk-ebyr6p77.js +115 -0
- package/dist/chunk-edfv7pme.js +104 -0
- package/dist/chunk-eh474zhj.js +59 -0
- package/dist/chunk-er8ckwzt.js +140 -0
- package/dist/chunk-ev5p07yh.js +144 -0
- package/dist/chunk-ewadzrm8.js +103 -0
- package/dist/chunk-f2mhrmww.js +62 -0
- package/dist/chunk-f2zhqnb6.js +69 -0
- package/dist/chunk-f5ma3nh5.js +3436 -0
- package/dist/chunk-f63q7vx7.js +756 -0
- package/dist/chunk-fbv4apne.js +51 -0
- package/dist/chunk-fcna95wg.js +113 -0
- package/dist/chunk-fdvcpaz3.js +163 -0
- package/dist/chunk-fgc0q2b2.js +3354 -0
- package/dist/chunk-fm2jvsk7.js +87 -0
- package/dist/chunk-ft7fs35e.js +282 -0
- package/dist/chunk-fyc5fepv.js +10 -0
- package/dist/chunk-g0j0t6qk.js +26 -0
- package/dist/chunk-g0nbec9m.js +32 -0
- package/dist/chunk-g1fdv1kb.js +86 -0
- package/dist/chunk-g338npwr.js +1061 -0
- package/dist/chunk-g3t0act8.js +8 -0
- package/dist/chunk-g6qddbvf.js +1391 -0
- package/dist/chunk-ga5faygf.js +61 -0
- package/dist/chunk-gac6nzhc.js +90 -0
- package/dist/chunk-gck2cswd.js +862 -0
- package/dist/chunk-gntr3b25.js +40683 -0
- package/dist/chunk-gq5bbtme.js +456 -0
- package/dist/chunk-gyj242zr.js +20 -0
- package/dist/chunk-h0qngp9w.js +157 -0
- package/dist/chunk-h1xnvnye.js +524 -0
- package/dist/chunk-h3mhfamg.js +60 -0
- package/dist/chunk-h6s1tx0e.js +250 -0
- package/dist/chunk-h7qb4hyj.js +70 -0
- package/dist/chunk-h8qd1gw2.js +106 -0
- package/dist/chunk-hakdhagh.js +16606 -0
- package/dist/chunk-hcdt34n4.js +143 -0
- package/dist/chunk-hh7cmy4k.js +20 -0
- package/dist/chunk-hk9xz7gk.js +118 -0
- package/dist/chunk-hqmz36b3.js +552 -0
- package/dist/chunk-hs8ph4p8.js +8 -0
- package/dist/chunk-hsq4vtjy.js +92 -0
- package/dist/chunk-hzhd0p1y.js +104 -0
- package/dist/chunk-hzhe8ygc.js +547 -0
- package/dist/chunk-j0tqbsh7.js +176 -0
- package/dist/chunk-j1s1jvad.js +346 -0
- package/dist/chunk-j2k4p94p.js +55 -0
- package/dist/chunk-j3a4p81y.js +184 -0
- package/dist/chunk-j595yd4h.js +439 -0
- package/dist/chunk-j64ga6ta.js +8035 -0
- package/dist/chunk-j7qwxra8.js +2335 -0
- package/dist/chunk-j98f65zv.js +789 -0
- package/dist/chunk-jd32zbps.js +15 -0
- package/dist/chunk-jdgeec04.js +4249 -0
- package/dist/chunk-jdt5s5k7.js +62 -0
- package/dist/chunk-jeaek018.js +97 -0
- package/dist/chunk-jkhvm8yk.js +104 -0
- package/dist/chunk-jmxaze30.js +780 -0
- package/dist/chunk-jne71s1f.js +104 -0
- package/dist/chunk-jnhkref0.js +30 -0
- package/dist/chunk-jpgr7zfs.js +95 -0
- package/dist/chunk-jqp0q5nk.js +339 -0
- package/dist/chunk-jtqgnyaq.js +1317 -0
- package/dist/chunk-jx817w05.js +11 -0
- package/dist/chunk-jynzr5w9.js +71 -0
- package/dist/chunk-jzmz18nn.js +65 -0
- package/dist/chunk-k0p9w03v.js +4957 -0
- package/dist/chunk-k1jnpyj9.js +155 -0
- package/dist/chunk-k445en8h.js +102 -0
- package/dist/chunk-k62k13ya.js +81 -0
- package/dist/chunk-kf8kjmfv.js +821 -0
- package/dist/chunk-kgn1nfg9.js +468 -0
- package/dist/chunk-khmz14d4.js +38 -0
- package/dist/chunk-kjhmt6ba.js +100 -0
- package/dist/chunk-kkrz2zw2.js +122 -0
- package/dist/chunk-kv1ryvtm.js +176 -0
- package/dist/chunk-kwekc97v.js +18 -0
- package/dist/chunk-kyvwf342.js +65 -0
- package/dist/chunk-m0g3xv72.js +266 -0
- package/dist/chunk-m26twd8m.js +277 -0
- package/dist/chunk-m4bc15mz.js +229 -0
- package/dist/chunk-m9t8j37k.js +253 -0
- package/dist/chunk-mb2gpwwf.js +432 -0
- package/dist/chunk-mezwt1bt.js +306 -0
- package/dist/chunk-mfm83xn5.js +84 -0
- package/dist/chunk-mn7870fh.js +4389 -0
- package/dist/chunk-mr9df5v8.js +722 -0
- package/dist/chunk-mt25echc.js +6157 -0
- package/dist/chunk-mwrr6zbb.js +55 -0
- package/dist/chunk-mywpbwad.js +198 -0
- package/dist/chunk-mzdtkccs.js +125 -0
- package/dist/chunk-mzn0z9d3.js +691 -0
- package/dist/chunk-n0qaeaa5.js +256 -0
- package/dist/chunk-n128bzxs.js +2739 -0
- package/dist/chunk-n1erf6kh.js +22820 -0
- package/dist/chunk-n4nbgkvd.js +520 -0
- package/dist/chunk-n5gkdn9v.js +120 -0
- package/dist/chunk-n7ttdtk0.js +641 -0
- package/dist/chunk-n8b1njwb.js +208 -0
- package/dist/chunk-nek12gtk.js +94 -0
- package/dist/chunk-nerv0jvx.js +74 -0
- package/dist/chunk-nka1g8f4.js +773 -0
- package/dist/chunk-nm2cncrq.js +336 -0
- package/dist/chunk-nq0fxyxh.js +752 -0
- package/dist/chunk-nrnkshv2.js +192 -0
- package/dist/chunk-nsqma629.js +128 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-nttf3k0r.js +2643 -0
- package/dist/chunk-nx638j6h.js +268 -0
- package/dist/chunk-nx7s0zn5.js +375 -0
- package/dist/chunk-p0hff8zy.js +8871 -0
- package/dist/chunk-p2816w9z.js +1486 -0
- package/dist/chunk-p2d5nh3g.js +342 -0
- package/dist/chunk-p57bz7nv.js +55 -0
- package/dist/chunk-p5z8t6r3.js +130 -0
- package/dist/chunk-pd6653na.js +5394 -0
- package/dist/chunk-pjnzf3cg.js +61 -0
- package/dist/chunk-ps49ymvj.js +43 -0
- package/dist/chunk-pthzapbx.js +348 -0
- package/dist/chunk-pwwa7s62.js +11 -0
- package/dist/chunk-pyx135a5.js +20 -0
- package/dist/chunk-q132dkwr.js +195 -0
- package/dist/chunk-q16y18s1.js +120 -0
- package/dist/chunk-q25bjaev.js +15 -0
- package/dist/chunk-q3jxs36m.js +716 -0
- package/dist/chunk-q5by3da6.js +8 -0
- package/dist/chunk-q663msp4.js +908 -0
- package/dist/chunk-qezgfppb.js +4521 -0
- package/dist/chunk-qgjgqmy5.js +5796 -0
- package/dist/chunk-qj7h3xc3.js +40 -0
- package/dist/chunk-qjcxkbv6.js +644 -0
- package/dist/chunk-qnfx3qtx.js +617 -0
- package/dist/chunk-qnmyzsam.js +84 -0
- package/dist/chunk-qp2qdcda.js +100 -0
- package/dist/chunk-qvrq1sby.js +6107 -0
- package/dist/chunk-qz2x630m.js +49145 -0
- package/dist/chunk-qz3fe4fj.js +469 -0
- package/dist/chunk-r0af6bw0.js +173 -0
- package/dist/chunk-r1v8d6da.js +1299 -0
- package/dist/chunk-r6b58y3x.js +17 -0
- package/dist/chunk-r6e45bzh.js +118 -0
- package/dist/chunk-r843jezp.js +28 -0
- package/dist/chunk-rbgjkg3v.js +90 -0
- package/dist/chunk-rc5bbzx4.js +655 -0
- package/dist/chunk-rca5xtnd.js +267 -0
- package/dist/chunk-rfdbzyjh.js +1865 -0
- package/dist/chunk-rh7q28df.js +93 -0
- package/dist/chunk-rn0v1hk8.js +34 -0
- package/dist/chunk-rvxs7x7j.js +542 -0
- package/dist/chunk-rw6fwk2s.js +98 -0
- package/dist/chunk-rwagvxh5.js +1711 -0
- package/dist/chunk-s10vyjz4.js +224 -0
- package/dist/chunk-s274nv8k.js +8 -0
- package/dist/chunk-s3pzvdss.js +50 -0
- package/dist/chunk-s4w01jsb.js +969 -0
- package/dist/chunk-s56j2d6g.js +500 -0
- package/dist/chunk-sbs1r0h4.js +317 -0
- package/dist/chunk-sd36yzx8.js +954 -0
- package/dist/chunk-sd6env07.js +19 -0
- package/dist/chunk-sdj9b9wh.js +782 -0
- package/dist/chunk-sfht9xvd.js +24 -0
- package/dist/chunk-sk3gpkdt.js +89 -0
- package/dist/chunk-sp5cjcjh.js +526 -0
- package/dist/chunk-sq847dr5.js +1528 -0
- package/dist/chunk-sskngwam.js +89 -0
- package/dist/chunk-svar8pp2.js +276 -0
- package/dist/chunk-szj5wvdy.js +28 -0
- package/dist/chunk-t175chdd.js +714 -0
- package/dist/chunk-t4k75hqs.js +4987 -0
- package/dist/chunk-t7z7vg91.js +225 -0
- package/dist/chunk-tanfpxm1.js +419 -0
- package/dist/chunk-tf9h0cyj.js +3037 -0
- package/dist/chunk-tm1wwvm1.js +99 -0
- package/dist/chunk-trtgjd28.js +9300 -0
- package/dist/chunk-ts2p6bv1.js +224 -0
- package/dist/chunk-ttk5dzz8.js +25 -0
- package/dist/chunk-tvg352rv.js +391 -0
- package/dist/chunk-tww14j0s.js +86 -0
- package/dist/chunk-tz03j2da.js +66 -0
- package/dist/chunk-v1kzp02e.js +785 -0
- package/dist/chunk-v2sm9w6h.js +220 -0
- package/dist/chunk-v3gm2day.js +8 -0
- package/dist/chunk-v4qn3g0d.js +286 -0
- package/dist/chunk-v66tbnn6.js +476 -0
- package/dist/chunk-v78fj8by.js +145 -0
- package/dist/chunk-v9smspw2.js +4301 -0
- package/dist/chunk-v9ybze94.js +713 -0
- package/dist/chunk-vest0y6x.js +3830 -0
- package/dist/chunk-vf5sd1nq.js +12 -0
- package/dist/chunk-vht4mzgb.js +298 -0
- package/dist/chunk-vjwgf4qh.js +41 -0
- package/dist/chunk-vkrhafhf.js +248 -0
- package/dist/chunk-vn56q87z.js +2058 -0
- package/dist/chunk-vscz82fv.js +27 -0
- package/dist/chunk-vvn4gkak.js +642 -0
- package/dist/chunk-vxj5rbg5.js +84 -0
- package/dist/chunk-vyjeh50y.js +2149 -0
- package/dist/chunk-w44nvpvt.js +22 -0
- package/dist/chunk-waambva2.js +2430 -0
- package/dist/chunk-wbhsqc2a.js +275 -0
- package/dist/chunk-wbsnpxzh.js +471 -0
- package/dist/chunk-wfz0qffj.js +3939 -0
- package/dist/chunk-wpqbrv0f.js +83 -0
- package/dist/chunk-wzpdet3m.js +843 -0
- package/dist/chunk-x6tb96y2.js +264 -0
- package/dist/chunk-x8b7vft8.js +132 -0
- package/dist/chunk-x8eg216f.js +99 -0
- package/dist/chunk-xc9khn0r.js +490 -0
- package/dist/chunk-xch406a3.js +673 -0
- package/dist/chunk-xdw5dv00.js +8 -0
- package/dist/chunk-xe0bpcbr.js +3444 -0
- package/dist/chunk-xm3ed3zn.js +300 -0
- package/dist/chunk-xpm4ebhz.js +87 -0
- package/dist/chunk-xr6yfttj.js +43 -0
- package/dist/chunk-xsq9ae7x.js +90 -0
- package/dist/chunk-xszk7n10.js +14358 -0
- package/dist/chunk-xzmkekfb.js +259 -0
- package/dist/chunk-y1784krc.js +19 -0
- package/dist/chunk-y3py9g5d.js +213 -0
- package/dist/chunk-y9nnmev5.js +687 -0
- package/dist/chunk-ya6jq0hf.js +29 -0
- package/dist/chunk-ycc3xnx0.js +374 -0
- package/dist/chunk-yfa54ssn.js +87 -0
- package/dist/chunk-ymy4xrr8.js +101 -0
- package/dist/chunk-yqfz2k9z.js +48 -0
- package/dist/chunk-ywxd4qw4.js +22 -0
- package/dist/chunk-yxmz5k16.js +122 -0
- package/dist/chunk-yxvy4jt4.js +1014 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z2xxx2sz.js +294 -0
- package/dist/chunk-z31an09g.js +67 -0
- package/dist/chunk-z95xqvr0.js +75 -0
- package/dist/chunk-zbmxxxz8.js +161 -0
- package/dist/chunk-zk2wsm7d.js +15 -0
- package/dist/chunk-zmg1pcp3.js +71 -0
- package/dist/chunk-znrwmznk.js +272 -0
- package/dist/chunk-zq9r43cb.js +26 -0
- package/dist/chunk-zsfxha74.js +17655 -0
- package/dist/chunk-ztpr96av.js +229 -0
- package/dist/chunk-zv7qrz04.js +58 -0
- package/dist/chunk-zxa7st21.js +32 -0
- package/dist/chunk-zxhezavg.js +216 -0
- package/dist/chunk-zz0qcq2n.js +434 -0
- package/dist/cli.js +194 -0
- package/package.json +164 -0
|
@@ -0,0 +1,1095 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_package
|
|
4
|
+
} from "./chunk-h0qngp9w.js";
|
|
5
|
+
import {
|
|
6
|
+
require_dist_cjs as require_dist_cjs10,
|
|
7
|
+
require_dist_cjs1 as require_dist_cjs11,
|
|
8
|
+
require_dist_cjs10 as require_dist_cjs22,
|
|
9
|
+
require_dist_cjs11 as require_dist_cjs23,
|
|
10
|
+
require_dist_cjs12 as require_dist_cjs24,
|
|
11
|
+
require_dist_cjs13 as require_dist_cjs25,
|
|
12
|
+
require_dist_cjs2 as require_dist_cjs12,
|
|
13
|
+
require_dist_cjs3 as require_dist_cjs14,
|
|
14
|
+
require_dist_cjs4 as require_dist_cjs15,
|
|
15
|
+
require_dist_cjs5 as require_dist_cjs16,
|
|
16
|
+
require_dist_cjs6 as require_dist_cjs18,
|
|
17
|
+
require_dist_cjs7 as require_dist_cjs19,
|
|
18
|
+
require_dist_cjs8 as require_dist_cjs20,
|
|
19
|
+
require_dist_cjs9 as require_dist_cjs21,
|
|
20
|
+
require_protocols
|
|
21
|
+
} from "./chunk-3kadbep2.js";
|
|
22
|
+
import {
|
|
23
|
+
require_dist_cjs as require_dist_cjs13,
|
|
24
|
+
require_dist_cjs2 as require_dist_cjs17
|
|
25
|
+
} from "./chunk-n7ttdtk0.js";
|
|
26
|
+
import {
|
|
27
|
+
require_httpAuthSchemes
|
|
28
|
+
} from "./chunk-wzpdet3m.js";
|
|
29
|
+
import {
|
|
30
|
+
require_dist_cjs as require_dist_cjs9
|
|
31
|
+
} from "./chunk-p2d5nh3g.js";
|
|
32
|
+
import {
|
|
33
|
+
require_dist_cjs as require_dist_cjs3
|
|
34
|
+
} from "./chunk-jzmz18nn.js";
|
|
35
|
+
import {
|
|
36
|
+
require_dist_cjs as require_dist_cjs8
|
|
37
|
+
} from "./chunk-2k995y2x.js";
|
|
38
|
+
import {
|
|
39
|
+
require_dist_cjs as require_dist_cjs6,
|
|
40
|
+
require_dist_cjs4 as require_dist_cjs7,
|
|
41
|
+
require_schema,
|
|
42
|
+
require_tslib
|
|
43
|
+
} from "./chunk-wfz0qffj.js";
|
|
44
|
+
import {
|
|
45
|
+
require_client
|
|
46
|
+
} from "./chunk-b4wg70y1.js";
|
|
47
|
+
import {
|
|
48
|
+
require_dist_cjs2
|
|
49
|
+
} from "./chunk-nka1g8f4.js";
|
|
50
|
+
import {
|
|
51
|
+
require_dist_cjs
|
|
52
|
+
} from "./chunk-30rst83v.js";
|
|
53
|
+
import {
|
|
54
|
+
require_dist_cjs as require_dist_cjs4
|
|
55
|
+
} from "./chunk-j2k4p94p.js";
|
|
56
|
+
import {
|
|
57
|
+
require_dist_cjs2 as require_dist_cjs5
|
|
58
|
+
} from "./chunk-2nayx6q1.js";
|
|
59
|
+
import {
|
|
60
|
+
__commonJS
|
|
61
|
+
} from "./chunk-qp2qdcda.js";
|
|
62
|
+
|
|
63
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
|
|
64
|
+
var require_httpAuthSchemeProvider = __commonJS((exports) => {
|
|
65
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
|
+
exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = undefined;
|
|
67
|
+
var httpAuthSchemes_1 = require_httpAuthSchemes();
|
|
68
|
+
var util_middleware_1 = require_dist_cjs7();
|
|
69
|
+
var STSClient_1 = require_STSClient();
|
|
70
|
+
var defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
71
|
+
return {
|
|
72
|
+
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
73
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
74
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
75
|
+
})()
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
exports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider;
|
|
79
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
80
|
+
return {
|
|
81
|
+
schemeId: "aws.auth#sigv4",
|
|
82
|
+
signingProperties: {
|
|
83
|
+
name: "sts",
|
|
84
|
+
region: authParameters.region
|
|
85
|
+
},
|
|
86
|
+
propertiesExtractor: (config, context) => ({
|
|
87
|
+
signingProperties: {
|
|
88
|
+
config,
|
|
89
|
+
context
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
95
|
+
return {
|
|
96
|
+
schemeId: "smithy.api#noAuth"
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
var defaultSTSHttpAuthSchemeProvider = (authParameters) => {
|
|
100
|
+
const options = [];
|
|
101
|
+
switch (authParameters.operation) {
|
|
102
|
+
case "AssumeRoleWithWebIdentity": {
|
|
103
|
+
options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
default: {
|
|
107
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return options;
|
|
111
|
+
};
|
|
112
|
+
exports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider;
|
|
113
|
+
var resolveStsAuthConfig = (input) => Object.assign(input, {
|
|
114
|
+
stsClientCtor: STSClient_1.STSClient
|
|
115
|
+
});
|
|
116
|
+
exports.resolveStsAuthConfig = resolveStsAuthConfig;
|
|
117
|
+
var resolveHttpAuthSchemeConfig = (config) => {
|
|
118
|
+
const config_0 = (0, exports.resolveStsAuthConfig)(config);
|
|
119
|
+
const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config_0);
|
|
120
|
+
return Object.assign(config_1, {
|
|
121
|
+
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? [])
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js
|
|
128
|
+
var require_EndpointParameters = __commonJS((exports) => {
|
|
129
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
130
|
+
exports.commonParams = exports.resolveClientEndpointParameters = undefined;
|
|
131
|
+
var resolveClientEndpointParameters = (options) => {
|
|
132
|
+
return Object.assign(options, {
|
|
133
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
134
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
135
|
+
useGlobalEndpoint: options.useGlobalEndpoint ?? false,
|
|
136
|
+
defaultSigningName: "sts"
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
140
|
+
exports.commonParams = {
|
|
141
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
142
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
143
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
144
|
+
Region: { type: "builtInParams", name: "region" },
|
|
145
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js
|
|
150
|
+
var require_ruleset = __commonJS((exports) => {
|
|
151
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
152
|
+
exports.ruleSet = undefined;
|
|
153
|
+
var F = "required";
|
|
154
|
+
var G = "type";
|
|
155
|
+
var H = "fn";
|
|
156
|
+
var I = "argv";
|
|
157
|
+
var J = "ref";
|
|
158
|
+
var a = false;
|
|
159
|
+
var b = true;
|
|
160
|
+
var c = "booleanEquals";
|
|
161
|
+
var d = "stringEquals";
|
|
162
|
+
var e = "sigv4";
|
|
163
|
+
var f = "sts";
|
|
164
|
+
var g = "us-east-1";
|
|
165
|
+
var h = "endpoint";
|
|
166
|
+
var i = "https://sts.{Region}.{PartitionResult#dnsSuffix}";
|
|
167
|
+
var j = "tree";
|
|
168
|
+
var k = "error";
|
|
169
|
+
var l = "getAttr";
|
|
170
|
+
var m = { [F]: false, [G]: "string" };
|
|
171
|
+
var n = { [F]: true, default: false, [G]: "boolean" };
|
|
172
|
+
var o = { [J]: "Endpoint" };
|
|
173
|
+
var p = { [H]: "isSet", [I]: [{ [J]: "Region" }] };
|
|
174
|
+
var q = { [J]: "Region" };
|
|
175
|
+
var r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" };
|
|
176
|
+
var s = { [J]: "UseFIPS" };
|
|
177
|
+
var t = { [J]: "UseDualStack" };
|
|
178
|
+
var u = {
|
|
179
|
+
url: "https://sts.amazonaws.com",
|
|
180
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
|
|
181
|
+
headers: {}
|
|
182
|
+
};
|
|
183
|
+
var v = {};
|
|
184
|
+
var w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h };
|
|
185
|
+
var x = { [H]: c, [I]: [s, true] };
|
|
186
|
+
var y = { [H]: c, [I]: [t, true] };
|
|
187
|
+
var z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] };
|
|
188
|
+
var A = { [J]: "PartitionResult" };
|
|
189
|
+
var B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] };
|
|
190
|
+
var C = [{ [H]: "isSet", [I]: [o] }];
|
|
191
|
+
var D = [x];
|
|
192
|
+
var E = [y];
|
|
193
|
+
var _data = {
|
|
194
|
+
version: "1.0",
|
|
195
|
+
parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
|
|
196
|
+
rules: [
|
|
197
|
+
{
|
|
198
|
+
conditions: [
|
|
199
|
+
{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
|
|
200
|
+
{ [H]: "not", [I]: C },
|
|
201
|
+
p,
|
|
202
|
+
r,
|
|
203
|
+
{ [H]: c, [I]: [s, a] },
|
|
204
|
+
{ [H]: c, [I]: [t, a] }
|
|
205
|
+
],
|
|
206
|
+
rules: [
|
|
207
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
|
|
208
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
|
|
209
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
|
|
210
|
+
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
|
|
211
|
+
w,
|
|
212
|
+
{ conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
|
|
213
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
|
|
214
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
|
|
215
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
|
|
216
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
|
|
217
|
+
{ conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
|
|
218
|
+
{ conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
|
|
219
|
+
{ conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
|
|
220
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
|
|
221
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
|
|
222
|
+
{ conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
|
|
223
|
+
{
|
|
224
|
+
endpoint: {
|
|
225
|
+
url: i,
|
|
226
|
+
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
|
|
227
|
+
headers: v
|
|
228
|
+
},
|
|
229
|
+
[G]: h
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
[G]: j
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
conditions: C,
|
|
236
|
+
rules: [
|
|
237
|
+
{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
|
|
238
|
+
{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
|
|
239
|
+
{ endpoint: { url: o, properties: v, headers: v }, [G]: h }
|
|
240
|
+
],
|
|
241
|
+
[G]: j
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
conditions: [p],
|
|
245
|
+
rules: [
|
|
246
|
+
{
|
|
247
|
+
conditions: [r],
|
|
248
|
+
rules: [
|
|
249
|
+
{
|
|
250
|
+
conditions: [x, y],
|
|
251
|
+
rules: [
|
|
252
|
+
{
|
|
253
|
+
conditions: [{ [H]: c, [I]: [b, z] }, B],
|
|
254
|
+
rules: [
|
|
255
|
+
{
|
|
256
|
+
endpoint: {
|
|
257
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
258
|
+
properties: v,
|
|
259
|
+
headers: v
|
|
260
|
+
},
|
|
261
|
+
[G]: h
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
[G]: j
|
|
265
|
+
},
|
|
266
|
+
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }
|
|
267
|
+
],
|
|
268
|
+
[G]: j
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
conditions: D,
|
|
272
|
+
rules: [
|
|
273
|
+
{
|
|
274
|
+
conditions: [{ [H]: c, [I]: [z, b] }],
|
|
275
|
+
rules: [
|
|
276
|
+
{
|
|
277
|
+
conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
|
|
278
|
+
endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
|
|
279
|
+
[G]: h
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
endpoint: {
|
|
283
|
+
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
284
|
+
properties: v,
|
|
285
|
+
headers: v
|
|
286
|
+
},
|
|
287
|
+
[G]: h
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
[G]: j
|
|
291
|
+
},
|
|
292
|
+
{ error: "FIPS is enabled but this partition does not support FIPS", [G]: k }
|
|
293
|
+
],
|
|
294
|
+
[G]: j
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
conditions: E,
|
|
298
|
+
rules: [
|
|
299
|
+
{
|
|
300
|
+
conditions: [B],
|
|
301
|
+
rules: [
|
|
302
|
+
{
|
|
303
|
+
endpoint: {
|
|
304
|
+
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
305
|
+
properties: v,
|
|
306
|
+
headers: v
|
|
307
|
+
},
|
|
308
|
+
[G]: h
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
[G]: j
|
|
312
|
+
},
|
|
313
|
+
{ error: "DualStack is enabled but this partition does not support DualStack", [G]: k }
|
|
314
|
+
],
|
|
315
|
+
[G]: j
|
|
316
|
+
},
|
|
317
|
+
w,
|
|
318
|
+
{ endpoint: { url: i, properties: v, headers: v }, [G]: h }
|
|
319
|
+
],
|
|
320
|
+
[G]: j
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
[G]: j
|
|
324
|
+
},
|
|
325
|
+
{ error: "Invalid Configuration: Missing Region", [G]: k }
|
|
326
|
+
]
|
|
327
|
+
};
|
|
328
|
+
exports.ruleSet = _data;
|
|
329
|
+
});
|
|
330
|
+
|
|
331
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js
|
|
332
|
+
var require_endpointResolver = __commonJS((exports) => {
|
|
333
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
334
|
+
exports.defaultEndpointResolver = undefined;
|
|
335
|
+
var util_endpoints_1 = require_dist_cjs14();
|
|
336
|
+
var util_endpoints_2 = require_dist_cjs13();
|
|
337
|
+
var ruleset_1 = require_ruleset();
|
|
338
|
+
var cache = new util_endpoints_2.EndpointCache({
|
|
339
|
+
size: 50,
|
|
340
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"]
|
|
341
|
+
});
|
|
342
|
+
var defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
343
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
344
|
+
endpointParams,
|
|
345
|
+
logger: context.logger
|
|
346
|
+
}));
|
|
347
|
+
};
|
|
348
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
349
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js
|
|
353
|
+
var require_STSServiceException = __commonJS((exports) => {
|
|
354
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
355
|
+
exports.STSServiceException = exports.__ServiceException = undefined;
|
|
356
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
357
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function() {
|
|
358
|
+
return smithy_client_1.ServiceException;
|
|
359
|
+
} });
|
|
360
|
+
|
|
361
|
+
class STSServiceException extends smithy_client_1.ServiceException {
|
|
362
|
+
constructor(options) {
|
|
363
|
+
super(options);
|
|
364
|
+
Object.setPrototypeOf(this, STSServiceException.prototype);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
exports.STSServiceException = STSServiceException;
|
|
368
|
+
});
|
|
369
|
+
|
|
370
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js
|
|
371
|
+
var require_errors = __commonJS((exports) => {
|
|
372
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
373
|
+
exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = undefined;
|
|
374
|
+
var STSServiceException_1 = require_STSServiceException();
|
|
375
|
+
|
|
376
|
+
class ExpiredTokenException extends STSServiceException_1.STSServiceException {
|
|
377
|
+
name = "ExpiredTokenException";
|
|
378
|
+
$fault = "client";
|
|
379
|
+
constructor(opts) {
|
|
380
|
+
super({
|
|
381
|
+
name: "ExpiredTokenException",
|
|
382
|
+
$fault: "client",
|
|
383
|
+
...opts
|
|
384
|
+
});
|
|
385
|
+
Object.setPrototypeOf(this, ExpiredTokenException.prototype);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
exports.ExpiredTokenException = ExpiredTokenException;
|
|
389
|
+
|
|
390
|
+
class MalformedPolicyDocumentException extends STSServiceException_1.STSServiceException {
|
|
391
|
+
name = "MalformedPolicyDocumentException";
|
|
392
|
+
$fault = "client";
|
|
393
|
+
constructor(opts) {
|
|
394
|
+
super({
|
|
395
|
+
name: "MalformedPolicyDocumentException",
|
|
396
|
+
$fault: "client",
|
|
397
|
+
...opts
|
|
398
|
+
});
|
|
399
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
403
|
+
|
|
404
|
+
class PackedPolicyTooLargeException extends STSServiceException_1.STSServiceException {
|
|
405
|
+
name = "PackedPolicyTooLargeException";
|
|
406
|
+
$fault = "client";
|
|
407
|
+
constructor(opts) {
|
|
408
|
+
super({
|
|
409
|
+
name: "PackedPolicyTooLargeException",
|
|
410
|
+
$fault: "client",
|
|
411
|
+
...opts
|
|
412
|
+
});
|
|
413
|
+
Object.setPrototypeOf(this, PackedPolicyTooLargeException.prototype);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
exports.PackedPolicyTooLargeException = PackedPolicyTooLargeException;
|
|
417
|
+
|
|
418
|
+
class RegionDisabledException extends STSServiceException_1.STSServiceException {
|
|
419
|
+
name = "RegionDisabledException";
|
|
420
|
+
$fault = "client";
|
|
421
|
+
constructor(opts) {
|
|
422
|
+
super({
|
|
423
|
+
name: "RegionDisabledException",
|
|
424
|
+
$fault: "client",
|
|
425
|
+
...opts
|
|
426
|
+
});
|
|
427
|
+
Object.setPrototypeOf(this, RegionDisabledException.prototype);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
exports.RegionDisabledException = RegionDisabledException;
|
|
431
|
+
|
|
432
|
+
class IDPRejectedClaimException extends STSServiceException_1.STSServiceException {
|
|
433
|
+
name = "IDPRejectedClaimException";
|
|
434
|
+
$fault = "client";
|
|
435
|
+
constructor(opts) {
|
|
436
|
+
super({
|
|
437
|
+
name: "IDPRejectedClaimException",
|
|
438
|
+
$fault: "client",
|
|
439
|
+
...opts
|
|
440
|
+
});
|
|
441
|
+
Object.setPrototypeOf(this, IDPRejectedClaimException.prototype);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
exports.IDPRejectedClaimException = IDPRejectedClaimException;
|
|
445
|
+
|
|
446
|
+
class InvalidIdentityTokenException extends STSServiceException_1.STSServiceException {
|
|
447
|
+
name = "InvalidIdentityTokenException";
|
|
448
|
+
$fault = "client";
|
|
449
|
+
constructor(opts) {
|
|
450
|
+
super({
|
|
451
|
+
name: "InvalidIdentityTokenException",
|
|
452
|
+
$fault: "client",
|
|
453
|
+
...opts
|
|
454
|
+
});
|
|
455
|
+
Object.setPrototypeOf(this, InvalidIdentityTokenException.prototype);
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
exports.InvalidIdentityTokenException = InvalidIdentityTokenException;
|
|
459
|
+
|
|
460
|
+
class IDPCommunicationErrorException extends STSServiceException_1.STSServiceException {
|
|
461
|
+
name = "IDPCommunicationErrorException";
|
|
462
|
+
$fault = "client";
|
|
463
|
+
constructor(opts) {
|
|
464
|
+
super({
|
|
465
|
+
name: "IDPCommunicationErrorException",
|
|
466
|
+
$fault: "client",
|
|
467
|
+
...opts
|
|
468
|
+
});
|
|
469
|
+
Object.setPrototypeOf(this, IDPCommunicationErrorException.prototype);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
|
|
473
|
+
});
|
|
474
|
+
|
|
475
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js
|
|
476
|
+
var require_schemas_0 = __commonJS((exports) => {
|
|
477
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
478
|
+
exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = undefined;
|
|
479
|
+
var _A = "Arn";
|
|
480
|
+
var _AKI = "AccessKeyId";
|
|
481
|
+
var _AR = "AssumeRole";
|
|
482
|
+
var _ARI = "AssumedRoleId";
|
|
483
|
+
var _ARR = "AssumeRoleRequest";
|
|
484
|
+
var _ARRs = "AssumeRoleResponse";
|
|
485
|
+
var _ARU = "AssumedRoleUser";
|
|
486
|
+
var _ARWWI = "AssumeRoleWithWebIdentity";
|
|
487
|
+
var _ARWWIR = "AssumeRoleWithWebIdentityRequest";
|
|
488
|
+
var _ARWWIRs = "AssumeRoleWithWebIdentityResponse";
|
|
489
|
+
var _Au = "Audience";
|
|
490
|
+
var _C = "Credentials";
|
|
491
|
+
var _CA = "ContextAssertion";
|
|
492
|
+
var _DS = "DurationSeconds";
|
|
493
|
+
var _E = "Expiration";
|
|
494
|
+
var _EI = "ExternalId";
|
|
495
|
+
var _ETE = "ExpiredTokenException";
|
|
496
|
+
var _IDPCEE = "IDPCommunicationErrorException";
|
|
497
|
+
var _IDPRCE = "IDPRejectedClaimException";
|
|
498
|
+
var _IITE = "InvalidIdentityTokenException";
|
|
499
|
+
var _K = "Key";
|
|
500
|
+
var _MPDE = "MalformedPolicyDocumentException";
|
|
501
|
+
var _P = "Policy";
|
|
502
|
+
var _PA = "PolicyArns";
|
|
503
|
+
var _PAr = "ProviderArn";
|
|
504
|
+
var _PC = "ProvidedContexts";
|
|
505
|
+
var _PCLT = "ProvidedContextsListType";
|
|
506
|
+
var _PCr = "ProvidedContext";
|
|
507
|
+
var _PDT = "PolicyDescriptorType";
|
|
508
|
+
var _PI = "ProviderId";
|
|
509
|
+
var _PPS = "PackedPolicySize";
|
|
510
|
+
var _PPTLE = "PackedPolicyTooLargeException";
|
|
511
|
+
var _Pr = "Provider";
|
|
512
|
+
var _RA = "RoleArn";
|
|
513
|
+
var _RDE = "RegionDisabledException";
|
|
514
|
+
var _RSN = "RoleSessionName";
|
|
515
|
+
var _SAK = "SecretAccessKey";
|
|
516
|
+
var _SFWIT = "SubjectFromWebIdentityToken";
|
|
517
|
+
var _SI = "SourceIdentity";
|
|
518
|
+
var _SN = "SerialNumber";
|
|
519
|
+
var _ST = "SessionToken";
|
|
520
|
+
var _T = "Tags";
|
|
521
|
+
var _TC = "TokenCode";
|
|
522
|
+
var _TTK = "TransitiveTagKeys";
|
|
523
|
+
var _Ta = "Tag";
|
|
524
|
+
var _V = "Value";
|
|
525
|
+
var _WIT = "WebIdentityToken";
|
|
526
|
+
var _a = "arn";
|
|
527
|
+
var _aKST = "accessKeySecretType";
|
|
528
|
+
var _aQE = "awsQueryError";
|
|
529
|
+
var _c = "client";
|
|
530
|
+
var _cTT = "clientTokenType";
|
|
531
|
+
var _e = "error";
|
|
532
|
+
var _hE = "httpError";
|
|
533
|
+
var _m = "message";
|
|
534
|
+
var _pDLT = "policyDescriptorListType";
|
|
535
|
+
var _s = "smithy.ts.sdk.synthetic.com.amazonaws.sts";
|
|
536
|
+
var _tLT = "tagListType";
|
|
537
|
+
var n0 = "com.amazonaws.sts";
|
|
538
|
+
var schema_1 = require_schema();
|
|
539
|
+
var errors_1 = require_errors();
|
|
540
|
+
var STSServiceException_1 = require_STSServiceException();
|
|
541
|
+
var _s_registry = schema_1.TypeRegistry.for(_s);
|
|
542
|
+
exports.STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
543
|
+
_s_registry.registerError(exports.STSServiceException$, STSServiceException_1.STSServiceException);
|
|
544
|
+
var n0_registry = schema_1.TypeRegistry.for(n0);
|
|
545
|
+
exports.ExpiredTokenException$ = [
|
|
546
|
+
-3,
|
|
547
|
+
n0,
|
|
548
|
+
_ETE,
|
|
549
|
+
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
550
|
+
[_m],
|
|
551
|
+
[0]
|
|
552
|
+
];
|
|
553
|
+
n0_registry.registerError(exports.ExpiredTokenException$, errors_1.ExpiredTokenException);
|
|
554
|
+
exports.IDPCommunicationErrorException$ = [
|
|
555
|
+
-3,
|
|
556
|
+
n0,
|
|
557
|
+
_IDPCEE,
|
|
558
|
+
{ [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
|
|
559
|
+
[_m],
|
|
560
|
+
[0]
|
|
561
|
+
];
|
|
562
|
+
n0_registry.registerError(exports.IDPCommunicationErrorException$, errors_1.IDPCommunicationErrorException);
|
|
563
|
+
exports.IDPRejectedClaimException$ = [
|
|
564
|
+
-3,
|
|
565
|
+
n0,
|
|
566
|
+
_IDPRCE,
|
|
567
|
+
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
|
|
568
|
+
[_m],
|
|
569
|
+
[0]
|
|
570
|
+
];
|
|
571
|
+
n0_registry.registerError(exports.IDPRejectedClaimException$, errors_1.IDPRejectedClaimException);
|
|
572
|
+
exports.InvalidIdentityTokenException$ = [
|
|
573
|
+
-3,
|
|
574
|
+
n0,
|
|
575
|
+
_IITE,
|
|
576
|
+
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
577
|
+
[_m],
|
|
578
|
+
[0]
|
|
579
|
+
];
|
|
580
|
+
n0_registry.registerError(exports.InvalidIdentityTokenException$, errors_1.InvalidIdentityTokenException);
|
|
581
|
+
exports.MalformedPolicyDocumentException$ = [
|
|
582
|
+
-3,
|
|
583
|
+
n0,
|
|
584
|
+
_MPDE,
|
|
585
|
+
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
|
|
586
|
+
[_m],
|
|
587
|
+
[0]
|
|
588
|
+
];
|
|
589
|
+
n0_registry.registerError(exports.MalformedPolicyDocumentException$, errors_1.MalformedPolicyDocumentException);
|
|
590
|
+
exports.PackedPolicyTooLargeException$ = [
|
|
591
|
+
-3,
|
|
592
|
+
n0,
|
|
593
|
+
_PPTLE,
|
|
594
|
+
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
|
|
595
|
+
[_m],
|
|
596
|
+
[0]
|
|
597
|
+
];
|
|
598
|
+
n0_registry.registerError(exports.PackedPolicyTooLargeException$, errors_1.PackedPolicyTooLargeException);
|
|
599
|
+
exports.RegionDisabledException$ = [
|
|
600
|
+
-3,
|
|
601
|
+
n0,
|
|
602
|
+
_RDE,
|
|
603
|
+
{ [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
604
|
+
[_m],
|
|
605
|
+
[0]
|
|
606
|
+
];
|
|
607
|
+
n0_registry.registerError(exports.RegionDisabledException$, errors_1.RegionDisabledException);
|
|
608
|
+
exports.errorTypeRegistries = [_s_registry, n0_registry];
|
|
609
|
+
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
610
|
+
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
611
|
+
exports.AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2];
|
|
612
|
+
exports.AssumeRoleRequest$ = [
|
|
613
|
+
3,
|
|
614
|
+
n0,
|
|
615
|
+
_ARR,
|
|
616
|
+
0,
|
|
617
|
+
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
618
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
619
|
+
2
|
|
620
|
+
];
|
|
621
|
+
exports.AssumeRoleResponse$ = [
|
|
622
|
+
3,
|
|
623
|
+
n0,
|
|
624
|
+
_ARRs,
|
|
625
|
+
0,
|
|
626
|
+
[_C, _ARU, _PPS, _SI],
|
|
627
|
+
[[() => exports.Credentials$, 0], () => exports.AssumedRoleUser$, 1, 0]
|
|
628
|
+
];
|
|
629
|
+
exports.AssumeRoleWithWebIdentityRequest$ = [
|
|
630
|
+
3,
|
|
631
|
+
n0,
|
|
632
|
+
_ARWWIR,
|
|
633
|
+
0,
|
|
634
|
+
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
635
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
636
|
+
3
|
|
637
|
+
];
|
|
638
|
+
exports.AssumeRoleWithWebIdentityResponse$ = [
|
|
639
|
+
3,
|
|
640
|
+
n0,
|
|
641
|
+
_ARWWIRs,
|
|
642
|
+
0,
|
|
643
|
+
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
644
|
+
[[() => exports.Credentials$, 0], 0, () => exports.AssumedRoleUser$, 1, 0, 0, 0]
|
|
645
|
+
];
|
|
646
|
+
exports.Credentials$ = [
|
|
647
|
+
3,
|
|
648
|
+
n0,
|
|
649
|
+
_C,
|
|
650
|
+
0,
|
|
651
|
+
[_AKI, _SAK, _ST, _E],
|
|
652
|
+
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
653
|
+
4
|
|
654
|
+
];
|
|
655
|
+
exports.PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]];
|
|
656
|
+
exports.ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
657
|
+
exports.Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2];
|
|
658
|
+
var policyDescriptorListType = [1, n0, _pDLT, 0, () => exports.PolicyDescriptorType$];
|
|
659
|
+
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => exports.ProvidedContext$];
|
|
660
|
+
var tagKeyListType = 64 | 0;
|
|
661
|
+
var tagListType = [1, n0, _tLT, 0, () => exports.Tag$];
|
|
662
|
+
exports.AssumeRole$ = [9, n0, _AR, 0, () => exports.AssumeRoleRequest$, () => exports.AssumeRoleResponse$];
|
|
663
|
+
exports.AssumeRoleWithWebIdentity$ = [
|
|
664
|
+
9,
|
|
665
|
+
n0,
|
|
666
|
+
_ARWWI,
|
|
667
|
+
0,
|
|
668
|
+
() => exports.AssumeRoleWithWebIdentityRequest$,
|
|
669
|
+
() => exports.AssumeRoleWithWebIdentityResponse$
|
|
670
|
+
];
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
|
|
674
|
+
var require_runtimeConfig_shared = __commonJS((exports) => {
|
|
675
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
676
|
+
exports.getRuntimeConfig = undefined;
|
|
677
|
+
var httpAuthSchemes_1 = require_httpAuthSchemes();
|
|
678
|
+
var protocols_1 = require_protocols();
|
|
679
|
+
var core_1 = require_dist_cjs9();
|
|
680
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
681
|
+
var url_parser_1 = require_dist_cjs4();
|
|
682
|
+
var util_base64_1 = require_dist_cjs6();
|
|
683
|
+
var util_utf8_1 = require_dist_cjs5();
|
|
684
|
+
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
685
|
+
var endpointResolver_1 = require_endpointResolver();
|
|
686
|
+
var schemas_0_1 = require_schemas_0();
|
|
687
|
+
var getRuntimeConfig = (config) => {
|
|
688
|
+
return {
|
|
689
|
+
apiVersion: "2011-06-15",
|
|
690
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
691
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
692
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
693
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
694
|
+
extensions: config?.extensions ?? [],
|
|
695
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider,
|
|
696
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
697
|
+
{
|
|
698
|
+
schemeId: "aws.auth#sigv4",
|
|
699
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
700
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
schemeId: "smithy.api#noAuth",
|
|
704
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
705
|
+
signer: new core_1.NoAuthSigner
|
|
706
|
+
}
|
|
707
|
+
],
|
|
708
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger,
|
|
709
|
+
protocol: config?.protocol ?? protocols_1.AwsQueryProtocol,
|
|
710
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
711
|
+
defaultNamespace: "com.amazonaws.sts",
|
|
712
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
713
|
+
xmlNamespace: "https://sts.amazonaws.com/doc/2011-06-15/",
|
|
714
|
+
version: "2011-06-15",
|
|
715
|
+
serviceTarget: "AWSSecurityTokenServiceV20110615"
|
|
716
|
+
},
|
|
717
|
+
serviceId: config?.serviceId ?? "STS",
|
|
718
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
719
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
720
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
724
|
+
});
|
|
725
|
+
|
|
726
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js
|
|
727
|
+
var require_runtimeConfig = __commonJS((exports) => {
|
|
728
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
729
|
+
exports.getRuntimeConfig = undefined;
|
|
730
|
+
var tslib_1 = require_tslib();
|
|
731
|
+
var package_json_1 = tslib_1.__importDefault(require_package());
|
|
732
|
+
var client_1 = require_client();
|
|
733
|
+
var httpAuthSchemes_1 = require_httpAuthSchemes();
|
|
734
|
+
var util_user_agent_node_1 = require_dist_cjs21();
|
|
735
|
+
var config_resolver_1 = require_dist_cjs17();
|
|
736
|
+
var core_1 = require_dist_cjs9();
|
|
737
|
+
var hash_node_1 = require_dist_cjs22();
|
|
738
|
+
var middleware_retry_1 = require_dist_cjs20();
|
|
739
|
+
var node_config_provider_1 = require_dist_cjs3();
|
|
740
|
+
var node_http_handler_1 = require_dist_cjs2();
|
|
741
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
742
|
+
var util_body_length_node_1 = require_dist_cjs23();
|
|
743
|
+
var util_defaults_mode_node_1 = require_dist_cjs24();
|
|
744
|
+
var util_retry_1 = require_dist_cjs15();
|
|
745
|
+
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
|
746
|
+
var getRuntimeConfig = (config) => {
|
|
747
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
748
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
749
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
750
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
751
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
752
|
+
const loaderConfig = {
|
|
753
|
+
profile: config?.profile,
|
|
754
|
+
logger: clientSharedValues.logger
|
|
755
|
+
};
|
|
756
|
+
return {
|
|
757
|
+
...clientSharedValues,
|
|
758
|
+
...config,
|
|
759
|
+
runtime: "node",
|
|
760
|
+
defaultsMode,
|
|
761
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
762
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
763
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
764
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
765
|
+
{
|
|
766
|
+
schemeId: "aws.auth#sigv4",
|
|
767
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
|
|
768
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
schemeId: "smithy.api#noAuth",
|
|
772
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
773
|
+
signer: new core_1.NoAuthSigner
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
777
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
778
|
+
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
779
|
+
retryMode: config?.retryMode ?? (0, node_config_provider_1.loadConfig)({
|
|
780
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
781
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
|
|
782
|
+
}, config),
|
|
783
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
784
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
785
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
786
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
787
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
791
|
+
});
|
|
792
|
+
|
|
793
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js
|
|
794
|
+
var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
|
|
795
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
796
|
+
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = undefined;
|
|
797
|
+
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
798
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
799
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
800
|
+
let _credentials = runtimeConfig.credentials;
|
|
801
|
+
return {
|
|
802
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
803
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
804
|
+
if (index === -1) {
|
|
805
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
806
|
+
} else {
|
|
807
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
httpAuthSchemes() {
|
|
811
|
+
return _httpAuthSchemes;
|
|
812
|
+
},
|
|
813
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
814
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
815
|
+
},
|
|
816
|
+
httpAuthSchemeProvider() {
|
|
817
|
+
return _httpAuthSchemeProvider;
|
|
818
|
+
},
|
|
819
|
+
setCredentials(credentials) {
|
|
820
|
+
_credentials = credentials;
|
|
821
|
+
},
|
|
822
|
+
credentials() {
|
|
823
|
+
return _credentials;
|
|
824
|
+
}
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
828
|
+
var resolveHttpAuthRuntimeConfig = (config) => {
|
|
829
|
+
return {
|
|
830
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
831
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
832
|
+
credentials: config.credentials()
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
836
|
+
});
|
|
837
|
+
|
|
838
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
|
|
839
|
+
var require_runtimeExtensions = __commonJS((exports) => {
|
|
840
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
841
|
+
exports.resolveRuntimeExtensions = undefined;
|
|
842
|
+
var region_config_resolver_1 = require_dist_cjs25();
|
|
843
|
+
var protocol_http_1 = require_dist_cjs();
|
|
844
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
845
|
+
var httpAuthExtensionConfiguration_1 = require_httpAuthExtensionConfiguration();
|
|
846
|
+
var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
847
|
+
const extensionConfiguration = Object.assign((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig), (0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig), (0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig));
|
|
848
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
849
|
+
return Object.assign(runtimeConfig, (0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), (0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration));
|
|
850
|
+
};
|
|
851
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
852
|
+
});
|
|
853
|
+
|
|
854
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js
|
|
855
|
+
var require_STSClient = __commonJS((exports) => {
|
|
856
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
857
|
+
exports.STSClient = exports.__Client = undefined;
|
|
858
|
+
var middleware_host_header_1 = require_dist_cjs10();
|
|
859
|
+
var middleware_logger_1 = require_dist_cjs11();
|
|
860
|
+
var middleware_recursion_detection_1 = require_dist_cjs12();
|
|
861
|
+
var middleware_user_agent_1 = require_dist_cjs16();
|
|
862
|
+
var config_resolver_1 = require_dist_cjs17();
|
|
863
|
+
var core_1 = require_dist_cjs9();
|
|
864
|
+
var schema_1 = require_schema();
|
|
865
|
+
var middleware_content_length_1 = require_dist_cjs18();
|
|
866
|
+
var middleware_endpoint_1 = require_dist_cjs19();
|
|
867
|
+
var middleware_retry_1 = require_dist_cjs20();
|
|
868
|
+
var smithy_client_1 = require_dist_cjs8();
|
|
869
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function() {
|
|
870
|
+
return smithy_client_1.Client;
|
|
871
|
+
} });
|
|
872
|
+
var httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
|
|
873
|
+
var EndpointParameters_1 = require_EndpointParameters();
|
|
874
|
+
var runtimeConfig_1 = require_runtimeConfig();
|
|
875
|
+
var runtimeExtensions_1 = require_runtimeExtensions();
|
|
876
|
+
|
|
877
|
+
class STSClient extends smithy_client_1.Client {
|
|
878
|
+
config;
|
|
879
|
+
constructor(...[configuration]) {
|
|
880
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
881
|
+
super(_config_0);
|
|
882
|
+
this.initConfig = _config_0;
|
|
883
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
884
|
+
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
885
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
886
|
+
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
887
|
+
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
888
|
+
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
889
|
+
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
890
|
+
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
891
|
+
this.config = _config_8;
|
|
892
|
+
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
893
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
894
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
895
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
896
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
897
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
898
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
899
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
900
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider,
|
|
901
|
+
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
902
|
+
"aws.auth#sigv4": config.credentials
|
|
903
|
+
})
|
|
904
|
+
}));
|
|
905
|
+
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
906
|
+
}
|
|
907
|
+
destroy() {
|
|
908
|
+
super.destroy();
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
exports.STSClient = STSClient;
|
|
912
|
+
});
|
|
913
|
+
|
|
914
|
+
// node_modules/.bun/@aws-sdk+nested-clients@3.996.17/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
|
|
915
|
+
var require_sts = __commonJS((exports) => {
|
|
916
|
+
var STSClient = require_STSClient();
|
|
917
|
+
var smithyClient = require_dist_cjs8();
|
|
918
|
+
var middlewareEndpoint = require_dist_cjs19();
|
|
919
|
+
var EndpointParameters = require_EndpointParameters();
|
|
920
|
+
var schemas_0 = require_schemas_0();
|
|
921
|
+
var errors = require_errors();
|
|
922
|
+
var client = require_client();
|
|
923
|
+
var regionConfigResolver = require_dist_cjs25();
|
|
924
|
+
var STSServiceException = require_STSServiceException();
|
|
925
|
+
|
|
926
|
+
class AssumeRoleCommand extends smithyClient.Command.classBuilder().ep(EndpointParameters.commonParams).m(function(Command, cs, config, o) {
|
|
927
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
928
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").sc(schemas_0.AssumeRole$).build() {
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
class AssumeRoleWithWebIdentityCommand extends smithyClient.Command.classBuilder().ep(EndpointParameters.commonParams).m(function(Command, cs, config, o) {
|
|
932
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
933
|
+
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").sc(schemas_0.AssumeRoleWithWebIdentity$).build() {
|
|
934
|
+
}
|
|
935
|
+
var commands = {
|
|
936
|
+
AssumeRoleCommand,
|
|
937
|
+
AssumeRoleWithWebIdentityCommand
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
class STS extends STSClient.STSClient {
|
|
941
|
+
}
|
|
942
|
+
smithyClient.createAggregatedClient(commands, STS);
|
|
943
|
+
var getAccountIdFromAssumedRoleUser = (assumedRoleUser) => {
|
|
944
|
+
if (typeof assumedRoleUser?.Arn === "string") {
|
|
945
|
+
const arnComponents = assumedRoleUser.Arn.split(":");
|
|
946
|
+
if (arnComponents.length > 4 && arnComponents[4] !== "") {
|
|
947
|
+
return arnComponents[4];
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
return;
|
|
951
|
+
};
|
|
952
|
+
var resolveRegion = async (_region, _parentRegion, credentialProviderLogger, loaderConfig = {}) => {
|
|
953
|
+
const region = typeof _region === "function" ? await _region() : _region;
|
|
954
|
+
const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion;
|
|
955
|
+
let stsDefaultRegion = "";
|
|
956
|
+
const resolvedRegion = region ?? parentRegion ?? (stsDefaultRegion = await regionConfigResolver.stsRegionDefaultResolver(loaderConfig)());
|
|
957
|
+
credentialProviderLogger?.debug?.("@aws-sdk/client-sts::resolveRegion", "accepting first of:", `${region} (credential provider clientConfig)`, `${parentRegion} (contextual client)`, `${stsDefaultRegion} (STS default: AWS_REGION, profile region, or us-east-1)`);
|
|
958
|
+
return resolvedRegion;
|
|
959
|
+
};
|
|
960
|
+
var getDefaultRoleAssumer$1 = (stsOptions, STSClient2) => {
|
|
961
|
+
let stsClient;
|
|
962
|
+
let closureSourceCreds;
|
|
963
|
+
return async (sourceCreds, params) => {
|
|
964
|
+
closureSourceCreds = sourceCreds;
|
|
965
|
+
if (!stsClient) {
|
|
966
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
967
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
968
|
+
logger,
|
|
969
|
+
profile
|
|
970
|
+
});
|
|
971
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
972
|
+
stsClient = new STSClient2({
|
|
973
|
+
...stsOptions,
|
|
974
|
+
userAgentAppId,
|
|
975
|
+
profile,
|
|
976
|
+
credentialDefaultProvider: () => async () => closureSourceCreds,
|
|
977
|
+
region: resolvedRegion,
|
|
978
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
979
|
+
logger
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleCommand(params));
|
|
983
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
984
|
+
throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`);
|
|
985
|
+
}
|
|
986
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
987
|
+
const credentials = {
|
|
988
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
989
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
990
|
+
sessionToken: Credentials.SessionToken,
|
|
991
|
+
expiration: Credentials.Expiration,
|
|
992
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
993
|
+
...accountId && { accountId }
|
|
994
|
+
};
|
|
995
|
+
client.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i");
|
|
996
|
+
return credentials;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
var getDefaultRoleAssumerWithWebIdentity$1 = (stsOptions, STSClient2) => {
|
|
1000
|
+
let stsClient;
|
|
1001
|
+
return async (params) => {
|
|
1002
|
+
if (!stsClient) {
|
|
1003
|
+
const { logger = stsOptions?.parentClientConfig?.logger, profile = stsOptions?.parentClientConfig?.profile, region, requestHandler = stsOptions?.parentClientConfig?.requestHandler, credentialProviderLogger, userAgentAppId = stsOptions?.parentClientConfig?.userAgentAppId } = stsOptions;
|
|
1004
|
+
const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger, {
|
|
1005
|
+
logger,
|
|
1006
|
+
profile
|
|
1007
|
+
});
|
|
1008
|
+
const isCompatibleRequestHandler = !isH2(requestHandler);
|
|
1009
|
+
stsClient = new STSClient2({
|
|
1010
|
+
...stsOptions,
|
|
1011
|
+
userAgentAppId,
|
|
1012
|
+
profile,
|
|
1013
|
+
region: resolvedRegion,
|
|
1014
|
+
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
|
|
1015
|
+
logger
|
|
1016
|
+
});
|
|
1017
|
+
}
|
|
1018
|
+
const { Credentials, AssumedRoleUser } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params));
|
|
1019
|
+
if (!Credentials || !Credentials.AccessKeyId || !Credentials.SecretAccessKey) {
|
|
1020
|
+
throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`);
|
|
1021
|
+
}
|
|
1022
|
+
const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser);
|
|
1023
|
+
const credentials = {
|
|
1024
|
+
accessKeyId: Credentials.AccessKeyId,
|
|
1025
|
+
secretAccessKey: Credentials.SecretAccessKey,
|
|
1026
|
+
sessionToken: Credentials.SessionToken,
|
|
1027
|
+
expiration: Credentials.Expiration,
|
|
1028
|
+
...Credentials.CredentialScope && { credentialScope: Credentials.CredentialScope },
|
|
1029
|
+
...accountId && { accountId }
|
|
1030
|
+
};
|
|
1031
|
+
if (accountId) {
|
|
1032
|
+
client.setCredentialFeature(credentials, "RESOLVED_ACCOUNT_ID", "T");
|
|
1033
|
+
}
|
|
1034
|
+
client.setCredentialFeature(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k");
|
|
1035
|
+
return credentials;
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
var isH2 = (requestHandler) => {
|
|
1039
|
+
return requestHandler?.metadata?.handlerProtocol === "h2";
|
|
1040
|
+
};
|
|
1041
|
+
var getCustomizableStsClientCtor = (baseCtor, customizations) => {
|
|
1042
|
+
if (!customizations)
|
|
1043
|
+
return baseCtor;
|
|
1044
|
+
else
|
|
1045
|
+
return class CustomizableSTSClient extends baseCtor {
|
|
1046
|
+
constructor(config) {
|
|
1047
|
+
super(config);
|
|
1048
|
+
for (const customization of customizations) {
|
|
1049
|
+
this.middlewareStack.use(customization);
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
var getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumer$1(stsOptions, getCustomizableStsClientCtor(STSClient.STSClient, stsPlugins));
|
|
1055
|
+
var getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity$1(stsOptions, getCustomizableStsClientCtor(STSClient.STSClient, stsPlugins));
|
|
1056
|
+
var decorateDefaultCredentialProvider = (provider) => (input) => provider({
|
|
1057
|
+
roleAssumer: getDefaultRoleAssumer(input),
|
|
1058
|
+
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input),
|
|
1059
|
+
...input
|
|
1060
|
+
});
|
|
1061
|
+
exports.$Command = smithyClient.Command;
|
|
1062
|
+
exports.STSServiceException = STSServiceException.STSServiceException;
|
|
1063
|
+
exports.AssumeRoleCommand = AssumeRoleCommand;
|
|
1064
|
+
exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
|
|
1065
|
+
exports.STS = STS;
|
|
1066
|
+
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
|
|
1067
|
+
exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
|
|
1068
|
+
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
|
|
1069
|
+
Object.prototype.hasOwnProperty.call(STSClient, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
1070
|
+
enumerable: true,
|
|
1071
|
+
value: STSClient["__proto__"]
|
|
1072
|
+
});
|
|
1073
|
+
Object.keys(STSClient).forEach(function(k) {
|
|
1074
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
1075
|
+
exports[k] = STSClient[k];
|
|
1076
|
+
});
|
|
1077
|
+
Object.prototype.hasOwnProperty.call(schemas_0, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
1078
|
+
enumerable: true,
|
|
1079
|
+
value: schemas_0["__proto__"]
|
|
1080
|
+
});
|
|
1081
|
+
Object.keys(schemas_0).forEach(function(k) {
|
|
1082
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
1083
|
+
exports[k] = schemas_0[k];
|
|
1084
|
+
});
|
|
1085
|
+
Object.prototype.hasOwnProperty.call(errors, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
1086
|
+
enumerable: true,
|
|
1087
|
+
value: errors["__proto__"]
|
|
1088
|
+
});
|
|
1089
|
+
Object.keys(errors).forEach(function(k) {
|
|
1090
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
1091
|
+
exports[k] = errors[k];
|
|
1092
|
+
});
|
|
1093
|
+
});
|
|
1094
|
+
|
|
1095
|
+
export { require_sts };
|