amazonka-ses 0.1.3 → 0.1.4
raw patch · 2 files changed
+15/−15 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-ses.cabal +2/−2
- gen/Network/AWS/SES/Types.hs +13/−13
amazonka-ses.cabal view
@@ -1,5 +1,5 @@ name: amazonka-ses-version: 0.1.3+version: 0.1.4 synopsis: Amazon Simple Email Service SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -64,5 +64,5 @@ other-modules: build-depends:- amazonka-core == 0.1.3.*+ amazonka-core == 0.1.4.* , base >= 4.7 && < 5
gen/Network/AWS/SES/Types.hs view
@@ -424,9 +424,9 @@ instance Hashable IdentityType instance FromText IdentityType where- parser = takeText >>= \case- "Domain" -> pure ITDomain- "EmailAddress" -> pure ITEmailAddress+ parser = takeLowerText >>= \case+ "domain" -> pure ITDomain+ "emailaddress" -> pure ITEmailAddress e -> fail $ "Failure parsing IdentityType from " ++ show e @@ -596,10 +596,10 @@ instance Hashable NotificationType instance FromText NotificationType where- parser = takeText >>= \case- "Bounce" -> pure Bounce- "Complaint" -> pure Complaint- "Delivery" -> pure Delivery+ parser = takeLowerText >>= \case+ "bounce" -> pure Bounce+ "complaint" -> pure Complaint+ "delivery" -> pure Delivery e -> fail $ "Failure parsing NotificationType from " ++ show e @@ -627,12 +627,12 @@ instance Hashable VerificationStatus instance FromText VerificationStatus where- parser = takeText >>= \case- "Failed" -> pure Failed- "NotStarted" -> pure NotStarted- "Pending" -> pure Pending- "Success" -> pure Success- "TemporaryFailure" -> pure TemporaryFailure+ parser = takeLowerText >>= \case+ "failed" -> pure Failed+ "notstarted" -> pure NotStarted+ "pending" -> pure Pending+ "success" -> pure Success+ "temporaryfailure" -> pure TemporaryFailure e -> fail $ "Failure parsing VerificationStatus from " ++ show e