aws

http://status.aws.amazon.com/ https://www.expeditedssl.com/aws-in-plain-english
2019-01-01T21:47:03.001200Z

hey guys!!!

2019-01-01T21:47:34.001900Z

not sure whether someone has already played with the aws-api but I have a question related to the client configuration please!!

2019-01-01T21:48:56.003200Z

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)

2019-01-01T21:50:37.003300Z

Here it is from cognitect.aws.client.api

2019-01-01T21:51:29.003800Z

And here is the function implementation

2019-01-01T21:52:30.004700Z

the read-service-description function seems to be pointing to a file whose name is (str base-resource-path "/" service-name "/service.edn")

2019-01-01T21:52:57.005400Z

so for s3, it should be something like blabla/s3/service.edn ...though I couldn’t find any such file in the codebase

2019-01-01T21:53:15.006Z

does anyone know where i’m missing something please 😉

alexmiller 2019-01-01T22:22:00.007500Z

Using one of the services requires three libs - the api, the endpoints, and the service

alexmiller 2019-01-01T22:22:42.008500Z

Sounds to me like you have the first one but are missing one or both of the latter

2019-01-01T22:22:43.008600Z

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”]

alexmiller 2019-01-01T22:24:00.008800Z

Yes

2019-01-01T22:24:52.010200Z

I have them but somehow I have this weird behaviour, I will review my configuration first then 😉 I may have made a mistake

2019-01-01T22:24:56.010500Z

thanks a lot @alexmiller

alexmiller 2019-01-01T22:25:16.011Z

Those files that it’s trying to look up are in those jars

👍 1
alexmiller 2019-01-01T22:25:52.011900Z

I assume that you’re using lein from your dep definition

2019-01-01T22:26:07.012200Z

I do indeed

2019-01-01T22:26:27.012500Z

I am*

2019-01-01T22:26:50.012900Z

but is shouldn’t be a problem whether I use deps or lein right ?

alexmiller 2019-01-01T22:27:00.013200Z

Nope

alexmiller 2019-01-01T22:27:09.013700Z

Just making sure

alexmiller 2019-01-01T22:27:55.014800Z

Might be helpful to drop the code

2019-01-01T22:28:32.015500Z

good idea, I will ...give me a sec 😉

2019-01-01T22:30:20.015600Z

Here it is

2019-01-01T22:30:40.016100Z

oh jesus 😨

2019-01-01T22:31:22.016800Z

do I have to require something else by the way ?

2019-01-01T22:32:07.017100Z