amazonka-kinesis 0.1.3 → 0.1.4
raw patch · 2 files changed
+12/−12 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-kinesis.cabal +2/−2
- gen/Network/AWS/Kinesis/Types.hs +10/−10
amazonka-kinesis.cabal view
@@ -1,5 +1,5 @@ name: amazonka-kinesis-version: 0.1.3+version: 0.1.4 synopsis: Amazon Kinesis SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -55,5 +55,5 @@ other-modules: build-depends:- amazonka-core == 0.1.3.*+ amazonka-core == 0.1.4.* , base >= 4.7 && < 5
gen/Network/AWS/Kinesis/Types.hs view
@@ -470,11 +470,11 @@ instance Hashable StreamStatus instance FromText StreamStatus where- parser = takeText >>= \case- "ACTIVE" -> pure Active- "CREATING" -> pure Creating- "DELETING" -> pure Deleting- "UPDATING" -> pure Updating+ parser = takeLowerText >>= \case+ "active" -> pure Active+ "creating" -> pure Creating+ "deleting" -> pure Deleting+ "updating" -> pure Updating e -> fail $ "Failure parsing StreamStatus from " ++ show e @@ -643,11 +643,11 @@ instance Hashable ShardIteratorType instance FromText ShardIteratorType where- parser = takeText >>= \case- "AFTER_SEQUENCE_NUMBER" -> pure AfterSequenceNumber- "AT_SEQUENCE_NUMBER" -> pure AtSequenceNumber- "LATEST" -> pure Latest- "TRIM_HORIZON" -> pure TrimHorizon+ parser = takeLowerText >>= \case+ "after_sequence_number" -> pure AfterSequenceNumber+ "at_sequence_number" -> pure AtSequenceNumber+ "latest" -> pure Latest+ "trim_horizon" -> pure TrimHorizon e -> fail $ "Failure parsing ShardIteratorType from " ++ show e