hey guys!!!
not sure whether someone has already played with the aws-api but I have a question related to the client configuration please!!
while trying to configure an s3 client (based on the example on github), it seems that at some point, the lib is trying to look for a service description (an edn file according to the code)
Here it is from cognitect.aws.client.api
And here is the function implementation
the read-service-description
function seems to be pointing to a file whose name is (str base-resource-path "/" service-name "/service.edn")
so for s3, it should be something like blabla/s3/service.edn
...though I couldn’t find any such file in the codebase
does anyone know where i’m missing something please 😉
Using one of the services requires three libs - the api, the endpoints, and the service
Sounds to me like you have the first one but are missing one or both of the latter
these 3 right ? [com.cognitect.aws/api “0.8.166”] [com.cognitect.aws/endpoints “1.1.11.475"] [com.cognitect.aws/s3 “680.2.370.0”]
Yes
I have them but somehow I have this weird behaviour, I will review my configuration first then 😉 I may have made a mistake
thanks a lot @alexmiller
Those files that it’s trying to look up are in those jars
I assume that you’re using lein from your dep definition
I do indeed
I am*
but is shouldn’t be a problem whether I use deps or lein right ?
Nope
Just making sure
Might be helpful to drop the code
good idea, I will ...give me a sec 😉
Here it is
oh jesus 😨
do I have to require
something else by the way ?