jkakar / aws-elixir

AWS clients for Elixir
Other
191 stars 0 forks source link

EC2 and S3? #15

Closed marick closed 8 years ago

marick commented 8 years ago

It seems that EC2 and S3 are missing from the generated modules. Was that intentional? (If so, might be good to update the README to note which parts of AWS are not supported.)

jkakar commented 8 years ago

Thanks for reaching out!

They're on my todo list. AWS services implement one of several protocols, such as json, rest-json, rest-xml, query, etc. So far, aws-codegen only has support for generating clients for services that use the json and rest-json protocols. The full list of supported services is described in the code generator (and I agree, putting this list in the README is a good idea).

The issue with the remaining protocols is that they produce and consume XML. I need to work out how to convert XML into a map and then back again. I don't think it's a really difficult problem, I just haven't made the time to focus on it. I've been spending the cycles I have for this project working on aws-erlang and getting it to feature parity with the Elixir code here. I suspect I'll end up focusing the implementation in Erlang and converting aws-elixir into a wrapper around aws-erlang.

marick commented 8 years ago

I'd offer to help, but I'm too much an Elixir newbie. I'll look forward to your new library and see what I can do with erlcloud in the meantime.

heri16 commented 8 years ago

Still awaiting S3 support for basic GetObject

jkakar commented 8 years ago

@heri16 Sorry, I haven't had time to give this project attention for quite awhile. If you have time to help, someone needs to sort out the XML-to-map and back again conversion issues.

heri16 commented 8 years ago

I beleive erlang OTP stack has a built-in XML library.

On Tuesday, 21 June 2016, Jamu Kakar notifications@github.com wrote:

@heri16 https://github.com/heri16 Sorry, I haven't had time to give this project attention for quite awhile. If you have time to help, someone needs to sort out the XML-to-map and back again conversion issues.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jkakar/aws-elixir/issues/15#issuecomment-227477762, or mute the thread https://github.com/notifications/unsubscribe/AAgK_RSg7jY8W4y6_V6HBd9k0IoICoj4ks5qOAOngaJpZM4Gmrud .