Skip to content
Adds convenient Amazon ElasticSearch Service authentication to Bloodhound.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Database/Bloodhound/Auth
test
.gitignore
.travis.yml
LICENSE
README.md
Setup.hs
bloodhound-amazonka-auth.cabal
changelog.md
stack.yaml

README.md

bloodhound-amazonka-auth

Build Status Hackage

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 }
You can’t perform that action at this time.