{-# 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.CloudFormation.DescribeTypeRegistration
(
DescribeTypeRegistration (..),
newDescribeTypeRegistration,
describeTypeRegistration_registrationToken,
DescribeTypeRegistrationResponse (..),
newDescribeTypeRegistrationResponse,
describeTypeRegistrationResponse_typeVersionArn,
describeTypeRegistrationResponse_progressStatus,
describeTypeRegistrationResponse_typeArn,
describeTypeRegistrationResponse_description,
describeTypeRegistrationResponse_httpStatus,
)
where
import Amazonka.CloudFormation.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 DescribeTypeRegistration = DescribeTypeRegistration'
{
DescribeTypeRegistration -> Text
registrationToken :: Prelude.Text
}
deriving (DescribeTypeRegistration -> DescribeTypeRegistration -> Bool
(DescribeTypeRegistration -> DescribeTypeRegistration -> Bool)
-> (DescribeTypeRegistration -> DescribeTypeRegistration -> Bool)
-> Eq DescribeTypeRegistration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeTypeRegistration -> DescribeTypeRegistration -> Bool
$c/= :: DescribeTypeRegistration -> DescribeTypeRegistration -> Bool
== :: DescribeTypeRegistration -> DescribeTypeRegistration -> Bool
$c== :: DescribeTypeRegistration -> DescribeTypeRegistration -> Bool
Prelude.Eq, ReadPrec [DescribeTypeRegistration]
ReadPrec DescribeTypeRegistration
Int -> ReadS DescribeTypeRegistration
ReadS [DescribeTypeRegistration]
(Int -> ReadS DescribeTypeRegistration)
-> ReadS [DescribeTypeRegistration]
-> ReadPrec DescribeTypeRegistration
-> ReadPrec [DescribeTypeRegistration]
-> Read DescribeTypeRegistration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeTypeRegistration]
$creadListPrec :: ReadPrec [DescribeTypeRegistration]
readPrec :: ReadPrec DescribeTypeRegistration
$creadPrec :: ReadPrec DescribeTypeRegistration
readList :: ReadS [DescribeTypeRegistration]
$creadList :: ReadS [DescribeTypeRegistration]
readsPrec :: Int -> ReadS DescribeTypeRegistration
$creadsPrec :: Int -> ReadS DescribeTypeRegistration
Prelude.Read, Int -> DescribeTypeRegistration -> ShowS
[DescribeTypeRegistration] -> ShowS
DescribeTypeRegistration -> String
(Int -> DescribeTypeRegistration -> ShowS)
-> (DescribeTypeRegistration -> String)
-> ([DescribeTypeRegistration] -> ShowS)
-> Show DescribeTypeRegistration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeTypeRegistration] -> ShowS
$cshowList :: [DescribeTypeRegistration] -> ShowS
show :: DescribeTypeRegistration -> String
$cshow :: DescribeTypeRegistration -> String
showsPrec :: Int -> DescribeTypeRegistration -> ShowS
$cshowsPrec :: Int -> DescribeTypeRegistration -> ShowS
Prelude.Show, (forall x.
DescribeTypeRegistration -> Rep DescribeTypeRegistration x)
-> (forall x.
Rep DescribeTypeRegistration x -> DescribeTypeRegistration)
-> Generic DescribeTypeRegistration
forall x.
Rep DescribeTypeRegistration x -> DescribeTypeRegistration
forall x.
DescribeTypeRegistration -> Rep DescribeTypeRegistration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeTypeRegistration x -> DescribeTypeRegistration
$cfrom :: forall x.
DescribeTypeRegistration -> Rep DescribeTypeRegistration x
Prelude.Generic)
newDescribeTypeRegistration ::
Prelude.Text ->
DescribeTypeRegistration
newDescribeTypeRegistration :: Text -> DescribeTypeRegistration
newDescribeTypeRegistration Text
pRegistrationToken_ =
DescribeTypeRegistration' :: Text -> DescribeTypeRegistration
DescribeTypeRegistration'
{ $sel:registrationToken:DescribeTypeRegistration' :: Text
registrationToken =
Text
pRegistrationToken_
}
describeTypeRegistration_registrationToken :: Lens.Lens' DescribeTypeRegistration Prelude.Text
describeTypeRegistration_registrationToken :: (Text -> f Text)
-> DescribeTypeRegistration -> f DescribeTypeRegistration
describeTypeRegistration_registrationToken = (DescribeTypeRegistration -> Text)
-> (DescribeTypeRegistration -> Text -> DescribeTypeRegistration)
-> Lens DescribeTypeRegistration DescribeTypeRegistration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTypeRegistration' {Text
registrationToken :: Text
$sel:registrationToken:DescribeTypeRegistration' :: DescribeTypeRegistration -> Text
registrationToken} -> Text
registrationToken) (\s :: DescribeTypeRegistration
s@DescribeTypeRegistration' {} Text
a -> DescribeTypeRegistration
s {$sel:registrationToken:DescribeTypeRegistration' :: Text
registrationToken = Text
a} :: DescribeTypeRegistration)
instance Core.AWSRequest DescribeTypeRegistration where
type
AWSResponse DescribeTypeRegistration =
DescribeTypeRegistrationResponse
request :: DescribeTypeRegistration -> Request DescribeTypeRegistration
request = Service
-> DescribeTypeRegistration -> Request DescribeTypeRegistration
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeTypeRegistration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeTypeRegistration)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse DescribeTypeRegistration))
-> Logger
-> Service
-> Proxy DescribeTypeRegistration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeTypeRegistration)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"DescribeTypeRegistrationResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text
-> Maybe RegistrationStatus
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse'
(Maybe Text
-> Maybe RegistrationStatus
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeTypeRegistrationResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe RegistrationStatus
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeTypeRegistrationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"TypeVersionArn")
Either
String
(Maybe RegistrationStatus
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeTypeRegistrationResponse)
-> Either String (Maybe RegistrationStatus)
-> Either
String
(Maybe Text
-> Maybe Text -> Int -> DescribeTypeRegistrationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe RegistrationStatus)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ProgressStatus")
Either
String
(Maybe Text
-> Maybe Text -> Int -> DescribeTypeRegistrationResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Int -> DescribeTypeRegistrationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"TypeArn")
Either
String (Maybe Text -> Int -> DescribeTypeRegistrationResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeTypeRegistrationResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Description")
Either String (Int -> DescribeTypeRegistrationResponse)
-> Either String Int
-> Either String DescribeTypeRegistrationResponse
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 DescribeTypeRegistration
instance Prelude.NFData DescribeTypeRegistration
instance Core.ToHeaders DescribeTypeRegistration where
toHeaders :: DescribeTypeRegistration -> ResponseHeaders
toHeaders = ResponseHeaders -> DescribeTypeRegistration -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath DescribeTypeRegistration where
toPath :: DescribeTypeRegistration -> ByteString
toPath = ByteString -> DescribeTypeRegistration -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeTypeRegistration where
toQuery :: DescribeTypeRegistration -> QueryString
toQuery DescribeTypeRegistration' {Text
registrationToken :: Text
$sel:registrationToken:DescribeTypeRegistration' :: DescribeTypeRegistration -> Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"DescribeTypeRegistration" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-05-15" :: Prelude.ByteString),
ByteString
"RegistrationToken" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
registrationToken
]
data DescribeTypeRegistrationResponse = DescribeTypeRegistrationResponse'
{
DescribeTypeRegistrationResponse -> Maybe Text
typeVersionArn :: Prelude.Maybe Prelude.Text,
DescribeTypeRegistrationResponse -> Maybe RegistrationStatus
progressStatus :: Prelude.Maybe RegistrationStatus,
DescribeTypeRegistrationResponse -> Maybe Text
typeArn :: Prelude.Maybe Prelude.Text,
DescribeTypeRegistrationResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
DescribeTypeRegistrationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool
(DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool)
-> (DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool)
-> Eq DescribeTypeRegistrationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool
$c/= :: DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool
== :: DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool
$c== :: DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool
Prelude.Eq, ReadPrec [DescribeTypeRegistrationResponse]
ReadPrec DescribeTypeRegistrationResponse
Int -> ReadS DescribeTypeRegistrationResponse
ReadS [DescribeTypeRegistrationResponse]
(Int -> ReadS DescribeTypeRegistrationResponse)
-> ReadS [DescribeTypeRegistrationResponse]
-> ReadPrec DescribeTypeRegistrationResponse
-> ReadPrec [DescribeTypeRegistrationResponse]
-> Read DescribeTypeRegistrationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeTypeRegistrationResponse]
$creadListPrec :: ReadPrec [DescribeTypeRegistrationResponse]
readPrec :: ReadPrec DescribeTypeRegistrationResponse
$creadPrec :: ReadPrec DescribeTypeRegistrationResponse
readList :: ReadS [DescribeTypeRegistrationResponse]
$creadList :: ReadS [DescribeTypeRegistrationResponse]
readsPrec :: Int -> ReadS DescribeTypeRegistrationResponse
$creadsPrec :: Int -> ReadS DescribeTypeRegistrationResponse
Prelude.Read, Int -> DescribeTypeRegistrationResponse -> ShowS
[DescribeTypeRegistrationResponse] -> ShowS
DescribeTypeRegistrationResponse -> String
(Int -> DescribeTypeRegistrationResponse -> ShowS)
-> (DescribeTypeRegistrationResponse -> String)
-> ([DescribeTypeRegistrationResponse] -> ShowS)
-> Show DescribeTypeRegistrationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeTypeRegistrationResponse] -> ShowS
$cshowList :: [DescribeTypeRegistrationResponse] -> ShowS
show :: DescribeTypeRegistrationResponse -> String
$cshow :: DescribeTypeRegistrationResponse -> String
showsPrec :: Int -> DescribeTypeRegistrationResponse -> ShowS
$cshowsPrec :: Int -> DescribeTypeRegistrationResponse -> ShowS
Prelude.Show, (forall x.
DescribeTypeRegistrationResponse
-> Rep DescribeTypeRegistrationResponse x)
-> (forall x.
Rep DescribeTypeRegistrationResponse x
-> DescribeTypeRegistrationResponse)
-> Generic DescribeTypeRegistrationResponse
forall x.
Rep DescribeTypeRegistrationResponse x
-> DescribeTypeRegistrationResponse
forall x.
DescribeTypeRegistrationResponse
-> Rep DescribeTypeRegistrationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeTypeRegistrationResponse x
-> DescribeTypeRegistrationResponse
$cfrom :: forall x.
DescribeTypeRegistrationResponse
-> Rep DescribeTypeRegistrationResponse x
Prelude.Generic)
newDescribeTypeRegistrationResponse ::
Prelude.Int ->
DescribeTypeRegistrationResponse
newDescribeTypeRegistrationResponse :: Int -> DescribeTypeRegistrationResponse
newDescribeTypeRegistrationResponse Int
pHttpStatus_ =
DescribeTypeRegistrationResponse' :: Maybe Text
-> Maybe RegistrationStatus
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse'
{ $sel:typeVersionArn:DescribeTypeRegistrationResponse' :: Maybe Text
typeVersionArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:progressStatus:DescribeTypeRegistrationResponse' :: Maybe RegistrationStatus
progressStatus = Maybe RegistrationStatus
forall a. Maybe a
Prelude.Nothing,
$sel:typeArn:DescribeTypeRegistrationResponse' :: Maybe Text
typeArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:DescribeTypeRegistrationResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeTypeRegistrationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeTypeRegistrationResponse_typeVersionArn :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe Prelude.Text)
describeTypeRegistrationResponse_typeVersionArn :: (Maybe Text -> f (Maybe Text))
-> DescribeTypeRegistrationResponse
-> f DescribeTypeRegistrationResponse
describeTypeRegistrationResponse_typeVersionArn = (DescribeTypeRegistrationResponse -> Maybe Text)
-> (DescribeTypeRegistrationResponse
-> Maybe Text -> DescribeTypeRegistrationResponse)
-> Lens
DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTypeRegistrationResponse' {Maybe Text
typeVersionArn :: Maybe Text
$sel:typeVersionArn:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe Text
typeVersionArn} -> Maybe Text
typeVersionArn) (\s :: DescribeTypeRegistrationResponse
s@DescribeTypeRegistrationResponse' {} Maybe Text
a -> DescribeTypeRegistrationResponse
s {$sel:typeVersionArn:DescribeTypeRegistrationResponse' :: Maybe Text
typeVersionArn = Maybe Text
a} :: DescribeTypeRegistrationResponse)
describeTypeRegistrationResponse_progressStatus :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe RegistrationStatus)
describeTypeRegistrationResponse_progressStatus :: (Maybe RegistrationStatus -> f (Maybe RegistrationStatus))
-> DescribeTypeRegistrationResponse
-> f DescribeTypeRegistrationResponse
describeTypeRegistrationResponse_progressStatus = (DescribeTypeRegistrationResponse -> Maybe RegistrationStatus)
-> (DescribeTypeRegistrationResponse
-> Maybe RegistrationStatus -> DescribeTypeRegistrationResponse)
-> Lens
DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse
(Maybe RegistrationStatus)
(Maybe RegistrationStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTypeRegistrationResponse' {Maybe RegistrationStatus
progressStatus :: Maybe RegistrationStatus
$sel:progressStatus:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe RegistrationStatus
progressStatus} -> Maybe RegistrationStatus
progressStatus) (\s :: DescribeTypeRegistrationResponse
s@DescribeTypeRegistrationResponse' {} Maybe RegistrationStatus
a -> DescribeTypeRegistrationResponse
s {$sel:progressStatus:DescribeTypeRegistrationResponse' :: Maybe RegistrationStatus
progressStatus = Maybe RegistrationStatus
a} :: DescribeTypeRegistrationResponse)
describeTypeRegistrationResponse_typeArn :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe Prelude.Text)
describeTypeRegistrationResponse_typeArn :: (Maybe Text -> f (Maybe Text))
-> DescribeTypeRegistrationResponse
-> f DescribeTypeRegistrationResponse
describeTypeRegistrationResponse_typeArn = (DescribeTypeRegistrationResponse -> Maybe Text)
-> (DescribeTypeRegistrationResponse
-> Maybe Text -> DescribeTypeRegistrationResponse)
-> Lens
DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTypeRegistrationResponse' {Maybe Text
typeArn :: Maybe Text
$sel:typeArn:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe Text
typeArn} -> Maybe Text
typeArn) (\s :: DescribeTypeRegistrationResponse
s@DescribeTypeRegistrationResponse' {} Maybe Text
a -> DescribeTypeRegistrationResponse
s {$sel:typeArn:DescribeTypeRegistrationResponse' :: Maybe Text
typeArn = Maybe Text
a} :: DescribeTypeRegistrationResponse)
describeTypeRegistrationResponse_description :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe Prelude.Text)
describeTypeRegistrationResponse_description :: (Maybe Text -> f (Maybe Text))
-> DescribeTypeRegistrationResponse
-> f DescribeTypeRegistrationResponse
describeTypeRegistrationResponse_description = (DescribeTypeRegistrationResponse -> Maybe Text)
-> (DescribeTypeRegistrationResponse
-> Maybe Text -> DescribeTypeRegistrationResponse)
-> Lens
DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTypeRegistrationResponse' {Maybe Text
description :: Maybe Text
$sel:description:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: DescribeTypeRegistrationResponse
s@DescribeTypeRegistrationResponse' {} Maybe Text
a -> DescribeTypeRegistrationResponse
s {$sel:description:DescribeTypeRegistrationResponse' :: Maybe Text
description = Maybe Text
a} :: DescribeTypeRegistrationResponse)
describeTypeRegistrationResponse_httpStatus :: Lens.Lens' DescribeTypeRegistrationResponse Prelude.Int
describeTypeRegistrationResponse_httpStatus :: (Int -> f Int)
-> DescribeTypeRegistrationResponse
-> f DescribeTypeRegistrationResponse
describeTypeRegistrationResponse_httpStatus = (DescribeTypeRegistrationResponse -> Int)
-> (DescribeTypeRegistrationResponse
-> Int -> DescribeTypeRegistrationResponse)
-> Lens
DescribeTypeRegistrationResponse
DescribeTypeRegistrationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeTypeRegistrationResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeTypeRegistrationResponse
s@DescribeTypeRegistrationResponse' {} Int
a -> DescribeTypeRegistrationResponse
s {$sel:httpStatus:DescribeTypeRegistrationResponse' :: Int
httpStatus = Int
a} :: DescribeTypeRegistrationResponse)
instance
Prelude.NFData
DescribeTypeRegistrationResponse