packages feed

antiope-s3 6.0.1 → 6.0.2

raw patch · 2 files changed

+13/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Antiope.S3: lsBucketResponseStream :: MonadAWS m => ListObjectsV2 -> ConduitM a ListObjectsV2Response m ()

Files

antiope-s3.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 50906432a72f329fac6e445be19a211a8f7455549afcacae337ea11c97c1489d+-- hash: f00bb2bf467fa6bce7f0b14ea41b95633520a912a4753bf0116ab7e2f2576b34  name:           antiope-s3-version:        6.0.1+version:        6.0.2 description:    Please see the README on Github at <https://github.com/arbor/antiope#readme> category:       Services homepage:       https://github.com/arbor/antiope#readme
src/Antiope/S3.hs view
@@ -10,6 +10,7 @@ , copySingle , fromS3Uri , toS3Uri+, lsBucketResponseStream , lsBucketStream , Region(..) , BucketName(..)@@ -139,10 +140,18 @@       Just True -> Just $ nextPageReq req resp       _         -> Nothing --- | Streams the entire set of results (i.e. all pages) of a ListObjectsV2+-- | Streams all pages of the result (ListObjectsV2Responses) of a ListObjectsV2 -- request from S3.+-- lsBucketResponseStream :: MonadAWS m => ListObjectsV2 -> ConduitT i ListObjectsV2Response m ()+lsBucketResponseStream :: MonadAWS m+  => ListObjectsV2+  -> ConduitM a ListObjectsV2Response m ()+lsBucketResponseStream bar = unfoldM lsBucketPage (Just bar)++-- | Streams all Objects from all pages of the result of a ListObjectsV2+-- request from S3. -- lsBucketStream :: MonadAWS m => ListObjectsV2 -> ConduitT i Object m () lsBucketStream :: MonadAWS m   => ListObjectsV2   -> ConduitM a Object m ()-lsBucketStream bar = unfoldM lsBucketPage (Just bar) .| CC.concatMap (^. lovrsContents)+lsBucketStream bar = lsBucketResponseStream bar .| CC.concatMap (^. lovrsContents)