{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CloudFormation.Types.StackSetOperation where
import Amazonka.CloudFormation.Types.DeploymentTargets
import Amazonka.CloudFormation.Types.StackSetDriftDetectionDetails
import Amazonka.CloudFormation.Types.StackSetOperationAction
import Amazonka.CloudFormation.Types.StackSetOperationPreferences
import Amazonka.CloudFormation.Types.StackSetOperationStatus
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data StackSetOperation = StackSetOperation'
{
StackSetOperation -> Maybe StackSetDriftDetectionDetails
stackSetDriftDetectionDetails :: Prelude.Maybe StackSetDriftDetectionDetails,
StackSetOperation -> Maybe StackSetOperationStatus
status :: Prelude.Maybe StackSetOperationStatus,
StackSetOperation -> Maybe Text
administrationRoleARN :: Prelude.Maybe Prelude.Text,
StackSetOperation -> Maybe StackSetOperationAction
action :: Prelude.Maybe StackSetOperationAction,
StackSetOperation -> Maybe ISO8601
endTimestamp :: Prelude.Maybe Core.ISO8601,
StackSetOperation -> Maybe ISO8601
creationTimestamp :: Prelude.Maybe Core.ISO8601,
StackSetOperation -> Maybe StackSetOperationPreferences
operationPreferences :: Prelude.Maybe StackSetOperationPreferences,
StackSetOperation -> Maybe Text
operationId :: Prelude.Maybe Prelude.Text,
StackSetOperation -> Maybe Bool
retainStacks :: Prelude.Maybe Prelude.Bool,
StackSetOperation -> Maybe DeploymentTargets
deploymentTargets :: Prelude.Maybe DeploymentTargets,
StackSetOperation -> Maybe Text
stackSetId :: Prelude.Maybe Prelude.Text,
StackSetOperation -> Maybe Text
executionRoleName :: Prelude.Maybe Prelude.Text
}
deriving (StackSetOperation -> StackSetOperation -> Bool
(StackSetOperation -> StackSetOperation -> Bool)
-> (StackSetOperation -> StackSetOperation -> Bool)
-> Eq StackSetOperation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StackSetOperation -> StackSetOperation -> Bool
$c/= :: StackSetOperation -> StackSetOperation -> Bool
== :: StackSetOperation -> StackSetOperation -> Bool
$c== :: StackSetOperation -> StackSetOperation -> Bool
Prelude.Eq, ReadPrec [StackSetOperation]
ReadPrec StackSetOperation
Int -> ReadS StackSetOperation
ReadS [StackSetOperation]
(Int -> ReadS StackSetOperation)
-> ReadS [StackSetOperation]
-> ReadPrec StackSetOperation
-> ReadPrec [StackSetOperation]
-> Read StackSetOperation
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StackSetOperation]
$creadListPrec :: ReadPrec [StackSetOperation]
readPrec :: ReadPrec StackSetOperation
$creadPrec :: ReadPrec StackSetOperation
readList :: ReadS [StackSetOperation]
$creadList :: ReadS [StackSetOperation]
readsPrec :: Int -> ReadS StackSetOperation
$creadsPrec :: Int -> ReadS StackSetOperation
Prelude.Read, Int -> StackSetOperation -> ShowS
[StackSetOperation] -> ShowS
StackSetOperation -> String
(Int -> StackSetOperation -> ShowS)
-> (StackSetOperation -> String)
-> ([StackSetOperation] -> ShowS)
-> Show StackSetOperation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StackSetOperation] -> ShowS
$cshowList :: [StackSetOperation] -> ShowS
show :: StackSetOperation -> String
$cshow :: StackSetOperation -> String
showsPrec :: Int -> StackSetOperation -> ShowS
$cshowsPrec :: Int -> StackSetOperation -> ShowS
Prelude.Show, (forall x. StackSetOperation -> Rep StackSetOperation x)
-> (forall x. Rep StackSetOperation x -> StackSetOperation)
-> Generic StackSetOperation
forall x. Rep StackSetOperation x -> StackSetOperation
forall x. StackSetOperation -> Rep StackSetOperation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StackSetOperation x -> StackSetOperation
$cfrom :: forall x. StackSetOperation -> Rep StackSetOperation x
Prelude.Generic)
newStackSetOperation ::
StackSetOperation
newStackSetOperation :: StackSetOperation
newStackSetOperation =
StackSetOperation' :: Maybe StackSetDriftDetectionDetails
-> Maybe StackSetOperationStatus
-> Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation
StackSetOperation'
{ $sel:stackSetDriftDetectionDetails:StackSetOperation' :: Maybe StackSetDriftDetectionDetails
stackSetDriftDetectionDetails =
Maybe StackSetDriftDetectionDetails
forall a. Maybe a
Prelude.Nothing,
$sel:status:StackSetOperation' :: Maybe StackSetOperationStatus
status = Maybe StackSetOperationStatus
forall a. Maybe a
Prelude.Nothing,
$sel:administrationRoleARN:StackSetOperation' :: Maybe Text
administrationRoleARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:action:StackSetOperation' :: Maybe StackSetOperationAction
action = Maybe StackSetOperationAction
forall a. Maybe a
Prelude.Nothing,
$sel:endTimestamp:StackSetOperation' :: Maybe ISO8601
endTimestamp = Maybe ISO8601
forall a. Maybe a
Prelude.Nothing,
$sel:creationTimestamp:StackSetOperation' :: Maybe ISO8601
creationTimestamp = Maybe ISO8601
forall a. Maybe a
Prelude.Nothing,
$sel:operationPreferences:StackSetOperation' :: Maybe StackSetOperationPreferences
operationPreferences = Maybe StackSetOperationPreferences
forall a. Maybe a
Prelude.Nothing,
$sel:operationId:StackSetOperation' :: Maybe Text
operationId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:retainStacks:StackSetOperation' :: Maybe Bool
retainStacks = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:deploymentTargets:StackSetOperation' :: Maybe DeploymentTargets
deploymentTargets = Maybe DeploymentTargets
forall a. Maybe a
Prelude.Nothing,
$sel:stackSetId:StackSetOperation' :: Maybe Text
stackSetId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:executionRoleName:StackSetOperation' :: Maybe Text
executionRoleName = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
stackSetOperation_stackSetDriftDetectionDetails :: Lens.Lens' StackSetOperation (Prelude.Maybe StackSetDriftDetectionDetails)
stackSetOperation_stackSetDriftDetectionDetails :: (Maybe StackSetDriftDetectionDetails
-> f (Maybe StackSetDriftDetectionDetails))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_stackSetDriftDetectionDetails = (StackSetOperation -> Maybe StackSetDriftDetectionDetails)
-> (StackSetOperation
-> Maybe StackSetDriftDetectionDetails -> StackSetOperation)
-> Lens
StackSetOperation
StackSetOperation
(Maybe StackSetDriftDetectionDetails)
(Maybe StackSetDriftDetectionDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe StackSetDriftDetectionDetails
stackSetDriftDetectionDetails :: Maybe StackSetDriftDetectionDetails
$sel:stackSetDriftDetectionDetails:StackSetOperation' :: StackSetOperation -> Maybe StackSetDriftDetectionDetails
stackSetDriftDetectionDetails} -> Maybe StackSetDriftDetectionDetails
stackSetDriftDetectionDetails) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe StackSetDriftDetectionDetails
a -> StackSetOperation
s {$sel:stackSetDriftDetectionDetails:StackSetOperation' :: Maybe StackSetDriftDetectionDetails
stackSetDriftDetectionDetails = Maybe StackSetDriftDetectionDetails
a} :: StackSetOperation)
stackSetOperation_status :: Lens.Lens' StackSetOperation (Prelude.Maybe StackSetOperationStatus)
stackSetOperation_status :: (Maybe StackSetOperationStatus
-> f (Maybe StackSetOperationStatus))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_status = (StackSetOperation -> Maybe StackSetOperationStatus)
-> (StackSetOperation
-> Maybe StackSetOperationStatus -> StackSetOperation)
-> Lens
StackSetOperation
StackSetOperation
(Maybe StackSetOperationStatus)
(Maybe StackSetOperationStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe StackSetOperationStatus
status :: Maybe StackSetOperationStatus
$sel:status:StackSetOperation' :: StackSetOperation -> Maybe StackSetOperationStatus
status} -> Maybe StackSetOperationStatus
status) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe StackSetOperationStatus
a -> StackSetOperation
s {$sel:status:StackSetOperation' :: Maybe StackSetOperationStatus
status = Maybe StackSetOperationStatus
a} :: StackSetOperation)
stackSetOperation_administrationRoleARN :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.Text)
stackSetOperation_administrationRoleARN :: (Maybe Text -> f (Maybe Text))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_administrationRoleARN = (StackSetOperation -> Maybe Text)
-> (StackSetOperation -> Maybe Text -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe Text
administrationRoleARN :: Maybe Text
$sel:administrationRoleARN:StackSetOperation' :: StackSetOperation -> Maybe Text
administrationRoleARN} -> Maybe Text
administrationRoleARN) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe Text
a -> StackSetOperation
s {$sel:administrationRoleARN:StackSetOperation' :: Maybe Text
administrationRoleARN = Maybe Text
a} :: StackSetOperation)
stackSetOperation_action :: Lens.Lens' StackSetOperation (Prelude.Maybe StackSetOperationAction)
stackSetOperation_action :: (Maybe StackSetOperationAction
-> f (Maybe StackSetOperationAction))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_action = (StackSetOperation -> Maybe StackSetOperationAction)
-> (StackSetOperation
-> Maybe StackSetOperationAction -> StackSetOperation)
-> Lens
StackSetOperation
StackSetOperation
(Maybe StackSetOperationAction)
(Maybe StackSetOperationAction)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe StackSetOperationAction
action :: Maybe StackSetOperationAction
$sel:action:StackSetOperation' :: StackSetOperation -> Maybe StackSetOperationAction
action} -> Maybe StackSetOperationAction
action) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe StackSetOperationAction
a -> StackSetOperation
s {$sel:action:StackSetOperation' :: Maybe StackSetOperationAction
action = Maybe StackSetOperationAction
a} :: StackSetOperation)
stackSetOperation_endTimestamp :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.UTCTime)
stackSetOperation_endTimestamp :: (Maybe UTCTime -> f (Maybe UTCTime))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_endTimestamp = (StackSetOperation -> Maybe ISO8601)
-> (StackSetOperation -> Maybe ISO8601 -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe ISO8601) (Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe ISO8601
endTimestamp :: Maybe ISO8601
$sel:endTimestamp:StackSetOperation' :: StackSetOperation -> Maybe ISO8601
endTimestamp} -> Maybe ISO8601
endTimestamp) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe ISO8601
a -> StackSetOperation
s {$sel:endTimestamp:StackSetOperation' :: Maybe ISO8601
endTimestamp = Maybe ISO8601
a} :: StackSetOperation) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> StackSetOperation -> f StackSetOperation)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> StackSetOperation
-> f StackSetOperation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
stackSetOperation_creationTimestamp :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.UTCTime)
stackSetOperation_creationTimestamp :: (Maybe UTCTime -> f (Maybe UTCTime))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_creationTimestamp = (StackSetOperation -> Maybe ISO8601)
-> (StackSetOperation -> Maybe ISO8601 -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe ISO8601) (Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe ISO8601
creationTimestamp :: Maybe ISO8601
$sel:creationTimestamp:StackSetOperation' :: StackSetOperation -> Maybe ISO8601
creationTimestamp} -> Maybe ISO8601
creationTimestamp) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe ISO8601
a -> StackSetOperation
s {$sel:creationTimestamp:StackSetOperation' :: Maybe ISO8601
creationTimestamp = Maybe ISO8601
a} :: StackSetOperation) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> StackSetOperation -> f StackSetOperation)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> StackSetOperation
-> f StackSetOperation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
stackSetOperation_operationPreferences :: Lens.Lens' StackSetOperation (Prelude.Maybe StackSetOperationPreferences)
stackSetOperation_operationPreferences :: (Maybe StackSetOperationPreferences
-> f (Maybe StackSetOperationPreferences))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_operationPreferences = (StackSetOperation -> Maybe StackSetOperationPreferences)
-> (StackSetOperation
-> Maybe StackSetOperationPreferences -> StackSetOperation)
-> Lens
StackSetOperation
StackSetOperation
(Maybe StackSetOperationPreferences)
(Maybe StackSetOperationPreferences)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe StackSetOperationPreferences
operationPreferences :: Maybe StackSetOperationPreferences
$sel:operationPreferences:StackSetOperation' :: StackSetOperation -> Maybe StackSetOperationPreferences
operationPreferences} -> Maybe StackSetOperationPreferences
operationPreferences) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe StackSetOperationPreferences
a -> StackSetOperation
s {$sel:operationPreferences:StackSetOperation' :: Maybe StackSetOperationPreferences
operationPreferences = Maybe StackSetOperationPreferences
a} :: StackSetOperation)
stackSetOperation_operationId :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.Text)
stackSetOperation_operationId :: (Maybe Text -> f (Maybe Text))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_operationId = (StackSetOperation -> Maybe Text)
-> (StackSetOperation -> Maybe Text -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe Text
operationId :: Maybe Text
$sel:operationId:StackSetOperation' :: StackSetOperation -> Maybe Text
operationId} -> Maybe Text
operationId) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe Text
a -> StackSetOperation
s {$sel:operationId:StackSetOperation' :: Maybe Text
operationId = Maybe Text
a} :: StackSetOperation)
stackSetOperation_retainStacks :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.Bool)
stackSetOperation_retainStacks :: (Maybe Bool -> f (Maybe Bool))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_retainStacks = (StackSetOperation -> Maybe Bool)
-> (StackSetOperation -> Maybe Bool -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe Bool
retainStacks :: Maybe Bool
$sel:retainStacks:StackSetOperation' :: StackSetOperation -> Maybe Bool
retainStacks} -> Maybe Bool
retainStacks) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe Bool
a -> StackSetOperation
s {$sel:retainStacks:StackSetOperation' :: Maybe Bool
retainStacks = Maybe Bool
a} :: StackSetOperation)
stackSetOperation_deploymentTargets :: Lens.Lens' StackSetOperation (Prelude.Maybe DeploymentTargets)
stackSetOperation_deploymentTargets :: (Maybe DeploymentTargets -> f (Maybe DeploymentTargets))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_deploymentTargets = (StackSetOperation -> Maybe DeploymentTargets)
-> (StackSetOperation
-> Maybe DeploymentTargets -> StackSetOperation)
-> Lens
StackSetOperation
StackSetOperation
(Maybe DeploymentTargets)
(Maybe DeploymentTargets)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe DeploymentTargets
deploymentTargets :: Maybe DeploymentTargets
$sel:deploymentTargets:StackSetOperation' :: StackSetOperation -> Maybe DeploymentTargets
deploymentTargets} -> Maybe DeploymentTargets
deploymentTargets) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe DeploymentTargets
a -> StackSetOperation
s {$sel:deploymentTargets:StackSetOperation' :: Maybe DeploymentTargets
deploymentTargets = Maybe DeploymentTargets
a} :: StackSetOperation)
stackSetOperation_stackSetId :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.Text)
stackSetOperation_stackSetId :: (Maybe Text -> f (Maybe Text))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_stackSetId = (StackSetOperation -> Maybe Text)
-> (StackSetOperation -> Maybe Text -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe Text
stackSetId :: Maybe Text
$sel:stackSetId:StackSetOperation' :: StackSetOperation -> Maybe Text
stackSetId} -> Maybe Text
stackSetId) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe Text
a -> StackSetOperation
s {$sel:stackSetId:StackSetOperation' :: Maybe Text
stackSetId = Maybe Text
a} :: StackSetOperation)
stackSetOperation_executionRoleName :: Lens.Lens' StackSetOperation (Prelude.Maybe Prelude.Text)
stackSetOperation_executionRoleName :: (Maybe Text -> f (Maybe Text))
-> StackSetOperation -> f StackSetOperation
stackSetOperation_executionRoleName = (StackSetOperation -> Maybe Text)
-> (StackSetOperation -> Maybe Text -> StackSetOperation)
-> Lens
StackSetOperation StackSetOperation (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StackSetOperation' {Maybe Text
executionRoleName :: Maybe Text
$sel:executionRoleName:StackSetOperation' :: StackSetOperation -> Maybe Text
executionRoleName} -> Maybe Text
executionRoleName) (\s :: StackSetOperation
s@StackSetOperation' {} Maybe Text
a -> StackSetOperation
s {$sel:executionRoleName:StackSetOperation' :: Maybe Text
executionRoleName = Maybe Text
a} :: StackSetOperation)
instance Core.FromXML StackSetOperation where
parseXML :: [Node] -> Either String StackSetOperation
parseXML [Node]
x =
Maybe StackSetDriftDetectionDetails
-> Maybe StackSetOperationStatus
-> Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation
StackSetOperation'
(Maybe StackSetDriftDetectionDetails
-> Maybe StackSetOperationStatus
-> Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe StackSetDriftDetectionDetails)
-> Either
String
(Maybe StackSetOperationStatus
-> Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node]
-> Text -> Either String (Maybe StackSetDriftDetectionDetails)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"StackSetDriftDetectionDetails")
Either
String
(Maybe StackSetOperationStatus
-> Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe StackSetOperationStatus)
-> Either
String
(Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe StackSetOperationStatus)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Status")
Either
String
(Maybe Text
-> Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe Text)
-> Either
String
(Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"AdministrationRoleARN")
Either
String
(Maybe StackSetOperationAction
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe StackSetOperationAction)
-> Either
String
(Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe StackSetOperationAction)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"Action")
Either
String
(Maybe ISO8601
-> Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe ISO8601)
-> Either
String
(Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"EndTimestamp")
Either
String
(Maybe ISO8601
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe ISO8601)
-> Either
String
(Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"CreationTimestamp")
Either
String
(Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe StackSetOperationPreferences)
-> Either
String
(Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node]
-> Text -> Either String (Maybe StackSetOperationPreferences)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"OperationPreferences")
Either
String
(Maybe Text
-> Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe Text)
-> Either
String
(Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"OperationId")
Either
String
(Maybe Bool
-> Maybe DeploymentTargets
-> Maybe Text
-> Maybe Text
-> StackSetOperation)
-> Either String (Maybe Bool)
-> Either
String
(Maybe DeploymentTargets
-> Maybe Text -> Maybe Text -> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Bool)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"RetainStacks")
Either
String
(Maybe DeploymentTargets
-> Maybe Text -> Maybe Text -> StackSetOperation)
-> Either String (Maybe DeploymentTargets)
-> Either String (Maybe Text -> Maybe Text -> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe DeploymentTargets)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"DeploymentTargets")
Either String (Maybe Text -> Maybe Text -> StackSetOperation)
-> Either String (Maybe Text)
-> Either String (Maybe Text -> StackSetOperation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"StackSetId")
Either String (Maybe Text -> StackSetOperation)
-> Either String (Maybe Text) -> Either String StackSetOperation
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"ExecutionRoleName")
instance Prelude.Hashable StackSetOperation
instance Prelude.NFData StackSetOperation