@hackage / bloodhound-amazonka-auth

Adds convenient Amazon ElasticSearch Service authentication to Bloodhound.

Latest0.1.2.1

About

Metadata

  • Last updated , by MichaelXavier
  • License BSD-3-Clause
  • Categories Web Development
  • Maintained by: michael@michaelxavier.net

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    lib-werror (off by default)

Readme

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 }