Interface InvokeFunction<InputTypes, OutputTypes, ResolvedClientConfiguration>
Type parameters
-
InputTypes: object
-
OutputTypes: MetadataBearer
-
ResolvedClientConfiguration
Callable
- __call<InputType, OutputType>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: any): Promise<OutputType>
- __call<InputType, OutputType>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options: any, cb: (err: any, data?: OutputType) => void): void
- __call<InputType, OutputType>(command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>, options?: any, cb?: undefined | ((err: any, data?: OutputType) => void)): Promise<OutputType> | void
-
Type parameters
-
InputType: InputTypes
-
OutputType: OutputTypes
Parameters
-
command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>
-
Optional options: any
Returns Promise<OutputType>
-
Type parameters
-
InputType: InputTypes
-
OutputType: OutputTypes
Parameters
-
command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>
-
options: any
-
cb: (err: any, data?: OutputType) => void
Returns void
-
Type parameters
-
InputType: InputTypes
-
OutputType: OutputTypes
Parameters
-
command: Command<InputTypes, InputType, OutputTypes, OutputType, ResolvedClientConfiguration>
-
Optional options: any
-
Optional cb: undefined | ((err: any, data?: OutputType) => void)
Returns Promise<OutputType> | void
function definition for different overrides of client's 'send' function.