File tree Expand file tree Collapse file tree
packages/sdk-core/src/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,11 +102,12 @@ export class Client {
102102
103103 async send <
104104 TInput extends CommandInput ,
105+ TOutput extends any ,
105106 TCommandName extends keyof CommandOutputMap
106107 > (
107- command : Command < TInput , CommandOutputMap [ TCommandName ] , TCommandName > ,
108+ command : Command < TInput , TOutput , TCommandName > ,
108109 options ?: SendOptions
109- ) : Promise < CommandOutputMap [ TCommandName ] > {
110+ ) : Promise < TOutput > {
110111 const stack = this . middlewareStack . merge ( command . middlewareStack ) ;
111112 const context : MiddlewareContext = {
112113 clientName : this . constructor . name ,
Original file line number Diff line number Diff line change @@ -28,11 +28,6 @@ import { AssumeRoleResponse } from "./types/index";
2828// ============================================================================
2929export type AssumeRoleCommandOutput = CommandOutput < AssumeRoleResponse > ;
3030
31- declare module "../../types/types" {
32- interface CommandOutputMap {
33- AssumeRoleCommand : AssumeRoleCommandOutput ;
34- }
35- }
3631/**
3732 * STSClient Service Client
3833 */
You can’t perform that action at this time.
0 commit comments