brendanhay / amazonka

A comprehensive Amazon Web Services SDK for Haskell.
https://amazonka.brendanhay.nz
Other
599 stars 227 forks source link

Support STS Regional Endpoints #867

Open endgame opened 1 year ago

endgame commented 1 year ago

Currently lib/amazonka-core/src/Amazonka/Endpoint.hs hardcodes endpoints for STS; we probably want a boolean flag somewhere to toggle this (maybe like the s3AddressingStyle field in Service?).

arianvp commented 1 month ago

FWIW this is the standardised config option to toggle it: https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html