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

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

-- |
-- Module      : Amazonka.Proton.Types.Service
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Proton.Types.Service where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.Proton.Types.ServicePipeline
import Amazonka.Proton.Types.ServiceStatus

-- | Detailed data of an Proton service resource.
--
-- /See:/ 'newService' smart constructor.
data Service = Service'
  { -- | The name of the code repository branch that holds the code that\'s
    -- deployed in Proton.
    Service -> Maybe Text
branchName :: Prelude.Maybe Prelude.Text,
    -- | A description of the service.
    Service -> Maybe (Sensitive Text)
description :: Prelude.Maybe (Data.Sensitive Prelude.Text),
    -- | The service pipeline detail data.
    Service -> Maybe ServicePipeline
pipeline :: Prelude.Maybe ServicePipeline,
    -- | The Amazon Resource Name (ARN) of the repository connection. For more
    -- information, see
    -- <https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html#setting-up-vcontrol Setting up an AWS CodeStar connection>
    -- in the /Proton User Guide/.
    Service -> Maybe Text
repositoryConnectionArn :: Prelude.Maybe Prelude.Text,
    -- | The ID of the source code repository.
    Service -> Maybe Text
repositoryId :: Prelude.Maybe Prelude.Text,
    -- | A service status message.
    Service -> Maybe (Sensitive Text)
statusMessage :: Prelude.Maybe (Data.Sensitive Prelude.Text),
    -- | The Amazon Resource Name (ARN) of the service.
    Service -> Text
arn :: Prelude.Text,
    -- | The time when the service was created.
    Service -> POSIX
createdAt :: Data.POSIX,
    -- | The time when the service was last modified.
    Service -> POSIX
lastModifiedAt :: Data.POSIX,
    -- | The name of the service.
    Service -> Text
name :: Prelude.Text,
    -- | The formatted specification that defines the service.
    Service -> Sensitive Text
spec :: Data.Sensitive Prelude.Text,
    -- | The status of the service.
    Service -> ServiceStatus
status :: ServiceStatus,
    -- | The name of the service template.
    Service -> Text
templateName :: Prelude.Text
  }
  deriving (Service -> Service -> Bool
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
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. 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)

-- |
-- Create a value of 'Service' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'branchName', 'service_branchName' - The name of the code repository branch that holds the code that\'s
-- deployed in Proton.
--
-- 'description', 'service_description' - A description of the service.
--
-- 'pipeline', 'service_pipeline' - The service pipeline detail data.
--
-- 'repositoryConnectionArn', 'service_repositoryConnectionArn' - The Amazon Resource Name (ARN) of the repository connection. For more
-- information, see
-- <https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html#setting-up-vcontrol Setting up an AWS CodeStar connection>
-- in the /Proton User Guide/.
--
-- 'repositoryId', 'service_repositoryId' - The ID of the source code repository.
--
-- 'statusMessage', 'service_statusMessage' - A service status message.
--
-- 'arn', 'service_arn' - The Amazon Resource Name (ARN) of the service.
--
-- 'createdAt', 'service_createdAt' - The time when the service was created.
--
-- 'lastModifiedAt', 'service_lastModifiedAt' - The time when the service was last modified.
--
-- 'name', 'service_name' - The name of the service.
--
-- 'spec', 'service_spec' - The formatted specification that defines the service.
--
-- 'status', 'service_status' - The status of the service.
--
-- 'templateName', 'service_templateName' - The name of the service template.
newService ::
  -- | 'arn'
  Prelude.Text ->
  -- | 'createdAt'
  Prelude.UTCTime ->
  -- | 'lastModifiedAt'
  Prelude.UTCTime ->
  -- | 'name'
  Prelude.Text ->
  -- | 'spec'
  Prelude.Text ->
  -- | 'status'
  ServiceStatus ->
  -- | 'templateName'
  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'
      { $sel:branchName:Service' :: Maybe Text
branchName = forall a. Maybe a
Prelude.Nothing,
        $sel:description:Service' :: Maybe (Sensitive Text)
description = forall a. Maybe a
Prelude.Nothing,
        $sel:pipeline:Service' :: Maybe ServicePipeline
pipeline = forall a. Maybe a
Prelude.Nothing,
        $sel:repositoryConnectionArn:Service' :: Maybe Text
repositoryConnectionArn = forall a. Maybe a
Prelude.Nothing,
        $sel:repositoryId:Service' :: Maybe Text
repositoryId = forall a. Maybe a
Prelude.Nothing,
        $sel:statusMessage:Service' :: Maybe (Sensitive Text)
statusMessage = forall a. Maybe a
Prelude.Nothing,
        $sel:arn:Service' :: Text
arn = Text
pArn_,
        $sel:createdAt:Service' :: POSIX
createdAt = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreatedAt_,
        $sel:lastModifiedAt:Service' :: POSIX
lastModifiedAt = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pLastModifiedAt_,
        $sel:name:Service' :: Text
name = Text
pName_,
        $sel:spec:Service' :: Sensitive Text
spec = forall a. Iso' (Sensitive a) a
Data._Sensitive 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_
      }

-- | The name of the code repository branch that holds the code that\'s
-- deployed in Proton.
service_branchName :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_branchName :: Lens' Service (Maybe Text)
service_branchName = 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)

-- | A description of the service.
service_description :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_description :: Lens' Service (Maybe Text)
service_description = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall a. Iso' (Sensitive a) a
Data._Sensitive

-- | The service pipeline detail data.
service_pipeline :: Lens.Lens' Service (Prelude.Maybe ServicePipeline)
service_pipeline :: Lens' Service (Maybe ServicePipeline)
service_pipeline = 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)

-- | The Amazon Resource Name (ARN) of the repository connection. For more
-- information, see
-- <https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html#setting-up-vcontrol Setting up an AWS CodeStar connection>
-- in the /Proton User Guide/.
service_repositoryConnectionArn :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_repositoryConnectionArn :: Lens' Service (Maybe Text)
service_repositoryConnectionArn = 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)

-- | The ID of the source code repository.
service_repositoryId :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_repositoryId :: Lens' Service (Maybe Text)
service_repositoryId = 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)

-- | A service status message.
service_statusMessage :: Lens.Lens' Service (Prelude.Maybe Prelude.Text)
service_statusMessage :: Lens' Service (Maybe Text)
service_statusMessage = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall a. Iso' (Sensitive a) a
Data._Sensitive

-- | The Amazon Resource Name (ARN) of the service.
service_arn :: Lens.Lens' Service Prelude.Text
service_arn :: Lens' Service Text
service_arn = 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)

-- | The time when the service was created.
service_createdAt :: Lens.Lens' Service Prelude.UTCTime
service_createdAt :: Lens' Service UTCTime
service_createdAt = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The time when the service was last modified.
service_lastModifiedAt :: Lens.Lens' Service Prelude.UTCTime
service_lastModifiedAt :: Lens' Service UTCTime
service_lastModifiedAt = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The name of the service.
service_name :: Lens.Lens' Service Prelude.Text
service_name :: Lens' Service Text
service_name = 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)

-- | The formatted specification that defines the service.
service_spec :: Lens.Lens' Service Prelude.Text
service_spec :: Lens' Service Text
service_spec = 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) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall a. Iso' (Sensitive a) a
Data._Sensitive

-- | The status of the service.
service_status :: Lens.Lens' Service ServiceStatus
service_status :: Lens' Service ServiceStatus
service_status = 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)

-- | The name of the service template.
service_templateName :: Lens.Lens' Service Prelude.Text
service_templateName :: Lens' Service Text
service_templateName = 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 Data.FromJSON Service where
  parseJSON :: Value -> Parser Service
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Service"
      ( \Object
x ->
          Maybe Text
-> Maybe (Sensitive Text)
-> Maybe ServicePipeline
-> Maybe Text
-> Maybe Text
-> Maybe (Sensitive Text)
-> Text
-> POSIX
-> POSIX
-> Text
-> Sensitive Text
-> ServiceStatus
-> Text
-> Service
Service'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"branchName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"description")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"pipeline")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"repositoryConnectionArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"repositoryId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"statusMessage")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"arn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"createdAt")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"lastModifiedAt")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"name")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"spec")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"status")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"templateName")
      )

instance Prelude.Hashable Service where
  hashWithSalt :: Int -> Service -> Int
hashWithSalt Int
_salt Service' {Maybe Text
Maybe (Sensitive Text)
Maybe ServicePipeline
Text
Sensitive Text
POSIX
ServiceStatus
templateName :: Text
status :: ServiceStatus
spec :: Sensitive Text
name :: Text
lastModifiedAt :: POSIX
createdAt :: POSIX
arn :: Text
statusMessage :: Maybe (Sensitive Text)
repositoryId :: Maybe Text
repositoryConnectionArn :: Maybe Text
pipeline :: Maybe ServicePipeline
description :: Maybe (Sensitive Text)
branchName :: Maybe Text
$sel:templateName:Service' :: Service -> Text
$sel:status:Service' :: Service -> ServiceStatus
$sel:spec:Service' :: Service -> Sensitive Text
$sel:name:Service' :: Service -> Text
$sel:lastModifiedAt:Service' :: Service -> POSIX
$sel:createdAt:Service' :: Service -> POSIX
$sel:arn:Service' :: Service -> Text
$sel:statusMessage:Service' :: Service -> Maybe (Sensitive Text)
$sel:repositoryId:Service' :: Service -> Maybe Text
$sel:repositoryConnectionArn:Service' :: Service -> Maybe Text
$sel:pipeline:Service' :: Service -> Maybe ServicePipeline
$sel:description:Service' :: Service -> Maybe (Sensitive Text)
$sel:branchName:Service' :: Service -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
branchName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ServicePipeline
pipeline
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
repositoryConnectionArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
repositoryId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (Sensitive Text)
statusMessage
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
createdAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
lastModifiedAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
name
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Sensitive Text
spec
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` ServiceStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
templateName

instance Prelude.NFData Service where
  rnf :: Service -> ()
rnf Service' {Maybe Text
Maybe (Sensitive Text)
Maybe ServicePipeline
Text
Sensitive Text
POSIX
ServiceStatus
templateName :: Text
status :: ServiceStatus
spec :: Sensitive Text
name :: Text
lastModifiedAt :: POSIX
createdAt :: POSIX
arn :: Text
statusMessage :: Maybe (Sensitive Text)
repositoryId :: Maybe Text
repositoryConnectionArn :: Maybe Text
pipeline :: Maybe ServicePipeline
description :: Maybe (Sensitive Text)
branchName :: Maybe Text
$sel:templateName:Service' :: Service -> Text
$sel:status:Service' :: Service -> ServiceStatus
$sel:spec:Service' :: Service -> Sensitive Text
$sel:name:Service' :: Service -> Text
$sel:lastModifiedAt:Service' :: Service -> POSIX
$sel:createdAt:Service' :: Service -> POSIX
$sel:arn:Service' :: Service -> Text
$sel:statusMessage:Service' :: Service -> Maybe (Sensitive Text)
$sel:repositoryId:Service' :: Service -> Maybe Text
$sel:repositoryConnectionArn:Service' :: Service -> Maybe Text
$sel:pipeline:Service' :: Service -> Maybe ServicePipeline
$sel:description:Service' :: Service -> Maybe (Sensitive Text)
$sel:branchName:Service' :: Service -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
branchName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ServicePipeline
pipeline
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
repositoryConnectionArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
repositoryId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (Sensitive Text)
statusMessage
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf POSIX
createdAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf POSIX
lastModifiedAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
name
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Sensitive Text
spec
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf ServiceStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
templateName