import * as wmill from 'windmill-client';
import { S3Object } from 'windmill-client';
export async function main(s3_file_path: string, file_content: string) {
const s3_file_output: S3Object = {
s3: s3_file_path
};
// file_content can be either a string or ReadableStream<Uint8Array>
await wmill.writeS3File(s3_file_output, file_content);
return s3_file_output;
}
Submitted by jansteinark898 14 days ago