This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-22
Channels
- # adventofcode (12)
- # announcements (6)
- # aws (5)
- # babashka (57)
- # beginners (40)
- # calva (17)
- # clojure-europe (10)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (3)
- # clojuredesign-podcast (4)
- # cursive (3)
- # datomic (9)
- # etaoin (5)
- # fulcro (12)
- # hyperfiddle (42)
- # missionary (2)
- # off-topic (11)
- # reagent (6)
- # scittle (131)
- # squint (3)
- # tools-deps (4)
- # uncomplicate (1)
- # vscode (1)
Hi! I am writing a small aws S3 wrapper. I am facing issue with generating presigned url. I don't understand how to fix the endpoint not having https://.
url but something custom. As I did not find any method allowing that in S3Presignerbuilder
, I tried provide to my presigner a s3Client
built with (.endpointOverride my-uri)
.
(defn get-presigner [client region credentials]
(-> (S3Presigner/builder)
(.region (Region/of region))
(.credentialsProvider (-credentials-provider-v2 credentials))
;;the client below has endpoint override
(.s3Client client)
(.build)))
But this does modify the final presigned url.
Can somebody help me in order to set properly the endpoint and obtain a custom endpoint?instead of giving it an S3Client with endpointOverride, how about using S3Presigner.Builder.endpointOverride directly?
@U01BZRQA0ER below
is single L.
with double L it means something completely different: deep roar(ing)
https://www.dictionary.com/browse/bellow
🙏 1
@U086D6TBN, corrected, thanks.