aws

greg 2022-09-05T23:55:38.632749Z

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?

kenny 2022-09-06T13:33:14.364399Z

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
Alex Miller (Clojure team) 2022-09-05T23:56:14.342759Z

The generator is not open source

greg 2022-09-05T23:58:27.451789Z

Oh ok, thanks

greg 2022-09-06T00:05:17.627639Z

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.

Drew Verlee 2022-09-06T06:30:12.746989Z

Look at the k8s clojure api. @grzegorz.rynkowski https://github.com/nubank/k8s-api

👍 1
lispyclouds 2022-09-06T06:37:16.417949Z

@grzegorz.rynkowski 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