Fetch the first maxBytes bytes of an S3 object as a UTF-8 string.
maxBytes
The backend reads the body using a range request, decodes with lossy UTF-8 (invalid bytes → U+FFFD), and returns a TextPayload.
TextPayload
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 a UTF-8 string.The backend reads the body using a range request, decodes with lossy UTF-8 (invalid bytes → U+FFFD), and returns a
TextPayload.