aws-lambda-stream
aws-lambda-stream copied to clipboard
[feature request] S3Connector#getObject - need an option to choose how to transform `Body`
Right now it transforms with transformToString()
I need to use .transformToByteArray() instead
(transforming string to byte array doesn't give same result as when transforming with transformToByteArray() from the start)
I think it shouldn't be hardcoded and there should be an option to choose how to transform.
Right now I don't have a great idea about the API, but it's clear that it should be possible to pass this option from a rule, through getObjectFromS3 query, down to the Connector