aws

http://status.aws.amazon.com/ https://www.expeditedssl.com/aws-in-plain-english
souenzzo 2020-06-16T13:24:33.283500Z

there is some lib/docs about how to reify / mock aws clients?

2020-06-16T16:06:21.283800Z

Do you mean in aws-api?

2020-06-16T16:08:15.284Z

Assuming you do, there is no specific support for doing that, so no docs. What are you trying to do?

2020-06-16T16:18:24.285100Z

^^ @souenzzo

souenzzo 2020-06-16T16:25:09.285300Z

I started with (aws/invoke (reify .... {:successId 42}) {:op :DoThing}) ;;=> {:successId 42} and I see that it's possible to mock out everything but i ran out of time I will try again this night. tnks 🙂

2020-06-16T19:49:35.285500Z

I still don't understand what you're trying to do. Why not just use a client as/is? Is this for testing?

souenzzo 2020-06-16T19:58:24.285700Z

Yep, for "offline" testing

2020-06-16T21:22:54.285900Z

Why not just use with-redefs?

2020-06-16T21:35:27.286100Z

I'm assuming that you're reifying ClientSPI, but that's internal and subject to (read: likely to) change. Until there's a documented seam for what you're doing you'll be safer with with-redefs (unless you're tests are concerned w/ thread safety, in which case 🤷 ).