{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.CloudFormation.DescribeTypeRegistration
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns information about an extension\'s registration, including its
-- current status and type and version identifiers.
--
-- When you initiate a registration request using @ @@RegisterType@@ @, you
-- can then use @ @@DescribeTypeRegistration@@ @ to monitor the progress of
-- that registration request.
--
-- Once the registration request has completed, use @ @@DescribeType@@ @ to
-- return detailed information about an extension.
module Amazonka.CloudFormation.DescribeTypeRegistration
  ( -- * Creating a Request
    DescribeTypeRegistration (..),
    newDescribeTypeRegistration,

    -- * Request Lenses
    describeTypeRegistration_registrationToken,

    -- * Destructuring the Response
    DescribeTypeRegistrationResponse (..),
    newDescribeTypeRegistrationResponse,

    -- * Response Lenses
    describeTypeRegistrationResponse_description,
    describeTypeRegistrationResponse_progressStatus,
    describeTypeRegistrationResponse_typeArn,
    describeTypeRegistrationResponse_typeVersionArn,
    describeTypeRegistrationResponse_httpStatus,
  )
where

import Amazonka.CloudFormation.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newDescribeTypeRegistration' smart constructor.
data DescribeTypeRegistration = DescribeTypeRegistration'
  { -- | The identifier for this registration request.
    --
    -- This registration token is generated by CloudFormation when you initiate
    -- a registration request using @ @@RegisterType@@ @.
    DescribeTypeRegistration -> Text
registrationToken :: Prelude.Text
  }
  deriving (DescribeTypeRegistration -> DescribeTypeRegistration -> Bool
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]
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
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.
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)

-- |
-- Create a value of 'DescribeTypeRegistration' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'registrationToken', 'describeTypeRegistration_registrationToken' - The identifier for this registration request.
--
-- This registration token is generated by CloudFormation when you initiate
-- a registration request using @ @@RegisterType@@ @.
newDescribeTypeRegistration ::
  -- | 'registrationToken'
  Prelude.Text ->
  DescribeTypeRegistration
newDescribeTypeRegistration :: Text -> DescribeTypeRegistration
newDescribeTypeRegistration Text
pRegistrationToken_ =
  DescribeTypeRegistration'
    { $sel:registrationToken:DescribeTypeRegistration' :: Text
registrationToken =
        Text
pRegistrationToken_
    }

-- | The identifier for this registration request.
--
-- This registration token is generated by CloudFormation when you initiate
-- a registration request using @ @@RegisterType@@ @.
describeTypeRegistration_registrationToken :: Lens.Lens' DescribeTypeRegistration Prelude.Text
describeTypeRegistration_registrationToken :: Lens' DescribeTypeRegistration Text
describeTypeRegistration_registrationToken = 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 :: (Service -> Service)
-> DescribeTypeRegistration -> Request DescribeTypeRegistration
request Service -> Service
overrides =
    forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
  response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DescribeTypeRegistration
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DescribeTypeRegistration)))
response =
    forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
    -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> 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'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Description")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"ProgressStatus")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"TypeArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"TypeVersionArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable DescribeTypeRegistration where
  hashWithSalt :: Int -> DescribeTypeRegistration -> Int
hashWithSalt Int
_salt DescribeTypeRegistration' {Text
registrationToken :: Text
$sel:registrationToken:DescribeTypeRegistration' :: DescribeTypeRegistration -> Text
..} =
    Int
_salt forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
registrationToken

instance Prelude.NFData DescribeTypeRegistration where
  rnf :: DescribeTypeRegistration -> ()
rnf DescribeTypeRegistration' {Text
registrationToken :: Text
$sel:registrationToken:DescribeTypeRegistration' :: DescribeTypeRegistration -> Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Text
registrationToken

instance Data.ToHeaders DescribeTypeRegistration where
  toHeaders :: DescribeTypeRegistration -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty

instance Data.ToPath DescribeTypeRegistration where
  toPath :: DescribeTypeRegistration -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Data.ToQuery DescribeTypeRegistration where
  toQuery :: DescribeTypeRegistration -> QueryString
toQuery DescribeTypeRegistration' {Text
registrationToken :: Text
$sel:registrationToken:DescribeTypeRegistration' :: DescribeTypeRegistration -> Text
..} =
    forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"Action"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"DescribeTypeRegistration" :: Prelude.ByteString),
        ByteString
"Version"
          forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2010-05-15" :: Prelude.ByteString),
        ByteString
"RegistrationToken" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Text
registrationToken
      ]

-- | /See:/ 'newDescribeTypeRegistrationResponse' smart constructor.
data DescribeTypeRegistrationResponse = DescribeTypeRegistrationResponse'
  { -- | The description of the extension registration request.
    DescribeTypeRegistrationResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The current status of the extension registration request.
    DescribeTypeRegistrationResponse -> Maybe RegistrationStatus
progressStatus :: Prelude.Maybe RegistrationStatus,
    -- | The Amazon Resource Name (ARN) of the extension being registered.
    --
    -- For registration requests with a @ProgressStatus@ of other than
    -- @COMPLETE@, this will be @null@.
    DescribeTypeRegistrationResponse -> Maybe Text
typeArn :: Prelude.Maybe Prelude.Text,
    -- | The Amazon Resource Name (ARN) of this specific version of the extension
    -- being registered.
    --
    -- For registration requests with a @ProgressStatus@ of other than
    -- @COMPLETE@, this will be @null@.
    DescribeTypeRegistrationResponse -> Maybe Text
typeVersionArn :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    DescribeTypeRegistrationResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (DescribeTypeRegistrationResponse
-> DescribeTypeRegistrationResponse -> Bool
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]
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
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.
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)

-- |
-- Create a value of 'DescribeTypeRegistrationResponse' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'description', 'describeTypeRegistrationResponse_description' - The description of the extension registration request.
--
-- 'progressStatus', 'describeTypeRegistrationResponse_progressStatus' - The current status of the extension registration request.
--
-- 'typeArn', 'describeTypeRegistrationResponse_typeArn' - The Amazon Resource Name (ARN) of the extension being registered.
--
-- For registration requests with a @ProgressStatus@ of other than
-- @COMPLETE@, this will be @null@.
--
-- 'typeVersionArn', 'describeTypeRegistrationResponse_typeVersionArn' - The Amazon Resource Name (ARN) of this specific version of the extension
-- being registered.
--
-- For registration requests with a @ProgressStatus@ of other than
-- @COMPLETE@, this will be @null@.
--
-- 'httpStatus', 'describeTypeRegistrationResponse_httpStatus' - The response's http status code.
newDescribeTypeRegistrationResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DescribeTypeRegistrationResponse
newDescribeTypeRegistrationResponse :: Int -> DescribeTypeRegistrationResponse
newDescribeTypeRegistrationResponse Int
pHttpStatus_ =
  DescribeTypeRegistrationResponse'
    { $sel:description:DescribeTypeRegistrationResponse' :: Maybe Text
description =
        forall a. Maybe a
Prelude.Nothing,
      $sel:progressStatus:DescribeTypeRegistrationResponse' :: Maybe RegistrationStatus
progressStatus = forall a. Maybe a
Prelude.Nothing,
      $sel:typeArn:DescribeTypeRegistrationResponse' :: Maybe Text
typeArn = forall a. Maybe a
Prelude.Nothing,
      $sel:typeVersionArn:DescribeTypeRegistrationResponse' :: Maybe Text
typeVersionArn = forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:DescribeTypeRegistrationResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The description of the extension registration request.
describeTypeRegistrationResponse_description :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe Prelude.Text)
describeTypeRegistrationResponse_description :: Lens' DescribeTypeRegistrationResponse (Maybe Text)
describeTypeRegistrationResponse_description = 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)

-- | The current status of the extension registration request.
describeTypeRegistrationResponse_progressStatus :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe RegistrationStatus)
describeTypeRegistrationResponse_progressStatus :: Lens' DescribeTypeRegistrationResponse (Maybe RegistrationStatus)
describeTypeRegistrationResponse_progressStatus = 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)

-- | The Amazon Resource Name (ARN) of the extension being registered.
--
-- For registration requests with a @ProgressStatus@ of other than
-- @COMPLETE@, this will be @null@.
describeTypeRegistrationResponse_typeArn :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe Prelude.Text)
describeTypeRegistrationResponse_typeArn :: Lens' DescribeTypeRegistrationResponse (Maybe Text)
describeTypeRegistrationResponse_typeArn = 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)

-- | The Amazon Resource Name (ARN) of this specific version of the extension
-- being registered.
--
-- For registration requests with a @ProgressStatus@ of other than
-- @COMPLETE@, this will be @null@.
describeTypeRegistrationResponse_typeVersionArn :: Lens.Lens' DescribeTypeRegistrationResponse (Prelude.Maybe Prelude.Text)
describeTypeRegistrationResponse_typeVersionArn :: Lens' DescribeTypeRegistrationResponse (Maybe Text)
describeTypeRegistrationResponse_typeVersionArn = 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)

-- | The response's http status code.
describeTypeRegistrationResponse_httpStatus :: Lens.Lens' DescribeTypeRegistrationResponse Prelude.Int
describeTypeRegistrationResponse_httpStatus :: Lens' DescribeTypeRegistrationResponse Int
describeTypeRegistrationResponse_httpStatus = 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
  where
  rnf :: DescribeTypeRegistrationResponse -> ()
rnf DescribeTypeRegistrationResponse' {Int
Maybe Text
Maybe RegistrationStatus
httpStatus :: Int
typeVersionArn :: Maybe Text
typeArn :: Maybe Text
progressStatus :: Maybe RegistrationStatus
description :: Maybe Text
$sel:httpStatus:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Int
$sel:typeVersionArn:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe Text
$sel:typeArn:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe Text
$sel:progressStatus:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe RegistrationStatus
$sel:description:DescribeTypeRegistrationResponse' :: DescribeTypeRegistrationResponse -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe RegistrationStatus
progressStatus
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
typeArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
typeVersionArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus