{-# 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.CloudFormation.Types.StackSetOperationSummary
-- 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.CloudFormation.Types.StackSetOperationSummary where

import Amazonka.CloudFormation.Types.StackSetOperationAction
import Amazonka.CloudFormation.Types.StackSetOperationPreferences
import Amazonka.CloudFormation.Types.StackSetOperationStatus
import Amazonka.CloudFormation.Types.StackSetOperationStatusDetails
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

-- | The structures that contain summary information about the specified
-- operation.
--
-- /See:/ 'newStackSetOperationSummary' smart constructor.
data StackSetOperationSummary = StackSetOperationSummary'
  { -- | The type of operation: @CREATE@, @UPDATE@, or @DELETE@. Create and
    -- delete operations affect only the specified stack instances that are
    -- associated with the specified stack set. Update operations affect both
    -- the stack set itself and /all/ associated stack set instances.
    StackSetOperationSummary -> Maybe StackSetOperationAction
action :: Prelude.Maybe StackSetOperationAction,
    -- | The time at which the operation was initiated. Note that the creation
    -- times for the stack set operation might differ from the creation time of
    -- the individual stacks themselves. This is because CloudFormation needs
    -- to perform preparatory work for the operation, such as dispatching the
    -- work to the requested Regions, before actually creating the first
    -- stacks.
    StackSetOperationSummary -> Maybe ISO8601
creationTimestamp :: Prelude.Maybe Data.ISO8601,
    -- | The time at which the stack set operation ended, across all accounts and
    -- Regions specified. Note that this doesn\'t necessarily mean that the
    -- stack set operation was successful, or even attempted, in each account
    -- or Region.
    StackSetOperationSummary -> Maybe ISO8601
endTimestamp :: Prelude.Maybe Data.ISO8601,
    -- | The unique ID of the stack set operation.
    StackSetOperationSummary -> Maybe Text
operationId :: Prelude.Maybe Prelude.Text,
    StackSetOperationSummary -> Maybe StackSetOperationPreferences
operationPreferences :: Prelude.Maybe StackSetOperationPreferences,
    -- | The overall status of the operation.
    --
    -- -   @FAILED@: The operation exceeded the specified failure tolerance.
    --     The failure tolerance value that you\'ve set for an operation is
    --     applied for each Region during stack create and update operations.
    --     If the number of failed stacks within a Region exceeds the failure
    --     tolerance, the status of the operation in the Region is set to
    --     @FAILED@. This in turn sets the status of the operation as a whole
    --     to @FAILED@, and CloudFormation cancels the operation in any
    --     remaining Regions.
    --
    -- -   @QUEUED@: [Service-managed permissions] For automatic deployments
    --     that require a sequence of operations, the operation is queued to be
    --     performed. For more information, see the
    --     <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes stack set operation status codes>
    --     in the CloudFormation User Guide.
    --
    -- -   @RUNNING@: The operation is currently being performed.
    --
    -- -   @STOPPED@: The user has canceled the operation.
    --
    -- -   @STOPPING@: The operation is in the process of stopping, at user
    --     request.
    --
    -- -   @SUCCEEDED@: The operation completed creating or updating all the
    --     specified stacks without exceeding the failure tolerance for the
    --     operation.
    StackSetOperationSummary -> Maybe StackSetOperationStatus
status :: Prelude.Maybe StackSetOperationStatus,
    -- | Detailed information about the stack set operation.
    StackSetOperationSummary -> Maybe StackSetOperationStatusDetails
statusDetails :: Prelude.Maybe StackSetOperationStatusDetails,
    -- | The status of the operation in details.
    StackSetOperationSummary -> Maybe Text
statusReason :: Prelude.Maybe Prelude.Text
  }
  deriving (StackSetOperationSummary -> StackSetOperationSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StackSetOperationSummary -> StackSetOperationSummary -> Bool
$c/= :: StackSetOperationSummary -> StackSetOperationSummary -> Bool
== :: StackSetOperationSummary -> StackSetOperationSummary -> Bool
$c== :: StackSetOperationSummary -> StackSetOperationSummary -> Bool
Prelude.Eq, ReadPrec [StackSetOperationSummary]
ReadPrec StackSetOperationSummary
Int -> ReadS StackSetOperationSummary
ReadS [StackSetOperationSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StackSetOperationSummary]
$creadListPrec :: ReadPrec [StackSetOperationSummary]
readPrec :: ReadPrec StackSetOperationSummary
$creadPrec :: ReadPrec StackSetOperationSummary
readList :: ReadS [StackSetOperationSummary]
$creadList :: ReadS [StackSetOperationSummary]
readsPrec :: Int -> ReadS StackSetOperationSummary
$creadsPrec :: Int -> ReadS StackSetOperationSummary
Prelude.Read, Int -> StackSetOperationSummary -> ShowS
[StackSetOperationSummary] -> ShowS
StackSetOperationSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StackSetOperationSummary] -> ShowS
$cshowList :: [StackSetOperationSummary] -> ShowS
show :: StackSetOperationSummary -> String
$cshow :: StackSetOperationSummary -> String
showsPrec :: Int -> StackSetOperationSummary -> ShowS
$cshowsPrec :: Int -> StackSetOperationSummary -> ShowS
Prelude.Show, forall x.
Rep StackSetOperationSummary x -> StackSetOperationSummary
forall x.
StackSetOperationSummary -> Rep StackSetOperationSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep StackSetOperationSummary x -> StackSetOperationSummary
$cfrom :: forall x.
StackSetOperationSummary -> Rep StackSetOperationSummary x
Prelude.Generic)

-- |
-- Create a value of 'StackSetOperationSummary' 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:
--
-- 'action', 'stackSetOperationSummary_action' - The type of operation: @CREATE@, @UPDATE@, or @DELETE@. Create and
-- delete operations affect only the specified stack instances that are
-- associated with the specified stack set. Update operations affect both
-- the stack set itself and /all/ associated stack set instances.
--
-- 'creationTimestamp', 'stackSetOperationSummary_creationTimestamp' - The time at which the operation was initiated. Note that the creation
-- times for the stack set operation might differ from the creation time of
-- the individual stacks themselves. This is because CloudFormation needs
-- to perform preparatory work for the operation, such as dispatching the
-- work to the requested Regions, before actually creating the first
-- stacks.
--
-- 'endTimestamp', 'stackSetOperationSummary_endTimestamp' - The time at which the stack set operation ended, across all accounts and
-- Regions specified. Note that this doesn\'t necessarily mean that the
-- stack set operation was successful, or even attempted, in each account
-- or Region.
--
-- 'operationId', 'stackSetOperationSummary_operationId' - The unique ID of the stack set operation.
--
-- 'operationPreferences', 'stackSetOperationSummary_operationPreferences' - Undocumented member.
--
-- 'status', 'stackSetOperationSummary_status' - The overall status of the operation.
--
-- -   @FAILED@: The operation exceeded the specified failure tolerance.
--     The failure tolerance value that you\'ve set for an operation is
--     applied for each Region during stack create and update operations.
--     If the number of failed stacks within a Region exceeds the failure
--     tolerance, the status of the operation in the Region is set to
--     @FAILED@. This in turn sets the status of the operation as a whole
--     to @FAILED@, and CloudFormation cancels the operation in any
--     remaining Regions.
--
-- -   @QUEUED@: [Service-managed permissions] For automatic deployments
--     that require a sequence of operations, the operation is queued to be
--     performed. For more information, see the
--     <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes stack set operation status codes>
--     in the CloudFormation User Guide.
--
-- -   @RUNNING@: The operation is currently being performed.
--
-- -   @STOPPED@: The user has canceled the operation.
--
-- -   @STOPPING@: The operation is in the process of stopping, at user
--     request.
--
-- -   @SUCCEEDED@: The operation completed creating or updating all the
--     specified stacks without exceeding the failure tolerance for the
--     operation.
--
-- 'statusDetails', 'stackSetOperationSummary_statusDetails' - Detailed information about the stack set operation.
--
-- 'statusReason', 'stackSetOperationSummary_statusReason' - The status of the operation in details.
newStackSetOperationSummary ::
  StackSetOperationSummary
newStackSetOperationSummary :: StackSetOperationSummary
newStackSetOperationSummary =
  StackSetOperationSummary'
    { $sel:action:StackSetOperationSummary' :: Maybe StackSetOperationAction
action = forall a. Maybe a
Prelude.Nothing,
      $sel:creationTimestamp:StackSetOperationSummary' :: Maybe ISO8601
creationTimestamp = forall a. Maybe a
Prelude.Nothing,
      $sel:endTimestamp:StackSetOperationSummary' :: Maybe ISO8601
endTimestamp = forall a. Maybe a
Prelude.Nothing,
      $sel:operationId:StackSetOperationSummary' :: Maybe Text
operationId = forall a. Maybe a
Prelude.Nothing,
      $sel:operationPreferences:StackSetOperationSummary' :: Maybe StackSetOperationPreferences
operationPreferences = forall a. Maybe a
Prelude.Nothing,
      $sel:status:StackSetOperationSummary' :: Maybe StackSetOperationStatus
status = forall a. Maybe a
Prelude.Nothing,
      $sel:statusDetails:StackSetOperationSummary' :: Maybe StackSetOperationStatusDetails
statusDetails = forall a. Maybe a
Prelude.Nothing,
      $sel:statusReason:StackSetOperationSummary' :: Maybe Text
statusReason = forall a. Maybe a
Prelude.Nothing
    }

-- | The type of operation: @CREATE@, @UPDATE@, or @DELETE@. Create and
-- delete operations affect only the specified stack instances that are
-- associated with the specified stack set. Update operations affect both
-- the stack set itself and /all/ associated stack set instances.
stackSetOperationSummary_action :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe StackSetOperationAction)
stackSetOperationSummary_action :: Lens' StackSetOperationSummary (Maybe StackSetOperationAction)
stackSetOperationSummary_action = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe StackSetOperationAction
action :: Maybe StackSetOperationAction
$sel:action:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationAction
action} -> Maybe StackSetOperationAction
action) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe StackSetOperationAction
a -> StackSetOperationSummary
s {$sel:action:StackSetOperationSummary' :: Maybe StackSetOperationAction
action = Maybe StackSetOperationAction
a} :: StackSetOperationSummary)

-- | The time at which the operation was initiated. Note that the creation
-- times for the stack set operation might differ from the creation time of
-- the individual stacks themselves. This is because CloudFormation needs
-- to perform preparatory work for the operation, such as dispatching the
-- work to the requested Regions, before actually creating the first
-- stacks.
stackSetOperationSummary_creationTimestamp :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe Prelude.UTCTime)
stackSetOperationSummary_creationTimestamp :: Lens' StackSetOperationSummary (Maybe UTCTime)
stackSetOperationSummary_creationTimestamp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe ISO8601
creationTimestamp :: Maybe ISO8601
$sel:creationTimestamp:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe ISO8601
creationTimestamp} -> Maybe ISO8601
creationTimestamp) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe ISO8601
a -> StackSetOperationSummary
s {$sel:creationTimestamp:StackSetOperationSummary' :: Maybe ISO8601
creationTimestamp = Maybe ISO8601
a} :: StackSetOperationSummary) 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 time at which the stack set operation ended, across all accounts and
-- Regions specified. Note that this doesn\'t necessarily mean that the
-- stack set operation was successful, or even attempted, in each account
-- or Region.
stackSetOperationSummary_endTimestamp :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe Prelude.UTCTime)
stackSetOperationSummary_endTimestamp :: Lens' StackSetOperationSummary (Maybe UTCTime)
stackSetOperationSummary_endTimestamp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe ISO8601
endTimestamp :: Maybe ISO8601
$sel:endTimestamp:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe ISO8601
endTimestamp} -> Maybe ISO8601
endTimestamp) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe ISO8601
a -> StackSetOperationSummary
s {$sel:endTimestamp:StackSetOperationSummary' :: Maybe ISO8601
endTimestamp = Maybe ISO8601
a} :: StackSetOperationSummary) 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 unique ID of the stack set operation.
stackSetOperationSummary_operationId :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe Prelude.Text)
stackSetOperationSummary_operationId :: Lens' StackSetOperationSummary (Maybe Text)
stackSetOperationSummary_operationId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe Text
operationId :: Maybe Text
$sel:operationId:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe Text
operationId} -> Maybe Text
operationId) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe Text
a -> StackSetOperationSummary
s {$sel:operationId:StackSetOperationSummary' :: Maybe Text
operationId = Maybe Text
a} :: StackSetOperationSummary)

-- | Undocumented member.
stackSetOperationSummary_operationPreferences :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe StackSetOperationPreferences)
stackSetOperationSummary_operationPreferences :: Lens' StackSetOperationSummary (Maybe StackSetOperationPreferences)
stackSetOperationSummary_operationPreferences = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe StackSetOperationPreferences
operationPreferences :: Maybe StackSetOperationPreferences
$sel:operationPreferences:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationPreferences
operationPreferences} -> Maybe StackSetOperationPreferences
operationPreferences) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe StackSetOperationPreferences
a -> StackSetOperationSummary
s {$sel:operationPreferences:StackSetOperationSummary' :: Maybe StackSetOperationPreferences
operationPreferences = Maybe StackSetOperationPreferences
a} :: StackSetOperationSummary)

-- | The overall status of the operation.
--
-- -   @FAILED@: The operation exceeded the specified failure tolerance.
--     The failure tolerance value that you\'ve set for an operation is
--     applied for each Region during stack create and update operations.
--     If the number of failed stacks within a Region exceeds the failure
--     tolerance, the status of the operation in the Region is set to
--     @FAILED@. This in turn sets the status of the operation as a whole
--     to @FAILED@, and CloudFormation cancels the operation in any
--     remaining Regions.
--
-- -   @QUEUED@: [Service-managed permissions] For automatic deployments
--     that require a sequence of operations, the operation is queued to be
--     performed. For more information, see the
--     <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes stack set operation status codes>
--     in the CloudFormation User Guide.
--
-- -   @RUNNING@: The operation is currently being performed.
--
-- -   @STOPPED@: The user has canceled the operation.
--
-- -   @STOPPING@: The operation is in the process of stopping, at user
--     request.
--
-- -   @SUCCEEDED@: The operation completed creating or updating all the
--     specified stacks without exceeding the failure tolerance for the
--     operation.
stackSetOperationSummary_status :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe StackSetOperationStatus)
stackSetOperationSummary_status :: Lens' StackSetOperationSummary (Maybe StackSetOperationStatus)
stackSetOperationSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe StackSetOperationStatus
status :: Maybe StackSetOperationStatus
$sel:status:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationStatus
status} -> Maybe StackSetOperationStatus
status) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe StackSetOperationStatus
a -> StackSetOperationSummary
s {$sel:status:StackSetOperationSummary' :: Maybe StackSetOperationStatus
status = Maybe StackSetOperationStatus
a} :: StackSetOperationSummary)

-- | Detailed information about the stack set operation.
stackSetOperationSummary_statusDetails :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe StackSetOperationStatusDetails)
stackSetOperationSummary_statusDetails :: Lens'
  StackSetOperationSummary (Maybe StackSetOperationStatusDetails)
stackSetOperationSummary_statusDetails = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe StackSetOperationStatusDetails
statusDetails :: Maybe StackSetOperationStatusDetails
$sel:statusDetails:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationStatusDetails
statusDetails} -> Maybe StackSetOperationStatusDetails
statusDetails) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe StackSetOperationStatusDetails
a -> StackSetOperationSummary
s {$sel:statusDetails:StackSetOperationSummary' :: Maybe StackSetOperationStatusDetails
statusDetails = Maybe StackSetOperationStatusDetails
a} :: StackSetOperationSummary)

-- | The status of the operation in details.
stackSetOperationSummary_statusReason :: Lens.Lens' StackSetOperationSummary (Prelude.Maybe Prelude.Text)
stackSetOperationSummary_statusReason :: Lens' StackSetOperationSummary (Maybe Text)
stackSetOperationSummary_statusReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperationSummary' {Maybe Text
statusReason :: Maybe Text
$sel:statusReason:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe Text
statusReason} -> Maybe Text
statusReason) (\s :: StackSetOperationSummary
s@StackSetOperationSummary' {} Maybe Text
a -> StackSetOperationSummary
s {$sel:statusReason:StackSetOperationSummary' :: Maybe Text
statusReason = Maybe Text
a} :: StackSetOperationSummary)

instance Data.FromXML StackSetOperationSummary where
  parseXML :: [Node] -> Either String StackSetOperationSummary
parseXML [Node]
x =
    Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe Text
-> Maybe StackSetOperationPreferences
-> Maybe StackSetOperationStatus
-> Maybe StackSetOperationStatusDetails
-> Maybe Text
-> StackSetOperationSummary
StackSetOperationSummary'
      forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Action")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"CreationTimestamp")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"EndTimestamp")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"OperationId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"OperationPreferences")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Status")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"StatusDetails")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"StatusReason")

instance Prelude.Hashable StackSetOperationSummary where
  hashWithSalt :: Int -> StackSetOperationSummary -> Int
hashWithSalt Int
_salt StackSetOperationSummary' {Maybe Text
Maybe ISO8601
Maybe StackSetOperationAction
Maybe StackSetOperationPreferences
Maybe StackSetOperationStatus
Maybe StackSetOperationStatusDetails
statusReason :: Maybe Text
statusDetails :: Maybe StackSetOperationStatusDetails
status :: Maybe StackSetOperationStatus
operationPreferences :: Maybe StackSetOperationPreferences
operationId :: Maybe Text
endTimestamp :: Maybe ISO8601
creationTimestamp :: Maybe ISO8601
action :: Maybe StackSetOperationAction
$sel:statusReason:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe Text
$sel:statusDetails:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationStatusDetails
$sel:status:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationStatus
$sel:operationPreferences:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationPreferences
$sel:operationId:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe Text
$sel:endTimestamp:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe ISO8601
$sel:creationTimestamp:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe ISO8601
$sel:action:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationAction
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StackSetOperationAction
action
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
creationTimestamp
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
endTimestamp
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
operationId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StackSetOperationPreferences
operationPreferences
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StackSetOperationStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StackSetOperationStatusDetails
statusDetails
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
statusReason

instance Prelude.NFData StackSetOperationSummary where
  rnf :: StackSetOperationSummary -> ()
rnf StackSetOperationSummary' {Maybe Text
Maybe ISO8601
Maybe StackSetOperationAction
Maybe StackSetOperationPreferences
Maybe StackSetOperationStatus
Maybe StackSetOperationStatusDetails
statusReason :: Maybe Text
statusDetails :: Maybe StackSetOperationStatusDetails
status :: Maybe StackSetOperationStatus
operationPreferences :: Maybe StackSetOperationPreferences
operationId :: Maybe Text
endTimestamp :: Maybe ISO8601
creationTimestamp :: Maybe ISO8601
action :: Maybe StackSetOperationAction
$sel:statusReason:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe Text
$sel:statusDetails:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationStatusDetails
$sel:status:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationStatus
$sel:operationPreferences:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationPreferences
$sel:operationId:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe Text
$sel:endTimestamp:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe ISO8601
$sel:creationTimestamp:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe ISO8601
$sel:action:StackSetOperationSummary' :: StackSetOperationSummary -> Maybe StackSetOperationAction
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe StackSetOperationAction
action
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
creationTimestamp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
endTimestamp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
operationId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe StackSetOperationPreferences
operationPreferences
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe StackSetOperationStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe StackSetOperationStatusDetails
statusDetails
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
statusReason