@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/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.browser.d.ts
CHANGED
|
@@ -28,14 +28,17 @@ export declare const getRuntimeConfig: (config: QDeveloperStreamingClientConfig)
|
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
30
|
profile?: string | undefined;
|
|
31
|
-
regionInfoProvider: import("@smithy/types").RegionInfoProvider;
|
|
32
31
|
logger: import("@smithy/types").Logger;
|
|
33
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
33
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
34
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
36
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | undefined;
|
|
36
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
37
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
38
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
39
|
+
}) => import("@smithy/types").EndpointV2;
|
|
38
40
|
tls?: boolean | undefined;
|
|
41
|
+
serviceConfiguredEndpoint?: undefined;
|
|
39
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QDeveloperStreamingHttpAuthSchemeProvider;
|
|
41
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.d.ts
CHANGED
|
@@ -29,13 +29,16 @@ export declare const getRuntimeConfig: (config: QDeveloperStreamingClientConfig)
|
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
serviceId: string;
|
|
31
31
|
profile?: string | undefined;
|
|
32
|
-
regionInfoProvider: import("@smithy/types").RegionInfoProvider;
|
|
33
32
|
logger: import("@smithy/types").Logger;
|
|
34
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
34
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | undefined;
|
|
36
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
37
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
38
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
39
|
+
}) => import("@smithy/types").EndpointV2;
|
|
38
40
|
tls?: boolean | undefined;
|
|
41
|
+
serviceConfiguredEndpoint?: undefined;
|
|
39
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QDeveloperStreamingHttpAuthSchemeProvider;
|
|
41
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.native.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: QDeveloperStreamingClientConfig)
|
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
|
-
regionInfoProvider: import("@smithy/types").RegionInfoProvider;
|
|
25
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
26
25
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
27
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -33,8 +32,12 @@ export declare const getRuntimeConfig: (config: QDeveloperStreamingClientConfig)
|
|
|
33
32
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
34
33
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
35
34
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | undefined;
|
|
35
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
36
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
38
|
+
}) => import("@smithy/types").EndpointV2;
|
|
37
39
|
tls?: boolean | undefined;
|
|
40
|
+
serviceConfiguredEndpoint?: undefined;
|
|
38
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
39
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QDeveloperStreamingHttpAuthSchemeProvider;
|
|
40
43
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
package/node_modules/@amzn/amazon-q-developer-streaming-client/dist-types/runtimeConfig.shared.d.ts
CHANGED
|
@@ -7,11 +7,13 @@ export declare const getRuntimeConfig: (config: QDeveloperStreamingClientConfig)
|
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
8
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
12
|
+
}) => import("@smithy/types").EndpointV2;
|
|
10
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
11
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").QDeveloperStreamingHttpAuthSchemeProvider;
|
|
12
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
13
16
|
logger: import("@smithy/types").Logger;
|
|
14
|
-
regionInfoProvider: import("@smithy/types").RegionInfoProvider;
|
|
15
17
|
serviceId: string;
|
|
16
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"@aws-sdk/middleware-user-agent": "3.731.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.731.0",
|
|
29
29
|
"@aws-sdk/types": "3.731.0",
|
|
30
|
+
"@aws-sdk/util-endpoints": "3.731.0",
|
|
30
31
|
"@aws-sdk/util-user-agent-browser": "3.731.0",
|
|
31
32
|
"@aws-sdk/util-user-agent-node": "3.731.0",
|
|
32
33
|
"@smithy/config-resolver": "^4.0.1",
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
"@smithy/hash-node": "^4.0.1",
|
|
39
40
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
40
41
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.2",
|
|
41
43
|
"@smithy/middleware-retry": "^4.0.3",
|
|
42
44
|
"@smithy/middleware-serde": "^4.0.1",
|
|
43
45
|
"@smithy/middleware-stack": "^4.0.1",
|
|
@@ -52,6 +54,7 @@
|
|
|
52
54
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
55
|
"@smithy/util-defaults-mode-browser": "^4.0.3",
|
|
54
56
|
"@smithy/util-defaults-mode-node": "^4.0.3",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.1",
|
|
55
58
|
"@smithy/util-middleware": "^4.0.1",
|
|
56
59
|
"@smithy/util-retry": "^4.0.1",
|
|
57
60
|
"@smithy/util-utf8": "^4.0.0",
|
|
@@ -19,16 +19,16 @@ using your favorite package manager:
|
|
|
19
19
|
|
|
20
20
|
The AWS SDK is modulized by clients and commands.
|
|
21
21
|
To send a request, you only need to import the `CodeWhispererStreamingClient` and
|
|
22
|
-
the commands you need, for example `
|
|
22
|
+
the commands you need, for example `InvokeMCPCommand`:
|
|
23
23
|
|
|
24
24
|
```js
|
|
25
25
|
// ES5 example
|
|
26
|
-
const { CodeWhispererStreamingClient,
|
|
26
|
+
const { CodeWhispererStreamingClient, InvokeMCPCommand } = require("@amzn/codewhisperer-streaming");
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
```ts
|
|
30
30
|
// ES6+ example
|
|
31
|
-
import { CodeWhispererStreamingClient,
|
|
31
|
+
import { CodeWhispererStreamingClient, InvokeMCPCommand } from "@amzn/codewhisperer-streaming";
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### Usage
|
|
@@ -45,7 +45,7 @@ To send a request, you:
|
|
|
45
45
|
const client = new CodeWhispererStreamingClient({ region: "REGION" });
|
|
46
46
|
|
|
47
47
|
const params = { /** input parameters */ };
|
|
48
|
-
const command = new
|
|
48
|
+
const command = new InvokeMCPCommand(params);
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
#### Async/await
|
|
@@ -124,7 +124,7 @@ const client = new AWS.CodeWhispererStreaming({ region: "REGION" });
|
|
|
124
124
|
|
|
125
125
|
// async/await.
|
|
126
126
|
try {
|
|
127
|
-
const data = await client.
|
|
127
|
+
const data = await client.invokeMCP(params);
|
|
128
128
|
// process data.
|
|
129
129
|
} catch (error) {
|
|
130
130
|
// error handling.
|
|
@@ -132,7 +132,7 @@ try {
|
|
|
132
132
|
|
|
133
133
|
// Promises.
|
|
134
134
|
client
|
|
135
|
-
.
|
|
135
|
+
.invokeMCP(params)
|
|
136
136
|
.then((data) => {
|
|
137
137
|
// process data.
|
|
138
138
|
})
|
|
@@ -141,7 +141,7 @@ client
|
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
// callbacks.
|
|
144
|
-
client.
|
|
144
|
+
client.invokeMCP(params, (err, data) => {
|
|
145
145
|
// process err and data.
|
|
146
146
|
});
|
|
147
147
|
```
|
|
@@ -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/codewhispererstreaming/command/CreateAgentTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateAgentTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/CreateConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/CreateConnectionForUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateConnectionForUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/CreateEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/CreateInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/CreateSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/DeleteConnectionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/DeleteConnectionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/DeleteEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/DeleteEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/DeleteSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/DeleteSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GenerateAgentSessionResponseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GenerateAgentSessionResponseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetAgentTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetAgentTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetAgentTaskDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetAgentTaskDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetAgentUsageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetAgentUsageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetStepEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetStepEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetTaskDetailsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetTaskDetailsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListAgentTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListAgentTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListConnectionResourcesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListConnectionResourcesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListConnectionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListConnectionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListSessionHistoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListSessionHistoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListSessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListSessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/UpdateEnvironmentConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/UpdateEnvironmentConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetRetrievalsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetRetrievalsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListAvailableModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListAvailableModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/ListAvailableSubscriptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/ListAvailableSubscriptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/SetUserPreferenceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/SetUserPreferenceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/InvokeMCPCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/InvokeMCPCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/BatchGetGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/BatchGetGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/BatchGetUsersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/BatchGetUsersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/CreateArtifactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/CreateArtifactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetArtifactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetArtifactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/GetArtifactActionResultCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/GetArtifactActionResultCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/PerformArtifactActionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/PerformArtifactActionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/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/codewhispererstreaming/command/UpdateAssignmentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/UpdateAssignmentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-codewhispererstreaming/Interface/UpdateAssignmentCommandOutput/)
|
|
1158
|
+
</details>
|
|
1159
|
+
<details>
|
|
1160
|
+
<summary>
|
|
902
1161
|
UpdateConversation
|
|
903
1162
|
</summary>
|
|
904
1163
|
|
|
@@ -5,12 +5,14 @@ const CodeWhispererStreamingClient_1 = require("./CodeWhispererStreamingClient")
|
|
|
5
5
|
const ExportResultArchiveCommand_1 = require("./commands/ExportResultArchiveCommand");
|
|
6
6
|
const GenerateAssistantResponseCommand_1 = require("./commands/GenerateAssistantResponseCommand");
|
|
7
7
|
const GenerateTaskAssistPlanCommand_1 = require("./commands/GenerateTaskAssistPlanCommand");
|
|
8
|
+
const InvokeMCPCommand_1 = require("./commands/InvokeMCPCommand");
|
|
8
9
|
const SendMessageCommand_1 = require("./commands/SendMessageCommand");
|
|
9
10
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
11
|
const commands = {
|
|
11
12
|
ExportResultArchiveCommand: ExportResultArchiveCommand_1.ExportResultArchiveCommand,
|
|
12
13
|
GenerateAssistantResponseCommand: GenerateAssistantResponseCommand_1.GenerateAssistantResponseCommand,
|
|
13
14
|
GenerateTaskAssistPlanCommand: GenerateTaskAssistPlanCommand_1.GenerateTaskAssistPlanCommand,
|
|
15
|
+
InvokeMCPCommand: InvokeMCPCommand_1.InvokeMCPCommand,
|
|
14
16
|
SendMessageCommand: SendMessageCommand_1.SendMessageCommand,
|
|
15
17
|
};
|
|
16
18
|
class CodeWhispererStreaming extends CodeWhispererStreamingClient_1.CodeWhispererStreamingClient {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvokeMCPCommand = exports.$Command = void 0;
|
|
4
|
+
const models_0_1 = require("../models/models_0");
|
|
5
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
6
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
class InvokeMCPCommand extends smithy_client_1.Command.classBuilder()
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
13
|
+
];
|
|
14
|
+
})
|
|
15
|
+
.s("AmazonCodeWhispererStreamingService", "InvokeMCP", {})
|
|
16
|
+
.n("CodeWhispererStreamingClient", "InvokeMCPCommand")
|
|
17
|
+
.f(models_0_1.InvokeMCPRequestFilterSensitiveLog, models_0_1.InvokeMCPResponseFilterSensitiveLog)
|
|
18
|
+
.ser(Aws_restJson1_1.se_InvokeMCPCommand)
|
|
19
|
+
.de(Aws_restJson1_1.de_InvokeMCPCommand)
|
|
20
|
+
.build() {
|
|
21
|
+
}
|
|
22
|
+
exports.InvokeMCPCommand = InvokeMCPCommand;
|
|
@@ -4,4 +4,5 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./ExportResultArchiveCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./GenerateAssistantResponseCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GenerateTaskAssistPlanCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./InvokeMCPCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./SendMessageCommand"), exports);
|