UNPKG

@smithy/middleware-endpoint

Version:

[![NPM version](https://img.shields.io/npm/v/@smithy/middleware-endpoint/latest.svg)](https://www.npmjs.com/package/@smithy/middleware-endpoint) [![NPM downloads](https://img.shields.io/npm/dm/@smithy/middleware-endpoint.svg)](https://www.npmjs.com/packag

42 lines (41 loc) 899 B
/** * @internal */ export interface EndpointParameterInstructions { [name: string]: BuiltInParamInstruction | ClientContextParamInstruction | StaticContextParamInstruction | ContextParamInstruction | OperationContextParamInstruction; } /** * @internal */ export interface BuiltInParamInstruction { type: "builtInParams"; name: string; } /** * @internal */ export interface ClientContextParamInstruction { type: "clientContextParams"; name: string; } /** * @internal */ export interface StaticContextParamInstruction { type: "staticContextParams"; value: string | boolean; } /** * @internal */ export interface ContextParamInstruction { type: "contextParams"; name: string; } /** * @internal */ export interface OperationContextParamInstruction { type: "operationContextParams"; get(input: any): any; }