This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-20
Channels
- # adventofcode (8)
- # aleph (2)
- # announcements (10)
- # aws (5)
- # aws-lambda (2)
- # babashka (23)
- # beginners (23)
- # biff (9)
- # calva (4)
- # cider (8)
- # clj-kondo (21)
- # clojure (77)
- # clojure-boston (1)
- # clojure-dev (50)
- # clojure-europe (36)
- # clojure-gamedev (3)
- # clojure-nl (1)
- # clojure-norway (3)
- # clojure-spec (33)
- # clojure-uk (3)
- # clojurescript (22)
- # core-async (3)
- # cursive (10)
- # datahike (18)
- # datalevin (1)
- # datascript (9)
- # deps-new (21)
- # emacs (11)
- # events (1)
- # graphql (11)
- # guix (26)
- # java (7)
- # jobs (3)
- # lsp (12)
- # malli (6)
- # pathom (33)
- # pedestal (3)
- # polylith (15)
- # reagent (5)
- # releases (3)
- # remote-jobs (1)
- # scittle (9)
- # sql (27)
- # tools-build (9)
- # vim (7)
I am using Pedestal and try to call AWS Cognito idp API with cognitect aws library. Created a User Pool at Cognito, and created new IAM user. I have set up the credential & config files at .aws directory. The AWS CLI call works just fine, and showing the User Pool Information as below: $$> aws cognito-idp list-user-pools --region us-west-1 --max-results 10 { "UserPools": [ { "Id": "us-west-1_uVhjybJkfk", "Name": "XXXXXX", "LambdaConfig": {}, "LastModifiedDate": "2023-01-19T23:09:55.977000-08:00", "CreationDate": "2023-01-19T23:09:55.977000-08:00" } ] } But the from the REPL using Cognitect API: (aws/invoke cognito-idp {:op :SignUp :request {:ClientId "XXXXXXXX" :Username "<mailto:[email protected]|[email protected]>" :Password "Password" :SecretHash (calculate-secret-hash {:client-id "-------" :client-secret "--------" :username "<mailto:[email protected]|[email protected]>"})}}) => {:type "ResourceNotFoundException", :message "User pool client XXXXXXX does not exist.", :cognitect.anomalies/category :cognitect.anomalies/incorrect} Any hints? Thanks in advance.
Are you sure the code version connects to us-west-1? How do you create cognito-idp in the REPL?
This question doesn't seem to be pedestal-related btw