bloodhound-amazonka-auth: Adds convenient Amazon ElasticSearch Service authentication to Bloodhound.

[ bsd3, library, web ] [ Propose Tags ]

Please see README.md


[Skip to Readme]
Versions 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1
Change log changelog.md
Dependencies amazonka-core (>=1.3.0), amazonka-elasticsearch (>=1.3.6), base (>=4.7 && <5), bloodhound (>=0.11), exceptions, http-client, http-types, time, transformers, uri-bytestring [details]
License BSD-3-Clause
Copyright 2015 Michael Xavier
Author Michael Xavier
Maintainer michael@michaelxavier.net
Category Web
Home page http://github.com/MichaelXavier/bloodhound-amazonka-auth#readme
Source repo head: git clone https://github.com/MichaelXavier/bloodhound-amazonka-auth
Uploaded by MichaelXavier at Mon Apr 30 20:45:56 UTC 2018
Distributions NixOS:0.1.2.1
Downloads 802 total (19 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-30 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
lib-werrorDisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for bloodhound-amazonka-auth-0.1.2.1

[back to package description]

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 }