Skip to content

MichaelXavier/bloodhound-amazonka-auth

Repository files navigation

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 }

About

Adds convenient Amazon ElasticSearch Service authentication to Bloodhound.

Resources

License

Stars

Watchers

Forks

Packages

No packages published