import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
s3: wmill.Resource<"s3">,
path: string,
) {
return (await new S3Client(s3).getObject(path)).text();
}
Submitted by adam186 971 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
s3: wmill.Resource<"s3">,
path: string,
) {
return (await new S3Client(s3).getObject(path)).text();
}
Submitted by adam186 1006 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
s3: wmill.Resource<"s3">,
path: string,
) {
return (await new S3Client(s3).getObject(path)).text();
}
Submitted by admin 1202 days ago