Has anyone managed to get the AWS Javascript SDK (...
# suitescript
s
Has anyone managed to get the AWS Javascript SDK (version 3+) working in SuiteScript?
e
Are you trying to generate the correct AWS signature?
s
I'm trying to use the entire official Amazon provided SDK from SuiteScript server side code 🙂
i.e. the SDK should handle all the details of auth - I'm hoping to avoid hand crafting my own
c
Wanting to do the same thing with Google Cloud but the library provided is for Node and not AMD compatible. Would love to know if you figure out getting the AWS SDK to work
b
probably easier to hand craft
you can take a look at https://github.com/icarebenefits/aws-sdk-suitescript to see what it takes to change the sdk to work with suitescript
e
The only really "difficult" part is generating the AWS signature. All the other steps prior to generating that signature are pretty much easy to craft.
s
Thanks @battk but unfortunately that github project looks like the old one (major version 2,)
b
its not to use, its to estimate what you would need to do to make the changes
s
version 3 is unfortunately a major overhaul. I actually did this back in SS1.0 days with the older library. The effort is more complex today in the V3 + SS2.1 world. Just wondering if anyone here has already tried to tackle it - success or failure.