@hackage bloodhound-amazonka-auth0.1.2.1
Adds convenient Amazon ElasticSearch Service authentication to Bloodhound.
Categories
License
BSD-3-Clause
Maintainer
michael@michaelxavier.net
Links
Versions
Installation
Dependencies (10)
- amazonka-core >=1.3.0
- amazonka-elasticsearch >=1.3.6
- base >=4.7 && <5
- bloodhound >=0.11
- exceptions
- http-client Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
lib-werror(off by default)
bloodhound-amazonka-auth
Adds convenient Amazon ElasticSearch Service authentication to Bloodhound.
Usage
env <- newEnv region Discover
let auth = env ^. envAuth
let hook req = withAuth auth $ ae ->
either (liftIO . throwIO) return =<< amazonkaAuthHook ae region req
mgr <- newManager tlsManagerSettings
let bhe = (mkBHEnv server mgr) { bhRequestHook = hook }