diff --git a/amazonka-storagegateway.cabal b/amazonka-storagegateway.cabal
--- a/amazonka-storagegateway.cabal
+++ b/amazonka-storagegateway.cabal
@@ -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
diff --git a/gen/Network/AWS/StorageGateway/Types.hs b/gen/Network/AWS/StorageGateway/Types.hs
--- a/gen/Network/AWS/StorageGateway/Types.hs
+++ b/gen/Network/AWS/StorageGateway/Types.hs
@@ -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"
