I've been looking for a C/C++ interface to S3 and DynamoDB. I've found libaws
on sourceforge that supports S3 but not dynamodb, but doesn't look like its maintained. Any pointers?
I just came to the same crossroads myself. Unfortunately I couldn't find any reliable libraries so I'm writing it myself using POST as described:
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/MakingHTTPRequests.html
I set up a persistent, non-blocking socket connection with AWS. I POST with send(...) and listen for responses on the AWS socket using libev, sending the client's socket to the callback so I can respond directly to users from the callback. This replicates the non-blocking calls that some of the official SDKs use, like the one for Node.js.
If you want more clarification, feel free to e-mail me: chris specificsymbol rockingdayo punctuation com
For S3, there is libaws. You can also try and get the source code for WebStor, (link in the blog post), but I haven't tried that one.
DynamoDB will be tougher, as it is a newer service. Best bet is to follow Chris' suggestion and make the REST calls yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With