@aws/lsp-codewhisperer 0.0.27 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (595) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +62 -1
  3. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  4. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  5. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  6. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  7. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/package.json +6 -6
  8. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +9 -0
  9. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/index.js +193 -76
  10. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http-handler.js +39 -15
  11. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  12. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-handler.js +9 -1
  13. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/server.mock.js +9 -2
  14. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  15. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  16. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +22 -0
  17. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
  18. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  19. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/write-request-body.js +13 -9
  20. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  21. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +7 -0
  22. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +11 -0
  23. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -0
  24. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  25. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  26. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
  27. package/node_modules/{@smithy/node-http-handler/dist-types → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4}/set-socket-keep-alive.d.ts +7 -6
  28. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
  29. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  30. package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/package.json +10 -10
  31. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  32. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  33. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +53 -0
  34. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +53 -0
  35. package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/package.json +6 -6
  36. package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  37. package/out/client/token/bearer-token-service.json +1650 -96
  38. package/out/client/token/codewhisperer.d.ts +1 -1
  39. package/out/constants.d.ts +6 -0
  40. package/out/constants.js +7 -1
  41. package/out/constants.js.map +1 -1
  42. package/out/language-server/amazonQServiceManager/AmazonQTokenServiceManager.d.ts +90 -0
  43. package/out/language-server/amazonQServiceManager/AmazonQTokenServiceManager.js +466 -0
  44. package/out/language-server/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -0
  45. package/out/language-server/amazonQServiceManager/BaseAmazonQServiceManager.d.ts +5 -0
  46. package/out/language-server/amazonQServiceManager/BaseAmazonQServiceManager.js +3 -0
  47. package/out/language-server/amazonQServiceManager/BaseAmazonQServiceManager.js.map +1 -0
  48. package/out/language-server/amazonQServiceManager/errors.d.ts +28 -0
  49. package/out/language-server/amazonQServiceManager/errors.js +70 -0
  50. package/out/language-server/amazonQServiceManager/errors.js.map +1 -0
  51. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
  52. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
  53. package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
  54. package/out/language-server/chat/chatController.d.ts +1 -1
  55. package/out/language-server/chat/chatController.js +19 -3
  56. package/out/language-server/chat/chatController.js.map +1 -1
  57. package/out/language-server/chat/chatSessionManagementService.d.ts +3 -8
  58. package/out/language-server/chat/chatSessionManagementService.js +5 -57
  59. package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
  60. package/out/language-server/chat/chatSessionService.d.ts +2 -3
  61. package/out/language-server/chat/chatSessionService.js +7 -21
  62. package/out/language-server/chat/chatSessionService.js.map +1 -1
  63. package/out/language-server/chat/contexts/triggerContext.d.ts +1 -1
  64. package/out/language-server/chat/contexts/triggerContext.js +2 -1
  65. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  66. package/out/language-server/chat/telemetry/chatTelemetryController.js +88 -81
  67. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  68. package/out/language-server/codeWhispererSecurityScanServer.d.ts +2 -4
  69. package/out/language-server/codeWhispererSecurityScanServer.js +24 -11
  70. package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
  71. package/out/language-server/codeWhispererServer.js +93 -65
  72. package/out/language-server/codeWhispererServer.js.map +1 -1
  73. package/out/language-server/codeWhispererService.d.ts +12 -1
  74. package/out/language-server/codeWhispererService.js +45 -16
  75. package/out/language-server/codeWhispererService.js.map +1 -1
  76. package/out/language-server/configuration/qConfigurationServer.d.ts +17 -4
  77. package/out/language-server/configuration/qConfigurationServer.js +103 -14
  78. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  79. package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
  80. package/out/language-server/dependencyGraph/commonUtil.js +0 -11
  81. package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
  82. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  83. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  84. package/out/language-server/netTransform/transformHandler.d.ts +3 -2
  85. package/out/language-server/netTransform/transformHandler.js +7 -2
  86. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  87. package/out/language-server/netTransformServer.js +3 -3
  88. package/out/language-server/netTransformServer.js.map +1 -1
  89. package/out/language-server/proxy-server.js +3 -14
  90. package/out/language-server/proxy-server.js.map +1 -1
  91. package/out/language-server/qChatServer.d.ts +2 -4
  92. package/out/language-server/qChatServer.js +30 -16
  93. package/out/language-server/qChatServer.js.map +1 -1
  94. package/out/language-server/securityScan/constants.d.ts +3 -0
  95. package/out/language-server/securityScan/constants.js +7 -0
  96. package/out/language-server/securityScan/constants.js.map +1 -0
  97. package/out/language-server/securityScan/securityScanHandler.d.ts +5 -5
  98. package/out/language-server/securityScan/securityScanHandler.js +22 -12
  99. package/out/language-server/securityScan/securityScanHandler.js.map +1 -1
  100. package/out/language-server/telemetry/codeDiffTracker.d.ts +1 -1
  101. package/out/language-server/telemetry/codeDiffTracker.js +16 -13
  102. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  103. package/out/language-server/telemetryService.d.ts +7 -5
  104. package/out/language-server/telemetryService.js +29 -20
  105. package/out/language-server/telemetryService.js.map +1 -1
  106. package/out/language-server/testUtils.d.ts +3 -0
  107. package/out/language-server/testUtils.js +12 -1
  108. package/out/language-server/testUtils.js.map +1 -1
  109. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
  110. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
  111. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
  112. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  113. package/out/language-server/utils.d.ts +3 -0
  114. package/out/language-server/utils.js +15 -0
  115. package/out/language-server/utils.js.map +1 -1
  116. package/package.json +8 -8
  117. package/node_modules/@smithy/node-http-handler/README.md +0 -4
  118. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
  119. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
  120. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
  121. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
  122. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
  123. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
  124. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  125. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  126. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  127. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
  128. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
  129. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
  130. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
  131. package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
  132. package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
  133. package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
  134. package/out/language-server/chat/chatController.test.d.ts +0 -1
  135. package/out/language-server/chat/chatController.test.js +0 -709
  136. package/out/language-server/chat/chatController.test.js.map +0 -1
  137. package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
  138. package/out/language-server/chat/chatEventParser.test.js +0 -239
  139. package/out/language-server/chat/chatEventParser.test.js.map +0 -1
  140. package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
  141. package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
  142. package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
  143. package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
  144. package/out/language-server/chat/chatSessionService.test.js +0 -86
  145. package/out/language-server/chat/chatSessionService.test.js.map +0 -1
  146. package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
  147. package/out/language-server/chat/contexts/documentContext.test.js +0 -117
  148. package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
  149. package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
  150. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
  151. package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
  152. package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
  153. package/out/language-server/chat/contexts/utils.test.js +0 -72
  154. package/out/language-server/chat/contexts/utils.test.js.map +0 -1
  155. package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
  156. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
  157. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
  158. package/out/language-server/codeWhispererServer.test.d.ts +0 -1
  159. package/out/language-server/codeWhispererServer.test.js +0 -1377
  160. package/out/language-server/codeWhispererServer.test.js.map +0 -1
  161. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
  162. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
  163. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
  164. package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
  165. package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
  166. package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
  167. package/out/language-server/languageDetection.test.d.ts +0 -1
  168. package/out/language-server/languageDetection.test.js +0 -31
  169. package/out/language-server/languageDetection.test.js.map +0 -1
  170. package/out/language-server/mergeRightUtils.test.d.ts +0 -1
  171. package/out/language-server/mergeRightUtils.test.js +0 -53
  172. package/out/language-server/mergeRightUtils.test.js.map +0 -1
  173. package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
  174. package/out/language-server/netTransform/tests/converter.test.js +0 -108
  175. package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
  176. package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
  177. package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
  178. package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
  179. package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
  180. package/out/language-server/netTransform/tests/validation.test.js +0 -84
  181. package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
  182. package/out/language-server/qChatServer.test.d.ts +0 -1
  183. package/out/language-server/qChatServer.test.js +0 -51
  184. package/out/language-server/qChatServer.test.js.map +0 -1
  185. package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
  186. package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
  187. package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
  188. package/out/language-server/session/sessionManager.test.d.ts +0 -1
  189. package/out/language-server/session/sessionManager.test.js +0 -588
  190. package/out/language-server/session/sessionManager.test.js.map +0 -1
  191. package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
  192. package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
  193. package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
  194. package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
  195. package/out/language-server/telemetry/codePercentage.test.js +0 -214
  196. package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
  197. package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
  198. package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
  199. package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
  200. package/out/language-server/telemetry.test.d.ts +0 -1
  201. package/out/language-server/telemetry.test.js +0 -98
  202. package/out/language-server/telemetry.test.js.map +0 -1
  203. package/out/language-server/telemetryService.test.d.ts +0 -1
  204. package/out/language-server/telemetryService.test.js +0 -771
  205. package/out/language-server/telemetryService.test.js.map +0 -1
  206. package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
  207. package/out/language-server/utilities/filesystemUtilities.js +0 -30
  208. package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
  209. package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
  210. package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
  211. package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
  212. package/out/language-server/utilities/pathUtils.d.ts +0 -27
  213. package/out/language-server/utilities/pathUtils.js +0 -79
  214. package/out/language-server/utilities/pathUtils.js.map +0 -1
  215. package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
  216. package/out/language-server/utilities/pathUtils.test.js +0 -43
  217. package/out/language-server/utilities/pathUtils.test.js.map +0 -1
  218. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
  219. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
  220. package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
  221. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
  222. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
  223. package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
  224. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
  225. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
  226. package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
  227. package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
  228. package/out/language-server/utilities/telemetryUtils.test.js +0 -207
  229. package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
  230. package/out/language-server/utilities/textUtils.d.ts +0 -1
  231. package/out/language-server/utilities/textUtils.js +0 -12
  232. package/out/language-server/utilities/textUtils.js.map +0 -1
  233. package/out/language-server/utilities/textUtils.test.d.ts +0 -1
  234. package/out/language-server/utilities/textUtils.test.js +0 -21
  235. package/out/language-server/utilities/textUtils.test.js.map +0 -1
  236. package/out/language-server/utils.test.d.ts +0 -1
  237. package/out/language-server/utils.test.js +0 -152
  238. package/out/language-server/utils.test.js.map +0 -1
  239. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
  240. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
  241. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
  242. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
  243. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
  244. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
  245. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
  246. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
  247. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
  248. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
  249. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
  250. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
  251. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
  252. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
  253. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
  254. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
  255. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
  256. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
  257. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
  258. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
  259. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
  260. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
  261. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
  262. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
  263. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
  264. /package/node_modules/{@smithy/node-http-handler/dist-cjs/write-request-body.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
  265. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
  266. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
  267. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
  268. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
  269. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
  270. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
  271. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
  272. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
  273. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
  274. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
  275. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
  276. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
  277. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
  278. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
  279. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
  280. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
  281. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
  282. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
  283. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
  284. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
  285. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
  286. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
  287. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -0
  288. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -0
  289. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
  290. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
  291. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
  292. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
  293. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
  294. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -0
  295. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
  296. /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
  297. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
  298. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
  299. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js} +0 -0
  300. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js} +0 -0
  301. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
  302. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
  303. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
  304. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js} +0 -0
  305. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js} +0 -0
  306. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js} +0 -0
  307. /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js} +0 -0
  308. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
  309. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
  310. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  311. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
  312. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
  313. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
  314. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
  315. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
  316. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
  317. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
  318. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
  319. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  320. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
  321. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
  322. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
  323. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
  324. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  325. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  326. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  327. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  328. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
  329. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  330. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  331. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  332. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  333. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  334. /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
  335. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
  336. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
  337. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
  338. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
  339. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
  340. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
  341. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
  342. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
  343. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
  344. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
  345. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
  346. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
  347. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
  348. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
  349. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
  350. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
  351. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
  352. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
  353. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
  354. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
  355. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
  356. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
  357. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
  358. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
  359. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
  360. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
  361. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
  362. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
  363. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
  364. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
  365. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
  366. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
  367. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
  368. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
  369. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
  370. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
  371. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
  372. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
  373. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
  374. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
  375. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
  376. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
  377. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
  378. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
  379. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
  380. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
  381. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
  382. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
  383. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
  384. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
  385. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
  386. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
  387. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
  388. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
  389. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
  390. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
  391. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
  392. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
  393. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
  394. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
  395. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
  396. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  397. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  398. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
  399. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
  400. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
  401. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
  402. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
  403. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
  404. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
  405. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
  406. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
  407. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
  408. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
  409. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
  410. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
  411. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
  412. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
  413. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
  414. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
  415. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
  416. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
  417. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
  418. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
  419. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
  420. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
  421. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
  422. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
  423. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
  424. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
  425. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
  426. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
  427. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
  428. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
  429. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
  430. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
  431. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
  432. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
  433. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
  434. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
  435. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
  436. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
  437. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
  438. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
  439. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
  440. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
  441. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
  442. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
  443. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
  444. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
  445. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
  446. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
  447. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
  448. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
  449. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
  450. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
  451. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
  452. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
  453. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
  454. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
  455. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
  456. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
  457. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
  458. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
  459. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
  460. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
  461. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
  462. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
  463. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
  464. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
  465. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
  466. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
  467. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
  468. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
  469. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
  470. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
  471. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
  472. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
  473. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
  474. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
  475. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
  476. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
  477. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
  478. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
  479. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
  480. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
  481. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
  482. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
  483. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
  484. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
  485. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
  486. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  487. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
  488. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
  489. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
  490. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
  491. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
  492. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
  493. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
  494. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
  495. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
  496. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
  497. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
  498. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
  499. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
  500. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
  501. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
  502. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
  503. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
  504. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
  505. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
  506. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
  507. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
  508. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
  509. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
  510. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
  511. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
  512. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
  513. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
  514. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
  515. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
  516. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
  517. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
  518. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
  519. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
  520. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  521. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  522. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  523. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
  524. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
  525. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
  526. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
  527. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
  528. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
  529. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
  530. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
  531. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
  532. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
  533. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
  534. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
  535. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
  536. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
  537. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
  538. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
  539. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
  540. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
  541. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
  542. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
  543. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
  544. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
  545. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
  546. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
  547. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
  548. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
  549. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
  550. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
  551. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
  552. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
  553. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
  554. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
  555. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
  556. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
  557. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
  558. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
  559. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
  560. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
  561. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
  562. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
  563. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
  564. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
  565. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
  566. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
  567. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
  568. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
  569. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
  570. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
  571. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
  572. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
  573. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
  574. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
  575. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
  576. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
  577. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
  578. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
  579. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
  580. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
  581. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
  582. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
  583. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
  584. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
  585. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
  586. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
  587. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
  588. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
  589. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/uri.d.ts +0 -0
  590. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
  591. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
  592. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
  593. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
  594. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
  595. /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.29](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.28...lsp-codewhisperer/v0.0.29) (2025-03-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * abort all inflight requests when resetCodewhispererService is invoked ([#848](https://github.com/aws/language-servers/issues/848)) ([681889b](https://github.com/aws/language-servers/commit/681889bd40a0fb84ea624f177b07ef579864303a))
9
+ * added auth listener to reset the service manager state in case of bearer token signout ([#842](https://github.com/aws/language-servers/issues/842)) ([780be3f](https://github.com/aws/language-servers/commit/780be3fdb92917e58524472ea5967f405f802db5))
10
+ * **amazonq:** accept extra context for Q Inline Suggestions ([4a508df](https://github.com/aws/language-servers/commit/4a508dfcba714301145089263bdce8b8f18ec03b))
11
+ * **amazonq:** add eu-central-1 endpoint ([83133d6](https://github.com/aws/language-servers/commit/83133d61815c5acfba7ead1c87d0aaef206e72d4))
12
+ * **amazonq:** add regionalization support to security scan server ([#859](https://github.com/aws/language-servers/issues/859)) ([9945398](https://github.com/aws/language-servers/commit/99453989934849eddf1029763c22208cdb13be74))
13
+ * **amazonq:** add regionalization support to Telemetry service ([6937c7f](https://github.com/aws/language-servers/commit/6937c7fa53c94f23dab323d0cd92970edafd4452))
14
+ * **amazonq:** add support for setting profile to null ([b02906d](https://github.com/aws/language-servers/commit/b02906d04fad42f09e32d44120c4dd32cb2a649c))
15
+ * **amazonq:** attach profileArn to API calls when available ([00fe7e2](https://github.com/aws/language-servers/commit/00fe7e2d1327b519042480b8216d663a48dced54))
16
+ * **amazonq:** Cancel inflight updateProfile requests ([#861](https://github.com/aws/language-servers/issues/861)) ([a4a4309](https://github.com/aws/language-servers/commit/a4a4309ef1f7c0978aa44a4063d1e8160ad53bb6))
17
+ * **amazonq:** centralize access to Q Service SDK instance and add support for Q Developer profiles ([#814](https://github.com/aws/language-servers/issues/814)) ([5f11549](https://github.com/aws/language-servers/commit/5f11549bb37acf3788c991a4ceeb38a7b17f1324))
18
+ * **amazonq:** integrate q service manager with configuration server ([#852](https://github.com/aws/language-servers/issues/852)) ([c0e3290](https://github.com/aws/language-servers/commit/c0e32905e5940a79f59b19913aac9f989e85f8fe))
19
+ * **amazonq:** intergrate regionalization support into Q Chat server ([#853](https://github.com/aws/language-servers/issues/853)) ([394104c](https://github.com/aws/language-servers/commit/394104c3702055f55ababbbfb056bf7904f5115e))
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **amazonq:** await for recordMetric in CodeDiff tracker ([ee04afc](https://github.com/aws/language-servers/commit/ee04afc7775e83bfa3868b4b661cf59ff3c7f949))
25
+ * **amazonq:** handle exceptions in TelemetryService ([e8f6375](https://github.com/aws/language-servers/commit/e8f637524fe878c26c72f506de4abea86b481fde))
26
+ * **amazonq:** specify code analysis scope and scan name when running scans ([#858](https://github.com/aws/language-servers/issues/858)) ([a925297](https://github.com/aws/language-servers/commit/a925297aabc89334f4f9eed6c13146f4fd20b164))
27
+ * update @aws/language-server-runtimes to 0.2.48 ([e1f620a](https://github.com/aws/language-servers/commit/e1f620ac2b59b4f61daff842a9f29ded1b8fa04e))
28
+
29
+ ## [0.0.28](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.27...lsp-codewhisperer/v0.0.28) (2025-03-18)
30
+
31
+
32
+ ### Features
33
+
34
+ * **amazonq:** add support for listing available q developer profiles ([40ee2ff](https://github.com/aws/language-servers/commit/40ee2ff254e0cfdeb54fef850bcfb1c45dd898ab))
35
+ * **amazonq:** handle client signalling support for q developer profiles ([#839](https://github.com/aws/language-servers/issues/839)) ([8b1b4ad](https://github.com/aws/language-servers/commit/8b1b4ad88138091bacacdaa7abcccaafed85b1ff))
36
+ * **amazonq:** stop emitting userDecision telemetry event ([dc51d24](https://github.com/aws/language-servers/commit/dc51d2472390f14490ec175ce94e841f5ee24417))
37
+ * **chat-client:** handle 'openTab' requests ([#817](https://github.com/aws/language-servers/issues/817)) ([fdd0b87](https://github.com/aws/language-servers/commit/fdd0b87ad2d2c9a540d2594bb9243cad01b5887a))
38
+ * **chat-client:** openTab returns error for tab create if tabs limit hit ([#832](https://github.com/aws/language-servers/issues/832)) ([aa85848](https://github.com/aws/language-servers/commit/aa8584815da1ef6298b83c8d1bb2a1011ed66fe5))
39
+ * **identity:** device code support ([#823](https://github.com/aws/language-servers/issues/823)) ([6d5368e](https://github.com/aws/language-servers/commit/6d5368e33a36a3003dc04e9c429b63edda6989de))
40
+ * Setting a flag with environment variable to retain generated input artifacts ([#807](https://github.com/aws/language-servers/issues/807)) ([fc9a5b5](https://github.com/aws/language-servers/commit/fc9a5b5fe4e4ae8babbff0bbed28263ae99c1385))
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * replace setInterval with recursive setTimeout for browser compatibility ([48b8fd1](https://github.com/aws/language-servers/commit/48b8fd1fd780770cb4b94bb1be33882f204a77e8))
46
+
47
+
48
+ ### Dependencies
49
+
50
+ * The following workspace dependencies were updated
51
+ * dependencies
52
+ * @aws/lsp-core bumped from ^0.0.1 to ^0.0.2
53
+
3
54
  ## [0.0.27](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.26...lsp-codewhisperer/v0.0.27) (2025-02-20)
4
55
 
5
56
 
package/README.md CHANGED
@@ -32,4 +32,65 @@ NodeJS modules used in this package
32
32
 
33
33
  To override modules use next alternatives:
34
34
  - `path` - https://www.npmjs.com/package/path-browserify
35
- - `os` - https://www.npmjs.com/package/os-browserify
35
+ - `os` - https://www.npmjs.com/package/os-browserify
36
+
37
+ ### Fetching Amazon Q configuration(s)
38
+
39
+ The following Amazon Q configurations can be fetched with the `aws/getConfigurationFromServer` request exposed by [QConfigurationServer](https://github.com/aws/language-servers/blob/main/server/aws-lsp-codewhisperer/src/language-server/configuration/qConfigurationServer.ts):
40
+
41
+ - customizations
42
+ - developer profiles
43
+
44
+ The request expects a `section` parameter, recognizing the following options:
45
+
46
+ - `aws.q`
47
+ - `aws.q.customizations`
48
+ - `aws.q.developerProfiles`
49
+
50
+ Example:
51
+
52
+ ```ts
53
+ await languageClient.sendRequest(getConfigurationFromServerRequestType.method, {
54
+ section: 'aws.q',
55
+ })
56
+ // result:
57
+ {
58
+ 'customizations': [customization1, customization2, ...],
59
+ 'developerProfiles': [profile1, profile2, ...] // (if enabled)
60
+ }
61
+ ```
62
+
63
+ Granular requests such as `aws.q.customizations` will only return that particular configuration.
64
+
65
+ Example:
66
+
67
+ ```ts
68
+ await languageClient.sendRequest(getConfigurationFromServerRequestType.method, {
69
+ section: 'aws.q.customizations',
70
+ })
71
+ // result:
72
+ [customization1, customization2, ...]
73
+ ```
74
+
75
+ #### Developer Profiles
76
+
77
+ By default, developer profiles are not fetched. To enable the fetching, the client needs to signal support for them at initialization in the `InitializeParams`.
78
+
79
+ Example:
80
+
81
+ ```ts
82
+ const params: InitializeParams = {
83
+ // ...
84
+ aws: {
85
+ // ...
86
+ awsClientCapabilities: {
87
+ q: {
88
+ developerProfiles: true
89
+ }
90
+ }
91
+ }
92
+ }
93
+ ```
94
+
95
+ ### Extra context for Q Inline Suggestions
96
+ In cases when the client runs in a specific environment that requires customized suggestions, the server supports a `aws.q.inlineSuggestions.extraContext` workspace configuration. This extra context will be passed to the left file content of the request in the beginning of the file.
@@ -0,0 +1,16 @@
1
+ import { AbortController as DeprecatedAbortController } from "@smithy/types";
2
+ import { AbortSignal } from "./AbortSignal";
3
+ /**
4
+ * @public
5
+ */
6
+ export { DeprecatedAbortController as IAbortController };
7
+ /**
8
+ * @deprecated This implementation was added as Node.js didn't support AbortController prior to 15.x
9
+ * Use native implementation in browsers or Node.js \>=15.4.0.
10
+ *
11
+ * @public
12
+ */
13
+ export declare class AbortController implements DeprecatedAbortController {
14
+ readonly signal: AbortSignal;
15
+ abort(): void;
16
+ }
@@ -1,9 +1,12 @@
1
- import { AbortHandler, AbortSignal as IAbortSignal } from "@smithy/types";
2
- export { AbortHandler, IAbortSignal };
1
+ import { AbortHandler, AbortSignal as DeprecatedAbortSignal } from "@smithy/types";
3
2
  /**
4
3
  * @public
5
4
  */
6
- export declare class AbortSignal implements IAbortSignal {
5
+ export { AbortHandler, DeprecatedAbortSignal as IAbortSignal };
6
+ /**
7
+ * @public
8
+ */
9
+ export declare class AbortSignal implements DeprecatedAbortSignal {
7
10
  onabort: AbortHandler | null;
8
11
  private _aborted;
9
12
  constructor();
@@ -0,0 +1,16 @@
1
+ import { AbortController as DeprecatedAbortController } from "@smithy/types";
2
+ import { AbortSignal } from "./AbortSignal";
3
+ /**
4
+ * @public
5
+ */
6
+ export { DeprecatedAbortController as IAbortController };
7
+ /**
8
+ * @deprecated This implementation was added as Node.js didn't support AbortController prior to 15.x
9
+ * Use native implementation in browsers or Node.js \>=15.4.0.
10
+ *
11
+ * @public
12
+ */
13
+ export declare class AbortController implements DeprecatedAbortController {
14
+ readonly signal: AbortSignal;
15
+ abort(): void;
16
+ }
@@ -1,9 +1,12 @@
1
- import { AbortHandler, AbortSignal as IAbortSignal } from "@smithy/types";
2
- export { AbortHandler, IAbortSignal };
1
+ import { AbortHandler, AbortSignal as DeprecatedAbortSignal } from "@smithy/types";
3
2
  /**
4
3
  * @public
5
4
  */
6
- export declare class AbortSignal implements IAbortSignal {
5
+ export { AbortHandler, DeprecatedAbortSignal as IAbortSignal };
6
+ /**
7
+ * @public
8
+ */
9
+ export declare class AbortSignal implements DeprecatedAbortSignal {
7
10
  onabort: AbortHandler | null;
8
11
  private _aborted;
9
12
  constructor();
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "2.2.0",
3
+ "version": "3.1.9",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -10,13 +10,14 @@
10
10
  "build:cjs": "node ../../scripts/inline abort-controller",
11
11
  "build:es": "yarn g:tsc -p tsconfig.es.json",
12
12
  "build:types": "yarn g:tsc -p tsconfig.types.json",
13
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
14
14
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
15
15
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
16
16
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
17
17
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
18
18
  "extract:docs": "api-extractor run --local",
19
- "test": "yarn g:jest"
19
+ "test": "yarn g:vitest run",
20
+ "test:watch": "yarn g:vitest watch"
20
21
  },
21
22
  "author": {
22
23
  "name": "AWS SDK for JavaScript Team",
@@ -24,11 +25,11 @@
24
25
  },
25
26
  "license": "Apache-2.0",
26
27
  "dependencies": {
27
- "@smithy/types": "^2.12.0",
28
+ "@smithy/types": "^3.7.2",
28
29
  "tslib": "^2.6.2"
29
30
  },
30
31
  "engines": {
31
- "node": ">=14.0.0"
32
+ "node": ">=16.0.0"
32
33
  },
33
34
  "typesVersions": {
34
35
  "<4.0": {
@@ -47,7 +48,6 @@
47
48
  "directory": "packages/abort-controller"
48
49
  },
49
50
  "devDependencies": {
50
- "@tsconfig/recommended": "1.0.1",
51
51
  "concurrently": "7.0.0",
52
52
  "downlevel-dts": "0.10.1",
53
53
  "rimraf": "3.0.2",
@@ -0,0 +1,9 @@
1
+ # @smithy/node-http-handler
2
+
3
+ [![NPM version](https://img.shields.io/npm/v/@smithy/node-http-handler/latest.svg)](https://www.npmjs.com/package/@smithy/node-http-handler)
4
+ [![NPM downloads](https://img.shields.io/npm/dm/@smithy/node-http-handler.svg)](https://www.npmjs.com/package/@smithy/node-http-handler)
5
+
6
+ This package implements the default `requestHandler` for Node.js using `node:http`, `node:https`, and `node:http2`.
7
+
8
+ For an example on how `requestHandler`s are used by Smithy generated SDK clients, refer to
9
+ the [AWS SDK for JavaScript (v3) supplemental docs](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md#request-handler-requesthandler).
@@ -56,46 +56,94 @@ var getTransformedHeaders = /* @__PURE__ */ __name((headers) => {
56
56
  return transformedHeaders;
57
57
  }, "getTransformedHeaders");
58
58
 
59
+ // src/timing.ts
60
+ var timing = {
61
+ setTimeout: (cb, ms) => setTimeout(cb, ms),
62
+ clearTimeout: (timeoutId) => clearTimeout(timeoutId)
63
+ };
64
+
59
65
  // src/set-connection-timeout.ts
66
+ var DEFER_EVENT_LISTENER_TIME = 1e3;
60
67
  var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
61
68
  if (!timeoutInMs) {
62
- return;
63
- }
64
- const timeoutId = setTimeout(() => {
65
- request.destroy();
66
- reject(
67
- Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
68
- name: "TimeoutError"
69
- })
70
- );
71
- }, timeoutInMs);
72
- request.on("socket", (socket) => {
73
- if (socket.connecting) {
74
- socket.on("connect", () => {
75
- clearTimeout(timeoutId);
76
- });
69
+ return -1;
70
+ }
71
+ const registerTimeout = /* @__PURE__ */ __name((offset) => {
72
+ const timeoutId = timing.setTimeout(() => {
73
+ request.destroy();
74
+ reject(
75
+ Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
76
+ name: "TimeoutError"
77
+ })
78
+ );
79
+ }, timeoutInMs - offset);
80
+ const doWithSocket = /* @__PURE__ */ __name((socket) => {
81
+ if (socket == null ? void 0 : socket.connecting) {
82
+ socket.on("connect", () => {
83
+ timing.clearTimeout(timeoutId);
84
+ });
85
+ } else {
86
+ timing.clearTimeout(timeoutId);
87
+ }
88
+ }, "doWithSocket");
89
+ if (request.socket) {
90
+ doWithSocket(request.socket);
77
91
  } else {
78
- clearTimeout(timeoutId);
92
+ request.on("socket", doWithSocket);
79
93
  }
80
- });
94
+ }, "registerTimeout");
95
+ if (timeoutInMs < 2e3) {
96
+ registerTimeout(0);
97
+ return 0;
98
+ }
99
+ return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
81
100
  }, "setConnectionTimeout");
82
101
 
83
102
  // src/set-socket-keep-alive.ts
84
- var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }) => {
103
+ var DEFER_EVENT_LISTENER_TIME2 = 3e3;
104
+ var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME2) => {
85
105
  if (keepAlive !== true) {
86
- return;
106
+ return -1;
87
107
  }
88
- request.on("socket", (socket) => {
89
- socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
90
- });
108
+ const registerListener = /* @__PURE__ */ __name(() => {
109
+ if (request.socket) {
110
+ request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
111
+ } else {
112
+ request.on("socket", (socket) => {
113
+ socket.setKeepAlive(keepAlive, keepAliveMsecs || 0);
114
+ });
115
+ }
116
+ }, "registerListener");
117
+ if (deferTimeMs === 0) {
118
+ registerListener();
119
+ return 0;
120
+ }
121
+ return timing.setTimeout(registerListener, deferTimeMs);
91
122
  }, "setSocketKeepAlive");
92
123
 
93
124
  // src/set-socket-timeout.ts
125
+ var DEFER_EVENT_LISTENER_TIME3 = 3e3;
94
126
  var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
95
- request.setTimeout(timeoutInMs, () => {
96
- request.destroy();
97
- reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
98
- });
127
+ const registerTimeout = /* @__PURE__ */ __name((offset) => {
128
+ const timeout = timeoutInMs - offset;
129
+ const onTimeout = /* @__PURE__ */ __name(() => {
130
+ request.destroy();
131
+ reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" }));
132
+ }, "onTimeout");
133
+ if (request.socket) {
134
+ request.socket.setTimeout(timeout, onTimeout);
135
+ } else {
136
+ request.setTimeout(timeout, onTimeout);
137
+ }
138
+ }, "registerTimeout");
139
+ if (0 < timeoutInMs && timeoutInMs < 6e3) {
140
+ registerTimeout(0);
141
+ return 0;
142
+ }
143
+ return timing.setTimeout(
144
+ registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3),
145
+ DEFER_EVENT_LISTENER_TIME3
146
+ );
99
147
  }, "setSocketTimeout");
100
148
 
101
149
  // src/write-request-body.ts
@@ -105,26 +153,29 @@ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN
105
153
  const headers = request.headers ?? {};
106
154
  const expect = headers["Expect"] || headers["expect"];
107
155
  let timeoutId = -1;
108
- let hasError = false;
156
+ let sendBody = true;
109
157
  if (expect === "100-continue") {
110
- await Promise.race([
158
+ sendBody = await Promise.race([
111
159
  new Promise((resolve) => {
112
- timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
160
+ timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
113
161
  }),
114
162
  new Promise((resolve) => {
115
163
  httpRequest.on("continue", () => {
116
- clearTimeout(timeoutId);
117
- resolve();
164
+ timing.clearTimeout(timeoutId);
165
+ resolve(true);
166
+ });
167
+ httpRequest.on("response", () => {
168
+ timing.clearTimeout(timeoutId);
169
+ resolve(false);
118
170
  });
119
171
  httpRequest.on("error", () => {
120
- hasError = true;
121
- clearTimeout(timeoutId);
122
- resolve();
172
+ timing.clearTimeout(timeoutId);
173
+ resolve(false);
123
174
  });
124
175
  })
125
176
  ]);
126
177
  }
127
- if (!hasError) {
178
+ if (sendBody) {
128
179
  writeBody(httpRequest, request.body);
129
180
  }
130
181
  }
@@ -182,10 +233,12 @@ var _NodeHttpHandler = class _NodeHttpHandler {
182
233
  * @internal
183
234
  *
184
235
  * @param agent - http(s) agent in use by the NodeHttpHandler instance.
236
+ * @param socketWarningTimestamp - last socket usage check timestamp.
237
+ * @param logger - channel for the warning.
185
238
  * @returns timestamp of last emitted warning.
186
239
  */
187
- static checkSocketUsage(agent, socketWarningTimestamp) {
188
- var _a, _b;
240
+ static checkSocketUsage(agent, socketWarningTimestamp, logger = console) {
241
+ var _a, _b, _c;
189
242
  const { sockets, requests, maxSockets } = agent;
190
243
  if (typeof maxSockets !== "number" || maxSockets === Infinity) {
191
244
  return socketWarningTimestamp;
@@ -199,11 +252,11 @@ var _NodeHttpHandler = class _NodeHttpHandler {
199
252
  const socketsInUse = ((_a = sockets[origin]) == null ? void 0 : _a.length) ?? 0;
200
253
  const requestsEnqueued = ((_b = requests[origin]) == null ? void 0 : _b.length) ?? 0;
201
254
  if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) {
202
- console.warn(
203
- "@smithy/node-http-handler:WARN",
204
- `socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.`,
205
- "See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html",
206
- "or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config."
255
+ (_c = logger == null ? void 0 : logger.warn) == null ? void 0 : _c.call(
256
+ logger,
257
+ `@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued.
258
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
259
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`
207
260
  );
208
261
  return Date.now();
209
262
  }
@@ -229,7 +282,8 @@ var _NodeHttpHandler = class _NodeHttpHandler {
229
282
  return httpsAgent;
230
283
  }
231
284
  return new import_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
232
- })()
285
+ })(),
286
+ logger: console
233
287
  };
234
288
  }
235
289
  destroy() {
@@ -241,16 +295,17 @@ var _NodeHttpHandler = class _NodeHttpHandler {
241
295
  if (!this.config) {
242
296
  this.config = await this.configProvider;
243
297
  }
244
- let socketCheckTimeoutId;
245
298
  return new Promise((_resolve, _reject) => {
246
299
  let writeRequestBodyPromise = void 0;
300
+ const timeouts = [];
247
301
  const resolve = /* @__PURE__ */ __name(async (arg) => {
248
302
  await writeRequestBodyPromise;
249
- clearTimeout(socketCheckTimeoutId);
303
+ timeouts.forEach(timing.clearTimeout);
250
304
  _resolve(arg);
251
305
  }, "resolve");
252
306
  const reject = /* @__PURE__ */ __name(async (arg) => {
253
307
  await writeRequestBodyPromise;
308
+ timeouts.forEach(timing.clearTimeout);
254
309
  _reject(arg);
255
310
  }, "reject");
256
311
  if (!this.config) {
@@ -264,9 +319,18 @@ var _NodeHttpHandler = class _NodeHttpHandler {
264
319
  }
265
320
  const isSSL = request.protocol === "https:";
266
321
  const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
267
- socketCheckTimeoutId = setTimeout(() => {
268
- this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp);
269
- }, this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3));
322
+ timeouts.push(
323
+ timing.setTimeout(
324
+ () => {
325
+ this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(
326
+ agent,
327
+ this.socketWarningTimestamp,
328
+ this.config.logger
329
+ );
330
+ },
331
+ this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3)
332
+ )
333
+ );
270
334
  const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {});
271
335
  let auth = void 0;
272
336
  if (request.username != null || request.password != null) {
@@ -281,9 +345,15 @@ var _NodeHttpHandler = class _NodeHttpHandler {
281
345
  if (request.fragment) {
282
346
  path += `#${request.fragment}`;
283
347
  }
348
+ let hostname = request.hostname ?? "";
349
+ if (hostname[0] === "[" && hostname.endsWith("]")) {
350
+ hostname = request.hostname.slice(1, -1);
351
+ } else {
352
+ hostname = request.hostname;
353
+ }
284
354
  const nodeHttpsOptions = {
285
355
  headers: request.headers,
286
- host: request.hostname,
356
+ host: hostname,
287
357
  method: request.method,
288
358
  path,
289
359
  port: request.port,
@@ -307,26 +377,38 @@ var _NodeHttpHandler = class _NodeHttpHandler {
307
377
  reject(err);
308
378
  }
309
379
  });
310
- setConnectionTimeout(req, reject, this.config.connectionTimeout);
311
- setSocketTimeout(req, reject, this.config.requestTimeout);
312
380
  if (abortSignal) {
313
- abortSignal.onabort = () => {
314
- req.abort();
381
+ const onAbort = /* @__PURE__ */ __name(() => {
382
+ req.destroy();
315
383
  const abortError = new Error("Request aborted");
316
384
  abortError.name = "AbortError";
317
385
  reject(abortError);
318
- };
386
+ }, "onAbort");
387
+ if (typeof abortSignal.addEventListener === "function") {
388
+ const signal = abortSignal;
389
+ signal.addEventListener("abort", onAbort, { once: true });
390
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
391
+ } else {
392
+ abortSignal.onabort = onAbort;
393
+ }
319
394
  }
395
+ timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
396
+ timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout));
320
397
  const httpAgent = nodeHttpsOptions.agent;
321
398
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
322
- setSocketKeepAlive(req, {
323
- // @ts-expect-error keepAlive is not public on httpAgent.
324
- keepAlive: httpAgent.keepAlive,
325
- // @ts-expect-error keepAliveMsecs is not public on httpAgent.
326
- keepAliveMsecs: httpAgent.keepAliveMsecs
327
- });
399
+ timeouts.push(
400
+ setSocketKeepAlive(req, {
401
+ // @ts-expect-error keepAlive is not public on httpAgent.
402
+ keepAlive: httpAgent.keepAlive,
403
+ // @ts-expect-error keepAliveMsecs is not public on httpAgent.
404
+ keepAliveMsecs: httpAgent.keepAliveMsecs
405
+ })
406
+ );
328
407
  }
329
- writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
408
+ writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
409
+ timeouts.forEach(timing.clearTimeout);
410
+ return _reject(e);
411
+ });
330
412
  });
331
413
  }
332
414
  updateHttpClientConfig(key, value) {
@@ -467,7 +549,7 @@ var _NodeHttp2ConnectionManager = class _NodeHttp2ConnectionManager {
467
549
  }
468
550
  }
469
551
  setMaxConcurrentStreams(maxConcurrentStreams) {
470
- if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) {
552
+ if (maxConcurrentStreams && maxConcurrentStreams <= 0) {
471
553
  throw new RangeError("maxConcurrentStreams must be greater than zero.");
472
554
  }
473
555
  this.config.maxConcurrency = maxConcurrentStreams;
@@ -594,12 +676,19 @@ var _NodeHttp2Handler = class _NodeHttp2Handler {
594
676
  });
595
677
  }
596
678
  if (abortSignal) {
597
- abortSignal.onabort = () => {
679
+ const onAbort = /* @__PURE__ */ __name(() => {
598
680
  req.close();
599
681
  const abortError = new Error("Request aborted");
600
682
  abortError.name = "AbortError";
601
683
  rejectWithDestroy(abortError);
602
- };
684
+ }, "onAbort");
685
+ if (typeof abortSignal.addEventListener === "function") {
686
+ const signal = abortSignal;
687
+ signal.addEventListener("abort", onAbort, { once: true });
688
+ req.once("close", () => signal.removeEventListener("abort", onAbort));
689
+ } else {
690
+ abortSignal.onabort = onAbort;
691
+ }
603
692
  }
604
693
  req.on("frameError", (type, code, id) => {
605
694
  rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`));
@@ -663,19 +752,47 @@ __name(_Collector, "Collector");
663
752
  var Collector = _Collector;
664
753
 
665
754
  // src/stream-collector/index.ts
666
- var streamCollector = /* @__PURE__ */ __name((stream) => new Promise((resolve, reject) => {
667
- const collector = new Collector();
668
- stream.pipe(collector);
669
- stream.on("error", (err) => {
670
- collector.end();
671
- reject(err);
672
- });
673
- collector.on("error", reject);
674
- collector.on("finish", function() {
675
- const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
676
- resolve(bytes);
755
+ var streamCollector = /* @__PURE__ */ __name((stream) => {
756
+ if (isReadableStreamInstance(stream)) {
757
+ return collectReadableStream(stream);
758
+ }
759
+ return new Promise((resolve, reject) => {
760
+ const collector = new Collector();
761
+ stream.pipe(collector);
762
+ stream.on("error", (err) => {
763
+ collector.end();
764
+ reject(err);
765
+ });
766
+ collector.on("error", reject);
767
+ collector.on("finish", function() {
768
+ const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes));
769
+ resolve(bytes);
770
+ });
677
771
  });
678
- }), "streamCollector");
772
+ }, "streamCollector");
773
+ var isReadableStreamInstance = /* @__PURE__ */ __name((stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream, "isReadableStreamInstance");
774
+ async function collectReadableStream(stream) {
775
+ const chunks = [];
776
+ const reader = stream.getReader();
777
+ let isDone = false;
778
+ let length = 0;
779
+ while (!isDone) {
780
+ const { done, value } = await reader.read();
781
+ if (value) {
782
+ chunks.push(value);
783
+ length += value.length;
784
+ }
785
+ isDone = done;
786
+ }
787
+ const collected = new Uint8Array(length);
788
+ let offset = 0;
789
+ for (const chunk of chunks) {
790
+ collected.set(chunk, offset);
791
+ offset += chunk.length;
792
+ }
793
+ return collected;
794
+ }
795
+ __name(collectReadableStream, "collectReadableStream");
679
796
  // Annotate the CommonJS export names for ESM import in node:
680
797
 
681
798
  0 && (module.exports = {