summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkfine <>2017-11-03 18:42:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-11-03 18:42:00 (GMT)
commit29399625693bcfa23aecd8a2f0045ec7e911f9af (patch)
treece88d468dbd86902654927d347e815f256cd39d6
parent15f8d2d8fc8207db26efed746c0d23a206a4279c (diff)
version 0.3.300.3.30
-rw-r--r--src/Network/AWS/Wolf/Ctx.hs4
-rw-r--r--wolf.cabal2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Network/AWS/Wolf/Ctx.hs b/src/Network/AWS/Wolf/Ctx.hs
index e7fbd4b..c9d6270 100644
--- a/src/Network/AWS/Wolf/Ctx.hs
+++ b/src/Network/AWS/Wolf/Ctx.hs
@@ -81,9 +81,9 @@ runAmazonCtx :: MonadConf c m => TransT AmazonCtx m a -> m a
runAmazonCtx action = do
c <- view confCtx
#if MIN_VERSION_amazonka(1,4,5)
- e <- newEnv $ FromEnv "AWS_ACCESS_KEY_ID" "AWS_SECRET_ACCESS_KEY" mempty mempty
+ c <- newEnv Discover
#else
- e <- newEnv Oregon $ FromEnv "AWS_ACCESS_KEY_ID" "AWS_SECRET_ACCESS_KEY" mempty
+ c <- newEnv Oregon Discover
#endif
runBotTransT (AmazonCtx c e) action
diff --git a/wolf.cabal b/wolf.cabal
index e97687c..b2aeb64 100644
--- a/wolf.cabal
+++ b/wolf.cabal
@@ -1,5 +1,5 @@
name: wolf
-version: 0.3.29
+version: 0.3.30
synopsis: Amazon Simple Workflow Service Wrapper.
description: Wolf is a wrapper around Amazon Simple Workflow Service.
homepage: https://github.com/swift-nav/wolf