Load the content of a file stored in S3. If the s3ResourcePath is undefined, it will default to the workspace S3 resource.
letfileContent = awaitwmill.loadS3FileContent(inputFile) // if the file is a raw text file, it can be decoded and printed directly: consttext = newTextDecoder().decode(fileContentStream) console.log(text);
Load the content of a file stored in S3. If the s3ResourcePath is undefined, it will default to the workspace S3 resource.