{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CloudDirectory.UpgradeAppliedSchema
(
UpgradeAppliedSchema (..),
newUpgradeAppliedSchema,
upgradeAppliedSchema_dryRun,
upgradeAppliedSchema_publishedSchemaArn,
upgradeAppliedSchema_directoryArn,
UpgradeAppliedSchemaResponse (..),
newUpgradeAppliedSchemaResponse,
upgradeAppliedSchemaResponse_directoryArn,
upgradeAppliedSchemaResponse_upgradedSchemaArn,
upgradeAppliedSchemaResponse_httpStatus,
)
where
import Amazonka.CloudDirectory.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data UpgradeAppliedSchema = UpgradeAppliedSchema'
{
UpgradeAppliedSchema -> Maybe Bool
dryRun :: Prelude.Maybe Prelude.Bool,
UpgradeAppliedSchema -> Text
publishedSchemaArn :: Prelude.Text,
UpgradeAppliedSchema -> Text
directoryArn :: Prelude.Text
}
deriving (UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool
(UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool)
-> (UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool)
-> Eq UpgradeAppliedSchema
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool
$c/= :: UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool
== :: UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool
$c== :: UpgradeAppliedSchema -> UpgradeAppliedSchema -> Bool
Prelude.Eq, ReadPrec [UpgradeAppliedSchema]
ReadPrec UpgradeAppliedSchema
Int -> ReadS UpgradeAppliedSchema
ReadS [UpgradeAppliedSchema]
(Int -> ReadS UpgradeAppliedSchema)
-> ReadS [UpgradeAppliedSchema]
-> ReadPrec UpgradeAppliedSchema
-> ReadPrec [UpgradeAppliedSchema]
-> Read UpgradeAppliedSchema
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpgradeAppliedSchema]
$creadListPrec :: ReadPrec [UpgradeAppliedSchema]
readPrec :: ReadPrec UpgradeAppliedSchema
$creadPrec :: ReadPrec UpgradeAppliedSchema
readList :: ReadS [UpgradeAppliedSchema]
$creadList :: ReadS [UpgradeAppliedSchema]
readsPrec :: Int -> ReadS UpgradeAppliedSchema
$creadsPrec :: Int -> ReadS UpgradeAppliedSchema
Prelude.Read, Int -> UpgradeAppliedSchema -> ShowS
[UpgradeAppliedSchema] -> ShowS
UpgradeAppliedSchema -> String
(Int -> UpgradeAppliedSchema -> ShowS)
-> (UpgradeAppliedSchema -> String)
-> ([UpgradeAppliedSchema] -> ShowS)
-> Show UpgradeAppliedSchema
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpgradeAppliedSchema] -> ShowS
$cshowList :: [UpgradeAppliedSchema] -> ShowS
show :: UpgradeAppliedSchema -> String
$cshow :: UpgradeAppliedSchema -> String
showsPrec :: Int -> UpgradeAppliedSchema -> ShowS
$cshowsPrec :: Int -> UpgradeAppliedSchema -> ShowS
Prelude.Show, (forall x. UpgradeAppliedSchema -> Rep UpgradeAppliedSchema x)
-> (forall x. Rep UpgradeAppliedSchema x -> UpgradeAppliedSchema)
-> Generic UpgradeAppliedSchema
forall x. Rep UpgradeAppliedSchema x -> UpgradeAppliedSchema
forall x. UpgradeAppliedSchema -> Rep UpgradeAppliedSchema x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpgradeAppliedSchema x -> UpgradeAppliedSchema
$cfrom :: forall x. UpgradeAppliedSchema -> Rep UpgradeAppliedSchema x
Prelude.Generic)
newUpgradeAppliedSchema ::
Prelude.Text ->
Prelude.Text ->
UpgradeAppliedSchema
newUpgradeAppliedSchema :: Text -> Text -> UpgradeAppliedSchema
newUpgradeAppliedSchema
Text
pPublishedSchemaArn_
Text
pDirectoryArn_ =
UpgradeAppliedSchema' :: Maybe Bool -> Text -> Text -> UpgradeAppliedSchema
UpgradeAppliedSchema'
{ $sel:dryRun:UpgradeAppliedSchema' :: Maybe Bool
dryRun = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:publishedSchemaArn:UpgradeAppliedSchema' :: Text
publishedSchemaArn = Text
pPublishedSchemaArn_,
$sel:directoryArn:UpgradeAppliedSchema' :: Text
directoryArn = Text
pDirectoryArn_
}
upgradeAppliedSchema_dryRun :: Lens.Lens' UpgradeAppliedSchema (Prelude.Maybe Prelude.Bool)
upgradeAppliedSchema_dryRun :: (Maybe Bool -> f (Maybe Bool))
-> UpgradeAppliedSchema -> f UpgradeAppliedSchema
upgradeAppliedSchema_dryRun = (UpgradeAppliedSchema -> Maybe Bool)
-> (UpgradeAppliedSchema -> Maybe Bool -> UpgradeAppliedSchema)
-> Lens
UpgradeAppliedSchema UpgradeAppliedSchema (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpgradeAppliedSchema' {Maybe Bool
dryRun :: Maybe Bool
$sel:dryRun:UpgradeAppliedSchema' :: UpgradeAppliedSchema -> Maybe Bool
dryRun} -> Maybe Bool
dryRun) (\s :: UpgradeAppliedSchema
s@UpgradeAppliedSchema' {} Maybe Bool
a -> UpgradeAppliedSchema
s {$sel:dryRun:UpgradeAppliedSchema' :: Maybe Bool
dryRun = Maybe Bool
a} :: UpgradeAppliedSchema)
upgradeAppliedSchema_publishedSchemaArn :: Lens.Lens' UpgradeAppliedSchema Prelude.Text
upgradeAppliedSchema_publishedSchemaArn :: (Text -> f Text) -> UpgradeAppliedSchema -> f UpgradeAppliedSchema
upgradeAppliedSchema_publishedSchemaArn = (UpgradeAppliedSchema -> Text)
-> (UpgradeAppliedSchema -> Text -> UpgradeAppliedSchema)
-> Lens UpgradeAppliedSchema UpgradeAppliedSchema Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpgradeAppliedSchema' {Text
publishedSchemaArn :: Text
$sel:publishedSchemaArn:UpgradeAppliedSchema' :: UpgradeAppliedSchema -> Text
publishedSchemaArn} -> Text
publishedSchemaArn) (\s :: UpgradeAppliedSchema
s@UpgradeAppliedSchema' {} Text
a -> UpgradeAppliedSchema
s {$sel:publishedSchemaArn:UpgradeAppliedSchema' :: Text
publishedSchemaArn = Text
a} :: UpgradeAppliedSchema)
upgradeAppliedSchema_directoryArn :: Lens.Lens' UpgradeAppliedSchema Prelude.Text
upgradeAppliedSchema_directoryArn :: (Text -> f Text) -> UpgradeAppliedSchema -> f UpgradeAppliedSchema
upgradeAppliedSchema_directoryArn = (UpgradeAppliedSchema -> Text)
-> (UpgradeAppliedSchema -> Text -> UpgradeAppliedSchema)
-> Lens UpgradeAppliedSchema UpgradeAppliedSchema Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpgradeAppliedSchema' {Text
directoryArn :: Text
$sel:directoryArn:UpgradeAppliedSchema' :: UpgradeAppliedSchema -> Text
directoryArn} -> Text
directoryArn) (\s :: UpgradeAppliedSchema
s@UpgradeAppliedSchema' {} Text
a -> UpgradeAppliedSchema
s {$sel:directoryArn:UpgradeAppliedSchema' :: Text
directoryArn = Text
a} :: UpgradeAppliedSchema)
instance Core.AWSRequest UpgradeAppliedSchema where
type
AWSResponse UpgradeAppliedSchema =
UpgradeAppliedSchemaResponse
request :: UpgradeAppliedSchema -> Request UpgradeAppliedSchema
request = Service -> UpgradeAppliedSchema -> Request UpgradeAppliedSchema
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpgradeAppliedSchema
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpgradeAppliedSchema)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpgradeAppliedSchema))
-> Logger
-> Service
-> Proxy UpgradeAppliedSchema
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpgradeAppliedSchema)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text -> Maybe Text -> Int -> UpgradeAppliedSchemaResponse
UpgradeAppliedSchemaResponse'
(Maybe Text -> Maybe Text -> Int -> UpgradeAppliedSchemaResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Int -> UpgradeAppliedSchemaResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"DirectoryArn")
Either String (Maybe Text -> Int -> UpgradeAppliedSchemaResponse)
-> Either String (Maybe Text)
-> Either String (Int -> UpgradeAppliedSchemaResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"UpgradedSchemaArn")
Either String (Int -> UpgradeAppliedSchemaResponse)
-> Either String Int -> Either String UpgradeAppliedSchemaResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable UpgradeAppliedSchema
instance Prelude.NFData UpgradeAppliedSchema
instance Core.ToHeaders UpgradeAppliedSchema where
toHeaders :: UpgradeAppliedSchema -> ResponseHeaders
toHeaders = ResponseHeaders -> UpgradeAppliedSchema -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToJSON UpgradeAppliedSchema where
toJSON :: UpgradeAppliedSchema -> Value
toJSON UpgradeAppliedSchema' {Maybe Bool
Text
directoryArn :: Text
publishedSchemaArn :: Text
dryRun :: Maybe Bool
$sel:directoryArn:UpgradeAppliedSchema' :: UpgradeAppliedSchema -> Text
$sel:publishedSchemaArn:UpgradeAppliedSchema' :: UpgradeAppliedSchema -> Text
$sel:dryRun:UpgradeAppliedSchema' :: UpgradeAppliedSchema -> Maybe Bool
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"DryRun" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
dryRun,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"PublishedSchemaArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
publishedSchemaArn),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"DirectoryArn" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
directoryArn)
]
)
instance Core.ToPath UpgradeAppliedSchema where
toPath :: UpgradeAppliedSchema -> ByteString
toPath =
ByteString -> UpgradeAppliedSchema -> ByteString
forall a b. a -> b -> a
Prelude.const
ByteString
"/amazonclouddirectory/2017-01-11/schema/upgradeapplied"
instance Core.ToQuery UpgradeAppliedSchema where
toQuery :: UpgradeAppliedSchema -> QueryString
toQuery = QueryString -> UpgradeAppliedSchema -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpgradeAppliedSchemaResponse = UpgradeAppliedSchemaResponse'
{
UpgradeAppliedSchemaResponse -> Maybe Text
directoryArn :: Prelude.Maybe Prelude.Text,
UpgradeAppliedSchemaResponse -> Maybe Text
upgradedSchemaArn :: Prelude.Maybe Prelude.Text,
UpgradeAppliedSchemaResponse -> Int
httpStatus :: Prelude.Int
}
deriving (UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool
(UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool)
-> (UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool)
-> Eq UpgradeAppliedSchemaResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool
$c/= :: UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool
== :: UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool
$c== :: UpgradeAppliedSchemaResponse
-> UpgradeAppliedSchemaResponse -> Bool
Prelude.Eq, ReadPrec [UpgradeAppliedSchemaResponse]
ReadPrec UpgradeAppliedSchemaResponse
Int -> ReadS UpgradeAppliedSchemaResponse
ReadS [UpgradeAppliedSchemaResponse]
(Int -> ReadS UpgradeAppliedSchemaResponse)
-> ReadS [UpgradeAppliedSchemaResponse]
-> ReadPrec UpgradeAppliedSchemaResponse
-> ReadPrec [UpgradeAppliedSchemaResponse]
-> Read UpgradeAppliedSchemaResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpgradeAppliedSchemaResponse]
$creadListPrec :: ReadPrec [UpgradeAppliedSchemaResponse]
readPrec :: ReadPrec UpgradeAppliedSchemaResponse
$creadPrec :: ReadPrec UpgradeAppliedSchemaResponse
readList :: ReadS [UpgradeAppliedSchemaResponse]
$creadList :: ReadS [UpgradeAppliedSchemaResponse]
readsPrec :: Int -> ReadS UpgradeAppliedSchemaResponse
$creadsPrec :: Int -> ReadS UpgradeAppliedSchemaResponse
Prelude.Read, Int -> UpgradeAppliedSchemaResponse -> ShowS
[UpgradeAppliedSchemaResponse] -> ShowS
UpgradeAppliedSchemaResponse -> String
(Int -> UpgradeAppliedSchemaResponse -> ShowS)
-> (UpgradeAppliedSchemaResponse -> String)
-> ([UpgradeAppliedSchemaResponse] -> ShowS)
-> Show UpgradeAppliedSchemaResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpgradeAppliedSchemaResponse] -> ShowS
$cshowList :: [UpgradeAppliedSchemaResponse] -> ShowS
show :: UpgradeAppliedSchemaResponse -> String
$cshow :: UpgradeAppliedSchemaResponse -> String
showsPrec :: Int -> UpgradeAppliedSchemaResponse -> ShowS
$cshowsPrec :: Int -> UpgradeAppliedSchemaResponse -> ShowS
Prelude.Show, (forall x.
UpgradeAppliedSchemaResponse -> Rep UpgradeAppliedSchemaResponse x)
-> (forall x.
Rep UpgradeAppliedSchemaResponse x -> UpgradeAppliedSchemaResponse)
-> Generic UpgradeAppliedSchemaResponse
forall x.
Rep UpgradeAppliedSchemaResponse x -> UpgradeAppliedSchemaResponse
forall x.
UpgradeAppliedSchemaResponse -> Rep UpgradeAppliedSchemaResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpgradeAppliedSchemaResponse x -> UpgradeAppliedSchemaResponse
$cfrom :: forall x.
UpgradeAppliedSchemaResponse -> Rep UpgradeAppliedSchemaResponse x
Prelude.Generic)
newUpgradeAppliedSchemaResponse ::
Prelude.Int ->
UpgradeAppliedSchemaResponse
newUpgradeAppliedSchemaResponse :: Int -> UpgradeAppliedSchemaResponse
newUpgradeAppliedSchemaResponse Int
pHttpStatus_ =
UpgradeAppliedSchemaResponse' :: Maybe Text -> Maybe Text -> Int -> UpgradeAppliedSchemaResponse
UpgradeAppliedSchemaResponse'
{ $sel:directoryArn:UpgradeAppliedSchemaResponse' :: Maybe Text
directoryArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:upgradedSchemaArn:UpgradeAppliedSchemaResponse' :: Maybe Text
upgradedSchemaArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:UpgradeAppliedSchemaResponse' :: Int
httpStatus = Int
pHttpStatus_
}
upgradeAppliedSchemaResponse_directoryArn :: Lens.Lens' UpgradeAppliedSchemaResponse (Prelude.Maybe Prelude.Text)
upgradeAppliedSchemaResponse_directoryArn :: (Maybe Text -> f (Maybe Text))
-> UpgradeAppliedSchemaResponse -> f UpgradeAppliedSchemaResponse
upgradeAppliedSchemaResponse_directoryArn = (UpgradeAppliedSchemaResponse -> Maybe Text)
-> (UpgradeAppliedSchemaResponse
-> Maybe Text -> UpgradeAppliedSchemaResponse)
-> Lens
UpgradeAppliedSchemaResponse
UpgradeAppliedSchemaResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpgradeAppliedSchemaResponse' {Maybe Text
directoryArn :: Maybe Text
$sel:directoryArn:UpgradeAppliedSchemaResponse' :: UpgradeAppliedSchemaResponse -> Maybe Text
directoryArn} -> Maybe Text
directoryArn) (\s :: UpgradeAppliedSchemaResponse
s@UpgradeAppliedSchemaResponse' {} Maybe Text
a -> UpgradeAppliedSchemaResponse
s {$sel:directoryArn:UpgradeAppliedSchemaResponse' :: Maybe Text
directoryArn = Maybe Text
a} :: UpgradeAppliedSchemaResponse)
upgradeAppliedSchemaResponse_upgradedSchemaArn :: Lens.Lens' UpgradeAppliedSchemaResponse (Prelude.Maybe Prelude.Text)
upgradeAppliedSchemaResponse_upgradedSchemaArn :: (Maybe Text -> f (Maybe Text))
-> UpgradeAppliedSchemaResponse -> f UpgradeAppliedSchemaResponse
upgradeAppliedSchemaResponse_upgradedSchemaArn = (UpgradeAppliedSchemaResponse -> Maybe Text)
-> (UpgradeAppliedSchemaResponse
-> Maybe Text -> UpgradeAppliedSchemaResponse)
-> Lens
UpgradeAppliedSchemaResponse
UpgradeAppliedSchemaResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpgradeAppliedSchemaResponse' {Maybe Text
upgradedSchemaArn :: Maybe Text
$sel:upgradedSchemaArn:UpgradeAppliedSchemaResponse' :: UpgradeAppliedSchemaResponse -> Maybe Text
upgradedSchemaArn} -> Maybe Text
upgradedSchemaArn) (\s :: UpgradeAppliedSchemaResponse
s@UpgradeAppliedSchemaResponse' {} Maybe Text
a -> UpgradeAppliedSchemaResponse
s {$sel:upgradedSchemaArn:UpgradeAppliedSchemaResponse' :: Maybe Text
upgradedSchemaArn = Maybe Text
a} :: UpgradeAppliedSchemaResponse)
upgradeAppliedSchemaResponse_httpStatus :: Lens.Lens' UpgradeAppliedSchemaResponse Prelude.Int
upgradeAppliedSchemaResponse_httpStatus :: (Int -> f Int)
-> UpgradeAppliedSchemaResponse -> f UpgradeAppliedSchemaResponse
upgradeAppliedSchemaResponse_httpStatus = (UpgradeAppliedSchemaResponse -> Int)
-> (UpgradeAppliedSchemaResponse
-> Int -> UpgradeAppliedSchemaResponse)
-> Lens
UpgradeAppliedSchemaResponse UpgradeAppliedSchemaResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpgradeAppliedSchemaResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpgradeAppliedSchemaResponse' :: UpgradeAppliedSchemaResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpgradeAppliedSchemaResponse
s@UpgradeAppliedSchemaResponse' {} Int
a -> UpgradeAppliedSchemaResponse
s {$sel:httpStatus:UpgradeAppliedSchemaResponse' :: Int
httpStatus = Int
a} :: UpgradeAppliedSchemaResponse)
instance Prelude.NFData UpgradeAppliedSchemaResponse