portkey-cloud / aws-clj-sdk

Clojure bindings for AWS
103 stars 12 forks source link

cljs (cljc) support #1

Open cgrand opened 7 years ago

arichiardi commented 7 years ago

I'd add lumo support as well, what would it take to get that? Will explore but any hint is more than welcome!

cgrand commented 7 years ago

As mentioned on the channel, we would need a common abstraction over json/xml (to come), http client, signing (include/fork/contribute to aws-sig4? for S3, I'll have to modify aws-sig4).

I implemented an async http-client, that should give you inspiration for cljs.

kahunamoore commented 7 years ago

Is the plan to for this be a separate cljs port or will it be cljc (eventually)? I’m up for helping either way.

cgrand commented 7 years ago

Cljc. Generated code should be mostly reader-conditional-free cljc. Awsgen can stay in Clojure. Aws.clj is where most platform adherence is.

arichiardi commented 7 years ago

The simplest thing we could do is to have a different function for the actual network call. If what goes is in is json already we are good to go.

cgrand commented 7 years ago

Networking and signing. XML coming next (S3).