bloodhound-amazonka-auth

Adds convenient Amazon ElasticSearch Service authentication to Bloodhound. http://github.com/MichaelXavier/bloodhound-amazonka-auth#readme

Latest on Hackage:0.1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Michael Xavier

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 }

Changes

0.1.1.0 Worked around seemingly a bug in V4 signatures with AWS ES service with paths that needed encoding. This comes up if you make authenticated requests with index patterns, e.g. /foo/. They would previously fail to authenticate.

0.1.0.0 * Initial release

comments powered byDisqus