Skip to content

Commit 6a04c98

Browse files
committed
add link to relevant issue
1 parent 6fc31e5 commit 6a04c98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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
interface AwsClient {
31-
middlewareStack: any // Ideally this would extends MiddlewareStack<Input, Output>, but this causes issues on client construction.
33+
middlewareStack: any
3234
}
3335

3436
interface AwsConfigOptions {

0 commit comments

Comments
 (0)