UNPKG

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