Fetch the first maxBytes bytes of an S3 object as base64-encoded binary.
maxBytes
The frontend decodes with: Uint8Array.from(atob(payload.body), c => c.charCodeAt(0))
Uint8Array.from(atob(payload.body), c => c.charCodeAt(0))
The profile whose credentials to use.
The bucket name.
The full S3 key of the object.
Optional
Maximum bytes to return. Defaults to 1 MB on the backend.
Fetch the first
maxBytesbytes of an S3 object as base64-encoded binary.The frontend decodes with:
Uint8Array.from(atob(payload.body), c => c.charCodeAt(0))