{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Proton.Types.ServiceTemplateVersionSummary where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Proton.Types.TemplateVersionStatus
data ServiceTemplateVersionSummary = ServiceTemplateVersionSummary'
{
ServiceTemplateVersionSummary -> Maybe (Sensitive Text)
statusMessage :: Prelude.Maybe (Core.Sensitive Prelude.Text),
ServiceTemplateVersionSummary -> Maybe Text
recommendedMinorVersion :: Prelude.Maybe Prelude.Text,
ServiceTemplateVersionSummary -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Core.Sensitive Prelude.Text),
ServiceTemplateVersionSummary -> Text
arn :: Prelude.Text,
ServiceTemplateVersionSummary -> POSIX
createdAt :: Core.POSIX,
ServiceTemplateVersionSummary -> POSIX
lastModifiedAt :: Core.POSIX,
ServiceTemplateVersionSummary -> Text
majorVersion :: Prelude.Text,
ServiceTemplateVersionSummary -> Text
minorVersion :: Prelude.Text,
ServiceTemplateVersionSummary -> TemplateVersionStatus
status :: TemplateVersionStatus,
ServiceTemplateVersionSummary -> Text
templateName :: Prelude.Text
}
deriving (ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool
(ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool)
-> (ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool)
-> Eq ServiceTemplateVersionSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool
$c/= :: ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool
== :: ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool
$c== :: ServiceTemplateVersionSummary
-> ServiceTemplateVersionSummary -> Bool
Prelude.Eq, Int -> ServiceTemplateVersionSummary -> ShowS
[ServiceTemplateVersionSummary] -> ShowS
ServiceTemplateVersionSummary -> String
(Int -> ServiceTemplateVersionSummary -> ShowS)
-> (ServiceTemplateVersionSummary -> String)
-> ([ServiceTemplateVersionSummary] -> ShowS)
-> Show ServiceTemplateVersionSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ServiceTemplateVersionSummary] -> ShowS
$cshowList :: [ServiceTemplateVersionSummary] -> ShowS
show :: ServiceTemplateVersionSummary -> String
$cshow :: ServiceTemplateVersionSummary -> String
showsPrec :: Int -> ServiceTemplateVersionSummary -> ShowS
$cshowsPrec :: Int -> ServiceTemplateVersionSummary -> ShowS
Prelude.Show, (forall x.
ServiceTemplateVersionSummary
-> Rep ServiceTemplateVersionSummary x)
-> (forall x.
Rep ServiceTemplateVersionSummary x
-> ServiceTemplateVersionSummary)
-> Generic ServiceTemplateVersionSummary
forall x.
Rep ServiceTemplateVersionSummary x
-> ServiceTemplateVersionSummary
forall x.
ServiceTemplateVersionSummary
-> Rep ServiceTemplateVersionSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ServiceTemplateVersionSummary x
-> ServiceTemplateVersionSummary
$cfrom :: forall x.
ServiceTemplateVersionSummary
-> Rep ServiceTemplateVersionSummary x
Prelude.Generic)
newServiceTemplateVersionSummary ::
Prelude.Text ->
Prelude.UTCTime ->
Prelude.UTCTime ->
Prelude.Text ->
Prelude.Text ->
TemplateVersionStatus ->
Prelude.Text ->
ServiceTemplateVersionSummary
newServiceTemplateVersionSummary :: Text
-> UTCTime
-> UTCTime
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary
newServiceTemplateVersionSummary
Text
pArn_
UTCTime
pCreatedAt_
UTCTime
pLastModifiedAt_
Text
pMajorVersion_
Text
pMinorVersion_
TemplateVersionStatus
pStatus_
Text
pTemplateName_ =
ServiceTemplateVersionSummary' :: Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary
ServiceTemplateVersionSummary'
{ $sel:statusMessage:ServiceTemplateVersionSummary' :: Maybe (Sensitive Text)
statusMessage =
Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:recommendedMinorVersion:ServiceTemplateVersionSummary' :: Maybe Text
recommendedMinorVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:ServiceTemplateVersionSummary' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:arn:ServiceTemplateVersionSummary' :: Text
arn = Text
pArn_,
$sel:createdAt:ServiceTemplateVersionSummary' :: POSIX
createdAt = 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
pCreatedAt_,
$sel:lastModifiedAt:ServiceTemplateVersionSummary' :: POSIX
lastModifiedAt =
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
pLastModifiedAt_,
$sel:majorVersion:ServiceTemplateVersionSummary' :: Text
majorVersion = Text
pMajorVersion_,
$sel:minorVersion:ServiceTemplateVersionSummary' :: Text
minorVersion = Text
pMinorVersion_,
$sel:status:ServiceTemplateVersionSummary' :: TemplateVersionStatus
status = TemplateVersionStatus
pStatus_,
$sel:templateName:ServiceTemplateVersionSummary' :: Text
templateName = Text
pTemplateName_
}
serviceTemplateVersionSummary_statusMessage :: Lens.Lens' ServiceTemplateVersionSummary (Prelude.Maybe Prelude.Text)
serviceTemplateVersionSummary_statusMessage :: (Maybe Text -> f (Maybe Text))
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_statusMessage = (ServiceTemplateVersionSummary -> Maybe (Sensitive Text))
-> (ServiceTemplateVersionSummary
-> Maybe (Sensitive Text) -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Maybe (Sensitive Text)
statusMessage :: Maybe (Sensitive Text)
$sel:statusMessage:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Maybe (Sensitive Text)
statusMessage} -> Maybe (Sensitive Text)
statusMessage) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Maybe (Sensitive Text)
a -> ServiceTemplateVersionSummary
s {$sel:statusMessage:ServiceTemplateVersionSummary' :: Maybe (Sensitive Text)
statusMessage = Maybe (Sensitive Text)
a} :: ServiceTemplateVersionSummary) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
serviceTemplateVersionSummary_recommendedMinorVersion :: Lens.Lens' ServiceTemplateVersionSummary (Prelude.Maybe Prelude.Text)
serviceTemplateVersionSummary_recommendedMinorVersion :: (Maybe Text -> f (Maybe Text))
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_recommendedMinorVersion = (ServiceTemplateVersionSummary -> Maybe Text)
-> (ServiceTemplateVersionSummary
-> Maybe Text -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Maybe Text
recommendedMinorVersion :: Maybe Text
$sel:recommendedMinorVersion:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Maybe Text
recommendedMinorVersion} -> Maybe Text
recommendedMinorVersion) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Maybe Text
a -> ServiceTemplateVersionSummary
s {$sel:recommendedMinorVersion:ServiceTemplateVersionSummary' :: Maybe Text
recommendedMinorVersion = Maybe Text
a} :: ServiceTemplateVersionSummary)
serviceTemplateVersionSummary_description :: Lens.Lens' ServiceTemplateVersionSummary (Prelude.Maybe Prelude.Text)
serviceTemplateVersionSummary_description :: (Maybe Text -> f (Maybe Text))
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_description = (ServiceTemplateVersionSummary -> Maybe (Sensitive Text))
-> (ServiceTemplateVersionSummary
-> Maybe (Sensitive Text) -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Maybe (Sensitive Text)
description :: Maybe (Sensitive Text)
$sel:description:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Maybe (Sensitive Text)
description} -> Maybe (Sensitive Text)
description) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Maybe (Sensitive Text)
a -> ServiceTemplateVersionSummary
s {$sel:description:ServiceTemplateVersionSummary' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
a} :: ServiceTemplateVersionSummary) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso (Sensitive Text) (Sensitive Text) Text Text
-> Iso
(Maybe (Sensitive Text))
(Maybe (Sensitive Text))
(Maybe Text)
(Maybe Text)
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 (Sensitive Text) (Sensitive Text) Text Text
forall a. Iso' (Sensitive a) a
Core._Sensitive
serviceTemplateVersionSummary_arn :: Lens.Lens' ServiceTemplateVersionSummary Prelude.Text
serviceTemplateVersionSummary_arn :: (Text -> f Text)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_arn = (ServiceTemplateVersionSummary -> Text)
-> (ServiceTemplateVersionSummary
-> Text -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Text
arn :: Text
$sel:arn:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Text
arn} -> Text
arn) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Text
a -> ServiceTemplateVersionSummary
s {$sel:arn:ServiceTemplateVersionSummary' :: Text
arn = Text
a} :: ServiceTemplateVersionSummary)
serviceTemplateVersionSummary_createdAt :: Lens.Lens' ServiceTemplateVersionSummary Prelude.UTCTime
serviceTemplateVersionSummary_createdAt :: (UTCTime -> f UTCTime)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_createdAt = (ServiceTemplateVersionSummary -> POSIX)
-> (ServiceTemplateVersionSummary
-> POSIX -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
POSIX
POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {POSIX
createdAt :: POSIX
$sel:createdAt:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> POSIX
createdAt} -> POSIX
createdAt) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} POSIX
a -> ServiceTemplateVersionSummary
s {$sel:createdAt:ServiceTemplateVersionSummary' :: POSIX
createdAt = POSIX
a} :: ServiceTemplateVersionSummary) ((POSIX -> f POSIX)
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary
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
serviceTemplateVersionSummary_lastModifiedAt :: Lens.Lens' ServiceTemplateVersionSummary Prelude.UTCTime
serviceTemplateVersionSummary_lastModifiedAt :: (UTCTime -> f UTCTime)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_lastModifiedAt = (ServiceTemplateVersionSummary -> POSIX)
-> (ServiceTemplateVersionSummary
-> POSIX -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
POSIX
POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {POSIX
lastModifiedAt :: POSIX
$sel:lastModifiedAt:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> POSIX
lastModifiedAt} -> POSIX
lastModifiedAt) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} POSIX
a -> ServiceTemplateVersionSummary
s {$sel:lastModifiedAt:ServiceTemplateVersionSummary' :: POSIX
lastModifiedAt = POSIX
a} :: ServiceTemplateVersionSummary) ((POSIX -> f POSIX)
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> ServiceTemplateVersionSummary
-> f ServiceTemplateVersionSummary
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
serviceTemplateVersionSummary_majorVersion :: Lens.Lens' ServiceTemplateVersionSummary Prelude.Text
serviceTemplateVersionSummary_majorVersion :: (Text -> f Text)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_majorVersion = (ServiceTemplateVersionSummary -> Text)
-> (ServiceTemplateVersionSummary
-> Text -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Text
majorVersion :: Text
$sel:majorVersion:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Text
majorVersion} -> Text
majorVersion) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Text
a -> ServiceTemplateVersionSummary
s {$sel:majorVersion:ServiceTemplateVersionSummary' :: Text
majorVersion = Text
a} :: ServiceTemplateVersionSummary)
serviceTemplateVersionSummary_minorVersion :: Lens.Lens' ServiceTemplateVersionSummary Prelude.Text
serviceTemplateVersionSummary_minorVersion :: (Text -> f Text)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_minorVersion = (ServiceTemplateVersionSummary -> Text)
-> (ServiceTemplateVersionSummary
-> Text -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Text
minorVersion :: Text
$sel:minorVersion:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Text
minorVersion} -> Text
minorVersion) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Text
a -> ServiceTemplateVersionSummary
s {$sel:minorVersion:ServiceTemplateVersionSummary' :: Text
minorVersion = Text
a} :: ServiceTemplateVersionSummary)
serviceTemplateVersionSummary_status :: Lens.Lens' ServiceTemplateVersionSummary TemplateVersionStatus
serviceTemplateVersionSummary_status :: (TemplateVersionStatus -> f TemplateVersionStatus)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_status = (ServiceTemplateVersionSummary -> TemplateVersionStatus)
-> (ServiceTemplateVersionSummary
-> TemplateVersionStatus -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
TemplateVersionStatus
TemplateVersionStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {TemplateVersionStatus
status :: TemplateVersionStatus
$sel:status:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> TemplateVersionStatus
status} -> TemplateVersionStatus
status) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} TemplateVersionStatus
a -> ServiceTemplateVersionSummary
s {$sel:status:ServiceTemplateVersionSummary' :: TemplateVersionStatus
status = TemplateVersionStatus
a} :: ServiceTemplateVersionSummary)
serviceTemplateVersionSummary_templateName :: Lens.Lens' ServiceTemplateVersionSummary Prelude.Text
serviceTemplateVersionSummary_templateName :: (Text -> f Text)
-> ServiceTemplateVersionSummary -> f ServiceTemplateVersionSummary
serviceTemplateVersionSummary_templateName = (ServiceTemplateVersionSummary -> Text)
-> (ServiceTemplateVersionSummary
-> Text -> ServiceTemplateVersionSummary)
-> Lens
ServiceTemplateVersionSummary
ServiceTemplateVersionSummary
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ServiceTemplateVersionSummary' {Text
templateName :: Text
$sel:templateName:ServiceTemplateVersionSummary' :: ServiceTemplateVersionSummary -> Text
templateName} -> Text
templateName) (\s :: ServiceTemplateVersionSummary
s@ServiceTemplateVersionSummary' {} Text
a -> ServiceTemplateVersionSummary
s {$sel:templateName:ServiceTemplateVersionSummary' :: Text
templateName = Text
a} :: ServiceTemplateVersionSummary)
instance Core.FromJSON ServiceTemplateVersionSummary where
parseJSON :: Value -> Parser ServiceTemplateVersionSummary
parseJSON =
String
-> (Object -> Parser ServiceTemplateVersionSummary)
-> Value
-> Parser ServiceTemplateVersionSummary
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ServiceTemplateVersionSummary"
( \Object
x ->
Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary
ServiceTemplateVersionSummary'
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"statusMessage")
Parser
(Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"recommendedMinorVersion")
Parser
(Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive Text))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"description")
Parser
(Text
-> POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser Text
-> Parser
(POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"arn")
Parser
(POSIX
-> POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser POSIX
-> Parser
(POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"createdAt")
Parser
(POSIX
-> Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser POSIX
-> Parser
(Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser POSIX
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"lastModifiedAt")
Parser
(Text
-> Text
-> TemplateVersionStatus
-> Text
-> ServiceTemplateVersionSummary)
-> Parser Text
-> Parser
(Text
-> TemplateVersionStatus -> Text -> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"majorVersion")
Parser
(Text
-> TemplateVersionStatus -> Text -> ServiceTemplateVersionSummary)
-> Parser Text
-> Parser
(TemplateVersionStatus -> Text -> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"minorVersion")
Parser
(TemplateVersionStatus -> Text -> ServiceTemplateVersionSummary)
-> Parser TemplateVersionStatus
-> Parser (Text -> ServiceTemplateVersionSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser TemplateVersionStatus
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"status")
Parser (Text -> ServiceTemplateVersionSummary)
-> Parser Text -> Parser ServiceTemplateVersionSummary
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"templateName")
)
instance
Prelude.Hashable
ServiceTemplateVersionSummary
instance Prelude.NFData ServiceTemplateVersionSummary