aws

2024-06-25T20:50:32.739379Z

I am seeing an error when trying to instantiate the aws client. My code is

(def chid (aws/client {:api :chime-sdk-identity}))
Upon evaluation, in my repl I see:
Syntax error (NoSuchFieldException) compiling . at (cognitect/http_client.clj:41:9).
getProperties
pretty strange. Here are some of my deps
{:deps {org.clojure/clojure {:mvn/version "1.11.3"}
        com.cognitect.aws/api {:mvn/version "0.8.692"}
        com.cognitect.aws/endpoints {:mvn/version "1.1.12.718"}
        com.cognitect.aws/chime {:mvn/version "848.2.1413.0", :aws/serviceFullName "Amazon Chime"}
        com.cognitect.aws/chime-sdk-identity {:mvn/version "848.2.1413.0",
                                              :aws/serviceFullName "Amazon Chime SDK Identity"}
        com.cognitect.aws/chime-sdk-messaging {:mvn/version "848.2.1413.0",
                                               :aws/serviceFullName "Amazon Chime SDK Messaging"}}

 :aliases
 {:dev {:extra-paths ["dev"]
        :extra-deps {com.biffweb/tasks {:git/url "",
                                        :git/tag "v1.8.10", :git/sha "146f2b1", :deps/root "libs/tasks"}}
        :jvm-opts ["-XX:-OmitStackTraceInFastThrow"
                   "-XX:+CrashOnOutOfMemoryError"
                   "-Dbiff.env.BIFF_PROFILE=dev"
                   "-Xmx2g"]
        :main-opts ["-m" "com.biffweb.task-runner" "tasks/tasks"]}}}

2024-06-25T20:54:10.837999Z

Likely a jetty http client version issue, check your transitive dependencies

2024-06-25T20:57:58.975059Z

Thank you.

2024-06-25T21:22:15.345809Z

I guess I will try this fix. https://github.com/tobias/cognitect-http-client

2024-06-25T22:35:11.064539Z

worked out