UNPKG

@aws-sdk/types

Version:
18 lines (17 loc) 564 B
import { Handler, MiddlewareStack } from "./middleware"; import { MetadataBearer } from "./response"; export interface Command< ClientInput extends object, InputType extends ClientInput, ClientOutput extends MetadataBearer, OutputType extends ClientOutput, ResolvedConfiguration > { readonly input: InputType; readonly middlewareStack: MiddlewareStack<InputType, OutputType>; resolveMiddleware( stack: MiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedConfiguration, options: any ): Handler<InputType, OutputType>; }