UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

20 lines (19 loc) 692 B
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { Command as $Command } from "@smithy/smithy-client"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetObjectTorrent } from "../schemas/schemas_0"; export { $Command }; export class GetObjectTorrentCommand extends $Command .classBuilder() .ep({ ...commonParams, Bucket: { type: "contextParams", name: "Bucket" }, }) .m(function (Command, cs, config, o) { return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AmazonS3", "GetObjectTorrent", {}) .n("S3Client", "GetObjectTorrentCommand") .sc(GetObjectTorrent) .build() { }