This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-31
Channels
- # aws (18)
- # babashka (35)
- # beginners (7)
- # cider (3)
- # clara (2)
- # clj-kondo (15)
- # cljs-dev (1)
- # cljsrn (3)
- # clojure (20)
- # clojure-canada (1)
- # clojure-dev (3)
- # clojure-spec (17)
- # clojure-uk (13)
- # clojutre (1)
- # cursive (7)
- # datomic (1)
- # duct (7)
- # fulcro (33)
- # helix (77)
- # jobs (3)
- # malli (15)
- # meander (3)
- # off-topic (30)
- # pathom (3)
- # quil (1)
- # reagent (1)
- # reitit (10)
- # shadow-cljs (2)
- # tools-deps (5)
- # xtdb (6)
- # yada (1)
Hi,
I am using cognitect/aws
library and trying to interact with sesv2
I keep getting the following errors when trying during the remote invoke
"cognitect.anomalies/category": "cognitect.anomalies/fault",
"cognitect.anomalies/message": "Unable to fetch credentials. See log for more details."
When trying to invoke it locally, I get the proper result What I am using is something like:
(def credentils (creds/profile-credentials-provider))
(def ses-client (aws/client {:region :us-east-1
:api :sesv2
:credentials-provider credentils}))
;; ...
(aws/invoke ses-client {:op {:SendMail ...}
:request {:.. }})
I double check my signature and I can also see that the
(aws/validate-request ses-client) ;;=> true
For both running locally, and remotely via the AWS Lambda
Anything that I may have missed?@agilecreativity do you have profile credentials in ~/.aws/config?