@layerzerolabs/vm-tooling 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/22DCFDRO.js +6 -0
- package/dist/{6QZPR4XG.js.map → 22DCFDRO.js.map} +1 -1
- package/dist/24NWZBNF.cjs +8 -0
- package/dist/{Z253B63X.cjs.map → 24NWZBNF.cjs.map} +1 -1
- package/dist/{U7VZULNU.cjs → 24WEKBY3.cjs} +5 -12
- package/dist/24WEKBY3.cjs.map +1 -0
- package/dist/{6MCEHW2U.cjs → 2HHN5KHW.cjs} +304 -286
- package/dist/2HHN5KHW.cjs.map +1 -0
- package/dist/{Y27GTZ2Q.js → 2MUIAEPQ.js} +4 -4
- package/dist/{Y27GTZ2Q.js.map → 2MUIAEPQ.js.map} +1 -1
- package/dist/{7WVEMAKW.cjs → 3NXVR3DC.cjs} +5 -5
- package/dist/{7WVEMAKW.cjs.map → 3NXVR3DC.cjs.map} +1 -1
- package/dist/{HMP4FGDB.cjs → 3TIEGVTO.cjs} +81 -83
- package/dist/3TIEGVTO.cjs.map +1 -0
- package/dist/{VLSIEZLM.js → 3V7HWCTZ.js} +68 -19
- package/dist/3V7HWCTZ.js.map +1 -0
- package/dist/{YIS2J6NC.js → 3YN24Z7J.js} +54 -11
- package/dist/3YN24Z7J.js.map +1 -0
- package/dist/427QOV7V.js +348 -0
- package/dist/427QOV7V.js.map +1 -0
- package/dist/4DNHANRV.cjs +39 -0
- package/dist/4DNHANRV.cjs.map +1 -0
- package/dist/{S37YVMJL.js → 4ZP6FU3S.js} +22 -10
- package/dist/4ZP6FU3S.js.map +1 -0
- package/dist/{55HL3CFD.js → 5CA2MJIS.js} +7 -7
- package/dist/5CA2MJIS.js.map +1 -0
- package/dist/{LH4V3GFX.cjs → 5JOTEX2K.cjs} +19 -20
- package/dist/5JOTEX2K.cjs.map +1 -0
- package/dist/{4RNWLMHM.js → 6AHA7PAZ.js} +8 -13
- package/dist/6AHA7PAZ.js.map +1 -0
- package/dist/6TADYYIQ.js +175 -0
- package/dist/6TADYYIQ.js.map +1 -0
- package/dist/7AUJV34E.cjs +144 -0
- package/dist/7AUJV34E.cjs.map +1 -0
- package/dist/7JWBGU62.js +141 -0
- package/dist/7JWBGU62.js.map +1 -0
- package/dist/{IWNVWC3I.js → 7XVJ6B7B.js} +3 -3
- package/dist/{IWNVWC3I.js.map → 7XVJ6B7B.js.map} +1 -1
- package/dist/{LNCARCBD.cjs → ALYR25XX.cjs} +4 -4
- package/dist/{LNCARCBD.cjs.map → ALYR25XX.cjs.map} +1 -1
- package/dist/{3YHRHIKS.js → AUN5HLEO.js} +6 -6
- package/dist/{3YHRHIKS.js.map → AUN5HLEO.js.map} +1 -1
- package/dist/{EDWLY6YP.js → AZ72HVYT.js} +6 -7
- package/dist/AZ72HVYT.js.map +1 -0
- package/dist/{FL2DFW3Y.js → BAPGOHFS.js} +10 -9
- package/dist/BAPGOHFS.js.map +1 -0
- package/dist/{LF6BYBZY.js → BBFGL4TE.js} +6 -6
- package/dist/{LF6BYBZY.js.map → BBFGL4TE.js.map} +1 -1
- package/dist/{ORWR6LWW.js → BLS3LKLJ.js} +3 -3
- package/dist/{ORWR6LWW.js.map → BLS3LKLJ.js.map} +1 -1
- package/dist/{BRSAP7LG.cjs → BMCP2GAK.cjs} +23 -23
- package/dist/{BRSAP7LG.cjs.map → BMCP2GAK.cjs.map} +1 -1
- package/dist/{SHJCZ6NL.cjs → BWHCSCR3.cjs} +153 -147
- package/dist/BWHCSCR3.cjs.map +1 -0
- package/dist/{KSZMBVFB.cjs → BWZQ2EK3.cjs} +25 -5
- package/dist/BWZQ2EK3.cjs.map +1 -0
- package/dist/{BTXB2LKA.js → C3MB52UB.js} +5 -5
- package/dist/{BTXB2LKA.js.map → C3MB52UB.js.map} +1 -1
- package/dist/{ZD3LAY33.cjs → C7XQ4J6P.cjs} +18 -18
- package/dist/{ZD3LAY33.cjs.map → C7XQ4J6P.cjs.map} +1 -1
- package/dist/{D3JHHTB6.js → CFH3LMNQ.js} +24 -4
- package/dist/CFH3LMNQ.js.map +1 -0
- package/dist/{DB5GRF5K.cjs → D4JJRRKM.cjs} +7 -7
- package/dist/{DB5GRF5K.cjs.map → D4JJRRKM.cjs.map} +1 -1
- package/dist/DDKMZ6EE.js +6 -0
- package/dist/DDKMZ6EE.js.map +1 -0
- package/dist/{HCY4ASBG.js → DJEOCSEX.js} +10 -10
- package/dist/{HCY4ASBG.js.map → DJEOCSEX.js.map} +1 -1
- package/dist/{36UU6CJU.cjs → DMYPP6MX.cjs} +13 -13
- package/dist/{36UU6CJU.cjs.map → DMYPP6MX.cjs.map} +1 -1
- package/dist/E2R2CEJX.js +6 -0
- package/dist/{6YTOLRHQ.js.map → E2R2CEJX.js.map} +1 -1
- package/dist/{VPSZX4TV.cjs → EPZMMJJM.cjs} +8 -8
- package/dist/{VPSZX4TV.cjs.map → EPZMMJJM.cjs.map} +1 -1
- package/dist/{NDUVZQ7S.js → ERGNNQ6N.js} +3 -3
- package/dist/{NDUVZQ7S.js.map → ERGNNQ6N.js.map} +1 -1
- package/dist/{AMF2EES3.cjs → EUBM3LSR.cjs} +42 -27
- package/dist/EUBM3LSR.cjs.map +1 -0
- package/dist/{VZOUGVXS.cjs → FBKCEQT5.cjs} +58 -15
- package/dist/FBKCEQT5.cjs.map +1 -0
- package/dist/FDH37YWR.cjs +52 -0
- package/dist/FDH37YWR.cjs.map +1 -0
- package/dist/{HN3U775J.cjs → FQPOYRQJ.cjs} +10 -10
- package/dist/{HN3U775J.cjs.map → FQPOYRQJ.cjs.map} +1 -1
- package/dist/GFH6WSFW.cjs +8 -0
- package/dist/{IDMMHZJ3.cjs.map → GFH6WSFW.cjs.map} +1 -1
- package/dist/{XM743A75.js → GGKJNPTT.js} +22 -7
- package/dist/GGKJNPTT.js.map +1 -0
- package/dist/{ELFNCT57.js → GHQS37WK.js} +57 -41
- package/dist/GHQS37WK.js.map +1 -0
- package/dist/GVS7FGYI.cjs +49 -0
- package/dist/GVS7FGYI.cjs.map +1 -0
- package/dist/{QU36PNBP.cjs → HOYNWNJF.cjs} +7 -7
- package/dist/{QU36PNBP.cjs.map → HOYNWNJF.cjs.map} +1 -1
- package/dist/{6OU7NCZK.js → HSLJBWIL.js} +18 -18
- package/dist/{6OU7NCZK.js.map → HSLJBWIL.js.map} +1 -1
- package/dist/I24EDDRD.cjs +30 -0
- package/dist/I24EDDRD.cjs.map +1 -0
- package/dist/IYIFH7LC.js +29 -0
- package/dist/IYIFH7LC.js.map +1 -0
- package/dist/{AOG2M3LV.cjs → J2A64VZU.js} +25 -4
- package/dist/J2A64VZU.js.map +1 -0
- package/dist/{4CTWHZA4.cjs → JBC3ZG3F.cjs} +13 -13
- package/dist/{4CTWHZA4.cjs.map → JBC3ZG3F.cjs.map} +1 -1
- package/dist/JFZ5X2XX.cjs +8 -0
- package/dist/{S3PHE6F2.cjs.map → JFZ5X2XX.cjs.map} +1 -1
- package/dist/{XCMLC6HI.js → JGQER3LN.js} +1308 -1213
- package/dist/JGQER3LN.js.map +1 -0
- package/dist/{35BIBLTE.js → JS23ECRN.js} +34 -16
- package/dist/JS23ECRN.js.map +1 -0
- package/dist/{SV3LGPR3.js → LHW2PX7Q.js} +6 -6
- package/dist/{SV3LGPR3.js.map → LHW2PX7Q.js.map} +1 -1
- package/dist/{LUG7USNZ.js → MDE37STN.cjs} +29 -3
- package/dist/MDE37STN.cjs.map +1 -0
- package/dist/{OANFSFAO.js → N374V2RK.js} +15 -15
- package/dist/{OANFSFAO.js.map → N374V2RK.js.map} +1 -1
- package/dist/N75TYAV7.cjs +17 -0
- package/dist/{GJ24YLYE.cjs.map → N75TYAV7.cjs.map} +1 -1
- package/dist/{362ZLRXL.js → NE2GC3QQ.js} +5 -5
- package/dist/{362ZLRXL.js.map → NE2GC3QQ.js.map} +1 -1
- package/dist/{H7LPHZJT.js → NJHTTAZO.js} +8 -9
- package/dist/NJHTTAZO.js.map +1 -0
- package/dist/{FQUILSS5.js → NMDQTUBH.js} +6 -6
- package/dist/{FQUILSS5.js.map → NMDQTUBH.js.map} +1 -1
- package/dist/OBHJ2FSI.cjs +103 -0
- package/dist/OBHJ2FSI.cjs.map +1 -0
- package/dist/{ACDTMA6Q.cjs → OIQNGJJN.cjs} +15 -15
- package/dist/OIQNGJJN.cjs.map +1 -0
- package/dist/{FOFSZBOK.cjs → PGNYV6JB.cjs} +27 -27
- package/dist/{FOFSZBOK.cjs.map → PGNYV6JB.cjs.map} +1 -1
- package/dist/{5CI7X2D4.js → PQ4H7UWU.js} +5 -5
- package/dist/{5CI7X2D4.js.map → PQ4H7UWU.js.map} +1 -1
- package/dist/{F35TPZS3.js → PRZAVZZK.js} +9 -4
- package/dist/PRZAVZZK.js.map +1 -0
- package/dist/Q5L3QIKZ.cjs +825 -0
- package/dist/Q5L3QIKZ.cjs.map +1 -0
- package/dist/{GLJJOBCM.js → QBBWWA5T.js} +22 -16
- package/dist/QBBWWA5T.js.map +1 -0
- package/dist/QBO6KNUH.cjs +182 -0
- package/dist/QBO6KNUH.cjs.map +1 -0
- package/dist/{P5BPMTGP.cjs → QEUMSA6O.cjs} +90 -74
- package/dist/QEUMSA6O.cjs.map +1 -0
- package/dist/QHFDWPE3.js +28 -0
- package/dist/QHFDWPE3.js.map +1 -0
- package/dist/{M6KBN6B2.cjs → RX6UCCGP.cjs} +8 -8
- package/dist/{M6KBN6B2.cjs.map → RX6UCCGP.cjs.map} +1 -1
- package/dist/{L2LY6RIT.cjs → S5MXARAC.cjs} +10 -10
- package/dist/{L2LY6RIT.cjs.map → S5MXARAC.cjs.map} +1 -1
- package/dist/{X72XTEFE.js → SVR4SNIY.js} +5 -5
- package/dist/{X72XTEFE.js.map → SVR4SNIY.js.map} +1 -1
- package/dist/T3GK7LED.cjs +11 -0
- package/dist/{YNMZEV5X.cjs.map → T3GK7LED.cjs.map} +1 -1
- package/dist/{BVXMXRYL.cjs → TJ323KPL.cjs} +56 -56
- package/dist/{BVXMXRYL.cjs.map → TJ323KPL.cjs.map} +1 -1
- package/dist/{LMCIXUBF.js → TQHAG73D.js} +9 -43
- package/dist/TQHAG73D.js.map +1 -0
- package/dist/UFZOOGMQ.js +46 -0
- package/dist/UFZOOGMQ.js.map +1 -0
- package/dist/UOMNLT53.cjs +33 -0
- package/dist/UOMNLT53.cjs.map +1 -0
- package/dist/UUMDUUBJ.cjs +194 -0
- package/dist/UUMDUUBJ.cjs.map +1 -0
- package/dist/V3H2GSUQ.js +6 -0
- package/dist/V3H2GSUQ.js.map +1 -0
- package/dist/{TNPXNMQM.js → VM366GYK.js} +33 -13
- package/dist/VM366GYK.js.map +1 -0
- package/dist/{RH2W4KPM.js → WSES6SE2.js} +28 -30
- package/dist/WSES6SE2.js.map +1 -0
- package/dist/{UKPHRO5A.js → WXRRMF3Z.js} +4 -4
- package/dist/{UKPHRO5A.js.map → WXRRMF3Z.js.map} +1 -1
- package/dist/{VPKYL66J.cjs → WY7ZZTBQ.cjs} +2235 -2140
- package/dist/WY7ZZTBQ.cjs.map +1 -0
- package/dist/{6NIOUVPA.cjs → XFDJEDQJ.cjs} +10 -9
- package/dist/XFDJEDQJ.cjs.map +1 -0
- package/dist/{PUL6NSHI.cjs → XQXZQWDP.cjs} +10 -5
- package/dist/XQXZQWDP.cjs.map +1 -0
- package/dist/XROMTYOP.js +6 -0
- package/dist/{7BFNUKIW.js.map → XROMTYOP.js.map} +1 -1
- package/dist/XVWZAEKK.js +807 -0
- package/dist/XVWZAEKK.js.map +1 -0
- package/dist/Y76LNXBO.cjs +8 -0
- package/dist/{CYUSPBTH.cjs.map → Y76LNXBO.cjs.map} +1 -1
- package/dist/{ASYXJJD4.cjs → YEYJXWXC.cjs} +213 -213
- package/dist/{ASYXJJD4.cjs.map → YEYJXWXC.cjs.map} +1 -1
- package/dist/{7ZH64OYR.cjs → YOVSGKIQ.cjs} +1781 -749
- package/dist/YOVSGKIQ.cjs.map +1 -0
- package/dist/{MQTCD42Y.cjs → YXZATGN6.cjs} +74 -62
- package/dist/YXZATGN6.cjs.map +1 -0
- package/dist/ZGCH6KFP.cjs +354 -0
- package/dist/ZGCH6KFP.cjs.map +1 -0
- package/dist/{TXDLSUBD.js → ZQVRXHCJ.js} +1409 -393
- package/dist/ZQVRXHCJ.js.map +1 -0
- package/dist/commands/aptos.cjs +12 -12
- package/dist/commands/aptos.js +11 -11
- package/dist/commands/iota.cjs +13 -13
- package/dist/commands/iota.js +12 -12
- package/dist/commands/starknet.cjs +3 -3
- package/dist/commands/starknet.js +2 -2
- package/dist/commands/sui.cjs +13 -13
- package/dist/commands/sui.js +12 -12
- package/dist/commands/utility/sui-like.cjs +12 -12
- package/dist/commands/utility/sui-like.js +11 -11
- package/dist/config/docker-images.cjs +3 -3
- package/dist/config/docker-images.d.ts +21 -0
- package/dist/config/docker-images.d.ts.map +1 -1
- package/dist/config/docker-images.js +2 -2
- package/dist/config/docker-images.test.cjs +11 -11
- package/dist/config/docker-images.test.cjs.map +1 -1
- package/dist/config/docker-images.test.js +6 -6
- package/dist/config/index.cjs +13 -13
- package/dist/config/index.js +4 -4
- package/dist/config/tools.cjs +7 -7
- package/dist/config/tools.js +4 -4
- package/dist/config/version-matrices.cjs +3 -3
- package/dist/config/version-matrices.d.ts.map +1 -1
- package/dist/config/version-matrices.js +2 -2
- package/dist/core/index.cjs +12 -12
- package/dist/core/index.js +10 -10
- package/dist/core/lock.cjs +5 -5
- package/dist/core/lock.d.ts.map +1 -1
- package/dist/core/lock.js +2 -2
- package/dist/core/lock.test.cjs +13 -13
- package/dist/core/lock.test.cjs.map +1 -1
- package/dist/core/lock.test.js +5 -5
- package/dist/core/tool-executor.cjs +10 -10
- package/dist/core/tool-executor.js +9 -9
- package/dist/core/version-resolver.cjs +6 -6
- package/dist/core/version-resolver.js +5 -5
- package/dist/display/formatters.cjs +6 -6
- package/dist/display/formatters.js +5 -5
- package/dist/display/index.cjs +10 -10
- package/dist/display/index.js +7 -7
- package/dist/display/version-display.cjs +8 -8
- package/dist/display/version-display.js +6 -6
- package/dist/index.cjs +40 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -24
- package/dist/scripts/generate-github-matrix.cjs +304 -299
- package/dist/scripts/generate-github-matrix.cjs.map +1 -1
- package/dist/scripts/generate-github-matrix.js +31 -26
- package/dist/scripts/generate-github-matrix.js.map +1 -1
- package/dist/types/docker.cjs +3 -3
- package/dist/types/docker.js +2 -2
- package/dist/types/index.cjs +5 -5
- package/dist/types/index.js +4 -4
- package/dist/types/tool.cjs +2 -2
- package/dist/types/tool.js +2 -2
- package/dist/utils/docker.cjs +9 -9
- package/dist/utils/docker.js +5 -5
- package/dist/utils/error.cjs +3 -3
- package/dist/utils/error.js +2 -2
- package/dist/utils/finder.cjs +12 -12
- package/dist/utils/finder.js +4 -4
- package/dist/utils/version.cjs +8 -8
- package/dist/utils/version.js +4 -4
- package/dist/utils.cjs +6 -6
- package/dist/utils.js +4 -4
- package/package.json +5 -5
- package/dist/2AQAGKCU.cjs +0 -39
- package/dist/2AQAGKCU.cjs.map +0 -1
- package/dist/35BIBLTE.js.map +0 -1
- package/dist/4Q36MQI5.js +0 -2665
- package/dist/4Q36MQI5.js.map +0 -1
- package/dist/4RNWLMHM.js.map +0 -1
- package/dist/4SZ6P77Q.cjs +0 -183
- package/dist/4SZ6P77Q.cjs.map +0 -1
- package/dist/55HL3CFD.js.map +0 -1
- package/dist/6MCEHW2U.cjs.map +0 -1
- package/dist/6NIOUVPA.cjs.map +0 -1
- package/dist/6QZPR4XG.js +0 -6
- package/dist/6YTOLRHQ.js +0 -6
- package/dist/7BFNUKIW.js +0 -6
- package/dist/7R7EZF6Z.js +0 -177
- package/dist/7R7EZF6Z.js.map +0 -1
- package/dist/7ZH64OYR.cjs.map +0 -1
- package/dist/ACDTMA6Q.cjs.map +0 -1
- package/dist/AHQNBZE4.cjs +0 -18
- package/dist/AHQNBZE4.cjs.map +0 -1
- package/dist/AMF2EES3.cjs.map +0 -1
- package/dist/AOG2M3LV.cjs.map +0 -1
- package/dist/CYUSPBTH.cjs +0 -8
- package/dist/D3JHHTB6.js.map +0 -1
- package/dist/EDWLY6YP.js.map +0 -1
- package/dist/ELFNCT57.js.map +0 -1
- package/dist/F35TPZS3.js.map +0 -1
- package/dist/F7OAIAEX.cjs +0 -144
- package/dist/F7OAIAEX.cjs.map +0 -1
- package/dist/FL2DFW3Y.js.map +0 -1
- package/dist/GIS4KMDM.js +0 -6
- package/dist/GIS4KMDM.js.map +0 -1
- package/dist/GJ24YLYE.cjs +0 -17
- package/dist/GLJJOBCM.js.map +0 -1
- package/dist/GZ7KTF4Q.js +0 -16
- package/dist/GZ7KTF4Q.js.map +0 -1
- package/dist/H7LPHZJT.js.map +0 -1
- package/dist/HMP4FGDB.cjs.map +0 -1
- package/dist/IDMMHZJ3.cjs +0 -8
- package/dist/JGLHYXTW.cjs +0 -141
- package/dist/JGLHYXTW.cjs.map +0 -1
- package/dist/KSZMBVFB.cjs.map +0 -1
- package/dist/L3JULKNZ.js +0 -6
- package/dist/L3JULKNZ.js.map +0 -1
- package/dist/LH4V3GFX.cjs.map +0 -1
- package/dist/LMCIXUBF.js.map +0 -1
- package/dist/LUG7USNZ.js.map +0 -1
- package/dist/MQTCD42Y.cjs.map +0 -1
- package/dist/OH4A2VLX.js +0 -232
- package/dist/OH4A2VLX.js.map +0 -1
- package/dist/OT5L7ME6.cjs +0 -2710
- package/dist/OT5L7ME6.cjs.map +0 -1
- package/dist/OWTMHDOF.cjs +0 -88
- package/dist/OWTMHDOF.cjs.map +0 -1
- package/dist/P5BPMTGP.cjs.map +0 -1
- package/dist/PUL6NSHI.cjs.map +0 -1
- package/dist/RH2W4KPM.js.map +0 -1
- package/dist/S37YVMJL.js.map +0 -1
- package/dist/S3PHE6F2.cjs +0 -8
- package/dist/SHJCZ6NL.cjs.map +0 -1
- package/dist/TNPXNMQM.js.map +0 -1
- package/dist/TTKDG2NN.js +0 -134
- package/dist/TTKDG2NN.js.map +0 -1
- package/dist/TXDLSUBD.js.map +0 -1
- package/dist/U7VZULNU.cjs.map +0 -1
- package/dist/VLSIEZLM.js.map +0 -1
- package/dist/VPKYL66J.cjs.map +0 -1
- package/dist/VZOUGVXS.cjs.map +0 -1
- package/dist/WDAYI6EQ.js +0 -61
- package/dist/WDAYI6EQ.js.map +0 -1
- package/dist/WDSPHVPJ.cjs +0 -234
- package/dist/WDSPHVPJ.cjs.map +0 -1
- package/dist/WH45T4LS.cjs +0 -83
- package/dist/WH45T4LS.cjs.map +0 -1
- package/dist/XCMLC6HI.js.map +0 -1
- package/dist/XM743A75.js.map +0 -1
- package/dist/YIS2J6NC.js.map +0 -1
- package/dist/YNMZEV5X.cjs +0 -11
- package/dist/Z253B63X.cjs +0 -8
- package/dist/ZQFCLTYU.cjs +0 -65
- package/dist/ZQFCLTYU.cjs.map +0 -1
|
@@ -1,17 +1,863 @@
|
|
|
1
|
-
import { HttpRequest, fromHex, toHex, escapeUri, HttpResponse
|
|
2
|
-
import { fromUtf8,
|
|
3
|
-
import { setCredentialFeature } from './
|
|
4
|
-
import { loadConfig, parseUrl } from './
|
|
5
|
-
import { CONFIG_PREFIX_SEPARATOR } from './
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { init_esm_shims, __name } from './4RNWLMHM.js';
|
|
1
|
+
import { fromBase64, toBase64, HttpRequest, fromHex, toHex, escapeUri, HttpResponse } from './XVWZAEKK.js';
|
|
2
|
+
import { fromUtf8, toUtf8, fromString, fromArrayBuffer, isArrayBuffer } from './TQHAG73D.js';
|
|
3
|
+
import { setCredentialFeature } from './ERGNNQ6N.js';
|
|
4
|
+
import { memoize, loadConfig, parseUrl } from './3V7HWCTZ.js';
|
|
5
|
+
import { CONFIG_PREFIX_SEPARATOR } from './GHQS37WK.js';
|
|
6
|
+
import { init_esm_shims, __name } from './6AHA7PAZ.js';
|
|
7
|
+
import crypto2, { createHmac, createHash } from 'crypto';
|
|
9
8
|
import { Readable } from 'stream';
|
|
10
9
|
import { platform, release } from 'os';
|
|
11
10
|
import { versions, env } from 'process';
|
|
12
11
|
import { Buffer as Buffer$1 } from 'buffer';
|
|
13
|
-
import {
|
|
14
|
-
|
|
12
|
+
import { ReadStream, lstatSync, fstatSync } from 'fs';
|
|
13
|
+
|
|
14
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/client.js
|
|
15
|
+
init_esm_shims();
|
|
16
|
+
|
|
17
|
+
// ../../node_modules/.pnpm/@smithy+middleware-stack@4.2.5/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js
|
|
18
|
+
init_esm_shims();
|
|
19
|
+
var getAllAliases = /* @__PURE__ */ __name((name, aliases) => {
|
|
20
|
+
const _aliases = [];
|
|
21
|
+
if (name) {
|
|
22
|
+
_aliases.push(name);
|
|
23
|
+
}
|
|
24
|
+
if (aliases) {
|
|
25
|
+
for (const alias of aliases) {
|
|
26
|
+
_aliases.push(alias);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return _aliases;
|
|
30
|
+
}, "getAllAliases");
|
|
31
|
+
var getMiddlewareNameWithAliases = /* @__PURE__ */ __name((name, aliases) => {
|
|
32
|
+
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
|
33
|
+
}, "getMiddlewareNameWithAliases");
|
|
34
|
+
var constructStack = /* @__PURE__ */ __name(() => {
|
|
35
|
+
let absoluteEntries = [];
|
|
36
|
+
let relativeEntries = [];
|
|
37
|
+
let identifyOnResolve = false;
|
|
38
|
+
const entriesNameSet = /* @__PURE__ */ new Set();
|
|
39
|
+
const sort = /* @__PURE__ */ __name((entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]), "sort");
|
|
40
|
+
const removeByName = /* @__PURE__ */ __name((toRemove) => {
|
|
41
|
+
let isRemoved = false;
|
|
42
|
+
const filterCb = /* @__PURE__ */ __name((entry) => {
|
|
43
|
+
const aliases = getAllAliases(entry.name, entry.aliases);
|
|
44
|
+
if (aliases.includes(toRemove)) {
|
|
45
|
+
isRemoved = true;
|
|
46
|
+
for (const alias of aliases) {
|
|
47
|
+
entriesNameSet.delete(alias);
|
|
48
|
+
}
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return true;
|
|
52
|
+
}, "filterCb");
|
|
53
|
+
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
54
|
+
relativeEntries = relativeEntries.filter(filterCb);
|
|
55
|
+
return isRemoved;
|
|
56
|
+
}, "removeByName");
|
|
57
|
+
const removeByReference = /* @__PURE__ */ __name((toRemove) => {
|
|
58
|
+
let isRemoved = false;
|
|
59
|
+
const filterCb = /* @__PURE__ */ __name((entry) => {
|
|
60
|
+
if (entry.middleware === toRemove) {
|
|
61
|
+
isRemoved = true;
|
|
62
|
+
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
|
63
|
+
entriesNameSet.delete(alias);
|
|
64
|
+
}
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
return true;
|
|
68
|
+
}, "filterCb");
|
|
69
|
+
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
70
|
+
relativeEntries = relativeEntries.filter(filterCb);
|
|
71
|
+
return isRemoved;
|
|
72
|
+
}, "removeByReference");
|
|
73
|
+
const cloneTo = /* @__PURE__ */ __name((toStack) => {
|
|
74
|
+
absoluteEntries.forEach((entry) => {
|
|
75
|
+
toStack.add(entry.middleware, {
|
|
76
|
+
...entry
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
relativeEntries.forEach((entry) => {
|
|
80
|
+
toStack.addRelativeTo(entry.middleware, {
|
|
81
|
+
...entry
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
|
85
|
+
return toStack;
|
|
86
|
+
}, "cloneTo");
|
|
87
|
+
const expandRelativeMiddlewareList = /* @__PURE__ */ __name((from) => {
|
|
88
|
+
const expandedMiddlewareList = [];
|
|
89
|
+
from.before.forEach((entry) => {
|
|
90
|
+
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
91
|
+
expandedMiddlewareList.push(entry);
|
|
92
|
+
} else {
|
|
93
|
+
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
expandedMiddlewareList.push(from);
|
|
97
|
+
from.after.reverse().forEach((entry) => {
|
|
98
|
+
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
99
|
+
expandedMiddlewareList.push(entry);
|
|
100
|
+
} else {
|
|
101
|
+
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
return expandedMiddlewareList;
|
|
105
|
+
}, "expandRelativeMiddlewareList");
|
|
106
|
+
const getMiddlewareList = /* @__PURE__ */ __name((debug = false) => {
|
|
107
|
+
const normalizedAbsoluteEntries = [];
|
|
108
|
+
const normalizedRelativeEntries = [];
|
|
109
|
+
const normalizedEntriesNameMap = {};
|
|
110
|
+
absoluteEntries.forEach((entry) => {
|
|
111
|
+
const normalizedEntry = {
|
|
112
|
+
...entry,
|
|
113
|
+
before: [],
|
|
114
|
+
after: []
|
|
115
|
+
};
|
|
116
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
117
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
118
|
+
}
|
|
119
|
+
normalizedAbsoluteEntries.push(normalizedEntry);
|
|
120
|
+
});
|
|
121
|
+
relativeEntries.forEach((entry) => {
|
|
122
|
+
const normalizedEntry = {
|
|
123
|
+
...entry,
|
|
124
|
+
before: [],
|
|
125
|
+
after: []
|
|
126
|
+
};
|
|
127
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
128
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
129
|
+
}
|
|
130
|
+
normalizedRelativeEntries.push(normalizedEntry);
|
|
131
|
+
});
|
|
132
|
+
normalizedRelativeEntries.forEach((entry) => {
|
|
133
|
+
if (entry.toMiddleware) {
|
|
134
|
+
const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware];
|
|
135
|
+
if (toMiddleware === void 0) {
|
|
136
|
+
if (debug) {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
throw new Error(`${entry.toMiddleware} is not found when adding ${getMiddlewareNameWithAliases(entry.name, entry.aliases)} middleware ${entry.relation} ${entry.toMiddleware}`);
|
|
140
|
+
}
|
|
141
|
+
if (entry.relation === "after") {
|
|
142
|
+
toMiddleware.after.push(entry);
|
|
143
|
+
}
|
|
144
|
+
if (entry.relation === "before") {
|
|
145
|
+
toMiddleware.before.push(entry);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => {
|
|
150
|
+
wholeList.push(...expandedMiddlewareList);
|
|
151
|
+
return wholeList;
|
|
152
|
+
}, []);
|
|
153
|
+
return mainChain;
|
|
154
|
+
}, "getMiddlewareList");
|
|
155
|
+
const stack = {
|
|
156
|
+
add: /* @__PURE__ */ __name((middleware, options = {}) => {
|
|
157
|
+
const { name, override, aliases: _aliases } = options;
|
|
158
|
+
const entry = {
|
|
159
|
+
step: "initialize",
|
|
160
|
+
priority: "normal",
|
|
161
|
+
middleware,
|
|
162
|
+
...options
|
|
163
|
+
};
|
|
164
|
+
const aliases = getAllAliases(name, _aliases);
|
|
165
|
+
if (aliases.length > 0) {
|
|
166
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
167
|
+
if (!override) throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
168
|
+
for (const alias of aliases) {
|
|
169
|
+
const toOverrideIndex = absoluteEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
170
|
+
if (toOverrideIndex === -1) {
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
const toOverride = absoluteEntries[toOverrideIndex];
|
|
174
|
+
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
|
175
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ${entry.priority} priority in ${entry.step} step.`);
|
|
176
|
+
}
|
|
177
|
+
absoluteEntries.splice(toOverrideIndex, 1);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
for (const alias of aliases) {
|
|
181
|
+
entriesNameSet.add(alias);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
absoluteEntries.push(entry);
|
|
185
|
+
}, "add"),
|
|
186
|
+
addRelativeTo: /* @__PURE__ */ __name((middleware, options) => {
|
|
187
|
+
const { name, override, aliases: _aliases } = options;
|
|
188
|
+
const entry = {
|
|
189
|
+
middleware,
|
|
190
|
+
...options
|
|
191
|
+
};
|
|
192
|
+
const aliases = getAllAliases(name, _aliases);
|
|
193
|
+
if (aliases.length > 0) {
|
|
194
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
195
|
+
if (!override) throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
196
|
+
for (const alias of aliases) {
|
|
197
|
+
const toOverrideIndex = relativeEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
198
|
+
if (toOverrideIndex === -1) {
|
|
199
|
+
continue;
|
|
200
|
+
}
|
|
201
|
+
const toOverride = relativeEntries[toOverrideIndex];
|
|
202
|
+
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
|
203
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} "${entry.toMiddleware}" middleware.`);
|
|
204
|
+
}
|
|
205
|
+
relativeEntries.splice(toOverrideIndex, 1);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
for (const alias of aliases) {
|
|
209
|
+
entriesNameSet.add(alias);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
relativeEntries.push(entry);
|
|
213
|
+
}, "addRelativeTo"),
|
|
214
|
+
clone: /* @__PURE__ */ __name(() => cloneTo(constructStack()), "clone"),
|
|
215
|
+
use: /* @__PURE__ */ __name((plugin) => {
|
|
216
|
+
plugin.applyToStack(stack);
|
|
217
|
+
}, "use"),
|
|
218
|
+
remove: /* @__PURE__ */ __name((toRemove) => {
|
|
219
|
+
if (typeof toRemove === "string") return removeByName(toRemove);
|
|
220
|
+
else return removeByReference(toRemove);
|
|
221
|
+
}, "remove"),
|
|
222
|
+
removeByTag: /* @__PURE__ */ __name((toRemove) => {
|
|
223
|
+
let isRemoved = false;
|
|
224
|
+
const filterCb = /* @__PURE__ */ __name((entry) => {
|
|
225
|
+
const { tags, name, aliases: _aliases } = entry;
|
|
226
|
+
if (tags && tags.includes(toRemove)) {
|
|
227
|
+
const aliases = getAllAliases(name, _aliases);
|
|
228
|
+
for (const alias of aliases) {
|
|
229
|
+
entriesNameSet.delete(alias);
|
|
230
|
+
}
|
|
231
|
+
isRemoved = true;
|
|
232
|
+
return false;
|
|
233
|
+
}
|
|
234
|
+
return true;
|
|
235
|
+
}, "filterCb");
|
|
236
|
+
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
237
|
+
relativeEntries = relativeEntries.filter(filterCb);
|
|
238
|
+
return isRemoved;
|
|
239
|
+
}, "removeByTag"),
|
|
240
|
+
concat: /* @__PURE__ */ __name((from) => {
|
|
241
|
+
const cloned = cloneTo(constructStack());
|
|
242
|
+
cloned.use(from);
|
|
243
|
+
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
|
|
244
|
+
return cloned;
|
|
245
|
+
}, "concat"),
|
|
246
|
+
applyToStack: cloneTo,
|
|
247
|
+
identify: /* @__PURE__ */ __name(() => {
|
|
248
|
+
return getMiddlewareList(true).map((mw) => {
|
|
249
|
+
const step = mw.step ?? mw.relation + " " + mw.toMiddleware;
|
|
250
|
+
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
|
251
|
+
});
|
|
252
|
+
}, "identify"),
|
|
253
|
+
identifyOnResolve(toggle) {
|
|
254
|
+
if (typeof toggle === "boolean") identifyOnResolve = toggle;
|
|
255
|
+
return identifyOnResolve;
|
|
256
|
+
},
|
|
257
|
+
resolve: /* @__PURE__ */ __name((handler, context) => {
|
|
258
|
+
for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) {
|
|
259
|
+
handler = middleware(handler, context);
|
|
260
|
+
}
|
|
261
|
+
if (identifyOnResolve) {
|
|
262
|
+
console.log(stack.identify());
|
|
263
|
+
}
|
|
264
|
+
return handler;
|
|
265
|
+
}, "resolve")
|
|
266
|
+
};
|
|
267
|
+
return stack;
|
|
268
|
+
}, "constructStack");
|
|
269
|
+
var stepWeights = {
|
|
270
|
+
initialize: 5,
|
|
271
|
+
serialize: 4,
|
|
272
|
+
build: 3,
|
|
273
|
+
finalizeRequest: 2,
|
|
274
|
+
deserialize: 1
|
|
275
|
+
};
|
|
276
|
+
var priorityWeights = {
|
|
277
|
+
high: 3,
|
|
278
|
+
normal: 2,
|
|
279
|
+
low: 1
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/client.js
|
|
283
|
+
var Client = class {
|
|
284
|
+
static {
|
|
285
|
+
__name(this, "Client");
|
|
286
|
+
}
|
|
287
|
+
config;
|
|
288
|
+
middlewareStack = constructStack();
|
|
289
|
+
initConfig;
|
|
290
|
+
handlers;
|
|
291
|
+
constructor(config) {
|
|
292
|
+
this.config = config;
|
|
293
|
+
}
|
|
294
|
+
send(command, optionsOrCb, cb) {
|
|
295
|
+
const options = typeof optionsOrCb !== "function" ? optionsOrCb : void 0;
|
|
296
|
+
const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;
|
|
297
|
+
const useHandlerCache = options === void 0 && this.config.cacheMiddleware === true;
|
|
298
|
+
let handler;
|
|
299
|
+
if (useHandlerCache) {
|
|
300
|
+
if (!this.handlers) {
|
|
301
|
+
this.handlers = /* @__PURE__ */ new WeakMap();
|
|
302
|
+
}
|
|
303
|
+
const handlers = this.handlers;
|
|
304
|
+
if (handlers.has(command.constructor)) {
|
|
305
|
+
handler = handlers.get(command.constructor);
|
|
306
|
+
} else {
|
|
307
|
+
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
308
|
+
handlers.set(command.constructor, handler);
|
|
309
|
+
}
|
|
310
|
+
} else {
|
|
311
|
+
delete this.handlers;
|
|
312
|
+
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
313
|
+
}
|
|
314
|
+
if (callback) {
|
|
315
|
+
handler(command).then((result) => callback(null, result.output), (err) => callback(err)).catch(() => {
|
|
316
|
+
});
|
|
317
|
+
} else {
|
|
318
|
+
return handler(command).then((result) => result.output);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
destroy() {
|
|
322
|
+
this.config?.requestHandler?.destroy?.();
|
|
323
|
+
delete this.handlers;
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/command.js
|
|
328
|
+
init_esm_shims();
|
|
329
|
+
|
|
330
|
+
// ../../node_modules/.pnpm/@smithy+types@4.9.0/node_modules/@smithy/types/dist-es/endpoint.js
|
|
331
|
+
init_esm_shims();
|
|
332
|
+
var EndpointURLScheme;
|
|
333
|
+
(function(EndpointURLScheme2) {
|
|
334
|
+
EndpointURLScheme2["HTTP"] = "http";
|
|
335
|
+
EndpointURLScheme2["HTTPS"] = "https";
|
|
336
|
+
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
337
|
+
|
|
338
|
+
// ../../node_modules/.pnpm/@smithy+types@4.9.0/node_modules/@smithy/types/dist-es/extensions/index.js
|
|
339
|
+
init_esm_shims();
|
|
340
|
+
|
|
341
|
+
// ../../node_modules/.pnpm/@smithy+types@4.9.0/node_modules/@smithy/types/dist-es/extensions/checksum.js
|
|
342
|
+
init_esm_shims();
|
|
343
|
+
var AlgorithmId;
|
|
344
|
+
(function(AlgorithmId2) {
|
|
345
|
+
AlgorithmId2["MD5"] = "md5";
|
|
346
|
+
AlgorithmId2["CRC32"] = "crc32";
|
|
347
|
+
AlgorithmId2["CRC32C"] = "crc32c";
|
|
348
|
+
AlgorithmId2["SHA1"] = "sha1";
|
|
349
|
+
AlgorithmId2["SHA256"] = "sha256";
|
|
350
|
+
})(AlgorithmId || (AlgorithmId = {}));
|
|
351
|
+
|
|
352
|
+
// ../../node_modules/.pnpm/@smithy+types@4.9.0/node_modules/@smithy/types/dist-es/middleware.js
|
|
353
|
+
init_esm_shims();
|
|
354
|
+
var SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
355
|
+
|
|
356
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js
|
|
357
|
+
init_esm_shims();
|
|
358
|
+
|
|
359
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/schema/deref.js
|
|
360
|
+
init_esm_shims();
|
|
361
|
+
var deref = /* @__PURE__ */ __name((schemaRef) => {
|
|
362
|
+
if (typeof schemaRef === "function") {
|
|
363
|
+
return schemaRef();
|
|
364
|
+
}
|
|
365
|
+
return schemaRef;
|
|
366
|
+
}, "deref");
|
|
367
|
+
|
|
368
|
+
// ../../node_modules/.pnpm/@smithy+protocol-http@5.3.5/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js
|
|
369
|
+
init_esm_shims();
|
|
370
|
+
var getHttpHandlerExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
371
|
+
return {
|
|
372
|
+
setHttpHandler(handler) {
|
|
373
|
+
runtimeConfig.httpHandler = handler;
|
|
374
|
+
},
|
|
375
|
+
httpHandler() {
|
|
376
|
+
return runtimeConfig.httpHandler;
|
|
377
|
+
},
|
|
378
|
+
updateHttpClientConfig(key, value) {
|
|
379
|
+
runtimeConfig.httpHandler?.updateHttpClientConfig(key, value);
|
|
380
|
+
},
|
|
381
|
+
httpHandlerConfigs() {
|
|
382
|
+
return runtimeConfig.httpHandler.httpHandlerConfigs();
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
}, "getHttpHandlerExtensionConfiguration");
|
|
386
|
+
var resolveHttpHandlerRuntimeConfig = /* @__PURE__ */ __name((httpHandlerExtensionConfiguration) => {
|
|
387
|
+
return {
|
|
388
|
+
httpHandler: httpHandlerExtensionConfiguration.httpHandler()
|
|
389
|
+
};
|
|
390
|
+
}, "resolveHttpHandlerRuntimeConfig");
|
|
391
|
+
|
|
392
|
+
// ../../node_modules/.pnpm/@smithy+util-middleware@4.2.5/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
393
|
+
init_esm_shims();
|
|
394
|
+
var getSmithyContext = /* @__PURE__ */ __name((context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
395
|
+
|
|
396
|
+
// ../../node_modules/.pnpm/@smithy+util-middleware@4.2.5/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
397
|
+
init_esm_shims();
|
|
398
|
+
var normalizeProvider = /* @__PURE__ */ __name((input) => {
|
|
399
|
+
if (typeof input === "function") return input;
|
|
400
|
+
const promisified = Promise.resolve(input);
|
|
401
|
+
return () => promisified;
|
|
402
|
+
}, "normalizeProvider");
|
|
403
|
+
|
|
404
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
405
|
+
init_esm_shims();
|
|
406
|
+
|
|
407
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js
|
|
408
|
+
init_esm_shims();
|
|
409
|
+
function translateTraits(indicator) {
|
|
410
|
+
if (typeof indicator === "object") {
|
|
411
|
+
return indicator;
|
|
412
|
+
}
|
|
413
|
+
indicator = indicator | 0;
|
|
414
|
+
const traits = {};
|
|
415
|
+
let i = 0;
|
|
416
|
+
for (const trait of [
|
|
417
|
+
"httpLabel",
|
|
418
|
+
"idempotent",
|
|
419
|
+
"idempotencyToken",
|
|
420
|
+
"sensitive",
|
|
421
|
+
"httpPayload",
|
|
422
|
+
"httpResponseCode",
|
|
423
|
+
"httpQueryParams"
|
|
424
|
+
]) {
|
|
425
|
+
if ((indicator >> i++ & 1) === 1) {
|
|
426
|
+
traits[trait] = 1;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
return traits;
|
|
430
|
+
}
|
|
431
|
+
__name(translateTraits, "translateTraits");
|
|
432
|
+
|
|
433
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js
|
|
434
|
+
var NormalizedSchema = class _NormalizedSchema {
|
|
435
|
+
static {
|
|
436
|
+
__name(this, "NormalizedSchema");
|
|
437
|
+
}
|
|
438
|
+
ref;
|
|
439
|
+
memberName;
|
|
440
|
+
static symbol = Symbol.for("@smithy/nor");
|
|
441
|
+
symbol = _NormalizedSchema.symbol;
|
|
442
|
+
name;
|
|
443
|
+
schema;
|
|
444
|
+
_isMemberSchema;
|
|
445
|
+
traits;
|
|
446
|
+
memberTraits;
|
|
447
|
+
normalizedTraits;
|
|
448
|
+
constructor(ref, memberName) {
|
|
449
|
+
this.ref = ref;
|
|
450
|
+
this.memberName = memberName;
|
|
451
|
+
const traitStack = [];
|
|
452
|
+
let _ref = ref;
|
|
453
|
+
let schema = ref;
|
|
454
|
+
this._isMemberSchema = false;
|
|
455
|
+
while (isMemberSchema(_ref)) {
|
|
456
|
+
traitStack.push(_ref[1]);
|
|
457
|
+
_ref = _ref[0];
|
|
458
|
+
schema = deref(_ref);
|
|
459
|
+
this._isMemberSchema = true;
|
|
460
|
+
}
|
|
461
|
+
if (traitStack.length > 0) {
|
|
462
|
+
this.memberTraits = {};
|
|
463
|
+
for (let i = traitStack.length - 1; i >= 0; --i) {
|
|
464
|
+
const traitSet = traitStack[i];
|
|
465
|
+
Object.assign(this.memberTraits, translateTraits(traitSet));
|
|
466
|
+
}
|
|
467
|
+
} else {
|
|
468
|
+
this.memberTraits = 0;
|
|
469
|
+
}
|
|
470
|
+
if (schema instanceof _NormalizedSchema) {
|
|
471
|
+
const computedMemberTraits = this.memberTraits;
|
|
472
|
+
Object.assign(this, schema);
|
|
473
|
+
this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits());
|
|
474
|
+
this.normalizedTraits = void 0;
|
|
475
|
+
this.memberName = memberName ?? schema.memberName;
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
this.schema = deref(schema);
|
|
479
|
+
if (isStaticSchema(this.schema)) {
|
|
480
|
+
this.name = `${this.schema[1]}#${this.schema[2]}`;
|
|
481
|
+
this.traits = this.schema[3];
|
|
482
|
+
} else {
|
|
483
|
+
this.name = this.memberName ?? String(schema);
|
|
484
|
+
this.traits = 0;
|
|
485
|
+
}
|
|
486
|
+
if (this._isMemberSchema && !memberName) {
|
|
487
|
+
throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
static [Symbol.hasInstance](lhs) {
|
|
491
|
+
const isPrototype = this.prototype.isPrototypeOf(lhs);
|
|
492
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
493
|
+
const ns = lhs;
|
|
494
|
+
return ns.symbol === this.symbol;
|
|
495
|
+
}
|
|
496
|
+
return isPrototype;
|
|
497
|
+
}
|
|
498
|
+
static of(ref) {
|
|
499
|
+
const sc = deref(ref);
|
|
500
|
+
if (sc instanceof _NormalizedSchema) {
|
|
501
|
+
return sc;
|
|
502
|
+
}
|
|
503
|
+
if (isMemberSchema(sc)) {
|
|
504
|
+
const [ns, traits] = sc;
|
|
505
|
+
if (ns instanceof _NormalizedSchema) {
|
|
506
|
+
Object.assign(ns.getMergedTraits(), translateTraits(traits));
|
|
507
|
+
return ns;
|
|
508
|
+
}
|
|
509
|
+
throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(ref, null, 2)}.`);
|
|
510
|
+
}
|
|
511
|
+
return new _NormalizedSchema(sc);
|
|
512
|
+
}
|
|
513
|
+
getSchema() {
|
|
514
|
+
const sc = this.schema;
|
|
515
|
+
if (sc[0] === 0) {
|
|
516
|
+
return sc[4];
|
|
517
|
+
}
|
|
518
|
+
return sc;
|
|
519
|
+
}
|
|
520
|
+
getName(withNamespace = false) {
|
|
521
|
+
const { name } = this;
|
|
522
|
+
const short = !withNamespace && name && name.includes("#");
|
|
523
|
+
return short ? name.split("#")[1] : name || void 0;
|
|
524
|
+
}
|
|
525
|
+
getMemberName() {
|
|
526
|
+
return this.memberName;
|
|
527
|
+
}
|
|
528
|
+
isMemberSchema() {
|
|
529
|
+
return this._isMemberSchema;
|
|
530
|
+
}
|
|
531
|
+
isListSchema() {
|
|
532
|
+
const sc = this.getSchema();
|
|
533
|
+
return typeof sc === "number" ? sc >= 64 && sc < 128 : sc[0] === 1;
|
|
534
|
+
}
|
|
535
|
+
isMapSchema() {
|
|
536
|
+
const sc = this.getSchema();
|
|
537
|
+
return typeof sc === "number" ? sc >= 128 && sc <= 255 : sc[0] === 2;
|
|
538
|
+
}
|
|
539
|
+
isStructSchema() {
|
|
540
|
+
const sc = this.getSchema();
|
|
541
|
+
return sc[0] === 3 || sc[0] === -3;
|
|
542
|
+
}
|
|
543
|
+
isBlobSchema() {
|
|
544
|
+
const sc = this.getSchema();
|
|
545
|
+
return sc === 21 || sc === 42;
|
|
546
|
+
}
|
|
547
|
+
isTimestampSchema() {
|
|
548
|
+
const sc = this.getSchema();
|
|
549
|
+
return typeof sc === "number" && sc >= 4 && sc <= 7;
|
|
550
|
+
}
|
|
551
|
+
isUnitSchema() {
|
|
552
|
+
return this.getSchema() === "unit";
|
|
553
|
+
}
|
|
554
|
+
isDocumentSchema() {
|
|
555
|
+
return this.getSchema() === 15;
|
|
556
|
+
}
|
|
557
|
+
isStringSchema() {
|
|
558
|
+
return this.getSchema() === 0;
|
|
559
|
+
}
|
|
560
|
+
isBooleanSchema() {
|
|
561
|
+
return this.getSchema() === 2;
|
|
562
|
+
}
|
|
563
|
+
isNumericSchema() {
|
|
564
|
+
return this.getSchema() === 1;
|
|
565
|
+
}
|
|
566
|
+
isBigIntegerSchema() {
|
|
567
|
+
return this.getSchema() === 17;
|
|
568
|
+
}
|
|
569
|
+
isBigDecimalSchema() {
|
|
570
|
+
return this.getSchema() === 19;
|
|
571
|
+
}
|
|
572
|
+
isStreaming() {
|
|
573
|
+
const { streaming } = this.getMergedTraits();
|
|
574
|
+
return !!streaming || this.getSchema() === 42;
|
|
575
|
+
}
|
|
576
|
+
isIdempotencyToken() {
|
|
577
|
+
const match = /* @__PURE__ */ __name((traits2) => (traits2 & 4) === 4 || !!traits2?.idempotencyToken, "match");
|
|
578
|
+
const { normalizedTraits, traits, memberTraits } = this;
|
|
579
|
+
return match(normalizedTraits) || match(traits) || match(memberTraits);
|
|
580
|
+
}
|
|
581
|
+
getMergedTraits() {
|
|
582
|
+
return this.normalizedTraits ?? (this.normalizedTraits = {
|
|
583
|
+
...this.getOwnTraits(),
|
|
584
|
+
...this.getMemberTraits()
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
getMemberTraits() {
|
|
588
|
+
return translateTraits(this.memberTraits);
|
|
589
|
+
}
|
|
590
|
+
getOwnTraits() {
|
|
591
|
+
return translateTraits(this.traits);
|
|
592
|
+
}
|
|
593
|
+
getKeySchema() {
|
|
594
|
+
const [isDoc, isMap] = [
|
|
595
|
+
this.isDocumentSchema(),
|
|
596
|
+
this.isMapSchema()
|
|
597
|
+
];
|
|
598
|
+
if (!isDoc && !isMap) {
|
|
599
|
+
throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`);
|
|
600
|
+
}
|
|
601
|
+
const schema = this.getSchema();
|
|
602
|
+
const memberSchema = isDoc ? 15 : schema[4] ?? 0;
|
|
603
|
+
return member([
|
|
604
|
+
memberSchema,
|
|
605
|
+
0
|
|
606
|
+
], "key");
|
|
607
|
+
}
|
|
608
|
+
getValueSchema() {
|
|
609
|
+
const sc = this.getSchema();
|
|
610
|
+
const [isDoc, isMap, isList] = [
|
|
611
|
+
this.isDocumentSchema(),
|
|
612
|
+
this.isMapSchema(),
|
|
613
|
+
this.isListSchema()
|
|
614
|
+
];
|
|
615
|
+
const memberSchema = typeof sc === "number" ? 63 & sc : sc && typeof sc === "object" && (isMap || isList) ? sc[3 + sc[0]] : isDoc ? 15 : void 0;
|
|
616
|
+
if (memberSchema != null) {
|
|
617
|
+
return member([
|
|
618
|
+
memberSchema,
|
|
619
|
+
0
|
|
620
|
+
], isMap ? "value" : "member");
|
|
621
|
+
}
|
|
622
|
+
throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`);
|
|
623
|
+
}
|
|
624
|
+
getMemberSchema(memberName) {
|
|
625
|
+
const struct = this.getSchema();
|
|
626
|
+
if (this.isStructSchema() && struct[4].includes(memberName)) {
|
|
627
|
+
const i = struct[4].indexOf(memberName);
|
|
628
|
+
const memberSchema = struct[5][i];
|
|
629
|
+
return member(isMemberSchema(memberSchema) ? memberSchema : [
|
|
630
|
+
memberSchema,
|
|
631
|
+
0
|
|
632
|
+
], memberName);
|
|
633
|
+
}
|
|
634
|
+
if (this.isDocumentSchema()) {
|
|
635
|
+
return member([
|
|
636
|
+
15,
|
|
637
|
+
0
|
|
638
|
+
], memberName);
|
|
639
|
+
}
|
|
640
|
+
throw new Error(`@smithy/core/schema - ${this.getName(true)} has no no member=${memberName}.`);
|
|
641
|
+
}
|
|
642
|
+
getMemberSchemas() {
|
|
643
|
+
const buffer = {};
|
|
644
|
+
try {
|
|
645
|
+
for (const [k, v] of this.structIterator()) {
|
|
646
|
+
buffer[k] = v;
|
|
647
|
+
}
|
|
648
|
+
} catch (ignored) {
|
|
649
|
+
}
|
|
650
|
+
return buffer;
|
|
651
|
+
}
|
|
652
|
+
getEventStreamMember() {
|
|
653
|
+
if (this.isStructSchema()) {
|
|
654
|
+
for (const [memberName, memberSchema] of this.structIterator()) {
|
|
655
|
+
if (memberSchema.isStreaming() && memberSchema.isStructSchema()) {
|
|
656
|
+
return memberName;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
return "";
|
|
661
|
+
}
|
|
662
|
+
*structIterator() {
|
|
663
|
+
if (this.isUnitSchema()) {
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
if (!this.isStructSchema()) {
|
|
667
|
+
throw new Error("@smithy/core/schema - cannot iterate non-struct schema.");
|
|
668
|
+
}
|
|
669
|
+
const struct = this.getSchema();
|
|
670
|
+
for (let i = 0; i < struct[4].length; ++i) {
|
|
671
|
+
yield [
|
|
672
|
+
struct[4][i],
|
|
673
|
+
member([
|
|
674
|
+
struct[5][i],
|
|
675
|
+
0
|
|
676
|
+
], struct[4][i])
|
|
677
|
+
];
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
};
|
|
681
|
+
function member(memberSchema, memberName) {
|
|
682
|
+
if (memberSchema instanceof NormalizedSchema) {
|
|
683
|
+
return Object.assign(memberSchema, {
|
|
684
|
+
memberName,
|
|
685
|
+
_isMemberSchema: true
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
const internalCtorAccess = NormalizedSchema;
|
|
689
|
+
return new internalCtorAccess(memberSchema, memberName);
|
|
690
|
+
}
|
|
691
|
+
__name(member, "member");
|
|
692
|
+
var isMemberSchema = /* @__PURE__ */ __name((sc) => Array.isArray(sc) && sc.length === 2, "isMemberSchema");
|
|
693
|
+
var isStaticSchema = /* @__PURE__ */ __name((sc) => Array.isArray(sc) && sc.length >= 5, "isStaticSchema");
|
|
694
|
+
|
|
695
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js
|
|
696
|
+
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
697
|
+
function schemaLogFilter(schema, data) {
|
|
698
|
+
if (data == null) {
|
|
699
|
+
return data;
|
|
700
|
+
}
|
|
701
|
+
const ns = NormalizedSchema.of(schema);
|
|
702
|
+
if (ns.getMergedTraits().sensitive) {
|
|
703
|
+
return SENSITIVE_STRING;
|
|
704
|
+
}
|
|
705
|
+
if (ns.isListSchema()) {
|
|
706
|
+
const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
707
|
+
if (isSensitive) {
|
|
708
|
+
return SENSITIVE_STRING;
|
|
709
|
+
}
|
|
710
|
+
} else if (ns.isMapSchema()) {
|
|
711
|
+
const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
712
|
+
if (isSensitive) {
|
|
713
|
+
return SENSITIVE_STRING;
|
|
714
|
+
}
|
|
715
|
+
} else if (ns.isStructSchema() && typeof data === "object") {
|
|
716
|
+
const object = data;
|
|
717
|
+
const newObject = {};
|
|
718
|
+
for (const [member2, memberNs] of ns.structIterator()) {
|
|
719
|
+
if (object[member2] != null) {
|
|
720
|
+
newObject[member2] = schemaLogFilter(memberNs, object[member2]);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
return newObject;
|
|
724
|
+
}
|
|
725
|
+
return data;
|
|
726
|
+
}
|
|
727
|
+
__name(schemaLogFilter, "schemaLogFilter");
|
|
728
|
+
|
|
729
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/command.js
|
|
730
|
+
var Command = class {
|
|
731
|
+
static {
|
|
732
|
+
__name(this, "Command");
|
|
733
|
+
}
|
|
734
|
+
middlewareStack = constructStack();
|
|
735
|
+
schema;
|
|
736
|
+
static classBuilder() {
|
|
737
|
+
return new ClassBuilder();
|
|
738
|
+
}
|
|
739
|
+
resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor }) {
|
|
740
|
+
for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
|
|
741
|
+
this.middlewareStack.use(mw);
|
|
742
|
+
}
|
|
743
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
744
|
+
const { logger } = configuration;
|
|
745
|
+
const handlerExecutionContext = {
|
|
746
|
+
logger,
|
|
747
|
+
clientName,
|
|
748
|
+
commandName,
|
|
749
|
+
inputFilterSensitiveLog,
|
|
750
|
+
outputFilterSensitiveLog,
|
|
751
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
752
|
+
commandInstance: this,
|
|
753
|
+
...smithyContext
|
|
754
|
+
},
|
|
755
|
+
...additionalContext
|
|
756
|
+
};
|
|
757
|
+
const { requestHandler } = configuration;
|
|
758
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
759
|
+
}
|
|
760
|
+
};
|
|
761
|
+
var ClassBuilder = class ClassBuilder2 {
|
|
762
|
+
static {
|
|
763
|
+
__name(this, "ClassBuilder");
|
|
764
|
+
}
|
|
765
|
+
_init = /* @__PURE__ */ __name(() => {
|
|
766
|
+
}, "_init");
|
|
767
|
+
_ep = {};
|
|
768
|
+
_middlewareFn = /* @__PURE__ */ __name(() => [], "_middlewareFn");
|
|
769
|
+
_commandName = "";
|
|
770
|
+
_clientName = "";
|
|
771
|
+
_additionalContext = {};
|
|
772
|
+
_smithyContext = {};
|
|
773
|
+
_inputFilterSensitiveLog = void 0;
|
|
774
|
+
_outputFilterSensitiveLog = void 0;
|
|
775
|
+
_serializer = null;
|
|
776
|
+
_deserializer = null;
|
|
777
|
+
_operationSchema;
|
|
778
|
+
init(cb) {
|
|
779
|
+
this._init = cb;
|
|
780
|
+
}
|
|
781
|
+
ep(endpointParameterInstructions) {
|
|
782
|
+
this._ep = endpointParameterInstructions;
|
|
783
|
+
return this;
|
|
784
|
+
}
|
|
785
|
+
m(middlewareSupplier) {
|
|
786
|
+
this._middlewareFn = middlewareSupplier;
|
|
787
|
+
return this;
|
|
788
|
+
}
|
|
789
|
+
s(service, operation, smithyContext = {}) {
|
|
790
|
+
this._smithyContext = {
|
|
791
|
+
service,
|
|
792
|
+
operation,
|
|
793
|
+
...smithyContext
|
|
794
|
+
};
|
|
795
|
+
return this;
|
|
796
|
+
}
|
|
797
|
+
c(additionalContext = {}) {
|
|
798
|
+
this._additionalContext = additionalContext;
|
|
799
|
+
return this;
|
|
800
|
+
}
|
|
801
|
+
n(clientName, commandName) {
|
|
802
|
+
this._clientName = clientName;
|
|
803
|
+
this._commandName = commandName;
|
|
804
|
+
return this;
|
|
805
|
+
}
|
|
806
|
+
f(inputFilter = (_) => _, outputFilter = (_) => _) {
|
|
807
|
+
this._inputFilterSensitiveLog = inputFilter;
|
|
808
|
+
this._outputFilterSensitiveLog = outputFilter;
|
|
809
|
+
return this;
|
|
810
|
+
}
|
|
811
|
+
ser(serializer) {
|
|
812
|
+
this._serializer = serializer;
|
|
813
|
+
return this;
|
|
814
|
+
}
|
|
815
|
+
de(deserializer) {
|
|
816
|
+
this._deserializer = deserializer;
|
|
817
|
+
return this;
|
|
818
|
+
}
|
|
819
|
+
sc(operation) {
|
|
820
|
+
this._operationSchema = operation;
|
|
821
|
+
this._smithyContext.operationSchema = operation;
|
|
822
|
+
return this;
|
|
823
|
+
}
|
|
824
|
+
build() {
|
|
825
|
+
const closure = this;
|
|
826
|
+
let CommandRef;
|
|
827
|
+
return CommandRef = class extends Command {
|
|
828
|
+
static {
|
|
829
|
+
__name(this, "CommandRef");
|
|
830
|
+
}
|
|
831
|
+
input;
|
|
832
|
+
static getEndpointParameterInstructions() {
|
|
833
|
+
return closure._ep;
|
|
834
|
+
}
|
|
835
|
+
constructor(...[input]) {
|
|
836
|
+
super();
|
|
837
|
+
this.input = input ?? {};
|
|
838
|
+
closure._init(this);
|
|
839
|
+
this.schema = closure._operationSchema;
|
|
840
|
+
}
|
|
841
|
+
resolveMiddleware(stack, configuration, options) {
|
|
842
|
+
const op = closure._operationSchema;
|
|
843
|
+
const input = op?.[4] ?? op?.input;
|
|
844
|
+
const output = op?.[5] ?? op?.output;
|
|
845
|
+
return this.resolveMiddlewareWithContext(stack, configuration, options, {
|
|
846
|
+
CommandCtor: CommandRef,
|
|
847
|
+
middlewareFn: closure._middlewareFn,
|
|
848
|
+
clientName: closure._clientName,
|
|
849
|
+
commandName: closure._commandName,
|
|
850
|
+
inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _),
|
|
851
|
+
outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _),
|
|
852
|
+
smithyContext: closure._smithyContext,
|
|
853
|
+
additionalContext: closure._additionalContext
|
|
854
|
+
});
|
|
855
|
+
}
|
|
856
|
+
serialize = closure._serializer;
|
|
857
|
+
deserialize = closure._deserializer;
|
|
858
|
+
};
|
|
859
|
+
}
|
|
860
|
+
};
|
|
15
861
|
|
|
16
862
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-host-header@3.873.0/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js
|
|
17
863
|
init_esm_shims();
|
|
@@ -137,28 +983,13 @@ var getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({
|
|
|
137
983
|
}, "applyToStack")
|
|
138
984
|
}), "getRecursionDetectionPlugin");
|
|
139
985
|
|
|
140
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
986
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
141
987
|
init_esm_shims();
|
|
142
988
|
|
|
143
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
989
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
|
|
144
990
|
init_esm_shims();
|
|
145
991
|
|
|
146
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
147
|
-
init_esm_shims();
|
|
148
|
-
|
|
149
|
-
// ../../node_modules/.pnpm/@smithy+util-middleware@4.0.5/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
150
|
-
init_esm_shims();
|
|
151
|
-
var getSmithyContext = /* @__PURE__ */ __name((context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
152
|
-
|
|
153
|
-
// ../../node_modules/.pnpm/@smithy+util-middleware@4.0.5/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
154
|
-
init_esm_shims();
|
|
155
|
-
var normalizeProvider = /* @__PURE__ */ __name((input) => {
|
|
156
|
-
if (typeof input === "function") return input;
|
|
157
|
-
const promisified = Promise.resolve(input);
|
|
158
|
-
return () => promisified;
|
|
159
|
-
}, "normalizeProvider");
|
|
160
|
-
|
|
161
|
-
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js
|
|
992
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js
|
|
162
993
|
init_esm_shims();
|
|
163
994
|
var resolveAuthOptions = /* @__PURE__ */ __name((candidateAuthOptions, authSchemePreference) => {
|
|
164
995
|
if (!authSchemePreference || authSchemePreference.length === 0) {
|
|
@@ -181,7 +1012,7 @@ var resolveAuthOptions = /* @__PURE__ */ __name((candidateAuthOptions, authSchem
|
|
|
181
1012
|
return preferredAuthOptions;
|
|
182
1013
|
}, "resolveAuthOptions");
|
|
183
1014
|
|
|
184
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1015
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
|
|
185
1016
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
186
1017
|
const map = /* @__PURE__ */ new Map();
|
|
187
1018
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -224,7 +1055,7 @@ var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (ne
|
|
|
224
1055
|
return next(args);
|
|
225
1056
|
}, "httpAuthSchemeMiddleware");
|
|
226
1057
|
|
|
227
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1058
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js
|
|
228
1059
|
var httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
229
1060
|
step: "serialize",
|
|
230
1061
|
tags: [
|
|
@@ -244,10 +1075,10 @@ var getHttpAuthSchemeEndpointRuleSetPlugin = /* @__PURE__ */ __name((config, { h
|
|
|
244
1075
|
}, "applyToStack")
|
|
245
1076
|
}), "getHttpAuthSchemeEndpointRuleSetPlugin");
|
|
246
1077
|
|
|
247
|
-
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.
|
|
1078
|
+
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.2.6/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
248
1079
|
init_esm_shims();
|
|
249
1080
|
|
|
250
|
-
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.
|
|
1081
|
+
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.2.6/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js
|
|
251
1082
|
init_esm_shims();
|
|
252
1083
|
var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next, context) => async (args) => {
|
|
253
1084
|
const { response } = await next(args);
|
|
@@ -259,7 +1090,10 @@ var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (
|
|
|
259
1090
|
};
|
|
260
1091
|
} catch (error) {
|
|
261
1092
|
Object.defineProperty(error, "$response", {
|
|
262
|
-
value: response
|
|
1093
|
+
value: response,
|
|
1094
|
+
enumerable: false,
|
|
1095
|
+
writable: false,
|
|
1096
|
+
configurable: false
|
|
263
1097
|
});
|
|
264
1098
|
if (!("$metadata" in error)) {
|
|
265
1099
|
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
@@ -303,7 +1137,7 @@ var findHeader = /* @__PURE__ */ __name((pattern, headers) => {
|
|
|
303
1137
|
])[1];
|
|
304
1138
|
}, "findHeader");
|
|
305
1139
|
|
|
306
|
-
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.
|
|
1140
|
+
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.2.6/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js
|
|
307
1141
|
init_esm_shims();
|
|
308
1142
|
var serializerMiddleware = /* @__PURE__ */ __name((options, serializer) => (next, context) => async (args) => {
|
|
309
1143
|
const endpointConfig = options;
|
|
@@ -321,7 +1155,7 @@ var serializerMiddleware = /* @__PURE__ */ __name((options, serializer) => (next
|
|
|
321
1155
|
});
|
|
322
1156
|
}, "serializerMiddleware");
|
|
323
1157
|
|
|
324
|
-
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.
|
|
1158
|
+
// ../../node_modules/.pnpm/@smithy+middleware-serde@4.2.6/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
325
1159
|
var deserializerMiddlewareOption = {
|
|
326
1160
|
name: "deserializerMiddleware",
|
|
327
1161
|
step: "deserialize",
|
|
@@ -348,13 +1182,10 @@ function getSerdePlugin(config, serializer, deserializer) {
|
|
|
348
1182
|
}
|
|
349
1183
|
__name(getSerdePlugin, "getSerdePlugin");
|
|
350
1184
|
|
|
351
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
352
|
-
init_esm_shims();
|
|
353
|
-
|
|
354
|
-
// ../../node_modules/.pnpm/@smithy+core@3.9.1/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
1185
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
355
1186
|
init_esm_shims();
|
|
356
1187
|
|
|
357
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1188
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js
|
|
358
1189
|
init_esm_shims();
|
|
359
1190
|
var defaultErrorHandler = /* @__PURE__ */ __name((signingProperties) => (error) => {
|
|
360
1191
|
throw error;
|
|
@@ -379,7 +1210,7 @@ var httpSigningMiddleware = /* @__PURE__ */ __name((config) => (next, context) =
|
|
|
379
1210
|
return output;
|
|
380
1211
|
}, "httpSigningMiddleware");
|
|
381
1212
|
|
|
382
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1213
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js
|
|
383
1214
|
var httpSigningMiddlewareOptions = {
|
|
384
1215
|
step: "finalizeRequest",
|
|
385
1216
|
tags: [
|
|
@@ -401,14 +1232,14 @@ var getHttpSigningPlugin = /* @__PURE__ */ __name((config) => ({
|
|
|
401
1232
|
}, "applyToStack")
|
|
402
1233
|
}), "getHttpSigningPlugin");
|
|
403
1234
|
|
|
404
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1235
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js
|
|
405
1236
|
init_esm_shims();
|
|
406
1237
|
var DefaultIdentityProviderConfig = class {
|
|
407
1238
|
static {
|
|
408
1239
|
__name(this, "DefaultIdentityProviderConfig");
|
|
409
1240
|
}
|
|
1241
|
+
authSchemes = /* @__PURE__ */ new Map();
|
|
410
1242
|
constructor(config) {
|
|
411
|
-
this.authSchemes = /* @__PURE__ */ new Map();
|
|
412
1243
|
for (const [key, value] of Object.entries(config)) {
|
|
413
1244
|
if (value !== void 0) {
|
|
414
1245
|
this.authSchemes.set(key, value);
|
|
@@ -423,7 +1254,7 @@ var DefaultIdentityProviderConfig = class {
|
|
|
423
1254
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js
|
|
424
1255
|
init_esm_shims();
|
|
425
1256
|
|
|
426
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1257
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/normalizeProvider.js
|
|
427
1258
|
init_esm_shims();
|
|
428
1259
|
var normalizeProvider2 = /* @__PURE__ */ __name((input) => {
|
|
429
1260
|
if (typeof input === "function") return input;
|
|
@@ -431,7 +1262,85 @@ var normalizeProvider2 = /* @__PURE__ */ __name((input) => {
|
|
|
431
1262
|
return () => promisified;
|
|
432
1263
|
}, "normalizeProvider");
|
|
433
1264
|
|
|
434
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1265
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
|
|
1266
|
+
init_esm_shims();
|
|
1267
|
+
|
|
1268
|
+
// ../../node_modules/.pnpm/@smithy+util-stream@4.5.6/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
1269
|
+
init_esm_shims();
|
|
1270
|
+
|
|
1271
|
+
// ../../node_modules/.pnpm/@smithy+util-utf8@4.2.0/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
1272
|
+
init_esm_shims();
|
|
1273
|
+
var toUint8Array = /* @__PURE__ */ __name((data) => {
|
|
1274
|
+
if (typeof data === "string") {
|
|
1275
|
+
return fromUtf8(data);
|
|
1276
|
+
}
|
|
1277
|
+
if (ArrayBuffer.isView(data)) {
|
|
1278
|
+
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
1279
|
+
}
|
|
1280
|
+
return new Uint8Array(data);
|
|
1281
|
+
}, "toUint8Array");
|
|
1282
|
+
|
|
1283
|
+
// ../../node_modules/.pnpm/@smithy+util-stream@4.5.6/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js
|
|
1284
|
+
var Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array {
|
|
1285
|
+
static {
|
|
1286
|
+
__name(this, "Uint8ArrayBlobAdapter");
|
|
1287
|
+
}
|
|
1288
|
+
static fromString(source, encoding = "utf-8") {
|
|
1289
|
+
if (typeof source === "string") {
|
|
1290
|
+
if (encoding === "base64") {
|
|
1291
|
+
return _Uint8ArrayBlobAdapter.mutate(fromBase64(source));
|
|
1292
|
+
}
|
|
1293
|
+
return _Uint8ArrayBlobAdapter.mutate(fromUtf8(source));
|
|
1294
|
+
}
|
|
1295
|
+
throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`);
|
|
1296
|
+
}
|
|
1297
|
+
static mutate(source) {
|
|
1298
|
+
Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype);
|
|
1299
|
+
return source;
|
|
1300
|
+
}
|
|
1301
|
+
transformToString(encoding = "utf-8") {
|
|
1302
|
+
if (encoding === "base64") {
|
|
1303
|
+
return toBase64(this);
|
|
1304
|
+
}
|
|
1305
|
+
return toUtf8(this);
|
|
1306
|
+
}
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js
|
|
1310
|
+
var collectBody = /* @__PURE__ */ __name(async (streamBody = new Uint8Array(), context) => {
|
|
1311
|
+
if (streamBody instanceof Uint8Array) {
|
|
1312
|
+
return Uint8ArrayBlobAdapter.mutate(streamBody);
|
|
1313
|
+
}
|
|
1314
|
+
if (!streamBody) {
|
|
1315
|
+
return Uint8ArrayBlobAdapter.mutate(new Uint8Array());
|
|
1316
|
+
}
|
|
1317
|
+
const fromContext = context.streamCollector(streamBody);
|
|
1318
|
+
return Uint8ArrayBlobAdapter.mutate(await fromContext);
|
|
1319
|
+
}, "collectBody");
|
|
1320
|
+
|
|
1321
|
+
// ../../node_modules/.pnpm/@smithy+uuid@1.1.0/node_modules/@smithy/uuid/dist-es/v4.js
|
|
1322
|
+
init_esm_shims();
|
|
1323
|
+
|
|
1324
|
+
// ../../node_modules/.pnpm/@smithy+uuid@1.1.0/node_modules/@smithy/uuid/dist-es/randomUUID.js
|
|
1325
|
+
init_esm_shims();
|
|
1326
|
+
var randomUUID = crypto2.randomUUID.bind(crypto2);
|
|
1327
|
+
|
|
1328
|
+
// ../../node_modules/.pnpm/@smithy+uuid@1.1.0/node_modules/@smithy/uuid/dist-es/v4.js
|
|
1329
|
+
var decimalToHex = Array.from({
|
|
1330
|
+
length: 256
|
|
1331
|
+
}, (_, i) => i.toString(16).padStart(2, "0"));
|
|
1332
|
+
var v4 = /* @__PURE__ */ __name(() => {
|
|
1333
|
+
if (randomUUID) {
|
|
1334
|
+
return randomUUID();
|
|
1335
|
+
}
|
|
1336
|
+
const rnds = new Uint8Array(16);
|
|
1337
|
+
crypto.getRandomValues(rnds);
|
|
1338
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
1339
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
1340
|
+
return decimalToHex[rnds[0]] + decimalToHex[rnds[1]] + decimalToHex[rnds[2]] + decimalToHex[rnds[3]] + "-" + decimalToHex[rnds[4]] + decimalToHex[rnds[5]] + "-" + decimalToHex[rnds[6]] + decimalToHex[rnds[7]] + "-" + decimalToHex[rnds[8]] + decimalToHex[rnds[9]] + "-" + decimalToHex[rnds[10]] + decimalToHex[rnds[11]] + decimalToHex[rnds[12]] + decimalToHex[rnds[13]] + decimalToHex[rnds[14]] + decimalToHex[rnds[15]];
|
|
1341
|
+
}, "v4");
|
|
1342
|
+
|
|
1343
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/setFeature.js
|
|
435
1344
|
init_esm_shims();
|
|
436
1345
|
function setFeature(context, feature, value) {
|
|
437
1346
|
if (!context.__smithy_context) {
|
|
@@ -445,9 +1354,11 @@ function setFeature(context, feature, value) {
|
|
|
445
1354
|
}
|
|
446
1355
|
__name(setFeature, "setFeature");
|
|
447
1356
|
|
|
448
|
-
// ../../node_modules/.pnpm/@smithy+core@3.
|
|
1357
|
+
// ../../node_modules/.pnpm/@smithy+core@3.18.5/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js
|
|
449
1358
|
init_esm_shims();
|
|
450
|
-
var createIsIdentityExpiredFunction = /* @__PURE__ */ __name((expirationMs) =>
|
|
1359
|
+
var createIsIdentityExpiredFunction = /* @__PURE__ */ __name((expirationMs) => /* @__PURE__ */ __name(function isIdentityExpired2(identity) {
|
|
1360
|
+
return doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs;
|
|
1361
|
+
}, "isIdentityExpired"), "createIsIdentityExpiredFunction");
|
|
451
1362
|
var EXPIRATION_MS = 3e5;
|
|
452
1363
|
var isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS);
|
|
453
1364
|
var doesIdentityRequireRefresh = /* @__PURE__ */ __name((identity) => identity.expiration !== void 0, "doesIdentityRequireRefresh");
|
|
@@ -534,6 +1445,55 @@ function resolveUserAgentConfig(input) {
|
|
|
534
1445
|
}
|
|
535
1446
|
__name(resolveUserAgentConfig, "resolveUserAgentConfig");
|
|
536
1447
|
|
|
1448
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/exceptions.js
|
|
1449
|
+
init_esm_shims();
|
|
1450
|
+
var ServiceException = class _ServiceException extends Error {
|
|
1451
|
+
static {
|
|
1452
|
+
__name(this, "ServiceException");
|
|
1453
|
+
}
|
|
1454
|
+
$fault;
|
|
1455
|
+
$response;
|
|
1456
|
+
$retryable;
|
|
1457
|
+
$metadata;
|
|
1458
|
+
constructor(options) {
|
|
1459
|
+
super(options.message);
|
|
1460
|
+
Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype);
|
|
1461
|
+
this.name = options.name;
|
|
1462
|
+
this.$fault = options.$fault;
|
|
1463
|
+
this.$metadata = options.$metadata;
|
|
1464
|
+
}
|
|
1465
|
+
static isInstance(value) {
|
|
1466
|
+
if (!value) return false;
|
|
1467
|
+
const candidate = value;
|
|
1468
|
+
return _ServiceException.prototype.isPrototypeOf(candidate) || Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
|
1469
|
+
}
|
|
1470
|
+
static [Symbol.hasInstance](instance) {
|
|
1471
|
+
if (!instance) return false;
|
|
1472
|
+
const candidate = instance;
|
|
1473
|
+
if (this === _ServiceException) {
|
|
1474
|
+
return _ServiceException.isInstance(instance);
|
|
1475
|
+
}
|
|
1476
|
+
if (_ServiceException.isInstance(instance)) {
|
|
1477
|
+
if (candidate.name && this.name) {
|
|
1478
|
+
return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
|
|
1479
|
+
}
|
|
1480
|
+
return this.prototype.isPrototypeOf(instance);
|
|
1481
|
+
}
|
|
1482
|
+
return false;
|
|
1483
|
+
}
|
|
1484
|
+
};
|
|
1485
|
+
var decorateServiceException = /* @__PURE__ */ __name((exception, additions = {}) => {
|
|
1486
|
+
Object.entries(additions).filter(([, v]) => v !== void 0).forEach(([k, v]) => {
|
|
1487
|
+
if (exception[k] == void 0 || exception[k] === "") {
|
|
1488
|
+
exception[k] = v;
|
|
1489
|
+
}
|
|
1490
|
+
});
|
|
1491
|
+
const message = exception.message || exception.Message || "UnknownError";
|
|
1492
|
+
exception.message = message;
|
|
1493
|
+
delete exception.Message;
|
|
1494
|
+
return exception;
|
|
1495
|
+
}, "decorateServiceException");
|
|
1496
|
+
|
|
537
1497
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js
|
|
538
1498
|
init_esm_shims();
|
|
539
1499
|
|
|
@@ -543,18 +1503,16 @@ init_esm_shims();
|
|
|
543
1503
|
// ../../node_modules/.pnpm/@aws-sdk+util-endpoints@3.879.0/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js
|
|
544
1504
|
init_esm_shims();
|
|
545
1505
|
|
|
546
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
547
|
-
init_esm_shims();
|
|
548
|
-
|
|
549
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js
|
|
1506
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js
|
|
550
1507
|
init_esm_shims();
|
|
551
1508
|
var EndpointCache = class {
|
|
552
1509
|
static {
|
|
553
1510
|
__name(this, "EndpointCache");
|
|
554
1511
|
}
|
|
1512
|
+
capacity;
|
|
1513
|
+
data = /* @__PURE__ */ new Map();
|
|
1514
|
+
parameters = [];
|
|
555
1515
|
constructor({ size, params }) {
|
|
556
|
-
this.data = /* @__PURE__ */ new Map();
|
|
557
|
-
this.parameters = [];
|
|
558
1516
|
this.capacity = size ?? 50;
|
|
559
1517
|
if (params) {
|
|
560
1518
|
this.parameters = params;
|
|
@@ -601,12 +1559,12 @@ var EndpointCache = class {
|
|
|
601
1559
|
}
|
|
602
1560
|
};
|
|
603
1561
|
|
|
604
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1562
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js
|
|
605
1563
|
init_esm_shims();
|
|
606
1564
|
var IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
|
|
607
1565
|
var isIpAddress = /* @__PURE__ */ __name((value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]"), "isIpAddress");
|
|
608
1566
|
|
|
609
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1567
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js
|
|
610
1568
|
init_esm_shims();
|
|
611
1569
|
var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
|
|
612
1570
|
var isValidHostLabel = /* @__PURE__ */ __name((value, allowSubDomains = false) => {
|
|
@@ -622,21 +1580,18 @@ var isValidHostLabel = /* @__PURE__ */ __name((value, allowSubDomains = false) =
|
|
|
622
1580
|
return true;
|
|
623
1581
|
}, "isValidHostLabel");
|
|
624
1582
|
|
|
625
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1583
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js
|
|
626
1584
|
init_esm_shims();
|
|
627
1585
|
var customEndpointFunctions = {};
|
|
628
1586
|
|
|
629
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1587
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js
|
|
630
1588
|
init_esm_shims();
|
|
631
1589
|
|
|
632
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
633
|
-
init_esm_shims();
|
|
634
|
-
|
|
635
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js
|
|
1590
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js
|
|
636
1591
|
init_esm_shims();
|
|
637
1592
|
var debugId = "endpoints";
|
|
638
1593
|
|
|
639
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1594
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js
|
|
640
1595
|
init_esm_shims();
|
|
641
1596
|
function toDebugString(input) {
|
|
642
1597
|
if (typeof input !== "object" || input == null) {
|
|
@@ -652,71 +1607,44 @@ function toDebugString(input) {
|
|
|
652
1607
|
}
|
|
653
1608
|
__name(toDebugString, "toDebugString");
|
|
654
1609
|
|
|
655
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
656
|
-
init_esm_shims();
|
|
657
|
-
|
|
658
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js
|
|
1610
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js
|
|
659
1611
|
init_esm_shims();
|
|
660
1612
|
var EndpointError = class extends Error {
|
|
661
1613
|
static {
|
|
662
1614
|
__name(this, "EndpointError");
|
|
663
1615
|
}
|
|
664
|
-
constructor(message) {
|
|
665
|
-
super(message);
|
|
666
|
-
this.name = "EndpointError";
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
|
|
670
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js
|
|
671
|
-
init_esm_shims();
|
|
672
|
-
|
|
673
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js
|
|
674
|
-
init_esm_shims();
|
|
675
|
-
|
|
676
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js
|
|
677
|
-
init_esm_shims();
|
|
678
|
-
|
|
679
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js
|
|
680
|
-
init_esm_shims();
|
|
681
|
-
|
|
682
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js
|
|
683
|
-
init_esm_shims();
|
|
684
|
-
|
|
685
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/types/shared.js
|
|
686
|
-
init_esm_shims();
|
|
687
|
-
|
|
688
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/index.js
|
|
689
|
-
init_esm_shims();
|
|
690
|
-
|
|
691
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
692
|
-
init_esm_shims();
|
|
1616
|
+
constructor(message) {
|
|
1617
|
+
super(message);
|
|
1618
|
+
this.name = "EndpointError";
|
|
1619
|
+
}
|
|
1620
|
+
};
|
|
693
1621
|
|
|
694
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1622
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
695
1623
|
init_esm_shims();
|
|
696
1624
|
|
|
697
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1625
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js
|
|
698
1626
|
init_esm_shims();
|
|
699
1627
|
|
|
700
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1628
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js
|
|
701
1629
|
init_esm_shims();
|
|
702
1630
|
|
|
703
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1631
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js
|
|
704
1632
|
init_esm_shims();
|
|
705
1633
|
|
|
706
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1634
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js
|
|
707
1635
|
init_esm_shims();
|
|
708
1636
|
|
|
709
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1637
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js
|
|
710
1638
|
init_esm_shims();
|
|
711
1639
|
|
|
712
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1640
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js
|
|
713
1641
|
init_esm_shims();
|
|
714
1642
|
var booleanEquals = /* @__PURE__ */ __name((value1, value2) => value1 === value2, "booleanEquals");
|
|
715
1643
|
|
|
716
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1644
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js
|
|
717
1645
|
init_esm_shims();
|
|
718
1646
|
|
|
719
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1647
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js
|
|
720
1648
|
init_esm_shims();
|
|
721
1649
|
var getAttrPathList = /* @__PURE__ */ __name((path) => {
|
|
722
1650
|
const parts = path.split(".");
|
|
@@ -742,7 +1670,7 @@ var getAttrPathList = /* @__PURE__ */ __name((path) => {
|
|
|
742
1670
|
return pathList;
|
|
743
1671
|
}, "getAttrPathList");
|
|
744
1672
|
|
|
745
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1673
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js
|
|
746
1674
|
var getAttr = /* @__PURE__ */ __name((value, path) => getAttrPathList(path).reduce((acc, index) => {
|
|
747
1675
|
if (typeof acc !== "object") {
|
|
748
1676
|
throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
|
|
@@ -752,15 +1680,15 @@ var getAttr = /* @__PURE__ */ __name((value, path) => getAttrPathList(path).redu
|
|
|
752
1680
|
return acc[index];
|
|
753
1681
|
}, value), "getAttr");
|
|
754
1682
|
|
|
755
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1683
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js
|
|
756
1684
|
init_esm_shims();
|
|
757
1685
|
var isSet = /* @__PURE__ */ __name((value) => value != null, "isSet");
|
|
758
1686
|
|
|
759
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1687
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/not.js
|
|
760
1688
|
init_esm_shims();
|
|
761
1689
|
var not = /* @__PURE__ */ __name((value) => !value, "not");
|
|
762
1690
|
|
|
763
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1691
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js
|
|
764
1692
|
init_esm_shims();
|
|
765
1693
|
var DEFAULT_PORTS = {
|
|
766
1694
|
[EndpointURLScheme.HTTP]: 80,
|
|
@@ -808,11 +1736,11 @@ var parseURL = /* @__PURE__ */ __name((value) => {
|
|
|
808
1736
|
};
|
|
809
1737
|
}, "parseURL");
|
|
810
1738
|
|
|
811
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1739
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js
|
|
812
1740
|
init_esm_shims();
|
|
813
1741
|
var stringEquals = /* @__PURE__ */ __name((value1, value2) => value1 === value2, "stringEquals");
|
|
814
1742
|
|
|
815
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1743
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js
|
|
816
1744
|
init_esm_shims();
|
|
817
1745
|
var substring = /* @__PURE__ */ __name((input, start, stop, reverse) => {
|
|
818
1746
|
if (start >= stop || input.length < stop) {
|
|
@@ -824,11 +1752,11 @@ var substring = /* @__PURE__ */ __name((input, start, stop, reverse) => {
|
|
|
824
1752
|
return input.substring(input.length - stop, input.length - start);
|
|
825
1753
|
}, "substring");
|
|
826
1754
|
|
|
827
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1755
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js
|
|
828
1756
|
init_esm_shims();
|
|
829
1757
|
var uriEncode = /* @__PURE__ */ __name((value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`), "uriEncode");
|
|
830
1758
|
|
|
831
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1759
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js
|
|
832
1760
|
var endpointFunctions = {
|
|
833
1761
|
booleanEquals,
|
|
834
1762
|
getAttr,
|
|
@@ -841,10 +1769,7 @@ var endpointFunctions = {
|
|
|
841
1769
|
uriEncode
|
|
842
1770
|
};
|
|
843
1771
|
|
|
844
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
845
|
-
init_esm_shims();
|
|
846
|
-
|
|
847
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js
|
|
1772
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js
|
|
848
1773
|
init_esm_shims();
|
|
849
1774
|
var evaluateTemplate = /* @__PURE__ */ __name((template, options) => {
|
|
850
1775
|
const evaluatedTemplateArr = [];
|
|
@@ -881,7 +1806,7 @@ var evaluateTemplate = /* @__PURE__ */ __name((template, options) => {
|
|
|
881
1806
|
return evaluatedTemplateArr.join("");
|
|
882
1807
|
}, "evaluateTemplate");
|
|
883
1808
|
|
|
884
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1809
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js
|
|
885
1810
|
init_esm_shims();
|
|
886
1811
|
var getReferenceValue = /* @__PURE__ */ __name(({ ref }, options) => {
|
|
887
1812
|
const referenceRecord = {
|
|
@@ -891,32 +1816,34 @@ var getReferenceValue = /* @__PURE__ */ __name(({ ref }, options) => {
|
|
|
891
1816
|
return referenceRecord[ref];
|
|
892
1817
|
}, "getReferenceValue");
|
|
893
1818
|
|
|
894
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1819
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js
|
|
895
1820
|
var evaluateExpression = /* @__PURE__ */ __name((obj, keyName, options) => {
|
|
896
1821
|
if (typeof obj === "string") {
|
|
897
1822
|
return evaluateTemplate(obj, options);
|
|
898
1823
|
} else if (obj["fn"]) {
|
|
899
|
-
return callFunction(obj, options);
|
|
1824
|
+
return group.callFunction(obj, options);
|
|
900
1825
|
} else if (obj["ref"]) {
|
|
901
1826
|
return getReferenceValue(obj, options);
|
|
902
1827
|
}
|
|
903
1828
|
throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
|
|
904
1829
|
}, "evaluateExpression");
|
|
905
|
-
|
|
906
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js
|
|
907
1830
|
var callFunction = /* @__PURE__ */ __name(({ fn, argv }, options) => {
|
|
908
1831
|
const evaluatedArgs = argv.map((arg) => [
|
|
909
1832
|
"boolean",
|
|
910
1833
|
"number"
|
|
911
|
-
].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options));
|
|
1834
|
+
].includes(typeof arg) ? arg : group.evaluateExpression(arg, "arg", options));
|
|
912
1835
|
const fnSegments = fn.split(".");
|
|
913
1836
|
if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
|
|
914
1837
|
return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
|
|
915
1838
|
}
|
|
916
1839
|
return endpointFunctions[fn](...evaluatedArgs);
|
|
917
1840
|
}, "callFunction");
|
|
1841
|
+
var group = {
|
|
1842
|
+
evaluateExpression,
|
|
1843
|
+
callFunction
|
|
1844
|
+
};
|
|
918
1845
|
|
|
919
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1846
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js
|
|
920
1847
|
var evaluateCondition = /* @__PURE__ */ __name(({ assign, ...fnArgs }, options) => {
|
|
921
1848
|
if (assign && assign in options.referenceRecord) {
|
|
922
1849
|
throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
|
|
@@ -934,7 +1861,7 @@ var evaluateCondition = /* @__PURE__ */ __name(({ assign, ...fnArgs }, options)
|
|
|
934
1861
|
};
|
|
935
1862
|
}, "evaluateCondition");
|
|
936
1863
|
|
|
937
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1864
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js
|
|
938
1865
|
var evaluateConditions = /* @__PURE__ */ __name((conditions = [], options) => {
|
|
939
1866
|
const conditionsReferenceRecord = {};
|
|
940
1867
|
for (const condition of conditions) {
|
|
@@ -961,7 +1888,10 @@ var evaluateConditions = /* @__PURE__ */ __name((conditions = [], options) => {
|
|
|
961
1888
|
};
|
|
962
1889
|
}, "evaluateConditions");
|
|
963
1890
|
|
|
964
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1891
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js
|
|
1892
|
+
init_esm_shims();
|
|
1893
|
+
|
|
1894
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js
|
|
965
1895
|
init_esm_shims();
|
|
966
1896
|
var getEndpointHeaders = /* @__PURE__ */ __name((headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({
|
|
967
1897
|
...acc,
|
|
@@ -974,11 +1904,12 @@ var getEndpointHeaders = /* @__PURE__ */ __name((headers, options) => Object.ent
|
|
|
974
1904
|
})
|
|
975
1905
|
}), {}), "getEndpointHeaders");
|
|
976
1906
|
|
|
977
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
978
|
-
init_esm_shims();
|
|
979
|
-
|
|
980
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js
|
|
1907
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js
|
|
981
1908
|
init_esm_shims();
|
|
1909
|
+
var getEndpointProperties = /* @__PURE__ */ __name((properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
|
|
1910
|
+
...acc,
|
|
1911
|
+
[propertyKey]: group2.getEndpointProperty(propertyVal, options)
|
|
1912
|
+
}), {}), "getEndpointProperties");
|
|
982
1913
|
var getEndpointProperty = /* @__PURE__ */ __name((property, options) => {
|
|
983
1914
|
if (Array.isArray(property)) {
|
|
984
1915
|
return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
|
|
@@ -990,21 +1921,19 @@ var getEndpointProperty = /* @__PURE__ */ __name((property, options) => {
|
|
|
990
1921
|
if (property === null) {
|
|
991
1922
|
throw new EndpointError(`Unexpected endpoint property: ${property}`);
|
|
992
1923
|
}
|
|
993
|
-
return getEndpointProperties(property, options);
|
|
1924
|
+
return group2.getEndpointProperties(property, options);
|
|
994
1925
|
case "boolean":
|
|
995
1926
|
return property;
|
|
996
1927
|
default:
|
|
997
1928
|
throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`);
|
|
998
1929
|
}
|
|
999
1930
|
}, "getEndpointProperty");
|
|
1931
|
+
var group2 = {
|
|
1932
|
+
getEndpointProperty,
|
|
1933
|
+
getEndpointProperties
|
|
1934
|
+
};
|
|
1000
1935
|
|
|
1001
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1002
|
-
var getEndpointProperties = /* @__PURE__ */ __name((properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
|
|
1003
|
-
...acc,
|
|
1004
|
-
[propertyKey]: getEndpointProperty(propertyVal, options)
|
|
1005
|
-
}), {}), "getEndpointProperties");
|
|
1006
|
-
|
|
1007
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js
|
|
1936
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js
|
|
1008
1937
|
init_esm_shims();
|
|
1009
1938
|
var getEndpointUrl = /* @__PURE__ */ __name((endpointUrl, options) => {
|
|
1010
1939
|
const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
|
|
@@ -1019,7 +1948,7 @@ var getEndpointUrl = /* @__PURE__ */ __name((endpointUrl, options) => {
|
|
|
1019
1948
|
throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
|
|
1020
1949
|
}, "getEndpointUrl");
|
|
1021
1950
|
|
|
1022
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1951
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js
|
|
1023
1952
|
var evaluateEndpointRule = /* @__PURE__ */ __name((endpointRule, options) => {
|
|
1024
1953
|
const { conditions, endpoint } = endpointRule;
|
|
1025
1954
|
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
@@ -1046,7 +1975,7 @@ var evaluateEndpointRule = /* @__PURE__ */ __name((endpointRule, options) => {
|
|
|
1046
1975
|
};
|
|
1047
1976
|
}, "evaluateEndpointRule");
|
|
1048
1977
|
|
|
1049
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1978
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js
|
|
1050
1979
|
init_esm_shims();
|
|
1051
1980
|
var evaluateErrorRule = /* @__PURE__ */ __name((errorRule, options) => {
|
|
1052
1981
|
const { conditions, error } = errorRule;
|
|
@@ -1063,24 +1992,7 @@ var evaluateErrorRule = /* @__PURE__ */ __name((errorRule, options) => {
|
|
|
1063
1992
|
}));
|
|
1064
1993
|
}, "evaluateErrorRule");
|
|
1065
1994
|
|
|
1066
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
1067
|
-
init_esm_shims();
|
|
1068
|
-
var evaluateTreeRule = /* @__PURE__ */ __name((treeRule, options) => {
|
|
1069
|
-
const { conditions, rules } = treeRule;
|
|
1070
|
-
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
1071
|
-
if (!result) {
|
|
1072
|
-
return;
|
|
1073
|
-
}
|
|
1074
|
-
return evaluateRules(rules, {
|
|
1075
|
-
...options,
|
|
1076
|
-
referenceRecord: {
|
|
1077
|
-
...options.referenceRecord,
|
|
1078
|
-
...referenceRecord
|
|
1079
|
-
}
|
|
1080
|
-
});
|
|
1081
|
-
}, "evaluateTreeRule");
|
|
1082
|
-
|
|
1083
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.0.7/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
1995
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js
|
|
1084
1996
|
var evaluateRules = /* @__PURE__ */ __name((rules, options) => {
|
|
1085
1997
|
for (const rule of rules) {
|
|
1086
1998
|
if (rule.type === "endpoint") {
|
|
@@ -1091,7 +2003,7 @@ var evaluateRules = /* @__PURE__ */ __name((rules, options) => {
|
|
|
1091
2003
|
} else if (rule.type === "error") {
|
|
1092
2004
|
evaluateErrorRule(rule, options);
|
|
1093
2005
|
} else if (rule.type === "tree") {
|
|
1094
|
-
const endpointOrUndefined = evaluateTreeRule(rule, options);
|
|
2006
|
+
const endpointOrUndefined = group3.evaluateTreeRule(rule, options);
|
|
1095
2007
|
if (endpointOrUndefined) {
|
|
1096
2008
|
return endpointOrUndefined;
|
|
1097
2009
|
}
|
|
@@ -1101,8 +2013,26 @@ var evaluateRules = /* @__PURE__ */ __name((rules, options) => {
|
|
|
1101
2013
|
}
|
|
1102
2014
|
throw new EndpointError(`Rules evaluation failed`);
|
|
1103
2015
|
}, "evaluateRules");
|
|
2016
|
+
var evaluateTreeRule = /* @__PURE__ */ __name((treeRule, options) => {
|
|
2017
|
+
const { conditions, rules } = treeRule;
|
|
2018
|
+
const { result, referenceRecord } = evaluateConditions(conditions, options);
|
|
2019
|
+
if (!result) {
|
|
2020
|
+
return;
|
|
2021
|
+
}
|
|
2022
|
+
return group3.evaluateRules(rules, {
|
|
2023
|
+
...options,
|
|
2024
|
+
referenceRecord: {
|
|
2025
|
+
...options.referenceRecord,
|
|
2026
|
+
...referenceRecord
|
|
2027
|
+
}
|
|
2028
|
+
});
|
|
2029
|
+
}, "evaluateTreeRule");
|
|
2030
|
+
var group3 = {
|
|
2031
|
+
evaluateRules,
|
|
2032
|
+
evaluateTreeRule
|
|
2033
|
+
};
|
|
1104
2034
|
|
|
1105
|
-
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.
|
|
2035
|
+
// ../../node_modules/.pnpm/@smithy+util-endpoints@3.2.5/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js
|
|
1106
2036
|
var resolveEndpoint = /* @__PURE__ */ __name((ruleSetObject, options) => {
|
|
1107
2037
|
const { endpointParams, logger } = options;
|
|
1108
2038
|
const { parameters, rules } = ruleSetObject;
|
|
@@ -1691,13 +2621,10 @@ var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
|
|
1691
2621
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
1692
2622
|
init_esm_shims();
|
|
1693
2623
|
|
|
1694
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
1695
|
-
init_esm_shims();
|
|
1696
|
-
|
|
1697
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
2624
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
1698
2625
|
init_esm_shims();
|
|
1699
2626
|
|
|
1700
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2627
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/constants.js
|
|
1701
2628
|
init_esm_shims();
|
|
1702
2629
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
1703
2630
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
@@ -1743,7 +2670,7 @@ var MAX_CACHE_SIZE = 50;
|
|
|
1743
2670
|
var KEY_TYPE_IDENTIFIER = "aws4_request";
|
|
1744
2671
|
var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7;
|
|
1745
2672
|
|
|
1746
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2673
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/credentialDerivation.js
|
|
1747
2674
|
init_esm_shims();
|
|
1748
2675
|
var signingKeyCache = {};
|
|
1749
2676
|
var cacheQueue = [];
|
|
@@ -1775,7 +2702,7 @@ var hmac = /* @__PURE__ */ __name((ctor, secret, data) => {
|
|
|
1775
2702
|
return hash.digest();
|
|
1776
2703
|
}, "hmac");
|
|
1777
2704
|
|
|
1778
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2705
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js
|
|
1779
2706
|
init_esm_shims();
|
|
1780
2707
|
var getCanonicalHeaders = /* @__PURE__ */ __name(({ headers }, unsignableHeaders, signableHeaders) => {
|
|
1781
2708
|
const canonical = {};
|
|
@@ -1794,7 +2721,7 @@ var getCanonicalHeaders = /* @__PURE__ */ __name(({ headers }, unsignableHeaders
|
|
|
1794
2721
|
return canonical;
|
|
1795
2722
|
}, "getCanonicalHeaders");
|
|
1796
2723
|
|
|
1797
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2724
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js
|
|
1798
2725
|
init_esm_shims();
|
|
1799
2726
|
var getPayloadHash = /* @__PURE__ */ __name(async ({ headers, body }, hashConstructor) => {
|
|
1800
2727
|
for (const headerName of Object.keys(headers)) {
|
|
@@ -1812,7 +2739,7 @@ var getPayloadHash = /* @__PURE__ */ __name(async ({ headers, body }, hashConstr
|
|
|
1812
2739
|
return UNSIGNED_PAYLOAD;
|
|
1813
2740
|
}, "getPayloadHash");
|
|
1814
2741
|
|
|
1815
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2742
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js
|
|
1816
2743
|
init_esm_shims();
|
|
1817
2744
|
var HeaderFormatter = class {
|
|
1818
2745
|
static {
|
|
@@ -1909,6 +2836,7 @@ var Int64 = class _Int64 {
|
|
|
1909
2836
|
static {
|
|
1910
2837
|
__name(this, "Int64");
|
|
1911
2838
|
}
|
|
2839
|
+
bytes;
|
|
1912
2840
|
constructor(bytes) {
|
|
1913
2841
|
this.bytes = bytes;
|
|
1914
2842
|
if (bytes.byteLength !== 8) {
|
|
@@ -1951,7 +2879,7 @@ function negate(bytes) {
|
|
|
1951
2879
|
}
|
|
1952
2880
|
__name(negate, "negate");
|
|
1953
2881
|
|
|
1954
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2882
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/headerUtil.js
|
|
1955
2883
|
init_esm_shims();
|
|
1956
2884
|
var hasHeader = /* @__PURE__ */ __name((soughtHeader, headers) => {
|
|
1957
2885
|
soughtHeader = soughtHeader.toLowerCase();
|
|
@@ -1963,7 +2891,7 @@ var hasHeader = /* @__PURE__ */ __name((soughtHeader, headers) => {
|
|
|
1963
2891
|
return false;
|
|
1964
2892
|
}, "hasHeader");
|
|
1965
2893
|
|
|
1966
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2894
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js
|
|
1967
2895
|
init_esm_shims();
|
|
1968
2896
|
var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => {
|
|
1969
2897
|
const { headers, query = {} } = HttpRequest.clone(request);
|
|
@@ -1981,7 +2909,7 @@ var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => {
|
|
|
1981
2909
|
};
|
|
1982
2910
|
}, "moveHeadersToQuery");
|
|
1983
2911
|
|
|
1984
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2912
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js
|
|
1985
2913
|
init_esm_shims();
|
|
1986
2914
|
var prepareRequest = /* @__PURE__ */ __name((request) => {
|
|
1987
2915
|
request = HttpRequest.clone(request);
|
|
@@ -1993,10 +2921,10 @@ var prepareRequest = /* @__PURE__ */ __name((request) => {
|
|
|
1993
2921
|
return request;
|
|
1994
2922
|
}, "prepareRequest");
|
|
1995
2923
|
|
|
1996
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2924
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js
|
|
1997
2925
|
init_esm_shims();
|
|
1998
2926
|
|
|
1999
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2927
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js
|
|
2000
2928
|
init_esm_shims();
|
|
2001
2929
|
var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => {
|
|
2002
2930
|
const keys = [];
|
|
@@ -2019,7 +2947,7 @@ var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => {
|
|
|
2019
2947
|
return keys.sort().map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
2020
2948
|
}, "getCanonicalQuery");
|
|
2021
2949
|
|
|
2022
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2950
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/utilDate.js
|
|
2023
2951
|
init_esm_shims();
|
|
2024
2952
|
var iso8601 = /* @__PURE__ */ __name((time) => toDate(time).toISOString().replace(/\.\d{3}Z$/, "Z"), "iso8601");
|
|
2025
2953
|
var toDate = /* @__PURE__ */ __name((time) => {
|
|
@@ -2035,11 +2963,17 @@ var toDate = /* @__PURE__ */ __name((time) => {
|
|
|
2035
2963
|
return time;
|
|
2036
2964
|
}, "toDate");
|
|
2037
2965
|
|
|
2038
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
2966
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js
|
|
2039
2967
|
var SignatureV4Base = class {
|
|
2040
2968
|
static {
|
|
2041
2969
|
__name(this, "SignatureV4Base");
|
|
2042
2970
|
}
|
|
2971
|
+
service;
|
|
2972
|
+
regionProvider;
|
|
2973
|
+
credentialProvider;
|
|
2974
|
+
sha256;
|
|
2975
|
+
uriEscapePath;
|
|
2976
|
+
applyChecksum;
|
|
2043
2977
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
2044
2978
|
this.service = service;
|
|
2045
2979
|
this.sha256 = sha256;
|
|
@@ -2102,11 +3036,12 @@ ${toHex(hashedRequest)}`;
|
|
|
2102
3036
|
}
|
|
2103
3037
|
};
|
|
2104
3038
|
|
|
2105
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.
|
|
3039
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@5.3.5/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js
|
|
2106
3040
|
var SignatureV4 = class extends SignatureV4Base {
|
|
2107
3041
|
static {
|
|
2108
3042
|
__name(this, "SignatureV4");
|
|
2109
3043
|
}
|
|
3044
|
+
headerFormatter = new HeaderFormatter();
|
|
2110
3045
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true }) {
|
|
2111
3046
|
super({
|
|
2112
3047
|
applyChecksum,
|
|
@@ -2116,7 +3051,6 @@ var SignatureV4 = class extends SignatureV4Base {
|
|
|
2116
3051
|
sha256,
|
|
2117
3052
|
uriEscapePath
|
|
2118
3053
|
});
|
|
2119
|
-
this.headerFormatter = new HeaderFormatter();
|
|
2120
3054
|
}
|
|
2121
3055
|
async presign(originalRequest, options = {}) {
|
|
2122
3056
|
const { signingDate = /* @__PURE__ */ new Date(), expiresIn = 3600, unsignableHeaders, unhoistableHeaders, signableHeaders, hoistableHeaders, signingRegion, signingService } = options;
|
|
@@ -2237,9 +3171,6 @@ var SignatureV4 = class extends SignatureV4Base {
|
|
|
2237
3171
|
}
|
|
2238
3172
|
};
|
|
2239
3173
|
|
|
2240
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@5.1.3/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js
|
|
2241
|
-
init_esm_shims();
|
|
2242
|
-
|
|
2243
3174
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js
|
|
2244
3175
|
var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
2245
3176
|
let inputCredentials = config.credentials;
|
|
@@ -2368,6 +3299,156 @@ __name(bindCallerConfig, "bindCallerConfig");
|
|
|
2368
3299
|
|
|
2369
3300
|
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js
|
|
2370
3301
|
init_esm_shims();
|
|
3302
|
+
|
|
3303
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js
|
|
3304
|
+
init_esm_shims();
|
|
3305
|
+
|
|
3306
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js
|
|
3307
|
+
init_esm_shims();
|
|
3308
|
+
var throwDefaultError = /* @__PURE__ */ __name(({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
3309
|
+
const $metadata = deserializeMetadata(output);
|
|
3310
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : void 0;
|
|
3311
|
+
const response = new exceptionCtor({
|
|
3312
|
+
name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError",
|
|
3313
|
+
$fault: "client",
|
|
3314
|
+
$metadata
|
|
3315
|
+
});
|
|
3316
|
+
throw decorateServiceException(response, parsedBody);
|
|
3317
|
+
}, "throwDefaultError");
|
|
3318
|
+
var withBaseException = /* @__PURE__ */ __name((ExceptionCtor) => {
|
|
3319
|
+
return ({ output, parsedBody, errorCode }) => {
|
|
3320
|
+
throwDefaultError({
|
|
3321
|
+
output,
|
|
3322
|
+
parsedBody,
|
|
3323
|
+
exceptionCtor: ExceptionCtor,
|
|
3324
|
+
errorCode
|
|
3325
|
+
});
|
|
3326
|
+
};
|
|
3327
|
+
}, "withBaseException");
|
|
3328
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3329
|
+
httpStatusCode: output.statusCode,
|
|
3330
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3331
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3332
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3333
|
+
}), "deserializeMetadata");
|
|
3334
|
+
|
|
3335
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js
|
|
3336
|
+
init_esm_shims();
|
|
3337
|
+
var loadConfigsForDefaultMode = /* @__PURE__ */ __name((mode) => {
|
|
3338
|
+
switch (mode) {
|
|
3339
|
+
case "standard":
|
|
3340
|
+
return {
|
|
3341
|
+
retryMode: "standard",
|
|
3342
|
+
connectionTimeout: 3100
|
|
3343
|
+
};
|
|
3344
|
+
case "in-region":
|
|
3345
|
+
return {
|
|
3346
|
+
retryMode: "standard",
|
|
3347
|
+
connectionTimeout: 1100
|
|
3348
|
+
};
|
|
3349
|
+
case "cross-region":
|
|
3350
|
+
return {
|
|
3351
|
+
retryMode: "standard",
|
|
3352
|
+
connectionTimeout: 3100
|
|
3353
|
+
};
|
|
3354
|
+
case "mobile":
|
|
3355
|
+
return {
|
|
3356
|
+
retryMode: "standard",
|
|
3357
|
+
connectionTimeout: 3e4
|
|
3358
|
+
};
|
|
3359
|
+
default:
|
|
3360
|
+
return {};
|
|
3361
|
+
}
|
|
3362
|
+
}, "loadConfigsForDefaultMode");
|
|
3363
|
+
|
|
3364
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js
|
|
3365
|
+
init_esm_shims();
|
|
3366
|
+
var warningEmitted = false;
|
|
3367
|
+
var emitWarningIfUnsupportedVersion2 = /* @__PURE__ */ __name((version) => {
|
|
3368
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
3369
|
+
warningEmitted = true;
|
|
3370
|
+
}
|
|
3371
|
+
}, "emitWarningIfUnsupportedVersion");
|
|
3372
|
+
|
|
3373
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
|
|
3374
|
+
init_esm_shims();
|
|
3375
|
+
|
|
3376
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
|
|
3377
|
+
init_esm_shims();
|
|
3378
|
+
var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
3379
|
+
const checksumAlgorithms = [];
|
|
3380
|
+
for (const id in AlgorithmId) {
|
|
3381
|
+
const algorithmId = AlgorithmId[id];
|
|
3382
|
+
if (runtimeConfig[algorithmId] === void 0) {
|
|
3383
|
+
continue;
|
|
3384
|
+
}
|
|
3385
|
+
checksumAlgorithms.push({
|
|
3386
|
+
algorithmId: /* @__PURE__ */ __name(() => algorithmId, "algorithmId"),
|
|
3387
|
+
checksumConstructor: /* @__PURE__ */ __name(() => runtimeConfig[algorithmId], "checksumConstructor")
|
|
3388
|
+
});
|
|
3389
|
+
}
|
|
3390
|
+
return {
|
|
3391
|
+
addChecksumAlgorithm(algo) {
|
|
3392
|
+
checksumAlgorithms.push(algo);
|
|
3393
|
+
},
|
|
3394
|
+
checksumAlgorithms() {
|
|
3395
|
+
return checksumAlgorithms;
|
|
3396
|
+
}
|
|
3397
|
+
};
|
|
3398
|
+
}, "getChecksumConfiguration");
|
|
3399
|
+
var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => {
|
|
3400
|
+
const runtimeConfig = {};
|
|
3401
|
+
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
3402
|
+
runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();
|
|
3403
|
+
});
|
|
3404
|
+
return runtimeConfig;
|
|
3405
|
+
}, "resolveChecksumRuntimeConfig");
|
|
3406
|
+
|
|
3407
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js
|
|
3408
|
+
init_esm_shims();
|
|
3409
|
+
var getRetryConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
3410
|
+
return {
|
|
3411
|
+
setRetryStrategy(retryStrategy) {
|
|
3412
|
+
runtimeConfig.retryStrategy = retryStrategy;
|
|
3413
|
+
},
|
|
3414
|
+
retryStrategy() {
|
|
3415
|
+
return runtimeConfig.retryStrategy;
|
|
3416
|
+
}
|
|
3417
|
+
};
|
|
3418
|
+
}, "getRetryConfiguration");
|
|
3419
|
+
var resolveRetryRuntimeConfig = /* @__PURE__ */ __name((retryStrategyConfiguration) => {
|
|
3420
|
+
const runtimeConfig = {};
|
|
3421
|
+
runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy();
|
|
3422
|
+
return runtimeConfig;
|
|
3423
|
+
}, "resolveRetryRuntimeConfig");
|
|
3424
|
+
|
|
3425
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
|
|
3426
|
+
var getDefaultExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
3427
|
+
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
3428
|
+
}, "getDefaultExtensionConfiguration");
|
|
3429
|
+
var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
3430
|
+
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
3431
|
+
}, "resolveDefaultRuntimeConfig");
|
|
3432
|
+
|
|
3433
|
+
// ../../node_modules/.pnpm/@smithy+smithy-client@4.9.8/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js
|
|
3434
|
+
init_esm_shims();
|
|
3435
|
+
var NoOpLogger = class {
|
|
3436
|
+
static {
|
|
3437
|
+
__name(this, "NoOpLogger");
|
|
3438
|
+
}
|
|
3439
|
+
trace() {
|
|
3440
|
+
}
|
|
3441
|
+
debug() {
|
|
3442
|
+
}
|
|
3443
|
+
info() {
|
|
3444
|
+
}
|
|
3445
|
+
warn() {
|
|
3446
|
+
}
|
|
3447
|
+
error() {
|
|
3448
|
+
}
|
|
3449
|
+
};
|
|
3450
|
+
|
|
3451
|
+
// ../../node_modules/.pnpm/@aws-sdk+core@3.879.0/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js
|
|
2371
3452
|
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body)), "collectBodyString");
|
|
2372
3453
|
|
|
2373
3454
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js
|
|
@@ -2537,23 +3618,38 @@ var getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({
|
|
|
2537
3618
|
// ../../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.879.0/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js
|
|
2538
3619
|
init_esm_shims();
|
|
2539
3620
|
|
|
2540
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.
|
|
3621
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
2541
3622
|
init_esm_shims();
|
|
2542
3623
|
|
|
2543
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.
|
|
3624
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js
|
|
3625
|
+
init_esm_shims();
|
|
3626
|
+
var validRegions = /* @__PURE__ */ new Set();
|
|
3627
|
+
var checkRegion = /* @__PURE__ */ __name((region, check = isValidHostLabel) => {
|
|
3628
|
+
if (!validRegions.has(region) && !check(region)) {
|
|
3629
|
+
if (region === "*") {
|
|
3630
|
+
console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
|
|
3631
|
+
} else {
|
|
3632
|
+
throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
|
|
3633
|
+
}
|
|
3634
|
+
} else {
|
|
3635
|
+
validRegions.add(region);
|
|
3636
|
+
}
|
|
3637
|
+
}, "checkRegion");
|
|
3638
|
+
|
|
3639
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
2544
3640
|
init_esm_shims();
|
|
2545
3641
|
|
|
2546
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.
|
|
3642
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js
|
|
2547
3643
|
init_esm_shims();
|
|
2548
3644
|
var isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")), "isFipsRegion");
|
|
2549
3645
|
|
|
2550
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.
|
|
3646
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js
|
|
2551
3647
|
var getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? [
|
|
2552
3648
|
"fips-aws-global",
|
|
2553
3649
|
"aws-fips"
|
|
2554
3650
|
].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region, "getRealRegion");
|
|
2555
3651
|
|
|
2556
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.
|
|
3652
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js
|
|
2557
3653
|
var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
2558
3654
|
const { region, useFipsEndpoint } = input;
|
|
2559
3655
|
if (!region) {
|
|
@@ -2561,11 +3657,10 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
|
2561
3657
|
}
|
|
2562
3658
|
return Object.assign(input, {
|
|
2563
3659
|
region: /* @__PURE__ */ __name(async () => {
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
return getRealRegion(providedRegion);
|
|
3660
|
+
const providedRegion = typeof region === "function" ? await region() : region;
|
|
3661
|
+
const realRegion = getRealRegion(providedRegion);
|
|
3662
|
+
checkRegion(realRegion);
|
|
3663
|
+
return realRegion;
|
|
2569
3664
|
}, "region"),
|
|
2570
3665
|
useFipsEndpoint: /* @__PURE__ */ __name(async () => {
|
|
2571
3666
|
const providedRegion = typeof region === "string" ? region : await region();
|
|
@@ -2577,109 +3672,7 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
|
2577
3672
|
});
|
|
2578
3673
|
}, "resolveRegionConfig");
|
|
2579
3674
|
|
|
2580
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2581
|
-
init_esm_shims();
|
|
2582
|
-
|
|
2583
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js
|
|
2584
|
-
init_esm_shims();
|
|
2585
|
-
|
|
2586
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
2587
|
-
init_esm_shims();
|
|
2588
|
-
|
|
2589
|
-
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/index.js
|
|
2590
|
-
init_esm_shims();
|
|
2591
|
-
|
|
2592
|
-
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js
|
|
2593
|
-
init_esm_shims();
|
|
2594
|
-
var booleanSelector = /* @__PURE__ */ __name((obj, key, type) => {
|
|
2595
|
-
if (!(key in obj)) return void 0;
|
|
2596
|
-
if (obj[key] === "true") return true;
|
|
2597
|
-
if (obj[key] === "false") return false;
|
|
2598
|
-
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
2599
|
-
}, "booleanSelector");
|
|
2600
|
-
|
|
2601
|
-
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js
|
|
2602
|
-
init_esm_shims();
|
|
2603
|
-
|
|
2604
|
-
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.0.0/node_modules/@smithy/util-config-provider/dist-es/types.js
|
|
2605
|
-
init_esm_shims();
|
|
2606
|
-
var SelectorType;
|
|
2607
|
-
(function(SelectorType2) {
|
|
2608
|
-
SelectorType2["ENV"] = "env";
|
|
2609
|
-
SelectorType2["CONFIG"] = "shared config entry";
|
|
2610
|
-
})(SelectorType || (SelectorType = {}));
|
|
2611
|
-
|
|
2612
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
2613
|
-
var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
|
|
2614
|
-
var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
2615
|
-
var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
2616
|
-
environmentVariableSelector: /* @__PURE__ */ __name((env2) => booleanSelector(env2, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV), "environmentVariableSelector"),
|
|
2617
|
-
configFileSelector: /* @__PURE__ */ __name((profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG), "configFileSelector"),
|
|
2618
|
-
default: false
|
|
2619
|
-
};
|
|
2620
|
-
|
|
2621
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
2622
|
-
init_esm_shims();
|
|
2623
|
-
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
2624
|
-
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
2625
|
-
var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
2626
|
-
environmentVariableSelector: /* @__PURE__ */ __name((env2) => booleanSelector(env2, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV), "environmentVariableSelector"),
|
|
2627
|
-
configFileSelector: /* @__PURE__ */ __name((profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG), "configFileSelector"),
|
|
2628
|
-
default: false
|
|
2629
|
-
};
|
|
2630
|
-
|
|
2631
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js
|
|
2632
|
-
init_esm_shims();
|
|
2633
|
-
|
|
2634
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js
|
|
2635
|
-
init_esm_shims();
|
|
2636
|
-
|
|
2637
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js
|
|
2638
|
-
init_esm_shims();
|
|
2639
|
-
|
|
2640
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js
|
|
2641
|
-
init_esm_shims();
|
|
2642
|
-
|
|
2643
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
2644
|
-
init_esm_shims();
|
|
2645
|
-
var REGION_ENV_NAME = "AWS_REGION";
|
|
2646
|
-
var REGION_INI_NAME = "region";
|
|
2647
|
-
var NODE_REGION_CONFIG_OPTIONS = {
|
|
2648
|
-
environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[REGION_ENV_NAME], "environmentVariableSelector"),
|
|
2649
|
-
configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], "configFileSelector"),
|
|
2650
|
-
default: /* @__PURE__ */ __name(() => {
|
|
2651
|
-
throw new Error("Region is missing");
|
|
2652
|
-
}, "default")
|
|
2653
|
-
};
|
|
2654
|
-
var NODE_REGION_CONFIG_FILE_OPTIONS = {
|
|
2655
|
-
preferredFile: "credentials"
|
|
2656
|
-
};
|
|
2657
|
-
|
|
2658
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js
|
|
2659
|
-
init_esm_shims();
|
|
2660
|
-
|
|
2661
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js
|
|
2662
|
-
init_esm_shims();
|
|
2663
|
-
|
|
2664
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js
|
|
2665
|
-
init_esm_shims();
|
|
2666
|
-
|
|
2667
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js
|
|
2668
|
-
init_esm_shims();
|
|
2669
|
-
|
|
2670
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js
|
|
2671
|
-
init_esm_shims();
|
|
2672
|
-
|
|
2673
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js
|
|
2674
|
-
init_esm_shims();
|
|
2675
|
-
|
|
2676
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js
|
|
2677
|
-
init_esm_shims();
|
|
2678
|
-
|
|
2679
|
-
// ../../node_modules/.pnpm/@smithy+config-resolver@4.1.5/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js
|
|
2680
|
-
init_esm_shims();
|
|
2681
|
-
|
|
2682
|
-
// ../../node_modules/.pnpm/@smithy+middleware-content-length@4.0.5/node_modules/@smithy/middleware-content-length/dist-es/index.js
|
|
3675
|
+
// ../../node_modules/.pnpm/@smithy+middleware-content-length@4.2.5/node_modules/@smithy/middleware-content-length/dist-es/index.js
|
|
2683
3676
|
init_esm_shims();
|
|
2684
3677
|
var CONTENT_LENGTH_HEADER = "content-length";
|
|
2685
3678
|
function contentLengthMiddleware(bodyLengthChecker) {
|
|
@@ -2720,19 +3713,16 @@ var getContentLengthPlugin = /* @__PURE__ */ __name((options) => ({
|
|
|
2720
3713
|
}, "applyToStack")
|
|
2721
3714
|
}), "getContentLengthPlugin");
|
|
2722
3715
|
|
|
2723
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
2724
|
-
init_esm_shims();
|
|
2725
|
-
|
|
2726
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
3716
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
2727
3717
|
init_esm_shims();
|
|
2728
3718
|
|
|
2729
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3719
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
2730
3720
|
init_esm_shims();
|
|
2731
3721
|
|
|
2732
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3722
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
2733
3723
|
init_esm_shims();
|
|
2734
3724
|
|
|
2735
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3725
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js
|
|
2736
3726
|
init_esm_shims();
|
|
2737
3727
|
var resolveParamsForS3 = /* @__PURE__ */ __name(async (endpointParams) => {
|
|
2738
3728
|
const bucket = endpointParams?.Bucket || "";
|
|
@@ -2766,7 +3756,7 @@ var isArnBucketName = /* @__PURE__ */ __name((bucketName) => {
|
|
|
2766
3756
|
return isValidArn;
|
|
2767
3757
|
}, "isArnBucketName");
|
|
2768
3758
|
|
|
2769
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3759
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js
|
|
2770
3760
|
init_esm_shims();
|
|
2771
3761
|
var createConfigValueProvider = /* @__PURE__ */ __name((configKey, canonicalEndpointParamKey, config) => {
|
|
2772
3762
|
const configProvider = /* @__PURE__ */ __name(async () => {
|
|
@@ -2811,10 +3801,10 @@ var createConfigValueProvider = /* @__PURE__ */ __name((configKey, canonicalEndp
|
|
|
2811
3801
|
return configProvider;
|
|
2812
3802
|
}, "createConfigValueProvider");
|
|
2813
3803
|
|
|
2814
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3804
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js
|
|
2815
3805
|
init_esm_shims();
|
|
2816
3806
|
|
|
2817
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3807
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js
|
|
2818
3808
|
init_esm_shims();
|
|
2819
3809
|
var ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL";
|
|
2820
3810
|
var CONFIG_ENDPOINT_URL = "endpoint_url";
|
|
@@ -2852,10 +3842,10 @@ var getEndpointUrlConfig = /* @__PURE__ */ __name((serviceId) => ({
|
|
|
2852
3842
|
default: void 0
|
|
2853
3843
|
}), "getEndpointUrlConfig");
|
|
2854
3844
|
|
|
2855
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3845
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js
|
|
2856
3846
|
var getEndpointFromConfig = /* @__PURE__ */ __name(async (serviceId) => loadConfig(getEndpointUrlConfig(serviceId ?? ""))(), "getEndpointFromConfig");
|
|
2857
3847
|
|
|
2858
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3848
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js
|
|
2859
3849
|
init_esm_shims();
|
|
2860
3850
|
var toEndpointV1 = /* @__PURE__ */ __name((endpoint) => {
|
|
2861
3851
|
if (typeof endpoint === "object") {
|
|
@@ -2867,7 +3857,7 @@ var toEndpointV1 = /* @__PURE__ */ __name((endpoint) => {
|
|
|
2867
3857
|
return parseUrl(endpoint);
|
|
2868
3858
|
}, "toEndpointV1");
|
|
2869
3859
|
|
|
2870
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3860
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js
|
|
2871
3861
|
var getEndpointFromInstructions = /* @__PURE__ */ __name(async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
2872
3862
|
if (!clientConfig.isCustomEndpoint) {
|
|
2873
3863
|
let endpointFromConfig;
|
|
@@ -2919,7 +3909,7 @@ var resolveParams = /* @__PURE__ */ __name(async (commandInput, instructionsSupp
|
|
|
2919
3909
|
return endpointParams;
|
|
2920
3910
|
}, "resolveParams");
|
|
2921
3911
|
|
|
2922
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3912
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
2923
3913
|
var endpointMiddleware = /* @__PURE__ */ __name(({ config, instructions }) => {
|
|
2924
3914
|
return (next, context) => async (args) => {
|
|
2925
3915
|
if (config.isCustomEndpoint) {
|
|
@@ -2956,7 +3946,7 @@ var endpointMiddleware = /* @__PURE__ */ __name(({ config, instructions }) => {
|
|
|
2956
3946
|
};
|
|
2957
3947
|
}, "endpointMiddleware");
|
|
2958
3948
|
|
|
2959
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3949
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
2960
3950
|
var endpointMiddlewareOptions = {
|
|
2961
3951
|
step: "serialize",
|
|
2962
3952
|
tags: [
|
|
@@ -2978,7 +3968,7 @@ var getEndpointPlugin = /* @__PURE__ */ __name((config, instructions) => ({
|
|
|
2978
3968
|
}, "applyToStack")
|
|
2979
3969
|
}), "getEndpointPlugin");
|
|
2980
3970
|
|
|
2981
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.
|
|
3971
|
+
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.3.12/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js
|
|
2982
3972
|
init_esm_shims();
|
|
2983
3973
|
var resolveEndpointConfig = /* @__PURE__ */ __name((input) => {
|
|
2984
3974
|
const tls = input.tls ?? true;
|
|
@@ -3002,28 +3992,13 @@ var resolveEndpointConfig = /* @__PURE__ */ __name((input) => {
|
|
|
3002
3992
|
return resolvedConfig;
|
|
3003
3993
|
}, "resolveEndpointConfig");
|
|
3004
3994
|
|
|
3005
|
-
// ../../node_modules/.pnpm/@smithy+middleware-
|
|
3006
|
-
init_esm_shims();
|
|
3007
|
-
|
|
3008
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js
|
|
3009
|
-
init_esm_shims();
|
|
3010
|
-
|
|
3011
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js
|
|
3012
|
-
init_esm_shims();
|
|
3013
|
-
|
|
3014
|
-
// ../../node_modules/.pnpm/@smithy+middleware-endpoint@4.1.20/node_modules/@smithy/middleware-endpoint/dist-es/types.js
|
|
3015
|
-
init_esm_shims();
|
|
3016
|
-
|
|
3017
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
3018
|
-
init_esm_shims();
|
|
3019
|
-
|
|
3020
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/index.js
|
|
3995
|
+
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.4.12/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
3021
3996
|
init_esm_shims();
|
|
3022
3997
|
|
|
3023
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
3998
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js
|
|
3024
3999
|
init_esm_shims();
|
|
3025
4000
|
|
|
3026
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4001
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/config.js
|
|
3027
4002
|
init_esm_shims();
|
|
3028
4003
|
var RETRY_MODES;
|
|
3029
4004
|
(function(RETRY_MODES2) {
|
|
@@ -3033,13 +4008,13 @@ var RETRY_MODES;
|
|
|
3033
4008
|
var DEFAULT_MAX_ATTEMPTS = 3;
|
|
3034
4009
|
var DEFAULT_RETRY_MODE = RETRY_MODES.STANDARD;
|
|
3035
4010
|
|
|
3036
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4011
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js
|
|
3037
4012
|
init_esm_shims();
|
|
3038
4013
|
|
|
3039
|
-
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.
|
|
4014
|
+
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.2.5/node_modules/@smithy/service-error-classification/dist-es/index.js
|
|
3040
4015
|
init_esm_shims();
|
|
3041
4016
|
|
|
3042
|
-
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.
|
|
4017
|
+
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.2.5/node_modules/@smithy/service-error-classification/dist-es/constants.js
|
|
3043
4018
|
init_esm_shims();
|
|
3044
4019
|
var THROTTLING_ERROR_CODES = [
|
|
3045
4020
|
"BandwidthLimitExceeded",
|
|
@@ -3080,7 +4055,8 @@ var NODEJS_NETWORK_ERROR_CODES = [
|
|
|
3080
4055
|
"ENOTFOUND"
|
|
3081
4056
|
];
|
|
3082
4057
|
|
|
3083
|
-
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.
|
|
4058
|
+
// ../../node_modules/.pnpm/@smithy+service-error-classification@4.2.5/node_modules/@smithy/service-error-classification/dist-es/index.js
|
|
4059
|
+
var isRetryableByTrait = /* @__PURE__ */ __name((error) => error?.$retryable !== void 0, "isRetryableByTrait");
|
|
3084
4060
|
var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => error.$metadata?.clockSkewCorrected, "isClockSkewCorrectedError");
|
|
3085
4061
|
var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
|
|
3086
4062
|
const errorMessages = /* @__PURE__ */ new Set([
|
|
@@ -3097,7 +4073,7 @@ var isBrowserNetworkError = /* @__PURE__ */ __name((error) => {
|
|
|
3097
4073
|
return errorMessages.has(error.message);
|
|
3098
4074
|
}, "isBrowserNetworkError");
|
|
3099
4075
|
var isThrottlingError = /* @__PURE__ */ __name((error) => error.$metadata?.httpStatusCode === 429 || THROTTLING_ERROR_CODES.includes(error.name) || error.$retryable?.throttling == true, "isThrottlingError");
|
|
3100
|
-
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
4076
|
+
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => isRetryableByTrait(error) || isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") || NODEJS_NETWORK_ERROR_CODES.includes(error?.code || "") || TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) || isBrowserNetworkError(error) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1), "isTransientError");
|
|
3101
4077
|
var isServerError = /* @__PURE__ */ __name((error) => {
|
|
3102
4078
|
if (error.$metadata?.httpStatusCode !== void 0) {
|
|
3103
4079
|
const statusCode = error.$metadata.httpStatusCode;
|
|
@@ -3109,19 +4085,29 @@ var isServerError = /* @__PURE__ */ __name((error) => {
|
|
|
3109
4085
|
return false;
|
|
3110
4086
|
}, "isServerError");
|
|
3111
4087
|
|
|
3112
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4088
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js
|
|
3113
4089
|
var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
3114
4090
|
static {
|
|
3115
4091
|
__name(this, "DefaultRateLimiter");
|
|
3116
4092
|
}
|
|
4093
|
+
static setTimeoutFn = setTimeout;
|
|
4094
|
+
beta;
|
|
4095
|
+
minCapacity;
|
|
4096
|
+
minFillRate;
|
|
4097
|
+
scaleConstant;
|
|
4098
|
+
smooth;
|
|
4099
|
+
currentCapacity = 0;
|
|
4100
|
+
enabled = false;
|
|
4101
|
+
lastMaxRate = 0;
|
|
4102
|
+
measuredTxRate = 0;
|
|
4103
|
+
requestCount = 0;
|
|
4104
|
+
fillRate;
|
|
4105
|
+
lastThrottleTime;
|
|
4106
|
+
lastTimestamp = 0;
|
|
4107
|
+
lastTxRateBucket;
|
|
4108
|
+
maxCapacity;
|
|
4109
|
+
timeWindow = 0;
|
|
3117
4110
|
constructor(options) {
|
|
3118
|
-
this.currentCapacity = 0;
|
|
3119
|
-
this.enabled = false;
|
|
3120
|
-
this.lastMaxRate = 0;
|
|
3121
|
-
this.measuredTxRate = 0;
|
|
3122
|
-
this.requestCount = 0;
|
|
3123
|
-
this.lastTimestamp = 0;
|
|
3124
|
-
this.timeWindow = 0;
|
|
3125
4111
|
this.beta = options?.beta ?? 0.7;
|
|
3126
4112
|
this.minCapacity = options?.minCapacity ?? 1;
|
|
3127
4113
|
this.minFillRate = options?.minFillRate ?? 0.5;
|
|
@@ -3210,12 +4196,11 @@ var DefaultRateLimiter = class _DefaultRateLimiter {
|
|
|
3210
4196
|
return parseFloat(num.toFixed(8));
|
|
3211
4197
|
}
|
|
3212
4198
|
};
|
|
3213
|
-
DefaultRateLimiter.setTimeoutFn = setTimeout;
|
|
3214
4199
|
|
|
3215
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4200
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js
|
|
3216
4201
|
init_esm_shims();
|
|
3217
4202
|
|
|
3218
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4203
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/constants.js
|
|
3219
4204
|
init_esm_shims();
|
|
3220
4205
|
var DEFAULT_RETRY_DELAY_BASE = 100;
|
|
3221
4206
|
var MAXIMUM_RETRY_DELAY = 20 * 1e3;
|
|
@@ -3227,7 +4212,7 @@ var NO_RETRY_INCREMENT = 1;
|
|
|
3227
4212
|
var INVOCATION_ID_HEADER = "amz-sdk-invocation-id";
|
|
3228
4213
|
var REQUEST_HEADER = "amz-sdk-request";
|
|
3229
4214
|
|
|
3230
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4215
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js
|
|
3231
4216
|
init_esm_shims();
|
|
3232
4217
|
var getDefaultRetryBackoffStrategy = /* @__PURE__ */ __name(() => {
|
|
3233
4218
|
let delayBase = DEFAULT_RETRY_DELAY_BASE;
|
|
@@ -3243,7 +4228,7 @@ var getDefaultRetryBackoffStrategy = /* @__PURE__ */ __name(() => {
|
|
|
3243
4228
|
};
|
|
3244
4229
|
}, "getDefaultRetryBackoffStrategy");
|
|
3245
4230
|
|
|
3246
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4231
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js
|
|
3247
4232
|
init_esm_shims();
|
|
3248
4233
|
var createDefaultRetryToken = /* @__PURE__ */ __name(({ retryDelay, retryCount, retryCost }) => {
|
|
3249
4234
|
const getRetryCount = /* @__PURE__ */ __name(() => retryCount, "getRetryCount");
|
|
@@ -3256,16 +4241,18 @@ var createDefaultRetryToken = /* @__PURE__ */ __name(({ retryDelay, retryCount,
|
|
|
3256
4241
|
};
|
|
3257
4242
|
}, "createDefaultRetryToken");
|
|
3258
4243
|
|
|
3259
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4244
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js
|
|
3260
4245
|
var StandardRetryStrategy = class {
|
|
3261
4246
|
static {
|
|
3262
4247
|
__name(this, "StandardRetryStrategy");
|
|
3263
4248
|
}
|
|
4249
|
+
maxAttempts;
|
|
4250
|
+
mode = RETRY_MODES.STANDARD;
|
|
4251
|
+
capacity = INITIAL_RETRY_TOKENS;
|
|
4252
|
+
retryBackoffStrategy = getDefaultRetryBackoffStrategy();
|
|
4253
|
+
maxAttemptsProvider;
|
|
3264
4254
|
constructor(maxAttempts) {
|
|
3265
4255
|
this.maxAttempts = maxAttempts;
|
|
3266
|
-
this.mode = RETRY_MODES.STANDARD;
|
|
3267
|
-
this.capacity = INITIAL_RETRY_TOKENS;
|
|
3268
|
-
this.retryBackoffStrategy = getDefaultRetryBackoffStrategy();
|
|
3269
4256
|
this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts;
|
|
3270
4257
|
}
|
|
3271
4258
|
async acquireInitialRetryToken(retryTokenScope) {
|
|
@@ -3317,14 +4304,17 @@ var StandardRetryStrategy = class {
|
|
|
3317
4304
|
}
|
|
3318
4305
|
};
|
|
3319
4306
|
|
|
3320
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.
|
|
4307
|
+
// ../../node_modules/.pnpm/@smithy+util-retry@4.2.5/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js
|
|
3321
4308
|
var AdaptiveRetryStrategy = class {
|
|
3322
4309
|
static {
|
|
3323
4310
|
__name(this, "AdaptiveRetryStrategy");
|
|
3324
4311
|
}
|
|
4312
|
+
maxAttemptsProvider;
|
|
4313
|
+
rateLimiter;
|
|
4314
|
+
standardRetryStrategy;
|
|
4315
|
+
mode = RETRY_MODES.ADAPTIVE;
|
|
3325
4316
|
constructor(maxAttemptsProvider, options) {
|
|
3326
4317
|
this.maxAttemptsProvider = maxAttemptsProvider;
|
|
3327
|
-
this.mode = RETRY_MODES.ADAPTIVE;
|
|
3328
4318
|
const { rateLimiter } = options ?? {};
|
|
3329
4319
|
this.rateLimiter = rateLimiter ?? new DefaultRateLimiter();
|
|
3330
4320
|
this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider);
|
|
@@ -3343,13 +4333,7 @@ var AdaptiveRetryStrategy = class {
|
|
|
3343
4333
|
}
|
|
3344
4334
|
};
|
|
3345
4335
|
|
|
3346
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
3347
|
-
init_esm_shims();
|
|
3348
|
-
|
|
3349
|
-
// ../../node_modules/.pnpm/@smithy+util-retry@4.0.7/node_modules/@smithy/util-retry/dist-es/types.js
|
|
3350
|
-
init_esm_shims();
|
|
3351
|
-
|
|
3352
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
4336
|
+
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.4.12/node_modules/@smithy/middleware-retry/dist-es/configurations.js
|
|
3353
4337
|
var ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
|
|
3354
4338
|
var CONFIG_MAX_ATTEMPTS = "max_attempts";
|
|
3355
4339
|
var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = {
|
|
@@ -3398,14 +4382,14 @@ var NODE_RETRY_MODE_CONFIG_OPTIONS = {
|
|
|
3398
4382
|
default: DEFAULT_RETRY_MODE
|
|
3399
4383
|
};
|
|
3400
4384
|
|
|
3401
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.
|
|
4385
|
+
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.4.12/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js
|
|
3402
4386
|
init_esm_shims();
|
|
3403
4387
|
|
|
3404
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.
|
|
4388
|
+
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.4.12/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js
|
|
3405
4389
|
init_esm_shims();
|
|
3406
4390
|
var isStreamingPayload = /* @__PURE__ */ __name((request) => request?.body instanceof Readable || typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream, "isStreamingPayload");
|
|
3407
4391
|
|
|
3408
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.
|
|
4392
|
+
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.4.12/node_modules/@smithy/middleware-retry/dist-es/util.js
|
|
3409
4393
|
init_esm_shims();
|
|
3410
4394
|
var asSdkError = /* @__PURE__ */ __name((error) => {
|
|
3411
4395
|
if (error instanceof Error) return error;
|
|
@@ -3414,7 +4398,7 @@ var asSdkError = /* @__PURE__ */ __name((error) => {
|
|
|
3414
4398
|
return new Error(`AWS SDK error wrapper for ${error}`);
|
|
3415
4399
|
}, "asSdkError");
|
|
3416
4400
|
|
|
3417
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.
|
|
4401
|
+
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.4.12/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js
|
|
3418
4402
|
var retryMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => {
|
|
3419
4403
|
let retryStrategy = await options.retryStrategy();
|
|
3420
4404
|
const maxAttempts = await options.maxAttempts();
|
|
@@ -3427,7 +4411,7 @@ var retryMiddleware = /* @__PURE__ */ __name((options) => (next, context) => asy
|
|
|
3427
4411
|
const { request } = args;
|
|
3428
4412
|
const isRequest = HttpRequest.isInstance(request);
|
|
3429
4413
|
if (isRequest) {
|
|
3430
|
-
request.headers[INVOCATION_ID_HEADER] =
|
|
4414
|
+
request.headers[INVOCATION_ID_HEADER] = v4();
|
|
3431
4415
|
}
|
|
3432
4416
|
while (true) {
|
|
3433
4417
|
try {
|
|
@@ -3520,26 +4504,59 @@ var getRetryAfterHint = /* @__PURE__ */ __name((response) => {
|
|
|
3520
4504
|
return retryAfterDate;
|
|
3521
4505
|
}, "getRetryAfterHint");
|
|
3522
4506
|
|
|
3523
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
3524
|
-
init_esm_shims();
|
|
3525
|
-
|
|
3526
|
-
// ../../node_modules/.pnpm/@smithy+middleware-retry@4.1.21/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js
|
|
4507
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
3527
4508
|
init_esm_shims();
|
|
3528
4509
|
|
|
3529
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
4510
|
+
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.2.0/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js
|
|
3530
4511
|
init_esm_shims();
|
|
4512
|
+
var booleanSelector = /* @__PURE__ */ __name((obj, key, type) => {
|
|
4513
|
+
if (!(key in obj)) return void 0;
|
|
4514
|
+
if (obj[key] === "true") return true;
|
|
4515
|
+
if (obj[key] === "false") return false;
|
|
4516
|
+
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
4517
|
+
}, "booleanSelector");
|
|
3531
4518
|
|
|
3532
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
4519
|
+
// ../../node_modules/.pnpm/@smithy+util-config-provider@4.2.0/node_modules/@smithy/util-config-provider/dist-es/types.js
|
|
3533
4520
|
init_esm_shims();
|
|
4521
|
+
var SelectorType;
|
|
4522
|
+
(function(SelectorType2) {
|
|
4523
|
+
SelectorType2["ENV"] = "env";
|
|
4524
|
+
SelectorType2["CONFIG"] = "shared config entry";
|
|
4525
|
+
})(SelectorType || (SelectorType = {}));
|
|
3534
4526
|
|
|
3535
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
3536
|
-
|
|
4527
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js
|
|
4528
|
+
var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
|
|
4529
|
+
var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
|
|
4530
|
+
var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
|
|
4531
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env2) => booleanSelector(env2, ENV_USE_DUALSTACK_ENDPOINT, SelectorType.ENV), "environmentVariableSelector"),
|
|
4532
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, SelectorType.CONFIG), "configFileSelector"),
|
|
4533
|
+
default: false
|
|
4534
|
+
};
|
|
3537
4535
|
|
|
3538
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
4536
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js
|
|
3539
4537
|
init_esm_shims();
|
|
4538
|
+
var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
|
|
4539
|
+
var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
|
|
4540
|
+
var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
|
|
4541
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env2) => booleanSelector(env2, ENV_USE_FIPS_ENDPOINT, SelectorType.ENV), "environmentVariableSelector"),
|
|
4542
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, SelectorType.CONFIG), "configFileSelector"),
|
|
4543
|
+
default: false
|
|
4544
|
+
};
|
|
3540
4545
|
|
|
3541
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
4546
|
+
// ../../node_modules/.pnpm/@smithy+config-resolver@4.4.3/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js
|
|
3542
4547
|
init_esm_shims();
|
|
4548
|
+
var REGION_ENV_NAME = "AWS_REGION";
|
|
4549
|
+
var REGION_INI_NAME = "region";
|
|
4550
|
+
var NODE_REGION_CONFIG_OPTIONS = {
|
|
4551
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env2) => env2[REGION_ENV_NAME], "environmentVariableSelector"),
|
|
4552
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], "configFileSelector"),
|
|
4553
|
+
default: /* @__PURE__ */ __name(() => {
|
|
4554
|
+
throw new Error("Region is missing");
|
|
4555
|
+
}, "default")
|
|
4556
|
+
};
|
|
4557
|
+
var NODE_REGION_CONFIG_FILE_OPTIONS = {
|
|
4558
|
+
preferredFile: "credentials"
|
|
4559
|
+
};
|
|
3543
4560
|
|
|
3544
4561
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js
|
|
3545
4562
|
init_esm_shims();
|
|
@@ -3621,12 +4638,15 @@ var NODE_APP_ID_CONFIG_OPTIONS = {
|
|
|
3621
4638
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.879.0/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js
|
|
3622
4639
|
init_esm_shims();
|
|
3623
4640
|
|
|
3624
|
-
// ../../node_modules/.pnpm/@smithy+hash-node@4.
|
|
4641
|
+
// ../../node_modules/.pnpm/@smithy+hash-node@4.2.5/node_modules/@smithy/hash-node/dist-es/index.js
|
|
3625
4642
|
init_esm_shims();
|
|
3626
4643
|
var Hash = class {
|
|
3627
4644
|
static {
|
|
3628
4645
|
__name(this, "Hash");
|
|
3629
4646
|
}
|
|
4647
|
+
algorithmIdentifier;
|
|
4648
|
+
secret;
|
|
4649
|
+
hash;
|
|
3630
4650
|
constructor(algorithmIdentifier, secret) {
|
|
3631
4651
|
this.algorithmIdentifier = algorithmIdentifier;
|
|
3632
4652
|
this.secret = secret;
|
|
@@ -3656,7 +4676,7 @@ function castSourceData(toCast, encoding) {
|
|
|
3656
4676
|
}
|
|
3657
4677
|
__name(castSourceData, "castSourceData");
|
|
3658
4678
|
|
|
3659
|
-
// ../../node_modules/.pnpm/@smithy+util-body-length-node@4.
|
|
4679
|
+
// ../../node_modules/.pnpm/@smithy+util-body-length-node@4.2.1/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js
|
|
3660
4680
|
init_esm_shims();
|
|
3661
4681
|
var calculateBodyLength = /* @__PURE__ */ __name((body) => {
|
|
3662
4682
|
if (!body) {
|
|
@@ -3670,21 +4690,20 @@ var calculateBodyLength = /* @__PURE__ */ __name((body) => {
|
|
|
3670
4690
|
return body.size;
|
|
3671
4691
|
} else if (typeof body.start === "number" && typeof body.end === "number") {
|
|
3672
4692
|
return body.end + 1 - body.start;
|
|
3673
|
-
} else if (
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
4693
|
+
} else if (body instanceof ReadStream) {
|
|
4694
|
+
if (body.path != null) {
|
|
4695
|
+
return lstatSync(body.path).size;
|
|
4696
|
+
} else if (typeof body.fd === "number") {
|
|
4697
|
+
return fstatSync(body.fd).size;
|
|
4698
|
+
}
|
|
3677
4699
|
}
|
|
3678
4700
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
3679
4701
|
}, "calculateBodyLength");
|
|
3680
4702
|
|
|
3681
|
-
// ../../node_modules/.pnpm/@smithy+util-
|
|
4703
|
+
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.14/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
3682
4704
|
init_esm_shims();
|
|
3683
4705
|
|
|
3684
|
-
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.
|
|
3685
|
-
init_esm_shims();
|
|
3686
|
-
|
|
3687
|
-
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js
|
|
4706
|
+
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.14/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js
|
|
3688
4707
|
init_esm_shims();
|
|
3689
4708
|
var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV";
|
|
3690
4709
|
var AWS_REGION_ENV = "AWS_REGION";
|
|
@@ -3699,7 +4718,7 @@ var DEFAULTS_MODE_OPTIONS = [
|
|
|
3699
4718
|
];
|
|
3700
4719
|
var IMDS_REGION_PATH = "/latest/meta-data/placement/region";
|
|
3701
4720
|
|
|
3702
|
-
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.
|
|
4721
|
+
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.14/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js
|
|
3703
4722
|
init_esm_shims();
|
|
3704
4723
|
var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE";
|
|
3705
4724
|
var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode";
|
|
@@ -3713,7 +4732,7 @@ var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = {
|
|
|
3713
4732
|
default: "legacy"
|
|
3714
4733
|
};
|
|
3715
4734
|
|
|
3716
|
-
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.
|
|
4735
|
+
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.14/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js
|
|
3717
4736
|
var resolveDefaultsModeConfig = /* @__PURE__ */ __name(({ region = loadConfig(NODE_REGION_CONFIG_OPTIONS), defaultsMode = loadConfig(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) } = {}) => memoize(async () => {
|
|
3718
4737
|
const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode;
|
|
3719
4738
|
switch (mode?.toLowerCase()) {
|
|
@@ -3752,7 +4771,7 @@ var inferPhysicalRegion = /* @__PURE__ */ __name(async () => {
|
|
|
3752
4771
|
}
|
|
3753
4772
|
if (!process.env[ENV_IMDS_DISABLED]) {
|
|
3754
4773
|
try {
|
|
3755
|
-
const { getInstanceMetadataEndpoint, httpRequest } = await import('./
|
|
4774
|
+
const { getInstanceMetadataEndpoint, httpRequest } = await import('./WSES6SE2.js');
|
|
3756
4775
|
const endpoint = await getInstanceMetadataEndpoint();
|
|
3757
4776
|
return (await httpRequest({
|
|
3758
4777
|
...endpoint,
|
|
@@ -3763,9 +4782,6 @@ var inferPhysicalRegion = /* @__PURE__ */ __name(async () => {
|
|
|
3763
4782
|
}
|
|
3764
4783
|
}, "inferPhysicalRegion");
|
|
3765
4784
|
|
|
3766
|
-
// ../../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.0.28/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js
|
|
3767
|
-
init_esm_shims();
|
|
3768
|
-
|
|
3769
4785
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js
|
|
3770
4786
|
init_esm_shims();
|
|
3771
4787
|
var getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
@@ -3802,6 +4818,6 @@ init_esm_shims();
|
|
|
3802
4818
|
// ../../node_modules/.pnpm/@aws-sdk+region-config-resolver@3.873.0/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js
|
|
3803
4819
|
init_esm_shims();
|
|
3804
4820
|
|
|
3805
|
-
export { AwsSdkSigV4Signer, DEFAULT_RETRY_MODE, DefaultIdentityProviderConfig, EndpointCache, Hash, NODE_APP_ID_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, awsEndpointFunctions, calculateBodyLength, collectBodyString, createDefaultUserAgentProvider, customEndpointFunctions, emitWarningIfUnsupportedVersion, getAwsRegionExtensionConfiguration, getContentLengthPlugin, getEndpointPlugin, getHostHeaderPlugin, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getRetryPlugin, getSerdePlugin, getSmithyContext, getUserAgentPlugin, normalizeProvider, resolveAwsRegionExtensionConfiguration, resolveAwsSdkSigV4Config, resolveDefaultsModeConfig, resolveEndpoint, resolveEndpointConfig, resolveHostHeaderConfig, resolveRegionConfig, resolveRetryConfig, resolveUserAgentConfig };
|
|
3806
|
-
//# sourceMappingURL=
|
|
3807
|
-
//# sourceMappingURL=
|
|
4821
|
+
export { AwsSdkSigV4Signer, Client, Command, DEFAULT_RETRY_MODE, DefaultIdentityProviderConfig, EndpointCache, Hash, NODE_APP_ID_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NoOpLogger, ServiceException, awsEndpointFunctions, calculateBodyLength, collectBodyString, createDefaultUserAgentProvider, customEndpointFunctions, decorateServiceException, emitWarningIfUnsupportedVersion, emitWarningIfUnsupportedVersion2, getAwsRegionExtensionConfiguration, getContentLengthPlugin, getDefaultExtensionConfiguration, getEndpointPlugin, getHostHeaderPlugin, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpHandlerExtensionConfiguration, getHttpSigningPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getRetryPlugin, getSerdePlugin, getSmithyContext, getUserAgentPlugin, loadConfigsForDefaultMode, normalizeProvider, resolveAwsRegionExtensionConfiguration, resolveAwsSdkSigV4Config, resolveDefaultRuntimeConfig, resolveDefaultsModeConfig, resolveEndpoint, resolveEndpointConfig, resolveHostHeaderConfig, resolveHttpHandlerRuntimeConfig, resolveRegionConfig, resolveRetryConfig, resolveUserAgentConfig, withBaseException };
|
|
4822
|
+
//# sourceMappingURL=ZQVRXHCJ.js.map
|
|
4823
|
+
//# sourceMappingURL=ZQVRXHCJ.js.map
|