{-# 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.IoT.DescribeThingRegistrationTask
(
DescribeThingRegistrationTask (..),
newDescribeThingRegistrationTask,
describeThingRegistrationTask_taskId,
DescribeThingRegistrationTaskResponse (..),
newDescribeThingRegistrationTaskResponse,
describeThingRegistrationTaskResponse_status,
describeThingRegistrationTaskResponse_lastModifiedDate,
describeThingRegistrationTaskResponse_inputFileKey,
describeThingRegistrationTaskResponse_taskId,
describeThingRegistrationTaskResponse_creationDate,
describeThingRegistrationTaskResponse_percentageProgress,
describeThingRegistrationTaskResponse_templateBody,
describeThingRegistrationTaskResponse_successCount,
describeThingRegistrationTaskResponse_message,
describeThingRegistrationTaskResponse_failureCount,
describeThingRegistrationTaskResponse_inputFileBucket,
describeThingRegistrationTaskResponse_roleArn,
describeThingRegistrationTaskResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.IoT.Types
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 DescribeThingRegistrationTask = DescribeThingRegistrationTask'
{
DescribeThingRegistrationTask -> Text
taskId :: Prelude.Text
}
deriving (DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool
(DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool)
-> (DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool)
-> Eq DescribeThingRegistrationTask
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool
$c/= :: DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool
== :: DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool
$c== :: DescribeThingRegistrationTask
-> DescribeThingRegistrationTask -> Bool
Prelude.Eq, ReadPrec [DescribeThingRegistrationTask]
ReadPrec DescribeThingRegistrationTask
Int -> ReadS DescribeThingRegistrationTask
ReadS [DescribeThingRegistrationTask]
(Int -> ReadS DescribeThingRegistrationTask)
-> ReadS [DescribeThingRegistrationTask]
-> ReadPrec DescribeThingRegistrationTask
-> ReadPrec [DescribeThingRegistrationTask]
-> Read DescribeThingRegistrationTask
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeThingRegistrationTask]
$creadListPrec :: ReadPrec [DescribeThingRegistrationTask]
readPrec :: ReadPrec DescribeThingRegistrationTask
$creadPrec :: ReadPrec DescribeThingRegistrationTask
readList :: ReadS [DescribeThingRegistrationTask]
$creadList :: ReadS [DescribeThingRegistrationTask]
readsPrec :: Int -> ReadS DescribeThingRegistrationTask
$creadsPrec :: Int -> ReadS DescribeThingRegistrationTask
Prelude.Read, Int -> DescribeThingRegistrationTask -> ShowS
[DescribeThingRegistrationTask] -> ShowS
DescribeThingRegistrationTask -> String
(Int -> DescribeThingRegistrationTask -> ShowS)
-> (DescribeThingRegistrationTask -> String)
-> ([DescribeThingRegistrationTask] -> ShowS)
-> Show DescribeThingRegistrationTask
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeThingRegistrationTask] -> ShowS
$cshowList :: [DescribeThingRegistrationTask] -> ShowS
show :: DescribeThingRegistrationTask -> String
$cshow :: DescribeThingRegistrationTask -> String
showsPrec :: Int -> DescribeThingRegistrationTask -> ShowS
$cshowsPrec :: Int -> DescribeThingRegistrationTask -> ShowS
Prelude.Show, (forall x.
DescribeThingRegistrationTask
-> Rep DescribeThingRegistrationTask x)
-> (forall x.
Rep DescribeThingRegistrationTask x
-> DescribeThingRegistrationTask)
-> Generic DescribeThingRegistrationTask
forall x.
Rep DescribeThingRegistrationTask x
-> DescribeThingRegistrationTask
forall x.
DescribeThingRegistrationTask
-> Rep DescribeThingRegistrationTask x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeThingRegistrationTask x
-> DescribeThingRegistrationTask
$cfrom :: forall x.
DescribeThingRegistrationTask
-> Rep DescribeThingRegistrationTask x
Prelude.Generic)
newDescribeThingRegistrationTask ::
Prelude.Text ->
DescribeThingRegistrationTask
newDescribeThingRegistrationTask :: Text -> DescribeThingRegistrationTask
newDescribeThingRegistrationTask Text
pTaskId_ =
DescribeThingRegistrationTask' :: Text -> DescribeThingRegistrationTask
DescribeThingRegistrationTask' {$sel:taskId:DescribeThingRegistrationTask' :: Text
taskId = Text
pTaskId_}
describeThingRegistrationTask_taskId :: Lens.Lens' DescribeThingRegistrationTask Prelude.Text
describeThingRegistrationTask_taskId :: (Text -> f Text)
-> DescribeThingRegistrationTask -> f DescribeThingRegistrationTask
describeThingRegistrationTask_taskId = (DescribeThingRegistrationTask -> Text)
-> (DescribeThingRegistrationTask
-> Text -> DescribeThingRegistrationTask)
-> Lens
DescribeThingRegistrationTask
DescribeThingRegistrationTask
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTask' {Text
taskId :: Text
$sel:taskId:DescribeThingRegistrationTask' :: DescribeThingRegistrationTask -> Text
taskId} -> Text
taskId) (\s :: DescribeThingRegistrationTask
s@DescribeThingRegistrationTask' {} Text
a -> DescribeThingRegistrationTask
s {$sel:taskId:DescribeThingRegistrationTask' :: Text
taskId = Text
a} :: DescribeThingRegistrationTask)
instance
Core.AWSRequest
DescribeThingRegistrationTask
where
type
AWSResponse DescribeThingRegistrationTask =
DescribeThingRegistrationTaskResponse
request :: DescribeThingRegistrationTask
-> Request DescribeThingRegistrationTask
request = Service
-> DescribeThingRegistrationTask
-> Request DescribeThingRegistrationTask
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeThingRegistrationTask
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeThingRegistrationTask)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeThingRegistrationTask))
-> Logger
-> Service
-> Proxy DescribeThingRegistrationTask
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeThingRegistrationTask)))
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 TaskStatus
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse'
(Maybe TaskStatus
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe TaskStatus)
-> Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe TaskStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"status")
Either
String
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"lastModifiedDate")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
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
"inputFileKey")
Either
String
(Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
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
"taskId")
Either
String
(Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"creationDate")
Either
String
(Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Natural)
-> Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"percentageProgress")
Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
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
"templateBody")
Either
String
(Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Int)
-> Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Int)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"successCount")
Either
String
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
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
"message")
Either
String
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Int)
-> Either
String
(Maybe Text
-> Maybe Text -> Int -> DescribeThingRegistrationTaskResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Int)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"failureCount")
Either
String
(Maybe Text
-> Maybe Text -> Int -> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Int -> DescribeThingRegistrationTaskResponse)
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
"inputFileBucket")
Either
String (Maybe Text -> Int -> DescribeThingRegistrationTaskResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DescribeThingRegistrationTaskResponse)
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
"roleArn")
Either String (Int -> DescribeThingRegistrationTaskResponse)
-> Either String Int
-> Either String DescribeThingRegistrationTaskResponse
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
DescribeThingRegistrationTask
instance Prelude.NFData DescribeThingRegistrationTask
instance Core.ToHeaders DescribeThingRegistrationTask where
toHeaders :: DescribeThingRegistrationTask -> ResponseHeaders
toHeaders = ResponseHeaders -> DescribeThingRegistrationTask -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath DescribeThingRegistrationTask where
toPath :: DescribeThingRegistrationTask -> ByteString
toPath DescribeThingRegistrationTask' {Text
taskId :: Text
$sel:taskId:DescribeThingRegistrationTask' :: DescribeThingRegistrationTask -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/thing-registration-tasks/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
taskId]
instance Core.ToQuery DescribeThingRegistrationTask where
toQuery :: DescribeThingRegistrationTask -> QueryString
toQuery = QueryString -> DescribeThingRegistrationTask -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeThingRegistrationTaskResponse = DescribeThingRegistrationTaskResponse'
{
DescribeThingRegistrationTaskResponse -> Maybe TaskStatus
status :: Prelude.Maybe TaskStatus,
DescribeThingRegistrationTaskResponse -> Maybe POSIX
lastModifiedDate :: Prelude.Maybe Core.POSIX,
DescribeThingRegistrationTaskResponse -> Maybe Text
inputFileKey :: Prelude.Maybe Prelude.Text,
DescribeThingRegistrationTaskResponse -> Maybe Text
taskId :: Prelude.Maybe Prelude.Text,
DescribeThingRegistrationTaskResponse -> Maybe POSIX
creationDate :: Prelude.Maybe Core.POSIX,
DescribeThingRegistrationTaskResponse -> Maybe Natural
percentageProgress :: Prelude.Maybe Prelude.Natural,
DescribeThingRegistrationTaskResponse -> Maybe Text
templateBody :: Prelude.Maybe Prelude.Text,
DescribeThingRegistrationTaskResponse -> Maybe Int
successCount :: Prelude.Maybe Prelude.Int,
DescribeThingRegistrationTaskResponse -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
DescribeThingRegistrationTaskResponse -> Maybe Int
failureCount :: Prelude.Maybe Prelude.Int,
DescribeThingRegistrationTaskResponse -> Maybe Text
inputFileBucket :: Prelude.Maybe Prelude.Text,
DescribeThingRegistrationTaskResponse -> Maybe Text
roleArn :: Prelude.Maybe Prelude.Text,
DescribeThingRegistrationTaskResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool
(DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool)
-> (DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool)
-> Eq DescribeThingRegistrationTaskResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool
$c/= :: DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool
== :: DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool
$c== :: DescribeThingRegistrationTaskResponse
-> DescribeThingRegistrationTaskResponse -> Bool
Prelude.Eq, ReadPrec [DescribeThingRegistrationTaskResponse]
ReadPrec DescribeThingRegistrationTaskResponse
Int -> ReadS DescribeThingRegistrationTaskResponse
ReadS [DescribeThingRegistrationTaskResponse]
(Int -> ReadS DescribeThingRegistrationTaskResponse)
-> ReadS [DescribeThingRegistrationTaskResponse]
-> ReadPrec DescribeThingRegistrationTaskResponse
-> ReadPrec [DescribeThingRegistrationTaskResponse]
-> Read DescribeThingRegistrationTaskResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeThingRegistrationTaskResponse]
$creadListPrec :: ReadPrec [DescribeThingRegistrationTaskResponse]
readPrec :: ReadPrec DescribeThingRegistrationTaskResponse
$creadPrec :: ReadPrec DescribeThingRegistrationTaskResponse
readList :: ReadS [DescribeThingRegistrationTaskResponse]
$creadList :: ReadS [DescribeThingRegistrationTaskResponse]
readsPrec :: Int -> ReadS DescribeThingRegistrationTaskResponse
$creadsPrec :: Int -> ReadS DescribeThingRegistrationTaskResponse
Prelude.Read, Int -> DescribeThingRegistrationTaskResponse -> ShowS
[DescribeThingRegistrationTaskResponse] -> ShowS
DescribeThingRegistrationTaskResponse -> String
(Int -> DescribeThingRegistrationTaskResponse -> ShowS)
-> (DescribeThingRegistrationTaskResponse -> String)
-> ([DescribeThingRegistrationTaskResponse] -> ShowS)
-> Show DescribeThingRegistrationTaskResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeThingRegistrationTaskResponse] -> ShowS
$cshowList :: [DescribeThingRegistrationTaskResponse] -> ShowS
show :: DescribeThingRegistrationTaskResponse -> String
$cshow :: DescribeThingRegistrationTaskResponse -> String
showsPrec :: Int -> DescribeThingRegistrationTaskResponse -> ShowS
$cshowsPrec :: Int -> DescribeThingRegistrationTaskResponse -> ShowS
Prelude.Show, (forall x.
DescribeThingRegistrationTaskResponse
-> Rep DescribeThingRegistrationTaskResponse x)
-> (forall x.
Rep DescribeThingRegistrationTaskResponse x
-> DescribeThingRegistrationTaskResponse)
-> Generic DescribeThingRegistrationTaskResponse
forall x.
Rep DescribeThingRegistrationTaskResponse x
-> DescribeThingRegistrationTaskResponse
forall x.
DescribeThingRegistrationTaskResponse
-> Rep DescribeThingRegistrationTaskResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeThingRegistrationTaskResponse x
-> DescribeThingRegistrationTaskResponse
$cfrom :: forall x.
DescribeThingRegistrationTaskResponse
-> Rep DescribeThingRegistrationTaskResponse x
Prelude.Generic)
newDescribeThingRegistrationTaskResponse ::
Prelude.Int ->
DescribeThingRegistrationTaskResponse
newDescribeThingRegistrationTaskResponse :: Int -> DescribeThingRegistrationTaskResponse
newDescribeThingRegistrationTaskResponse Int
pHttpStatus_ =
DescribeThingRegistrationTaskResponse' :: Maybe TaskStatus
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Natural
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Int
-> DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse'
{ $sel:status:DescribeThingRegistrationTaskResponse' :: Maybe TaskStatus
status =
Maybe TaskStatus
forall a. Maybe a
Prelude.Nothing,
$sel:lastModifiedDate:DescribeThingRegistrationTaskResponse' :: Maybe POSIX
lastModifiedDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:inputFileKey:DescribeThingRegistrationTaskResponse' :: Maybe Text
inputFileKey = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:taskId:DescribeThingRegistrationTaskResponse' :: Maybe Text
taskId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:creationDate:DescribeThingRegistrationTaskResponse' :: Maybe POSIX
creationDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:percentageProgress:DescribeThingRegistrationTaskResponse' :: Maybe Natural
percentageProgress = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:templateBody:DescribeThingRegistrationTaskResponse' :: Maybe Text
templateBody = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:successCount:DescribeThingRegistrationTaskResponse' :: Maybe Int
successCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:message:DescribeThingRegistrationTaskResponse' :: Maybe Text
message = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:failureCount:DescribeThingRegistrationTaskResponse' :: Maybe Int
failureCount = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:inputFileBucket:DescribeThingRegistrationTaskResponse' :: Maybe Text
inputFileBucket = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:roleArn:DescribeThingRegistrationTaskResponse' :: Maybe Text
roleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeThingRegistrationTaskResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeThingRegistrationTaskResponse_status :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe TaskStatus)
describeThingRegistrationTaskResponse_status :: (Maybe TaskStatus -> f (Maybe TaskStatus))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_status = (DescribeThingRegistrationTaskResponse -> Maybe TaskStatus)
-> (DescribeThingRegistrationTaskResponse
-> Maybe TaskStatus -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe TaskStatus)
(Maybe TaskStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe TaskStatus
status :: Maybe TaskStatus
$sel:status:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe TaskStatus
status} -> Maybe TaskStatus
status) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe TaskStatus
a -> DescribeThingRegistrationTaskResponse
s {$sel:status:DescribeThingRegistrationTaskResponse' :: Maybe TaskStatus
status = Maybe TaskStatus
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_lastModifiedDate :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.UTCTime)
describeThingRegistrationTaskResponse_lastModifiedDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_lastModifiedDate = (DescribeThingRegistrationTaskResponse -> Maybe POSIX)
-> (DescribeThingRegistrationTaskResponse
-> Maybe POSIX -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe POSIX
lastModifiedDate :: Maybe POSIX
$sel:lastModifiedDate:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe POSIX
lastModifiedDate} -> Maybe POSIX
lastModifiedDate) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe POSIX
a -> DescribeThingRegistrationTaskResponse
s {$sel:lastModifiedDate:DescribeThingRegistrationTaskResponse' :: Maybe POSIX
lastModifiedDate = Maybe POSIX
a} :: DescribeThingRegistrationTaskResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeThingRegistrationTaskResponse_inputFileKey :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Text)
describeThingRegistrationTaskResponse_inputFileKey :: (Maybe Text -> f (Maybe Text))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_inputFileKey = (DescribeThingRegistrationTaskResponse -> Maybe Text)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Text -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Text
inputFileKey :: Maybe Text
$sel:inputFileKey:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Text
inputFileKey} -> Maybe Text
inputFileKey) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Text
a -> DescribeThingRegistrationTaskResponse
s {$sel:inputFileKey:DescribeThingRegistrationTaskResponse' :: Maybe Text
inputFileKey = Maybe Text
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_taskId :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Text)
describeThingRegistrationTaskResponse_taskId :: (Maybe Text -> f (Maybe Text))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_taskId = (DescribeThingRegistrationTaskResponse -> Maybe Text)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Text -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Text
taskId :: Maybe Text
$sel:taskId:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Text
taskId} -> Maybe Text
taskId) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Text
a -> DescribeThingRegistrationTaskResponse
s {$sel:taskId:DescribeThingRegistrationTaskResponse' :: Maybe Text
taskId = Maybe Text
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_creationDate :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.UTCTime)
describeThingRegistrationTaskResponse_creationDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_creationDate = (DescribeThingRegistrationTaskResponse -> Maybe POSIX)
-> (DescribeThingRegistrationTaskResponse
-> Maybe POSIX -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe POSIX
creationDate :: Maybe POSIX
$sel:creationDate:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe POSIX
creationDate} -> Maybe POSIX
creationDate) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe POSIX
a -> DescribeThingRegistrationTaskResponse
s {$sel:creationDate:DescribeThingRegistrationTaskResponse' :: Maybe POSIX
creationDate = Maybe POSIX
a} :: DescribeThingRegistrationTaskResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeThingRegistrationTaskResponse_percentageProgress :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Natural)
describeThingRegistrationTaskResponse_percentageProgress :: (Maybe Natural -> f (Maybe Natural))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_percentageProgress = (DescribeThingRegistrationTaskResponse -> Maybe Natural)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Natural -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Natural
percentageProgress :: Maybe Natural
$sel:percentageProgress:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Natural
percentageProgress} -> Maybe Natural
percentageProgress) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Natural
a -> DescribeThingRegistrationTaskResponse
s {$sel:percentageProgress:DescribeThingRegistrationTaskResponse' :: Maybe Natural
percentageProgress = Maybe Natural
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_templateBody :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Text)
describeThingRegistrationTaskResponse_templateBody :: (Maybe Text -> f (Maybe Text))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_templateBody = (DescribeThingRegistrationTaskResponse -> Maybe Text)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Text -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Text
templateBody :: Maybe Text
$sel:templateBody:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Text
templateBody} -> Maybe Text
templateBody) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Text
a -> DescribeThingRegistrationTaskResponse
s {$sel:templateBody:DescribeThingRegistrationTaskResponse' :: Maybe Text
templateBody = Maybe Text
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_successCount :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Int)
describeThingRegistrationTaskResponse_successCount :: (Maybe Int -> f (Maybe Int))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_successCount = (DescribeThingRegistrationTaskResponse -> Maybe Int)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Int -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Int
successCount :: Maybe Int
$sel:successCount:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Int
successCount} -> Maybe Int
successCount) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Int
a -> DescribeThingRegistrationTaskResponse
s {$sel:successCount:DescribeThingRegistrationTaskResponse' :: Maybe Int
successCount = Maybe Int
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_message :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Text)
describeThingRegistrationTaskResponse_message :: (Maybe Text -> f (Maybe Text))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_message = (DescribeThingRegistrationTaskResponse -> Maybe Text)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Text -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Text
message :: Maybe Text
$sel:message:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Text
message} -> Maybe Text
message) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Text
a -> DescribeThingRegistrationTaskResponse
s {$sel:message:DescribeThingRegistrationTaskResponse' :: Maybe Text
message = Maybe Text
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_failureCount :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Int)
describeThingRegistrationTaskResponse_failureCount :: (Maybe Int -> f (Maybe Int))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_failureCount = (DescribeThingRegistrationTaskResponse -> Maybe Int)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Int -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Int
failureCount :: Maybe Int
$sel:failureCount:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Int
failureCount} -> Maybe Int
failureCount) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Int
a -> DescribeThingRegistrationTaskResponse
s {$sel:failureCount:DescribeThingRegistrationTaskResponse' :: Maybe Int
failureCount = Maybe Int
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_inputFileBucket :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Text)
describeThingRegistrationTaskResponse_inputFileBucket :: (Maybe Text -> f (Maybe Text))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_inputFileBucket = (DescribeThingRegistrationTaskResponse -> Maybe Text)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Text -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Text
inputFileBucket :: Maybe Text
$sel:inputFileBucket:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Text
inputFileBucket} -> Maybe Text
inputFileBucket) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Text
a -> DescribeThingRegistrationTaskResponse
s {$sel:inputFileBucket:DescribeThingRegistrationTaskResponse' :: Maybe Text
inputFileBucket = Maybe Text
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_roleArn :: Lens.Lens' DescribeThingRegistrationTaskResponse (Prelude.Maybe Prelude.Text)
describeThingRegistrationTaskResponse_roleArn :: (Maybe Text -> f (Maybe Text))
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_roleArn = (DescribeThingRegistrationTaskResponse -> Maybe Text)
-> (DescribeThingRegistrationTaskResponse
-> Maybe Text -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Maybe Text
roleArn :: Maybe Text
$sel:roleArn:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Maybe Text
roleArn} -> Maybe Text
roleArn) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Maybe Text
a -> DescribeThingRegistrationTaskResponse
s {$sel:roleArn:DescribeThingRegistrationTaskResponse' :: Maybe Text
roleArn = Maybe Text
a} :: DescribeThingRegistrationTaskResponse)
describeThingRegistrationTaskResponse_httpStatus :: Lens.Lens' DescribeThingRegistrationTaskResponse Prelude.Int
describeThingRegistrationTaskResponse_httpStatus :: (Int -> f Int)
-> DescribeThingRegistrationTaskResponse
-> f DescribeThingRegistrationTaskResponse
describeThingRegistrationTaskResponse_httpStatus = (DescribeThingRegistrationTaskResponse -> Int)
-> (DescribeThingRegistrationTaskResponse
-> Int -> DescribeThingRegistrationTaskResponse)
-> Lens
DescribeThingRegistrationTaskResponse
DescribeThingRegistrationTaskResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeThingRegistrationTaskResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeThingRegistrationTaskResponse' :: DescribeThingRegistrationTaskResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeThingRegistrationTaskResponse
s@DescribeThingRegistrationTaskResponse' {} Int
a -> DescribeThingRegistrationTaskResponse
s {$sel:httpStatus:DescribeThingRegistrationTaskResponse' :: Int
httpStatus = Int
a} :: DescribeThingRegistrationTaskResponse)
instance
Prelude.NFData
DescribeThingRegistrationTaskResponse