@aws/lsp-codewhisperer 0.0.32 → 0.0.33

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 (743) hide show
  1. package/CHANGELOG.md +213 -0
  2. package/README.md +18 -1
  3. package/node_modules/@amzn/amazon-q-developer-streaming-client/LICENSE +201 -0
  4. package/node_modules/@amzn/amazon-q-developer-streaming-client/README.md +864 -0
  5. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreaming.js +15 -0
  6. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreamingClient.js +49 -0
  7. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  8. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/auth/httpAuthSchemeProvider.js +50 -0
  9. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/GenerateCodeFromCommandsCommand.js +26 -0
  10. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/SendMessageCommand.js +26 -0
  11. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/index.js +5 -0
  12. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoints.js +211 -0
  13. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/extensionConfiguration.js +2 -0
  14. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/index.js +10 -0
  15. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/QDeveloperStreamingServiceException.js +12 -0
  16. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/index.js +4 -0
  17. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/models_0.js +1051 -0
  18. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/protocols/Aws_json1_0.js +597 -0
  19. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.browser.js +40 -0
  20. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.js +48 -0
  21. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.native.js +15 -0
  22. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.shared.js +32 -0
  23. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeExtensions.js +25 -0
  24. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreaming.js +11 -0
  25. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreamingClient.js +45 -0
  26. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  27. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/auth/httpAuthSchemeProvider.js +44 -0
  28. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/GenerateCodeFromCommandsCommand.js +22 -0
  29. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/SendMessageCommand.js +22 -0
  30. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/index.js +2 -0
  31. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoints.js +207 -0
  32. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/index.js +5 -0
  33. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/QDeveloperStreamingServiceException.js +8 -0
  34. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/index.js +1 -0
  35. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/models_0.js +963 -0
  36. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/protocols/Aws_json1_0.js +590 -0
  37. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.browser.js +35 -0
  38. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.js +43 -0
  39. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.native.js +11 -0
  40. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.shared.js +28 -0
  41. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeExtensions.js +21 -0
  42. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreaming.d.ts +23 -0
  43. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreamingClient.d.ts +196 -0
  44. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  45. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  46. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/GenerateCodeFromCommandsCommand.d.ts +102 -0
  47. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/SendMessageCommand.d.ts +796 -0
  48. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/index.d.ts +2 -0
  49. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoints.d.ts +2 -0
  50. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/extensionConfiguration.d.ts +9 -0
  51. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/index.d.ts +7 -0
  52. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/QDeveloperStreamingServiceException.d.ts +14 -0
  53. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/index.d.ts +1 -0
  54. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/models_0.d.ts +2985 -0
  55. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/protocols/Aws_json1_0.d.ts +20 -0
  56. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.browser.d.ts +47 -0
  57. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.d.ts +47 -0
  58. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.native.d.ts +46 -0
  59. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.shared.d.ts +19 -0
  60. package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeExtensions.d.ts +17 -0
  61. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/README.md +4 -0
  62. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-cjs/index.js +294 -0
  63. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/auth.js +1 -0
  64. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/checksum.js +1 -0
  65. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/client.js +1 -0
  66. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/command.js +1 -0
  67. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/connection.js +1 -0
  68. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/credentials.js +1 -0
  69. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/crypto.js +1 -0
  70. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/dns.js +5 -0
  71. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/encode.js +1 -0
  72. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -0
  73. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/eventStream.js +1 -0
  74. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
  75. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  76. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/http.js +1 -0
  77. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js +1 -0
  78. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js +1 -0
  79. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +1 -0
  80. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js +1 -0
  81. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js +1 -0
  82. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/identity/index.js +5 -0
  83. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/index.js +33 -0
  84. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/logger.js +1 -0
  85. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/middleware.js +1 -0
  86. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/pagination.js +1 -0
  87. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/profile.js +1 -0
  88. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/request.js +1 -0
  89. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/response.js +1 -0
  90. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/retry.js +1 -0
  91. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/serde.js +1 -0
  92. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/shapes.js +1 -0
  93. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/signature.js +1 -0
  94. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/stream.js +1 -0
  95. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/token.js +1 -0
  96. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -0
  97. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
  98. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/util.js +1 -0
  99. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/waiter.js +1 -0
  100. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -0
  101. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -0
  102. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -0
  103. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -0
  104. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -0
  105. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -0
  106. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -0
  107. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +50 -0
  108. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -0
  109. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/dns.d.ts +85 -0
  110. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -0
  111. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +1 -0
  112. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -0
  113. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
  114. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  115. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/http.d.ts +33 -0
  116. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +6 -0
  117. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -0
  118. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -0
  119. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +18 -0
  120. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -0
  121. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -0
  122. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/index.d.ts +33 -0
  123. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/logger.d.ts +22 -0
  124. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +13 -0
  125. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -0
  126. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -0
  127. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/request.d.ts +7 -0
  128. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/response.d.ts +7 -0
  129. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -0
  130. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/serde.d.ts +24 -0
  131. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -0
  132. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -0
  133. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -0
  134. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/token.d.ts +17 -0
  135. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +1 -0
  136. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/abort.d.ts +1 -0
  137. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +5 -0
  138. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/blob/blob-types.d.ts +2 -0
  139. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/checksum.d.ts +1 -0
  140. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/client.d.ts +1 -0
  141. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/command.d.ts +1 -0
  142. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/connection.d.ts +6 -0
  143. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +13 -0
  144. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/crypto.d.ts +7 -0
  145. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/dns.d.ts +19 -0
  146. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/encode.d.ts +6 -0
  147. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +9 -0
  148. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/eventStream.d.ts +24 -0
  149. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
  150. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  151. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +17 -0
  152. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AnonymousIdentity.d.ts +2 -0
  153. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +25 -0
  154. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/Identity.d.ts +1 -0
  155. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/LoginIdentity.d.ts +6 -0
  156. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +1 -0
  157. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +5 -0
  158. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +33 -0
  159. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/logger.d.ts +15 -0
  160. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +47 -0
  161. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/pagination.d.ts +1 -0
  162. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/profile.d.ts +6 -0
  163. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/request.d.ts +4 -0
  164. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/response.d.ts +4 -0
  165. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/retry.d.ts +12 -0
  166. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/serde.d.ts +16 -0
  167. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/shapes.d.ts +6 -0
  168. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/signature.d.ts +15 -0
  169. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/stream.d.ts +4 -0
  170. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/token.d.ts +4 -0
  171. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +7 -0
  172. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +1 -0
  173. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/util.d.ts +14 -0
  174. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/ts3.4/waiter.d.ts +1 -0
  175. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -0
  176. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -0
  177. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -0
  178. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/package.json +56 -0
  179. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/LICENSE +201 -0
  180. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/README.md +4 -0
  181. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/index.js +84 -0
  182. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortController.js +9 -0
  183. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  184. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  185. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  186. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  187. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  188. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  189. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  190. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  191. package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller}/package.json +21 -31
  192. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/LICENSE +201 -0
  193. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/README.md +9 -0
  194. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/index.js +806 -0
  195. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js +1 -0
  196. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
  197. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
  198. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
  199. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +209 -0
  200. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +86 -0
  201. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
  202. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +167 -0
  203. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +19 -0
  204. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +88 -0
  205. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
  206. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
  207. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +24 -0
  208. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +11 -0
  209. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
  210. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +19 -0
  211. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  212. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +56 -0
  213. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
  214. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
  215. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
  216. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
  217. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +25 -0
  218. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +13 -0
  219. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +62 -0
  220. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +15 -0
  221. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
  222. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +9 -0
  223. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +13 -0
  224. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +9 -0
  225. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +8 -0
  226. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +6 -0
  227. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +15 -0
  228. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  229. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
  230. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
  231. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
  232. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +46 -0
  233. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +25 -0
  234. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +13 -0
  235. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +62 -0
  236. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
  237. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
  238. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
  239. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +7 -0
  240. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
  241. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +6 -0
  242. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +6 -0
  243. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
  244. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  245. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
  246. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +13 -0
  247. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/package.json +67 -0
  248. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CHANGELOG.md +274 -0
  249. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/CONTRIBUTING.md +18 -0
  250. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/LICENSE.md +9 -0
  251. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/README.md +466 -0
  252. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/bin/uuid +2 -0
  253. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  254. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  255. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  256. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  257. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  258. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  259. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  260. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  261. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  262. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  263. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  264. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  265. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  266. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  267. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  268. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  269. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/index.js +9 -0
  270. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  271. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/native.js +4 -0
  272. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  273. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  274. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  275. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/rng.js +18 -0
  276. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  277. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/stringify.js +33 -0
  278. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  279. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  280. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v35.js +66 -0
  281. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v4.js +29 -0
  282. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  283. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  284. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-browser/version.js +11 -0
  285. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/index.js +9 -0
  286. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/md5.js +13 -0
  287. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/native.js +4 -0
  288. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/nil.js +1 -0
  289. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/parse.js +35 -0
  290. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/regex.js +1 -0
  291. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/rng.js +12 -0
  292. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  293. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/stringify.js +33 -0
  294. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v1.js +95 -0
  295. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v3.js +4 -0
  296. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v35.js +66 -0
  297. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v4.js +29 -0
  298. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/v5.js +4 -0
  299. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/validate.js +7 -0
  300. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/esm-node/version.js +11 -0
  301. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/index.js +79 -0
  302. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5-browser.js +223 -0
  303. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/md5.js +23 -0
  304. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native-browser.js +11 -0
  305. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/native.js +15 -0
  306. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/nil.js +8 -0
  307. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/parse.js +45 -0
  308. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/regex.js +8 -0
  309. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng-browser.js +25 -0
  310. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/rng.js +24 -0
  311. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1-browser.js +104 -0
  312. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/sha1.js +23 -0
  313. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/stringify.js +44 -0
  314. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/uuid-bin.js +85 -0
  315. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v1.js +107 -0
  316. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v3.js +16 -0
  317. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v35.js +80 -0
  318. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v4.js +43 -0
  319. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/v5.js +16 -0
  320. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/validate.js +17 -0
  321. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/dist/version.js +21 -0
  322. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/package.json +135 -0
  323. package/node_modules/@amzn/amazon-q-developer-streaming-client/node_modules/uuid/wrapper.mjs +10 -0
  324. package/node_modules/@amzn/amazon-q-developer-streaming-client/package.json +88 -0
  325. package/node_modules/@amzn/codewhisperer-streaming/README.md +121 -1
  326. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreamingClient.js +1 -0
  327. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/endpoints.js +2 -0
  328. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +266 -42
  329. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +205 -3
  330. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.browser.js +1 -1
  331. package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/runtimeConfig.js +8 -6
  332. package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreamingClient.js +1 -0
  333. package/node_modules/@amzn/codewhisperer-streaming/dist-es/endpoints.js +2 -0
  334. package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +241 -33
  335. package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +207 -5
  336. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.browser.js +2 -2
  337. package/node_modules/@amzn/codewhisperer-streaming/dist-es/runtimeConfig.js +9 -7
  338. package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +18 -0
  339. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +1 -0
  340. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +168 -8
  341. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +169 -8
  342. package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +168 -8
  343. package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +874 -221
  344. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.browser.d.ts +6 -1
  345. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.d.ts +3 -1
  346. package/node_modules/@amzn/codewhisperer-streaming/dist-types/runtimeConfig.native.d.ts +3 -1
  347. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +25 -17
  348. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +12 -3
  349. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +3 -3
  350. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +6 -8
  351. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +6 -2
  352. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -0
  353. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -1
  354. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +4 -3
  355. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +8 -3
  356. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +6 -2
  357. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +5 -1
  358. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/token-providers/package.json +11 -12
  359. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
  360. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
  361. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
  362. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +1 -0
  363. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
  364. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +47 -1
  365. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
  366. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
  367. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/credentials.d.ts +1 -0
  368. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
  369. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +21 -0
  370. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
  371. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
  372. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@aws-sdk/types/package.json +4 -4
  373. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-cjs/index.js +8 -6
  374. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/package.json +6 -6
  375. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/index.js +41 -39
  376. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
  377. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +3 -1
  378. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
  379. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +8 -0
  380. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +3 -0
  381. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +6 -1
  382. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +1 -0
  383. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
  384. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +2 -0
  385. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
  386. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -0
  387. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +4 -0
  388. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +1 -0
  389. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +8 -0
  390. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +3 -0
  391. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +6 -1
  392. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +4 -0
  393. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
  394. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
  395. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/package.json +10 -10
  396. package/node_modules/@amzn/codewhisperer-streaming/package.json +42 -42
  397. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
  398. package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
  399. package/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
  400. package/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
  401. package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-cjs/index.js +8 -30
  402. package/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
  403. package/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
  404. package/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +1 -0
  405. package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpRequest.js +8 -13
  406. package/node_modules/@smithy/protocol-http/dist-es/types.js +1 -0
  407. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +23 -0
  408. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +23 -0
  409. package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/package.json +6 -6
  410. package/out/client/sigv4/codewhisperer.d.ts +2 -2
  411. package/out/client/sigv4/codewhisperer.js +4 -3
  412. package/out/client/sigv4/codewhisperer.js.map +1 -1
  413. package/out/client/streamingClient/codewhispererStreamingClient.d.ts +3 -3
  414. package/out/client/streamingClient/codewhispererStreamingClient.js +4 -3
  415. package/out/client/streamingClient/codewhispererStreamingClient.js.map +1 -1
  416. package/out/client/token/codewhisperer.d.ts +2 -2
  417. package/out/client/token/codewhisperer.js +4 -3
  418. package/out/client/token/codewhisperer.js.map +1 -1
  419. package/out/index.d.ts +1 -0
  420. package/out/index.js +4 -1
  421. package/out/index.js.map +1 -1
  422. package/out/language-server/agenticChat/agenticChatController.d.ts +35 -4
  423. package/out/language-server/agenticChat/agenticChatController.js +1337 -91
  424. package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
  425. package/out/language-server/agenticChat/agenticChatEventParser.d.ts +52 -0
  426. package/out/language-server/agenticChat/agenticChatEventParser.js +186 -0
  427. package/out/language-server/agenticChat/agenticChatEventParser.js.map +1 -0
  428. package/out/language-server/agenticChat/agenticChatResultStream.d.ts +83 -0
  429. package/out/language-server/agenticChat/agenticChatResultStream.js +176 -0
  430. package/out/language-server/agenticChat/agenticChatResultStream.js.map +1 -0
  431. package/out/language-server/agenticChat/constants.d.ts +4 -0
  432. package/out/language-server/agenticChat/constants.js +8 -0
  433. package/out/language-server/agenticChat/constants.js.map +1 -0
  434. package/out/language-server/agenticChat/context/addtionalContextProvider.d.ts +14 -0
  435. package/out/language-server/agenticChat/context/addtionalContextProvider.js +191 -0
  436. package/out/language-server/agenticChat/context/addtionalContextProvider.js.map +1 -0
  437. package/out/language-server/agenticChat/context/agenticChatTriggerContext.d.ts +54 -0
  438. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js +246 -0
  439. package/out/language-server/agenticChat/context/agenticChatTriggerContext.js.map +1 -0
  440. package/out/language-server/agenticChat/context/contextCommandsProvider.d.ts +20 -0
  441. package/out/language-server/agenticChat/context/contextCommandsProvider.js +206 -0
  442. package/out/language-server/agenticChat/context/contextCommandsProvider.js.map +1 -0
  443. package/out/language-server/agenticChat/context/contextUtils.d.ts +27 -0
  444. package/out/language-server/agenticChat/context/contextUtils.js +44 -0
  445. package/out/language-server/agenticChat/context/contextUtils.js.map +1 -0
  446. package/out/language-server/agenticChat/errors.d.ts +10 -0
  447. package/out/language-server/agenticChat/errors.js +42 -0
  448. package/out/language-server/agenticChat/errors.js.map +1 -0
  449. package/out/language-server/agenticChat/qAgenticChatServer.js +42 -15
  450. package/out/language-server/agenticChat/qAgenticChatServer.js.map +1 -1
  451. package/out/language-server/agenticChat/tabBarController.d.ts +55 -0
  452. package/out/language-server/agenticChat/tabBarController.js +216 -0
  453. package/out/language-server/agenticChat/tabBarController.js.map +1 -0
  454. package/out/language-server/agenticChat/textFormatting.d.ts +4 -0
  455. package/out/language-server/agenticChat/textFormatting.js +28 -0
  456. package/out/language-server/agenticChat/textFormatting.js.map +1 -0
  457. package/out/language-server/agenticChat/tools/chatDb/chatDb.d.ts +89 -0
  458. package/out/language-server/agenticChat/tools/chatDb/chatDb.js +561 -0
  459. package/out/language-server/agenticChat/tools/chatDb/chatDb.js.map +1 -0
  460. package/out/language-server/agenticChat/tools/chatDb/util.d.ts +74 -0
  461. package/out/language-server/agenticChat/tools/chatDb/util.js +255 -0
  462. package/out/language-server/agenticChat/tools/chatDb/util.js.map +1 -0
  463. package/out/language-server/agenticChat/tools/codeSearch.d.ts +43 -0
  464. package/out/language-server/agenticChat/tools/codeSearch.js +168 -0
  465. package/out/language-server/agenticChat/tools/codeSearch.js.map +1 -0
  466. package/out/language-server/agenticChat/tools/executeBash.d.ts +70 -0
  467. package/out/language-server/agenticChat/tools/executeBash.js +463 -0
  468. package/out/language-server/agenticChat/tools/executeBash.js.map +1 -0
  469. package/out/language-server/agenticChat/tools/fileSearch.d.ts +45 -0
  470. package/out/language-server/agenticChat/tools/fileSearch.js +115 -0
  471. package/out/language-server/agenticChat/tools/fileSearch.js.map +1 -0
  472. package/out/language-server/agenticChat/tools/fsRead.d.ts +13 -9
  473. package/out/language-server/agenticChat/tools/fsRead.js +68 -22
  474. package/out/language-server/agenticChat/tools/fsRead.js.map +1 -1
  475. package/out/language-server/agenticChat/tools/fsWrite.d.ts +21 -12
  476. package/out/language-server/agenticChat/tools/fsWrite.js +127 -44
  477. package/out/language-server/agenticChat/tools/fsWrite.js.map +1 -1
  478. package/out/language-server/agenticChat/tools/listDirectory.d.ts +36 -0
  479. package/out/language-server/agenticChat/tools/listDirectory.js +110 -0
  480. package/out/language-server/agenticChat/tools/listDirectory.js.map +1 -0
  481. package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.d.ts +100 -0
  482. package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js +140 -0
  483. package/out/language-server/agenticChat/tools/lspApplyWorkspaceEdit.js.map +1 -0
  484. package/out/language-server/agenticChat/tools/lspGetDocuments.d.ts +24 -0
  485. package/out/language-server/agenticChat/tools/lspGetDocuments.js +45 -0
  486. package/out/language-server/agenticChat/tools/lspGetDocuments.js.map +1 -0
  487. package/out/language-server/agenticChat/tools/lspReadDocumentContents.d.ts +37 -0
  488. package/out/language-server/agenticChat/tools/lspReadDocumentContents.js +116 -0
  489. package/out/language-server/agenticChat/tools/lspReadDocumentContents.js.map +1 -0
  490. package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +21 -0
  491. package/out/language-server/agenticChat/tools/mcp/mcpManager.js +106 -0
  492. package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -0
  493. package/out/language-server/agenticChat/tools/mcp/mcpTool.d.ts +21 -0
  494. package/out/language-server/agenticChat/tools/mcp/mcpTool.js +54 -0
  495. package/out/language-server/agenticChat/tools/mcp/mcpTool.js.map +1 -0
  496. package/out/language-server/agenticChat/tools/mcp/mcpTypes.d.ts +28 -0
  497. package/out/language-server/agenticChat/tools/mcp/mcpTypes.js +7 -0
  498. package/out/language-server/agenticChat/tools/mcp/mcpTypes.js.map +1 -0
  499. package/out/language-server/agenticChat/tools/mcp/mcpUtils.d.ts +7 -0
  500. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js +78 -0
  501. package/out/language-server/agenticChat/tools/mcp/mcpUtils.js.map +1 -0
  502. package/out/language-server/agenticChat/tools/toolServer.d.ts +3 -0
  503. package/out/language-server/agenticChat/tools/toolServer.js +62 -6
  504. package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
  505. package/out/language-server/agenticChat/tools/toolShared.d.ts +48 -5
  506. package/out/language-server/agenticChat/tools/toolShared.js +109 -2
  507. package/out/language-server/agenticChat/tools/toolShared.js.map +1 -1
  508. package/out/language-server/chat/chatController.d.ts +7 -4
  509. package/out/language-server/chat/chatController.js +13 -18
  510. package/out/language-server/chat/chatController.js.map +1 -1
  511. package/out/language-server/chat/chatEventParser.d.ts +3 -1
  512. package/out/language-server/chat/chatEventParser.js.map +1 -1
  513. package/out/language-server/chat/chatSessionManagementService.d.ts +2 -2
  514. package/out/language-server/chat/chatSessionManagementService.js +4 -4
  515. package/out/language-server/chat/chatSessionManagementService.js.map +1 -1
  516. package/out/language-server/chat/chatSessionService.d.ts +36 -3
  517. package/out/language-server/chat/chatSessionService.js +88 -5
  518. package/out/language-server/chat/chatSessionService.js.map +1 -1
  519. package/out/language-server/chat/constants.d.ts +3 -0
  520. package/out/language-server/chat/constants.js +17 -1
  521. package/out/language-server/chat/constants.js.map +1 -1
  522. package/out/language-server/chat/contexts/documentContext.d.ts +2 -1
  523. package/out/language-server/chat/contexts/documentContext.js +2 -0
  524. package/out/language-server/chat/contexts/documentContext.js.map +1 -1
  525. package/out/language-server/chat/contexts/triggerContext.d.ts +7 -3
  526. package/out/language-server/chat/contexts/triggerContext.js +39 -2
  527. package/out/language-server/chat/contexts/triggerContext.js.map +1 -1
  528. package/out/language-server/chat/qChatServer.d.ts +4 -1
  529. package/out/language-server/chat/qChatServer.js +17 -17
  530. package/out/language-server/chat/qChatServer.js.map +1 -1
  531. package/out/language-server/chat/quickActions.d.ts +2 -0
  532. package/out/language-server/chat/quickActions.js +2 -0
  533. package/out/language-server/chat/quickActions.js.map +1 -1
  534. package/out/language-server/chat/telemetry/chatTelemetryController.d.ts +5 -3
  535. package/out/language-server/chat/telemetry/chatTelemetryController.js +50 -4
  536. package/out/language-server/chat/telemetry/chatTelemetryController.js.map +1 -1
  537. package/out/language-server/chat/tools/relevantTextDocuments.d.ts +3 -0
  538. package/out/language-server/chat/tools/relevantTextDocuments.js +42 -0
  539. package/out/language-server/chat/tools/relevantTextDocuments.js.map +1 -0
  540. package/out/language-server/chat/utils.js +18 -3
  541. package/out/language-server/chat/utils.js.map +1 -1
  542. package/out/language-server/configuration/qConfigurationServer.d.ts +2 -3
  543. package/out/language-server/configuration/qConfigurationServer.js +27 -20
  544. package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
  545. package/out/language-server/inline-completion/auto-trigger/coefficients.json +4 -1
  546. package/out/language-server/inline-completion/codeWhispererServer.d.ts +2 -3
  547. package/out/language-server/inline-completion/codeWhispererServer.js +29 -30
  548. package/out/language-server/inline-completion/codeWhispererServer.js.map +1 -1
  549. package/out/language-server/localProjectContext/localProjectContextServer.d.ts +2 -0
  550. package/out/language-server/localProjectContext/localProjectContextServer.js +130 -0
  551. package/out/language-server/localProjectContext/localProjectContextServer.js.map +1 -0
  552. package/out/language-server/netTransform/artifactManager.js +12 -4
  553. package/out/language-server/netTransform/artifactManager.js.map +1 -1
  554. package/out/language-server/netTransform/metrics.d.ts +2 -0
  555. package/out/language-server/netTransform/metrics.js +26 -1
  556. package/out/language-server/netTransform/metrics.js.map +1 -1
  557. package/out/language-server/netTransform/models.d.ts +2 -0
  558. package/out/language-server/netTransform/models.js.map +1 -1
  559. package/out/language-server/netTransform/netTransformServer.d.ts +2 -4
  560. package/out/language-server/netTransform/netTransformServer.js +21 -16
  561. package/out/language-server/netTransform/netTransformServer.js.map +1 -1
  562. package/out/language-server/netTransform/tests/mockData.js +1 -0
  563. package/out/language-server/netTransform/tests/mockData.js.map +1 -1
  564. package/out/language-server/netTransform/transformHandler.d.ts +6 -5
  565. package/out/language-server/netTransform/transformHandler.js +35 -12
  566. package/out/language-server/netTransform/transformHandler.js.map +1 -1
  567. package/out/language-server/securityScan/codeWhispererSecurityScanServer.js +10 -11
  568. package/out/language-server/securityScan/codeWhispererSecurityScanServer.js.map +1 -1
  569. package/out/language-server/securityScan/types.d.ts +2 -1
  570. package/out/shared/amazonQServer.d.ts +5 -0
  571. package/out/shared/amazonQServer.js +53 -0
  572. package/out/shared/amazonQServer.js.map +1 -0
  573. package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.d.ts +19 -0
  574. package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js +61 -0
  575. package/out/shared/amazonQServiceManager/AmazonQIAMServiceManager.js.map +1 -0
  576. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.d.ts +14 -28
  577. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js +78 -99
  578. package/out/shared/amazonQServiceManager/AmazonQTokenServiceManager.js.map +1 -1
  579. package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.d.ts +72 -5
  580. package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js +116 -0
  581. package/out/shared/amazonQServiceManager/BaseAmazonQServiceManager.js.map +1 -1
  582. package/out/shared/amazonQServiceManager/configurationUtils.d.ts +13 -1
  583. package/out/shared/amazonQServiceManager/configurationUtils.js +41 -22
  584. package/out/shared/amazonQServiceManager/configurationUtils.js.map +1 -1
  585. package/out/shared/amazonQServiceManager/errors.d.ts +9 -0
  586. package/out/shared/amazonQServiceManager/errors.js +22 -1
  587. package/out/shared/amazonQServiceManager/errors.js.map +1 -1
  588. package/out/shared/amazonQServiceManager/qDeveloperProfiles.d.ts +2 -1
  589. package/out/shared/amazonQServiceManager/qDeveloperProfiles.js +26 -3
  590. package/out/shared/amazonQServiceManager/qDeveloperProfiles.js.map +1 -1
  591. package/out/shared/amazonQServiceManager/testUtils.d.ts +48 -0
  592. package/out/shared/amazonQServiceManager/testUtils.js +112 -0
  593. package/out/shared/amazonQServiceManager/testUtils.js.map +1 -0
  594. package/out/shared/codeWhispererService.d.ts +3 -3
  595. package/out/shared/codeWhispererService.js +4 -4
  596. package/out/shared/codeWhispererService.js.map +1 -1
  597. package/out/shared/constants.d.ts +10 -0
  598. package/out/shared/constants.js +12 -1
  599. package/out/shared/constants.js.map +1 -1
  600. package/out/shared/localProjectContextController.d.ts +56 -0
  601. package/out/shared/localProjectContextController.js +371 -0
  602. package/out/shared/localProjectContextController.js.map +1 -0
  603. package/out/shared/models/constants.d.ts +5 -0
  604. package/out/shared/models/constants.js +6 -1
  605. package/out/shared/models/constants.js.map +1 -1
  606. package/out/shared/models/model.d.ts +2 -1
  607. package/out/shared/proxy-server.d.ts +4 -2
  608. package/out/shared/proxy-server.js +11 -10
  609. package/out/shared/proxy-server.js.map +1 -1
  610. package/out/shared/streamingClientService.d.ts +23 -7
  611. package/out/shared/streamingClientService.js +56 -9
  612. package/out/shared/streamingClientService.js.map +1 -1
  613. package/out/shared/supplementalContextUtil/crossFileContextUtil.d.ts +4 -1
  614. package/out/shared/supplementalContextUtil/crossFileContextUtil.js +73 -17
  615. package/out/shared/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
  616. package/out/shared/supplementalContextUtil/supplementalContextUtil.d.ts +8 -0
  617. package/out/shared/supplementalContextUtil/supplementalContextUtil.js +63 -2
  618. package/out/shared/supplementalContextUtil/supplementalContextUtil.js.map +1 -1
  619. package/out/shared/telemetry/telemetryService.d.ts +16 -2
  620. package/out/shared/telemetry/telemetryService.js +25 -2
  621. package/out/shared/telemetry/telemetryService.js.map +1 -1
  622. package/out/shared/telemetry/types.d.ts +37 -2
  623. package/out/shared/telemetry/types.js +2 -0
  624. package/out/shared/telemetry/types.js.map +1 -1
  625. package/out/shared/telemetryUtils.d.ts +1 -0
  626. package/out/shared/telemetryUtils.js +5 -3
  627. package/out/shared/telemetryUtils.js.map +1 -1
  628. package/out/shared/testUtils.d.ts +2 -1
  629. package/out/shared/testUtils.js +10 -1
  630. package/out/shared/testUtils.js.map +1 -1
  631. package/out/shared/utils.d.ts +30 -0
  632. package/out/shared/utils.js +184 -0
  633. package/out/shared/utils.js.map +1 -1
  634. package/package.json +21 -7
  635. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -53
  636. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -53
  637. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  638. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  639. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  640. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -12
  641. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -206
  642. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +0 -13
  643. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  644. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  645. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  646. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  647. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  648. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  649. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -8
  650. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  651. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -8
  652. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  653. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  654. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  655. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  656. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  657. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +0 -9
  658. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  659. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  660. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  661. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  662. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -5
  663. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -4
  664. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -44
  665. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  666. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -8
  667. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -26
  668. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -10
  669. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  670. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  671. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -15
  672. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +0 -5
  673. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  674. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  675. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  676. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  677. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -5
  678. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -4
  679. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -44
  680. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  681. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -8
  682. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -26
  683. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -10
  684. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  685. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  686. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -15
  687. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +0 -5
  688. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -13
  689. package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -13
  690. package/out/shared/amazonQServiceManager/factories.d.ts +0 -15
  691. package/out/shared/amazonQServiceManager/factories.js +0 -47
  692. package/out/shared/amazonQServiceManager/factories.js.map +0 -1
  693. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/httpHandler.js → amazon-q-developer-streaming-client/dist-es/extensionConfiguration.js} +0 -0
  694. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types}/LICENSE +0 -0
  695. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/abort.js} +0 -0
  696. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js → amazon-q-developer-streaming-client/node_modules/@aws-sdk/types/dist-es/blob/blob-types.js} +0 -0
  697. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js} +0 -0
  698. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → amazon-q-developer-streaming-client/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js} +0 -0
  699. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/constants.js} +0 -0
  700. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js} +0 -0
  701. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js} +0 -0
  702. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js} +0 -0
  703. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js} +0 -0
  704. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js} +0 -0
  705. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js} +0 -0
  706. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js} +0 -0
  707. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js} +0 -0
  708. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js} +0 -0
  709. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js} +0 -0
  710. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js} +0 -0
  711. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/extensions → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector}/index.js +0 -0
  712. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
  713. /package/node_modules/@amzn/{codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js → amazon-q-developer-streaming-client/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
  714. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/LICENSE +0 -0
  715. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/README.md +0 -0
  716. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js → @smithy/protocol-http/dist-cjs/Field.js} +0 -0
  717. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js → @smithy/protocol-http/dist-cjs/Fields.js} +0 -0
  718. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js → @smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
  719. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Field.js +0 -0
  720. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/Fields.js +0 -0
  721. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
  722. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/extensions/index.js +0 -0
  723. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/httpResponse.js +0 -0
  724. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/index.js +0 -0
  725. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-es/isValidHostname.js +0 -0
  726. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Field.d.ts +0 -0
  727. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/Fields.d.ts +0 -0
  728. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
  729. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/extensions/index.d.ts +0 -0
  730. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpHandler.d.ts +0 -0
  731. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/httpResponse.d.ts +0 -0
  732. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/index.d.ts +0 -0
  733. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/isValidHostname.d.ts +0 -0
  734. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
  735. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
  736. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
  737. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
  738. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
  739. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
  740. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
  741. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
  742. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
  743. /package/node_modules/{@amzn/codewhisperer-streaming/node_modules/@smithy → @smithy}/protocol-http/dist-types/types.d.ts +0 -0
@@ -0,0 +1,2985 @@
1
+ import { QDeveloperStreamingServiceException as __BaseException } from "./QDeveloperStreamingServiceException";
2
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
3
+ import { DocumentType as __DocumentType } from "@smithy/types";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const AccessDeniedExceptionReason: {
9
+ readonly UNAUTHORIZED_CUSTOMIZATION_RESOURCE_ACCESS: "UNAUTHORIZED_CUSTOMIZATION_RESOURCE_ACCESS";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type AccessDeniedExceptionReason = typeof AccessDeniedExceptionReason[keyof typeof AccessDeniedExceptionReason];
15
+ /**
16
+ * This exception is thrown when the user does not have sufficient access to perform this action.
17
+ * @public
18
+ */
19
+ export declare class AccessDeniedException extends __BaseException {
20
+ readonly name: "AccessDeniedException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * Reason for AccessDeniedException
24
+ * @public
25
+ */
26
+ reason?: AccessDeniedExceptionReason | undefined;
27
+ /**
28
+ * @internal
29
+ */
30
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
31
+ }
32
+ /**
33
+ * Structure representing a single entry of additional contextual content
34
+ * @public
35
+ */
36
+ export interface AdditionalContentEntry {
37
+ /**
38
+ * The name/identifier for this context entry
39
+ * @public
40
+ */
41
+ name: string | undefined;
42
+ /**
43
+ * A description of what this context entry represents
44
+ * @public
45
+ */
46
+ description: string | undefined;
47
+ /**
48
+ * The actual contextual content
49
+ * @public
50
+ */
51
+ innerContext?: string | undefined;
52
+ }
53
+ /**
54
+ * @internal
55
+ */
56
+ export declare const AdditionalContentEntryFilterSensitiveLog: (obj: AdditionalContentEntry) => any;
57
+ /**
58
+ * This exception is thrown when an unexpected error occurred during the processing of a request.
59
+ * @public
60
+ */
61
+ export declare class InternalServerException extends __BaseException {
62
+ readonly name: "InternalServerException";
63
+ readonly $fault: "server";
64
+ $retryable: {};
65
+ /**
66
+ * @internal
67
+ */
68
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
69
+ }
70
+ /**
71
+ * This exception is thrown when describing a resource that does not exist.
72
+ * @public
73
+ */
74
+ export declare class ResourceNotFoundException extends __BaseException {
75
+ readonly name: "ResourceNotFoundException";
76
+ readonly $fault: "client";
77
+ /**
78
+ * @internal
79
+ */
80
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
81
+ }
82
+ /**
83
+ * @public
84
+ * @enum
85
+ */
86
+ export declare const ThrottlingExceptionReason: {
87
+ readonly MONTHLY_REQUEST_COUNT: "MONTHLY_REQUEST_COUNT";
88
+ };
89
+ /**
90
+ * @public
91
+ */
92
+ export type ThrottlingExceptionReason = typeof ThrottlingExceptionReason[keyof typeof ThrottlingExceptionReason];
93
+ /**
94
+ * This exception is thrown when request was denied due to request throttling.
95
+ * @public
96
+ */
97
+ export declare class ThrottlingException extends __BaseException {
98
+ readonly name: "ThrottlingException";
99
+ readonly $fault: "client";
100
+ $retryable: {
101
+ throttling: boolean;
102
+ };
103
+ /**
104
+ * Reason for ThrottlingException
105
+ * @public
106
+ */
107
+ reason?: ThrottlingExceptionReason | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
112
+ }
113
+ /**
114
+ * @public
115
+ * @enum
116
+ */
117
+ export declare const ValidationExceptionReason: {
118
+ readonly CONTENT_LENGTH_EXCEEDS_THRESHOLD: "CONTENT_LENGTH_EXCEEDS_THRESHOLD";
119
+ readonly INVALID_CONVERSATION_ID: "INVALID_CONVERSATION_ID";
120
+ readonly INVALID_KMS_GRANT: "INVALID_KMS_GRANT";
121
+ };
122
+ /**
123
+ * @public
124
+ */
125
+ export type ValidationExceptionReason = typeof ValidationExceptionReason[keyof typeof ValidationExceptionReason];
126
+ /**
127
+ * This exception is thrown when the input fails to satisfy the constraints specified by the service.
128
+ * @public
129
+ */
130
+ export declare class ValidationException extends __BaseException {
131
+ readonly name: "ValidationException";
132
+ readonly $fault: "client";
133
+ /**
134
+ * Reason for ValidationException
135
+ * @public
136
+ */
137
+ reason?: ValidationExceptionReason | undefined;
138
+ /**
139
+ * @internal
140
+ */
141
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
142
+ }
143
+ /**
144
+ * Description of a user's context when they are calling Q Chat from AppStudio
145
+ * @public
146
+ */
147
+ export interface AppStudioState {
148
+ /**
149
+ * The namespace of the context. Examples: 'ui.Button', 'ui.Table.DataSource', 'ui.Table.RowActions.Button', 'logic.invokeAWS', 'logic.JavaScript'
150
+ * @public
151
+ */
152
+ namespace: string | undefined;
153
+ /**
154
+ * The name of the property. Examples: 'visibility', 'disability', 'value', 'code'
155
+ * @public
156
+ */
157
+ propertyName: string | undefined;
158
+ /**
159
+ * The value of the property.
160
+ * @public
161
+ */
162
+ propertyValue?: string | undefined;
163
+ /**
164
+ * Context about how the property is used
165
+ * @public
166
+ */
167
+ propertyContext: string | undefined;
168
+ }
169
+ /**
170
+ * @internal
171
+ */
172
+ export declare const AppStudioStateFilterSensitiveLog: (obj: AppStudioState) => any;
173
+ /**
174
+ * Streaming Response Event for Assistant Markdown text message.
175
+ * @public
176
+ */
177
+ export interface AssistantResponseEvent {
178
+ /**
179
+ * The content of the text message in markdown format.
180
+ * @public
181
+ */
182
+ content: string | undefined;
183
+ }
184
+ /**
185
+ * @internal
186
+ */
187
+ export declare const AssistantResponseEventFilterSensitiveLog: (obj: AssistantResponseEvent) => any;
188
+ /**
189
+ * @public
190
+ * @enum
191
+ */
192
+ export declare const UserIntent: {
193
+ /**
194
+ * Apply Common Best Practices
195
+ */
196
+ readonly APPLY_COMMON_BEST_PRACTICES: "APPLY_COMMON_BEST_PRACTICES";
197
+ /**
198
+ * Cite Sources
199
+ */
200
+ readonly CITE_SOURCES: "CITE_SOURCES";
201
+ /**
202
+ * generate code
203
+ */
204
+ readonly CODE_GENERATION: "CODE_GENERATION";
205
+ /**
206
+ * Explain Code Selection
207
+ */
208
+ readonly EXPLAIN_CODE_SELECTION: "EXPLAIN_CODE_SELECTION";
209
+ /**
210
+ * Explain Code Line By Line
211
+ */
212
+ readonly EXPLAIN_LINE_BY_LINE: "EXPLAIN_LINE_BY_LINE";
213
+ /**
214
+ * Generate CloudFormation Template
215
+ */
216
+ readonly GENERATE_CLOUDFORMATION_TEMPLATE: "GENERATE_CLOUDFORMATION_TEMPLATE";
217
+ /**
218
+ * Generate Unit Tests
219
+ */
220
+ readonly GENERATE_UNIT_TESTS: "GENERATE_UNIT_TESTS";
221
+ /**
222
+ * Improve Code
223
+ */
224
+ readonly IMPROVE_CODE: "IMPROVE_CODE";
225
+ /**
226
+ * Show More Examples
227
+ */
228
+ readonly SHOW_EXAMPLES: "SHOW_EXAMPLES";
229
+ /**
230
+ * Suggest Alternative Implementation
231
+ */
232
+ readonly SUGGEST_ALTERNATE_IMPLEMENTATION: "SUGGEST_ALTERNATE_IMPLEMENTATION";
233
+ };
234
+ /**
235
+ * @public
236
+ */
237
+ export type UserIntent = typeof UserIntent[keyof typeof UserIntent];
238
+ /**
239
+ * Followup Prompt for the Assistant Response
240
+ * @public
241
+ */
242
+ export interface FollowupPrompt {
243
+ /**
244
+ * The content of the text message in markdown format.
245
+ * @public
246
+ */
247
+ content: string | undefined;
248
+ /**
249
+ * User Intent
250
+ * @public
251
+ */
252
+ userIntent?: UserIntent | undefined;
253
+ }
254
+ /**
255
+ * @internal
256
+ */
257
+ export declare const FollowupPromptFilterSensitiveLog: (obj: FollowupPrompt) => any;
258
+ /**
259
+ * Represents span in a text.
260
+ * @public
261
+ */
262
+ export interface Span {
263
+ start?: number | undefined;
264
+ end?: number | undefined;
265
+ }
266
+ /**
267
+ * Code Reference / Repository details
268
+ * @public
269
+ */
270
+ export interface Reference {
271
+ /**
272
+ * License name
273
+ * @public
274
+ */
275
+ licenseName?: string | undefined;
276
+ /**
277
+ * Code Repsitory for the associated reference
278
+ * @public
279
+ */
280
+ repository?: string | undefined;
281
+ /**
282
+ * Respository URL
283
+ * @public
284
+ */
285
+ url?: string | undefined;
286
+ /**
287
+ * Span / Range for the Reference
288
+ * @public
289
+ */
290
+ recommendationContentSpan?: Span | undefined;
291
+ }
292
+ /**
293
+ * Represents an additional reference link retured with the Chat message
294
+ * @public
295
+ */
296
+ export interface SupplementaryWebLink {
297
+ /**
298
+ * URL of the web reference link.
299
+ * @public
300
+ */
301
+ url: string | undefined;
302
+ /**
303
+ * Title of the web reference link.
304
+ * @public
305
+ */
306
+ title: string | undefined;
307
+ /**
308
+ * Relevant text snippet from the link.
309
+ * @public
310
+ */
311
+ snippet?: string | undefined;
312
+ }
313
+ /**
314
+ * @internal
315
+ */
316
+ export declare const SupplementaryWebLinkFilterSensitiveLog: (obj: SupplementaryWebLink) => any;
317
+ /**
318
+ * Contains information about a tool that the model is requesting be run. The model uses the result from the tool to generate a response.
319
+ * @public
320
+ */
321
+ export interface ToolUse {
322
+ /**
323
+ * The ID for the tool request.
324
+ * @public
325
+ */
326
+ toolUseId: string | undefined;
327
+ /**
328
+ * The name for the tool.
329
+ * @public
330
+ */
331
+ name: string | undefined;
332
+ /**
333
+ * The input to pass to the tool.
334
+ * @public
335
+ */
336
+ input: __DocumentType | undefined;
337
+ }
338
+ /**
339
+ * @internal
340
+ */
341
+ export declare const ToolUseFilterSensitiveLog: (obj: ToolUse) => any;
342
+ /**
343
+ * Markdown text message.
344
+ * @public
345
+ */
346
+ export interface AssistantResponseMessage {
347
+ /**
348
+ * Unique identifier for the chat message
349
+ * @public
350
+ */
351
+ messageId?: string | undefined;
352
+ /**
353
+ * The content of the text message in markdown format.
354
+ * @public
355
+ */
356
+ content: string | undefined;
357
+ /**
358
+ * Web References
359
+ * @public
360
+ */
361
+ supplementaryWebLinks?: (SupplementaryWebLink)[] | undefined;
362
+ /**
363
+ * Code References
364
+ * @public
365
+ */
366
+ references?: (Reference)[] | undefined;
367
+ /**
368
+ * Followup Prompt
369
+ * @public
370
+ */
371
+ followupPrompt?: FollowupPrompt | undefined;
372
+ /**
373
+ * ToolUse Request
374
+ * @public
375
+ */
376
+ toolUses?: (ToolUse)[] | undefined;
377
+ }
378
+ /**
379
+ * @internal
380
+ */
381
+ export declare const AssistantResponseMessageFilterSensitiveLog: (obj: AssistantResponseMessage) => any;
382
+ /**
383
+ * @public
384
+ * @enum
385
+ */
386
+ export declare const ConflictExceptionReason: {
387
+ readonly CUSTOMER_KMS_KEY_DISABLED: "CUSTOMER_KMS_KEY_DISABLED";
388
+ readonly CUSTOMER_KMS_KEY_INVALID_KEY_POLICY: "CUSTOMER_KMS_KEY_INVALID_KEY_POLICY";
389
+ readonly MISMATCHED_KMS_KEY: "MISMATCHED_KMS_KEY";
390
+ };
391
+ /**
392
+ * @public
393
+ */
394
+ export type ConflictExceptionReason = typeof ConflictExceptionReason[keyof typeof ConflictExceptionReason];
395
+ /**
396
+ * This exception is thrown when the action to perform could not be completed because the resource is in a conflicting state.
397
+ * @public
398
+ */
399
+ export declare class ConflictException extends __BaseException {
400
+ readonly name: "ConflictException";
401
+ readonly $fault: "client";
402
+ /**
403
+ * Reason for ConflictException
404
+ * @public
405
+ */
406
+ reason?: ConflictExceptionReason | undefined;
407
+ /**
408
+ * @internal
409
+ */
410
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
411
+ }
412
+ /**
413
+ * Programming Languages supported by CodeWhisperer
414
+ * @public
415
+ */
416
+ export interface ProgrammingLanguage {
417
+ languageName: string | undefined;
418
+ }
419
+ /**
420
+ * @public
421
+ * @enum
422
+ */
423
+ export declare const ImageFormat: {
424
+ readonly GIF: "gif";
425
+ readonly JPEG: "jpeg";
426
+ readonly PNG: "png";
427
+ readonly WEBP: "webp";
428
+ };
429
+ /**
430
+ * @public
431
+ */
432
+ export type ImageFormat = typeof ImageFormat[keyof typeof ImageFormat];
433
+ /**
434
+ * Image bytes limited to ~10MB considering overhead of base64 encoding
435
+ * @public
436
+ */
437
+ export type ImageSource = ImageSource.BytesMember | ImageSource.$UnknownMember;
438
+ /**
439
+ * @public
440
+ */
441
+ export declare namespace ImageSource {
442
+ interface BytesMember {
443
+ bytes: Uint8Array;
444
+ $unknown?: never;
445
+ }
446
+ /**
447
+ * @public
448
+ */
449
+ interface $UnknownMember {
450
+ bytes?: never;
451
+ $unknown: [string, any];
452
+ }
453
+ interface Visitor<T> {
454
+ bytes: (value: Uint8Array) => T;
455
+ _: (name: string, value: any) => T;
456
+ }
457
+ const visit: <T>(value: ImageSource, visitor: Visitor<T>) => T;
458
+ }
459
+ /**
460
+ * @internal
461
+ */
462
+ export declare const ImageSourceFilterSensitiveLog: (obj: ImageSource) => any;
463
+ /**
464
+ * Represents the image source itself and the format of the image.
465
+ * @public
466
+ */
467
+ export interface ImageBlock {
468
+ format: ImageFormat | undefined;
469
+ /**
470
+ * Image bytes limited to ~10MB considering overhead of base64 encoding
471
+ * @public
472
+ */
473
+ source: ImageSource | undefined;
474
+ }
475
+ /**
476
+ * @internal
477
+ */
478
+ export declare const ImageBlockFilterSensitiveLog: (obj: ImageBlock) => any;
479
+ /**
480
+ * @public
481
+ * @enum
482
+ */
483
+ export declare const Origin: {
484
+ /**
485
+ * Any AI Editor.
486
+ */
487
+ readonly AI_EDITOR: "AI_EDITOR";
488
+ /**
489
+ * AWS Chatbot
490
+ */
491
+ readonly CHATBOT: "CHATBOT";
492
+ /**
493
+ * Any CLI caller.
494
+ */
495
+ readonly CLI: "CLI";
496
+ /**
497
+ * AWS Management Console (https://<region>.console.aws.amazon.com)
498
+ */
499
+ readonly CONSOLE: "CONSOLE";
500
+ /**
501
+ * AWS Documentation Website (https://docs.aws.amazon.com)
502
+ */
503
+ readonly DOCUMENTATION: "DOCUMENTATION";
504
+ /**
505
+ * Any caller from GitLab Q integration.
506
+ */
507
+ readonly GITLAB: "GITLAB";
508
+ /**
509
+ * Any IDE caller.
510
+ */
511
+ readonly IDE: "IDE";
512
+ /**
513
+ * AWS Marketing Website (https://aws.amazon.com)
514
+ */
515
+ readonly MARKETING: "MARKETING";
516
+ /**
517
+ * MD.
518
+ */
519
+ readonly MD: "MD";
520
+ /**
521
+ * AWS Mobile Application (ACMA)
522
+ */
523
+ readonly MOBILE: "MOBILE";
524
+ /**
525
+ * Amazon OpenSearch dashboard
526
+ */
527
+ readonly OPENSEARCH_DASHBOARD: "OPENSEARCH_DASHBOARD";
528
+ /**
529
+ * Amazon SageMaker's Rome Chat.
530
+ */
531
+ readonly SAGE_MAKER: "SAGE_MAKER";
532
+ /**
533
+ * Internal Service Traffic (Integ Tests, Canaries, etc.). This is the default when no Origin header present in request.
534
+ */
535
+ readonly SERVICE_INTERNAL: "SERVICE_INTERNAL";
536
+ /**
537
+ * Unified Search in AWS Management Console (https://<region>.console.aws.amazon.com)
538
+ */
539
+ readonly UNIFIED_SEARCH: "UNIFIED_SEARCH";
540
+ /**
541
+ * Origin header is not set.
542
+ */
543
+ readonly UNKNOWN: "UNKNOWN";
544
+ };
545
+ /**
546
+ * @public
547
+ */
548
+ export type Origin = typeof Origin[keyof typeof Origin];
549
+ /**
550
+ * Information about the state of the AWS management console page from which the user is calling
551
+ * @public
552
+ */
553
+ export interface ConsoleState {
554
+ region?: string | undefined;
555
+ consoleUrl?: string | undefined;
556
+ serviceId?: string | undefined;
557
+ serviceConsolePage?: string | undefined;
558
+ serviceSubconsolePage?: string | undefined;
559
+ taskName?: string | undefined;
560
+ }
561
+ /**
562
+ * @internal
563
+ */
564
+ export declare const ConsoleStateFilterSensitiveLog: (obj: ConsoleState) => any;
565
+ /**
566
+ * @public
567
+ * @enum
568
+ */
569
+ export declare const DiagnosticSeverity: {
570
+ readonly ERROR: "ERROR";
571
+ readonly HINT: "HINT";
572
+ readonly INFORMATION: "INFORMATION";
573
+ readonly WARNING: "WARNING";
574
+ };
575
+ /**
576
+ * @public
577
+ */
578
+ export type DiagnosticSeverity = typeof DiagnosticSeverity[keyof typeof DiagnosticSeverity];
579
+ /**
580
+ * Structure to represent metadata about a Runtime Diagnostics
581
+ * @public
582
+ */
583
+ export interface RuntimeDiagnostic {
584
+ /**
585
+ * A human-readable string describing the source of the diagnostic
586
+ * @public
587
+ */
588
+ source: string | undefined;
589
+ /**
590
+ * Diagnostic Error type
591
+ * @public
592
+ */
593
+ severity: DiagnosticSeverity | undefined;
594
+ /**
595
+ * The diagnostic's message.
596
+ * @public
597
+ */
598
+ message: string | undefined;
599
+ }
600
+ /**
601
+ * @internal
602
+ */
603
+ export declare const RuntimeDiagnosticFilterSensitiveLog: (obj: RuntimeDiagnostic) => any;
604
+ /**
605
+ * Structure to capture a description for an error code.
606
+ * @public
607
+ */
608
+ export interface CodeDescription {
609
+ /**
610
+ * An URI to open with more information about the diagnostic error.
611
+ * @public
612
+ */
613
+ href: string | undefined;
614
+ }
615
+ /**
616
+ * @internal
617
+ */
618
+ export declare const CodeDescriptionFilterSensitiveLog: (obj: CodeDescription) => any;
619
+ /**
620
+ * @public
621
+ * @enum
622
+ */
623
+ export declare const SymbolType: {
624
+ readonly DECLARATION: "DECLARATION";
625
+ readonly USAGE: "USAGE";
626
+ };
627
+ /**
628
+ * @public
629
+ */
630
+ export type SymbolType = typeof SymbolType[keyof typeof SymbolType];
631
+ /**
632
+ * @public
633
+ */
634
+ export interface DocumentSymbol {
635
+ /**
636
+ * Name of the Document Symbol
637
+ * @public
638
+ */
639
+ name: string | undefined;
640
+ /**
641
+ * Symbol type - DECLARATION / USAGE
642
+ * @public
643
+ */
644
+ type: SymbolType | undefined;
645
+ /**
646
+ * Symbol package / source for FullyQualified names
647
+ * @public
648
+ */
649
+ source?: string | undefined;
650
+ }
651
+ /**
652
+ * Represents a Text Document / File
653
+ * @public
654
+ */
655
+ export interface TextDocument {
656
+ /**
657
+ * Filepath relative to the root of the workspace
658
+ * @public
659
+ */
660
+ relativeFilePath: string | undefined;
661
+ /**
662
+ * The text document's language identifier.
663
+ * @public
664
+ */
665
+ programmingLanguage?: ProgrammingLanguage | undefined;
666
+ /**
667
+ * Content of the text document
668
+ * @public
669
+ */
670
+ text?: string | undefined;
671
+ /**
672
+ * DocumentSymbols parsed from a text document
673
+ * @public
674
+ */
675
+ documentSymbols?: (DocumentSymbol)[] | undefined;
676
+ }
677
+ /**
678
+ * @internal
679
+ */
680
+ export declare const TextDocumentFilterSensitiveLog: (obj: TextDocument) => any;
681
+ /**
682
+ * Indicates Cursor postion in a Text Document
683
+ * @public
684
+ */
685
+ export interface Position {
686
+ /**
687
+ * Line position in a document.
688
+ * @public
689
+ */
690
+ line: number | undefined;
691
+ /**
692
+ * Character offset on a line in a document (zero-based)
693
+ * @public
694
+ */
695
+ character: number | undefined;
696
+ }
697
+ /**
698
+ * Indicates Range / Span in a Text Document
699
+ * @public
700
+ */
701
+ export interface Range {
702
+ /**
703
+ * The range's start position.
704
+ * @public
705
+ */
706
+ start: Position | undefined;
707
+ /**
708
+ * The range's end position.
709
+ * @public
710
+ */
711
+ end: Position | undefined;
712
+ }
713
+ /**
714
+ * Represents a location inside a resource, such as a line inside a text file.
715
+ * @public
716
+ */
717
+ export interface DiagnosticLocation {
718
+ uri: string | undefined;
719
+ /**
720
+ * Indicates Range / Span in a Text Document
721
+ * @public
722
+ */
723
+ range: Range | undefined;
724
+ }
725
+ /**
726
+ * @internal
727
+ */
728
+ export declare const DiagnosticLocationFilterSensitiveLog: (obj: DiagnosticLocation) => any;
729
+ /**
730
+ * Represents a related message and source code location for a diagnostic.
731
+ * @public
732
+ */
733
+ export interface DiagnosticRelatedInformation {
734
+ /**
735
+ * The location of this related diagnostic information.
736
+ * @public
737
+ */
738
+ location: DiagnosticLocation | undefined;
739
+ /**
740
+ * The message of this related diagnostic information.
741
+ * @public
742
+ */
743
+ message: string | undefined;
744
+ }
745
+ /**
746
+ * @internal
747
+ */
748
+ export declare const DiagnosticRelatedInformationFilterSensitiveLog: (obj: DiagnosticRelatedInformation) => any;
749
+ /**
750
+ * @public
751
+ * @enum
752
+ */
753
+ export declare const DiagnosticTag: {
754
+ readonly DEPRECATED: "DEPRECATED";
755
+ readonly UNNECESSARY: "UNNECESSARY";
756
+ };
757
+ /**
758
+ * @public
759
+ */
760
+ export type DiagnosticTag = typeof DiagnosticTag[keyof typeof DiagnosticTag];
761
+ /**
762
+ * Structure to represent metadata about a TextDocument Diagnostic
763
+ * @public
764
+ */
765
+ export interface TextDocumentDiagnostic {
766
+ /**
767
+ * Represents a Text Document associated with Diagnostic
768
+ * @public
769
+ */
770
+ document: TextDocument | undefined;
771
+ /**
772
+ * The range at which the message applies.
773
+ * @public
774
+ */
775
+ range: Range | undefined;
776
+ /**
777
+ * A human-readable string describing the source of the diagnostic
778
+ * @public
779
+ */
780
+ source: string | undefined;
781
+ /**
782
+ * Diagnostic Error type
783
+ * @public
784
+ */
785
+ severity: DiagnosticSeverity | undefined;
786
+ /**
787
+ * The diagnostic's message.
788
+ * @public
789
+ */
790
+ message: string | undefined;
791
+ /**
792
+ * The diagnostic's code, which might appear in the user interface.
793
+ * @public
794
+ */
795
+ code?: string | undefined;
796
+ /**
797
+ * An optional property to describe the error code.
798
+ * @public
799
+ */
800
+ codeDescription?: CodeDescription | undefined;
801
+ /**
802
+ * Additional metadata about the diagnostic.
803
+ * @public
804
+ */
805
+ tags?: (DiagnosticTag)[] | undefined;
806
+ /**
807
+ * an array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.
808
+ * @public
809
+ */
810
+ relatedInformation?: (DiagnosticRelatedInformation)[] | undefined;
811
+ /**
812
+ * A data entry field that is preserved between a `textDocument/publishDiagnostics` notification and `textDocument/codeAction` request.
813
+ * @public
814
+ */
815
+ data?: string | undefined;
816
+ }
817
+ /**
818
+ * @internal
819
+ */
820
+ export declare const TextDocumentDiagnosticFilterSensitiveLog: (obj: TextDocumentDiagnostic) => any;
821
+ /**
822
+ * Represents a Diagnostic message
823
+ * @public
824
+ */
825
+ export type Diagnostic = Diagnostic.RuntimeDiagnosticMember | Diagnostic.TextDocumentDiagnosticMember | Diagnostic.$UnknownMember;
826
+ /**
827
+ * @public
828
+ */
829
+ export declare namespace Diagnostic {
830
+ /**
831
+ * Diagnostics originating from a TextDocument
832
+ * @public
833
+ */
834
+ interface TextDocumentDiagnosticMember {
835
+ textDocumentDiagnostic: TextDocumentDiagnostic;
836
+ runtimeDiagnostic?: never;
837
+ $unknown?: never;
838
+ }
839
+ /**
840
+ * Diagnostics originating from a Runtime
841
+ * @public
842
+ */
843
+ interface RuntimeDiagnosticMember {
844
+ textDocumentDiagnostic?: never;
845
+ runtimeDiagnostic: RuntimeDiagnostic;
846
+ $unknown?: never;
847
+ }
848
+ /**
849
+ * @public
850
+ */
851
+ interface $UnknownMember {
852
+ textDocumentDiagnostic?: never;
853
+ runtimeDiagnostic?: never;
854
+ $unknown: [string, any];
855
+ }
856
+ interface Visitor<T> {
857
+ textDocumentDiagnostic: (value: TextDocumentDiagnostic) => T;
858
+ runtimeDiagnostic: (value: RuntimeDiagnostic) => T;
859
+ _: (name: string, value: any) => T;
860
+ }
861
+ const visit: <T>(value: Diagnostic, visitor: Visitor<T>) => T;
862
+ }
863
+ /**
864
+ * @internal
865
+ */
866
+ export declare const DiagnosticFilterSensitiveLog: (obj: Diagnostic) => any;
867
+ /**
868
+ * Represents the state of the Cursor in an Editor
869
+ * @public
870
+ */
871
+ export type CursorState = CursorState.PositionMember | CursorState.RangeMember | CursorState.$UnknownMember;
872
+ /**
873
+ * @public
874
+ */
875
+ export declare namespace CursorState {
876
+ /**
877
+ * Represents a cursor position in a Text Document
878
+ * @public
879
+ */
880
+ interface PositionMember {
881
+ position: Position;
882
+ range?: never;
883
+ $unknown?: never;
884
+ }
885
+ /**
886
+ * Represents a text selection in a Text Document
887
+ * @public
888
+ */
889
+ interface RangeMember {
890
+ position?: never;
891
+ range: Range;
892
+ $unknown?: never;
893
+ }
894
+ /**
895
+ * @public
896
+ */
897
+ interface $UnknownMember {
898
+ position?: never;
899
+ range?: never;
900
+ $unknown: [string, any];
901
+ }
902
+ interface Visitor<T> {
903
+ position: (value: Position) => T;
904
+ range: (value: Range) => T;
905
+ _: (name: string, value: any) => T;
906
+ }
907
+ const visit: <T>(value: CursorState, visitor: Visitor<T>) => T;
908
+ }
909
+ /**
910
+ * Represents an IDE retrieved relevant Text Document / File
911
+ * @public
912
+ */
913
+ export interface RelevantTextDocument {
914
+ /**
915
+ * Filepath relative to the root of the workspace
916
+ * @public
917
+ */
918
+ relativeFilePath: string | undefined;
919
+ /**
920
+ * The text document's language identifier.
921
+ * @public
922
+ */
923
+ programmingLanguage?: ProgrammingLanguage | undefined;
924
+ /**
925
+ * Content of the text document
926
+ * @public
927
+ */
928
+ text?: string | undefined;
929
+ /**
930
+ * DocumentSymbols parsed from a text document
931
+ * @public
932
+ */
933
+ documentSymbols?: (DocumentSymbol)[] | undefined;
934
+ }
935
+ /**
936
+ * @internal
937
+ */
938
+ export declare const RelevantTextDocumentFilterSensitiveLog: (obj: RelevantTextDocument) => any;
939
+ /**
940
+ * Represents the state of an Editor
941
+ * @public
942
+ */
943
+ export interface EditorState {
944
+ /**
945
+ * Represents currently edited file
946
+ * @public
947
+ */
948
+ document?: TextDocument | undefined;
949
+ /**
950
+ * Position of the cursor
951
+ * @public
952
+ */
953
+ cursorState?: CursorState | undefined;
954
+ /**
955
+ * Represents IDE provided relevant files
956
+ * @public
957
+ */
958
+ relevantDocuments?: (RelevantTextDocument)[] | undefined;
959
+ /**
960
+ * Whether service should use relevant document in prompt
961
+ * @public
962
+ */
963
+ useRelevantDocuments?: boolean | undefined;
964
+ /**
965
+ * Represents IDE provided list of workspace folders
966
+ * @public
967
+ */
968
+ workspaceFolders?: (string)[] | undefined;
969
+ }
970
+ /**
971
+ * @internal
972
+ */
973
+ export declare const EditorStateFilterSensitiveLog: (obj: EditorState) => any;
974
+ /**
975
+ * An environment variable
976
+ * @public
977
+ */
978
+ export interface EnvironmentVariable {
979
+ /**
980
+ * The key of an environment variable
981
+ * @public
982
+ */
983
+ key?: string | undefined;
984
+ /**
985
+ * The value of an environment variable
986
+ * @public
987
+ */
988
+ value?: string | undefined;
989
+ }
990
+ /**
991
+ * @internal
992
+ */
993
+ export declare const EnvironmentVariableFilterSensitiveLog: (obj: EnvironmentVariable) => any;
994
+ /**
995
+ * State related to the user's environment
996
+ * @public
997
+ */
998
+ export interface EnvState {
999
+ /**
1000
+ * The name of the operating system in use
1001
+ * @public
1002
+ */
1003
+ operatingSystem?: string | undefined;
1004
+ /**
1005
+ * The current working directory of the environment
1006
+ * @public
1007
+ */
1008
+ currentWorkingDirectory?: string | undefined;
1009
+ /**
1010
+ * The environment variables set in the current environment
1011
+ * @public
1012
+ */
1013
+ environmentVariables?: (EnvironmentVariable)[] | undefined;
1014
+ /**
1015
+ * Local timezone offset of the client. For more information, see documentation https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset
1016
+ * @public
1017
+ */
1018
+ timezoneOffset?: number | undefined;
1019
+ }
1020
+ /**
1021
+ * @internal
1022
+ */
1023
+ export declare const EnvStateFilterSensitiveLog: (obj: EnvState) => any;
1024
+ /**
1025
+ * State related to the Git VSC
1026
+ * @public
1027
+ */
1028
+ export interface GitState {
1029
+ /**
1030
+ * The output of the command `git status --porcelain=v1 -b`
1031
+ * @public
1032
+ */
1033
+ status?: string | undefined;
1034
+ }
1035
+ /**
1036
+ * @internal
1037
+ */
1038
+ export declare const GitStateFilterSensitiveLog: (obj: GitState) => any;
1039
+ /**
1040
+ * An single entry in the shell history
1041
+ * @public
1042
+ */
1043
+ export interface ShellHistoryEntry {
1044
+ /**
1045
+ * The shell command that was run
1046
+ * @public
1047
+ */
1048
+ command: string | undefined;
1049
+ /**
1050
+ * The directory the command was ran in
1051
+ * @public
1052
+ */
1053
+ directory?: string | undefined;
1054
+ /**
1055
+ * The exit code of the command after it finished
1056
+ * @public
1057
+ */
1058
+ exitCode?: number | undefined;
1059
+ /**
1060
+ * The stdout from the command
1061
+ * @public
1062
+ */
1063
+ stdout?: string | undefined;
1064
+ /**
1065
+ * The stderr from the command
1066
+ * @public
1067
+ */
1068
+ stderr?: string | undefined;
1069
+ }
1070
+ /**
1071
+ * @internal
1072
+ */
1073
+ export declare const ShellHistoryEntryFilterSensitiveLog: (obj: ShellHistoryEntry) => any;
1074
+ /**
1075
+ * Represents the state of a shell
1076
+ * @public
1077
+ */
1078
+ export interface ShellState {
1079
+ /**
1080
+ * The name of the current shell
1081
+ * @public
1082
+ */
1083
+ shellName: string | undefined;
1084
+ /**
1085
+ * The history previous shell commands for the current shell
1086
+ * @public
1087
+ */
1088
+ shellHistory?: (ShellHistoryEntry)[] | undefined;
1089
+ }
1090
+ /**
1091
+ * @internal
1092
+ */
1093
+ export declare const ShellStateFilterSensitiveLog: (obj: ShellState) => any;
1094
+ /**
1095
+ * @public
1096
+ */
1097
+ export type ToolResultContentBlock = ToolResultContentBlock.JsonMember | ToolResultContentBlock.TextMember | ToolResultContentBlock.$UnknownMember;
1098
+ /**
1099
+ * @public
1100
+ */
1101
+ export declare namespace ToolResultContentBlock {
1102
+ /**
1103
+ * A tool result that is text.
1104
+ * @public
1105
+ */
1106
+ interface TextMember {
1107
+ text: string;
1108
+ json?: never;
1109
+ $unknown?: never;
1110
+ }
1111
+ /**
1112
+ * A tool result that is JSON format data.
1113
+ * @public
1114
+ */
1115
+ interface JsonMember {
1116
+ text?: never;
1117
+ json: __DocumentType;
1118
+ $unknown?: never;
1119
+ }
1120
+ /**
1121
+ * @public
1122
+ */
1123
+ interface $UnknownMember {
1124
+ text?: never;
1125
+ json?: never;
1126
+ $unknown: [string, any];
1127
+ }
1128
+ interface Visitor<T> {
1129
+ text: (value: string) => T;
1130
+ json: (value: __DocumentType) => T;
1131
+ _: (name: string, value: any) => T;
1132
+ }
1133
+ const visit: <T>(value: ToolResultContentBlock, visitor: Visitor<T>) => T;
1134
+ }
1135
+ /**
1136
+ * @internal
1137
+ */
1138
+ export declare const ToolResultContentBlockFilterSensitiveLog: (obj: ToolResultContentBlock) => any;
1139
+ /**
1140
+ * @public
1141
+ * @enum
1142
+ */
1143
+ export declare const ToolResultStatus: {
1144
+ readonly ERROR: "error";
1145
+ readonly SUCCESS: "success";
1146
+ };
1147
+ /**
1148
+ * @public
1149
+ */
1150
+ export type ToolResultStatus = typeof ToolResultStatus[keyof typeof ToolResultStatus];
1151
+ /**
1152
+ * A tool result that contains the results for a tool request that was previously made.
1153
+ * @public
1154
+ */
1155
+ export interface ToolResult {
1156
+ /**
1157
+ * The ID for the tool request.
1158
+ * @public
1159
+ */
1160
+ toolUseId: string | undefined;
1161
+ /**
1162
+ * Content of the tool result.
1163
+ * @public
1164
+ */
1165
+ content: (ToolResultContentBlock)[] | undefined;
1166
+ /**
1167
+ * Status of the tools result.
1168
+ * @public
1169
+ */
1170
+ status?: ToolResultStatus | undefined;
1171
+ }
1172
+ /**
1173
+ * @internal
1174
+ */
1175
+ export declare const ToolResultFilterSensitiveLog: (obj: ToolResult) => any;
1176
+ /**
1177
+ * The input schema for the tool in JSON format.
1178
+ * @public
1179
+ */
1180
+ export interface ToolInputSchema {
1181
+ json?: __DocumentType | undefined;
1182
+ }
1183
+ /**
1184
+ * @internal
1185
+ */
1186
+ export declare const ToolInputSchemaFilterSensitiveLog: (obj: ToolInputSchema) => any;
1187
+ /**
1188
+ * The specification for the tool.
1189
+ * @public
1190
+ */
1191
+ export interface ToolSpecification {
1192
+ /**
1193
+ * The input schema for the tool in JSON format.
1194
+ * @public
1195
+ */
1196
+ inputSchema: ToolInputSchema | undefined;
1197
+ /**
1198
+ * The name for the tool.
1199
+ * @public
1200
+ */
1201
+ name: string | undefined;
1202
+ /**
1203
+ * The description for the tool.
1204
+ * @public
1205
+ */
1206
+ description?: string | undefined;
1207
+ }
1208
+ /**
1209
+ * @internal
1210
+ */
1211
+ export declare const ToolSpecificationFilterSensitiveLog: (obj: ToolSpecification) => any;
1212
+ /**
1213
+ * Information about a tool that can be used.
1214
+ * @public
1215
+ */
1216
+ export type Tool = Tool.ToolSpecificationMember | Tool.$UnknownMember;
1217
+ /**
1218
+ * @public
1219
+ */
1220
+ export declare namespace Tool {
1221
+ /**
1222
+ * The specification for the tool.
1223
+ * @public
1224
+ */
1225
+ interface ToolSpecificationMember {
1226
+ toolSpecification: ToolSpecification;
1227
+ $unknown?: never;
1228
+ }
1229
+ /**
1230
+ * @public
1231
+ */
1232
+ interface $UnknownMember {
1233
+ toolSpecification?: never;
1234
+ $unknown: [string, any];
1235
+ }
1236
+ interface Visitor<T> {
1237
+ toolSpecification: (value: ToolSpecification) => T;
1238
+ _: (name: string, value: any) => T;
1239
+ }
1240
+ const visit: <T>(value: Tool, visitor: Visitor<T>) => T;
1241
+ }
1242
+ /**
1243
+ * @internal
1244
+ */
1245
+ export declare const ToolFilterSensitiveLog: (obj: Tool) => any;
1246
+ /**
1247
+ * Settings information passed by the Q widget
1248
+ * @public
1249
+ */
1250
+ export interface UserSettings {
1251
+ hasConsentedToCrossRegionCalls?: boolean | undefined;
1252
+ }
1253
+ /**
1254
+ * Additional Chat message context associated with the Chat Message
1255
+ * @public
1256
+ */
1257
+ export interface UserInputMessageContext {
1258
+ /**
1259
+ * Editor state chat message context.
1260
+ * @public
1261
+ */
1262
+ editorState?: EditorState | undefined;
1263
+ /**
1264
+ * Shell state chat message context.
1265
+ * @public
1266
+ */
1267
+ shellState?: ShellState | undefined;
1268
+ /**
1269
+ * Git state chat message context.
1270
+ * @public
1271
+ */
1272
+ gitState?: GitState | undefined;
1273
+ /**
1274
+ * Environment state chat message context.
1275
+ * @public
1276
+ */
1277
+ envState?: EnvState | undefined;
1278
+ /**
1279
+ * The state of a user's AppStudio UI when sending a message.
1280
+ * @public
1281
+ */
1282
+ appStudioContext?: AppStudioState | undefined;
1283
+ /**
1284
+ * Diagnostic chat message context.
1285
+ * @public
1286
+ */
1287
+ diagnostic?: Diagnostic | undefined;
1288
+ /**
1289
+ * Contextual information about the environment from which the user is calling.
1290
+ * @public
1291
+ */
1292
+ consoleState?: ConsoleState | undefined;
1293
+ /**
1294
+ * Settings information, e.g., whether the user has enabled cross-region API calls.
1295
+ * @public
1296
+ */
1297
+ userSettings?: UserSettings | undefined;
1298
+ /**
1299
+ * List of additional contextual content entries that can be included with the message.
1300
+ * @public
1301
+ */
1302
+ additionalContext?: (AdditionalContentEntry)[] | undefined;
1303
+ /**
1304
+ * ToolResults for the requested ToolUses.
1305
+ * @public
1306
+ */
1307
+ toolResults?: (ToolResult)[] | undefined;
1308
+ /**
1309
+ * Tools that can be used.
1310
+ * @public
1311
+ */
1312
+ tools?: (Tool)[] | undefined;
1313
+ }
1314
+ /**
1315
+ * @internal
1316
+ */
1317
+ export declare const UserInputMessageContextFilterSensitiveLog: (obj: UserInputMessageContext) => any;
1318
+ /**
1319
+ * Structure to represent a chat input message from User.
1320
+ * @public
1321
+ */
1322
+ export interface UserInputMessage {
1323
+ /**
1324
+ * The content of the chat message.
1325
+ * @public
1326
+ */
1327
+ content: string | undefined;
1328
+ /**
1329
+ * Chat message context associated with the Chat Message.
1330
+ * @public
1331
+ */
1332
+ userInputMessageContext?: UserInputMessageContext | undefined;
1333
+ /**
1334
+ * User Intent.
1335
+ * @public
1336
+ */
1337
+ userIntent?: UserIntent | undefined;
1338
+ /**
1339
+ * User Input Origin.
1340
+ * @public
1341
+ */
1342
+ origin?: Origin | undefined;
1343
+ /**
1344
+ * Images associated with the Chat Message.
1345
+ * @public
1346
+ */
1347
+ images?: (ImageBlock)[] | undefined;
1348
+ }
1349
+ /**
1350
+ * @internal
1351
+ */
1352
+ export declare const UserInputMessageFilterSensitiveLog: (obj: UserInputMessage) => any;
1353
+ /**
1354
+ * @public
1355
+ */
1356
+ export type ChatMessage = ChatMessage.AssistantResponseMessageMember | ChatMessage.UserInputMessageMember | ChatMessage.$UnknownMember;
1357
+ /**
1358
+ * @public
1359
+ */
1360
+ export declare namespace ChatMessage {
1361
+ /**
1362
+ * Structure to represent a chat input message from User.
1363
+ * @public
1364
+ */
1365
+ interface UserInputMessageMember {
1366
+ userInputMessage: UserInputMessage;
1367
+ assistantResponseMessage?: never;
1368
+ $unknown?: never;
1369
+ }
1370
+ /**
1371
+ * Markdown text message.
1372
+ * @public
1373
+ */
1374
+ interface AssistantResponseMessageMember {
1375
+ userInputMessage?: never;
1376
+ assistantResponseMessage: AssistantResponseMessage;
1377
+ $unknown?: never;
1378
+ }
1379
+ /**
1380
+ * @public
1381
+ */
1382
+ interface $UnknownMember {
1383
+ userInputMessage?: never;
1384
+ assistantResponseMessage?: never;
1385
+ $unknown: [string, any];
1386
+ }
1387
+ interface Visitor<T> {
1388
+ userInputMessage: (value: UserInputMessage) => T;
1389
+ assistantResponseMessage: (value: AssistantResponseMessage) => T;
1390
+ _: (name: string, value: any) => T;
1391
+ }
1392
+ const visit: <T>(value: ChatMessage, visitor: Visitor<T>) => T;
1393
+ }
1394
+ /**
1395
+ * @internal
1396
+ */
1397
+ export declare const ChatMessageFilterSensitiveLog: (obj: ChatMessage) => any;
1398
+ /**
1399
+ * Represents the target of a citation event
1400
+ * @public
1401
+ */
1402
+ export type CitationTarget = CitationTarget.LocationMember | CitationTarget.RangeMember | CitationTarget.$UnknownMember;
1403
+ /**
1404
+ * @public
1405
+ */
1406
+ export declare namespace CitationTarget {
1407
+ /**
1408
+ * Represents a position in the response text where a citation should be added
1409
+ * @public
1410
+ */
1411
+ interface LocationMember {
1412
+ location: number;
1413
+ range?: never;
1414
+ $unknown?: never;
1415
+ }
1416
+ /**
1417
+ * Represents the range in the response text to be targetted by a citation
1418
+ * @public
1419
+ */
1420
+ interface RangeMember {
1421
+ location?: never;
1422
+ range: Span;
1423
+ $unknown?: never;
1424
+ }
1425
+ /**
1426
+ * @public
1427
+ */
1428
+ interface $UnknownMember {
1429
+ location?: never;
1430
+ range?: never;
1431
+ $unknown: [string, any];
1432
+ }
1433
+ interface Visitor<T> {
1434
+ location: (value: number) => T;
1435
+ range: (value: Span) => T;
1436
+ _: (name: string, value: any) => T;
1437
+ }
1438
+ const visit: <T>(value: CitationTarget, visitor: Visitor<T>) => T;
1439
+ }
1440
+ /**
1441
+ * Streaming response event for citations
1442
+ * @public
1443
+ */
1444
+ export interface CitationEvent {
1445
+ /**
1446
+ * The position or the range of the response text to be cited
1447
+ * @public
1448
+ */
1449
+ target: CitationTarget | undefined;
1450
+ /**
1451
+ * The text inside the citation '1' in [1]
1452
+ * @public
1453
+ */
1454
+ citationText?: string | undefined;
1455
+ /**
1456
+ * The link to the document being cited
1457
+ * @public
1458
+ */
1459
+ citationLink: string | undefined;
1460
+ }
1461
+ /**
1462
+ * @internal
1463
+ */
1464
+ export declare const CitationEventFilterSensitiveLog: (obj: CitationEvent) => any;
1465
+ /**
1466
+ * Streaming response event for generated code text.
1467
+ * @public
1468
+ */
1469
+ export interface CodeEvent {
1470
+ /**
1471
+ * Generated code snippet.
1472
+ * @public
1473
+ */
1474
+ content: string | undefined;
1475
+ }
1476
+ /**
1477
+ * @internal
1478
+ */
1479
+ export declare const CodeEventFilterSensitiveLog: (obj: CodeEvent) => any;
1480
+ /**
1481
+ * Streaming Response Event for CodeReferences
1482
+ * @public
1483
+ */
1484
+ export interface CodeReferenceEvent {
1485
+ /**
1486
+ * Code References for Assistant Response Message
1487
+ * @public
1488
+ */
1489
+ references?: (Reference)[] | undefined;
1490
+ }
1491
+ /**
1492
+ * Streaming Response Event when DryRun is succeessful
1493
+ * @public
1494
+ */
1495
+ export interface DryRunSucceedEvent {
1496
+ }
1497
+ /**
1498
+ * Streaming Response Event for Followup Prompt.
1499
+ * @public
1500
+ */
1501
+ export interface FollowupPromptEvent {
1502
+ /**
1503
+ * Followup Prompt for the Assistant Response
1504
+ * @public
1505
+ */
1506
+ followupPrompt?: FollowupPrompt | undefined;
1507
+ }
1508
+ /**
1509
+ * @internal
1510
+ */
1511
+ export declare const FollowupPromptEventFilterSensitiveLog: (obj: FollowupPromptEvent) => any;
1512
+ /**
1513
+ * @public
1514
+ * @enum
1515
+ */
1516
+ export declare const IntentType: {
1517
+ readonly GLUE_SENSEI: "GLUE_SENSEI";
1518
+ readonly RESOURCE_DATA: "RESOURCE_DATA";
1519
+ readonly SUPPORT: "SUPPORT";
1520
+ };
1521
+ /**
1522
+ * @public
1523
+ */
1524
+ export type IntentType = typeof IntentType[keyof typeof IntentType];
1525
+ /**
1526
+ * @public
1527
+ */
1528
+ export type IntentDataType = IntentDataType.StringMember | IntentDataType.$UnknownMember;
1529
+ /**
1530
+ * @public
1531
+ */
1532
+ export declare namespace IntentDataType {
1533
+ interface StringMember {
1534
+ string: string;
1535
+ $unknown?: never;
1536
+ }
1537
+ /**
1538
+ * @public
1539
+ */
1540
+ interface $UnknownMember {
1541
+ string?: never;
1542
+ $unknown: [string, any];
1543
+ }
1544
+ interface Visitor<T> {
1545
+ string: (value: string) => T;
1546
+ _: (name: string, value: any) => T;
1547
+ }
1548
+ const visit: <T>(value: IntentDataType, visitor: Visitor<T>) => T;
1549
+ }
1550
+ /**
1551
+ * Streaming Response Event for Intents
1552
+ * @public
1553
+ */
1554
+ export interface IntentsEvent {
1555
+ /**
1556
+ * A map of Intent objects
1557
+ * @public
1558
+ */
1559
+ intents?: Partial<Record<IntentType, Record<string, IntentDataType>>> | undefined;
1560
+ }
1561
+ /**
1562
+ * @internal
1563
+ */
1564
+ export declare const IntentsEventFilterSensitiveLog: (obj: IntentsEvent) => any;
1565
+ /**
1566
+ * For CloudWatch Troubleshooting Link Module
1567
+ * @public
1568
+ */
1569
+ export interface CloudWatchTroubleshootingLink {
1570
+ /**
1571
+ * A label for the link.
1572
+ * @public
1573
+ */
1574
+ label: string | undefined;
1575
+ /**
1576
+ * Stringified JSON payload. See spec here https://code.amazon.com/packages/CloudWatchOdysseyModel/blobs/50c0832f0e393e4ab68827eb4f04d832366821c1/--/model/events.smithy#L28 .
1577
+ * @public
1578
+ */
1579
+ investigationPayload: string | undefined;
1580
+ /**
1581
+ * Fallback string, if target channel does not support the CloudWatchTroubleshootingLink.
1582
+ * @public
1583
+ */
1584
+ defaultText?: string | undefined;
1585
+ }
1586
+ /**
1587
+ * @internal
1588
+ */
1589
+ export declare const CloudWatchTroubleshootingLinkFilterSensitiveLog: (obj: CloudWatchTroubleshootingLink) => any;
1590
+ /**
1591
+ * @public
1592
+ */
1593
+ export interface ModuleLink {
1594
+ /**
1595
+ * For CloudWatch Troubleshooting Link Module
1596
+ * @public
1597
+ */
1598
+ cloudWatchTroubleshootingLink?: CloudWatchTroubleshootingLink | undefined;
1599
+ }
1600
+ /**
1601
+ * @internal
1602
+ */
1603
+ export declare const ModuleLinkFilterSensitiveLog: (obj: ModuleLink) => any;
1604
+ /**
1605
+ * @public
1606
+ */
1607
+ export interface WebLink {
1608
+ /**
1609
+ * A label for the link
1610
+ * @public
1611
+ */
1612
+ label: string | undefined;
1613
+ /**
1614
+ * URL of the Weblink
1615
+ * @public
1616
+ */
1617
+ url: string | undefined;
1618
+ }
1619
+ /**
1620
+ * @internal
1621
+ */
1622
+ export declare const WebLinkFilterSensitiveLog: (obj: WebLink) => any;
1623
+ /**
1624
+ * @public
1625
+ */
1626
+ export interface Action {
1627
+ webLink?: WebLink | undefined;
1628
+ moduleLink?: ModuleLink | undefined;
1629
+ }
1630
+ /**
1631
+ * @internal
1632
+ */
1633
+ export declare const ActionFilterSensitiveLog: (obj: Action) => any;
1634
+ /**
1635
+ * Structure representing a simple text component with sensitive content, which can include Markdown formatting.
1636
+ * @public
1637
+ */
1638
+ export interface Text {
1639
+ /**
1640
+ * Contains text content that may include sensitive information and can support Markdown formatting.
1641
+ * @public
1642
+ */
1643
+ content: string | undefined;
1644
+ }
1645
+ /**
1646
+ * @internal
1647
+ */
1648
+ export declare const TextFilterSensitiveLog: (obj: Text) => any;
1649
+ /**
1650
+ * @public
1651
+ */
1652
+ export interface AlertComponent {
1653
+ /**
1654
+ * Structure representing a simple text component with sensitive content, which can include Markdown formatting.
1655
+ * @public
1656
+ */
1657
+ text?: Text | undefined;
1658
+ }
1659
+ /**
1660
+ * @internal
1661
+ */
1662
+ export declare const AlertComponentFilterSensitiveLog: (obj: AlertComponent) => any;
1663
+ /**
1664
+ * @public
1665
+ * @enum
1666
+ */
1667
+ export declare const AlertType: {
1668
+ /**
1669
+ * Alert indicating an error or failure that requires attention.
1670
+ */
1671
+ readonly ERROR: "ERROR";
1672
+ /**
1673
+ * Informational alert providing general information.
1674
+ */
1675
+ readonly INFO: "INFO";
1676
+ /**
1677
+ * Alert indicating a warning or potential issue that should be noted.
1678
+ */
1679
+ readonly WARNING: "WARNING";
1680
+ };
1681
+ /**
1682
+ * @public
1683
+ */
1684
+ export type AlertType = typeof AlertType[keyof typeof AlertType];
1685
+ /**
1686
+ * Structure representing an alert with a type and content.
1687
+ * @public
1688
+ */
1689
+ export interface Alert {
1690
+ /**
1691
+ * Enum defining types of alerts that can be issued.
1692
+ * @public
1693
+ */
1694
+ type: AlertType | undefined;
1695
+ /**
1696
+ * Contains the content of the alert, which may include sensitive information.
1697
+ * @public
1698
+ */
1699
+ content: (AlertComponent)[] | undefined;
1700
+ }
1701
+ /**
1702
+ * @internal
1703
+ */
1704
+ export declare const AlertFilterSensitiveLog: (obj: Alert) => any;
1705
+ /**
1706
+ * Structure describing a transition between two states in an infrastructure update.
1707
+ * @public
1708
+ */
1709
+ export interface InfrastructureUpdateTransition {
1710
+ /**
1711
+ * The current state of the infrastructure before the update.
1712
+ * @public
1713
+ */
1714
+ currentState: string | undefined;
1715
+ /**
1716
+ * The next state of the infrastructure following the update.
1717
+ * @public
1718
+ */
1719
+ nextState: string | undefined;
1720
+ }
1721
+ /**
1722
+ * @internal
1723
+ */
1724
+ export declare const InfrastructureUpdateTransitionFilterSensitiveLog: (obj: InfrastructureUpdateTransition) => any;
1725
+ /**
1726
+ * Structure representing different types of infrastructure updates.
1727
+ * @public
1728
+ */
1729
+ export interface InfrastructureUpdate {
1730
+ /**
1731
+ * Structure describing a transition between two states in an infrastructure update.
1732
+ * @public
1733
+ */
1734
+ transition?: InfrastructureUpdateTransition | undefined;
1735
+ }
1736
+ /**
1737
+ * @internal
1738
+ */
1739
+ export declare const InfrastructureUpdateFilterSensitiveLog: (obj: InfrastructureUpdate) => any;
1740
+ /**
1741
+ * @public
1742
+ */
1743
+ export interface StepComponent {
1744
+ /**
1745
+ * Structure representing a simple text component with sensitive content, which can include Markdown formatting.
1746
+ * @public
1747
+ */
1748
+ text?: Text | undefined;
1749
+ }
1750
+ /**
1751
+ * @internal
1752
+ */
1753
+ export declare const StepComponentFilterSensitiveLog: (obj: StepComponent) => any;
1754
+ /**
1755
+ * @public
1756
+ * @enum
1757
+ */
1758
+ export declare const StepState: {
1759
+ /**
1760
+ * Indicates a failure or issue that needs to be addressed.
1761
+ */
1762
+ readonly FAILED: "FAILED";
1763
+ /**
1764
+ * Indicates that the step is currently being processed. This is a non-terminal state, meaning the process is active and ongoing.
1765
+ */
1766
+ readonly IN_PROGRESS: "IN_PROGRESS";
1767
+ /**
1768
+ * Indicates that the step is being loaded or initialized. This is a non-terminal state, meaning the process is in the setup phase.
1769
+ */
1770
+ readonly LOADING: "LOADING";
1771
+ /**
1772
+ * Indicates that the step is temporarily halted but can resume. This is a non-terminal state, representing a temporary pause.
1773
+ */
1774
+ readonly PAUSED: "PAUSED";
1775
+ /**
1776
+ * Indicates that the step is waiting for some condition or input. This is a non-terminal state, meaning the process is paused but not complete.
1777
+ */
1778
+ readonly PENDING: "PENDING";
1779
+ /**
1780
+ * Indicates that the step was stopped, either intentionally or unintentionally.
1781
+ */
1782
+ readonly STOPPED: "STOPPED";
1783
+ /**
1784
+ * Indicates successful completion of the step.
1785
+ */
1786
+ readonly SUCCEEDED: "SUCCEEDED";
1787
+ };
1788
+ /**
1789
+ * @public
1790
+ */
1791
+ export type StepState = typeof StepState[keyof typeof StepState];
1792
+ /**
1793
+ * Structure representing an individual step in a process.
1794
+ * @public
1795
+ */
1796
+ export interface Step {
1797
+ /**
1798
+ * A unique identifier for the step. It must be a non-negative integer to ensure each step is distinct.
1799
+ * @public
1800
+ */
1801
+ id: number | undefined;
1802
+ /**
1803
+ * Enum representing all possible step states, combining terminal and non-terminal states.
1804
+ * @public
1805
+ */
1806
+ state: StepState | undefined;
1807
+ /**
1808
+ * A label for the step, providing a concise description.
1809
+ * @public
1810
+ */
1811
+ label: string | undefined;
1812
+ /**
1813
+ * Optional content providing additional details about the step.
1814
+ * @public
1815
+ */
1816
+ content?: (StepComponent)[] | undefined;
1817
+ }
1818
+ /**
1819
+ * @internal
1820
+ */
1821
+ export declare const StepFilterSensitiveLog: (obj: Step) => any;
1822
+ /**
1823
+ * @public
1824
+ */
1825
+ export interface ProgressComponent {
1826
+ /**
1827
+ * Structure representing an individual step in a process.
1828
+ * @public
1829
+ */
1830
+ step?: Step | undefined;
1831
+ }
1832
+ /**
1833
+ * @internal
1834
+ */
1835
+ export declare const ProgressComponentFilterSensitiveLog: (obj: ProgressComponent) => any;
1836
+ /**
1837
+ * Structure representing a collection of steps in a process.
1838
+ * @public
1839
+ */
1840
+ export interface Progress {
1841
+ /**
1842
+ * A collection of steps that make up a process. Each step is detailed using the Step structure.
1843
+ * @public
1844
+ */
1845
+ content: (ProgressComponent)[] | undefined;
1846
+ }
1847
+ /**
1848
+ * @internal
1849
+ */
1850
+ export declare const ProgressFilterSensitiveLog: (obj: Progress) => any;
1851
+ /**
1852
+ * Structure representing a resource item
1853
+ * @public
1854
+ */
1855
+ export interface Resource {
1856
+ /**
1857
+ * Card title.
1858
+ * @public
1859
+ */
1860
+ title: string | undefined;
1861
+ /**
1862
+ * Link for the resource item
1863
+ * @public
1864
+ */
1865
+ link: string | undefined;
1866
+ /**
1867
+ * Short text about that resource for example Region: us-east-1
1868
+ * @public
1869
+ */
1870
+ description: string | undefined;
1871
+ /**
1872
+ * Resource type e.g AWS EC2
1873
+ * @public
1874
+ */
1875
+ type: string | undefined;
1876
+ /**
1877
+ * Amazon resource number e.g arn:aws:aec:.....
1878
+ * @public
1879
+ */
1880
+ ARN: string | undefined;
1881
+ /**
1882
+ * A stringified object
1883
+ * @public
1884
+ */
1885
+ resourceJsonString: string | undefined;
1886
+ }
1887
+ /**
1888
+ * @internal
1889
+ */
1890
+ export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
1891
+ /**
1892
+ * Structure representing a list of Items
1893
+ * @public
1894
+ */
1895
+ export interface ResourceList {
1896
+ /**
1897
+ * Action associated with the list
1898
+ * @public
1899
+ */
1900
+ action?: Action | undefined;
1901
+ /**
1902
+ * List of resources
1903
+ * @public
1904
+ */
1905
+ items: (Resource)[] | undefined;
1906
+ }
1907
+ /**
1908
+ * @internal
1909
+ */
1910
+ export declare const ResourceListFilterSensitiveLog: (obj: ResourceList) => any;
1911
+ /**
1912
+ * @public
1913
+ */
1914
+ export interface SectionComponent {
1915
+ /**
1916
+ * Structure representing a simple text component with sensitive content, which can include Markdown formatting.
1917
+ * @public
1918
+ */
1919
+ text?: Text | undefined;
1920
+ /**
1921
+ * Structure representing an alert with a type and content.
1922
+ * @public
1923
+ */
1924
+ alert?: Alert | undefined;
1925
+ /**
1926
+ * Structure representing a resource item
1927
+ * @public
1928
+ */
1929
+ resource?: Resource | undefined;
1930
+ /**
1931
+ * Structure representing a list of Items
1932
+ * @public
1933
+ */
1934
+ resourceList?: ResourceList | undefined;
1935
+ }
1936
+ /**
1937
+ * @internal
1938
+ */
1939
+ export declare const SectionComponentFilterSensitiveLog: (obj: SectionComponent) => any;
1940
+ /**
1941
+ * Structure representing a collapsable section
1942
+ * @public
1943
+ */
1944
+ export interface Section {
1945
+ /**
1946
+ * Contains text content that may include sensitive information and can support Markdown formatting.
1947
+ * @public
1948
+ */
1949
+ title: string | undefined;
1950
+ /**
1951
+ * Contains a list of interaction components e.g Text, Alert, List, etc.
1952
+ * @public
1953
+ */
1954
+ content: (SectionComponent)[] | undefined;
1955
+ /**
1956
+ * Action associated with the Section
1957
+ * @public
1958
+ */
1959
+ action?: Action | undefined;
1960
+ }
1961
+ /**
1962
+ * @internal
1963
+ */
1964
+ export declare const SectionFilterSensitiveLog: (obj: Section) => any;
1965
+ /**
1966
+ * Structure representing a suggestion for follow-ups.
1967
+ * @public
1968
+ */
1969
+ export interface Suggestion {
1970
+ value: string | undefined;
1971
+ }
1972
+ /**
1973
+ * @internal
1974
+ */
1975
+ export declare const SuggestionFilterSensitiveLog: (obj: Suggestion) => any;
1976
+ /**
1977
+ * Structure containing a list of suggestions.
1978
+ * @public
1979
+ */
1980
+ export interface Suggestions {
1981
+ items: (Suggestion)[] | undefined;
1982
+ }
1983
+ /**
1984
+ * @internal
1985
+ */
1986
+ export declare const SuggestionsFilterSensitiveLog: (obj: Suggestions) => any;
1987
+ /**
1988
+ * Structure representing a confirmation message related to a task action.
1989
+ * @public
1990
+ */
1991
+ export interface TaskActionConfirmation {
1992
+ /**
1993
+ * Confirmation message related to the action note, which may include sensitive information.
1994
+ * @public
1995
+ */
1996
+ content?: string | undefined;
1997
+ }
1998
+ /**
1999
+ * @internal
2000
+ */
2001
+ export declare const TaskActionConfirmationFilterSensitiveLog: (obj: TaskActionConfirmation) => any;
2002
+ /**
2003
+ * @public
2004
+ * @enum
2005
+ */
2006
+ export declare const TaskActionNoteType: {
2007
+ /**
2008
+ * Information note providing general details.
2009
+ */
2010
+ readonly INFO: "INFO";
2011
+ /**
2012
+ * Warning note indicating a potential issue.
2013
+ */
2014
+ readonly WARNING: "WARNING";
2015
+ };
2016
+ /**
2017
+ * @public
2018
+ */
2019
+ export type TaskActionNoteType = typeof TaskActionNoteType[keyof typeof TaskActionNoteType];
2020
+ /**
2021
+ * Structure representing a note associated with a task action.
2022
+ * @public
2023
+ */
2024
+ export interface TaskActionNote {
2025
+ /**
2026
+ * Content of the note, which may include sensitive information.
2027
+ * @public
2028
+ */
2029
+ content: string | undefined;
2030
+ /**
2031
+ * Enum defining the types of notes that can be associated with a task action.
2032
+ * @public
2033
+ */
2034
+ type?: TaskActionNoteType | undefined;
2035
+ }
2036
+ /**
2037
+ * @internal
2038
+ */
2039
+ export declare const TaskActionNoteFilterSensitiveLog: (obj: TaskActionNote) => any;
2040
+ /**
2041
+ * Structure representing an action associated with a task.
2042
+ * @public
2043
+ */
2044
+ export interface TaskAction {
2045
+ /**
2046
+ * A label for the action.
2047
+ * @public
2048
+ */
2049
+ label: string | undefined;
2050
+ /**
2051
+ * Structure representing a note associated with a task action.
2052
+ * @public
2053
+ */
2054
+ note?: TaskActionNote | undefined;
2055
+ /**
2056
+ * Indicates whether the action is primary or not.
2057
+ * @public
2058
+ */
2059
+ primary?: boolean | undefined;
2060
+ /**
2061
+ * Indicates whether the action is disabled or not.
2062
+ * @public
2063
+ */
2064
+ disabled?: boolean | undefined;
2065
+ /**
2066
+ * Map representing key-value pairs for the payload of a task action.
2067
+ * @public
2068
+ */
2069
+ payload: Record<string, string> | undefined;
2070
+ /**
2071
+ * Structure representing a confirmation message related to a task action.
2072
+ * @public
2073
+ */
2074
+ confirmation?: TaskActionConfirmation | undefined;
2075
+ }
2076
+ /**
2077
+ * @internal
2078
+ */
2079
+ export declare const TaskActionFilterSensitiveLog: (obj: TaskAction) => any;
2080
+ /**
2081
+ * Structure representing different types of components that can be part of a task.
2082
+ * @public
2083
+ */
2084
+ export interface TaskComponent {
2085
+ /**
2086
+ * Structure representing a simple text component with sensitive content, which can include Markdown formatting.
2087
+ * @public
2088
+ */
2089
+ text?: Text | undefined;
2090
+ /**
2091
+ * Structure representing different types of infrastructure updates.
2092
+ * @public
2093
+ */
2094
+ infrastructureUpdate?: InfrastructureUpdate | undefined;
2095
+ /**
2096
+ * Structure representing an alert with a type and content.
2097
+ * @public
2098
+ */
2099
+ alert?: Alert | undefined;
2100
+ /**
2101
+ * Structure representing a collection of steps in a process.
2102
+ * @public
2103
+ */
2104
+ progress?: Progress | undefined;
2105
+ }
2106
+ /**
2107
+ * @internal
2108
+ */
2109
+ export declare const TaskComponentFilterSensitiveLog: (obj: TaskComponent) => any;
2110
+ /**
2111
+ * Structure representing an overview of a task, including a label and description.
2112
+ * @public
2113
+ */
2114
+ export interface TaskOverview {
2115
+ /**
2116
+ * A label for the task overview.
2117
+ * @public
2118
+ */
2119
+ label: string | undefined;
2120
+ /**
2121
+ * Text description providing details about the task. This field may include sensitive information and supports Markdown formatting.
2122
+ * @public
2123
+ */
2124
+ description: string | undefined;
2125
+ }
2126
+ /**
2127
+ * @internal
2128
+ */
2129
+ export declare const TaskOverviewFilterSensitiveLog: (obj: TaskOverview) => any;
2130
+ /**
2131
+ * Structure containing details about a task.
2132
+ * @public
2133
+ */
2134
+ export interface TaskDetails {
2135
+ /**
2136
+ * Structure representing an overview of a task, including a label and description.
2137
+ * @public
2138
+ */
2139
+ overview: TaskOverview | undefined;
2140
+ /**
2141
+ * Lists the components that can be used to form the task's content.
2142
+ * @public
2143
+ */
2144
+ content: (TaskComponent)[] | undefined;
2145
+ /**
2146
+ * Optional list of actions associated with the task.
2147
+ * @public
2148
+ */
2149
+ actions?: (TaskAction)[] | undefined;
2150
+ }
2151
+ /**
2152
+ * @internal
2153
+ */
2154
+ export declare const TaskDetailsFilterSensitiveLog: (obj: TaskDetails) => any;
2155
+ /**
2156
+ * Structure representing a reference to a task.
2157
+ * @public
2158
+ */
2159
+ export interface TaskReference {
2160
+ /**
2161
+ * Unique identifier for the task.
2162
+ * @public
2163
+ */
2164
+ taskId: string | undefined;
2165
+ }
2166
+ /**
2167
+ * Structure representing different types of interaction components.
2168
+ * @public
2169
+ */
2170
+ export interface InteractionComponent {
2171
+ /**
2172
+ * Structure representing a simple text component with sensitive content, which can include Markdown formatting.
2173
+ * @public
2174
+ */
2175
+ text?: Text | undefined;
2176
+ /**
2177
+ * Structure representing an alert with a type and content.
2178
+ * @public
2179
+ */
2180
+ alert?: Alert | undefined;
2181
+ /**
2182
+ * Structure representing different types of infrastructure updates.
2183
+ * @public
2184
+ */
2185
+ infrastructureUpdate?: InfrastructureUpdate | undefined;
2186
+ /**
2187
+ * Structure representing a collection of steps in a process.
2188
+ * @public
2189
+ */
2190
+ progress?: Progress | undefined;
2191
+ /**
2192
+ * Structure representing an individual step in a process.
2193
+ * @public
2194
+ */
2195
+ step?: Step | undefined;
2196
+ /**
2197
+ * Structure containing details about a task.
2198
+ * @public
2199
+ */
2200
+ taskDetails?: TaskDetails | undefined;
2201
+ /**
2202
+ * Structure representing a reference to a task.
2203
+ * @public
2204
+ */
2205
+ taskReference?: TaskReference | undefined;
2206
+ /**
2207
+ * Structure containing a list of suggestions.
2208
+ * @public
2209
+ */
2210
+ suggestions?: Suggestions | undefined;
2211
+ /**
2212
+ * Structure representing a collapsable section
2213
+ * @public
2214
+ */
2215
+ section?: Section | undefined;
2216
+ /**
2217
+ * Structure representing a resource item
2218
+ * @public
2219
+ */
2220
+ resource?: Resource | undefined;
2221
+ /**
2222
+ * Structure representing a list of Items
2223
+ * @public
2224
+ */
2225
+ resourceList?: ResourceList | undefined;
2226
+ action?: Action | undefined;
2227
+ }
2228
+ /**
2229
+ * @internal
2230
+ */
2231
+ export declare const InteractionComponentFilterSensitiveLog: (obj: InteractionComponent) => any;
2232
+ /**
2233
+ * Interaction component with an identifier
2234
+ * @public
2235
+ */
2236
+ export interface InteractionComponentEntry {
2237
+ /**
2238
+ * Identifier that can uniquely identify the interaction component within
2239
+ * stream response. This field is optional.
2240
+ * @public
2241
+ */
2242
+ interactionComponentId?: string | undefined;
2243
+ /**
2244
+ * Interaction component
2245
+ * @public
2246
+ */
2247
+ interactionComponent: InteractionComponent | undefined;
2248
+ }
2249
+ /**
2250
+ * @internal
2251
+ */
2252
+ export declare const InteractionComponentEntryFilterSensitiveLog: (obj: InteractionComponentEntry) => any;
2253
+ /**
2254
+ * Streaming Event for interaction components list
2255
+ * @public
2256
+ */
2257
+ export interface InteractionComponentsEvent {
2258
+ /**
2259
+ * List of identifiable interaction components
2260
+ * @public
2261
+ */
2262
+ interactionComponentEntries: (InteractionComponentEntry)[] | undefined;
2263
+ }
2264
+ /**
2265
+ * @internal
2266
+ */
2267
+ export declare const InteractionComponentsEventFilterSensitiveLog: (obj: InteractionComponentsEvent) => any;
2268
+ /**
2269
+ * @public
2270
+ * @enum
2271
+ */
2272
+ export declare const InvalidStateReason: {
2273
+ readonly INVALID_TASK_ASSIST_PLAN: "INVALID_TASK_ASSIST_PLAN";
2274
+ };
2275
+ /**
2276
+ * @public
2277
+ */
2278
+ export type InvalidStateReason = typeof InvalidStateReason[keyof typeof InvalidStateReason];
2279
+ /**
2280
+ * Streaming Response Event when an Invalid State is reached
2281
+ * @public
2282
+ */
2283
+ export interface InvalidStateEvent {
2284
+ /**
2285
+ * Reasons for Invalid State Event
2286
+ * @public
2287
+ */
2288
+ reason: InvalidStateReason | undefined;
2289
+ message: string | undefined;
2290
+ }
2291
+ /**
2292
+ * Streaming Response Event for AssistantResponse Metadata
2293
+ * @public
2294
+ */
2295
+ export interface MessageMetadataEvent {
2296
+ /**
2297
+ * Unique identifier for the conversation
2298
+ * @public
2299
+ */
2300
+ conversationId?: string | undefined;
2301
+ /**
2302
+ * Unique identifier for the utterance
2303
+ * @public
2304
+ */
2305
+ utteranceId?: string | undefined;
2306
+ }
2307
+ /**
2308
+ * Streaming Response Event for SupplementaryWebLinks
2309
+ * @public
2310
+ */
2311
+ export interface SupplementaryWebLinksEvent {
2312
+ /**
2313
+ * Web References for Assistant Response Message
2314
+ * @public
2315
+ */
2316
+ supplementaryWebLinks?: (SupplementaryWebLink)[] | undefined;
2317
+ }
2318
+ /**
2319
+ * @internal
2320
+ */
2321
+ export declare const SupplementaryWebLinksEventFilterSensitiveLog: (obj: SupplementaryWebLinksEvent) => any;
2322
+ /**
2323
+ * @public
2324
+ */
2325
+ export interface ToolResultEvent {
2326
+ /**
2327
+ * A tool result that contains the results for a tool request that was previously made.
2328
+ * @public
2329
+ */
2330
+ toolResult?: ToolResult | undefined;
2331
+ }
2332
+ /**
2333
+ * @internal
2334
+ */
2335
+ export declare const ToolResultEventFilterSensitiveLog: (obj: ToolResultEvent) => any;
2336
+ /**
2337
+ * Event for a ToolUse request. Multiple ToolUse requests can be returned from a single request, so each ToolUse has a unique 'toolUseId'.
2338
+ * @public
2339
+ */
2340
+ export interface ToolUseEvent {
2341
+ /**
2342
+ * The ID for the tool request.
2343
+ * @public
2344
+ */
2345
+ toolUseId: string | undefined;
2346
+ /**
2347
+ * The name for the tool.
2348
+ * @public
2349
+ */
2350
+ name: string | undefined;
2351
+ /**
2352
+ * Represents the serialized json input for the ToolUse request. This field should be concatenated until 'stop' is true.
2353
+ * @public
2354
+ */
2355
+ input?: string | undefined;
2356
+ /**
2357
+ * This field is true when all of the serialized input for this ToolUse request has been sent.
2358
+ * @public
2359
+ */
2360
+ stop?: boolean | undefined;
2361
+ }
2362
+ /**
2363
+ * @internal
2364
+ */
2365
+ export declare const ToolUseEventFilterSensitiveLog: (obj: ToolUseEvent) => any;
2366
+ /**
2367
+ * Streaming events from UniDirectional Streaming Conversational APIs.
2368
+ * @public
2369
+ */
2370
+ export type ChatResponseStream = ChatResponseStream.AssistantResponseEventMember | ChatResponseStream.CitationEventMember | ChatResponseStream.CodeEventMember | ChatResponseStream.CodeReferenceEventMember | ChatResponseStream.DryRunSucceedEventMember | ChatResponseStream.ErrorMember | ChatResponseStream.FollowupPromptEventMember | ChatResponseStream.IntentsEventMember | ChatResponseStream.InteractionComponentsEventMember | ChatResponseStream.InvalidStateEventMember | ChatResponseStream.MessageMetadataEventMember | ChatResponseStream.SupplementaryWebLinksEventMember | ChatResponseStream.ToolResultEventMember | ChatResponseStream.ToolUseEventMember | ChatResponseStream.$UnknownMember;
2371
+ /**
2372
+ * @public
2373
+ */
2374
+ export declare namespace ChatResponseStream {
2375
+ /**
2376
+ * Message Metadata event
2377
+ * @public
2378
+ */
2379
+ interface MessageMetadataEventMember {
2380
+ messageMetadataEvent: MessageMetadataEvent;
2381
+ assistantResponseEvent?: never;
2382
+ dryRunSucceedEvent?: never;
2383
+ codeReferenceEvent?: never;
2384
+ supplementaryWebLinksEvent?: never;
2385
+ followupPromptEvent?: never;
2386
+ codeEvent?: never;
2387
+ intentsEvent?: never;
2388
+ interactionComponentsEvent?: never;
2389
+ toolUseEvent?: never;
2390
+ toolResultEvent?: never;
2391
+ citationEvent?: never;
2392
+ invalidStateEvent?: never;
2393
+ error?: never;
2394
+ $unknown?: never;
2395
+ }
2396
+ /**
2397
+ * Assistant response event - Text / Code snippet
2398
+ * @public
2399
+ */
2400
+ interface AssistantResponseEventMember {
2401
+ messageMetadataEvent?: never;
2402
+ assistantResponseEvent: AssistantResponseEvent;
2403
+ dryRunSucceedEvent?: never;
2404
+ codeReferenceEvent?: never;
2405
+ supplementaryWebLinksEvent?: never;
2406
+ followupPromptEvent?: never;
2407
+ codeEvent?: never;
2408
+ intentsEvent?: never;
2409
+ interactionComponentsEvent?: never;
2410
+ toolUseEvent?: never;
2411
+ toolResultEvent?: never;
2412
+ citationEvent?: never;
2413
+ invalidStateEvent?: never;
2414
+ error?: never;
2415
+ $unknown?: never;
2416
+ }
2417
+ /**
2418
+ * DryRun Succeed Event
2419
+ * @public
2420
+ */
2421
+ interface DryRunSucceedEventMember {
2422
+ messageMetadataEvent?: never;
2423
+ assistantResponseEvent?: never;
2424
+ dryRunSucceedEvent: DryRunSucceedEvent;
2425
+ codeReferenceEvent?: never;
2426
+ supplementaryWebLinksEvent?: never;
2427
+ followupPromptEvent?: never;
2428
+ codeEvent?: never;
2429
+ intentsEvent?: never;
2430
+ interactionComponentsEvent?: never;
2431
+ toolUseEvent?: never;
2432
+ toolResultEvent?: never;
2433
+ citationEvent?: never;
2434
+ invalidStateEvent?: never;
2435
+ error?: never;
2436
+ $unknown?: never;
2437
+ }
2438
+ /**
2439
+ * Code References event
2440
+ * @public
2441
+ */
2442
+ interface CodeReferenceEventMember {
2443
+ messageMetadataEvent?: never;
2444
+ assistantResponseEvent?: never;
2445
+ dryRunSucceedEvent?: never;
2446
+ codeReferenceEvent: CodeReferenceEvent;
2447
+ supplementaryWebLinksEvent?: never;
2448
+ followupPromptEvent?: never;
2449
+ codeEvent?: never;
2450
+ intentsEvent?: never;
2451
+ interactionComponentsEvent?: never;
2452
+ toolUseEvent?: never;
2453
+ toolResultEvent?: never;
2454
+ citationEvent?: never;
2455
+ invalidStateEvent?: never;
2456
+ error?: never;
2457
+ $unknown?: never;
2458
+ }
2459
+ /**
2460
+ * Web Reference links event
2461
+ * @public
2462
+ */
2463
+ interface SupplementaryWebLinksEventMember {
2464
+ messageMetadataEvent?: never;
2465
+ assistantResponseEvent?: never;
2466
+ dryRunSucceedEvent?: never;
2467
+ codeReferenceEvent?: never;
2468
+ supplementaryWebLinksEvent: SupplementaryWebLinksEvent;
2469
+ followupPromptEvent?: never;
2470
+ codeEvent?: never;
2471
+ intentsEvent?: never;
2472
+ interactionComponentsEvent?: never;
2473
+ toolUseEvent?: never;
2474
+ toolResultEvent?: never;
2475
+ citationEvent?: never;
2476
+ invalidStateEvent?: never;
2477
+ error?: never;
2478
+ $unknown?: never;
2479
+ }
2480
+ /**
2481
+ * Followup prompt event
2482
+ * @public
2483
+ */
2484
+ interface FollowupPromptEventMember {
2485
+ messageMetadataEvent?: never;
2486
+ assistantResponseEvent?: never;
2487
+ dryRunSucceedEvent?: never;
2488
+ codeReferenceEvent?: never;
2489
+ supplementaryWebLinksEvent?: never;
2490
+ followupPromptEvent: FollowupPromptEvent;
2491
+ codeEvent?: never;
2492
+ intentsEvent?: never;
2493
+ interactionComponentsEvent?: never;
2494
+ toolUseEvent?: never;
2495
+ toolResultEvent?: never;
2496
+ citationEvent?: never;
2497
+ invalidStateEvent?: never;
2498
+ error?: never;
2499
+ $unknown?: never;
2500
+ }
2501
+ /**
2502
+ * Code Generated event
2503
+ * @public
2504
+ */
2505
+ interface CodeEventMember {
2506
+ messageMetadataEvent?: never;
2507
+ assistantResponseEvent?: never;
2508
+ dryRunSucceedEvent?: never;
2509
+ codeReferenceEvent?: never;
2510
+ supplementaryWebLinksEvent?: never;
2511
+ followupPromptEvent?: never;
2512
+ codeEvent: CodeEvent;
2513
+ intentsEvent?: never;
2514
+ interactionComponentsEvent?: never;
2515
+ toolUseEvent?: never;
2516
+ toolResultEvent?: never;
2517
+ citationEvent?: never;
2518
+ invalidStateEvent?: never;
2519
+ error?: never;
2520
+ $unknown?: never;
2521
+ }
2522
+ /**
2523
+ * Intents event
2524
+ * @public
2525
+ */
2526
+ interface IntentsEventMember {
2527
+ messageMetadataEvent?: never;
2528
+ assistantResponseEvent?: never;
2529
+ dryRunSucceedEvent?: never;
2530
+ codeReferenceEvent?: never;
2531
+ supplementaryWebLinksEvent?: never;
2532
+ followupPromptEvent?: never;
2533
+ codeEvent?: never;
2534
+ intentsEvent: IntentsEvent;
2535
+ interactionComponentsEvent?: never;
2536
+ toolUseEvent?: never;
2537
+ toolResultEvent?: never;
2538
+ citationEvent?: never;
2539
+ invalidStateEvent?: never;
2540
+ error?: never;
2541
+ $unknown?: never;
2542
+ }
2543
+ /**
2544
+ * Interactions components event
2545
+ * @public
2546
+ */
2547
+ interface InteractionComponentsEventMember {
2548
+ messageMetadataEvent?: never;
2549
+ assistantResponseEvent?: never;
2550
+ dryRunSucceedEvent?: never;
2551
+ codeReferenceEvent?: never;
2552
+ supplementaryWebLinksEvent?: never;
2553
+ followupPromptEvent?: never;
2554
+ codeEvent?: never;
2555
+ intentsEvent?: never;
2556
+ interactionComponentsEvent: InteractionComponentsEvent;
2557
+ toolUseEvent?: never;
2558
+ toolResultEvent?: never;
2559
+ citationEvent?: never;
2560
+ invalidStateEvent?: never;
2561
+ error?: never;
2562
+ $unknown?: never;
2563
+ }
2564
+ /**
2565
+ * ToolUse event
2566
+ * @public
2567
+ */
2568
+ interface ToolUseEventMember {
2569
+ messageMetadataEvent?: never;
2570
+ assistantResponseEvent?: never;
2571
+ dryRunSucceedEvent?: never;
2572
+ codeReferenceEvent?: never;
2573
+ supplementaryWebLinksEvent?: never;
2574
+ followupPromptEvent?: never;
2575
+ codeEvent?: never;
2576
+ intentsEvent?: never;
2577
+ interactionComponentsEvent?: never;
2578
+ toolUseEvent: ToolUseEvent;
2579
+ toolResultEvent?: never;
2580
+ citationEvent?: never;
2581
+ invalidStateEvent?: never;
2582
+ error?: never;
2583
+ $unknown?: never;
2584
+ }
2585
+ /**
2586
+ * Tool use result
2587
+ * @public
2588
+ */
2589
+ interface ToolResultEventMember {
2590
+ messageMetadataEvent?: never;
2591
+ assistantResponseEvent?: never;
2592
+ dryRunSucceedEvent?: never;
2593
+ codeReferenceEvent?: never;
2594
+ supplementaryWebLinksEvent?: never;
2595
+ followupPromptEvent?: never;
2596
+ codeEvent?: never;
2597
+ intentsEvent?: never;
2598
+ interactionComponentsEvent?: never;
2599
+ toolUseEvent?: never;
2600
+ toolResultEvent: ToolResultEvent;
2601
+ citationEvent?: never;
2602
+ invalidStateEvent?: never;
2603
+ error?: never;
2604
+ $unknown?: never;
2605
+ }
2606
+ /**
2607
+ * Citation event
2608
+ * @public
2609
+ */
2610
+ interface CitationEventMember {
2611
+ messageMetadataEvent?: never;
2612
+ assistantResponseEvent?: never;
2613
+ dryRunSucceedEvent?: never;
2614
+ codeReferenceEvent?: never;
2615
+ supplementaryWebLinksEvent?: never;
2616
+ followupPromptEvent?: never;
2617
+ codeEvent?: never;
2618
+ intentsEvent?: never;
2619
+ interactionComponentsEvent?: never;
2620
+ toolUseEvent?: never;
2621
+ toolResultEvent?: never;
2622
+ citationEvent: CitationEvent;
2623
+ invalidStateEvent?: never;
2624
+ error?: never;
2625
+ $unknown?: never;
2626
+ }
2627
+ /**
2628
+ * Invalid State event
2629
+ * @public
2630
+ */
2631
+ interface InvalidStateEventMember {
2632
+ messageMetadataEvent?: never;
2633
+ assistantResponseEvent?: never;
2634
+ dryRunSucceedEvent?: never;
2635
+ codeReferenceEvent?: never;
2636
+ supplementaryWebLinksEvent?: never;
2637
+ followupPromptEvent?: never;
2638
+ codeEvent?: never;
2639
+ intentsEvent?: never;
2640
+ interactionComponentsEvent?: never;
2641
+ toolUseEvent?: never;
2642
+ toolResultEvent?: never;
2643
+ citationEvent?: never;
2644
+ invalidStateEvent: InvalidStateEvent;
2645
+ error?: never;
2646
+ $unknown?: never;
2647
+ }
2648
+ /**
2649
+ * Internal Server Exception
2650
+ * @public
2651
+ */
2652
+ interface ErrorMember {
2653
+ messageMetadataEvent?: never;
2654
+ assistantResponseEvent?: never;
2655
+ dryRunSucceedEvent?: never;
2656
+ codeReferenceEvent?: never;
2657
+ supplementaryWebLinksEvent?: never;
2658
+ followupPromptEvent?: never;
2659
+ codeEvent?: never;
2660
+ intentsEvent?: never;
2661
+ interactionComponentsEvent?: never;
2662
+ toolUseEvent?: never;
2663
+ toolResultEvent?: never;
2664
+ citationEvent?: never;
2665
+ invalidStateEvent?: never;
2666
+ error: InternalServerException;
2667
+ $unknown?: never;
2668
+ }
2669
+ /**
2670
+ * @public
2671
+ */
2672
+ interface $UnknownMember {
2673
+ messageMetadataEvent?: never;
2674
+ assistantResponseEvent?: never;
2675
+ dryRunSucceedEvent?: never;
2676
+ codeReferenceEvent?: never;
2677
+ supplementaryWebLinksEvent?: never;
2678
+ followupPromptEvent?: never;
2679
+ codeEvent?: never;
2680
+ intentsEvent?: never;
2681
+ interactionComponentsEvent?: never;
2682
+ toolUseEvent?: never;
2683
+ toolResultEvent?: never;
2684
+ citationEvent?: never;
2685
+ invalidStateEvent?: never;
2686
+ error?: never;
2687
+ $unknown: [string, any];
2688
+ }
2689
+ interface Visitor<T> {
2690
+ messageMetadataEvent: (value: MessageMetadataEvent) => T;
2691
+ assistantResponseEvent: (value: AssistantResponseEvent) => T;
2692
+ dryRunSucceedEvent: (value: DryRunSucceedEvent) => T;
2693
+ codeReferenceEvent: (value: CodeReferenceEvent) => T;
2694
+ supplementaryWebLinksEvent: (value: SupplementaryWebLinksEvent) => T;
2695
+ followupPromptEvent: (value: FollowupPromptEvent) => T;
2696
+ codeEvent: (value: CodeEvent) => T;
2697
+ intentsEvent: (value: IntentsEvent) => T;
2698
+ interactionComponentsEvent: (value: InteractionComponentsEvent) => T;
2699
+ toolUseEvent: (value: ToolUseEvent) => T;
2700
+ toolResultEvent: (value: ToolResultEvent) => T;
2701
+ citationEvent: (value: CitationEvent) => T;
2702
+ invalidStateEvent: (value: InvalidStateEvent) => T;
2703
+ error: (value: InternalServerException) => T;
2704
+ _: (name: string, value: any) => T;
2705
+ }
2706
+ const visit: <T>(value: ChatResponseStream, visitor: Visitor<T>) => T;
2707
+ }
2708
+ /**
2709
+ * @internal
2710
+ */
2711
+ export declare const ChatResponseStreamFilterSensitiveLog: (obj: ChatResponseStream) => any;
2712
+ /**
2713
+ * @public
2714
+ * @enum
2715
+ */
2716
+ export declare const ChatTriggerType: {
2717
+ /**
2718
+ * Indicates the Chat was triggered in response to a IDE diagnostic
2719
+ */
2720
+ readonly DIAGNOSTIC: "DIAGNOSTIC";
2721
+ /**
2722
+ * Indicates the Chat was triggered in response to an inline chat event
2723
+ */
2724
+ readonly INLINE_CHAT: "INLINE_CHAT";
2725
+ /**
2726
+ * Indicates the Chat was triggered due to an explicit chat request by an end-user
2727
+ */
2728
+ readonly MANUAL: "MANUAL";
2729
+ };
2730
+ /**
2731
+ * @public
2732
+ */
2733
+ export type ChatTriggerType = typeof ChatTriggerType[keyof typeof ChatTriggerType];
2734
+ /**
2735
+ * CommandInput can be extended to either a list of strings or a single string.
2736
+ * @public
2737
+ */
2738
+ export type CommandInput = CommandInput.CommandsListMember | CommandInput.$UnknownMember;
2739
+ /**
2740
+ * @public
2741
+ */
2742
+ export declare namespace CommandInput {
2743
+ /**
2744
+ * The list of context items used to generate output.
2745
+ * @public
2746
+ */
2747
+ interface CommandsListMember {
2748
+ commandsList: (string)[];
2749
+ $unknown?: never;
2750
+ }
2751
+ /**
2752
+ * @public
2753
+ */
2754
+ interface $UnknownMember {
2755
+ commandsList?: never;
2756
+ $unknown: [string, any];
2757
+ }
2758
+ interface Visitor<T> {
2759
+ commandsList: (value: (string)[]) => T;
2760
+ _: (name: string, value: any) => T;
2761
+ }
2762
+ const visit: <T>(value: CommandInput, visitor: Visitor<T>) => T;
2763
+ }
2764
+ /**
2765
+ * @internal
2766
+ */
2767
+ export declare const CommandInputFilterSensitiveLog: (obj: CommandInput) => any;
2768
+ /**
2769
+ * Structure to represent the current state of a chat conversation.
2770
+ * @public
2771
+ */
2772
+ export interface ConversationState {
2773
+ /**
2774
+ * Unique identifier for the chat conversation stream
2775
+ * @public
2776
+ */
2777
+ conversationId?: string | undefined;
2778
+ /**
2779
+ * Holds the history of chat messages.
2780
+ * @public
2781
+ */
2782
+ history?: (ChatMessage)[] | undefined;
2783
+ /**
2784
+ * Holds the current message being processed or displayed.
2785
+ * @public
2786
+ */
2787
+ currentMessage: ChatMessage | undefined;
2788
+ /**
2789
+ * Trigger Reason for Chat
2790
+ * @public
2791
+ */
2792
+ chatTriggerType: ChatTriggerType | undefined;
2793
+ customizationArn?: string | undefined;
2794
+ }
2795
+ /**
2796
+ * @internal
2797
+ */
2798
+ export declare const ConversationStateFilterSensitiveLog: (obj: ConversationState) => any;
2799
+ /**
2800
+ * This exception is translated to a 204 as it succeeded the IAM Auth.
2801
+ * @public
2802
+ */
2803
+ export declare class DryRunOperationException extends __BaseException {
2804
+ readonly name: "DryRunOperationException";
2805
+ readonly $fault: "client";
2806
+ responseCode?: number | undefined;
2807
+ /**
2808
+ * @internal
2809
+ */
2810
+ constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
2811
+ }
2812
+ /**
2813
+ * @public
2814
+ * @enum
2815
+ */
2816
+ export declare const OutputFormat: {
2817
+ readonly JAVA_CDK: "java/cdk";
2818
+ readonly JSON_CFN: "json/cfn";
2819
+ readonly PYTHON_CDK: "python/cdk";
2820
+ readonly TYPESCRIPT_CDK: "typescript/cdk";
2821
+ readonly YAML_CFN: "yaml/cfn";
2822
+ };
2823
+ /**
2824
+ * @public
2825
+ */
2826
+ export type OutputFormat = typeof OutputFormat[keyof typeof OutputFormat];
2827
+ /**
2828
+ * This exception is thrown when request was denied due to caller exceeding their usage limits
2829
+ * @public
2830
+ */
2831
+ export declare class ServiceQuotaExceededException extends __BaseException {
2832
+ readonly name: "ServiceQuotaExceededException";
2833
+ readonly $fault: "client";
2834
+ /**
2835
+ * @internal
2836
+ */
2837
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
2838
+ }
2839
+ /**
2840
+ * Structure to represent a SendMessage request.
2841
+ * @public
2842
+ */
2843
+ export interface SendMessageRequest {
2844
+ /**
2845
+ * Structure to represent the current state of a chat conversation.
2846
+ * @public
2847
+ */
2848
+ conversationState: ConversationState | undefined;
2849
+ profileArn?: string | undefined;
2850
+ /**
2851
+ * The origin of the caller
2852
+ * @public
2853
+ */
2854
+ source?: Origin | undefined;
2855
+ dryRun?: boolean | undefined;
2856
+ }
2857
+ /**
2858
+ * @internal
2859
+ */
2860
+ export declare const SendMessageRequestFilterSensitiveLog: (obj: SendMessageRequest) => any;
2861
+ /**
2862
+ * Structure to represent a SendMessage response.
2863
+ * @public
2864
+ */
2865
+ export interface SendMessageResponse {
2866
+ /**
2867
+ * Streaming events from UniDirectional Streaming Conversational APIs.
2868
+ * @public
2869
+ */
2870
+ sendMessageResponse: AsyncIterable<ChatResponseStream> | undefined;
2871
+ }
2872
+ /**
2873
+ * @internal
2874
+ */
2875
+ export declare const SendMessageResponseFilterSensitiveLog: (obj: SendMessageResponse) => any;
2876
+ /**
2877
+ * @public
2878
+ */
2879
+ export interface GenerateCodeFromCommandsRequest {
2880
+ /**
2881
+ * Format of the output - language/format eg. typescript/cdk
2882
+ * @public
2883
+ */
2884
+ outputFormat: OutputFormat | undefined;
2885
+ /**
2886
+ * CommandInput can be extended to either a list of strings or a single string.
2887
+ * @public
2888
+ */
2889
+ commands: CommandInput | undefined;
2890
+ }
2891
+ /**
2892
+ * @internal
2893
+ */
2894
+ export declare const GenerateCodeFromCommandsRequestFilterSensitiveLog: (obj: GenerateCodeFromCommandsRequest) => any;
2895
+ /**
2896
+ * Streaming events from UniDirectional streaming infrastructure code generation APIs.
2897
+ * @public
2898
+ */
2899
+ export type GenerateCodeFromCommandsResponseStream = GenerateCodeFromCommandsResponseStream.ErrorMember | GenerateCodeFromCommandsResponseStream.QuotaLevelExceededErrorMember | GenerateCodeFromCommandsResponseStream.ValidationErrorMember | GenerateCodeFromCommandsResponseStream.CodeEventMember | GenerateCodeFromCommandsResponseStream.$UnknownMember;
2900
+ /**
2901
+ * @public
2902
+ */
2903
+ export declare namespace GenerateCodeFromCommandsResponseStream {
2904
+ /**
2905
+ * Generated code snippet
2906
+ * @public
2907
+ */
2908
+ interface CodeEventMember {
2909
+ codeEvent: CodeEvent;
2910
+ Error?: never;
2911
+ QuotaLevelExceededError?: never;
2912
+ ValidationError?: never;
2913
+ $unknown?: never;
2914
+ }
2915
+ /**
2916
+ * Internal Server Exception
2917
+ * @public
2918
+ */
2919
+ interface ErrorMember {
2920
+ codeEvent?: never;
2921
+ Error: InternalServerException;
2922
+ QuotaLevelExceededError?: never;
2923
+ ValidationError?: never;
2924
+ $unknown?: never;
2925
+ }
2926
+ /**
2927
+ * Exceptions for quota level exceeded errors
2928
+ * @public
2929
+ */
2930
+ interface QuotaLevelExceededErrorMember {
2931
+ codeEvent?: never;
2932
+ Error?: never;
2933
+ QuotaLevelExceededError: ServiceQuotaExceededException;
2934
+ ValidationError?: never;
2935
+ $unknown?: never;
2936
+ }
2937
+ /**
2938
+ * Validation errors in the ConsoleToCodeService
2939
+ * @public
2940
+ */
2941
+ interface ValidationErrorMember {
2942
+ codeEvent?: never;
2943
+ Error?: never;
2944
+ QuotaLevelExceededError?: never;
2945
+ ValidationError: ValidationException;
2946
+ $unknown?: never;
2947
+ }
2948
+ /**
2949
+ * @public
2950
+ */
2951
+ interface $UnknownMember {
2952
+ codeEvent?: never;
2953
+ Error?: never;
2954
+ QuotaLevelExceededError?: never;
2955
+ ValidationError?: never;
2956
+ $unknown: [string, any];
2957
+ }
2958
+ interface Visitor<T> {
2959
+ codeEvent: (value: CodeEvent) => T;
2960
+ Error: (value: InternalServerException) => T;
2961
+ QuotaLevelExceededError: (value: ServiceQuotaExceededException) => T;
2962
+ ValidationError: (value: ValidationException) => T;
2963
+ _: (name: string, value: any) => T;
2964
+ }
2965
+ const visit: <T>(value: GenerateCodeFromCommandsResponseStream, visitor: Visitor<T>) => T;
2966
+ }
2967
+ /**
2968
+ * @internal
2969
+ */
2970
+ export declare const GenerateCodeFromCommandsResponseStreamFilterSensitiveLog: (obj: GenerateCodeFromCommandsResponseStream) => any;
2971
+ /**
2972
+ * Structure to represent generated code response.
2973
+ * @public
2974
+ */
2975
+ export interface GenerateCodeFromCommandsResponse {
2976
+ /**
2977
+ * Streaming events from UniDirectional streaming infrastructure code generation APIs.
2978
+ * @public
2979
+ */
2980
+ generatedCodeFromCommandsResponse: AsyncIterable<GenerateCodeFromCommandsResponseStream> | undefined;
2981
+ }
2982
+ /**
2983
+ * @internal
2984
+ */
2985
+ export declare const GenerateCodeFromCommandsResponseFilterSensitiveLog: (obj: GenerateCodeFromCommandsResponse) => any;