@aws/lsp-codewhisperer 0.0.96 → 0.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/README.md +259 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreamingClient.js +14 -11
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/GenerateCodeFromCommandsCommand.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/commands/SendMessageCommand.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoint/endpointResolver.js +19 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoint/ruleset.js +61 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/models/models_0.js +148 -64
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/protocols/Aws_json1_0.js +92 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/QDeveloperStreamingClient.js +16 -13
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/GenerateCodeFromCommandsCommand.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/commands/SendMessageCommand.js +4 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoint/EndpointParameters.js +11 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoint/endpointResolver.js +15 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoint/ruleset.js +58 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/models/models_0.js +138 -57
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/protocols/Aws_json1_0.js +94 -2
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/runtimeConfig.shared.js +2 -2
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/QDeveloperStreamingClient.d.ts +6 -9
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/GenerateCodeFromCommandsCommand.d.ts +6 -6
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/commands/SendMessageCommand.d.ts +68 -11
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoint/EndpointParameters.d.ts +28 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/index.d.ts +1 -0
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/models/models_0.d.ts +472 -87
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.browser.d.ts +5 -2
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.d.ts +5 -2
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.native.d.ts +5 -2
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@amzn/amazon-q-developer-streaming-client/package.json +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/README.md +266 -7
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/CodeWhispererStreaming.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/InvokeMCPCommand.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/commands/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/models/models_0.js +172 -58
- package/node_modules/@amzn/codewhisperer-streaming/dist-cjs/protocols/Aws_restJson1.js +164 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/CodeWhispererStreaming.js +2 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/InvokeMCPCommand.js +18 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/commands/index.js +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/models/models_0.js +159 -51
- package/node_modules/@amzn/codewhisperer-streaming/dist-es/protocols/Aws_restJson1.js +163 -4
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreaming.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/CodeWhispererStreamingClient.d.ts +3 -2
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/ExportResultArchiveCommand.d.ts +5 -5
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateAssistantResponseCommand.d.ts +68 -3
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/GenerateTaskAssistPlanCommand.d.ts +63 -6
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/InvokeMCPCommand.d.ts +93 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/SendMessageCommand.d.ts +68 -11
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/models/models_0.d.ts +585 -80
- package/node_modules/@amzn/codewhisperer-streaming/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/out/language-server/agenticChat/agenticChatController.d.ts +3 -1
- package/out/language-server/agenticChat/agenticChatController.js +55 -22
- package/out/language-server/agenticChat/agenticChatController.js.map +1 -1
- package/out/language-server/agenticChat/constants/constants.d.ts +0 -3
- package/out/language-server/agenticChat/constants/constants.js +1 -7
- package/out/language-server/agenticChat/constants/constants.js.map +1 -1
- package/out/language-server/agenticChat/constants/modelSelection.d.ts +1 -0
- package/out/language-server/agenticChat/constants/modelSelection.js +5 -1
- package/out/language-server/agenticChat/constants/modelSelection.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js +21 -13
- package/out/language-server/agenticChat/tools/mcp/mcpEventHandler.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpManager.d.ts +12 -4
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js +192 -37
- package/out/language-server/agenticChat/tools/mcp/mcpManager.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpOauthClient.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/mcpRegistryService.js +42 -20
- package/out/language-server/agenticChat/tools/mcp/mcpRegistryService.js.map +1 -1
- package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js +4 -0
- package/out/language-server/agenticChat/tools/mcp/profileStatusMonitor.js.map +1 -1
- package/out/language-server/agenticChat/tools/toolServer.js +57 -12
- package/out/language-server/agenticChat/tools/toolServer.js.map +1 -1
- package/out/language-server/agenticChat/utils/tokenLimitsCalculator.d.ts +48 -0
- package/out/language-server/agenticChat/utils/tokenLimitsCalculator.js +48 -0
- package/out/language-server/agenticChat/utils/tokenLimitsCalculator.js.map +1 -0
- package/out/language-server/chat/chatSessionService.d.ts +17 -1
- package/out/language-server/chat/chatSessionService.js +28 -1
- package/out/language-server/chat/chatSessionService.js.map +1 -1
- package/out/language-server/configuration/transformConfigurationServer.d.ts +0 -13
- package/out/language-server/configuration/transformConfigurationServer.js +4 -112
- package/out/language-server/configuration/transformConfigurationServer.js.map +1 -1
- package/out/language-server/netTransform/atxTransformHandler.d.ts +2 -33
- package/out/language-server/netTransform/atxTransformHandler.js +130 -428
- package/out/language-server/netTransform/atxTransformHandler.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.d.ts +0 -4
- package/out/language-server/netTransform/transformHandler.js +11 -39
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransform/utils.d.ts +49 -0
- package/out/language-server/netTransform/utils.js +185 -0
- package/out/language-server/netTransform/utils.js.map +1 -0
- package/out/shared/amazonQServiceManager/AtxTokenServiceManager.d.ts +0 -1
- package/out/shared/amazonQServiceManager/AtxTokenServiceManager.js +14 -38
- package/out/shared/amazonQServiceManager/AtxTokenServiceManager.js.map +1 -1
- package/out/shared/codeWhispererService.js +2 -1
- package/out/shared/codeWhispererService.js.map +1 -1
- package/out/shared/telemetry/telemetryService.js +2 -1
- package/out/shared/telemetry/telemetryService.js.map +1 -1
- package/out/shared/utils.js +6 -4
- package/out/shared/utils.js.map +1 -1
- package/package.json +5 -4
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoints.js +0 -211
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-es/endpoints.js +0 -207
- package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/endpoints.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.98](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.97...lsp-codewhisperer/v0.0.98) (2025-12-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add alphabetical sorting for MCP registry servers and URL validation ([#2555](https://github.com/aws/language-servers/issues/2555)) ([d936673](https://github.com/aws/language-servers/commit/d936673e570301b9abc4e587ef0d7cc92e1d470b))
|
|
9
|
+
* **amazonq:** show kiro pricing information for Amazon Q builderId paid tier users ([#2556](https://github.com/aws/language-servers/issues/2556)) ([5896298](https://github.com/aws/language-servers/commit/58962981604d1d0d5363b23c0e52df119bcc824e))
|
|
10
|
+
* Update SMAI clients to return SM_AI_STUDIO_IDE origin ([#2558](https://github.com/aws/language-servers/issues/2558)) ([dc1d216](https://github.com/aws/language-servers/commit/dc1d21652d48c2ebeb6ddebc6b6ab351d688017c))
|
|
11
|
+
* web search ([09c4769](https://github.com/aws/language-servers/commit/09c47695c48df967e0a22e93290cc69f95b32ac3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* cve and bump language server runtime version to 0.3.10 ([#2544](https://github.com/aws/language-servers/issues/2544)) ([d06e09f](https://github.com/aws/language-servers/commit/d06e09f1c7c2ce017d0a5b4394cc8d17454e2862))
|
|
17
|
+
* fix for mcp registry error handling ([#2561](https://github.com/aws/language-servers/issues/2561)) ([f5f8b36](https://github.com/aws/language-servers/commit/f5f8b36aa6a6b4ca6228ba3c1110d0532cda65bd))
|
|
18
|
+
* fix for mcp servers refresh ([#2550](https://github.com/aws/language-servers/issues/2550)) ([cd75394](https://github.com/aws/language-servers/commit/cd753948c3b3b9b07b626fc41391bd91b55a0d39))
|
|
19
|
+
* fix null value for codewhisperer percentage ([#2523](https://github.com/aws/language-servers/issues/2523)) ([e898ab4](https://github.com/aws/language-servers/commit/e898ab4a84e7976f6478a434b5ba7694e6ddcb38))
|
|
20
|
+
* prevent MCP server process duplicates with lightweight tracking ([#2562](https://github.com/aws/language-servers/issues/2562)) ([4ba6eb2](https://github.com/aws/language-servers/commit/4ba6eb27400fe352660128f406e837df34acc247))
|
|
21
|
+
* remove s3 artifact upload and download timeout ([#2560](https://github.com/aws/language-servers/issues/2560)) ([c0b3523](https://github.com/aws/language-servers/commit/c0b35232c0946d4957ffca7bbd5b8cbf66b88b4e))
|
|
22
|
+
* update inputLimit calculation to use fixed 100K reserved characters ([#2557](https://github.com/aws/language-servers/issues/2557)) ([ef04639](https://github.com/aws/language-servers/commit/ef0463937898570e33b45d48800a9d33bc6adc3b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @aws/lsp-core bumped from ^0.0.18 to ^0.0.19
|
|
30
|
+
|
|
31
|
+
## [0.0.97](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.96...lsp-codewhisperer/v0.0.97) (2025-12-08)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* use dynamic token limits from listAvailableModels API ([#2539](https://github.com/aws/language-servers/issues/2539)) ([f87ac9f](https://github.com/aws/language-servers/commit/f87ac9fce32d235649f81957b71d424264aae9c8))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* ATX Transform Fix Retrieve Job Erroring on Profile changes ([#2538](https://github.com/aws/language-servers/issues/2538)) ([870d540](https://github.com/aws/language-servers/commit/870d5400dd5eb77f32e5592089525dacc001cb81))
|
|
42
|
+
|
|
3
43
|
## [0.0.96](https://github.com/aws/language-servers/compare/lsp-codewhisperer/v0.0.95...lsp-codewhisperer/v0.0.96) (2025-12-01)
|
|
4
44
|
|
|
5
45
|
|
|
@@ -197,6 +197,174 @@ see LICENSE for more information.
|
|
|
197
197
|
|
|
198
198
|
## Client Commands (Operations List)
|
|
199
199
|
|
|
200
|
+
<details>
|
|
201
|
+
<summary>
|
|
202
|
+
CreateAgentTask
|
|
203
|
+
</summary>
|
|
204
|
+
|
|
205
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateAgentTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateAgentTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateAgentTaskCommandOutput/)
|
|
206
|
+
</details>
|
|
207
|
+
<details>
|
|
208
|
+
<summary>
|
|
209
|
+
CreateConnection
|
|
210
|
+
</summary>
|
|
211
|
+
|
|
212
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateConnectionCommandOutput/)
|
|
213
|
+
</details>
|
|
214
|
+
<details>
|
|
215
|
+
<summary>
|
|
216
|
+
CreateConnectionForUser
|
|
217
|
+
</summary>
|
|
218
|
+
|
|
219
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateConnectionForUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateConnectionForUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateConnectionForUserCommandOutput/)
|
|
220
|
+
</details>
|
|
221
|
+
<details>
|
|
222
|
+
<summary>
|
|
223
|
+
CreateEnvironmentConfiguration
|
|
224
|
+
</summary>
|
|
225
|
+
|
|
226
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateEnvironmentConfigurationCommandOutput/)
|
|
227
|
+
</details>
|
|
228
|
+
<details>
|
|
229
|
+
<summary>
|
|
230
|
+
CreateInstance
|
|
231
|
+
</summary>
|
|
232
|
+
|
|
233
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateInstanceCommandOutput/)
|
|
234
|
+
</details>
|
|
235
|
+
<details>
|
|
236
|
+
<summary>
|
|
237
|
+
CreateSession
|
|
238
|
+
</summary>
|
|
239
|
+
|
|
240
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateSessionCommandOutput/)
|
|
241
|
+
</details>
|
|
242
|
+
<details>
|
|
243
|
+
<summary>
|
|
244
|
+
DeleteConnection
|
|
245
|
+
</summary>
|
|
246
|
+
|
|
247
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/DeleteConnectionCommandOutput/)
|
|
248
|
+
</details>
|
|
249
|
+
<details>
|
|
250
|
+
<summary>
|
|
251
|
+
DeleteEnvironmentConfiguration
|
|
252
|
+
</summary>
|
|
253
|
+
|
|
254
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/DeleteEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/DeleteEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/DeleteEnvironmentConfigurationCommandOutput/)
|
|
255
|
+
</details>
|
|
256
|
+
<details>
|
|
257
|
+
<summary>
|
|
258
|
+
DeleteSession
|
|
259
|
+
</summary>
|
|
260
|
+
|
|
261
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/DeleteSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/DeleteSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/DeleteSessionCommandOutput/)
|
|
262
|
+
</details>
|
|
263
|
+
<details>
|
|
264
|
+
<summary>
|
|
265
|
+
GenerateAgentSessionResponse
|
|
266
|
+
</summary>
|
|
267
|
+
|
|
268
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GenerateAgentSessionResponseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GenerateAgentSessionResponseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GenerateAgentSessionResponseCommandOutput/)
|
|
269
|
+
</details>
|
|
270
|
+
<details>
|
|
271
|
+
<summary>
|
|
272
|
+
GetAgentTask
|
|
273
|
+
</summary>
|
|
274
|
+
|
|
275
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetAgentTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetAgentTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetAgentTaskCommandOutput/)
|
|
276
|
+
</details>
|
|
277
|
+
<details>
|
|
278
|
+
<summary>
|
|
279
|
+
GetAgentTaskDetails
|
|
280
|
+
</summary>
|
|
281
|
+
|
|
282
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetAgentTaskDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetAgentTaskDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetAgentTaskDetailsCommandOutput/)
|
|
283
|
+
</details>
|
|
284
|
+
<details>
|
|
285
|
+
<summary>
|
|
286
|
+
GetAgentUsage
|
|
287
|
+
</summary>
|
|
288
|
+
|
|
289
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetAgentUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetAgentUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetAgentUsageCommandOutput/)
|
|
290
|
+
</details>
|
|
291
|
+
<details>
|
|
292
|
+
<summary>
|
|
293
|
+
GetEnvironmentConfiguration
|
|
294
|
+
</summary>
|
|
295
|
+
|
|
296
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetEnvironmentConfigurationCommandOutput/)
|
|
297
|
+
</details>
|
|
298
|
+
<details>
|
|
299
|
+
<summary>
|
|
300
|
+
GetSession
|
|
301
|
+
</summary>
|
|
302
|
+
|
|
303
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetSessionCommandOutput/)
|
|
304
|
+
</details>
|
|
305
|
+
<details>
|
|
306
|
+
<summary>
|
|
307
|
+
GetStepEvents
|
|
308
|
+
</summary>
|
|
309
|
+
|
|
310
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetStepEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetStepEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetStepEventsCommandOutput/)
|
|
311
|
+
</details>
|
|
312
|
+
<details>
|
|
313
|
+
<summary>
|
|
314
|
+
GetTaskDetails
|
|
315
|
+
</summary>
|
|
316
|
+
|
|
317
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetTaskDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetTaskDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetTaskDetailsCommandOutput/)
|
|
318
|
+
</details>
|
|
319
|
+
<details>
|
|
320
|
+
<summary>
|
|
321
|
+
ListAgentTasks
|
|
322
|
+
</summary>
|
|
323
|
+
|
|
324
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListAgentTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListAgentTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListAgentTasksCommandOutput/)
|
|
325
|
+
</details>
|
|
326
|
+
<details>
|
|
327
|
+
<summary>
|
|
328
|
+
ListConnectionResources
|
|
329
|
+
</summary>
|
|
330
|
+
|
|
331
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListConnectionResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListConnectionResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListConnectionResourcesCommandOutput/)
|
|
332
|
+
</details>
|
|
333
|
+
<details>
|
|
334
|
+
<summary>
|
|
335
|
+
ListConnections
|
|
336
|
+
</summary>
|
|
337
|
+
|
|
338
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListConnectionsCommandOutput/)
|
|
339
|
+
</details>
|
|
340
|
+
<details>
|
|
341
|
+
<summary>
|
|
342
|
+
ListInstances
|
|
343
|
+
</summary>
|
|
344
|
+
|
|
345
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListInstancesCommandOutput/)
|
|
346
|
+
</details>
|
|
347
|
+
<details>
|
|
348
|
+
<summary>
|
|
349
|
+
ListSessionHistory
|
|
350
|
+
</summary>
|
|
351
|
+
|
|
352
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListSessionHistoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListSessionHistoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListSessionHistoryCommandOutput/)
|
|
353
|
+
</details>
|
|
354
|
+
<details>
|
|
355
|
+
<summary>
|
|
356
|
+
ListSessions
|
|
357
|
+
</summary>
|
|
358
|
+
|
|
359
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListSessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListSessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListSessionsCommandOutput/)
|
|
360
|
+
</details>
|
|
361
|
+
<details>
|
|
362
|
+
<summary>
|
|
363
|
+
UpdateEnvironmentConfiguration
|
|
364
|
+
</summary>
|
|
365
|
+
|
|
366
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/UpdateEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/UpdateEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/UpdateEnvironmentConfigurationCommandOutput/)
|
|
367
|
+
</details>
|
|
200
368
|
<details>
|
|
201
369
|
<summary>
|
|
202
370
|
AllowVendedLogDeliveryForResource
|
|
@@ -416,6 +584,20 @@ GetCodeFixJob
|
|
|
416
584
|
</details>
|
|
417
585
|
<details>
|
|
418
586
|
<summary>
|
|
587
|
+
GetProfile
|
|
588
|
+
</summary>
|
|
589
|
+
|
|
590
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetProfileCommandOutput/)
|
|
591
|
+
</details>
|
|
592
|
+
<details>
|
|
593
|
+
<summary>
|
|
594
|
+
GetRetrievals
|
|
595
|
+
</summary>
|
|
596
|
+
|
|
597
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetRetrievalsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetRetrievalsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetRetrievalsCommandOutput/)
|
|
598
|
+
</details>
|
|
599
|
+
<details>
|
|
600
|
+
<summary>
|
|
419
601
|
GetTaskAssistCodeGeneration
|
|
420
602
|
</summary>
|
|
421
603
|
|
|
@@ -458,6 +640,13 @@ ListAvailableCustomizations
|
|
|
458
640
|
</details>
|
|
459
641
|
<details>
|
|
460
642
|
<summary>
|
|
643
|
+
ListAvailableModels
|
|
644
|
+
</summary>
|
|
645
|
+
|
|
646
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListAvailableModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListAvailableModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListAvailableModelsCommandOutput/)
|
|
647
|
+
</details>
|
|
648
|
+
<details>
|
|
649
|
+
<summary>
|
|
461
650
|
ListAvailableProfiles
|
|
462
651
|
</summary>
|
|
463
652
|
|
|
@@ -465,6 +654,13 @@ ListAvailableProfiles
|
|
|
465
654
|
</details>
|
|
466
655
|
<details>
|
|
467
656
|
<summary>
|
|
657
|
+
ListAvailableSubscriptions
|
|
658
|
+
</summary>
|
|
659
|
+
|
|
660
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/ListAvailableSubscriptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListAvailableSubscriptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/ListAvailableSubscriptionsCommandOutput/)
|
|
661
|
+
</details>
|
|
662
|
+
<details>
|
|
663
|
+
<summary>
|
|
468
664
|
ListCodeAnalysisFindings
|
|
469
665
|
</summary>
|
|
470
666
|
|
|
@@ -521,6 +717,13 @@ SendTelemetryEvent
|
|
|
521
717
|
</details>
|
|
522
718
|
<details>
|
|
523
719
|
<summary>
|
|
720
|
+
SetUserPreference
|
|
721
|
+
</summary>
|
|
722
|
+
|
|
723
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/SetUserPreferenceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/SetUserPreferenceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/SetUserPreferenceCommandOutput/)
|
|
724
|
+
</details>
|
|
725
|
+
<details>
|
|
726
|
+
<summary>
|
|
524
727
|
StartCodeAnalysis
|
|
525
728
|
</summary>
|
|
526
729
|
|
|
@@ -591,6 +794,13 @@ GenerateTaskAssistPlan
|
|
|
591
794
|
</details>
|
|
592
795
|
<details>
|
|
593
796
|
<summary>
|
|
797
|
+
InvokeMCP
|
|
798
|
+
</summary>
|
|
799
|
+
|
|
800
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/InvokeMCPCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/InvokeMCPCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/InvokeMCPCommandOutput/)
|
|
801
|
+
</details>
|
|
802
|
+
<details>
|
|
803
|
+
<summary>
|
|
594
804
|
AssociateConnectorResource
|
|
595
805
|
</summary>
|
|
596
806
|
|
|
@@ -619,6 +829,27 @@ BatchDescribeUsers
|
|
|
619
829
|
</details>
|
|
620
830
|
<details>
|
|
621
831
|
<summary>
|
|
832
|
+
BatchGetGroups
|
|
833
|
+
</summary>
|
|
834
|
+
|
|
835
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/BatchGetGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/BatchGetGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/BatchGetGroupsCommandOutput/)
|
|
836
|
+
</details>
|
|
837
|
+
<details>
|
|
838
|
+
<summary>
|
|
839
|
+
BatchGetUsers
|
|
840
|
+
</summary>
|
|
841
|
+
|
|
842
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/BatchGetUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/BatchGetUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/BatchGetUsersCommandOutput/)
|
|
843
|
+
</details>
|
|
844
|
+
<details>
|
|
845
|
+
<summary>
|
|
846
|
+
CreateArtifact
|
|
847
|
+
</summary>
|
|
848
|
+
|
|
849
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/CreateArtifactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateArtifactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/CreateArtifactCommandOutput/)
|
|
850
|
+
</details>
|
|
851
|
+
<details>
|
|
852
|
+
<summary>
|
|
622
853
|
CreateAssignment
|
|
623
854
|
</summary>
|
|
624
855
|
|
|
@@ -696,6 +927,20 @@ DisassociateLoginDomain
|
|
|
696
927
|
</details>
|
|
697
928
|
<details>
|
|
698
929
|
<summary>
|
|
930
|
+
GetArtifact
|
|
931
|
+
</summary>
|
|
932
|
+
|
|
933
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetArtifactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetArtifactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetArtifactCommandOutput/)
|
|
934
|
+
</details>
|
|
935
|
+
<details>
|
|
936
|
+
<summary>
|
|
937
|
+
GetArtifactActionResult
|
|
938
|
+
</summary>
|
|
939
|
+
|
|
940
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/GetArtifactActionResultCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetArtifactActionResultCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/GetArtifactActionResultCommandOutput/)
|
|
941
|
+
</details>
|
|
942
|
+
<details>
|
|
943
|
+
<summary>
|
|
699
944
|
GetConnector
|
|
700
945
|
</summary>
|
|
701
946
|
|
|
@@ -843,6 +1088,13 @@ PassRequest
|
|
|
843
1088
|
</details>
|
|
844
1089
|
<details>
|
|
845
1090
|
<summary>
|
|
1091
|
+
PerformArtifactAction
|
|
1092
|
+
</summary>
|
|
1093
|
+
|
|
1094
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/PerformArtifactActionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/PerformArtifactActionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/PerformArtifactActionCommandOutput/)
|
|
1095
|
+
</details>
|
|
1096
|
+
<details>
|
|
1097
|
+
<summary>
|
|
846
1098
|
RejectConnector
|
|
847
1099
|
</summary>
|
|
848
1100
|
|
|
@@ -899,6 +1151,13 @@ UntagResource
|
|
|
899
1151
|
</details>
|
|
900
1152
|
<details>
|
|
901
1153
|
<summary>
|
|
1154
|
+
UpdateAssignment
|
|
1155
|
+
</summary>
|
|
1156
|
+
|
|
1157
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/qdeveloperstreaming/command/UpdateAssignmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/UpdateAssignmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-qdeveloperstreaming/Interface/UpdateAssignmentCommandOutput/)
|
|
1158
|
+
</details>
|
|
1159
|
+
<details>
|
|
1160
|
+
<summary>
|
|
902
1161
|
UpdateConversation
|
|
903
1162
|
</summary>
|
|
904
1163
|
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/QDeveloperStreamingClient.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QDeveloperStreamingClient = exports.__Client = void 0;
|
|
4
4
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
5
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
5
6
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
6
7
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
7
8
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
@@ -12,6 +13,7 @@ const config_resolver_1 = require("@smithy/config-resolver");
|
|
|
12
13
|
const core_1 = require("@smithy/core");
|
|
13
14
|
const eventstream_serde_config_resolver_1 = require("@smithy/eventstream-serde-config-resolver");
|
|
14
15
|
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
16
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
15
17
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
16
18
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
17
19
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
@@ -19,23 +21,24 @@ class QDeveloperStreamingClient extends smithy_client_1.Client {
|
|
|
19
21
|
config;
|
|
20
22
|
constructor(...[configuration]) {
|
|
21
23
|
let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
22
|
-
let _config_1 = (0,
|
|
23
|
-
let _config_2 = (0,
|
|
24
|
-
let _config_3 = (0,
|
|
25
|
-
let _config_4 = (0,
|
|
26
|
-
let _config_5 = (0,
|
|
27
|
-
let _config_6 = (0,
|
|
28
|
-
let _config_7 = (0,
|
|
29
|
-
let _config_8 = (0,
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
let _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
25
|
+
let _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
26
|
+
let _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
27
|
+
let _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
28
|
+
let _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
29
|
+
let _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
30
|
+
let _config_7 = (0, eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig)(_config_6);
|
|
31
|
+
let _config_8 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_7);
|
|
32
|
+
let _config_9 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_8, configuration?.extensions || []);
|
|
33
|
+
super(_config_9);
|
|
34
|
+
this.config = _config_9;
|
|
32
35
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
33
36
|
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
34
37
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
35
38
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
36
39
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
37
40
|
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
38
|
-
this.middlewareStack.use((0, core_1.
|
|
41
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
39
42
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultQDeveloperStreamingHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
40
43
|
"aws.auth#sigv4": config.credentials,
|
|
41
44
|
}),
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GenerateCodeFromCommandsCommand = exports.$Command = void 0;
|
|
4
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
4
5
|
const models_0_1 = require("../models/models_0");
|
|
5
6
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
7
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
8
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
10
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
11
|
class GenerateCodeFromCommandsCommand extends smithy_client_1.Command.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
10
13
|
.m(function (Command, cs, config, o) {
|
|
11
14
|
return [
|
|
12
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
13
17
|
];
|
|
14
18
|
})
|
|
15
19
|
.s("AmazonQDeveloperStreamingService", "GenerateCodeFromCommands", {
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SendMessageCommand = exports.$Command = void 0;
|
|
4
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
4
5
|
const models_0_1 = require("../models/models_0");
|
|
5
6
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
7
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
8
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
10
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
11
|
class SendMessageCommand extends smithy_client_1.Command.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
10
13
|
.m(function (Command, cs, config, o) {
|
|
11
14
|
return [
|
|
12
15
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
13
17
|
];
|
|
14
18
|
})
|
|
15
19
|
.s("AmazonQDeveloperStreamingService", "SendMessage", {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
region: options.region ?? "us-east-1",
|
|
8
|
+
defaultSigningName: "q",
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
12
|
+
exports.commonParams = {
|
|
13
|
+
endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
region: { type: "builtInParams", name: "region" },
|
|
15
|
+
};
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-cjs/endpoint/endpointResolver.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const ruleset_1 = require("./ruleset");
|
|
5
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
6
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["endpoint",
|
|
10
|
+
"region"]
|
|
11
|
+
});
|
|
12
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
13
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
14
|
+
endpointParams: endpointParams,
|
|
15
|
+
logger: context.logger,
|
|
16
|
+
}));
|
|
17
|
+
};
|
|
18
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
19
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
exports.ruleSet = {
|
|
5
|
+
"version": "1.0",
|
|
6
|
+
"parameters": {
|
|
7
|
+
"endpoint": {
|
|
8
|
+
"documentation": "This has a value if clients provide an explicit URL to be used",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"builtIn": "SDK::Endpoint",
|
|
11
|
+
},
|
|
12
|
+
"region": {
|
|
13
|
+
"documentation": "The region of the service",
|
|
14
|
+
"required": true,
|
|
15
|
+
"type": "string",
|
|
16
|
+
"builtIn": "AWS::Region",
|
|
17
|
+
"default": "us-east-1",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
"rules": [
|
|
21
|
+
{
|
|
22
|
+
"type": "endpoint",
|
|
23
|
+
"conditions": [
|
|
24
|
+
{
|
|
25
|
+
"fn": "isSet",
|
|
26
|
+
"argv": [
|
|
27
|
+
{
|
|
28
|
+
"ref": "endpoint",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
"endpoint": {
|
|
34
|
+
"url": "{endpoint}",
|
|
35
|
+
"properties": {
|
|
36
|
+
"authSchemes": [
|
|
37
|
+
{
|
|
38
|
+
"name": "sigv4",
|
|
39
|
+
"signingRegion": "{region}",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "endpoint",
|
|
47
|
+
"conditions": [],
|
|
48
|
+
"endpoint": {
|
|
49
|
+
"url": "https://q.{region}.amazonaws.com",
|
|
50
|
+
"properties": {
|
|
51
|
+
"authSchemes": [
|
|
52
|
+
{
|
|
53
|
+
"name": "sigv4",
|
|
54
|
+
"signingRegion": "{region}",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
};
|