UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

17 lines (16 loc) 587 B
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { Command as $Command } from "@smithy/smithy-client"; import { commonParams } from "../endpoint/EndpointParameters"; import { Invoke } from "../schemas/schemas_0"; export { $Command }; export class InvokeCommand extends $Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSGirApiService", "Invoke", {}) .n("LambdaClient", "InvokeCommand") .sc(Invoke) .build() { }