UNPKG

542 BTypeScriptView Raw
1import { Handler, MiddlewareStack } from "./middleware";
2import { MetadataBearer } from "./response";
3export interface Command<ClientInput extends object, InputType extends ClientInput, ClientOutput extends MetadataBearer, OutputType extends ClientOutput, ResolvedConfiguration> {
4 readonly input: InputType;
5 readonly middlewareStack: MiddlewareStack<InputType, OutputType>;
6 resolveMiddleware(stack: MiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedConfiguration, options: any): Handler<InputType, OutputType>;
7}