Skip to content

Commit 3e3a01e

Browse files
committed
merge in upstream changes
2 parents 80efaa3 + 58809be commit 3e3a01e

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
"webpack-merge": "^5.10.0"
7373
},
7474
"dependencies": {
75-
"@aws-sdk/client-ssm": "^3.699.0",
76-
"@aws-sdk/protocol-http": "^3.370.0",
7775
"@types/node": "^22.7.5",
7876
"vscode-nls": "^5.2.0",
7977
"vscode-nls-dev": "^4.0.4"

packages/core/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@
496496
"dependencies": {
497497
"@amzn/amazon-q-developer-streaming-client": "file:../../src.gen/@amzn/amazon-q-developer-streaming-client",
498498
"@amzn/codewhisperer-streaming": "file:../../src.gen/@amzn/codewhisperer-streaming",
499+
"@aws-sdk/protocol-http": "^3.370.0",
499500
"@aws-sdk/client-cloudformation": "^3.667.0",
500501
"@aws-sdk/client-cloudwatch-logs": "^3.666.0",
501502
"@aws-sdk/client-cognito-identity": "^3.637.0",
@@ -508,6 +509,7 @@
508509
"@aws-sdk/property-provider": "3.46.0",
509510
"@aws-sdk/smithy-client": "^3.46.0",
510511
"@aws-sdk/util-arn-parser": "^3.46.0",
512+
"@aws-sdk/client-ssm": "^3.699.0",
511513
"@aws/mynah-ui": "^4.21.4",
512514
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
513515
"@iarna/toml": "^2.2.5",

packages/core/src/shared/awsClientBuilderV3.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ import { omitIfPresent } from './utilities/tsUtils'
2727

2828
export type AwsClientConstructor<C> = new (o: AwsClientOptions) => C
2929

30+
// AWS-SDKv3 does not export generic types for clients so we need to build them as needed
31+
// https://github.com/aws/aws-sdk-js-v3/issues/5856#issuecomment-2096950979
3032
export interface AwsClient {
31-
middlewareStack: any // Ideally this would extends MiddlewareStack<Input, Output>, but this causes issues on client construction.
33+
middlewareStack: any
3234
send: any
3335
destroy: () => void
3436
}

0 commit comments

Comments
 (0)