1import { PutObjectCommand } from '@aws-sdk/client-s3'2import { getS3Client } from '../serverF/getS3ClientF.mts'4export const putObject = async ({bucket_name, key, body}: {5 bucket_name: string, key: string, body: Buffer | Uint8Array | string6}) => {7 const s3 = getS3Client({bucket_name})8 await s3.send(new PutObjectCommand({Bucket: bucket_name, Key: key, Body: body}))9}