S3 File Explorer
One script reply has been approved by the moderators Verified

Fetch, preview, upload and delete files from your AWS S3 bucket.

Created by adam186 377 days ago
Static preview only: No backend 
This is a static preview of the app and there is no backend. As such, the interactivity requiring script execution is non functional. To see the fully functional app, edit/run it in Windmil by clicking the button above.

Scripts used

import { Resource } from "https://deno.land/x/windmill@v1.85.0/mod.ts";
import { S3Client } from "https://deno.land/x/s3_lite_client@0.5.0/mod.ts";

export async function main(s3: Resource<"s3">, object_name: string) {
  const s3client = new S3Client(s3);
  return await s3client.deleteObject(object_name)