Fork me on GitHub
#aws
<
2020-01-02
>
kirill.salykin10:01:36

I am trying to use aws-api as the sts client, but it doesnt work, please advice what is wrong

(require '[cognitect.aws.client.api :as aws])
(def sts (aws/client {:api :sts}))
Cannot find resource cognitect/aws/sts/service.edn.

jaihindhreddy12:01:39

Did you add the artefact for STS to your deps.edn?

com.cognitect.aws/sts
 {:mvn/version "773.2.578.0", :aws/serviceFullName "AWS Security Token Service"}

jaihindhreddy12:01:03

You need to add one dependency per AWS service. You can find a list of all the latest ones here: https://github.com/cognitect-labs/aws-api/blob/master/latest-releases.edn

kirill.salykin12:01:27

oh, of course, makes sense thanks!

kirill.salykin12:01:36

(and of course I didnt)