packages feed

amazonka-config 0.3.4 → 0.3.5

raw patch · 9 files changed

+37/−9 lines, 9 filesdep ~amazonka-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

+ Network.AWS.Config.Types: NotApplicable :: DeliveryStatus
+ Network.AWS.Config.Types: instance Constructor C1_2DeliveryStatus

Files

amazonka-config.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-config-version:               0.3.4+version:               0.3.5 synopsis:              Amazon Config SDK. homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -55,5 +55,5 @@     other-modules:      build-depends:-          amazonka-core == 0.3.4.*+          amazonka-core == 0.3.5.*         , base          >= 4.7     && < 5
gen/Network/AWS/Config/DescribeConfigurationRecorderStatus.hs view
@@ -26,6 +26,8 @@ -- configuration recorder is not specified, this action returns the status of -- all configuration recorder associated with the account. --+-- Currently, you can specify only one configuration recorder per account.+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html> module Network.AWS.Config.DescribeConfigurationRecorderStatus     (
gen/Network/AWS/Config/DescribeConfigurationRecorders.hs view
@@ -26,6 +26,10 @@ -- recorder name is not specified, this action returns the names of all the -- configuration recorders associated with the account. --+-- Currently, you can specify only one configuration recorder per account.+--+--+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html> module Network.AWS.Config.DescribeConfigurationRecorders     (
gen/Network/AWS/Config/DescribeDeliveryChannelStatus.hs view
@@ -26,6 +26,8 @@ -- channel is not specified, this action returns the current status of all -- delivery channels associated with the account. --+-- Currently, you can specify only one delivery channel per account.+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_DescribeDeliveryChannelStatus.html> module Network.AWS.Config.DescribeDeliveryChannelStatus     (
gen/Network/AWS/Config/DescribeDeliveryChannels.hs view
@@ -26,6 +26,9 @@ -- is not specified, this action returns the details of all delivery channels -- associated with the account. --+-- Currently, you can specify only one delivery channel per account.+--+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_DescribeDeliveryChannels.html> module Network.AWS.Config.DescribeDeliveryChannels     (
gen/Network/AWS/Config/GetResourceConfigHistory.hs view
@@ -28,6 +28,12 @@ -- page. If a limit is specified, a 'nextToken' is returned as part of the result -- that you can use to continue this request. --+-- Each call to the API is limited to span a duration of seven days. It is+-- likely that the number of records returned is smaller than the specified 'limit'+-- . In such cases, you can make another call, using the 'nextToken' .+--+--+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_GetResourceConfigHistory.html> module Network.AWS.Config.GetResourceConfigHistory     (
gen/Network/AWS/Config/PutConfigurationRecorder.hs view
@@ -28,6 +28,10 @@ -- recorder. To change the role, call the action on the existing configuration -- recorder and specify a role. --+-- Currently, you can specify only one configuration recorder per account.+--+--+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html> module Network.AWS.Config.PutConfigurationRecorder     (
gen/Network/AWS/Config/PutDeliveryChannel.hs view
@@ -32,6 +32,10 @@ -- bucket or the SNS topic, this action will keep the existing value for the -- parameter that is not changed. --+-- Currently, you can specify only one delivery channel per account.+--+--+-- -- <http://docs.aws.amazon.com/config/latest/APIReference/API_PutDeliveryChannel.html> module Network.AWS.Config.PutDeliveryChannel     (
gen/Network/AWS/Config/Types.hs view
@@ -701,23 +701,26 @@         ]  data DeliveryStatus-    = Failure -- ^ Failure-    | Success -- ^ Success+    = Failure       -- ^ Failure+    | NotApplicable -- ^ Not_Applicable+    | Success       -- ^ Success       deriving (Eq, Ord, Read, Show, Generic, Enum)  instance Hashable DeliveryStatus  instance FromText DeliveryStatus where     parser = takeLowerText >>= \case-        "failure" -> pure Failure-        "success" -> pure Success-        e         -> fail $+        "failure"        -> pure Failure+        "not_applicable" -> pure NotApplicable+        "success"        -> pure Success+        e                -> fail $             "Failure parsing DeliveryStatus from " ++ show e  instance ToText DeliveryStatus where     toText = \case-        Failure -> "Failure"-        Success -> "Success"+        Failure       -> "Failure"+        NotApplicable -> "Not_Applicable"+        Success       -> "Success"  instance ToByteString DeliveryStatus instance ToHeader     DeliveryStatus