naystack - v1.9.9
    Preparing search index...

    Function uploadBlob

    • Uploads a Blob or File to S3 at the given key with public-read ACL.

      Parameters

      • file: Blob | File

        The Blob or File to upload.

      • key: string

        The S3 object key.

      • Optionaloverrides: PutOverrides

        Fields to set on the put, spread over the defaults below. See PutOverrides.

      Returns Promise<PutObjectCommandOutput | undefined>

      The PutObjectCommandOutput from S3.