import * as wmill from "https://deno.land/x/windmill@v1.85.0/mod.ts";
import { S3Client } from "https://deno.land/x/s3_lite_client@0.2.0/mod.ts";
export async function main(
s3: wmill.Resource<"s3">,
path: string,
) {
return (await new S3Client(s3).getObject(path)).text();
}
Submitted by adam186 610 days ago
import * as wmill from "https://deno.land/x/windmill@v1.70.1/mod.ts";
import { S3Client } from "https://deno.land/x/s3_lite_client@0.2.0/mod.ts";
export async function main(
s3: wmill.Resource<"s3">,
path: string,
) {
return (await new S3Client(s3).getObject(path)).text();
}
Submitted by adam186 645 days ago
import * as wmill from "https://deno.land/x/windmill@v1.30.0/mod.ts";
import { S3Client } from "https://deno.land/x/s3_lite_client@0.2.0/mod.ts";
export async function main(
s3: wmill.Resource<"s3">,
path: string,
) {
return (await new S3Client(s3).getObject(path)).text();
}
Submitted by admin 840 days ago