amazonka-storagegateway 0.0.0 → 0.0.1
raw patch · 2 files changed
+10/−6 lines, 2 filesdep ~amazonka-corePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
+ Network.AWS.StorageGateway.Types: instance ToByteString ErrorCode
+ Network.AWS.StorageGateway.Types: instance ToHeader ErrorCode
+ Network.AWS.StorageGateway.Types: instance ToQuery ErrorCode
- Network.AWS.StorageGateway.Types: eErrorCode :: Lens' Error' (Maybe Text)
+ Network.AWS.StorageGateway.Types: eErrorCode :: Lens' Error' (Maybe ErrorCode)
Files
amazonka-storagegateway.cabal view
@@ -1,5 +1,5 @@ name: amazonka-storagegateway-version: 0.0.0+version: 0.0.1 synopsis: Amazon Storage Gateway SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -87,5 +87,5 @@ other-modules: build-depends:- amazonka-core- , base >= 4.7 && < 5+ amazonka-core == 0.0.1.*+ , base >= 4.7 && < 5
gen/Network/AWS/StorageGateway/Types.hs view
@@ -390,7 +390,7 @@ ] data Error' = Error'- { _eErrorCode :: Maybe Text+ { _eErrorCode :: Maybe ErrorCode , _eErrorDetails :: Map Text Text } deriving (Eq, Show) @@ -398,7 +398,7 @@ -- -- The fields accessible through corresponding lenses are: ----- * 'eErrorCode' @::@ 'Maybe' 'Text'+-- * 'eErrorCode' @::@ 'Maybe' 'ErrorCode' -- -- * 'eErrorDetails' @::@ 'HashMap' 'Text' 'Text' --@@ -409,7 +409,7 @@ } -- | Additional information about the error.-eErrorCode :: Lens' Error' (Maybe Text)+eErrorCode :: Lens' Error' (Maybe ErrorCode) eErrorCode = lens _eErrorCode (\s a -> s { _eErrorCode = a }) -- | Human-readable text that provides detail about the error that occurred.@@ -1101,6 +1101,10 @@ VolumeInUse -> "VolumeInUse" VolumeNotFound -> "VolumeNotFound" VolumeNotReady -> "VolumeNotReady"++instance ToByteString ErrorCode+instance ToHeader ErrorCode+instance ToQuery ErrorCode instance FromJSON ErrorCode where parseJSON = parseJSONText "ErrorCode"