upload

open suspend override fun upload(data: ByteArray, objectId: String): String

Uploads a blob to AWS S3.

Return

AWS S3 key representing the location of the blob.

Parameters

data

blob as ByteArray.

objectId

Unique ID for the blob.