@aws/lsp-codewhisperer 0.0.16 → 0.0.17

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 (1518) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/node_modules/@amzn/codewhisperer-streaming/README.md +235 -60
  3. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreaming.js +2 -0
  4. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +15 -9
  5. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  7. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/ExportResultArchiveCommand.js +16 -32
  8. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateAssistantResponseCommand.js +16 -32
  9. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/GenerateTaskAssistPlanCommand.js +16 -32
  10. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/SendMessageCommand.js +26 -0
  11. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/index.js +1 -0
  12. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +139 -95
  13. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +541 -135
  14. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +227 -221
  15. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +5 -4
  16. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +15 -10
  17. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.native.js +1 -1
  18. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.shared.js +23 -13
  19. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeExtensions.js +3 -0
  20. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreaming.js +7 -5
  21. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +26 -20
  22. package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  23. package/node_modules/@amzn/codewhisperer-streaming/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  24. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/ExportResultArchiveCommand.js +20 -36
  25. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateAssistantResponseCommand.js +20 -36
  26. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/GenerateTaskAssistPlanCommand.js +20 -36
  27. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/SendMessageCommand.js +22 -0
  28. package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/index.js +4 -3
  29. package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +140 -96
  30. package/node_modules/@amzn/codewhisperer-streaming/dist-es/index.js +5 -5
  31. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/CodeWhispererStreamingServiceException.js +1 -1
  32. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/index.js +1 -1
  33. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +509 -135
  34. package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +218 -214
  35. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +16 -15
  36. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +29 -24
  37. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.native.js +3 -3
  38. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.shared.js +28 -18
  39. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeExtensions.js +6 -3
  40. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreaming.d.ts +12 -5
  41. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +25 -20
  42. package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  43. package/node_modules/@amzn/codewhisperer-streaming/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
  44. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +31 -27
  45. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +263 -30
  46. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +263 -30
  47. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +636 -0
  48. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/index.d.ts +4 -3
  49. package/node_modules/@amzn/codewhisperer-streaming/dist-types/endpoints.d.ts +1 -1
  50. package/node_modules/@amzn/codewhisperer-streaming/dist-types/extensionConfiguration.d.ts +5 -4
  51. package/node_modules/@amzn/codewhisperer-streaming/dist-types/index.d.ts +7 -5
  52. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/CodeWhispererStreamingServiceException.d.ts +3 -2
  53. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/index.d.ts +1 -1
  54. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +1313 -229
  55. package/node_modules/@amzn/codewhisperer-streaming/dist-types/protocols/Aws_restJson1.d.ts +14 -5
  56. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +14 -10
  57. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +1 -36
  58. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +13 -9
  59. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.shared.d.ts +9 -1
  60. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeExtensions.d.ts +1 -1
  61. package/node_modules/@amzn/codewhisperer-streaming/package.json +47 -47
  62. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +118 -0
  63. package/node_modules/@aws-crypto/sha256-browser/LICENSE +202 -0
  64. package/node_modules/@aws-crypto/sha256-browser/README.md +31 -0
  65. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts +10 -0
  66. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +43 -0
  67. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +1 -0
  68. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts +8 -0
  69. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +30 -0
  70. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +1 -0
  71. package/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts +2 -0
  72. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +8 -0
  73. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +1 -0
  74. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts +2 -0
  75. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +11 -0
  76. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +1 -0
  77. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts +10 -0
  78. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +56 -0
  79. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +1 -0
  80. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +10 -0
  81. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +40 -0
  82. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +1 -0
  83. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +8 -0
  84. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +27 -0
  85. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +1 -0
  86. package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +2 -0
  87. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +3 -0
  88. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +1 -0
  89. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts +2 -0
  90. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +7 -0
  91. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +1 -0
  92. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts +10 -0
  93. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +53 -0
  94. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +1 -0
  95. package/node_modules/@aws-crypto/sha256-browser/package.json +33 -0
  96. package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +41 -0
  97. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +30 -0
  98. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +2 -0
  99. package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +9 -0
  100. package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +71 -0
  101. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +10 -0
  102. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +7 -0
  103. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +106 -0
  104. package/node_modules/@aws-crypto/sha256-js/LICENSE +201 -0
  105. package/node_modules/@aws-crypto/sha256-js/README.md +29 -0
  106. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts +17 -0
  107. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +124 -0
  108. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +1 -0
  109. package/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts +20 -0
  110. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +98 -0
  111. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +1 -0
  112. package/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts +1 -0
  113. package/node_modules/@aws-crypto/sha256-js/build/main/index.js +5 -0
  114. package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +1 -0
  115. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts +12 -0
  116. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +85 -0
  117. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +1 -0
  118. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts +5 -0
  119. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +322 -0
  120. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +1 -0
  121. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +17 -0
  122. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +121 -0
  123. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +1 -0
  124. package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +20 -0
  125. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +95 -0
  126. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map +1 -0
  127. package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +1 -0
  128. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +2 -0
  129. package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +1 -0
  130. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +12 -0
  131. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +82 -0
  132. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +1 -0
  133. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +5 -0
  134. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +319 -0
  135. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +1 -0
  136. package/node_modules/@aws-crypto/sha256-js/package.json +32 -0
  137. package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +164 -0
  138. package/node_modules/@aws-crypto/sha256-js/src/constants.ts +98 -0
  139. package/node_modules/@aws-crypto/sha256-js/src/index.ts +1 -0
  140. package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +94 -0
  141. package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +401 -0
  142. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +10 -0
  143. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +7 -0
  144. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +66 -0
  145. package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +202 -0
  146. package/node_modules/@aws-crypto/supports-web-crypto/README.md +32 -0
  147. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts +1 -0
  148. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +5 -0
  149. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +1 -0
  150. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts +4 -0
  151. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +69 -0
  152. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +1 -0
  153. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +1 -0
  154. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +2 -0
  155. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +1 -0
  156. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +4 -0
  157. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +62 -0
  158. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +1 -0
  159. package/node_modules/@aws-crypto/supports-web-crypto/package.json +28 -0
  160. package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +1 -0
  161. package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +76 -0
  162. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +10 -0
  163. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +7 -0
  164. package/node_modules/@aws-crypto/util/CHANGELOG.md +71 -0
  165. package/node_modules/@aws-crypto/util/LICENSE +201 -0
  166. package/node_modules/@aws-crypto/util/README.md +16 -0
  167. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts +2 -0
  168. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +24 -0
  169. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +1 -0
  170. package/node_modules/@aws-crypto/util/build/main/index.d.ts +4 -0
  171. package/node_modules/@aws-crypto/util/build/main/index.js +14 -0
  172. package/node_modules/@aws-crypto/util/build/main/index.js.map +1 -0
  173. package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +2 -0
  174. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +13 -0
  175. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +1 -0
  176. package/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts +1 -0
  177. package/node_modules/@aws-crypto/util/build/main/numToUint8.js +15 -0
  178. package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +1 -0
  179. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts +1 -0
  180. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +20 -0
  181. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +1 -0
  182. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +2 -0
  183. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +20 -0
  184. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +1 -0
  185. package/node_modules/@aws-crypto/util/build/module/index.d.ts +4 -0
  186. package/node_modules/@aws-crypto/util/build/module/index.js +7 -0
  187. package/node_modules/@aws-crypto/util/build/module/index.js.map +1 -0
  188. package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +2 -0
  189. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +9 -0
  190. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +1 -0
  191. package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +1 -0
  192. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +11 -0
  193. package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +1 -0
  194. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +1 -0
  195. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +16 -0
  196. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +1 -0
  197. package/node_modules/@aws-crypto/util/package.json +32 -0
  198. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +30 -0
  199. package/node_modules/@aws-crypto/util/src/index.ts +7 -0
  200. package/node_modules/@aws-crypto/util/src/isEmptyData.ts +12 -0
  201. package/node_modules/@aws-crypto/util/src/numToUint8.ts +11 -0
  202. package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +16 -0
  203. package/node_modules/@aws-crypto/util/tsconfig.json +9 -0
  204. package/node_modules/@aws-crypto/util/tsconfig.module.json +7 -0
  205. package/node_modules/@aws-sdk/middleware-host-header/LICENSE +201 -0
  206. package/node_modules/@aws-sdk/middleware-host-header/README.md +4 -0
  207. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +71 -0
  208. package/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +33 -0
  209. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +20 -0
  210. package/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts +29 -0
  211. package/node_modules/@aws-sdk/middleware-host-header/package.json +55 -0
  212. package/node_modules/@aws-sdk/middleware-logger/LICENSE +201 -0
  213. package/node_modules/@aws-sdk/middleware-logger/README.md +4 -0
  214. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +80 -0
  215. package/node_modules/@aws-sdk/middleware-logger/dist-es/index.js +1 -0
  216. package/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +42 -0
  217. package/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts +1 -0
  218. package/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +4 -0
  219. package/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts +1 -0
  220. package/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts +17 -0
  221. package/node_modules/@aws-sdk/middleware-logger/package.json +56 -0
  222. package/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE +201 -0
  223. package/node_modules/@aws-sdk/middleware-recursion-detection/README.md +10 -0
  224. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +68 -0
  225. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +34 -0
  226. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +18 -0
  227. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +18 -0
  228. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +55 -0
  229. package/node_modules/@aws-sdk/middleware-user-agent/LICENSE +201 -0
  230. package/node_modules/@aws-sdk/middleware-user-agent/README.md +4 -0
  231. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +123 -0
  232. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +6 -0
  233. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +7 -0
  234. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js +2 -0
  235. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +72 -0
  236. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +31 -0
  237. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts +7 -0
  238. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts +2 -0
  239. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +17 -0
  240. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts +7 -0
  241. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts +2 -0
  242. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +20 -0
  243. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +17 -0
  244. package/node_modules/@aws-sdk/middleware-user-agent/package.json +57 -0
  245. package/node_modules/@aws-sdk/util-user-agent-browser/LICENSE +201 -0
  246. package/node_modules/@aws-sdk/util-user-agent-browser/README.md +10 -0
  247. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +22 -0
  248. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +17 -0
  249. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +17 -0
  250. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +13 -0
  251. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts +7 -0
  252. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -0
  253. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -0
  254. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts +4 -0
  255. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +6 -0
  256. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +6 -0
  257. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +53 -0
  258. package/node_modules/@aws-sdk/util-user-agent-node/LICENSE +201 -0
  259. package/node_modules/@aws-sdk/util-user-agent-node/README.md +10 -0
  260. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +95 -0
  261. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js +3 -0
  262. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +39 -0
  263. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js +7 -0
  264. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +9 -0
  265. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +20 -0
  266. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +5 -0
  267. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts +3 -0
  268. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +12 -0
  269. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts +2 -0
  270. package/node_modules/@aws-sdk/util-user-agent-node/package.json +63 -0
  271. package/node_modules/@smithy/config-resolver/README.md +10 -0
  272. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +1 -0
  273. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +1 -0
  274. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/index.js +1 -0
  275. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveCustomEndpointsConfig.js +1 -0
  276. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/resolveEndpointsConfig.js +1 -0
  277. package/node_modules/@smithy/config-resolver/dist-cjs/endpointsConfig/utils/getEndpointFromRegion.js +1 -0
  278. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +235 -0
  279. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/config.js +1 -0
  280. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/getRealRegion.js +1 -0
  281. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/index.js +1 -0
  282. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/isFipsRegion.js +1 -0
  283. package/node_modules/@smithy/config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +1 -0
  284. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariant.js +1 -0
  285. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/EndpointVariantTag.js +1 -0
  286. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/PartitionHash.js +1 -0
  287. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/RegionHash.js +1 -0
  288. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getHostnameFromVariants.js +1 -0
  289. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getRegionInfo.js +1 -0
  290. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedHostname.js +1 -0
  291. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedPartition.js +1 -0
  292. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/getResolvedSigningRegion.js +1 -0
  293. package/node_modules/@smithy/config-resolver/dist-cjs/regionInfo/index.js +1 -0
  294. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +9 -0
  295. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +9 -0
  296. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js +4 -0
  297. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +11 -0
  298. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +15 -0
  299. package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js +15 -0
  300. package/node_modules/@smithy/config-resolver/dist-es/index.js +3 -0
  301. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js +12 -0
  302. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
  303. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js +2 -0
  304. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
  305. package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
  306. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js +1 -0
  307. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js +29 -0
  308. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js +5 -0
  309. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js +1 -0
  310. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js +12 -0
  311. package/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js +3 -0
  312. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +17 -0
  313. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +17 -0
  314. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts +16 -0
  315. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts +29 -0
  316. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts +51 -0
  317. package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts +11 -0
  318. package/node_modules/@smithy/config-resolver/dist-types/index.d.ts +12 -0
  319. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts +17 -0
  320. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
  321. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts +8 -0
  322. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
  323. package/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +34 -0
  324. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts +10 -0
  325. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts +7 -0
  326. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts +14 -0
  327. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts +12 -0
  328. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts +12 -0
  329. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts +17 -0
  330. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts +11 -0
  331. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts +11 -0
  332. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts +12 -0
  333. package/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts +12 -0
  334. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +17 -0
  335. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +17 -0
  336. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +16 -0
  337. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +29 -0
  338. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +51 -0
  339. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +11 -0
  340. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +12 -0
  341. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +17 -0
  342. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +4 -0
  343. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +8 -0
  344. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +4 -0
  345. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +34 -0
  346. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +10 -0
  347. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +7 -0
  348. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +14 -0
  349. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +12 -0
  350. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +12 -0
  351. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +17 -0
  352. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +11 -0
  353. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +11 -0
  354. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +12 -0
  355. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +12 -0
  356. package/node_modules/@smithy/config-resolver/package.json +63 -0
  357. package/node_modules/@smithy/fetch-http-handler/LICENSE +201 -0
  358. package/node_modules/@smithy/fetch-http-handler/README.md +11 -0
  359. package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +1 -0
  360. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +255 -0
  361. package/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +1 -0
  362. package/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +1 -0
  363. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +138 -0
  364. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -0
  365. package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +11 -0
  366. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +50 -0
  367. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +33 -0
  368. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -0
  369. package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +1 -0
  370. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +2 -0
  371. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +33 -0
  372. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +2 -0
  373. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +1 -0
  374. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +2 -0
  375. package/node_modules/@smithy/fetch-http-handler/package.json +62 -0
  376. package/node_modules/@smithy/hash-node/LICENSE +201 -0
  377. package/node_modules/@smithy/hash-node/README.md +10 -0
  378. package/node_modules/@smithy/hash-node/dist-cjs/index.js +66 -0
  379. package/node_modules/@smithy/hash-node/dist-es/index.js +34 -0
  380. package/node_modules/@smithy/hash-node/dist-types/index.d.ts +13 -0
  381. package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +13 -0
  382. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/LICENSE +201 -0
  383. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/README.md +4 -0
  384. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -0
  385. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -0
  386. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  387. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -0
  388. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -0
  389. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -0
  390. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  391. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  392. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  393. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  394. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  395. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  396. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
  397. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
  398. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  399. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  400. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  401. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  402. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
  403. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  404. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  405. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  406. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  407. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  408. package/node_modules/@smithy/hash-node/node_modules/@smithy/util-utf8/package.json +65 -0
  409. package/node_modules/@smithy/hash-node/package.json +63 -0
  410. package/node_modules/@smithy/middleware-content-length/LICENSE +201 -0
  411. package/node_modules/@smithy/middleware-content-length/README.md +4 -0
  412. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +71 -0
  413. package/node_modules/@smithy/middleware-content-length/dist-es/index.js +39 -0
  414. package/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts +6 -0
  415. package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +6 -0
  416. package/node_modules/@smithy/middleware-content-length/package.json +62 -0
  417. package/node_modules/@smithy/middleware-retry/LICENSE +201 -0
  418. package/node_modules/@smithy/middleware-retry/README.md +11 -0
  419. package/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -0
  420. package/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js +1 -0
  421. package/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js +1 -0
  422. package/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js +1 -0
  423. package/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js +1 -0
  424. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +425 -0
  425. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js +5 -0
  426. package/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js +7 -0
  427. package/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js +1 -0
  428. package/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js +1 -0
  429. package/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js +1 -0
  430. package/node_modules/@smithy/middleware-retry/dist-cjs/types.js +1 -0
  431. package/node_modules/@smithy/middleware-retry/dist-cjs/util.js +1 -0
  432. package/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js +20 -0
  433. package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +90 -0
  434. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +52 -0
  435. package/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js +27 -0
  436. package/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js +2 -0
  437. package/node_modules/@smithy/middleware-retry/dist-es/index.js +7 -0
  438. package/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js +1 -0
  439. package/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js +3 -0
  440. package/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js +22 -0
  441. package/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js +7 -0
  442. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +112 -0
  443. package/node_modules/@smithy/middleware-retry/dist-es/util.js +9 -0
  444. package/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +20 -0
  445. package/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts +30 -0
  446. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +45 -0
  447. package/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts +18 -0
  448. package/node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts +4 -0
  449. package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +7 -0
  450. package/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
  451. package/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts +5 -0
  452. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +4 -0
  453. package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +5 -0
  454. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +6 -0
  455. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +20 -0
  456. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +30 -0
  457. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +45 -0
  458. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +18 -0
  459. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +4 -0
  460. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +7 -0
  461. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
  462. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +5 -0
  463. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +4 -0
  464. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +5 -0
  465. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +6 -0
  466. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +53 -0
  467. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +2 -0
  468. package/node_modules/@smithy/middleware-retry/dist-types/types.d.ts +53 -0
  469. package/node_modules/@smithy/middleware-retry/dist-types/util.d.ts +2 -0
  470. package/node_modules/@smithy/middleware-retry/package.json +77 -0
  471. package/node_modules/@smithy/middleware-serde/LICENSE +201 -0
  472. package/node_modules/@smithy/middleware-serde/README.md +4 -0
  473. package/node_modules/@smithy/middleware-serde/dist-cjs/deserializerMiddleware.js +1 -0
  474. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +102 -0
  475. package/node_modules/@smithy/middleware-serde/dist-cjs/serdePlugin.js +1 -0
  476. package/node_modules/@smithy/middleware-serde/dist-cjs/serializerMiddleware.js +1 -0
  477. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +25 -0
  478. package/node_modules/@smithy/middleware-serde/dist-es/index.js +3 -0
  479. package/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js +22 -0
  480. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +13 -0
  481. package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +5 -0
  482. package/node_modules/@smithy/middleware-serde/dist-types/index.d.ts +3 -0
  483. package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +12 -0
  484. package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +6 -0
  485. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +5 -0
  486. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +3 -0
  487. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +12 -0
  488. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +6 -0
  489. package/node_modules/@smithy/middleware-serde/package.json +61 -0
  490. package/node_modules/@smithy/node-config-provider/LICENSE +201 -0
  491. package/node_modules/@smithy/node-config-provider/README.md +4 -0
  492. package/node_modules/@smithy/node-config-provider/dist-cjs/configLoader.js +1 -0
  493. package/node_modules/@smithy/node-config-provider/dist-cjs/fromEnv.js +1 -0
  494. package/node_modules/@smithy/node-config-provider/dist-cjs/fromSharedConfigFiles.js +1 -0
  495. package/node_modules/@smithy/node-config-provider/dist-cjs/fromStatic.js +1 -0
  496. package/node_modules/@smithy/node-config-provider/dist-cjs/getSelectorName.js +1 -0
  497. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +105 -0
  498. package/node_modules/@smithy/node-config-provider/dist-es/configLoader.js +5 -0
  499. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +14 -0
  500. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +23 -0
  501. package/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js +3 -0
  502. package/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js +12 -0
  503. package/node_modules/@smithy/node-config-provider/dist-es/index.js +1 -0
  504. package/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts +22 -0
  505. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +7 -0
  506. package/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts +15 -0
  507. package/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts +3 -0
  508. package/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts +9 -0
  509. package/node_modules/@smithy/node-config-provider/dist-types/index.d.ts +1 -0
  510. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +22 -0
  511. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +7 -0
  512. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +15 -0
  513. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +3 -0
  514. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +9 -0
  515. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +1 -0
  516. package/node_modules/@smithy/node-config-provider/package.json +64 -0
  517. package/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  518. package/node_modules/@smithy/node-http-handler/README.md +4 -0
  519. package/node_modules/@smithy/node-http-handler/dist-cjs/constants.js +1 -0
  520. package/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js +1 -0
  521. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +687 -0
  522. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +1 -0
  523. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js +1 -0
  524. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js +1 -0
  525. package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +1 -0
  526. package/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js +1 -0
  527. package/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js +1 -0
  528. package/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js +1 -0
  529. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js +1 -0
  530. package/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js +1 -0
  531. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js +1 -0
  532. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js +1 -0
  533. package/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
  534. package/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js +1 -0
  535. package/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  536. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
  537. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  538. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +184 -0
  539. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
  540. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
  541. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +159 -0
  542. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
  543. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +81 -0
  544. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +21 -0
  545. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +8 -0
  546. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +6 -0
  547. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
  548. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +14 -0
  549. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
  550. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +52 -0
  551. package/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  552. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  553. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  554. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +37 -0
  555. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +22 -0
  556. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
  557. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +57 -0
  558. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +14 -0
  559. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
  560. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  561. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
  562. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  563. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +7 -0
  564. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +2 -0
  565. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +14 -0
  566. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  567. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  568. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  569. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +36 -0
  570. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +22 -0
  571. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
  572. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +57 -0
  573. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
  574. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
  575. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
  576. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
  577. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
  578. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
  579. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +2 -0
  580. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
  581. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  582. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
  583. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  584. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  585. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +1 -0
  586. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +1 -0
  587. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +82 -0
  588. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  589. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  590. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  591. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +13 -0
  592. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +18 -0
  593. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  594. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +13 -0
  595. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +18 -0
  596. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  597. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +62 -0
  598. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/LICENSE +201 -0
  599. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/README.md +4 -0
  600. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -0
  601. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -0
  602. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
  603. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
  604. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -0
  605. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
  606. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
  607. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/index.js +237 -0
  608. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
  609. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
  610. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/Field.js +23 -0
  611. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/Fields.js +19 -0
  612. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
  613. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
  614. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +48 -0
  615. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +14 -0
  616. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/index.js +8 -0
  617. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +4 -0
  618. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +49 -0
  619. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +44 -0
  620. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
  621. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
  622. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +37 -0
  623. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
  624. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +16 -0
  625. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/index.d.ts +8 -0
  626. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +1 -0
  627. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +49 -0
  628. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +44 -0
  629. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
  630. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
  631. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +37 -0
  632. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
  633. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +16 -0
  634. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +8 -0
  635. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +1 -0
  636. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +21 -0
  637. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/types.d.ts +21 -0
  638. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/package.json +61 -0
  639. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/LICENSE +201 -0
  640. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/README.md +10 -0
  641. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/dist-cjs/index.js +52 -0
  642. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/dist-es/index.js +21 -0
  643. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/dist-types/index.d.ts +5 -0
  644. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +5 -0
  645. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/querystring-builder/package.json +61 -0
  646. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/LICENSE +201 -0
  647. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/README.md +80 -0
  648. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js +1 -0
  649. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +1 -0
  650. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +1 -0
  651. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +1 -0
  652. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +1 -0
  653. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +1 -0
  654. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/auth.js +1 -0
  655. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/auth/index.js +1 -0
  656. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js +1 -0
  657. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js +1 -0
  658. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/client.js +1 -0
  659. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/command.js +1 -0
  660. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/connection/config.js +1 -0
  661. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/connection/index.js +1 -0
  662. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/connection/manager.js +1 -0
  663. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/connection/pool.js +1 -0
  664. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js +1 -0
  665. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/downlevel-ts3.4/transform/type-transform.js +1 -0
  666. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js +1 -0
  667. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js +1 -0
  668. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js +1 -0
  669. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js +1 -0
  670. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js +1 -0
  671. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js +1 -0
  672. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoints/index.js +1 -0
  673. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/endpoints/shared.js +1 -0
  674. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js +1 -0
  675. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/extensions/checksum.js +1 -0
  676. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js +1 -0
  677. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
  678. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/extensions/index.js +1 -0
  679. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/extensions/retry.js +1 -0
  680. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +1 -0
  681. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/http/httpHandlerInitialization.js +1 -0
  682. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/http.js +1 -0
  683. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +1 -0
  684. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js +1 -0
  685. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/identity/identity.js +1 -0
  686. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/identity/index.js +1 -0
  687. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +1 -0
  688. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/index.js +149 -0
  689. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js +1 -0
  690. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js +1 -0
  691. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js +1 -0
  692. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js +1 -0
  693. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/response.js +1 -0
  694. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js +1 -0
  695. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js +1 -0
  696. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js +1 -0
  697. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js +1 -0
  698. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js +1 -0
  699. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js +1 -0
  700. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  701. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  702. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js +1 -0
  703. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/transform/client-method-transforms.js +1 -0
  704. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js +1 -0
  705. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/transform/exact.js +1 -0
  706. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js +1 -0
  707. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/transform/type-transform.js +1 -0
  708. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js +1 -0
  709. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/util.js +1 -0
  710. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
  711. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
  712. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
  713. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
  714. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
  715. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
  716. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
  717. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/checksum.js +39 -0
  718. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +11 -0
  719. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
  720. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/http.js +5 -0
  721. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
  722. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/index.js +36 -0
  723. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/logger.js +1 -0
  724. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/middleware.js +1 -0
  725. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/pagination.js +1 -0
  726. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/profile.js +6 -0
  727. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/response.js +1 -0
  728. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/retry.js +1 -0
  729. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/serde.js +1 -0
  730. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/shapes.js +1 -0
  731. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/signature.js +1 -0
  732. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/stream.js +1 -0
  733. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
  734. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
  735. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
  736. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transfer.js +6 -0
  737. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
  738. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
  739. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
  740. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
  741. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
  742. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/uri.js +1 -0
  743. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/util.js +1 -0
  744. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/waiter.js +1 -0
  745. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/abort.d.ts +49 -0
  746. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
  747. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
  748. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
  749. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
  750. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
  751. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
  752. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
  753. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +41 -0
  754. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
  755. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/client.d.ts +44 -0
  756. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/command.d.ts +10 -0
  757. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/config.d.ts +7 -0
  758. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
  759. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/manager.d.ts +28 -0
  760. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/connection/pool.d.ts +24 -0
  761. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
  762. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
  763. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/encode.d.ts +19 -0
  764. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
  765. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +15 -0
  766. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +7 -0
  767. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +19 -0
  768. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +10 -0
  769. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
  770. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +25 -0
  771. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/eventStream.d.ts +108 -0
  772. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +55 -0
  773. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
  774. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
  775. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
  776. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
  777. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
  778. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +79 -0
  779. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/http.d.ts +105 -0
  780. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
  781. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +27 -0
  782. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
  783. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
  784. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
  785. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/index.d.ts +36 -0
  786. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
  787. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/middleware.d.ts +510 -0
  788. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/pagination.d.ts +26 -0
  789. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
  790. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
  791. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
  792. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/serde.d.ts +111 -0
  793. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/shapes.d.ts +81 -0
  794. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/signature.d.ts +150 -0
  795. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
  796. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  797. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +62 -0
  798. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +53 -0
  799. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transfer.d.ts +33 -0
  800. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
  801. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +73 -0
  802. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
  803. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +62 -0
  804. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
  805. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +49 -0
  806. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
  807. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
  808. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
  809. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
  810. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
  811. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
  812. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
  813. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
  814. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
  815. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +44 -0
  816. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +10 -0
  817. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +7 -0
  818. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
  819. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +28 -0
  820. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +24 -0
  821. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
  822. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
  823. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +19 -0
  824. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
  825. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +15 -0
  826. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +7 -0
  827. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +19 -0
  828. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +10 -0
  829. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
  830. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +25 -0
  831. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +108 -0
  832. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +55 -0
  833. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
  834. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
  835. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
  836. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
  837. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
  838. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +78 -0
  839. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +105 -0
  840. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
  841. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +27 -0
  842. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
  843. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
  844. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
  845. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +36 -0
  846. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
  847. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +510 -0
  848. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +26 -0
  849. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
  850. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
  851. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
  852. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +111 -0
  853. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +81 -0
  854. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +150 -0
  855. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
  856. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +33 -0
  857. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +61 -0
  858. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +52 -0
  859. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +33 -0
  860. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
  861. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +84 -0
  862. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
  863. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +82 -0
  864. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
  865. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
  866. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
  867. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
  868. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
  869. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
  870. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
  871. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/types/package.json +61 -0
  872. package/node_modules/@smithy/node-http-handler/package.json +67 -0
  873. package/node_modules/@smithy/service-error-classification/LICENSE +201 -0
  874. package/node_modules/@smithy/service-error-classification/README.md +4 -0
  875. package/node_modules/@smithy/service-error-classification/dist-cjs/constants.js +1 -0
  876. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +98 -0
  877. package/node_modules/@smithy/service-error-classification/dist-es/constants.js +27 -0
  878. package/node_modules/@smithy/service-error-classification/dist-es/index.js +21 -0
  879. package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +26 -0
  880. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +19 -0
  881. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +26 -0
  882. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +19 -0
  883. package/node_modules/@smithy/service-error-classification/package.json +58 -0
  884. package/node_modules/@smithy/smithy-client/LICENSE +201 -0
  885. package/node_modules/@smithy/smithy-client/README.md +10 -0
  886. package/node_modules/@smithy/smithy-client/dist-cjs/NoOpLogger.js +1 -0
  887. package/node_modules/@smithy/smithy-client/dist-cjs/client.js +1 -0
  888. package/node_modules/@smithy/smithy-client/dist-cjs/collect-stream-body.js +1 -0
  889. package/node_modules/@smithy/smithy-client/dist-cjs/command.js +1 -0
  890. package/node_modules/@smithy/smithy-client/dist-cjs/constants.js +1 -0
  891. package/node_modules/@smithy/smithy-client/dist-cjs/create-aggregated-client.js +1 -0
  892. package/node_modules/@smithy/smithy-client/dist-cjs/date-utils.js +1 -0
  893. package/node_modules/@smithy/smithy-client/dist-cjs/default-error-handler.js +1 -0
  894. package/node_modules/@smithy/smithy-client/dist-cjs/defaults-mode.js +1 -0
  895. package/node_modules/@smithy/smithy-client/dist-cjs/emitWarningIfUnsupportedVersion.js +1 -0
  896. package/node_modules/@smithy/smithy-client/dist-cjs/exceptions.js +1 -0
  897. package/node_modules/@smithy/smithy-client/dist-cjs/extended-encode-uri-component.js +1 -0
  898. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +1 -0
  899. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +1 -0
  900. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +1 -0
  901. package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +1 -0
  902. package/node_modules/@smithy/smithy-client/dist-cjs/get-array-if-single-item.js +1 -0
  903. package/node_modules/@smithy/smithy-client/dist-cjs/get-value-from-text-node.js +1 -0
  904. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1309 -0
  905. package/node_modules/@smithy/smithy-client/dist-cjs/is-serializable-header-value.js +1 -0
  906. package/node_modules/@smithy/smithy-client/dist-cjs/lazy-json.js +1 -0
  907. package/node_modules/@smithy/smithy-client/dist-cjs/object-mapping.js +1 -0
  908. package/node_modules/@smithy/smithy-client/dist-cjs/parse-utils.js +1 -0
  909. package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
  910. package/node_modules/@smithy/smithy-client/dist-cjs/resolve-path.js +1 -0
  911. package/node_modules/@smithy/smithy-client/dist-cjs/ser-utils.js +1 -0
  912. package/node_modules/@smithy/smithy-client/dist-cjs/serde-json.js +1 -0
  913. package/node_modules/@smithy/smithy-client/dist-cjs/split-every.js +1 -0
  914. package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
  915. package/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js +7 -0
  916. package/node_modules/@smithy/smithy-client/dist-es/client.js +42 -0
  917. package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -0
  918. package/node_modules/@smithy/smithy-client/dist-es/command.js +115 -0
  919. package/node_modules/@smithy/smithy-client/dist-es/constants.js +1 -0
  920. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +21 -0
  921. package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +190 -0
  922. package/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js +22 -0
  923. package/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js +26 -0
  924. package/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +6 -0
  925. package/node_modules/@smithy/smithy-client/dist-es/exceptions.js +22 -0
  926. package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -0
  927. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
  928. package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
  929. package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
  930. package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
  931. package/node_modules/@smithy/smithy-client/dist-es/get-array-if-single-item.js +1 -0
  932. package/node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js +12 -0
  933. package/node_modules/@smithy/smithy-client/dist-es/index.js +25 -0
  934. package/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js +3 -0
  935. package/node_modules/@smithy/smithy-client/dist-es/lazy-json.js +33 -0
  936. package/node_modules/@smithy/smithy-client/dist-es/object-mapping.js +92 -0
  937. package/node_modules/@smithy/smithy-client/dist-es/parse-utils.js +230 -0
  938. package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
  939. package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -0
  940. package/node_modules/@smithy/smithy-client/dist-es/ser-utils.js +14 -0
  941. package/node_modules/@smithy/smithy-client/dist-es/serde-json.js +19 -0
  942. package/node_modules/@smithy/smithy-client/dist-es/split-every.js +27 -0
  943. package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
  944. package/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts +11 -0
  945. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +53 -0
  946. package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +5 -0
  947. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +113 -0
  948. package/node_modules/@smithy/smithy-client/dist-types/constants.d.ts +4 -0
  949. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +9 -0
  950. package/node_modules/@smithy/smithy-client/dist-types/date-utils.d.ts +73 -0
  951. package/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts +13 -0
  952. package/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts +28 -0
  953. package/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +8 -0
  954. package/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts +34 -0
  955. package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +5 -0
  956. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
  957. package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
  958. package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
  959. package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
  960. package/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts +7 -0
  961. package/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts +7 -0
  962. package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +26 -0
  963. package/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts +5 -0
  964. package/node_modules/@smithy/smithy-client/dist-types/lazy-json.d.ts +24 -0
  965. package/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts +162 -0
  966. package/node_modules/@smithy/smithy-client/dist-types/parse-utils.d.ts +270 -0
  967. package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
  968. package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +5 -0
  969. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +14 -0
  970. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +12 -0
  971. package/node_modules/@smithy/smithy-client/dist-types/split-every.d.ts +11 -0
  972. package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
  973. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +11 -0
  974. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +53 -0
  975. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +5 -0
  976. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +113 -0
  977. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +4 -0
  978. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +9 -0
  979. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/date-utils.d.ts +73 -0
  980. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +13 -0
  981. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +28 -0
  982. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +8 -0
  983. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +34 -0
  984. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +5 -0
  985. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
  986. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
  987. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
  988. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
  989. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +7 -0
  990. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +7 -0
  991. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +26 -0
  992. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +5 -0
  993. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/lazy-json.d.ts +24 -0
  994. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +178 -0
  995. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/parse-utils.d.ts +270 -0
  996. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
  997. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +5 -0
  998. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +14 -0
  999. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +12 -0
  1000. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-every.d.ts +11 -0
  1001. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
  1002. package/node_modules/@smithy/smithy-client/package.json +66 -0
  1003. package/node_modules/@smithy/util-base64/LICENSE +201 -0
  1004. package/node_modules/@smithy/util-base64/README.md +4 -0
  1005. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +35 -0
  1006. package/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js +40 -0
  1007. package/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
  1008. package/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
  1009. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +39 -0
  1010. package/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
  1011. package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +28 -0
  1012. package/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js +36 -0
  1013. package/node_modules/@smithy/util-base64/dist-es/fromBase64.js +12 -0
  1014. package/node_modules/@smithy/util-base64/dist-es/index.js +2 -0
  1015. package/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +35 -0
  1016. package/node_modules/@smithy/util-base64/dist-es/toBase64.js +15 -0
  1017. package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +6 -0
  1018. package/node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts +8 -0
  1019. package/node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts +7 -0
  1020. package/node_modules/@smithy/util-base64/dist-types/index.d.ts +2 -0
  1021. package/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +9 -0
  1022. package/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +8 -0
  1023. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +6 -0
  1024. package/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts +8 -0
  1025. package/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts +7 -0
  1026. package/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts +2 -0
  1027. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +9 -0
  1028. package/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +8 -0
  1029. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/LICENSE +201 -0
  1030. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/README.md +4 -0
  1031. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +1 -0
  1032. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +1 -0
  1033. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  1034. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +1 -0
  1035. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +1 -0
  1036. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +1 -0
  1037. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  1038. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  1039. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  1040. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  1041. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  1042. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  1043. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
  1044. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
  1045. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  1046. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  1047. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  1048. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  1049. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
  1050. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  1051. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  1052. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  1053. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  1054. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  1055. package/node_modules/@smithy/util-base64/node_modules/@smithy/util-utf8/package.json +65 -0
  1056. package/node_modules/@smithy/util-base64/package.json +72 -0
  1057. package/node_modules/@smithy/util-body-length-browser/LICENSE +201 -0
  1058. package/node_modules/@smithy/util-body-length-browser/README.md +12 -0
  1059. package/node_modules/@smithy/util-body-length-browser/dist-cjs/calculateBodyLength.js +1 -0
  1060. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +57 -0
  1061. package/node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js +26 -0
  1062. package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +1 -0
  1063. package/node_modules/@smithy/util-body-length-browser/dist-types/calculateBodyLength.d.ts +4 -0
  1064. package/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts +4 -0
  1065. package/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts +4 -0
  1066. package/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts +4 -0
  1067. package/node_modules/@smithy/util-body-length-browser/package.json +56 -0
  1068. package/node_modules/@smithy/util-body-length-node/LICENSE +201 -0
  1069. package/node_modules/@smithy/util-body-length-node/README.md +12 -0
  1070. package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +1 -0
  1071. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +53 -0
  1072. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +25 -0
  1073. package/node_modules/@smithy/util-body-length-node/dist-es/index.js +1 -0
  1074. package/node_modules/@smithy/util-body-length-node/dist-types/calculateBodyLength.d.ts +4 -0
  1075. package/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts +4 -0
  1076. package/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts +4 -0
  1077. package/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts +4 -0
  1078. package/node_modules/@smithy/util-body-length-node/package.json +60 -0
  1079. package/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  1080. package/node_modules/@smithy/util-buffer-from/README.md +10 -0
  1081. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  1082. package/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  1083. package/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  1084. package/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  1085. package/node_modules/@smithy/util-buffer-from/package.json +60 -0
  1086. package/node_modules/@smithy/util-defaults-mode-browser/LICENSE +201 -0
  1087. package/node_modules/@smithy/util-defaults-mode-browser/README.md +10 -0
  1088. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js +4 -0
  1089. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +25 -0
  1090. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +33 -0
  1091. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js +23 -0
  1092. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js +1 -0
  1093. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +1 -0
  1094. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +27 -0
  1095. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js +19 -0
  1096. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts +12 -0
  1097. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts +4 -0
  1098. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts +17 -0
  1099. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts +16 -0
  1100. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +12 -0
  1101. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +4 -0
  1102. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +17 -0
  1103. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +16 -0
  1104. package/node_modules/@smithy/util-defaults-mode-browser/package.json +65 -0
  1105. package/node_modules/@smithy/util-defaults-mode-node/LICENSE +201 -0
  1106. package/node_modules/@smithy/util-defaults-mode-node/README.md +10 -0
  1107. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/constants.js +1 -0
  1108. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/defaultsModeConfig.js +1 -0
  1109. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +119 -0
  1110. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/resolveDefaultsModeConfig.js +1 -0
  1111. package/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js +6 -0
  1112. package/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js +11 -0
  1113. package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +1 -0
  1114. package/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js +52 -0
  1115. package/node_modules/@smithy/util-defaults-mode-node/dist-types/constants.d.ts +24 -0
  1116. package/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts +6 -0
  1117. package/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts +4 -0
  1118. package/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts +17 -0
  1119. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +24 -0
  1120. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +6 -0
  1121. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +4 -0
  1122. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +17 -0
  1123. package/node_modules/@smithy/util-defaults-mode-node/package.json +65 -0
  1124. package/node_modules/@smithy/util-retry/LICENSE +201 -0
  1125. package/node_modules/@smithy/util-retry/README.md +78 -0
  1126. package/node_modules/@smithy/util-retry/dist-cjs/AdaptiveRetryStrategy.js +1 -0
  1127. package/node_modules/@smithy/util-retry/dist-cjs/ConfiguredRetryStrategy.js +1 -0
  1128. package/node_modules/@smithy/util-retry/dist-cjs/DefaultRateLimiter.js +1 -0
  1129. package/node_modules/@smithy/util-retry/dist-cjs/StandardRetryStrategy.js +1 -0
  1130. package/node_modules/@smithy/util-retry/dist-cjs/config.js +1 -0
  1131. package/node_modules/@smithy/util-retry/dist-cjs/constants.js +1 -0
  1132. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryBackoffStrategy.js +1 -0
  1133. package/node_modules/@smithy/util-retry/dist-cjs/defaultRetryToken.js +1 -0
  1134. package/node_modules/@smithy/util-retry/dist-cjs/index.js +348 -0
  1135. package/node_modules/@smithy/util-retry/dist-cjs/types.js +1 -0
  1136. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +24 -0
  1137. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +18 -0
  1138. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +99 -0
  1139. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +65 -0
  1140. package/node_modules/@smithy/util-retry/dist-es/config.js +7 -0
  1141. package/node_modules/@smithy/util-retry/dist-es/constants.js +9 -0
  1142. package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +14 -0
  1143. package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +11 -0
  1144. package/node_modules/@smithy/util-retry/dist-es/index.js +7 -0
  1145. package/node_modules/@smithy/util-retry/dist-es/types.js +1 -0
  1146. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +33 -0
  1147. package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +32 -0
  1148. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +45 -0
  1149. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +26 -0
  1150. package/node_modules/@smithy/util-retry/dist-types/config.d.ts +20 -0
  1151. package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +59 -0
  1152. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +5 -0
  1153. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +9 -0
  1154. package/node_modules/@smithy/util-retry/dist-types/index.d.ts +7 -0
  1155. package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +33 -0
  1156. package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +32 -0
  1157. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +45 -0
  1158. package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +26 -0
  1159. package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +20 -0
  1160. package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +59 -0
  1161. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +5 -0
  1162. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +9 -0
  1163. package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +7 -0
  1164. package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +19 -0
  1165. package/node_modules/@smithy/util-retry/dist-types/types.d.ts +19 -0
  1166. package/node_modules/@smithy/util-retry/package.json +67 -0
  1167. package/node_modules/@smithy/util-uri-escape/LICENSE +201 -0
  1168. package/node_modules/@smithy/util-uri-escape/README.md +10 -0
  1169. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri-path.js +1 -0
  1170. package/node_modules/@smithy/util-uri-escape/dist-cjs/escape-uri.js +1 -0
  1171. package/node_modules/@smithy/util-uri-escape/dist-cjs/index.js +43 -0
  1172. package/node_modules/@smithy/util-uri-escape/dist-es/escape-uri-path.js +2 -0
  1173. package/node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js +2 -0
  1174. package/node_modules/@smithy/util-uri-escape/dist-es/index.js +2 -0
  1175. package/node_modules/@smithy/util-uri-escape/dist-types/escape-uri-path.d.ts +4 -0
  1176. package/node_modules/@smithy/util-uri-escape/dist-types/escape-uri.d.ts +4 -0
  1177. package/node_modules/@smithy/util-uri-escape/dist-types/index.d.ts +8 -0
  1178. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri-path.d.ts +4 -0
  1179. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/escape-uri.d.ts +4 -0
  1180. package/node_modules/@smithy/util-uri-escape/dist-types/ts3.4/index.d.ts +8 -0
  1181. package/node_modules/@smithy/util-uri-escape/package.json +59 -0
  1182. package/out/client/streamingClient/codewhispererStreamingClient.js +7 -8
  1183. package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
  1184. package/out/client/token/bearer-token-service.json +2472 -470
  1185. package/out/constants.d.ts +2 -0
  1186. package/out/constants.js +6 -0
  1187. package/out/constants.js.map +1 -0
  1188. package/out/language-server/auto-trigger/coefficients.json +11 -1
  1189. package/out/language-server/chat/chatController.d.ts +4 -3
  1190. package/out/language-server/chat/chatController.js +90 -31
  1191. package/out/language-server/chat/chatController.js.map +1 -1
  1192. package/out/language-server/chat/chatController.test.js +51 -28
  1193. package/out/language-server/chat/chatController.test.js.map +1 -1
  1194. package/out/language-server/chat/chatEventParser.d.ts +7 -2
  1195. package/out/language-server/chat/chatEventParser.js +13 -5
  1196. package/out/language-server/chat/chatEventParser.js.map +1 -1
  1197. package/out/language-server/chat/chatEventParser.test.js +88 -42
  1198. package/out/language-server/chat/chatEventParser.test.js.map +1 -1
  1199. package/out/language-server/chat/chatSessionService.d.ts +4 -4
  1200. package/out/language-server/chat/chatSessionService.js +13 -13
  1201. package/out/language-server/chat/chatSessionService.js.map +1 -1
  1202. package/out/language-server/chat/chatSessionService.test.js +19 -25
  1203. package/out/language-server/chat/chatSessionService.test.js.map +1 -1
  1204. package/out/language-server/chat/contexts/documentContext.d.ts +1 -4
  1205. package/out/language-server/chat/contexts/documentContext.js +1 -17
  1206. package/out/language-server/chat/contexts/documentContext.js.map +1 -1
  1207. package/out/language-server/chat/contexts/documentContext.test.js +0 -7
  1208. package/out/language-server/chat/contexts/documentContext.test.js.map +1 -1
  1209. package/out/language-server/chat/contexts/triggerContext.d.ts +3 -4
  1210. package/out/language-server/chat/contexts/triggerContext.js +0 -4
  1211. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  1212. package/out/language-server/chat/contexts/triggerContexts.test.js +0 -1
  1213. package/out/language-server/chat/contexts/triggerContexts.test.js.map +1 -1
  1214. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +7 -2
  1215. package/out/language-server/chat/telemetry/chatTelemetryController.js +68 -44
  1216. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  1217. package/out/language-server/chat/telemetry/chatTelemetryController.test.js +112 -1
  1218. package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +1 -1
  1219. package/out/language-server/chat/telemetry/clientTelemetry.d.ts +0 -1
  1220. package/out/language-server/chat/telemetry/clientTelemetry.js.map +1 -1
  1221. package/out/language-server/codeWhispererSecurityScanServer.js +2 -1
  1222. package/out/language-server/codeWhispererSecurityScanServer.js.map +1 -1
  1223. package/out/language-server/codeWhispererServer.js +67 -46
  1224. package/out/language-server/codeWhispererServer.js.map +1 -1
  1225. package/out/language-server/codeWhispererServer.test.js +73 -2
  1226. package/out/language-server/codeWhispererServer.test.js.map +1 -1
  1227. package/out/language-server/codeWhispererService.d.ts +14 -11
  1228. package/out/language-server/codeWhispererService.js +25 -12
  1229. package/out/language-server/codeWhispererService.js.map +1 -1
  1230. package/out/language-server/configuration/qConfigurationServer.js +2 -2
  1231. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  1232. package/out/language-server/constants.d.ts +1 -0
  1233. package/out/language-server/constants.js +2 -1
  1234. package/out/language-server/constants.js.map +1 -1
  1235. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +2 -3
  1236. package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +1 -1
  1237. package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
  1238. package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
  1239. package/out/language-server/languageDetection.d.ts +9 -1
  1240. package/out/language-server/languageDetection.js +71 -5
  1241. package/out/language-server/languageDetection.js.map +1 -1
  1242. package/out/language-server/netTransform/artifactManager.js +12 -10
  1243. package/out/language-server/netTransform/artifactManager.js.map +1 -1
  1244. package/out/language-server/netTransform/converter.d.ts +1 -2
  1245. package/out/language-server/netTransform/converter.js +3 -48
  1246. package/out/language-server/netTransform/converter.js.map +1 -1
  1247. package/out/language-server/netTransform/models.d.ts +4 -0
  1248. package/out/language-server/netTransform/models.js.map +1 -1
  1249. package/out/language-server/netTransform/resources/SupportedProjects.js +0 -1
  1250. package/out/language-server/netTransform/resources/SupportedProjects.js.map +1 -1
  1251. package/out/language-server/netTransform/tests/converter.test.js +2 -159
  1252. package/out/language-server/netTransform/tests/converter.test.js.map +1 -1
  1253. package/out/language-server/netTransform/tests/validation.test.js +2 -0
  1254. package/out/language-server/netTransform/tests/validation.test.js.map +1 -1
  1255. package/out/language-server/netTransform/transformHandler.js +25 -35
  1256. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  1257. package/out/language-server/netTransformServer.js +2 -21
  1258. package/out/language-server/netTransformServer.js.map +1 -1
  1259. package/out/language-server/proxy-server.js +9 -83
  1260. package/out/language-server/proxy-server.js.map +1 -1
  1261. package/out/language-server/qChatServer.js +13 -4
  1262. package/out/language-server/qChatServer.js.map +1 -1
  1263. package/out/language-server/session/sessionManager.d.ts +7 -2
  1264. package/out/language-server/session/sessionManager.js +2 -0
  1265. package/out/language-server/session/sessionManager.js.map +1 -1
  1266. package/out/language-server/session/sessionManager.test.js +4 -0
  1267. package/out/language-server/session/sessionManager.test.js.map +1 -1
  1268. package/out/language-server/telemetry/codeDiffTracker.d.ts +2 -1
  1269. package/out/language-server/telemetry/codeDiffTracker.js +6 -1
  1270. package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
  1271. package/out/language-server/telemetry/codePercentage.d.ts +6 -4
  1272. package/out/language-server/telemetry/codePercentage.js +49 -12
  1273. package/out/language-server/telemetry/codePercentage.js.map +1 -1
  1274. package/out/language-server/telemetry/codePercentage.test.js +169 -41
  1275. package/out/language-server/telemetry/codePercentage.test.js.map +1 -1
  1276. package/out/language-server/telemetry/types.d.ts +2 -1
  1277. package/out/language-server/telemetry/types.js.map +1 -1
  1278. package/out/language-server/telemetry/userTriggerDecision.test.js +560 -156
  1279. package/out/language-server/telemetry/userTriggerDecision.test.js.map +1 -1
  1280. package/out/language-server/telemetry.test.js +11 -9
  1281. package/out/language-server/telemetry.test.js.map +1 -1
  1282. package/out/language-server/telemetryService.d.ts +79 -0
  1283. package/out/language-server/telemetryService.js +321 -0
  1284. package/out/language-server/telemetryService.js.map +1 -0
  1285. package/out/language-server/telemetryService.test.d.ts +1 -0
  1286. package/out/language-server/telemetryService.test.js +761 -0
  1287. package/out/language-server/telemetryService.test.js.map +1 -0
  1288. package/out/language-server/utilities/telemetryUtils.d.ts +4 -0
  1289. package/out/language-server/utilities/telemetryUtils.js +89 -0
  1290. package/out/language-server/utilities/telemetryUtils.js.map +1 -0
  1291. package/out/language-server/utilities/telemetryUtils.test.d.ts +1 -0
  1292. package/out/language-server/utilities/telemetryUtils.test.js +207 -0
  1293. package/out/language-server/utilities/telemetryUtils.test.js.map +1 -0
  1294. package/out/language-server/utils.d.ts +7 -4
  1295. package/out/language-server/utils.js +57 -34
  1296. package/out/language-server/utils.js.map +1 -1
  1297. package/out/language-server/utils.test.js +104 -73
  1298. package/out/language-server/utils.test.js.map +1 -1
  1299. package/package.json +4 -7
  1300. package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.d.ts +0 -5
  1301. package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.js +0 -28
  1302. package/node_modules/@aws/lsp-fqn/out/browser/fqnWorkerPool.js.map +0 -1
  1303. package/node_modules/@aws/lsp-fqn/out/browser/index.d.ts +0 -2
  1304. package/node_modules/@aws/lsp-fqn/out/browser/index.js +0 -19
  1305. package/node_modules/@aws/lsp-fqn/out/browser/index.js.map +0 -1
  1306. package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.d.ts +0 -7
  1307. package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.js +0 -39
  1308. package/node_modules/@aws/lsp-fqn/out/common/commonFqnWorkerPool.js.map +0 -1
  1309. package/node_modules/@aws/lsp-fqn/out/common/defaults.d.ts +0 -4
  1310. package/node_modules/@aws/lsp-fqn/out/common/defaults.js +0 -8
  1311. package/node_modules/@aws/lsp-fqn/out/common/defaults.js.map +0 -1
  1312. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.d.ts +0 -3
  1313. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.js +0 -28
  1314. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.js.map +0 -1
  1315. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.test.js +0 -57
  1316. package/node_modules/@aws/lsp-fqn/out/common/fqnExtractor.test.js.map +0 -1
  1317. package/node_modules/@aws/lsp-fqn/out/common/types.d.ts +0 -58
  1318. package/node_modules/@aws/lsp-fqn/out/common/types.js +0 -3
  1319. package/node_modules/@aws/lsp-fqn/out/common/types.js.map +0 -1
  1320. package/node_modules/@aws/lsp-fqn/out/index.d.ts +0 -7
  1321. package/node_modules/@aws/lsp-fqn/out/index.js +0 -18
  1322. package/node_modules/@aws/lsp-fqn/out/index.js.map +0 -1
  1323. package/node_modules/@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.js +0 -19
  1324. package/node_modules/@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.js.map +0 -1
  1325. package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.d.ts +0 -5
  1326. package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.js +0 -12
  1327. package/node_modules/@aws/lsp-fqn/out/node/fqnWorkerPool.js.map +0 -1
  1328. package/node_modules/@aws/lsp-fqn/out/node/index.d.ts +0 -2
  1329. package/node_modules/@aws/lsp-fqn/out/node/index.js +0 -19
  1330. package/node_modules/@aws/lsp-fqn/out/node/index.js.map +0 -1
  1331. package/node_modules/@aws/lsp-fqn/package.json +0 -42
  1332. package/node_modules/@aws/lsp-fqn/src/browser/fqnWorkerPool.ts +0 -26
  1333. package/node_modules/@aws/lsp-fqn/src/browser/index.ts +0 -2
  1334. package/node_modules/@aws/lsp-fqn/src/common/commonFqnWorkerPool.ts +0 -44
  1335. package/node_modules/@aws/lsp-fqn/src/common/defaults.ts +0 -4
  1336. package/node_modules/@aws/lsp-fqn/src/common/fqnExtractor.test.ts +0 -66
  1337. package/node_modules/@aws/lsp-fqn/src/common/fqnExtractor.ts +0 -35
  1338. package/node_modules/@aws/lsp-fqn/src/common/types.ts +0 -77
  1339. package/node_modules/@aws/lsp-fqn/src/index.ts +0 -8
  1340. package/node_modules/@aws/lsp-fqn/src/node/aws-lsp-fqn-worker.ts +0 -19
  1341. package/node_modules/@aws/lsp-fqn/src/node/fqnWorkerPool.ts +0 -9
  1342. package/node_modules/@aws/lsp-fqn/src/node/index.ts +0 -2
  1343. package/node_modules/@aws/lsp-fqn/tsconfig.json +0 -8
  1344. package/node_modules/@aws/lsp-fqn/tsconfig.tsbuildinfo +0 -1
  1345. package/node_modules/@aws-sdk/types/README.md +0 -4
  1346. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -5
  1347. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -2
  1348. package/node_modules/@aws-sdk/types/dist-cjs/blob/runtime-blob-types.browser.js +0 -2
  1349. package/node_modules/@aws-sdk/types/dist-cjs/blob/runtime-blob-types.node.js +0 -2
  1350. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -2
  1351. package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -2
  1352. package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -2
  1353. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -2
  1354. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -2
  1355. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -2
  1356. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -8
  1357. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -2
  1358. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -5
  1359. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -2
  1360. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -2
  1361. package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -2
  1362. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -2
  1363. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -2
  1364. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -2
  1365. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -2
  1366. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -2
  1367. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -8
  1368. package/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -35
  1369. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -2
  1370. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -2
  1371. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -2
  1372. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -2
  1373. package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -2
  1374. package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -2
  1375. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -2
  1376. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -2
  1377. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -2
  1378. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -2
  1379. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -2
  1380. package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -2
  1381. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -5
  1382. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -2
  1383. package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -2
  1384. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -2
  1385. package/node_modules/@aws-sdk/types/dist-es/auth.js +0 -1
  1386. package/node_modules/@aws-sdk/types/dist-es/dns.js +0 -5
  1387. package/node_modules/@aws-sdk/types/dist-es/endpoint.js +0 -1
  1388. package/node_modules/@aws-sdk/types/dist-es/identity/index.js +0 -5
  1389. package/node_modules/@aws-sdk/types/dist-es/index.js +0 -32
  1390. package/node_modules/@aws-sdk/types/dist-es/transfer.js +0 -1
  1391. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +0 -1
  1392. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +0 -1
  1393. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +0 -2
  1394. package/node_modules/@aws-sdk/types/dist-types/blob/runtime-blob-types.browser.d.ts +0 -6
  1395. package/node_modules/@aws-sdk/types/dist-types/blob/runtime-blob-types.node.d.ts +0 -9
  1396. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +0 -1
  1397. package/node_modules/@aws-sdk/types/dist-types/client.d.ts +0 -1
  1398. package/node_modules/@aws-sdk/types/dist-types/command.d.ts +0 -1
  1399. package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +0 -1
  1400. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +0 -17
  1401. package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +0 -1
  1402. package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +0 -85
  1403. package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +0 -1
  1404. package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +0 -1
  1405. package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +0 -1
  1406. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +0 -8
  1407. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +0 -33
  1408. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +0 -6
  1409. package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +0 -1
  1410. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +0 -1
  1411. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +0 -18
  1412. package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +0 -14
  1413. package/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +0 -5
  1414. package/node_modules/@aws-sdk/types/dist-types/index.d.ts +0 -32
  1415. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +0 -22
  1416. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +0 -1
  1417. package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +0 -1
  1418. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +0 -1
  1419. package/node_modules/@aws-sdk/types/dist-types/request.d.ts +0 -7
  1420. package/node_modules/@aws-sdk/types/dist-types/response.d.ts +0 -7
  1421. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +0 -1
  1422. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +0 -24
  1423. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +0 -1
  1424. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +0 -1
  1425. package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +0 -1
  1426. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +0 -17
  1427. package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +0 -1
  1428. package/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +0 -1
  1429. package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +0 -5
  1430. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +0 -2
  1431. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/runtime-blob-types.browser.d.ts +0 -1
  1432. package/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/runtime-blob-types.node.d.ts +0 -2
  1433. package/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +0 -1
  1434. package/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +0 -1
  1435. package/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +0 -1
  1436. package/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +0 -6
  1437. package/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +0 -4
  1438. package/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +0 -7
  1439. package/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +0 -19
  1440. package/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +0 -6
  1441. package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +0 -9
  1442. package/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +0 -24
  1443. package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +0 -5
  1444. package/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +0 -17
  1445. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +0 -2
  1446. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +0 -4
  1447. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +0 -1
  1448. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +0 -6
  1449. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +0 -5
  1450. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +0 -5
  1451. package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +0 -32
  1452. package/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +0 -15
  1453. package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +0 -40
  1454. package/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +0 -1
  1455. package/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +0 -6
  1456. package/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +0 -4
  1457. package/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +0 -4
  1458. package/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +0 -12
  1459. package/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +0 -16
  1460. package/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +0 -6
  1461. package/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +0 -15
  1462. package/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +0 -4
  1463. package/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +0 -4
  1464. package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +0 -7
  1465. package/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +0 -1
  1466. package/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +0 -14
  1467. package/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +0 -1
  1468. package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +0 -1
  1469. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +0 -1
  1470. package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +0 -1
  1471. package/node_modules/@aws-sdk/types/package.json +0 -64
  1472. package/out/language-server/chat/contexts/documentFqnExtractor.d.ts +0 -22
  1473. package/out/language-server/chat/contexts/documentFqnExtractor.js +0 -95
  1474. package/out/language-server/chat/contexts/documentFqnExtractor.js.map +0 -1
  1475. package/out/language-server/chat/contexts/documentFqnExtractor.test.js +0 -94
  1476. package/out/language-server/chat/contexts/documentFqnExtractor.test.js.map +0 -1
  1477. package/out/language-server/chat/contexts/mockData.d.ts +0 -37
  1478. package/out/language-server/chat/contexts/mockData.js +0 -98
  1479. package/out/language-server/chat/contexts/mockData.js.map +0 -1
  1480. /package/node_modules/@aws-sdk/{types/dist-cjs/abort.js → util-user-agent-browser/dist-cjs/configurations.js} +0 -0
  1481. /package/node_modules/@aws-sdk/{types/dist-es/abort.js → util-user-agent-browser/dist-es/configurations.js} +0 -0
  1482. /package/node_modules/{@aws-sdk/types → @smithy/config-resolver}/LICENSE +0 -0
  1483. /package/node_modules/{@aws-sdk/types/dist-es/blob/blob-types.js → @smithy/config-resolver/dist-es/regionInfo/EndpointVariant.js} +0 -0
  1484. /package/node_modules/{@aws-sdk/types/dist-es/blob/runtime-blob-types.browser.js → @smithy/config-resolver/dist-es/regionInfo/EndpointVariantTag.js} +0 -0
  1485. /package/node_modules/{@aws-sdk/types/dist-es/blob/runtime-blob-types.node.js → @smithy/config-resolver/dist-es/regionInfo/PartitionHash.js} +0 -0
  1486. /package/node_modules/{@aws-sdk/types/dist-es/checksum.js → @smithy/config-resolver/dist-es/regionInfo/RegionHash.js} +0 -0
  1487. /package/node_modules/{@aws-sdk/types/dist-es/client.js → @smithy/middleware-retry/dist-es/types.js} +0 -0
  1488. /package/node_modules/{@aws-sdk/types/dist-es/command.js → @smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/httpHandler.js} +0 -0
  1489. /package/node_modules/{@aws-sdk/types/dist-es/connection.js → @smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-es/types.js} +0 -0
  1490. /package/node_modules/{@aws-sdk/types/dist-es/credentials.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/abort.js} +0 -0
  1491. /package/node_modules/{@aws-sdk/types/dist-es/crypto.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js} +0 -0
  1492. /package/node_modules/{@aws-sdk/types/dist-es/encode.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js} +0 -0
  1493. /package/node_modules/{@aws-sdk/types/dist-es/eventStream.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/HttpSigner.js} +0 -0
  1494. /package/node_modules/{@aws-sdk/types/dist-es/extensions/index.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js} +0 -0
  1495. /package/node_modules/{@aws-sdk/types/dist-es/http.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js} +0 -0
  1496. /package/node_modules/{@aws-sdk/types/dist-es/identity/AnonymousIdentity.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/checksum.js} +0 -0
  1497. /package/node_modules/{@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/client.js} +0 -0
  1498. /package/node_modules/{@aws-sdk/types/dist-es/identity/Identity.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/command.js} +0 -0
  1499. /package/node_modules/{@aws-sdk/types/dist-es/identity/LoginIdentity.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/config.js} +0 -0
  1500. /package/node_modules/{@aws-sdk/types/dist-es/identity/TokenIdentity.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/manager.js} +0 -0
  1501. /package/node_modules/{@aws-sdk/types/dist-es/logger.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/connection/pool.js} +0 -0
  1502. /package/node_modules/{@aws-sdk/types/dist-es/middleware.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/crypto.js} +0 -0
  1503. /package/node_modules/{@aws-sdk/types/dist-es/pagination.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js} +0 -0
  1504. /package/node_modules/{@aws-sdk/types/dist-es/profile.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/encode.js} +0 -0
  1505. /package/node_modules/{@aws-sdk/types/dist-es/request.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js} +0 -0
  1506. /package/node_modules/{@aws-sdk/types/dist-es/response.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js} +0 -0
  1507. /package/node_modules/{@aws-sdk/types/dist-es/retry.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js} +0 -0
  1508. /package/node_modules/{@aws-sdk/types/dist-es/serde.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js} +0 -0
  1509. /package/node_modules/{@aws-sdk/types/dist-es/shapes.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/endpoints/shared.js} +0 -0
  1510. /package/node_modules/{@aws-sdk/types/dist-es/signature.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/eventStream.js} +0 -0
  1511. /package/node_modules/{@aws-sdk/types/dist-es/stream.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js} +0 -0
  1512. /package/node_modules/{@aws-sdk/types/dist-es/token.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/extensions/retry.js} +0 -0
  1513. /package/node_modules/{@aws-sdk/types/dist-es/uri.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js} +0 -0
  1514. /package/node_modules/{@aws-sdk/types/dist-es/util.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js} +0 -0
  1515. /package/node_modules/{@aws-sdk/types/dist-es/waiter.js → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js} +0 -0
  1516. /package/node_modules/{@aws/lsp-fqn/out/common/fqnExtractor.test.d.ts → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js} +0 -0
  1517. /package/node_modules/{@aws/lsp-fqn/out/node/aws-lsp-fqn-worker.d.ts → @smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/identity.js} +0 -0
  1518. /package/{out/language-server/chat/contexts/documentFqnExtractor.test.d.ts → node_modules/@smithy/node-http-handler/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"chatEventParser.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatEventParser.ts"],"names":[],"mappings":";;;AAWA,MAAa,eAAe;IACxB,MAAM,CAAU,cAAc,GAAG,gCAAgC,CAAA;IAEjE,KAAK,CAAS;IACd,SAAS,CAAS;IAClB,IAAI,CAAS;IACb,UAAU,CAAU;IACpB,cAAc,CAA4C;IAC1D,QAAQ,CAAgD;IACxD,aAAa,CAAgC;IAE7C,OAAO,CAAyB;IAChC,cAAc,GAAW,CAAC,CAAA;IAC1B,YAAY,GAAG;QAC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KAAK;gBACd,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,IAAI,CAAC,KAAK;aACpB;YACH,CAAC,CAAC;gBACI,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,UAAU;aACnB,CAAA;IACX,CAAC;;AA1IL,0CA2IC"}
1
+ {"version":3,"file":"chatEventParser.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatEventParser.ts"],"names":[],"mappings":";;;AAgBA,MAAa,eAAe;IACxB,MAAM,CAAU,cAAc,GAAG,gCAAgC,CAAA;IAEjE,KAAK,CAAS;IACd,SAAS,CAAS;IAClB,IAAI,CAAS;IACb,UAAU,CAAU;IACpB,cAAc,CAA4C;IAC1D,QAAQ,CAAgD;IACxD,aAAa,CAAgC;IAE7C,cAAc,CAAS;IAEvB,OAAO,CAAyB;IAChC,cAAc,GAAW,CAAC,CAAA;IAC1B,YAAY,GAAG;QACX,mBAAmB,EAAE,CAAC;QACtB,0BAA0B,EAAE,CAAC;QAC7B,kBAAkB,EAAE,CAAC;QACrB,sBAAsB,EAAE,CAAC;KAC5B,CAAA;IAED,MAAM,CAAC,wBAAwB,CAAC,SAAoB;QAChD,OAAO,0BAA0B,SAAS,CAAC,WAAW,gCAAgC,SAAS,CAAC,UAAU,IAAI,CAAA;IAClH,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,GAAG,GAAG,EAAE,EAAE,OAAO,EAAwB;QACzE,OAAO;YACH,KAAK;YACL,GAAG;YACH,IAAI,EAAE,OAAO;SAChB,CAAA;IACL,CAAC;IAED,MAAM,CAAC,gBAAgB,CAAC,SAAoB;QACxC,OAAO;YACH,GAAG,SAAS;YACZ,yBAAyB,EAAE,SAAS,CAAC,yBAAyB;gBAC1D,CAAC,CAAC;oBACI,KAAK,EAAE,SAAS,CAAC,yBAAyB,CAAC,KAAK,IAAI,CAAC;oBACrD,GAAG,EAAE,SAAS,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;iBAC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GAAG,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAA;YACtF,IAAI,CAAC,aAAa,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE,CAAC,EAAE,GAAG,UAAU,CAAC,CAAA;QACvE,CAAC;aAAM,IAAI,oBAAoB,EAAE,cAAc,EAAE,CAAC;YAC9C,IAAI,CAAC,cAAc,GAAG,oBAAoB,EAAE,cAAc,CAAA;QAC9D,CAAC;QAED,OAAO,IAAI,CAAC,SAAS,EAAE,CAAA;IAC3B,CAAC;IAEM,SAAS;QACZ,MAAM,UAAU,GAAe;YAC3B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI;YACnC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,aAAa,EAAE,IAAI,CAAC,aAAa;SACpC,CAAA;QAED,MAAM,sBAAsB,GAAG;YAC3B,UAAU;YACV,cAAc,EAAE,IAAI,CAAC,cAAc;SACtC,CAAA;QAED,OAAO,IAAI,CAAC,KAAK;YACb,CAAC,CAAC;gBACI,OAAO,EAAE,KAAK;gBACd,IAAI,EAAE,sBAAsB;gBAC5B,KAAK,EAAE,IAAI,CAAC,KAAK;aACpB;YACH,CAAC,CAAC;gBACI,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,sBAAsB;aAC/B,CAAA;IACX,CAAC;;AApJL,0CAqJC"}
@@ -11,17 +11,20 @@ describe('ChatEventParser', () => {
11
11
  ts_sinon_1.default.assert.match(chatEventParser.processPartialEvent({
12
12
  invalidStateEvent: {
13
13
  message: 'Invalid state!',
14
- reason: 'Unknown!',
14
+ reason: 'INVALID_TASK_ASSIST_PLAN',
15
15
  },
16
16
  }), {
17
17
  success: false,
18
18
  data: {
19
- messageId: mockMessageId,
20
- body: undefined,
21
- canBeVoted: true,
22
- codeReference: undefined,
23
- followUp: undefined,
24
- relatedContent: undefined,
19
+ chatResult: {
20
+ messageId: mockMessageId,
21
+ body: undefined,
22
+ canBeVoted: true,
23
+ codeReference: undefined,
24
+ followUp: undefined,
25
+ relatedContent: undefined,
26
+ },
27
+ conversationId: undefined,
25
28
  },
26
29
  error: ts_sinon_1.default.match.string,
27
30
  });
@@ -39,12 +42,15 @@ describe('ChatEventParser', () => {
39
42
  }), {
40
43
  success: false,
41
44
  data: {
42
- messageId: mockMessageId,
43
- body: undefined,
44
- canBeVoted: true,
45
- codeReference: undefined,
46
- followUp: undefined,
47
- relatedContent: undefined,
45
+ chatResult: {
46
+ messageId: mockMessageId,
47
+ body: undefined,
48
+ canBeVoted: true,
49
+ codeReference: undefined,
50
+ followUp: undefined,
51
+ relatedContent: undefined,
52
+ },
53
+ conversationId: undefined,
48
54
  },
49
55
  error: ts_sinon_1.default.match.string,
50
56
  });
@@ -59,12 +65,15 @@ describe('ChatEventParser', () => {
59
65
  }), {
60
66
  success: true,
61
67
  data: {
62
- messageId: mockMessageId,
63
- body: 'This is an ',
64
- canBeVoted: true,
65
- codeReference: undefined,
66
- followUp: undefined,
67
- relatedContent: undefined,
68
+ chatResult: {
69
+ messageId: mockMessageId,
70
+ body: 'This is an ',
71
+ canBeVoted: true,
72
+ codeReference: undefined,
73
+ followUp: undefined,
74
+ relatedContent: undefined,
75
+ },
76
+ conversationId: undefined,
68
77
  },
69
78
  });
70
79
  assert.deepStrictEqual(chatEventParser.processPartialEvent({
@@ -74,16 +83,46 @@ describe('ChatEventParser', () => {
74
83
  }), {
75
84
  success: true,
76
85
  data: {
77
- messageId: mockMessageId,
78
- body: 'This is an assistant response.',
79
- canBeVoted: true,
80
- codeReference: undefined,
81
- followUp: undefined,
82
- relatedContent: undefined,
86
+ chatResult: {
87
+ messageId: mockMessageId,
88
+ body: 'This is an assistant response.',
89
+ canBeVoted: true,
90
+ codeReference: undefined,
91
+ followUp: undefined,
92
+ relatedContent: undefined,
93
+ },
94
+ conversationId: undefined,
95
+ },
96
+ });
97
+ });
98
+ it('processPartialEvent with messageMetadataEvent appends conversation id', () => {
99
+ const chatEventParser = new chatEventParser_1.ChatEventParser(mockMessageId, new metric_1.Metric());
100
+ chatEventParser.processPartialEvent({
101
+ messageMetadataEvent: {
102
+ conversationId: 'id-2345',
103
+ },
104
+ });
105
+ chatEventParser.processPartialEvent({
106
+ assistantResponseEvent: {
107
+ content: 'assistant response',
108
+ },
109
+ });
110
+ assert.deepStrictEqual(chatEventParser.getResult(), {
111
+ success: true,
112
+ data: {
113
+ chatResult: {
114
+ messageId: mockMessageId,
115
+ body: 'assistant response',
116
+ canBeVoted: true,
117
+ codeReference: undefined,
118
+ followUp: undefined,
119
+ relatedContent: undefined,
120
+ },
121
+ conversationId: 'id-2345',
83
122
  },
84
123
  });
85
124
  });
86
- it('getChatResult returns the accumulated result', () => {
125
+ it('getResult returns the accumulated result', () => {
87
126
  const chatEventParser = new chatEventParser_1.ChatEventParser(mockMessageId, new metric_1.Metric());
88
127
  chatEventParser.processPartialEvent({
89
128
  assistantResponseEvent: {
@@ -97,23 +136,26 @@ describe('ChatEventParser', () => {
97
136
  },
98
137
  },
99
138
  });
100
- assert.deepStrictEqual(chatEventParser.getChatResult(), {
139
+ assert.deepStrictEqual(chatEventParser.getResult(), {
101
140
  success: true,
102
141
  data: {
103
- messageId: mockMessageId,
104
- body: 'This is an ',
105
- followUp: {
106
- text: chatEventParser_1.ChatEventParser.FOLLOW_UP_TEXT,
107
- options: [
108
- {
109
- pillText: 'follow up 1',
110
- prompt: 'follow up 1',
111
- },
112
- ],
142
+ chatResult: {
143
+ messageId: mockMessageId,
144
+ body: 'This is an ',
145
+ canBeVoted: true,
146
+ codeReference: undefined,
147
+ followUp: {
148
+ text: chatEventParser_1.ChatEventParser.FOLLOW_UP_TEXT,
149
+ options: [
150
+ {
151
+ pillText: 'follow up 1',
152
+ prompt: 'follow up 1',
153
+ },
154
+ ],
155
+ },
156
+ relatedContent: undefined,
113
157
  },
114
- canBeVoted: true,
115
- codeReference: undefined,
116
- relatedContent: undefined,
158
+ conversationId: undefined,
117
159
  },
118
160
  });
119
161
  chatEventParser.processPartialEvent({
@@ -149,7 +191,7 @@ describe('ChatEventParser', () => {
149
191
  ],
150
192
  },
151
193
  });
152
- const expectedData = {
194
+ const expectedResult = {
153
195
  messageId: mockMessageId,
154
196
  body: 'This is an assistant response.',
155
197
  canBeVoted: true,
@@ -187,7 +229,11 @@ describe('ChatEventParser', () => {
187
229
  ],
188
230
  },
189
231
  };
190
- assert.deepStrictEqual(chatEventParser.getChatResult(), { success: true, data: expectedData });
232
+ const expectedData = {
233
+ chatResult: expectedResult,
234
+ conversationId: undefined,
235
+ };
236
+ assert.deepStrictEqual(chatEventParser.getResult(), { success: true, data: expectedData });
191
237
  });
192
238
  });
193
239
  //# sourceMappingURL=chatEventParser.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chatEventParser.test.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatEventParser.test.ts"],"names":[],"mappings":";;AACA,iCAAgC;AAChC,uCAA4B;AAE5B,uDAAmD;AACnD,gDAA4C;AAG5C,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC7B,MAAM,aAAa,GAAG,iBAAiB,CAAA;IAEvC,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACnD,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,aAAa,EAAE,IAAI,eAAM,EAAmB,CAAC,CAAA;QAEzF,kBAAK,CAAC,MAAM,CAAC,KAAK,CACd,eAAe,CAAC,mBAAmB,CAAC;YAChC,iBAAiB,EAAE;gBACf,OAAO,EAAE,gBAAgB;gBACzB,MAAM,EAAE,UAAU;aACrB;SACJ,CAAC,EACF;YACI,OAAO,EAAE,KAAK;YACd,IAAI,EAAE;gBACF,SAAS,EAAE,aAAa;gBACxB,IAAI,EAAE,SAAS;gBACf,UAAU,EAAE,IAAI;gBAChB,aAAa,EAAE,SAAS;gBACxB,QAAQ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;wBACI,QAAQ,EAAE,aAAa;wBACvB,MAAM,EAAE,aAAa;qBACxB;iBACJ;aACJ;SACJ,CAAA;QAED,MAAM,CAAC,eAAe,CAAC,eAAe,CAAC,aAAa,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAA;IAClG,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"chatEventParser.test.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatEventParser.test.ts"],"names":[],"mappings":";;AACA,iCAAgC;AAChC,uCAA4B;AAE5B,uDAAmD;AACnD,gDAA4C;AAG5C,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC7B,MAAM,aAAa,GAAG,iBAAiB,CAAA;IAEvC,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACnD,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,aAAa,EAAE,IAAI,eAAM,EAAmB,CAAC,CAAA;QAEzF,kBAAK,CAAC,MAAM,CAAC,KAAK,CACd,eAAe,CAAC,mBAAmB,CAAC;YAChC,iBAAiB,EAAE;gBACf,OAAO,EAAE,gBAAgB;gBACzB,MAAM,EAAE,0BAA0B;aACrC;SACJ,CAAC,EACF;YACI,OAAO,EAAE,KAAK;YACd,IAAI,EAAE;gBACF,UAAU,EAAE;oBACR,SAAS,EAAE,aAAa;oBACxB,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,IAAI;oBAChB,aAAa,EAAE,SAAS;oBACxB,QAAQ,EAAE,SAAS;oBACnB,cAAc,EAAE,SAAS;iBAC5B;gBACD,cAAc,EAAE,SAAS;aAC5B;YACD,KAAK,EAAE,kBAAK,CAAC,KAAK,CAAC,MAAM;SAC5B,CACJ,CAAA;IACL,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC5C,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,aAAa,EAAE,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BAAmB;qBAC3B;iBACJ;aACJ;SACJ,CAAC,CAAA;QAEF,MAAM,cAAc,GAAe;YAC/B,SAAS,EAAE,aAAa;YACxB,IAAI,EAAE,gCAAgC;YACtC,UAAU,EAAE,IAAI;YAChB,cAAc,EAAE;gBACZ,OAAO,EAAE;oBACL;wBACI,KAAK,EAAE,UAAU;wBACjB,IAAI,EAAE,UAAU;wBAChB,GAAG,EAAE,mBAAmB;qBAC3B;iBACJ;aACJ;YACD,aAAa,EAAE;gBACX;oBACI,WAAW,EAAE,KAAK;oBAClB,UAAU,EAAE,kBAAkB;oBAC9B,yBAAyB,EAAE,SAAS;oBACpC,WAAW,EAAE,iCAAe,CAAC,wBAAwB,CAAC;wBAClD,WAAW,EAAE,KAAK;wBAClB,UAAU,EAAE,kBAAkB;qBACjC,CAAC;iBACL;aACJ;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,iCAAe,CAAC,cAAc;gBACpC,OAAO,EAAE;oBACL;wBACI,QAAQ,EAAE,aAAa;wBACvB,MAAM,EAAE,aAAa;qBACxB;oBACD;wBACI,QAAQ,EAAE,aAAa;wBACvB,MAAM,EAAE,aAAa;qBACxB;iBACJ;aACJ;SACJ,CAAA;QAED,MAAM,YAAY,GAAG;YACjB,UAAU,EAAE,cAAc;YAC1B,cAAc,EAAE,SAAS;SAC5B,CAAA;QAED,MAAM,CAAC,eAAe,CAAC,eAAe,CAAC,SAAS,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAA;IAC9F,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
@@ -1,13 +1,13 @@
1
- import { CodeWhispererStreamingClientConfig, GenerateAssistantResponseCommandInput, GenerateAssistantResponseCommandOutput } from '@amzn/codewhisperer-streaming';
1
+ import { CodeWhispererStreamingClientConfig, SendMessageCommandInput, SendMessageCommandOutput } from '@amzn/codewhisperer-streaming';
2
2
  import { CredentialsProvider } from '@aws/language-server-runtimes/server-interface';
3
3
  export type ChatSessionServiceConfig = CodeWhispererStreamingClientConfig;
4
4
  export declare class ChatSessionService {
5
5
  #private;
6
6
  shareCodeWhispererContentWithAWS: boolean;
7
- get sessionId(): string | undefined;
8
- set sessionId(value: string | undefined);
7
+ get conversationId(): string | undefined;
8
+ set conversationId(value: string | undefined);
9
9
  constructor(credentialsProvider: CredentialsProvider, config?: CodeWhispererStreamingClientConfig);
10
- generateAssistantResponse(request: GenerateAssistantResponseCommandInput): Promise<GenerateAssistantResponseCommandOutput>;
10
+ sendMessage(request: SendMessageCommandInput): Promise<SendMessageCommandOutput>;
11
11
  clear(): void;
12
12
  dispose(): void;
13
13
  abortRequest(): void;
@@ -4,28 +4,29 @@ exports.ChatSessionService = void 0;
4
4
  const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
5
5
  const util_retry_1 = require("@aws-sdk/util-retry");
6
6
  const utils_1 = require("../utils");
7
+ const constants_1 = require("../../constants");
7
8
  class ChatSessionService {
8
9
  shareCodeWhispererContentWithAWS = false;
9
- #codeWhispererRegion = 'us-east-1';
10
- #codeWhispererEndpoint = 'https://codewhisperer.us-east-1.amazonaws.com/';
10
+ #codeWhispererRegion = constants_1.AWS_Q_REGION;
11
+ #codeWhispererEndpoint = constants_1.AWS_Q_ENDPOINT_URL;
11
12
  #abortController;
12
13
  #credentialsProvider;
13
14
  #config;
14
- #sessionId;
15
- get sessionId() {
16
- return this.#sessionId;
15
+ #conversationId;
16
+ get conversationId() {
17
+ return this.#conversationId;
17
18
  }
18
- set sessionId(value) {
19
- this.#sessionId = value;
19
+ set conversationId(value) {
20
+ this.#conversationId = value;
20
21
  }
21
22
  constructor(credentialsProvider, config) {
22
23
  this.#credentialsProvider = credentialsProvider;
23
24
  this.#config = config;
24
25
  }
25
- async generateAssistantResponse(request) {
26
+ async sendMessage(request) {
26
27
  this.#abortController = new AbortController();
27
- if (this.#sessionId && request.conversationState) {
28
- request.conversationState.conversationId = this.#sessionId;
28
+ if (this.#conversationId && request.conversationState) {
29
+ request.conversationState.conversationId = this.#conversationId;
29
30
  }
30
31
  const client = new codewhisperer_streaming_1.CodeWhispererStreaming({
31
32
  region: this.#codeWhispererRegion,
@@ -34,15 +35,14 @@ class ChatSessionService {
34
35
  retryStrategy: new util_retry_1.ConfiguredRetryStrategy(0, (attempt) => 500 + attempt ** 10),
35
36
  ...this.#config,
36
37
  });
37
- const response = await client.generateAssistantResponse(request, {
38
+ const response = await client.sendMessage(request, {
38
39
  abortSignal: this.#abortController?.signal,
39
40
  });
40
- this.#sessionId = response.conversationId;
41
41
  return response;
42
42
  }
43
43
  clear() {
44
44
  this.#abortController?.abort();
45
- this.#sessionId = undefined;
45
+ this.#conversationId = undefined;
46
46
  }
47
47
  dispose() {
48
48
  this.#abortController?.abort();
@@ -1 +1 @@
1
- {"version":3,"file":"chatSessionService.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionService.ts"],"names":[],"mappings":";;;AAAA,2EAKsC;AACtC,oDAA6D;AAE7D,oCAAqD;AAGrD,MAAa,kBAAkB;IACpB,gCAAgC,GAAG,KAAK,CAAA;IACtC,oBAAoB,GAAG,WAAW,CAAA;IAClC,sBAAsB,GAAG,gDAAgD,CAAA;IAClF,gBAAgB,CAAkB;IAClC,oBAAoB,CAAqB;IACzC,OAAO,CAAqC;IAC5C,UAAU,CAAS;IAEnB,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,UAAU,CAAA;IAC1B,CAAC;IAED,IAAW,SAAS,CAAC,KAAyB;QAC1C,IAAI,CAAC,UAAU,GAAG,KAAK,CAAA;IAC3B,CAAC;IAED,YAAY,mBAAwC,EAAE,MAA2C;QAC7F,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAA;QAC/C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAA;IACzB,CAAC;IAEM,KAAK,CAAC,yBAAyB,CAClC,OAA8C;QAE9C,IAAI,CAAC,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAA;QAE7C,IAA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;YAC/C,WAAW,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM;SAC7C,CAAC,CAAA;QAEF,OAAO,QAAQ,CAAA;IACnB,CAAC;IAEM,KAAK;QACR,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,CAAA;QAC9B,IAAI,CAAC,eAAe,GAAG,SAAS,CAAA;IACpC,CAAC;IAEM,OAAO;QACV,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,CAAA;IAClC,CAAC;IAEM,YAAY;QACf,IAAI,CAAC,gBAAgB,EAAE,KAAK,EAAE,CAAA;IAClC,CAAC;CACJ;AAxDD,gDAwDC"}
@@ -5,7 +5,7 @@ const assert = require("assert");
5
5
  const ts_sinon_1 = require("ts-sinon");
6
6
  const chatSessionService_1 = require("./chatSessionService");
7
7
  describe('Chat Session Service', () => {
8
- let generateAssistantResponseStub;
8
+ let sendMessageStub;
9
9
  let abortStub;
10
10
  let chatSessionService;
11
11
  const mockCredentialsProvider = {
@@ -25,58 +25,52 @@ describe('Chat Session Service', () => {
25
25
  },
26
26
  };
27
27
  const mockRequestResponse = {
28
- conversationId: mockConversationId,
29
28
  $metadata: {},
30
- generateAssistantResponseResponse: undefined,
29
+ sendMessageResponse: undefined,
31
30
  };
32
31
  beforeEach(() => {
33
32
  abortStub = ts_sinon_1.default.stub(AbortController.prototype, 'abort');
34
- generateAssistantResponseStub = ts_sinon_1.default
35
- .stub(codewhisperer_streaming_1.CodeWhispererStreaming.prototype, 'generateAssistantResponse')
33
+ sendMessageStub = ts_sinon_1.default
34
+ .stub(codewhisperer_streaming_1.CodeWhispererStreaming.prototype, 'sendMessage')
36
35
  .callsFake(() => Promise.resolve(mockRequestResponse));
37
36
  chatSessionService = new chatSessionService_1.ChatSessionService(mockCredentialsProvider);
38
37
  });
39
38
  afterEach(() => {
40
- generateAssistantResponseStub.restore();
39
+ sendMessageStub.restore();
41
40
  abortStub.restore();
42
41
  });
43
- describe('calling GenerateAssistantResponse', () => {
44
- it('should call generate assistant response from the streaming client and set the session id ', async () => {
45
- await chatSessionService.generateAssistantResponse(mockRequestParams);
46
- ts_sinon_1.default.assert.calledOnceWithExactly(generateAssistantResponseStub, mockRequestParams, ts_sinon_1.default.match.object);
47
- assert.strictEqual(chatSessionService.sessionId, mockConversationId);
48
- });
49
- it('should fill in conversationId with session id in the request if exists', async () => {
50
- await chatSessionService.generateAssistantResponse(mockRequestParams);
51
- ts_sinon_1.default.assert.calledOnceWithExactly(generateAssistantResponseStub, mockRequestParams, ts_sinon_1.default.match.object);
52
- await chatSessionService.generateAssistantResponse(mockRequestParams);
42
+ describe('calling SendMessage', () => {
43
+ it('should fill in conversationId in the request if exists', async () => {
44
+ await chatSessionService.sendMessage(mockRequestParams);
45
+ ts_sinon_1.default.assert.calledOnceWithExactly(sendMessageStub, mockRequestParams, ts_sinon_1.default.match.object);
46
+ chatSessionService.conversationId = mockConversationId;
47
+ await chatSessionService.sendMessage(mockRequestParams);
53
48
  const requestParamsWithConversationId = {
54
49
  conversationState: {
55
50
  ...mockRequestParams.conversationState,
56
51
  conversationId: mockConversationId,
57
52
  },
58
53
  };
59
- assert.ok(generateAssistantResponseStub
60
- .getCall(1)
61
- .calledWithExactly(requestParamsWithConversationId, ts_sinon_1.default.match.object));
54
+ assert.ok(sendMessageStub.getCall(1).calledWithExactly(requestParamsWithConversationId, ts_sinon_1.default.match.object));
62
55
  });
63
56
  });
64
57
  it('abortRequest() aborts request with AbortController', async () => {
65
- await chatSessionService.generateAssistantResponse(mockRequestParams);
58
+ await chatSessionService.sendMessage(mockRequestParams);
66
59
  chatSessionService.abortRequest();
67
60
  ts_sinon_1.default.assert.calledOnce(abortStub);
68
61
  });
69
62
  it('dispose() calls aborts outgoing requests', async () => {
70
- await chatSessionService.generateAssistantResponse(mockRequestParams);
63
+ await chatSessionService.sendMessage(mockRequestParams);
71
64
  chatSessionService.dispose();
72
65
  ts_sinon_1.default.assert.calledOnce(abortStub);
73
66
  });
74
- it('clear() reset session id and aborts outgoing request', async () => {
75
- await chatSessionService.generateAssistantResponse(mockRequestParams);
76
- assert.strictEqual(chatSessionService.sessionId, mockConversationId);
67
+ it('clear() resets conversation id and aborts outgoing request', async () => {
68
+ await chatSessionService.sendMessage(mockRequestParams);
69
+ chatSessionService.conversationId = mockConversationId;
70
+ assert.strictEqual(chatSessionService.conversationId, mockConversationId);
77
71
  chatSessionService.clear();
78
72
  ts_sinon_1.default.assert.calledOnce(abortStub);
79
- assert.strictEqual(chatSessionService.sessionId, undefined);
73
+ assert.strictEqual(chatSessionService.conversationId, undefined);
80
74
  });
81
75
  });
82
76
  //# sourceMappingURL=chatSessionService.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chatSessionService.test.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionService.test.ts"],"names":[],"mappings":";;AAAA,2EAIsC;AAEtC,iCAAgC;AAChC,uCAA4B;AAC5B,6DAAyD;AAEzD,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,IAAI,6BAAwD,CAAA;IAC5D,IAAI,SAAoC,CAAA;IACxC,IAAI,kBAAsC,CAAA;IAC1C,MAAM,uBAAuB,GAAwB;QACjD,cAAc,EAAE,kBAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;QAC1C,cAAc,EAAE,kBAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;QAC9E,qBAAqB,EAAE,kBAAK,CAAC,IAAI,EAAE;KACtC,CAAA;IAED,MAAM,kBAAkB,GAAG,oBAAoB,CAAA;IAE/C,MAAM,iBAAiB,GAA0C;QAC7D,iBAAiB,EAAE;YACf,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE;gBACZ,gBAAgB,EAAE;oBACd,OAAO,EAAE,OAAO;iBACnB;aACJ;SACJ;KACJ,CAAA;IAED,MAAM,mBAAmB,GAA2C;QAChE,cAAc,EAAE,kB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{"version":3,"file":"chatSessionService.test.js","sourceRoot":"","sources":["../../../src/language-server/chat/chatSessionService.test.ts"],"names":[],"mappings":";;AAAA,2EAIsC;AAEtC,iCAAgC;AAChC,uCAA4B;AAC5B,6DAAyD;AAEzD,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,IAAI,eAA0C,CAAA;IAC9C,IAAI,SAAoC,CAAA;IACxC,IAAI,kBAAsC,CAAA;IAC1C,MAAM,uBAAuB,GAAwB;QACjD,cAAc,EAAE,kBAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;QAC1C,cAAc,EAAE,kBAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;QAC9E,qBAAqB,EAAE,kBAAK,CAAC,IAAI,EAAE;KACtC,CAAA;IAED,MAAM,kBAAkB,GAAG,oBAAoB,CAAA;IAE/C,MAAM,iBAAiB,GAA4B;QAC/C,iBAAiB,EAAE;YACf,eAAe,EAAE,QAAQ;YACzB,cAAc,EAAE;gBACZ,gBAAgB,EAAE;oBACd,OAAO,EAAE,OAAO;iBACnB;aACJ;SACJ;KACJ,CAAA;IAED,MAAM,mBAAmB,GAA6B;QAClD,SAAS,EAAE,EAAE;QACb,mBAAmB,EAAE,SAAS;KACjC,CAAA;IAED,UAAU,CAAC,GAAG,EAAE;QACZ,SAAS,GAAG,kBAAK,CAAC,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;QAE1D,eAAe,GAAG,kBAAK;aAClB,IAAI,CAAC,gDAAsB,CAAC,SAAS,EAAE,aAAa,CAAC;aACrD,SAAS,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAA;QAE1D,kBAAkB,GAAG,IAAI,uCAAkB,CAAC,uBAAuB,CAAC,CAAA;IACxE,CAAC,CAAC,CAAA;IAE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C,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IACtC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,4DAA4D,EAAE,KAAK,IAAI,EAAE;QACxE,MAAM,kBAAkB,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAA;QACvD,kBAAkB,CAAC,cAAc,GAAG,kBAAkB,CAAA;QAEtD,MAAM,CAAC,WAAW,CAAC,kBAAkB,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAA;QAEzE,kBAAkB,CAAC,KAAK,EAAE,CAAA;QAE1B,kBAAK,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;QAClC,MAAM,CAAC,WAAW,CAAC,kBAAkB,CAAC,cAAc,EAAE,SAAS,CAAC,CAAA;IACpE,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
@@ -2,14 +2,12 @@ import { EditorState, TextDocument as CwsprTextDocument } from '@amzn/codewhispe
2
2
  import { CursorState } from '@aws/language-server-runtimes/server-interface';
3
3
  import { TextDocument } from 'vscode-languageserver-textdocument';
4
4
  import { Features } from '../../types';
5
- import { DocumentFqnExtractorConfig } from './documentFqnExtractor';
6
5
  export type DocumentContext = CwsprTextDocument & {
7
6
  cursorState?: EditorState['cursorState'];
8
7
  hasCodeSnippet: boolean;
9
8
  totalEditorCharacters: number;
10
9
  };
11
- export interface DocumentContextExtractorConfig extends DocumentFqnExtractorConfig {
12
- config?: DocumentFqnExtractorConfig;
10
+ export interface DocumentContextExtractorConfig {
13
11
  logger?: Features['logging'];
14
12
  characterLimits?: number;
15
13
  }
@@ -17,7 +15,6 @@ export declare class DocumentContextExtractor {
17
15
  #private;
18
16
  private static readonly DEFAULT_CHARACTER_LIMIT;
19
17
  constructor(config?: DocumentContextExtractorConfig);
20
- dispose(): void;
21
18
  /**
22
19
  * From the given the cursor state, we want to give Q context up to the characters limit
23
20
  * on both sides of the cursor.
@@ -2,21 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DocumentContextExtractor = void 0;
4
4
  const languageDetection_1 = require("../../languageDetection");
5
- const documentFqnExtractor_1 = require("./documentFqnExtractor");
6
5
  const utils_1 = require("./utils");
7
6
  class DocumentContextExtractor {
8
7
  static DEFAULT_CHARACTER_LIMIT = 9000;
9
8
  #characterLimits;
10
9
  #logger;
11
- #documentSymbolExtractor;
12
10
  constructor(config) {
13
- const { characterLimits, ...fqnConfig } = config ?? {};
14
11
  this.#logger = config?.logger;
15
- this.#characterLimits = characterLimits ?? DocumentContextExtractor.DEFAULT_CHARACTER_LIMIT;
16
- this.#documentSymbolExtractor = new documentFqnExtractor_1.DocumentFqnExtractor(fqnConfig);
17
- }
18
- dispose() {
19
- this.#documentSymbolExtractor.dispose();
12
+ this.#characterLimits = config?.characterLimits ?? DocumentContextExtractor.DEFAULT_CHARACTER_LIMIT;
20
13
  }
21
14
  /**
22
15
  * From the given the cursor state, we want to give Q context up to the characters limit
@@ -32,20 +25,11 @@ class DocumentContextExtractor {
32
25
  const codeBlockRange = (0, utils_1.getExtendedCodeBlockRange)(document, targetRange, this.#characterLimits);
33
26
  const rangeWithinCodeBlock = (0, utils_1.getSelectionWithinExtendedRange)(targetRange, codeBlockRange);
34
27
  const languageId = (0, languageDetection_1.getLanguageId)(document);
35
- let documentSymbols = [];
36
- try {
37
- // best effort to extract symbols
38
- documentSymbols = await this.#documentSymbolExtractor.extractDocumentSymbols(document, codeBlockRange, languageId);
39
- }
40
- catch (e) {
41
- this.#logger?.log(`Error extracting document symbols but continuing on. ${e instanceof Error ? e.message : 'Unknown error'}`);
42
- }
43
28
  return {
44
29
  cursorState: rangeWithinCodeBlock ? { range: rangeWithinCodeBlock } : undefined,
45
30
  text: document.getText(codeBlockRange),
46
31
  programmingLanguage: languageId ? { languageName: languageId } : undefined,
47
32
  relativeFilePath: document.uri,
48
- documentSymbols,
49
33
  hasCodeSnippet: Boolean(rangeWithinCodeBlock),
50
34
  totalEditorCharacters: document.getText().length,
51
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"documentContext.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/documentContext.ts"],"names":[],"mappings":";;;AAGA,+DAAuD;AAEvD,iEAAyF;AACzF,mCAAoF;AAcpF,MAAa,wBAAwB;IACzB,MAAM,CAAU,uBAAuB,GAAG,IAAI,CAAA;IAEtD,gBAAgB,CAAQ;IACxB,OAAO,CAAsB;IAC7B,wBAAwB,CAAsB;IAE9C,YAAY,MAAuC;QAC/C,MAAM,EAAE,eAAe,EAAE,GAAG,SAAS,EAAE,GAAG,MAAM,IAAI,EAAE,CAAA;QAEtD,IAAI,CAAC,OAAO,GAAG,MAAM,EAAE,MAAM,CAAA;QAC7B,IAAI,CAAC,gBAAgB,GAAG,eAAe,IAAI,wBAAwB,CAAC,uBAAuB,CAAA;QAC3F,IAAI,CAAC,wBAAwB,GAAG,IAAI,2CAAoB,CAAC,SAAS,CAAC,CAAA;IACvE,CAAC;IAEM,OAAO;QACV,IAAI,CAAC,wBAAwB,CAAC,OAAO,EAAE,CAAA;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,QAAsB,EAAE,WAAwB;QAChF,MAAM,WAAW,GACb,UAAU,IAAI,WAAW;YACrB,CAAC,CAAC;gBACI,KAAK,EAAE,WAAW,CAAC,QAAQ;gBAC3B,GAAG,EAAE,WAAW,CAAC,QAAQ;aAC5B;YACH,CAAC,CAAC,WAAW,CAAC,KAAK,CAAA;QAE3B,MAAM,cAAc,GAAG,IAAA,iCAAyB,EAAC,QAAQ,EAAE,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAA;QAE9F,MAAM,oBAAoB,GAAG,IAAA,uCAA+B,EAAC,WAAW,EAAE,cAAc,CAAC,CAAA;QAEzF,MAAM,UAAU,GAAG,IAAA,iCAAa,EAAC,QAAQ,CAAC,CAAA;QAE1C,IAAI,eAAe,GAAqB,EAAE,CAAA;QAE1C,IAAI,CAAC;YACD,iCAAiC;YACjC,eAAe,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,sBAAsB,CACxE,QAAQ,EACR,cAAc,EACd,UAAU,CACb,CAAA;QACL,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,IAAI,CAAC,OAAO,EAAE,GAAG,CACb,wDAAwD,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE,CAC7G,CAAA;QACL,CAAC;QAED,OAAO;YACH,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAAC,SAAS;YAC/E,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC;YACtC,mBAAmB,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS;YAC1E,gBAAgB,EAAE,QAAQ,CAAC,GAAG;YAC9B,eAAe;YACf,cAAc,EAAE,OAAO,CAAC,oBAAoB,CAAC;YAC7C,qBAAqB,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM;SACnD,CAAA;IACL,CAAC;;AA9DL,4DA+DC"}
1
+ {"version":3,"file":"documentContext.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/documentContext.ts"],"names":[],"mappings":";;;AAGA,+DAAuD;AAEvD,mCAAoF;AAapF,MAAa,wBAAwB;IACzB,MAAM,CAAU,uBAAuB,GAAG,IAAI,CAAA;IAEtD,gBAAgB,CAAQ;IACxB,OAAO,CAAsB;IAE7B,YAAY,MAAuC;QAC/C,IAAI,CAAC,OAAO,GAAG,MAAM,EAAE,MAAM,CAAA;QAC7B,IAAI,CAAC,gBAAgB,GAAG,MAAM,EAAE,eAAe,IAAI,wBAAwB,CAAC,uBAAuB,CAAA;IACvG,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,sBAAsB,CAAC,QAAsB,EAAE,WAAwB;QAChF,MAAM,WAAW,GACb,UAAU,IAAI,WAAW;YACrB,CAAC,CAAC;gBACI,KAAK,EAAE,WAAW,CAAC,QAAQ;gBAC3B,GAAG,EAAE,WAAW,CAAC,QAAQ;aAC5B;YACH,CAAC,CAAC,WAAW,CAAC,KAAK,CAAA;QAE3B,MAAM,cAAc,GAAG,IAAA,iCAAyB,EAAC,QAAQ,EAAE,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAA;QAE9F,MAAM,oBAAoB,GAAG,IAAA,uCAA+B,EAAC,WAAW,EAAE,cAAc,CAAC,CAAA;QAEzF,MAAM,UAAU,GAAG,IAAA,iCAAa,EAAC,QAAQ,CAAC,CAAA;QAE1C,OAAO;YACH,WAAW,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE,CAAC,CAAC,CAAC,SAAS;YAC/E,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC;YACtC,mBAAmB,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS;YAC1E,gBAAgB,EAAE,QAAQ,CAAC,GAAG;YAC9B,cAAc,EAAE,OAAO,CAAC,oBAAoB,CAAC;YAC7C,qBAAqB,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM;SACnD,CAAA;IACL,CAAC;;AAtCL,4DAuCC"}
@@ -4,15 +4,11 @@ const assert = require("assert");
4
4
  const ts_sinon_1 = require("ts-sinon");
5
5
  const vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument");
6
6
  const documentContext_1 = require("./documentContext");
7
- const documentFqnExtractor_1 = require("./documentFqnExtractor");
8
7
  describe('DocumentContext', () => {
9
8
  const mockTypescriptCodeBlock = `function test() {
10
9
  console.log('test')
11
10
  }`;
12
11
  const mockTSDocument = vscode_languageserver_textdocument_1.TextDocument.create('file://test.ts', 'typescript', 1, mockTypescriptCodeBlock);
13
- beforeEach(() => {
14
- ts_sinon_1.default.stub(documentFqnExtractor_1.DocumentFqnExtractor.prototype, 'extractDocumentSymbols').resolves([]);
15
- });
16
12
  afterEach(() => {
17
13
  ts_sinon_1.default.restore();
18
14
  });
@@ -22,7 +18,6 @@ describe('DocumentContext', () => {
22
18
  const expected = {
23
19
  programmingLanguage: { languageName: 'typescript' },
24
20
  relativeFilePath: 'file://test.ts',
25
- documentSymbols: [],
26
21
  text: "console.log('test')",
27
22
  hasCodeSnippet: true,
28
23
  totalEditorCharacters: mockTypescriptCodeBlock.length,
@@ -59,7 +54,6 @@ describe('DocumentContext', () => {
59
54
  const expected = {
60
55
  programmingLanguage: { languageName: 'typescript' },
61
56
  relativeFilePath: 'file://test.ts',
62
- documentSymbols: [],
63
57
  text: "console.log('test')",
64
58
  hasCodeSnippet: true,
65
59
  totalEditorCharacters: mockTypescriptCodeBlock.length,
@@ -101,7 +95,6 @@ describe('DocumentContext', () => {
101
95
  const expectedResult = {
102
96
  programmingLanguage: { languageName: 'go' },
103
97
  relativeFilePath: 'file://test.go',
104
- documentSymbols: [],
105
98
  text: 'fmt.Println("test")',
106
99
  totalEditorCharacters: mockGoCodeBLock.length,
107
100
  hasCodeSnippet: true,
@@ -1 +1 @@
1
- {"version":3,"file":"documentContext.test.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/documentContext.test.ts"],"names":[],"mappings":";;AACA,iCAAgC;AAChC,uCAA4B;AAC5B,2FAAiE;AACjE,uDAA6E;AAC7E,iEAA6D;AAE7D,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC7B,MAAM,uBAAuB,GAAG;;EAElC,CAAA;IACE,MAAM,cAAc,GAAG,iDAAY,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,EAAE,CAAC,EAAE,uBAAuB,CAAC,CAAA;IAEtG,UAAU,CAAC,GAAG,EAAE;QACZ,kBAAK,CAAC,IAAI,CAAC,2CAAoB,CAAC,SAAS,EAAE,wBAAwB,CAAC,CAA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AE;YAC3C,gBAAgB,EAAE,gBAAgB;YAClC,eAAe,EAAE,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,qBAAqB,EAAE,eAAe,CAAC,MAAM;YAC7C,cAAc,EAAE,IAAI;YACpB,WAAW,EAAE;gBACT,KAAK,EAAE;oBACH,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE;oBAChC,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;iBAClC;aACJ;SACJ,CAAA;QACD,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC,sBAAsB,CAAC,YAAY,EAAE;YAC/E,KAAK,EAAE;gBACH,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE;gBAChC,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;aAClC;SACJ,CAAC,CAAA;QAEF,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAClD,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"documentContext.test.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/documentContext.test.ts"],"names":[],"mappings":";;AACA,iCAAgC;AAChC,uCAA4B;AAC5B,2FAAiE;AACjE,uDAA6E;AAE7E,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC7B,MAAM,uBAAuB,GAAG;;EAElC,CAAA;IACE,MAAM,cAAc,GAAG,iDAAY,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,EAAE,CAAC,EAAE,uBAAuB,CAAC,CAAA;IAEtG,SAAS,CAAC,GAAG,EAAE;QACX,kBAAK,CAAC,OAAO,EAAE,CAAA;IACnB,CAAC,CAAC,CAAA;IAEF,QAAQ,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACzD,EAAE,CAAC,2CAA2C,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CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;iBAClC;aACJ;SACJ,CAAA;QACD,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAAC,sBAAsB,CAAC,YAAY,EAAE;YAC/E,KAAK,EAAE;gBACH,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE;gBAChC,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE;aAClC;SACJ,CAAC,CAAA;QAEF,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAClD,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { TriggerType } from '@aws/chat-client-ui-types';
2
- import { GenerateAssistantResponseCommandInput } from '@amzn/codewhisperer-streaming';
2
+ import { SendMessageCommandInput, UserIntent } from '@amzn/codewhisperer-streaming';
3
3
  import { ChatParams } from '@aws/language-server-runtimes/server-interface';
4
4
  import { Features } from '../../types';
5
5
  import { DocumentContext } from './documentContext';
6
6
  export interface TriggerContext extends Partial<DocumentContext> {
7
- userIntent?: string;
7
+ userIntent?: UserIntent;
8
8
  triggerType?: TriggerType;
9
9
  }
10
10
  export declare class QChatTriggerContext {
@@ -12,7 +12,6 @@ export declare class QChatTriggerContext {
12
12
  private static readonly DEFAULT_CURSOR_STATE;
13
13
  constructor(workspace: Features['workspace'], logger: Features['logging']);
14
14
  getNewTriggerContext(params: ChatParams): Promise<TriggerContext>;
15
- getChatParamsFromTrigger(params: ChatParams, triggerContext: TriggerContext, customizationArn?: string): GenerateAssistantResponseCommandInput;
16
- dispose(): void;
15
+ getChatParamsFromTrigger(params: ChatParams, triggerContext: TriggerContext, customizationArn?: string): SendMessageCommandInput;
17
16
  extractDocumentContext(input: Pick<ChatParams, 'cursorState' | 'textDocument'>): Promise<DocumentContext | undefined>;
18
17
  }
@@ -34,7 +34,6 @@ class QChatTriggerContext {
34
34
  text: triggerContext.text,
35
35
  programmingLanguage: triggerContext.programmingLanguage,
36
36
  relativeFilePath: triggerContext.relativeFilePath,
37
- documentSymbols: triggerContext.documentSymbols,
38
37
  },
39
38
  },
40
39
  }
@@ -47,9 +46,6 @@ class QChatTriggerContext {
47
46
  };
48
47
  return data;
49
48
  }
50
- dispose() {
51
- this.#documentContextExtractor.dispose();
52
- }
53
49
  // public for testing
54
50
  async extractDocumentContext(input) {
55
51
  const { textDocument: textDocumentIdentifier, cursorState } = input;
@@ -1 +1 @@
1
- {"version":3,"file":"triggerContext.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/triggerContext.ts"],"names":[],"mappings":";;;AACA,2EAAkH;AAGlH,uDAA6E;AAO7E,MAAa,mBAAmB;IACpB,MAAM,CAAU,oBAAoB,GAAgB,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAA;IAEnG,UAAU,CAAuB;IACjC,yBAAyB,CAA0B;IAEnD,YAAY,SAAgC,EAAE,MAA2B;QACrE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAA;QAC3B,IAAI,CAAC,yBAAyB,GAAG,IAAI,0CAAwB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC7E,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,MAAkB;QACzC,MAAM,eAAe,GAAgC,MAAM,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAA;QAE9F,OAAO;YACH,GAAG,eAAe;YAClB,UAAU,EAAE,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SAChE,CAAA;IACL,CAAC;IAED,wBAAwB,CACpB,MAAkB,EAClB,cAA8B,EAC9B,gBAAyB;QAEzB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;QAEzB,MAAM,IAAI,GAA0C;YAChD,iBAAiB,EAAE;gBACf,eAAe,EAAE,yCAAe,CAAC,MA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,SAAS,CAAA;QACpB,CAAC;aAAM,IAAI,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAClC,OAAO,oCAAU,CAAC,sBAAsB,CAAA;QAC5C,CAAC;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,OAAO,oCAAU,CAAC,gCAAgC,CAAA;QACtD,CAAC;aAAM,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,OAAO,oCAAU,CAAC,2BAA2B,CAAA;QACjD,CAAC;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,OAAO,oCAAU,CAAC,YAAY,CAAA;QAClC,CAAC;QAED,OAAO,SAAS,CAAA;IACpB,CAAC;;AA9FL,kDA+FC"}
1
+ {"version":3,"file":"triggerContext.js","sourceRoot":"","sources":["../../../../src/language-server/chat/contexts/triggerContext.ts"],"names":[],"mappings":";;;AACA,2EAAoG;AAGpG,uDAA6E;AAO7E,MAAa,mBAAmB;IACpB,MAAM,CAAU,oBAAoB,GAAgB,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,CAAA;IAEnG,UAAU,CAAuB;IACjC,yBAAyB,CAA0B;IAEnD,YAAY,SAAgC,EAAE,MAA2B;QACrE,IAAI,CAAC,UAAU,GAAG,SAAS,CAAA;QAC3B,IAAI,CAAC,yBAAyB,GAAG,IAAI,0CAAwB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAA;IAC7E,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,MAAkB;QACzC,MAAM,eAAe,GAAgC,MAAM,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAA;QAE9F,OAAO;YACH,GAAG,eAAe;YAClB,UAAU,EAAE,IAAI,CAAC,sBAAsB,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SAChE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;IACnB,CAAC;IAED,sBAAsB,CAAC,MAAe;QAClC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACvB,OAAO,SAAS,CAAA;QACpB,CAAC;aAAM,IAAI,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAClC,OAAO,oCAAU,CAAC,sBAAsB,CAAA;QAC5C,CAAC;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,OAAO,oCAAU,CAAC,gCAAgC,CAAA;QACtD,CAAC;aAAM,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAC9B,OAAO,oCAAU,CAAC,2BAA2B,CAAA;QACjD,CAAC;aAAM,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YACnC,OAAO,oCAAU,CAAC,YAAY,CAAA;QAClC,CAAC;QAED,OAAO,SAAS,CAAA;IACpB,CAAC;;AAzFL,kDA0FC"}
@@ -14,7 +14,6 @@ describe('QChatTriggerContext', () => {
14
14
  text: '',
15
15
  programmingLanguage: { languageName: 'typescript' },
16
16
  relativeFilePath: 'file://test.ts',
17
- documentSymbols: [],
18
17
  hasCodeSnippet: false,
19
18
  totalEditorCharacters: 0,
20
19
  };