{-# 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.CodePipeline.Types.PipelineExecutionSummary
-- 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.CodePipeline.Types.PipelineExecutionSummary where

import Amazonka.CodePipeline.Types.ExecutionTrigger
import Amazonka.CodePipeline.Types.PipelineExecutionStatus
import Amazonka.CodePipeline.Types.SourceRevision
import Amazonka.CodePipeline.Types.StopExecutionTrigger
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

-- | Summary information about a pipeline execution.
--
-- /See:/ 'newPipelineExecutionSummary' smart constructor.
data PipelineExecutionSummary = PipelineExecutionSummary'
  { -- | The date and time of the last change to the pipeline execution, in
    -- timestamp format.
    PipelineExecutionSummary -> Maybe POSIX
lastUpdateTime :: Prelude.Maybe Data.POSIX,
    -- | The ID of the pipeline execution.
    PipelineExecutionSummary -> Maybe Text
pipelineExecutionId :: Prelude.Maybe Prelude.Text,
    -- | A list of the source artifact revisions that initiated a pipeline
    -- execution.
    PipelineExecutionSummary -> Maybe [SourceRevision]
sourceRevisions :: Prelude.Maybe [SourceRevision],
    -- | The date and time when the pipeline execution began, in timestamp
    -- format.
    PipelineExecutionSummary -> Maybe POSIX
startTime :: Prelude.Maybe Data.POSIX,
    -- | The status of the pipeline execution.
    --
    -- -   InProgress: The pipeline execution is currently running.
    --
    -- -   Stopped: The pipeline execution was manually stopped. For more
    --     information, see
    --     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped Stopped Executions>.
    --
    -- -   Stopping: The pipeline execution received a request to be manually
    --     stopped. Depending on the selected stop mode, the execution is
    --     either completing or abandoning in-progress actions. For more
    --     information, see
    --     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped Stopped Executions>.
    --
    -- -   Succeeded: The pipeline execution was completed successfully.
    --
    -- -   Superseded: While this pipeline execution was waiting for the next
    --     stage to be completed, a newer pipeline execution advanced and
    --     continued through the pipeline instead. For more information, see
    --     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded Superseded Executions>.
    --
    -- -   Failed: The pipeline execution was not completed successfully.
    PipelineExecutionSummary -> Maybe PipelineExecutionStatus
status :: Prelude.Maybe PipelineExecutionStatus,
    -- | The interaction that stopped a pipeline execution.
    PipelineExecutionSummary -> Maybe StopExecutionTrigger
stopTrigger :: Prelude.Maybe StopExecutionTrigger,
    -- | The interaction or event that started a pipeline execution, such as
    -- automated change detection or a @StartPipelineExecution@ API call.
    PipelineExecutionSummary -> Maybe ExecutionTrigger
trigger :: Prelude.Maybe ExecutionTrigger
  }
  deriving (PipelineExecutionSummary -> PipelineExecutionSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PipelineExecutionSummary -> PipelineExecutionSummary -> Bool
$c/= :: PipelineExecutionSummary -> PipelineExecutionSummary -> Bool
== :: PipelineExecutionSummary -> PipelineExecutionSummary -> Bool
$c== :: PipelineExecutionSummary -> PipelineExecutionSummary -> Bool
Prelude.Eq, ReadPrec [PipelineExecutionSummary]
ReadPrec PipelineExecutionSummary
Int -> ReadS PipelineExecutionSummary
ReadS [PipelineExecutionSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PipelineExecutionSummary]
$creadListPrec :: ReadPrec [PipelineExecutionSummary]
readPrec :: ReadPrec PipelineExecutionSummary
$creadPrec :: ReadPrec PipelineExecutionSummary
readList :: ReadS [PipelineExecutionSummary]
$creadList :: ReadS [PipelineExecutionSummary]
readsPrec :: Int -> ReadS PipelineExecutionSummary
$creadsPrec :: Int -> ReadS PipelineExecutionSummary
Prelude.Read, Int -> PipelineExecutionSummary -> ShowS
[PipelineExecutionSummary] -> ShowS
PipelineExecutionSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PipelineExecutionSummary] -> ShowS
$cshowList :: [PipelineExecutionSummary] -> ShowS
show :: PipelineExecutionSummary -> String
$cshow :: PipelineExecutionSummary -> String
showsPrec :: Int -> PipelineExecutionSummary -> ShowS
$cshowsPrec :: Int -> PipelineExecutionSummary -> ShowS
Prelude.Show, forall x.
Rep PipelineExecutionSummary x -> PipelineExecutionSummary
forall x.
PipelineExecutionSummary -> Rep PipelineExecutionSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PipelineExecutionSummary x -> PipelineExecutionSummary
$cfrom :: forall x.
PipelineExecutionSummary -> Rep PipelineExecutionSummary x
Prelude.Generic)

-- |
-- Create a value of 'PipelineExecutionSummary' 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:
--
-- 'lastUpdateTime', 'pipelineExecutionSummary_lastUpdateTime' - The date and time of the last change to the pipeline execution, in
-- timestamp format.
--
-- 'pipelineExecutionId', 'pipelineExecutionSummary_pipelineExecutionId' - The ID of the pipeline execution.
--
-- 'sourceRevisions', 'pipelineExecutionSummary_sourceRevisions' - A list of the source artifact revisions that initiated a pipeline
-- execution.
--
-- 'startTime', 'pipelineExecutionSummary_startTime' - The date and time when the pipeline execution began, in timestamp
-- format.
--
-- 'status', 'pipelineExecutionSummary_status' - The status of the pipeline execution.
--
-- -   InProgress: The pipeline execution is currently running.
--
-- -   Stopped: The pipeline execution was manually stopped. For more
--     information, see
--     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped Stopped Executions>.
--
-- -   Stopping: The pipeline execution received a request to be manually
--     stopped. Depending on the selected stop mode, the execution is
--     either completing or abandoning in-progress actions. For more
--     information, see
--     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped Stopped Executions>.
--
-- -   Succeeded: The pipeline execution was completed successfully.
--
-- -   Superseded: While this pipeline execution was waiting for the next
--     stage to be completed, a newer pipeline execution advanced and
--     continued through the pipeline instead. For more information, see
--     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded Superseded Executions>.
--
-- -   Failed: The pipeline execution was not completed successfully.
--
-- 'stopTrigger', 'pipelineExecutionSummary_stopTrigger' - The interaction that stopped a pipeline execution.
--
-- 'trigger', 'pipelineExecutionSummary_trigger' - The interaction or event that started a pipeline execution, such as
-- automated change detection or a @StartPipelineExecution@ API call.
newPipelineExecutionSummary ::
  PipelineExecutionSummary
newPipelineExecutionSummary :: PipelineExecutionSummary
newPipelineExecutionSummary =
  PipelineExecutionSummary'
    { $sel:lastUpdateTime:PipelineExecutionSummary' :: Maybe POSIX
lastUpdateTime =
        forall a. Maybe a
Prelude.Nothing,
      $sel:pipelineExecutionId:PipelineExecutionSummary' :: Maybe Text
pipelineExecutionId = forall a. Maybe a
Prelude.Nothing,
      $sel:sourceRevisions:PipelineExecutionSummary' :: Maybe [SourceRevision]
sourceRevisions = forall a. Maybe a
Prelude.Nothing,
      $sel:startTime:PipelineExecutionSummary' :: Maybe POSIX
startTime = forall a. Maybe a
Prelude.Nothing,
      $sel:status:PipelineExecutionSummary' :: Maybe PipelineExecutionStatus
status = forall a. Maybe a
Prelude.Nothing,
      $sel:stopTrigger:PipelineExecutionSummary' :: Maybe StopExecutionTrigger
stopTrigger = forall a. Maybe a
Prelude.Nothing,
      $sel:trigger:PipelineExecutionSummary' :: Maybe ExecutionTrigger
trigger = forall a. Maybe a
Prelude.Nothing
    }

-- | The date and time of the last change to the pipeline execution, in
-- timestamp format.
pipelineExecutionSummary_lastUpdateTime :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe Prelude.UTCTime)
pipelineExecutionSummary_lastUpdateTime :: Lens' PipelineExecutionSummary (Maybe UTCTime)
pipelineExecutionSummary_lastUpdateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe POSIX
lastUpdateTime :: Maybe POSIX
$sel:lastUpdateTime:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe POSIX
lastUpdateTime} -> Maybe POSIX
lastUpdateTime) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe POSIX
a -> PipelineExecutionSummary
s {$sel:lastUpdateTime:PipelineExecutionSummary' :: Maybe POSIX
lastUpdateTime = Maybe POSIX
a} :: PipelineExecutionSummary) 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 :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The ID of the pipeline execution.
pipelineExecutionSummary_pipelineExecutionId :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe Prelude.Text)
pipelineExecutionSummary_pipelineExecutionId :: Lens' PipelineExecutionSummary (Maybe Text)
pipelineExecutionSummary_pipelineExecutionId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe Text
pipelineExecutionId :: Maybe Text
$sel:pipelineExecutionId:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe Text
pipelineExecutionId} -> Maybe Text
pipelineExecutionId) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe Text
a -> PipelineExecutionSummary
s {$sel:pipelineExecutionId:PipelineExecutionSummary' :: Maybe Text
pipelineExecutionId = Maybe Text
a} :: PipelineExecutionSummary)

-- | A list of the source artifact revisions that initiated a pipeline
-- execution.
pipelineExecutionSummary_sourceRevisions :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe [SourceRevision])
pipelineExecutionSummary_sourceRevisions :: Lens' PipelineExecutionSummary (Maybe [SourceRevision])
pipelineExecutionSummary_sourceRevisions = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe [SourceRevision]
sourceRevisions :: Maybe [SourceRevision]
$sel:sourceRevisions:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe [SourceRevision]
sourceRevisions} -> Maybe [SourceRevision]
sourceRevisions) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe [SourceRevision]
a -> PipelineExecutionSummary
s {$sel:sourceRevisions:PipelineExecutionSummary' :: Maybe [SourceRevision]
sourceRevisions = Maybe [SourceRevision]
a} :: PipelineExecutionSummary) 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 s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The date and time when the pipeline execution began, in timestamp
-- format.
pipelineExecutionSummary_startTime :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe Prelude.UTCTime)
pipelineExecutionSummary_startTime :: Lens' PipelineExecutionSummary (Maybe UTCTime)
pipelineExecutionSummary_startTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe POSIX
startTime :: Maybe POSIX
$sel:startTime:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe POSIX
startTime} -> Maybe POSIX
startTime) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe POSIX
a -> PipelineExecutionSummary
s {$sel:startTime:PipelineExecutionSummary' :: Maybe POSIX
startTime = Maybe POSIX
a} :: PipelineExecutionSummary) 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 :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The status of the pipeline execution.
--
-- -   InProgress: The pipeline execution is currently running.
--
-- -   Stopped: The pipeline execution was manually stopped. For more
--     information, see
--     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped Stopped Executions>.
--
-- -   Stopping: The pipeline execution received a request to be manually
--     stopped. Depending on the selected stop mode, the execution is
--     either completing or abandoning in-progress actions. For more
--     information, see
--     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-executions-stopped Stopped Executions>.
--
-- -   Succeeded: The pipeline execution was completed successfully.
--
-- -   Superseded: While this pipeline execution was waiting for the next
--     stage to be completed, a newer pipeline execution advanced and
--     continued through the pipeline instead. For more information, see
--     <https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts.html#concepts-superseded Superseded Executions>.
--
-- -   Failed: The pipeline execution was not completed successfully.
pipelineExecutionSummary_status :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe PipelineExecutionStatus)
pipelineExecutionSummary_status :: Lens' PipelineExecutionSummary (Maybe PipelineExecutionStatus)
pipelineExecutionSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe PipelineExecutionStatus
status :: Maybe PipelineExecutionStatus
$sel:status:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe PipelineExecutionStatus
status} -> Maybe PipelineExecutionStatus
status) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe PipelineExecutionStatus
a -> PipelineExecutionSummary
s {$sel:status:PipelineExecutionSummary' :: Maybe PipelineExecutionStatus
status = Maybe PipelineExecutionStatus
a} :: PipelineExecutionSummary)

-- | The interaction that stopped a pipeline execution.
pipelineExecutionSummary_stopTrigger :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe StopExecutionTrigger)
pipelineExecutionSummary_stopTrigger :: Lens' PipelineExecutionSummary (Maybe StopExecutionTrigger)
pipelineExecutionSummary_stopTrigger = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe StopExecutionTrigger
stopTrigger :: Maybe StopExecutionTrigger
$sel:stopTrigger:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe StopExecutionTrigger
stopTrigger} -> Maybe StopExecutionTrigger
stopTrigger) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe StopExecutionTrigger
a -> PipelineExecutionSummary
s {$sel:stopTrigger:PipelineExecutionSummary' :: Maybe StopExecutionTrigger
stopTrigger = Maybe StopExecutionTrigger
a} :: PipelineExecutionSummary)

-- | The interaction or event that started a pipeline execution, such as
-- automated change detection or a @StartPipelineExecution@ API call.
pipelineExecutionSummary_trigger :: Lens.Lens' PipelineExecutionSummary (Prelude.Maybe ExecutionTrigger)
pipelineExecutionSummary_trigger :: Lens' PipelineExecutionSummary (Maybe ExecutionTrigger)
pipelineExecutionSummary_trigger = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PipelineExecutionSummary' {Maybe ExecutionTrigger
trigger :: Maybe ExecutionTrigger
$sel:trigger:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe ExecutionTrigger
trigger} -> Maybe ExecutionTrigger
trigger) (\s :: PipelineExecutionSummary
s@PipelineExecutionSummary' {} Maybe ExecutionTrigger
a -> PipelineExecutionSummary
s {$sel:trigger:PipelineExecutionSummary' :: Maybe ExecutionTrigger
trigger = Maybe ExecutionTrigger
a} :: PipelineExecutionSummary)

instance Data.FromJSON PipelineExecutionSummary where
  parseJSON :: Value -> Parser PipelineExecutionSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"PipelineExecutionSummary"
      ( \Object
x ->
          Maybe POSIX
-> Maybe Text
-> Maybe [SourceRevision]
-> Maybe POSIX
-> Maybe PipelineExecutionStatus
-> Maybe StopExecutionTrigger
-> Maybe ExecutionTrigger
-> PipelineExecutionSummary
PipelineExecutionSummary'
            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
"lastUpdateTime")
            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
"pipelineExecutionId")
            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
"sourceRevisions"
                            forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
                        )
            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
"startTime")
            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
"status")
            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
"stopTrigger")
            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
"trigger")
      )

instance Prelude.Hashable PipelineExecutionSummary where
  hashWithSalt :: Int -> PipelineExecutionSummary -> Int
hashWithSalt Int
_salt PipelineExecutionSummary' {Maybe [SourceRevision]
Maybe Text
Maybe POSIX
Maybe PipelineExecutionStatus
Maybe StopExecutionTrigger
Maybe ExecutionTrigger
trigger :: Maybe ExecutionTrigger
stopTrigger :: Maybe StopExecutionTrigger
status :: Maybe PipelineExecutionStatus
startTime :: Maybe POSIX
sourceRevisions :: Maybe [SourceRevision]
pipelineExecutionId :: Maybe Text
lastUpdateTime :: Maybe POSIX
$sel:trigger:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe ExecutionTrigger
$sel:stopTrigger:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe StopExecutionTrigger
$sel:status:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe PipelineExecutionStatus
$sel:startTime:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe POSIX
$sel:sourceRevisions:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe [SourceRevision]
$sel:pipelineExecutionId:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe Text
$sel:lastUpdateTime:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe POSIX
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastUpdateTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
pipelineExecutionId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [SourceRevision]
sourceRevisions
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
startTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe PipelineExecutionStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StopExecutionTrigger
stopTrigger
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ExecutionTrigger
trigger

instance Prelude.NFData PipelineExecutionSummary where
  rnf :: PipelineExecutionSummary -> ()
rnf PipelineExecutionSummary' {Maybe [SourceRevision]
Maybe Text
Maybe POSIX
Maybe PipelineExecutionStatus
Maybe StopExecutionTrigger
Maybe ExecutionTrigger
trigger :: Maybe ExecutionTrigger
stopTrigger :: Maybe StopExecutionTrigger
status :: Maybe PipelineExecutionStatus
startTime :: Maybe POSIX
sourceRevisions :: Maybe [SourceRevision]
pipelineExecutionId :: Maybe Text
lastUpdateTime :: Maybe POSIX
$sel:trigger:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe ExecutionTrigger
$sel:stopTrigger:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe StopExecutionTrigger
$sel:status:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe PipelineExecutionStatus
$sel:startTime:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe POSIX
$sel:sourceRevisions:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe [SourceRevision]
$sel:pipelineExecutionId:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe Text
$sel:lastUpdateTime:PipelineExecutionSummary' :: PipelineExecutionSummary -> Maybe POSIX
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdateTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
pipelineExecutionId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [SourceRevision]
sourceRevisions
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
startTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe PipelineExecutionStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe StopExecutionTrigger
stopTrigger
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ExecutionTrigger
trigger