packages feed

amazonka 0.2.1 → 0.2.2

raw patch · 2 files changed

+5/−3 lines, 2 filesdep ~amazonka-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

Files

amazonka.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-version:               0.2.1+version:               0.2.2 synopsis:              Comprehensive Amazon Web Services SDK homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -41,7 +41,7 @@         , Network.AWS.Internal.Retry      build-depends:-          amazonka-core     == 0.2.1.*+          amazonka-core     == 0.2.2.*         , base              >= 4.7     && < 5         , bytestring        >= 0.9         , conduit           >= 1.1     && < 1.3
src/Control/Monad/Trans/AWS.hs view
@@ -281,7 +281,9 @@ -- | Scope a monadic action such that any retry logic for the 'Service' is -- ignored and any requests will at most be sent once. once :: MonadReader Env m => m a -> m a-once = local (envRetryPolicy ?~ limitRetries 0)+once = local $ \e ->+    e & envRetryPolicy ?~ limitRetries 0+      & envRetryCheck  .~ (\_ _ -> return False)  -- | Send a data type which is an instance of 'AWSRequest', returning it's -- associated 'Rs' response type.