Edits history of script submission #108 for ' Upload text in bucket (s3)'

  • deno
    One script reply has been approved by the moderators
    Ap­pro­ved
    import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
    
    type S3 = {
      endPoint: string;
      port: number;
      useSSL: boolean;
      pathStyle: boolean;
      bucket: string;
      accessKey: string;
      secretKey: string;
      region: string;
    };
    export async function main(s3: S3, path: string, content: string) {
      return await new S3Client(s3).putObject(path, content);
    }
    

    Submitted by hugo697 373 days ago

  • deno
    import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
    
    type S3 = {
      endPoint: string;
      port: number;
      useSSL: boolean;
      pathStyle: boolean;
      bucket: string;
      accessKey: string;
      secretKey: string;
      region: string;
    };
    export async function main(s3: S3, path: string, content: string) {
      return await new S3Client(s3).putObject(path, content);
    }
    

    Submitted by admin 1005 days ago

  • deno
    import { S3Client } from "https://deno.land/x/[email protected]/mod.ts";
    
    type S3 = {
      endPoint: string;
      port: number;
      useSSL: boolean;
      pathStyle: boolean;
      bucket: string;
      accessKey: string;
      secretKey: string;
      region: string;
    };
    export async function main(
      s3: S3,
      path: string,
      content: string,
    ) {
      return await new S3Client(s3).putObject(path, content);
    }
    

    Submitted by admin 1008 days ago

  • deno
    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,
      content: string,
    ) {
      return await new S3Client(s3).putObject(path, content);
    }
    

    Submitted by adam186 1137 days ago

  • deno
    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,
      content: string,
    ) {
      return await new S3Client(s3).putObject(path, content);
    }
    

    Submitted by adam186 1172 days ago

  • deno
    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,
      content: string,
    ) {
      return await new S3Client(s3).putObject(path, content);
    }
    

    Submitted by admin 1367 days ago