{-# 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.AppConfig.Types.DeploymentSummary
-- 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.AppConfig.Types.DeploymentSummary where

import Amazonka.AppConfig.Types.DeploymentState
import Amazonka.AppConfig.Types.GrowthType
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

-- | Information about the deployment.
--
-- /See:/ 'newDeploymentSummary' smart constructor.
data DeploymentSummary = DeploymentSummary'
  { -- | Time the deployment completed.
    DeploymentSummary -> Maybe ISO8601
completedAt :: Prelude.Maybe Data.ISO8601,
    -- | The name of the configuration.
    DeploymentSummary -> Maybe Text
configurationName :: Prelude.Maybe Prelude.Text,
    -- | The version of the configuration.
    DeploymentSummary -> Maybe Text
configurationVersion :: Prelude.Maybe Prelude.Text,
    -- | Total amount of time the deployment lasted.
    DeploymentSummary -> Maybe Natural
deploymentDurationInMinutes :: Prelude.Maybe Prelude.Natural,
    -- | The sequence number of the deployment.
    DeploymentSummary -> Maybe Int
deploymentNumber :: Prelude.Maybe Prelude.Int,
    -- | The amount of time that AppConfig monitors for alarms before considering
    -- the deployment to be complete and no longer eligible for automatic
    -- rollback.
    DeploymentSummary -> Maybe Natural
finalBakeTimeInMinutes :: Prelude.Maybe Prelude.Natural,
    -- | The percentage of targets to receive a deployed configuration during
    -- each interval.
    DeploymentSummary -> Maybe Double
growthFactor :: Prelude.Maybe Prelude.Double,
    -- | The algorithm used to define how percentage grows over time.
    DeploymentSummary -> Maybe GrowthType
growthType :: Prelude.Maybe GrowthType,
    -- | The percentage of targets for which the deployment is available.
    DeploymentSummary -> Maybe Double
percentageComplete :: Prelude.Maybe Prelude.Double,
    -- | Time the deployment started.
    DeploymentSummary -> Maybe ISO8601
startedAt :: Prelude.Maybe Data.ISO8601,
    -- | The state of the deployment.
    DeploymentSummary -> Maybe DeploymentState
state :: Prelude.Maybe DeploymentState
  }
  deriving (DeploymentSummary -> DeploymentSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeploymentSummary -> DeploymentSummary -> Bool
$c/= :: DeploymentSummary -> DeploymentSummary -> Bool
== :: DeploymentSummary -> DeploymentSummary -> Bool
$c== :: DeploymentSummary -> DeploymentSummary -> Bool
Prelude.Eq, ReadPrec [DeploymentSummary]
ReadPrec DeploymentSummary
Int -> ReadS DeploymentSummary
ReadS [DeploymentSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeploymentSummary]
$creadListPrec :: ReadPrec [DeploymentSummary]
readPrec :: ReadPrec DeploymentSummary
$creadPrec :: ReadPrec DeploymentSummary
readList :: ReadS [DeploymentSummary]
$creadList :: ReadS [DeploymentSummary]
readsPrec :: Int -> ReadS DeploymentSummary
$creadsPrec :: Int -> ReadS DeploymentSummary
Prelude.Read, Int -> DeploymentSummary -> ShowS
[DeploymentSummary] -> ShowS
DeploymentSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeploymentSummary] -> ShowS
$cshowList :: [DeploymentSummary] -> ShowS
show :: DeploymentSummary -> String
$cshow :: DeploymentSummary -> String
showsPrec :: Int -> DeploymentSummary -> ShowS
$cshowsPrec :: Int -> DeploymentSummary -> ShowS
Prelude.Show, forall x. Rep DeploymentSummary x -> DeploymentSummary
forall x. DeploymentSummary -> Rep DeploymentSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeploymentSummary x -> DeploymentSummary
$cfrom :: forall x. DeploymentSummary -> Rep DeploymentSummary x
Prelude.Generic)

-- |
-- Create a value of 'DeploymentSummary' 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:
--
-- 'completedAt', 'deploymentSummary_completedAt' - Time the deployment completed.
--
-- 'configurationName', 'deploymentSummary_configurationName' - The name of the configuration.
--
-- 'configurationVersion', 'deploymentSummary_configurationVersion' - The version of the configuration.
--
-- 'deploymentDurationInMinutes', 'deploymentSummary_deploymentDurationInMinutes' - Total amount of time the deployment lasted.
--
-- 'deploymentNumber', 'deploymentSummary_deploymentNumber' - The sequence number of the deployment.
--
-- 'finalBakeTimeInMinutes', 'deploymentSummary_finalBakeTimeInMinutes' - The amount of time that AppConfig monitors for alarms before considering
-- the deployment to be complete and no longer eligible for automatic
-- rollback.
--
-- 'growthFactor', 'deploymentSummary_growthFactor' - The percentage of targets to receive a deployed configuration during
-- each interval.
--
-- 'growthType', 'deploymentSummary_growthType' - The algorithm used to define how percentage grows over time.
--
-- 'percentageComplete', 'deploymentSummary_percentageComplete' - The percentage of targets for which the deployment is available.
--
-- 'startedAt', 'deploymentSummary_startedAt' - Time the deployment started.
--
-- 'state', 'deploymentSummary_state' - The state of the deployment.
newDeploymentSummary ::
  DeploymentSummary
newDeploymentSummary :: DeploymentSummary
newDeploymentSummary =
  DeploymentSummary'
    { $sel:completedAt:DeploymentSummary' :: Maybe ISO8601
completedAt = forall a. Maybe a
Prelude.Nothing,
      $sel:configurationName:DeploymentSummary' :: Maybe Text
configurationName = forall a. Maybe a
Prelude.Nothing,
      $sel:configurationVersion:DeploymentSummary' :: Maybe Text
configurationVersion = forall a. Maybe a
Prelude.Nothing,
      $sel:deploymentDurationInMinutes:DeploymentSummary' :: Maybe Natural
deploymentDurationInMinutes = forall a. Maybe a
Prelude.Nothing,
      $sel:deploymentNumber:DeploymentSummary' :: Maybe Int
deploymentNumber = forall a. Maybe a
Prelude.Nothing,
      $sel:finalBakeTimeInMinutes:DeploymentSummary' :: Maybe Natural
finalBakeTimeInMinutes = forall a. Maybe a
Prelude.Nothing,
      $sel:growthFactor:DeploymentSummary' :: Maybe Double
growthFactor = forall a. Maybe a
Prelude.Nothing,
      $sel:growthType:DeploymentSummary' :: Maybe GrowthType
growthType = forall a. Maybe a
Prelude.Nothing,
      $sel:percentageComplete:DeploymentSummary' :: Maybe Double
percentageComplete = forall a. Maybe a
Prelude.Nothing,
      $sel:startedAt:DeploymentSummary' :: Maybe ISO8601
startedAt = forall a. Maybe a
Prelude.Nothing,
      $sel:state:DeploymentSummary' :: Maybe DeploymentState
state = forall a. Maybe a
Prelude.Nothing
    }

-- | Time the deployment completed.
deploymentSummary_completedAt :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.UTCTime)
deploymentSummary_completedAt :: Lens' DeploymentSummary (Maybe UTCTime)
deploymentSummary_completedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe ISO8601
completedAt :: Maybe ISO8601
$sel:completedAt:DeploymentSummary' :: DeploymentSummary -> Maybe ISO8601
completedAt} -> Maybe ISO8601
completedAt) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe ISO8601
a -> DeploymentSummary
s {$sel:completedAt:DeploymentSummary' :: Maybe ISO8601
completedAt = Maybe ISO8601
a} :: DeploymentSummary) 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 name of the configuration.
deploymentSummary_configurationName :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Text)
deploymentSummary_configurationName :: Lens' DeploymentSummary (Maybe Text)
deploymentSummary_configurationName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Text
configurationName :: Maybe Text
$sel:configurationName:DeploymentSummary' :: DeploymentSummary -> Maybe Text
configurationName} -> Maybe Text
configurationName) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Text
a -> DeploymentSummary
s {$sel:configurationName:DeploymentSummary' :: Maybe Text
configurationName = Maybe Text
a} :: DeploymentSummary)

-- | The version of the configuration.
deploymentSummary_configurationVersion :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Text)
deploymentSummary_configurationVersion :: Lens' DeploymentSummary (Maybe Text)
deploymentSummary_configurationVersion = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Text
configurationVersion :: Maybe Text
$sel:configurationVersion:DeploymentSummary' :: DeploymentSummary -> Maybe Text
configurationVersion} -> Maybe Text
configurationVersion) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Text
a -> DeploymentSummary
s {$sel:configurationVersion:DeploymentSummary' :: Maybe Text
configurationVersion = Maybe Text
a} :: DeploymentSummary)

-- | Total amount of time the deployment lasted.
deploymentSummary_deploymentDurationInMinutes :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Natural)
deploymentSummary_deploymentDurationInMinutes :: Lens' DeploymentSummary (Maybe Natural)
deploymentSummary_deploymentDurationInMinutes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Natural
deploymentDurationInMinutes :: Maybe Natural
$sel:deploymentDurationInMinutes:DeploymentSummary' :: DeploymentSummary -> Maybe Natural
deploymentDurationInMinutes} -> Maybe Natural
deploymentDurationInMinutes) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Natural
a -> DeploymentSummary
s {$sel:deploymentDurationInMinutes:DeploymentSummary' :: Maybe Natural
deploymentDurationInMinutes = Maybe Natural
a} :: DeploymentSummary)

-- | The sequence number of the deployment.
deploymentSummary_deploymentNumber :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Int)
deploymentSummary_deploymentNumber :: Lens' DeploymentSummary (Maybe Int)
deploymentSummary_deploymentNumber = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Int
deploymentNumber :: Maybe Int
$sel:deploymentNumber:DeploymentSummary' :: DeploymentSummary -> Maybe Int
deploymentNumber} -> Maybe Int
deploymentNumber) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Int
a -> DeploymentSummary
s {$sel:deploymentNumber:DeploymentSummary' :: Maybe Int
deploymentNumber = Maybe Int
a} :: DeploymentSummary)

-- | The amount of time that AppConfig monitors for alarms before considering
-- the deployment to be complete and no longer eligible for automatic
-- rollback.
deploymentSummary_finalBakeTimeInMinutes :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Natural)
deploymentSummary_finalBakeTimeInMinutes :: Lens' DeploymentSummary (Maybe Natural)
deploymentSummary_finalBakeTimeInMinutes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Natural
finalBakeTimeInMinutes :: Maybe Natural
$sel:finalBakeTimeInMinutes:DeploymentSummary' :: DeploymentSummary -> Maybe Natural
finalBakeTimeInMinutes} -> Maybe Natural
finalBakeTimeInMinutes) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Natural
a -> DeploymentSummary
s {$sel:finalBakeTimeInMinutes:DeploymentSummary' :: Maybe Natural
finalBakeTimeInMinutes = Maybe Natural
a} :: DeploymentSummary)

-- | The percentage of targets to receive a deployed configuration during
-- each interval.
deploymentSummary_growthFactor :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Double)
deploymentSummary_growthFactor :: Lens' DeploymentSummary (Maybe Double)
deploymentSummary_growthFactor = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Double
growthFactor :: Maybe Double
$sel:growthFactor:DeploymentSummary' :: DeploymentSummary -> Maybe Double
growthFactor} -> Maybe Double
growthFactor) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Double
a -> DeploymentSummary
s {$sel:growthFactor:DeploymentSummary' :: Maybe Double
growthFactor = Maybe Double
a} :: DeploymentSummary)

-- | The algorithm used to define how percentage grows over time.
deploymentSummary_growthType :: Lens.Lens' DeploymentSummary (Prelude.Maybe GrowthType)
deploymentSummary_growthType :: Lens' DeploymentSummary (Maybe GrowthType)
deploymentSummary_growthType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe GrowthType
growthType :: Maybe GrowthType
$sel:growthType:DeploymentSummary' :: DeploymentSummary -> Maybe GrowthType
growthType} -> Maybe GrowthType
growthType) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe GrowthType
a -> DeploymentSummary
s {$sel:growthType:DeploymentSummary' :: Maybe GrowthType
growthType = Maybe GrowthType
a} :: DeploymentSummary)

-- | The percentage of targets for which the deployment is available.
deploymentSummary_percentageComplete :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.Double)
deploymentSummary_percentageComplete :: Lens' DeploymentSummary (Maybe Double)
deploymentSummary_percentageComplete = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe Double
percentageComplete :: Maybe Double
$sel:percentageComplete:DeploymentSummary' :: DeploymentSummary -> Maybe Double
percentageComplete} -> Maybe Double
percentageComplete) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe Double
a -> DeploymentSummary
s {$sel:percentageComplete:DeploymentSummary' :: Maybe Double
percentageComplete = Maybe Double
a} :: DeploymentSummary)

-- | Time the deployment started.
deploymentSummary_startedAt :: Lens.Lens' DeploymentSummary (Prelude.Maybe Prelude.UTCTime)
deploymentSummary_startedAt :: Lens' DeploymentSummary (Maybe UTCTime)
deploymentSummary_startedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe ISO8601
startedAt :: Maybe ISO8601
$sel:startedAt:DeploymentSummary' :: DeploymentSummary -> Maybe ISO8601
startedAt} -> Maybe ISO8601
startedAt) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe ISO8601
a -> DeploymentSummary
s {$sel:startedAt:DeploymentSummary' :: Maybe ISO8601
startedAt = Maybe ISO8601
a} :: DeploymentSummary) 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 state of the deployment.
deploymentSummary_state :: Lens.Lens' DeploymentSummary (Prelude.Maybe DeploymentState)
deploymentSummary_state :: Lens' DeploymentSummary (Maybe DeploymentState)
deploymentSummary_state = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeploymentSummary' {Maybe DeploymentState
state :: Maybe DeploymentState
$sel:state:DeploymentSummary' :: DeploymentSummary -> Maybe DeploymentState
state} -> Maybe DeploymentState
state) (\s :: DeploymentSummary
s@DeploymentSummary' {} Maybe DeploymentState
a -> DeploymentSummary
s {$sel:state:DeploymentSummary' :: Maybe DeploymentState
state = Maybe DeploymentState
a} :: DeploymentSummary)

instance Data.FromJSON DeploymentSummary where
  parseJSON :: Value -> Parser DeploymentSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"DeploymentSummary"
      ( \Object
x ->
          Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Double
-> Maybe GrowthType
-> Maybe Double
-> Maybe ISO8601
-> Maybe DeploymentState
-> DeploymentSummary
DeploymentSummary'
            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
"CompletedAt")
            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
"ConfigurationName")
            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
"ConfigurationVersion")
            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
"DeploymentDurationInMinutes")
            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
"DeploymentNumber")
            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
"FinalBakeTimeInMinutes")
            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
"GrowthFactor")
            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
"GrowthType")
            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
"PercentageComplete")
            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
"StartedAt")
            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
"State")
      )

instance Prelude.Hashable DeploymentSummary where
  hashWithSalt :: Int -> DeploymentSummary -> Int
hashWithSalt Int
_salt DeploymentSummary' {Maybe Double
Maybe Int
Maybe Natural
Maybe Text
Maybe ISO8601
Maybe DeploymentState
Maybe GrowthType
state :: Maybe DeploymentState
startedAt :: Maybe ISO8601
percentageComplete :: Maybe Double
growthType :: Maybe GrowthType
growthFactor :: Maybe Double
finalBakeTimeInMinutes :: Maybe Natural
deploymentNumber :: Maybe Int
deploymentDurationInMinutes :: Maybe Natural
configurationVersion :: Maybe Text
configurationName :: Maybe Text
completedAt :: Maybe ISO8601
$sel:state:DeploymentSummary' :: DeploymentSummary -> Maybe DeploymentState
$sel:startedAt:DeploymentSummary' :: DeploymentSummary -> Maybe ISO8601
$sel:percentageComplete:DeploymentSummary' :: DeploymentSummary -> Maybe Double
$sel:growthType:DeploymentSummary' :: DeploymentSummary -> Maybe GrowthType
$sel:growthFactor:DeploymentSummary' :: DeploymentSummary -> Maybe Double
$sel:finalBakeTimeInMinutes:DeploymentSummary' :: DeploymentSummary -> Maybe Natural
$sel:deploymentNumber:DeploymentSummary' :: DeploymentSummary -> Maybe Int
$sel:deploymentDurationInMinutes:DeploymentSummary' :: DeploymentSummary -> Maybe Natural
$sel:configurationVersion:DeploymentSummary' :: DeploymentSummary -> Maybe Text
$sel:configurationName:DeploymentSummary' :: DeploymentSummary -> Maybe Text
$sel:completedAt:DeploymentSummary' :: DeploymentSummary -> Maybe ISO8601
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
completedAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
configurationName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
configurationVersion
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
deploymentDurationInMinutes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
deploymentNumber
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
finalBakeTimeInMinutes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Double
growthFactor
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe GrowthType
growthType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Double
percentageComplete
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
startedAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DeploymentState
state

instance Prelude.NFData DeploymentSummary where
  rnf :: DeploymentSummary -> ()
rnf DeploymentSummary' {Maybe Double
Maybe Int
Maybe Natural
Maybe Text
Maybe ISO8601
Maybe DeploymentState
Maybe GrowthType
state :: Maybe DeploymentState
startedAt :: Maybe ISO8601
percentageComplete :: Maybe Double
growthType :: Maybe GrowthType
growthFactor :: Maybe Double
finalBakeTimeInMinutes :: Maybe Natural
deploymentNumber :: Maybe Int
deploymentDurationInMinutes :: Maybe Natural
configurationVersion :: Maybe Text
configurationName :: Maybe Text
completedAt :: Maybe ISO8601
$sel:state:DeploymentSummary' :: DeploymentSummary -> Maybe DeploymentState
$sel:startedAt:DeploymentSummary' :: DeploymentSummary -> Maybe ISO8601
$sel:percentageComplete:DeploymentSummary' :: DeploymentSummary -> Maybe Double
$sel:growthType:DeploymentSummary' :: DeploymentSummary -> Maybe GrowthType
$sel:growthFactor:DeploymentSummary' :: DeploymentSummary -> Maybe Double
$sel:finalBakeTimeInMinutes:DeploymentSummary' :: DeploymentSummary -> Maybe Natural
$sel:deploymentNumber:DeploymentSummary' :: DeploymentSummary -> Maybe Int
$sel:deploymentDurationInMinutes:DeploymentSummary' :: DeploymentSummary -> Maybe Natural
$sel:configurationVersion:DeploymentSummary' :: DeploymentSummary -> Maybe Text
$sel:configurationName:DeploymentSummary' :: DeploymentSummary -> Maybe Text
$sel:completedAt:DeploymentSummary' :: DeploymentSummary -> Maybe ISO8601
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
completedAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
configurationName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
configurationVersion
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
deploymentDurationInMinutes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
deploymentNumber
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
finalBakeTimeInMinutes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Double
growthFactor
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe GrowthType
growthType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Double
percentageComplete
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
startedAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DeploymentState
state