jialing-code 1.1.0
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/README.md +97 -0
- package/dist/chunk-065m026w.js +97 -0
- package/dist/chunk-06saje2v.js +39 -0
- package/dist/chunk-0731m51q.js +8 -0
- package/dist/chunk-0975ccyw.js +265 -0
- package/dist/chunk-09n3fjx5.js +67 -0
- package/dist/chunk-0bdjdzew.js +41 -0
- package/dist/chunk-0ce6kd7y.js +212 -0
- package/dist/chunk-0e1xsncc.js +969 -0
- package/dist/chunk-0m2861gw.js +154 -0
- package/dist/chunk-0paqc2yw.js +15 -0
- package/dist/chunk-0rg6yrhy.js +99 -0
- package/dist/chunk-0sakxrcf.js +643 -0
- package/dist/chunk-0v9hwxvz.js +105 -0
- package/dist/chunk-0vkfrmqm.js +690 -0
- package/dist/chunk-0vvfnhhv.js +248 -0
- package/dist/chunk-0w4rsycj.js +145 -0
- package/dist/chunk-0x9b2nmd.js +63 -0
- package/dist/chunk-0xjaqda8.js +1124 -0
- package/dist/chunk-1141xmr4.js +8 -0
- package/dist/chunk-13d1842d.js +154 -0
- package/dist/chunk-1921a6yb.js +32 -0
- package/dist/chunk-1ad8mk9g.js +527 -0
- package/dist/chunk-1ax41pws.js +28 -0
- package/dist/chunk-1c8z1b5v.js +16 -0
- package/dist/chunk-1cbn5kxf.js +7 -0
- package/dist/chunk-1eapde8a.js +726 -0
- package/dist/chunk-1h2famwb.js +49 -0
- package/dist/chunk-1jggnf7z.js +85 -0
- package/dist/chunk-1k92pn9c.js +32 -0
- package/dist/chunk-1qakq4sn.js +802 -0
- package/dist/chunk-1rvz0433.js +722 -0
- package/dist/chunk-1xkekb9y.js +19 -0
- package/dist/chunk-238g70xa.js +36 -0
- package/dist/chunk-24ge0eqa.js +106 -0
- package/dist/chunk-278vghwm.js +5395 -0
- package/dist/chunk-27xc1csx.js +104 -0
- package/dist/chunk-2a42s11t.js +412 -0
- package/dist/chunk-2aa02aw6.js +438 -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-2nayx6q1.js +63 -0
- package/dist/chunk-2sd2w2h4.js +44 -0
- package/dist/chunk-2tw2ve8h.js +145 -0
- package/dist/chunk-30rst83v.js +168 -0
- package/dist/chunk-3aavh06g.js +1581 -0
- package/dist/chunk-3b0yvt2h.js +469 -0
- package/dist/chunk-3be7ka25.js +56 -0
- package/dist/chunk-3c25bcsw.js +17 -0
- package/dist/chunk-3dyxka97.js +584 -0
- package/dist/chunk-3f7rypmf.js +16544 -0
- package/dist/chunk-3fsd7f51.js +93 -0
- package/dist/chunk-3gqdqmzb.js +75 -0
- package/dist/chunk-3h8a89gy.js +46 -0
- package/dist/chunk-3m84sret.js +71 -0
- package/dist/chunk-3nb7j3js.js +96 -0
- package/dist/chunk-3p08nvn2.js +98 -0
- package/dist/chunk-3r09htpc.js +318 -0
- package/dist/chunk-3r24h7t6.js +113 -0
- package/dist/chunk-3rkfxjtq.js +80 -0
- package/dist/chunk-3tmk7dc2.js +604 -0
- package/dist/chunk-3w6s9m5w.js +16 -0
- package/dist/chunk-43qjymy5.js +92 -0
- package/dist/chunk-44fpr6jq.js +434 -0
- package/dist/chunk-45kxdsp8.js +444 -0
- package/dist/chunk-495d85x1.js +8066 -0
- package/dist/chunk-4ba796se.js +1095 -0
- package/dist/chunk-4g3v8y12.js +23 -0
- package/dist/chunk-4h53xj8n.js +3445 -0
- package/dist/chunk-4jm600zv.js +13 -0
- package/dist/chunk-4jy9dtwk.js +116 -0
- package/dist/chunk-4p60dd45.js +55 -0
- package/dist/chunk-4z0jsrqg.js +81 -0
- package/dist/chunk-4zfkzkt6.js +37 -0
- package/dist/chunk-55wgxwa9.js +13877 -0
- package/dist/chunk-5dbk24zg.js +890 -0
- package/dist/chunk-5hzvp4va.js +115 -0
- package/dist/chunk-5kbt1mbt.js +500 -0
- package/dist/chunk-5pen7vr8.js +176 -0
- package/dist/chunk-5r280eng.js +198 -0
- package/dist/chunk-5srym52s.js +88 -0
- package/dist/chunk-600kg7k6.js +41 -0
- package/dist/chunk-616w0qj3.js +160 -0
- package/dist/chunk-62jw1t8c.js +94 -0
- package/dist/chunk-62xmt9mk.js +372 -0
- package/dist/chunk-64bvg7c3.js +229 -0
- package/dist/chunk-65yhe4s0.js +281 -0
- package/dist/chunk-6aewh27m.js +102 -0
- package/dist/chunk-6bd8brc4.js +48 -0
- package/dist/chunk-6dj5t602.js +341 -0
- package/dist/chunk-6exxdk1p.js +6956 -0
- package/dist/chunk-6f5j8fs0.js +752 -0
- package/dist/chunk-6g62sjpf.js +328 -0
- package/dist/chunk-6gecq2ta.js +1493 -0
- package/dist/chunk-6gr3c3w9.js +378 -0
- package/dist/chunk-6kpbgc5w.js +23 -0
- package/dist/chunk-6kseqw79.js +154 -0
- package/dist/chunk-6mxm1qd0.js +40764 -0
- package/dist/chunk-6n2qgm9v.js +8 -0
- package/dist/chunk-6tq2v3rk.js +186 -0
- package/dist/chunk-6wsdhj3v.js +93 -0
- package/dist/chunk-6zw9fhgb.js +4389 -0
- package/dist/chunk-71grc1mw.js +111 -0
- package/dist/chunk-73rpbt04.js +1947 -0
- package/dist/chunk-748feghg.js +604 -0
- package/dist/chunk-75e8gtg9.js +84 -0
- package/dist/chunk-75th4717.js +780 -0
- package/dist/chunk-760252na.js +101 -0
- package/dist/chunk-7739pg2c.js +4261 -0
- package/dist/chunk-778fnx46.js +472 -0
- package/dist/chunk-77g09znh.js +391 -0
- package/dist/chunk-7aw745vx.js +40175 -0
- package/dist/chunk-7m2nd8da.js +110 -0
- package/dist/chunk-7n35vjtw.js +444 -0
- package/dist/chunk-7n5ss4sh.js +144 -0
- package/dist/chunk-7rjnxcfe.js +107 -0
- package/dist/chunk-7sb5axvf.js +122 -0
- package/dist/chunk-7wm5s02e.js +216 -0
- package/dist/chunk-7ymfj7m3.js +151 -0
- package/dist/chunk-7z8j9qfn.js +121 -0
- package/dist/chunk-7zsapntc.js +216 -0
- package/dist/chunk-805fhkfh.js +908 -0
- package/dist/chunk-80k1nj24.js +253 -0
- package/dist/chunk-83hfzbx3.js +10 -0
- package/dist/chunk-85cypsdd.js +92 -0
- package/dist/chunk-8760caxf.js +2644 -0
- package/dist/chunk-88f6egg6.js +387 -0
- package/dist/chunk-88r7kwgj.js +22 -0
- package/dist/chunk-89e1v45e.js +463 -0
- package/dist/chunk-8bedvdm1.js +32 -0
- package/dist/chunk-8c4x4vdz.js +177 -0
- package/dist/chunk-8hq5kk3y.js +44 -0
- package/dist/chunk-8ngxagxq.js +18 -0
- package/dist/chunk-8tnsngw2.js +31 -0
- package/dist/chunk-8wjnca8h.js +307 -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-92bp5bnf.js +650 -0
- package/dist/chunk-92q8sx5z.js +90 -0
- package/dist/chunk-958rtmtx.js +10476 -0
- package/dist/chunk-9e2kqv5g.js +125 -0
- package/dist/chunk-9f4f1hy5.js +281 -0
- package/dist/chunk-9gbamk79.js +93 -0
- package/dist/chunk-9k5s3ryh.js +167 -0
- package/dist/chunk-9xzfqm15.js +97 -0
- package/dist/chunk-9zgdvbm6.js +110 -0
- package/dist/chunk-a0p3q8jw.js +24 -0
- package/dist/chunk-a22sayzp.js +220 -0
- package/dist/chunk-a8ejc632.js +3094 -0
- package/dist/chunk-a8gj9d9z.js +120 -0
- package/dist/chunk-a9vdeb6y.js +258 -0
- package/dist/chunk-a9yev47v.js +674 -0
- package/dist/chunk-a9zh40sj.js +48 -0
- package/dist/chunk-ack5mfba.js +105 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/chunk-akjw4dh6.js +538 -0
- package/dist/chunk-asc6wz4q.js +1188 -0
- package/dist/chunk-atqejh3p.js +273 -0
- package/dist/chunk-atv2e6b7.js +61 -0
- package/dist/chunk-axvvkwz8.js +1551 -0
- package/dist/chunk-azgz7kj9.js +38 -0
- package/dist/chunk-b3zave8q.js +275 -0
- package/dist/chunk-b4wg70y1.js +54 -0
- package/dist/chunk-b8b13qn2.js +100 -0
- package/dist/chunk-bg3mt9bm.js +28 -0
- package/dist/chunk-bh4jvcjn.js +91 -0
- package/dist/chunk-bhdt6k7w.js +15 -0
- package/dist/chunk-bm1qb16p.js +17 -0
- package/dist/chunk-bpvsd1j1.js +266 -0
- package/dist/chunk-bqfnp99q.js +477 -0
- package/dist/chunk-bsbmmfyt.js +17 -0
- package/dist/chunk-bsbt34jm.js +42 -0
- package/dist/chunk-c78akdhr.js +458 -0
- package/dist/chunk-cdz5yb0r.js +57 -0
- package/dist/chunk-cfv996bs.js +22 -0
- package/dist/chunk-cgfdkzhb.js +12 -0
- package/dist/chunk-ckh4r5er.js +257 -0
- package/dist/chunk-cmgjnvn9.js +89 -0
- package/dist/chunk-cpjgvay8.js +687 -0
- package/dist/chunk-crfryjx9.js +276 -0
- package/dist/chunk-ctw5jwcd.js +213 -0
- package/dist/chunk-cvy3vntc.js +65 -0
- package/dist/chunk-cwbzz504.js +94 -0
- package/dist/chunk-cy2hswr1.js +15 -0
- package/dist/chunk-cyejkay3.js +222 -0
- package/dist/chunk-d18z9pna.js +106 -0
- package/dist/chunk-d5cq0n0v.js +162 -0
- package/dist/chunk-db45aryp.js +50 -0
- package/dist/chunk-de8nqh0z.js +790 -0
- package/dist/chunk-dfw6h350.js +2336 -0
- package/dist/chunk-dgqrcy74.js +48 -0
- package/dist/chunk-dn75ptgd.js +184 -0
- package/dist/chunk-dnh7jtpb.js +37 -0
- package/dist/chunk-dpshyv9m.js +90 -0
- package/dist/chunk-dt8cdvnm.js +642 -0
- package/dist/chunk-dtxby6fr.js +306 -0
- package/dist/chunk-dv1wfr85.js +6373 -0
- package/dist/chunk-dw363edx.js +1154 -0
- package/dist/chunk-dwrdacck.js +62 -0
- package/dist/chunk-dxnnv5e3.js +276 -0
- package/dist/chunk-e3g8q4cn.js +1646 -0
- package/dist/chunk-e3m9k9s2.js +542 -0
- package/dist/chunk-e4q49asn.js +155 -0
- package/dist/chunk-e5pntxye.js +37 -0
- package/dist/chunk-e7393td6.js +42 -0
- package/dist/chunk-ead42yrh.js +87 -0
- package/dist/chunk-eb90vwvr.js +152 -0
- package/dist/chunk-ecvwk9hg.js +250 -0
- package/dist/chunk-edjd6aay.js +173 -0
- package/dist/chunk-eg0h8mtm.js +130 -0
- package/dist/chunk-ehtwnxpg.js +1591 -0
- package/dist/chunk-ek686gx1.js +94 -0
- package/dist/chunk-eqp1rfft.js +17 -0
- package/dist/chunk-evhwt0ar.js +1015 -0
- package/dist/chunk-ewadzrm8.js +103 -0
- package/dist/chunk-ewsgsw9h.js +172291 -0
- package/dist/chunk-f0pa0r7e.js +3198 -0
- package/dist/chunk-f2mhrmww.js +62 -0
- package/dist/chunk-f39zxvwn.js +401 -0
- package/dist/chunk-f46z54tq.js +374 -0
- package/dist/chunk-f5ma3nh5.js +3436 -0
- package/dist/chunk-f60q23az.js +3038 -0
- package/dist/chunk-f6v2nz57.js +107 -0
- package/dist/chunk-f6yjan38.js +38 -0
- package/dist/chunk-fbv4apne.js +51 -0
- package/dist/chunk-fem4s778.js +70 -0
- package/dist/chunk-fezm1kn8.js +376 -0
- package/dist/chunk-fm1n3ysp.js +6108 -0
- package/dist/chunk-frg83bfw.js +225 -0
- package/dist/chunk-fscm8db0.js +692 -0
- package/dist/chunk-fyc5fepv.js +10 -0
- package/dist/chunk-g0j0t6qk.js +26 -0
- package/dist/chunk-g0nc1ftf.js +849 -0
- package/dist/chunk-g338npwr.js +1061 -0
- package/dist/chunk-g3t0act8.js +8 -0
- package/dist/chunk-g75w4hw3.js +26 -0
- package/dist/chunk-g8vp82en.js +1866 -0
- package/dist/chunk-gax0fcbx.js +182 -0
- package/dist/chunk-gsz4dh3y.js +606 -0
- package/dist/chunk-gtfffm7h.js +440 -0
- package/dist/chunk-gver9zb9.js +420 -0
- package/dist/chunk-gyj242zr.js +20 -0
- package/dist/chunk-h0qngp9w.js +157 -0
- package/dist/chunk-h14kemnk.js +123 -0
- package/dist/chunk-h8wj1a74.js +8960 -0
- package/dist/chunk-h9mcb2eg.js +87 -0
- package/dist/chunk-h9nh2980.js +91 -0
- package/dist/chunk-hakdhagh.js +16606 -0
- package/dist/chunk-hbc6ymdv.js +55 -0
- package/dist/chunk-hh7cmy4k.js +20 -0
- package/dist/chunk-hjhc4cpt.js +69 -0
- package/dist/chunk-hjwez8qc.js +5018 -0
- package/dist/chunk-hk9xz7gk.js +118 -0
- package/dist/chunk-hqmz36b3.js +552 -0
- package/dist/chunk-hrzerbfw.js +1299 -0
- package/dist/chunk-hs8ph4p8.js +8 -0
- package/dist/chunk-ht1xwrnd.js +716 -0
- package/dist/chunk-hvmfg2dc.js +338 -0
- package/dist/chunk-hx2tr4ep.js +7189 -0
- package/dist/chunk-hzhe8ygc.js +547 -0
- package/dist/chunk-j2k4p94p.js +55 -0
- package/dist/chunk-j3a4p81y.js +184 -0
- package/dist/chunk-j49g6g3s.js +57 -0
- package/dist/chunk-j5d5hp9h.js +71 -0
- package/dist/chunk-j64ga6ta.js +8035 -0
- package/dist/chunk-j7tyxan1.js +116 -0
- package/dist/chunk-j8v4774z.js +424 -0
- package/dist/chunk-jafes477.js +29 -0
- package/dist/chunk-jd32zbps.js +15 -0
- package/dist/chunk-jdgeec04.js +4249 -0
- package/dist/chunk-jftd4jq5.js +4521 -0
- package/dist/chunk-jkxqhv6y.js +812 -0
- package/dist/chunk-jmfr6h0n.js +120 -0
- package/dist/chunk-jn4aabmx.js +40 -0
- package/dist/chunk-jnhkref0.js +30 -0
- package/dist/chunk-jsbpm1gz.js +27 -0
- package/dist/chunk-jtcyjc3k.js +5802 -0
- package/dist/chunk-jx817w05.js +11 -0
- package/dist/chunk-jzmz18nn.js +65 -0
- package/dist/chunk-k0p9w03v.js +4957 -0
- package/dist/chunk-k3dcdnck.js +89 -0
- package/dist/chunk-k3wadzcd.js +88 -0
- package/dist/chunk-kaeshsk1.js +713 -0
- package/dist/chunk-kbkey9ed.js +522 -0
- package/dist/chunk-kcwfhqbb.js +196 -0
- package/dist/chunk-key6jr7p.js +224 -0
- package/dist/chunk-knay8cy9.js +173 -0
- package/dist/chunk-kr3rg2y1.js +95 -0
- package/dist/chunk-kwekc97v.js +18 -0
- package/dist/chunk-m06q12hg.js +61 -0
- package/dist/chunk-m2mcpbhk.js +43 -0
- package/dist/chunk-m8v220gz.js +71 -0
- package/dist/chunk-mgpqy78h.js +208 -0
- package/dist/chunk-mkejwh4t.js +16 -0
- package/dist/chunk-mptyw5n1.js +107 -0
- package/dist/chunk-mqajm0dp.js +66 -0
- package/dist/chunk-mrksbgxj.js +490 -0
- package/dist/chunk-msjfc5ba.js +246 -0
- package/dist/chunk-mt25echc.js +6157 -0
- package/dist/chunk-mt3jfnr8.js +277 -0
- package/dist/chunk-mtn242d4.js +9300 -0
- package/dist/chunk-mzfkvave.js +169 -0
- package/dist/chunk-n0qaeaa5.js +256 -0
- package/dist/chunk-n1erf6kh.js +22820 -0
- package/dist/chunk-n2avk1r2.js +61 -0
- package/dist/chunk-n6atnpcq.js +765 -0
- package/dist/chunk-n7ttdtk0.js +641 -0
- package/dist/chunk-ncnfzby5.js +822 -0
- package/dist/chunk-ncnr1jtf.js +2058 -0
- package/dist/chunk-nerv0jvx.js +74 -0
- package/dist/chunk-ngd2abep.js +90 -0
- package/dist/chunk-nka1g8f4.js +773 -0
- package/dist/chunk-nnaxkc2z.js +128 -0
- package/dist/chunk-npyrtj8j.js +691 -0
- package/dist/chunk-nq0fxyxh.js +752 -0
- package/dist/chunk-nrmffak7.js +114 -0
- package/dist/chunk-nsz546wq.js +1170 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-nv64x1z5.js +86 -0
- package/dist/chunk-nxsh6de2.js +1711 -0
- package/dist/chunk-nz4getcr.js +40 -0
- package/dist/chunk-p1f607pa.js +83 -0
- package/dist/chunk-p2816w9z.js +1486 -0
- package/dist/chunk-p2d5nh3g.js +342 -0
- package/dist/chunk-p4r5y02t.js +90 -0
- package/dist/chunk-p7g7pf3f.js +336 -0
- package/dist/chunk-pb4ad8r2.js +110 -0
- package/dist/chunk-pbrhz0zr.js +716 -0
- package/dist/chunk-ps49ymvj.js +43 -0
- package/dist/chunk-pwnt3veb.js +103 -0
- package/dist/chunk-pwwa7s62.js +11 -0
- package/dist/chunk-px3w0kde.js +299 -0
- package/dist/chunk-pzn777jb.js +756 -0
- package/dist/chunk-q25bjaev.js +15 -0
- package/dist/chunk-q5by3da6.js +8 -0
- package/dist/chunk-q6av622g.js +38 -0
- package/dist/chunk-q6xkvtf2.js +1318 -0
- package/dist/chunk-q81jx1tq.js +476 -0
- package/dist/chunk-qehb6fk5.js +339 -0
- package/dist/chunk-qj1avx1q.js +87 -0
- package/dist/chunk-qn2dxr66.js +105 -0
- package/dist/chunk-qnfx3qtx.js +617 -0
- package/dist/chunk-qp18kd4h.js +48 -0
- package/dist/chunk-qp2qdcda.js +100 -0
- package/dist/chunk-qpjy9tcf.js +133 -0
- package/dist/chunk-qqfa0dqg.js +2343 -0
- package/dist/chunk-qwh3htcz.js +202 -0
- package/dist/chunk-qz2x630m.js +49145 -0
- package/dist/chunk-r3vakcs1.js +496 -0
- package/dist/chunk-r66hz8j6.js +34 -0
- package/dist/chunk-r6b58y3x.js +17 -0
- package/dist/chunk-rekp48rk.js +62 -0
- package/dist/chunk-rn0v1hk8.js +34 -0
- package/dist/chunk-rs1xrs6m.js +534 -0
- package/dist/chunk-rs45skes.js +123 -0
- package/dist/chunk-rzszqp82.js +524 -0
- package/dist/chunk-s274nv8k.js +8 -0
- package/dist/chunk-s3pzvdss.js +50 -0
- package/dist/chunk-s9mesaw0.js +26840 -0
- package/dist/chunk-sd36yzx8.js +954 -0
- package/dist/chunk-sdj9b9wh.js +782 -0
- package/dist/chunk-sdw2q69p.js +227 -0
- package/dist/chunk-sfgp9cc0.js +130 -0
- package/dist/chunk-spqaamnc.js +63 -0
- package/dist/chunk-spzrs4df.js +73 -0
- package/dist/chunk-sxkr7k43.js +55 -0
- package/dist/chunk-szj5wvdy.js +28 -0
- package/dist/chunk-t0rgmccj.js +39 -0
- package/dist/chunk-t1nnzjgg.js +17 -0
- package/dist/chunk-t94fcnt8.js +566 -0
- package/dist/chunk-tjaqa99q.js +125 -0
- package/dist/chunk-tjq2evtw.js +328 -0
- package/dist/chunk-ts2p6bv1.js +224 -0
- package/dist/chunk-ttk5dzz8.js +25 -0
- package/dist/chunk-tw0q7ynt.js +59 -0
- package/dist/chunk-v02jkvgy.js +131 -0
- package/dist/chunk-v084bqt3.js +1529 -0
- package/dist/chunk-v0amythm.js +164 -0
- package/dist/chunk-v1kzp02e.js +785 -0
- package/dist/chunk-v1mgv1et.js +15 -0
- package/dist/chunk-v399mzxk.js +58 -0
- package/dist/chunk-v3gm2day.js +8 -0
- package/dist/chunk-v43hrrxp.js +71 -0
- package/dist/chunk-v6aqb2aj.js +102 -0
- package/dist/chunk-v78fj8by.js +145 -0
- package/dist/chunk-v7qmhjdn.js +1921 -0
- package/dist/chunk-v9smspw2.js +4301 -0
- package/dist/chunk-vdw93s4h.js +2431 -0
- package/dist/chunk-vest0y6x.js +3830 -0
- package/dist/chunk-vf5sd1nq.js +12 -0
- package/dist/chunk-vratq94g.js +349 -0
- package/dist/chunk-vrz7t3m3.js +20 -0
- package/dist/chunk-vtb185z9.js +70 -0
- package/dist/chunk-vx01rvg8.js +654 -0
- package/dist/chunk-vyc0rjyx.js +31 -0
- package/dist/chunk-vyjeh50y.js +2149 -0
- package/dist/chunk-vzpffsza.js +269 -0
- package/dist/chunk-w2ef3kxk.js +3353 -0
- package/dist/chunk-w2z5pqd3.js +336 -0
- package/dist/chunk-w3whm4mn.js +432 -0
- package/dist/chunk-w7wgpqcp.js +157 -0
- package/dist/chunk-waa00cvb.js +301 -0
- package/dist/chunk-wb0qm4es.js +155 -0
- package/dist/chunk-wbkahkdc.js +27 -0
- package/dist/chunk-wfz0qffj.js +3939 -0
- package/dist/chunk-wn0cx0pt.js +283 -0
- package/dist/chunk-wv6gzt9c.js +726 -0
- package/dist/chunk-wx42ycm4.js +998 -0
- package/dist/chunk-wxkpgy05.js +268 -0
- package/dist/chunk-wzpdet3m.js +843 -0
- package/dist/chunk-x0mwzt38.js +714 -0
- package/dist/chunk-x592wbfh.js +244 -0
- package/dist/chunk-x5pqsp9r.js +100 -0
- package/dist/chunk-x679thag.js +825 -0
- package/dist/chunk-x8b7vft8.js +132 -0
- package/dist/chunk-x8cftch7.js +119 -0
- package/dist/chunk-x9q7r885.js +348 -0
- package/dist/chunk-xawkt0vb.js +1585 -0
- package/dist/chunk-xdw5dv00.js +8 -0
- package/dist/chunk-xe9cc860.js +287 -0
- package/dist/chunk-xjr9c3vt.js +101 -0
- package/dist/chunk-xk7zaqta.js +21933 -0
- package/dist/chunk-xktbmawc.js +678 -0
- package/dist/chunk-xn6yw46v.js +140 -0
- package/dist/chunk-xsq9ae7x.js +90 -0
- package/dist/chunk-xszk7n10.js +14358 -0
- package/dist/chunk-xt8a5r1t.js +84 -0
- package/dist/chunk-xydyndkv.js +195 -0
- package/dist/chunk-xzt10yc5.js +60 -0
- package/dist/chunk-y04y95dr.js +91 -0
- package/dist/chunk-y1784krc.js +19 -0
- package/dist/chunk-y1x32h3x.js +128 -0
- package/dist/chunk-y3s7aww5.js +99 -0
- package/dist/chunk-y47cg3kz.js +42 -0
- package/dist/chunk-y7kzvepn.js +469 -0
- package/dist/chunk-y89kbsyc.js +287 -0
- package/dist/chunk-yd87p1c3.js +159 -0
- package/dist/chunk-yf3yw8fw.js +105 -0
- package/dist/chunk-ygbf0ezx.js +1391 -0
- package/dist/chunk-yjbxnshv.js +208 -0
- package/dist/chunk-ynednmqd.js +192 -0
- package/dist/chunk-yvhez44y.js +259 -0
- package/dist/chunk-ywxd4qw4.js +22 -0
- package/dist/chunk-yzrmgpy4.js +117 -0
- package/dist/chunk-z0b2vb24.js +862 -0
- package/dist/chunk-z1zj044v.js +655 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z3w0xasa.js +165 -0
- package/dist/chunk-z7ycmrb3.js +644 -0
- package/dist/chunk-zh11tdkb.js +347 -0
- package/dist/chunk-zk2wsm7d.js +15 -0
- package/dist/chunk-zqfqcf22.js +229 -0
- package/dist/chunk-zqk2j8px.js +699 -0
- package/dist/chunk-zqvsc10j.js +2833 -0
- package/dist/chunk-zsfxha74.js +17655 -0
- package/dist/chunk-zvc4snyb.js +117 -0
- package/dist/cli.js +194 -0
- package/package.json +173 -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-6exxdk1p.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 };
|