diff --git a/clients/client-rds-data/RdsDataServiceClient.ts b/clients/client-rds-data/RdsDataServiceClient.ts index 6935a7f1ad82..8ed6878d89aa 100644 --- a/clients/client-rds-data/RdsDataServiceClient.ts +++ b/clients/client-rds-data/RdsDataServiceClient.ts @@ -55,7 +55,7 @@ import { Client as SmithyClient, SmithyResolvedConfiguration } from "@aws-sdk/smithy-client"; -import { HttpOptions as __HttpOptions } from "@aws-sdk/types"; +import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; export type ServiceInputTypes = | RollbackTransactionRequest @@ -158,7 +158,7 @@ export type RdsDataServiceConfig = RDSDataRuntimeDependencies & UserAgentInputConfig; export type RdsDataServiceResolvedConfig = SmithyResolvedConfiguration< - __HttpOptions + __HttpHandlerOptions > & Required & AwsAuthResolvedConfig & @@ -168,7 +168,7 @@ export type RdsDataServiceResolvedConfig = SmithyResolvedConfiguration< UserAgentResolvedConfig; export class RdsDataService extends SmithyClient< - __HttpOptions, + __HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RdsDataServiceResolvedConfig diff --git a/clients/client-rds-data/commands/ExecuteStatementCommand.ts b/clients/client-rds-data/commands/ExecuteStatementCommand.ts index 8ee83794f612..e024bdb93f00 100644 --- a/clients/client-rds-data/commands/ExecuteStatementCommand.ts +++ b/clients/client-rds-data/commands/ExecuteStatementCommand.ts @@ -1,7 +1,7 @@ import { Command } from "@aws-sdk/smithy-client"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { - HttpOptions, + HttpHandlerOptions as __HttpHandlerOptions, Handler, HandlerExecutionContext, FinalizeHandlerArguments, @@ -32,7 +32,7 @@ export class ExecuteStatementCommand extends Command< resolveMiddleware( clientStack: MiddlewareStack, configuration: RdsDataServiceResolvedConfig, - options?: HttpOptions + options?: __HttpHandlerOptions ): Handler { const { requestHandler } = configuration; diff --git a/packages/smithy-client/src/client.ts b/packages/smithy-client/src/client.ts index 7d4fc9620b89..827e03bd2608 100644 --- a/packages/smithy-client/src/client.ts +++ b/packages/smithy-client/src/client.ts @@ -8,6 +8,8 @@ import { export interface SmithyConfiguration { requestHandler: RequestHandler; + readonly apiVersion: string; + readonly protocol: string; } export type SmithyResolvedConfiguration = SmithyConfiguration<