- Working on this in
Make a project and install the skd:
mkdir some_thing cd some_thing npm init -i # fill stuff out yarn add @aws-sdk/client-s3
echo 'console.log("Hello, World")' > index.js
In boto3 in python, you install a single module and get access to all the services. Here, AWS has setup to split each module to its own thing.
Look at this one for a sample for a test file: https://github.com/aws/aws-sdk-js-v3/issues/1877 - But thinking why not just always do it the same with binary so you don't have to worry about making a switch
https://stackoverflow.com/questions/43799246/s3-getobject-createreadstream-how-to-catch-the-error - see if this is V2 or V3 (I think it's 2)