{-# 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.SageMaker.DescribeHumanTaskUi
(
DescribeHumanTaskUi (..),
newDescribeHumanTaskUi,
describeHumanTaskUi_humanTaskUiName,
DescribeHumanTaskUiResponse (..),
newDescribeHumanTaskUiResponse,
describeHumanTaskUiResponse_humanTaskUiStatus,
describeHumanTaskUiResponse_httpStatus,
describeHumanTaskUiResponse_humanTaskUiArn,
describeHumanTaskUiResponse_humanTaskUiName,
describeHumanTaskUiResponse_creationTime,
describeHumanTaskUiResponse_uiTemplate,
)
where
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
import Amazonka.SageMaker.Types
data DescribeHumanTaskUi = DescribeHumanTaskUi'
{
DescribeHumanTaskUi -> Text
humanTaskUiName :: Prelude.Text
}
deriving (DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool
(DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool)
-> (DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool)
-> Eq DescribeHumanTaskUi
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool
$c/= :: DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool
== :: DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool
$c== :: DescribeHumanTaskUi -> DescribeHumanTaskUi -> Bool
Prelude.Eq, ReadPrec [DescribeHumanTaskUi]
ReadPrec DescribeHumanTaskUi
Int -> ReadS DescribeHumanTaskUi
ReadS [DescribeHumanTaskUi]
(Int -> ReadS DescribeHumanTaskUi)
-> ReadS [DescribeHumanTaskUi]
-> ReadPrec DescribeHumanTaskUi
-> ReadPrec [DescribeHumanTaskUi]
-> Read DescribeHumanTaskUi
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeHumanTaskUi]
$creadListPrec :: ReadPrec [DescribeHumanTaskUi]
readPrec :: ReadPrec DescribeHumanTaskUi
$creadPrec :: ReadPrec DescribeHumanTaskUi
readList :: ReadS [DescribeHumanTaskUi]
$creadList :: ReadS [DescribeHumanTaskUi]
readsPrec :: Int -> ReadS DescribeHumanTaskUi
$creadsPrec :: Int -> ReadS DescribeHumanTaskUi
Prelude.Read, Int -> DescribeHumanTaskUi -> ShowS
[DescribeHumanTaskUi] -> ShowS
DescribeHumanTaskUi -> String
(Int -> DescribeHumanTaskUi -> ShowS)
-> (DescribeHumanTaskUi -> String)
-> ([DescribeHumanTaskUi] -> ShowS)
-> Show DescribeHumanTaskUi
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeHumanTaskUi] -> ShowS
$cshowList :: [DescribeHumanTaskUi] -> ShowS
show :: DescribeHumanTaskUi -> String
$cshow :: DescribeHumanTaskUi -> String
showsPrec :: Int -> DescribeHumanTaskUi -> ShowS
$cshowsPrec :: Int -> DescribeHumanTaskUi -> ShowS
Prelude.Show, (forall x. DescribeHumanTaskUi -> Rep DescribeHumanTaskUi x)
-> (forall x. Rep DescribeHumanTaskUi x -> DescribeHumanTaskUi)
-> Generic DescribeHumanTaskUi
forall x. Rep DescribeHumanTaskUi x -> DescribeHumanTaskUi
forall x. DescribeHumanTaskUi -> Rep DescribeHumanTaskUi x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DescribeHumanTaskUi x -> DescribeHumanTaskUi
$cfrom :: forall x. DescribeHumanTaskUi -> Rep DescribeHumanTaskUi x
Prelude.Generic)
newDescribeHumanTaskUi ::
Prelude.Text ->
DescribeHumanTaskUi
newDescribeHumanTaskUi :: Text -> DescribeHumanTaskUi
newDescribeHumanTaskUi Text
pHumanTaskUiName_ =
DescribeHumanTaskUi' :: Text -> DescribeHumanTaskUi
DescribeHumanTaskUi'
{ $sel:humanTaskUiName:DescribeHumanTaskUi' :: Text
humanTaskUiName =
Text
pHumanTaskUiName_
}
describeHumanTaskUi_humanTaskUiName :: Lens.Lens' DescribeHumanTaskUi Prelude.Text
describeHumanTaskUi_humanTaskUiName :: (Text -> f Text) -> DescribeHumanTaskUi -> f DescribeHumanTaskUi
describeHumanTaskUi_humanTaskUiName = (DescribeHumanTaskUi -> Text)
-> (DescribeHumanTaskUi -> Text -> DescribeHumanTaskUi)
-> Lens DescribeHumanTaskUi DescribeHumanTaskUi Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUi' {Text
humanTaskUiName :: Text
$sel:humanTaskUiName:DescribeHumanTaskUi' :: DescribeHumanTaskUi -> Text
humanTaskUiName} -> Text
humanTaskUiName) (\s :: DescribeHumanTaskUi
s@DescribeHumanTaskUi' {} Text
a -> DescribeHumanTaskUi
s {$sel:humanTaskUiName:DescribeHumanTaskUi' :: Text
humanTaskUiName = Text
a} :: DescribeHumanTaskUi)
instance Core.AWSRequest DescribeHumanTaskUi where
type
AWSResponse DescribeHumanTaskUi =
DescribeHumanTaskUiResponse
request :: DescribeHumanTaskUi -> Request DescribeHumanTaskUi
request = Service -> DescribeHumanTaskUi -> Request DescribeHumanTaskUi
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeHumanTaskUi
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeHumanTaskUi)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeHumanTaskUi))
-> Logger
-> Service
-> Proxy DescribeHumanTaskUi
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeHumanTaskUi)))
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 HumanTaskUiStatus
-> Int
-> Text
-> Text
-> POSIX
-> UiTemplateInfo
-> DescribeHumanTaskUiResponse
DescribeHumanTaskUiResponse'
(Maybe HumanTaskUiStatus
-> Int
-> Text
-> Text
-> POSIX
-> UiTemplateInfo
-> DescribeHumanTaskUiResponse)
-> Either String (Maybe HumanTaskUiStatus)
-> Either
String
(Int
-> Text
-> Text
-> POSIX
-> UiTemplateInfo
-> DescribeHumanTaskUiResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe HumanTaskUiStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"HumanTaskUiStatus")
Either
String
(Int
-> Text
-> Text
-> POSIX
-> UiTemplateInfo
-> DescribeHumanTaskUiResponse)
-> Either String Int
-> Either
String
(Text
-> Text -> POSIX -> UiTemplateInfo -> DescribeHumanTaskUiResponse)
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))
Either
String
(Text
-> Text -> POSIX -> UiTemplateInfo -> DescribeHumanTaskUiResponse)
-> Either String Text
-> Either
String
(Text -> POSIX -> UiTemplateInfo -> DescribeHumanTaskUiResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"HumanTaskUiArn")
Either
String
(Text -> POSIX -> UiTemplateInfo -> DescribeHumanTaskUiResponse)
-> Either String Text
-> Either
String (POSIX -> UiTemplateInfo -> DescribeHumanTaskUiResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"HumanTaskUiName")
Either
String (POSIX -> UiTemplateInfo -> DescribeHumanTaskUiResponse)
-> Either String POSIX
-> Either String (UiTemplateInfo -> DescribeHumanTaskUiResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String POSIX
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"CreationTime")
Either String (UiTemplateInfo -> DescribeHumanTaskUiResponse)
-> Either String UiTemplateInfo
-> Either String DescribeHumanTaskUiResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String UiTemplateInfo
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"UiTemplate")
)
instance Prelude.Hashable DescribeHumanTaskUi
instance Prelude.NFData DescribeHumanTaskUi
instance Core.ToHeaders DescribeHumanTaskUi where
toHeaders :: DescribeHumanTaskUi -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeHumanTaskUi -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"SageMaker.DescribeHumanTaskUi" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON DescribeHumanTaskUi where
toJSON :: DescribeHumanTaskUi -> Value
toJSON DescribeHumanTaskUi' {Text
humanTaskUiName :: Text
$sel:humanTaskUiName:DescribeHumanTaskUi' :: DescribeHumanTaskUi -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"HumanTaskUiName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
humanTaskUiName)
]
)
instance Core.ToPath DescribeHumanTaskUi where
toPath :: DescribeHumanTaskUi -> ByteString
toPath = ByteString -> DescribeHumanTaskUi -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DescribeHumanTaskUi where
toQuery :: DescribeHumanTaskUi -> QueryString
toQuery = QueryString -> DescribeHumanTaskUi -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeHumanTaskUiResponse = DescribeHumanTaskUiResponse'
{
DescribeHumanTaskUiResponse -> Maybe HumanTaskUiStatus
humanTaskUiStatus :: Prelude.Maybe HumanTaskUiStatus,
DescribeHumanTaskUiResponse -> Int
httpStatus :: Prelude.Int,
DescribeHumanTaskUiResponse -> Text
humanTaskUiArn :: Prelude.Text,
DescribeHumanTaskUiResponse -> Text
humanTaskUiName :: Prelude.Text,
DescribeHumanTaskUiResponse -> POSIX
creationTime :: Core.POSIX,
DescribeHumanTaskUiResponse -> UiTemplateInfo
uiTemplate :: UiTemplateInfo
}
deriving (DescribeHumanTaskUiResponse -> DescribeHumanTaskUiResponse -> Bool
(DescribeHumanTaskUiResponse
-> DescribeHumanTaskUiResponse -> Bool)
-> (DescribeHumanTaskUiResponse
-> DescribeHumanTaskUiResponse -> Bool)
-> Eq DescribeHumanTaskUiResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeHumanTaskUiResponse -> DescribeHumanTaskUiResponse -> Bool
$c/= :: DescribeHumanTaskUiResponse -> DescribeHumanTaskUiResponse -> Bool
== :: DescribeHumanTaskUiResponse -> DescribeHumanTaskUiResponse -> Bool
$c== :: DescribeHumanTaskUiResponse -> DescribeHumanTaskUiResponse -> Bool
Prelude.Eq, ReadPrec [DescribeHumanTaskUiResponse]
ReadPrec DescribeHumanTaskUiResponse
Int -> ReadS DescribeHumanTaskUiResponse
ReadS [DescribeHumanTaskUiResponse]
(Int -> ReadS DescribeHumanTaskUiResponse)
-> ReadS [DescribeHumanTaskUiResponse]
-> ReadPrec DescribeHumanTaskUiResponse
-> ReadPrec [DescribeHumanTaskUiResponse]
-> Read DescribeHumanTaskUiResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeHumanTaskUiResponse]
$creadListPrec :: ReadPrec [DescribeHumanTaskUiResponse]
readPrec :: ReadPrec DescribeHumanTaskUiResponse
$creadPrec :: ReadPrec DescribeHumanTaskUiResponse
readList :: ReadS [DescribeHumanTaskUiResponse]
$creadList :: ReadS [DescribeHumanTaskUiResponse]
readsPrec :: Int -> ReadS DescribeHumanTaskUiResponse
$creadsPrec :: Int -> ReadS DescribeHumanTaskUiResponse
Prelude.Read, Int -> DescribeHumanTaskUiResponse -> ShowS
[DescribeHumanTaskUiResponse] -> ShowS
DescribeHumanTaskUiResponse -> String
(Int -> DescribeHumanTaskUiResponse -> ShowS)
-> (DescribeHumanTaskUiResponse -> String)
-> ([DescribeHumanTaskUiResponse] -> ShowS)
-> Show DescribeHumanTaskUiResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeHumanTaskUiResponse] -> ShowS
$cshowList :: [DescribeHumanTaskUiResponse] -> ShowS
show :: DescribeHumanTaskUiResponse -> String
$cshow :: DescribeHumanTaskUiResponse -> String
showsPrec :: Int -> DescribeHumanTaskUiResponse -> ShowS
$cshowsPrec :: Int -> DescribeHumanTaskUiResponse -> ShowS
Prelude.Show, (forall x.
DescribeHumanTaskUiResponse -> Rep DescribeHumanTaskUiResponse x)
-> (forall x.
Rep DescribeHumanTaskUiResponse x -> DescribeHumanTaskUiResponse)
-> Generic DescribeHumanTaskUiResponse
forall x.
Rep DescribeHumanTaskUiResponse x -> DescribeHumanTaskUiResponse
forall x.
DescribeHumanTaskUiResponse -> Rep DescribeHumanTaskUiResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeHumanTaskUiResponse x -> DescribeHumanTaskUiResponse
$cfrom :: forall x.
DescribeHumanTaskUiResponse -> Rep DescribeHumanTaskUiResponse x
Prelude.Generic)
newDescribeHumanTaskUiResponse ::
Prelude.Int ->
Prelude.Text ->
Prelude.Text ->
Prelude.UTCTime ->
UiTemplateInfo ->
DescribeHumanTaskUiResponse
newDescribeHumanTaskUiResponse :: Int
-> Text
-> Text
-> UTCTime
-> UiTemplateInfo
-> DescribeHumanTaskUiResponse
newDescribeHumanTaskUiResponse
Int
pHttpStatus_
Text
pHumanTaskUiArn_
Text
pHumanTaskUiName_
UTCTime
pCreationTime_
UiTemplateInfo
pUiTemplate_ =
DescribeHumanTaskUiResponse' :: Maybe HumanTaskUiStatus
-> Int
-> Text
-> Text
-> POSIX
-> UiTemplateInfo
-> DescribeHumanTaskUiResponse
DescribeHumanTaskUiResponse'
{ $sel:humanTaskUiStatus:DescribeHumanTaskUiResponse' :: Maybe HumanTaskUiStatus
humanTaskUiStatus =
Maybe HumanTaskUiStatus
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeHumanTaskUiResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:humanTaskUiArn:DescribeHumanTaskUiResponse' :: Text
humanTaskUiArn = Text
pHumanTaskUiArn_,
$sel:humanTaskUiName:DescribeHumanTaskUiResponse' :: Text
humanTaskUiName = Text
pHumanTaskUiName_,
$sel:creationTime:DescribeHumanTaskUiResponse' :: POSIX
creationTime =
Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
-> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreationTime_,
$sel:uiTemplate:DescribeHumanTaskUiResponse' :: UiTemplateInfo
uiTemplate = UiTemplateInfo
pUiTemplate_
}
describeHumanTaskUiResponse_humanTaskUiStatus :: Lens.Lens' DescribeHumanTaskUiResponse (Prelude.Maybe HumanTaskUiStatus)
describeHumanTaskUiResponse_humanTaskUiStatus :: (Maybe HumanTaskUiStatus -> f (Maybe HumanTaskUiStatus))
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse
describeHumanTaskUiResponse_humanTaskUiStatus = (DescribeHumanTaskUiResponse -> Maybe HumanTaskUiStatus)
-> (DescribeHumanTaskUiResponse
-> Maybe HumanTaskUiStatus -> DescribeHumanTaskUiResponse)
-> Lens
DescribeHumanTaskUiResponse
DescribeHumanTaskUiResponse
(Maybe HumanTaskUiStatus)
(Maybe HumanTaskUiStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUiResponse' {Maybe HumanTaskUiStatus
humanTaskUiStatus :: Maybe HumanTaskUiStatus
$sel:humanTaskUiStatus:DescribeHumanTaskUiResponse' :: DescribeHumanTaskUiResponse -> Maybe HumanTaskUiStatus
humanTaskUiStatus} -> Maybe HumanTaskUiStatus
humanTaskUiStatus) (\s :: DescribeHumanTaskUiResponse
s@DescribeHumanTaskUiResponse' {} Maybe HumanTaskUiStatus
a -> DescribeHumanTaskUiResponse
s {$sel:humanTaskUiStatus:DescribeHumanTaskUiResponse' :: Maybe HumanTaskUiStatus
humanTaskUiStatus = Maybe HumanTaskUiStatus
a} :: DescribeHumanTaskUiResponse)
describeHumanTaskUiResponse_httpStatus :: Lens.Lens' DescribeHumanTaskUiResponse Prelude.Int
describeHumanTaskUiResponse_httpStatus :: (Int -> f Int)
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse
describeHumanTaskUiResponse_httpStatus = (DescribeHumanTaskUiResponse -> Int)
-> (DescribeHumanTaskUiResponse
-> Int -> DescribeHumanTaskUiResponse)
-> Lens
DescribeHumanTaskUiResponse DescribeHumanTaskUiResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUiResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeHumanTaskUiResponse' :: DescribeHumanTaskUiResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeHumanTaskUiResponse
s@DescribeHumanTaskUiResponse' {} Int
a -> DescribeHumanTaskUiResponse
s {$sel:httpStatus:DescribeHumanTaskUiResponse' :: Int
httpStatus = Int
a} :: DescribeHumanTaskUiResponse)
describeHumanTaskUiResponse_humanTaskUiArn :: Lens.Lens' DescribeHumanTaskUiResponse Prelude.Text
describeHumanTaskUiResponse_humanTaskUiArn :: (Text -> f Text)
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse
describeHumanTaskUiResponse_humanTaskUiArn = (DescribeHumanTaskUiResponse -> Text)
-> (DescribeHumanTaskUiResponse
-> Text -> DescribeHumanTaskUiResponse)
-> Lens
DescribeHumanTaskUiResponse DescribeHumanTaskUiResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUiResponse' {Text
humanTaskUiArn :: Text
$sel:humanTaskUiArn:DescribeHumanTaskUiResponse' :: DescribeHumanTaskUiResponse -> Text
humanTaskUiArn} -> Text
humanTaskUiArn) (\s :: DescribeHumanTaskUiResponse
s@DescribeHumanTaskUiResponse' {} Text
a -> DescribeHumanTaskUiResponse
s {$sel:humanTaskUiArn:DescribeHumanTaskUiResponse' :: Text
humanTaskUiArn = Text
a} :: DescribeHumanTaskUiResponse)
describeHumanTaskUiResponse_humanTaskUiName :: Lens.Lens' DescribeHumanTaskUiResponse Prelude.Text
describeHumanTaskUiResponse_humanTaskUiName :: (Text -> f Text)
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse
describeHumanTaskUiResponse_humanTaskUiName = (DescribeHumanTaskUiResponse -> Text)
-> (DescribeHumanTaskUiResponse
-> Text -> DescribeHumanTaskUiResponse)
-> Lens
DescribeHumanTaskUiResponse DescribeHumanTaskUiResponse Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUiResponse' {Text
humanTaskUiName :: Text
$sel:humanTaskUiName:DescribeHumanTaskUiResponse' :: DescribeHumanTaskUiResponse -> Text
humanTaskUiName} -> Text
humanTaskUiName) (\s :: DescribeHumanTaskUiResponse
s@DescribeHumanTaskUiResponse' {} Text
a -> DescribeHumanTaskUiResponse
s {$sel:humanTaskUiName:DescribeHumanTaskUiResponse' :: Text
humanTaskUiName = Text
a} :: DescribeHumanTaskUiResponse)
describeHumanTaskUiResponse_creationTime :: Lens.Lens' DescribeHumanTaskUiResponse Prelude.UTCTime
describeHumanTaskUiResponse_creationTime :: (UTCTime -> f UTCTime)
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse
describeHumanTaskUiResponse_creationTime = (DescribeHumanTaskUiResponse -> POSIX)
-> (DescribeHumanTaskUiResponse
-> POSIX -> DescribeHumanTaskUiResponse)
-> Lens
DescribeHumanTaskUiResponse DescribeHumanTaskUiResponse POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUiResponse' {POSIX
creationTime :: POSIX
$sel:creationTime:DescribeHumanTaskUiResponse' :: DescribeHumanTaskUiResponse -> POSIX
creationTime} -> POSIX
creationTime) (\s :: DescribeHumanTaskUiResponse
s@DescribeHumanTaskUiResponse' {} POSIX
a -> DescribeHumanTaskUiResponse
s {$sel:creationTime:DescribeHumanTaskUiResponse' :: POSIX
creationTime = POSIX
a} :: DescribeHumanTaskUiResponse) ((POSIX -> f POSIX)
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeHumanTaskUiResponse
-> f DescribeHumanTaskUiResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeHumanTaskUiResponse_uiTemplate :: Lens.Lens' DescribeHumanTaskUiResponse UiTemplateInfo
describeHumanTaskUiResponse_uiTemplate :: (UiTemplateInfo -> f UiTemplateInfo)
-> DescribeHumanTaskUiResponse -> f DescribeHumanTaskUiResponse
describeHumanTaskUiResponse_uiTemplate = (DescribeHumanTaskUiResponse -> UiTemplateInfo)
-> (DescribeHumanTaskUiResponse
-> UiTemplateInfo -> DescribeHumanTaskUiResponse)
-> Lens
DescribeHumanTaskUiResponse
DescribeHumanTaskUiResponse
UiTemplateInfo
UiTemplateInfo
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeHumanTaskUiResponse' {UiTemplateInfo
uiTemplate :: UiTemplateInfo
$sel:uiTemplate:DescribeHumanTaskUiResponse' :: DescribeHumanTaskUiResponse -> UiTemplateInfo
uiTemplate} -> UiTemplateInfo
uiTemplate) (\s :: DescribeHumanTaskUiResponse
s@DescribeHumanTaskUiResponse' {} UiTemplateInfo
a -> DescribeHumanTaskUiResponse
s {$sel:uiTemplate:DescribeHumanTaskUiResponse' :: UiTemplateInfo
uiTemplate = UiTemplateInfo
a} :: DescribeHumanTaskUiResponse)
instance Prelude.NFData DescribeHumanTaskUiResponse