UNPKG

@aws-sdk/client-s3

Version:

AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native

20 lines (19 loc) 687 B
import { Command as $Command } from "@smithy/core/client"; import { getEndpointPlugin } from "@smithy/core/endpoints"; 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() { }