brendanhay / amazonka

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

Colons in error headers #830

Closed endgame closed 2 years ago

endgame commented 2 years ago

Fixes #808

endgame commented 2 years ago

@debug-ito: Can you please test whether this works for you? It looked good to me in a REPL.

debug-ito commented 2 years ago

Thanks. I'll try it.

debug-ito commented 2 years ago

I'm testing this branch, but the compiler complains that there is no FromKeys data constructor in Amazonka module. However, it's described in this document https://amazonka.brendanhay.nz/docs/libZSamazonkaZSamazonka/Amazonka.html#t:Credentials

Is there any up-to-date online documents on amazonka API?

endgame commented 2 years ago

Unfortunately the CI job which updates that documentation site is broken, something to do with credentials. Only @brendanhay can fix that.

A migration guide for the authentication subsystem is in amazonka's CHANGELOG.md, and you can see the auth modules in lib/amazonka/src/Amazonka/Auth/. The relevant parts are re-exported from module Amazonka.Auth.

debug-ito commented 2 years ago

Thanks! The migration guide is very helpful.

debug-ito commented 2 years ago

I used IoT._ResourceNotFoundException and it successfully caught the exception. #808 is fixed.