it's a bit funny that there are so many sources of AWS API descriptions :D
Regarding the Cognitect aws-api. I need to pass https://docs.aws.amazon.com/cli/latest/reference/, to an aws client. Can use the :endpoint keyword?
(def kvmedia (aws/client {:api :kinesis-video-media :endpoint kvs-endpoint :credentials-provider (cred/profile-credentials-provider "devpl")}))
did you check the doc string?
yes: ) endpoint
it's not described in the doc string. The reason I am asking: I can successfully execute the call to kinesis-video-media with aws-CLI from the terminal. But the aws/invoke gives me headaches; I am getting an error which makes not much sense to me.
{:cognitect.anomalies/category :cognitect.anomalies/fault,
:cognitect.aws.client/throwable
#error
{:cause "JSON error (unexpected character): <",
:trace...
I see :endpoint-override in the doc string?
Does this mean there's a fault my client config, or aws/invoke or is it a bug in aws-cli? 🙂
it sounds to me like you're invoking the client with options that aren't documented and maybe don't exist, so without knowing more that sounds like an error in your code
I believe :endpoint as a key there is deprecated (which is why it's not doc'ed) and :endpoint-override is the documented support for this