Skip to content

Commit 67784e1

Browse files
committed
remove unused types
1 parent 3e8caf6 commit 67784e1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/core/src/shared/awsClientBuilderV3.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import {
1313
DeserializeHandlerOptions,
1414
DeserializeMiddleware,
1515
HandlerExecutionContext,
16-
HttpHandlerOptions,
17-
MetadataBearer,
1816
Provider,
1917
RetryStrategy,
2018
UserAgent,
@@ -26,12 +24,10 @@ import { getRequestId, getTelemetryReason, getTelemetryReasonDesc, getTelemetryR
2624
import { extensionVersion } from '.'
2725
import { getLogger } from './logger'
2826
import { omitIfPresent } from './utilities/tsUtils'
29-
import { Client, SmithyResolvedConfiguration } from '@aws-sdk/smithy-client'
3027

31-
export type AwsClient = Client<HttpHandlerOptions, any, MetadataBearer, SmithyResolvedConfiguration<HttpHandlerOptions>>
3228
export type AwsClientConstructor<C> = new (o: AwsClientOptions) => C
3329

34-
interface AwsClient2 {
30+
interface AwsClient {
3531
middlewareStack: any // Ideally this would extends MiddlewareStack<Input, Output>, but this causes issues on client construction.
3632
}
3733

@@ -57,7 +53,7 @@ export class DefaultAWSClientBuilderV3 {
5753
return shim
5854
}
5955

60-
public async createAwsService<C extends AwsClient2>(
56+
public async createAwsService<C extends AwsClient>(
6157
type: AwsClientConstructor<C>,
6258
options?: Partial<AwsClientOptions>,
6359
region?: string,

0 commit comments

Comments
 (0)