Fork me on GitHub
#aws
<
2022-09-05
>
greg23:09:38

I'm looking at the https://github.com/cognitect-labs/aws-api/ on github and I can't find the bits responsible for parsing https://github.com/aws/aws-sdk-js and processing it into specs definitions. Is it part of https://github.com/cognitect-labs/aws-api/ or is it somewhere else?

Alex Miller (Clojure team)23:09:14

The generator is not open source

greg23:09:27

Oh ok, thanks

greg00:09:17

I was looking for inspiration and examples how to build this type of library. I thought about making something similar for terraform providers. It is possible to https://www.terraform.io/cli/commands/providers/schema for a provider to json, so it looked like a very similar use case. For every terraform provider out there, we could have a spec definitions auto-generated from these jsons. Just an idea.

lispyclouds06:09:16

@U023TQF5FM3 you could also have a look at a lib I made on similar ideas: https://github.com/lispyclouds/contajners Specially this part: https://github.com/lispyclouds/contajners/tree/main/fetch_api

👍 1
kenny13:09:14

If you're just interested in generating Clojure Specs from the AWS smithy files, this might be of interest to you https://github.com/kennyjwilli/smithy-spec

👍 1