{-# 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.Service where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Proton.Types.ServicePipeline
import Amazonka.Proton.Types.ServiceStatus
data Service = Service'
{
Service -> Maybe Text
branchName :: Prelude.Maybe Prelude.Text,
Service -> Maybe (Sensitive Text)
statusMessage :: Prelude.Maybe (Core.Sensitive Prelude.Text),
Service -> Maybe Text
repositoryId :: Prelude.Maybe Prelude.Text,
Service -> Maybe ServicePipeline
pipeline :: Prelude.Maybe ServicePipeline,
Service -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Core.Sensitive Prelude.Text),
Service -> Maybe Text
repositoryConnectionArn :: Prelude.Maybe Prelude.Text,
Service -> Text
arn :: Prelude.Text,
Service -> POSIX
createdAt :: Core.POSIX,
Service -> POSIX
lastModifiedAt :: Core.POSIX,
Service -> Text
name :: Prelude.Text,
Service -> Sensitive Text
spec :: Core.Sensitive Prelude.Text,
Service -> ServiceStatus
status :: ServiceStatus,
Service -> Text
templateName :: Prelude.Text
}
deriving (Service -> Service -> Bool
(Service -> Service -> Bool)
-> (Service -> Service -> Bool) -> Eq Service
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Service -> Service -> Bool
$c/= :: Service -> Service -> Bool
== :: Service -> Service -> Bool
$c== :: Service -> Service -> Bool
Prelude.Eq, Int -> Service -> ShowS
[Service] -> ShowS
Service -> String
(Int -> Service -> ShowS)
-> (Service -> String) -> ([Service] -> ShowS) -> Show Service
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Service] -> ShowS
$cshowList :: [Service] -> ShowS
show :: Service -> String
$cshow :: Service -> String
showsPrec :: Int -> Service -> ShowS
$cshowsPrec :: Int -> Service -> ShowS
Prelude.Show, (forall x. Service -> Rep Service x)
-> (forall x. Rep Service x -> Service) -> Generic Service
forall x. Rep Service x -> Service
forall x. Service -> Rep Service x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Service x -> Service
$cfrom :: forall x. Service -> Rep Service x
Prelude.Generic)
newService ::
Prelude.Text ->
Prelude.UTCTime ->
Prelude.UTCTime ->
Prelude.Text ->
Prelude.Text ->
ServiceStatus ->
Prelude.Text ->
Service
newService :: Text
-> UTCTime
-> UTCTime
-> Text
-> Text
-> ServiceStatus
-> Text
-> Service
newService
Text
pArn_
UTCTime
pCreatedAt_
UTCTime
pLastModifiedAt_
Text
pName_
Text
pSpec_
ServiceStatus
pStatus_
Text
pTemplateName_ =
Service' :: Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service
Service'
{ $sel:branchName:Service' :: Maybe Text
branchName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:statusMessage:Service' :: Maybe (Sensitive Text)
statusMessage = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:repositoryId:Service' :: Maybe Text
repositoryId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:pipeline:Service' :: Maybe ServicePipeline
pipeline = Maybe ServicePipeline
forall a. Maybe a
Prelude.Nothing,
$sel:description:Service' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
forall a. Maybe a
Prelude.Nothing,
$sel:repositoryConnectionArn:Service' :: Maybe Text
repositoryConnectionArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:arn:Service' :: Text
arn = Text
pArn_,
$sel:createdAt:Service' :: 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:Service' :: 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:name:Service' :: Text
name = Text
pName_,
$sel:spec:Service' :: Sensitive Text
spec = Tagged Text (Identity Text)
-> Tagged (Sensitive Text) (Identity (Sensitive Text))
forall a. Iso' (Sensitive a) a
Core._Sensitive (Tagged Text (Identity Text)
-> Tagged (Sensitive Text) (Identity (Sensitive Text)))
-> Text -> Sensitive Text
forall t b. AReview t b -> b -> t
Lens.# Text
pSpec_,
$sel:status:Service' :: ServiceStatus
status = ServiceStatus
pStatus_,
$sel:templateName:Service' :: Text
templateName = Text
pTemplateName_
}
service_branchName :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_branchName :: (Maybe Text -> f (Maybe Text)) -> Service -> f Service
service_branchName = (Service -> Maybe Text)
-> (Service -> Maybe Text -> Service)
-> Lens Service Service (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Maybe Text
branchName :: Maybe Text
$sel:branchName:Service' :: Service -> Maybe Text
branchName} -> Maybe Text
branchName) (\s :: Service
s@Service' {} Maybe Text
a -> Service
s {$sel:branchName:Service' :: Maybe Text
branchName = Maybe Text
a} :: Service)
service_statusMessage :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_statusMessage :: (Maybe Text -> f (Maybe Text)) -> Service -> f Service
service_statusMessage = (Service -> Maybe (Sensitive Text))
-> (Service -> Maybe (Sensitive Text) -> Service)
-> Lens
Service Service (Maybe (Sensitive Text)) (Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Maybe (Sensitive Text)
statusMessage :: Maybe (Sensitive Text)
$sel:statusMessage:Service' :: Service -> Maybe (Sensitive Text)
statusMessage} -> Maybe (Sensitive Text)
statusMessage) (\s :: Service
s@Service' {} Maybe (Sensitive Text)
a -> Service
s {$sel:statusMessage:Service' :: Maybe (Sensitive Text)
statusMessage = Maybe (Sensitive Text)
a} :: Service) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> Service -> f Service)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> Service
-> f Service
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
service_repositoryId :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_repositoryId :: (Maybe Text -> f (Maybe Text)) -> Service -> f Service
service_repositoryId = (Service -> Maybe Text)
-> (Service -> Maybe Text -> Service)
-> Lens Service Service (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Maybe Text
repositoryId :: Maybe Text
$sel:repositoryId:Service' :: Service -> Maybe Text
repositoryId} -> Maybe Text
repositoryId) (\s :: Service
s@Service' {} Maybe Text
a -> Service
s {$sel:repositoryId:Service' :: Maybe Text
repositoryId = Maybe Text
a} :: Service)
service_pipeline :: Lens.Lens' Service (Prelude.Maybe ServicePipeline)
service_pipeline :: (Maybe ServicePipeline -> f (Maybe ServicePipeline))
-> Service -> f Service
service_pipeline = (Service -> Maybe ServicePipeline)
-> (Service -> Maybe ServicePipeline -> Service)
-> Lens
Service Service (Maybe ServicePipeline) (Maybe ServicePipeline)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Maybe ServicePipeline
pipeline :: Maybe ServicePipeline
$sel:pipeline:Service' :: Service -> Maybe ServicePipeline
pipeline} -> Maybe ServicePipeline
pipeline) (\s :: Service
s@Service' {} Maybe ServicePipeline
a -> Service
s {$sel:pipeline:Service' :: Maybe ServicePipeline
pipeline = Maybe ServicePipeline
a} :: Service)
service_description :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_description :: (Maybe Text -> f (Maybe Text)) -> Service -> f Service
service_description = (Service -> Maybe (Sensitive Text))
-> (Service -> Maybe (Sensitive Text) -> Service)
-> Lens
Service Service (Maybe (Sensitive Text)) (Maybe (Sensitive Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Maybe (Sensitive Text)
description :: Maybe (Sensitive Text)
$sel:description:Service' :: Service -> Maybe (Sensitive Text)
description} -> Maybe (Sensitive Text)
description) (\s :: Service
s@Service' {} Maybe (Sensitive Text)
a -> Service
s {$sel:description:Service' :: Maybe (Sensitive Text)
description = Maybe (Sensitive Text)
a} :: Service) ((Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> Service -> f Service)
-> ((Maybe Text -> f (Maybe Text))
-> Maybe (Sensitive Text) -> f (Maybe (Sensitive Text)))
-> (Maybe Text -> f (Maybe Text))
-> Service
-> f Service
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
service_repositoryConnectionArn :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_repositoryConnectionArn :: (Maybe Text -> f (Maybe Text)) -> Service -> f Service
service_repositoryConnectionArn = (Service -> Maybe Text)
-> (Service -> Maybe Text -> Service)
-> Lens Service Service (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Maybe Text
repositoryConnectionArn :: Maybe Text
$sel:repositoryConnectionArn:Service' :: Service -> Maybe Text
repositoryConnectionArn} -> Maybe Text
repositoryConnectionArn) (\s :: Service
s@Service' {} Maybe Text
a -> Service
s {$sel:repositoryConnectionArn:Service' :: Maybe Text
repositoryConnectionArn = Maybe Text
a} :: Service)
service_arn :: Lens.Lens' Service Prelude.Text
service_arn :: (Text -> f Text) -> Service -> f Service
service_arn = (Service -> Text)
-> (Service -> Text -> Service) -> Lens Service Service Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Text
arn :: Text
$sel:arn:Service' :: Service -> Text
arn} -> Text
arn) (\s :: Service
s@Service' {} Text
a -> Service
s {$sel:arn:Service' :: Text
arn = Text
a} :: Service)
service_createdAt :: Lens.Lens' Service Prelude.UTCTime
service_createdAt :: (UTCTime -> f UTCTime) -> Service -> f Service
service_createdAt = (Service -> POSIX)
-> (Service -> POSIX -> Service)
-> Lens Service Service POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {POSIX
createdAt :: POSIX
$sel:createdAt:Service' :: Service -> POSIX
createdAt} -> POSIX
createdAt) (\s :: Service
s@Service' {} POSIX
a -> Service
s {$sel:createdAt:Service' :: POSIX
createdAt = POSIX
a} :: Service) ((POSIX -> f POSIX) -> Service -> f Service)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> Service
-> f Service
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
service_lastModifiedAt :: Lens.Lens' Service Prelude.UTCTime
service_lastModifiedAt :: (UTCTime -> f UTCTime) -> Service -> f Service
service_lastModifiedAt = (Service -> POSIX)
-> (Service -> POSIX -> Service)
-> Lens Service Service POSIX POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {POSIX
lastModifiedAt :: POSIX
$sel:lastModifiedAt:Service' :: Service -> POSIX
lastModifiedAt} -> POSIX
lastModifiedAt) (\s :: Service
s@Service' {} POSIX
a -> Service
s {$sel:lastModifiedAt:Service' :: POSIX
lastModifiedAt = POSIX
a} :: Service) ((POSIX -> f POSIX) -> Service -> f Service)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> Service
-> f Service
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
service_name :: Lens.Lens' Service Prelude.Text
service_name :: (Text -> f Text) -> Service -> f Service
service_name = (Service -> Text)
-> (Service -> Text -> Service) -> Lens Service Service Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Text
name :: Text
$sel:name:Service' :: Service -> Text
name} -> Text
name) (\s :: Service
s@Service' {} Text
a -> Service
s {$sel:name:Service' :: Text
name = Text
a} :: Service)
service_spec :: Lens.Lens' Service Prelude.Text
service_spec :: (Text -> f Text) -> Service -> f Service
service_spec = (Service -> Sensitive Text)
-> (Service -> Sensitive Text -> Service)
-> Lens Service Service (Sensitive Text) (Sensitive Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Sensitive Text
spec :: Sensitive Text
$sel:spec:Service' :: Service -> Sensitive Text
spec} -> Sensitive Text
spec) (\s :: Service
s@Service' {} Sensitive Text
a -> Service
s {$sel:spec:Service' :: Sensitive Text
spec = Sensitive Text
a} :: Service) ((Sensitive Text -> f (Sensitive Text)) -> Service -> f Service)
-> ((Text -> f Text) -> Sensitive Text -> f (Sensitive Text))
-> (Text -> f Text)
-> Service
-> f Service
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> f Text) -> Sensitive Text -> f (Sensitive Text)
forall a. Iso' (Sensitive a) a
Core._Sensitive
service_status :: Lens.Lens' Service ServiceStatus
service_status :: (ServiceStatus -> f ServiceStatus) -> Service -> f Service
service_status = (Service -> ServiceStatus)
-> (Service -> ServiceStatus -> Service)
-> Lens Service Service ServiceStatus ServiceStatus
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {ServiceStatus
status :: ServiceStatus
$sel:status:Service' :: Service -> ServiceStatus
status} -> ServiceStatus
status) (\s :: Service
s@Service' {} ServiceStatus
a -> Service
s {$sel:status:Service' :: ServiceStatus
status = ServiceStatus
a} :: Service)
service_templateName :: Lens.Lens' Service Prelude.Text
service_templateName :: (Text -> f Text) -> Service -> f Service
service_templateName = (Service -> Text)
-> (Service -> Text -> Service) -> Lens Service Service Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Service' {Text
templateName :: Text
$sel:templateName:Service' :: Service -> Text
templateName} -> Text
templateName) (\s :: Service
s@Service' {} Text
a -> Service
s {$sel:templateName:Service' :: Text
templateName = Text
a} :: Service)
instance Core.FromJSON Service where
parseJSON :: Value -> Parser Service
parseJSON =
String -> (Object -> Parser Service) -> Value -> Parser Service
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"Service"
( \Object
x ->
Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service
Service'
(Maybe Text
-> Maybe (Sensitive Text)
-> Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser (Maybe Text)
-> Parser
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
forall (f :: * -> *) a b. Functor 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
"branchName")
Parser
(Maybe (Sensitive Text)
-> Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
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
"statusMessage")
Parser
(Maybe Text
-> Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser (Maybe Text)
-> Parser
(Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
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
"repositoryId")
Parser
(Maybe ServicePipeline
-> Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser (Maybe ServicePipeline)
-> Parser
(Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe ServicePipeline)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"pipeline")
Parser
(Maybe (Sensitive Text)
-> Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser (Maybe (Sensitive Text))
-> Parser
(Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
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
(Maybe Text
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser (Maybe Text)
-> Parser
(Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
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
"repositoryConnectionArn")
Parser
(Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser Text
-> Parser
(POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
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
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service)
-> Parser POSIX
-> Parser
(POSIX
-> Text -> Sensitive Text -> ServiceStatus -> Text -> Service)
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 -> Sensitive Text -> ServiceStatus -> Text -> Service)
-> Parser POSIX
-> Parser
(Text -> Sensitive Text -> ServiceStatus -> Text -> Service)
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 -> Sensitive Text -> ServiceStatus -> Text -> Service)
-> Parser Text
-> Parser (Sensitive Text -> ServiceStatus -> Text -> Service)
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
"name")
Parser (Sensitive Text -> ServiceStatus -> Text -> Service)
-> Parser (Sensitive Text)
-> Parser (ServiceStatus -> Text -> Service)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Sensitive Text)
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"spec")
Parser (ServiceStatus -> Text -> Service)
-> Parser ServiceStatus -> Parser (Text -> Service)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser ServiceStatus
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"status")
Parser (Text -> Service) -> Parser Text -> Parser Service
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 Service
instance Prelude.NFData Service