Skip to content

Commit 61c11f7

Browse files
feat(amazonq): update streaming client aws#4731
Problem The streaming client must be updated periodically (until this process is automated, or the client is published to NPM). Instructions for building and updating the client: https://github.com/aws/aws-toolkit-vscode/blob/master/docs/build.md Solution Updated the client.
1 parent 1bdd6ca commit 61c11f7

File tree

7 files changed

+510
-1
lines changed

7 files changed

+510
-1
lines changed

src.gen/@amzn/codewhisperer-streaming/README.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,13 @@ ListFeatureEvaluations
408408
</details>
409409
<details>
410410
<summary>
411+
ResumeTransformation
412+
</summary>
413+
414+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/resumetransformationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/resumetransformationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/resumetransformationcommandoutput.html)
415+
</details>
416+
<details>
417+
<summary>
411418
SendTelemetryEvent
412419
</summary>
413420

@@ -462,3 +469,94 @@ GenerateTaskAssistPlan
462469

463470
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/generatetaskassistplancommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/generatetaskassistplancommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/generatetaskassistplancommandoutput.html)
464471
</details>
472+
<details>
473+
<summary>
474+
CreateAssignment
475+
</summary>
476+
477+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/createassignmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createassignmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createassignmentcommandoutput.html)
478+
</details>
479+
<details>
480+
<summary>
481+
CreateResolution
482+
</summary>
483+
484+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/createresolutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createresolutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createresolutioncommandoutput.html)
485+
</details>
486+
<details>
487+
<summary>
488+
CreateSession
489+
</summary>
490+
491+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/createsessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createsessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createsessioncommandoutput.html)
492+
</details>
493+
<details>
494+
<summary>
495+
CreateTroubleshooting
496+
</summary>
497+
498+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/createtroubleshootingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createtroubleshootingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/createtroubleshootingcommandoutput.html)
499+
</details>
500+
<details>
501+
<summary>
502+
DeleteAssignment
503+
</summary>
504+
505+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/deleteassignmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/deleteassignmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/deleteassignmentcommandoutput.html)
506+
</details>
507+
<details>
508+
<summary>
509+
GetConversation
510+
</summary>
511+
512+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/getconversationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/getconversationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/getconversationcommandoutput.html)
513+
</details>
514+
<details>
515+
<summary>
516+
GetIdentityMetadata
517+
</summary>
518+
519+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/getidentitymetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/getidentitymetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/getidentitymetadatacommandoutput.html)
520+
</details>
521+
<details>
522+
<summary>
523+
GetSession
524+
</summary>
525+
526+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/getsessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/getsessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/getsessioncommandoutput.html)
527+
</details>
528+
<details>
529+
<summary>
530+
ListConversations
531+
</summary>
532+
533+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/listconversationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/listconversationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/listconversationscommandoutput.html)
534+
</details>
535+
<details>
536+
<summary>
537+
PassRequest
538+
</summary>
539+
540+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/passrequestcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/passrequestcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/passrequestcommandoutput.html)
541+
</details>
542+
<details>
543+
<summary>
544+
SendMessage
545+
</summary>
546+
547+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/sendmessagecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/sendmessagecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/sendmessagecommandoutput.html)
548+
</details>
549+
<details>
550+
<summary>
551+
StartConversation
552+
</summary>
553+
554+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/startconversationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/startconversationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/startconversationcommandoutput.html)
555+
</details>
556+
<details>
557+
<summary>
558+
UpdateCommandExecutionResult
559+
</summary>
560+
561+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/classes/updatecommandexecutionresultcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/updatecommandexecutionresultcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-codewhispererstreaming/interfaces/updatecommandexecutionresultcommandoutput.html)
562+
</details>

src.gen/@amzn/codewhisperer-streaming/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@
8686
"react-native": {
8787
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
8888
}
89-
}
89+
}

src.gen/@amzn/codewhisperer-streaming/src/commands/ExportResultArchiveCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ export interface ExportResultArchiveCommandOutput extends ExportResultArchiveRes
6060
* const input = { // ExportResultArchiveRequest
6161
* exportId: "STRING_VALUE", // required
6262
* exportIntent: "TRANSFORMATION" || "TASK_ASSIST", // required
63+
* exportContext: { // ExportContext Union: only one key present
64+
* transformationExportContext: { // TransformationExportContext
65+
* downloadArtifactId: "STRING_VALUE", // required
66+
* downloadArtifactType: "ClientInstructions", // required
67+
* },
68+
* },
6369
* };
6470
* const command = new ExportResultArchiveCommand(input);
6571
* const response = await client.send(command);

src.gen/@amzn/codewhisperer-streaming/src/commands/GenerateAssistantResponseCommand.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,31 @@ export interface GenerateAssistantResponseCommandOutput extends GenerateAssistan
9898
* },
9999
* },
100100
* },
101+
* shellState: { // ShellState
102+
* shellName: "STRING_VALUE", // required
103+
* shellHistory: [ // ShellHistory
104+
* { // ShellHistoryEntry
105+
* command: "STRING_VALUE", // required
106+
* directory: "STRING_VALUE",
107+
* exitCode: Number("int"),
108+
* stdout: "STRING_VALUE",
109+
* stderr: "STRING_VALUE",
110+
* },
111+
* ],
112+
* },
113+
* gitState: { // GitState
114+
* status: "STRING_VALUE",
115+
* },
116+
* envState: { // EnvState
117+
* operatingSystem: "STRING_VALUE",
118+
* currentWorkingDirectory: "STRING_VALUE",
119+
* environmentVariables: [ // EnvironmentVariables
120+
* { // EnvironmentVariable
121+
* key: "STRING_VALUE",
122+
* value: "STRING_VALUE",
123+
* },
124+
* ],
125+
* },
101126
* diagnostic: { // Diagnostic Union: only one key present
102127
* textDocumentDiagnostic: { // TextDocumentDiagnostic
103128
* document: {
@@ -179,6 +204,31 @@ export interface GenerateAssistantResponseCommandOutput extends GenerateAssistan
179204
* },
180205
* },
181206
* },
207+
* shellState: {
208+
* shellName: "STRING_VALUE", // required
209+
* shellHistory: [
210+
* {
211+
* command: "STRING_VALUE", // required
212+
* directory: "STRING_VALUE",
213+
* exitCode: Number("int"),
214+
* stdout: "STRING_VALUE",
215+
* stderr: "STRING_VALUE",
216+
* },
217+
* ],
218+
* },
219+
* gitState: {
220+
* status: "STRING_VALUE",
221+
* },
222+
* envState: {
223+
* operatingSystem: "STRING_VALUE",
224+
* currentWorkingDirectory: "STRING_VALUE",
225+
* environmentVariables: [
226+
* {
227+
* key: "STRING_VALUE",
228+
* value: "STRING_VALUE",
229+
* },
230+
* ],
231+
* },
182232
* diagnostic: {// Union: only one key present
183233
* textDocumentDiagnostic: {
184234
* document: "<TextDocument>", // required

src.gen/@amzn/codewhisperer-streaming/src/commands/GenerateTaskAssistPlanCommand.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,31 @@ export interface GenerateTaskAssistPlanCommandOutput extends GenerateTaskAssistP
9898
* },
9999
* },
100100
* },
101+
* shellState: { // ShellState
102+
* shellName: "STRING_VALUE", // required
103+
* shellHistory: [ // ShellHistory
104+
* { // ShellHistoryEntry
105+
* command: "STRING_VALUE", // required
106+
* directory: "STRING_VALUE",
107+
* exitCode: Number("int"),
108+
* stdout: "STRING_VALUE",
109+
* stderr: "STRING_VALUE",
110+
* },
111+
* ],
112+
* },
113+
* gitState: { // GitState
114+
* status: "STRING_VALUE",
115+
* },
116+
* envState: { // EnvState
117+
* operatingSystem: "STRING_VALUE",
118+
* currentWorkingDirectory: "STRING_VALUE",
119+
* environmentVariables: [ // EnvironmentVariables
120+
* { // EnvironmentVariable
121+
* key: "STRING_VALUE",
122+
* value: "STRING_VALUE",
123+
* },
124+
* ],
125+
* },
101126
* diagnostic: { // Diagnostic Union: only one key present
102127
* textDocumentDiagnostic: { // TextDocumentDiagnostic
103128
* document: {
@@ -179,6 +204,31 @@ export interface GenerateTaskAssistPlanCommandOutput extends GenerateTaskAssistP
179204
* },
180205
* },
181206
* },
207+
* shellState: {
208+
* shellName: "STRING_VALUE", // required
209+
* shellHistory: [
210+
* {
211+
* command: "STRING_VALUE", // required
212+
* directory: "STRING_VALUE",
213+
* exitCode: Number("int"),
214+
* stdout: "STRING_VALUE",
215+
* stderr: "STRING_VALUE",
216+
* },
217+
* ],
218+
* },
219+
* gitState: {
220+
* status: "STRING_VALUE",
221+
* },
222+
* envState: {
223+
* operatingSystem: "STRING_VALUE",
224+
* currentWorkingDirectory: "STRING_VALUE",
225+
* environmentVariables: [
226+
* {
227+
* key: "STRING_VALUE",
228+
* value: "STRING_VALUE",
229+
* },
230+
* ],
231+
* },
182232
* diagnostic: {// Union: only one key present
183233
* textDocumentDiagnostic: {
184234
* document: "<TextDocument>", // required

0 commit comments

Comments
 (0)