{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CloudFormation.DeleteStackInstances
(
DeleteStackInstances (..),
newDeleteStackInstances,
deleteStackInstances_accounts,
deleteStackInstances_callAs,
deleteStackInstances_operationPreferences,
deleteStackInstances_operationId,
deleteStackInstances_deploymentTargets,
deleteStackInstances_stackSetName,
deleteStackInstances_regions,
deleteStackInstances_retainStacks,
DeleteStackInstancesResponse (..),
newDeleteStackInstancesResponse,
deleteStackInstancesResponse_operationId,
deleteStackInstancesResponse_httpStatus,
)
where
import Amazonka.CloudFormation.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DeleteStackInstances = DeleteStackInstances'
{
DeleteStackInstances -> Maybe [Text]
accounts :: Prelude.Maybe [Prelude.Text],
DeleteStackInstances -> Maybe CallAs
callAs :: Prelude.Maybe CallAs,
DeleteStackInstances -> Maybe StackSetOperationPreferences
operationPreferences :: Prelude.Maybe StackSetOperationPreferences,
DeleteStackInstances -> Maybe Text
operationId :: Prelude.Maybe Prelude.Text,
DeleteStackInstances -> Maybe DeploymentTargets
deploymentTargets :: Prelude.Maybe DeploymentTargets,
DeleteStackInstances -> Text
stackSetName :: Prelude.Text,
DeleteStackInstances -> [Text]
regions :: [Prelude.Text],
DeleteStackInstances -> Bool
retainStacks :: Prelude.Bool
}
deriving (DeleteStackInstances -> DeleteStackInstances -> Bool
(DeleteStackInstances -> DeleteStackInstances -> Bool)
-> (DeleteStackInstances -> DeleteStackInstances -> Bool)
-> Eq DeleteStackInstances
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteStackInstances -> DeleteStackInstances -> Bool
$c/= :: DeleteStackInstances -> DeleteStackInstances -> Bool
== :: DeleteStackInstances -> DeleteStackInstances -> Bool
$c== :: DeleteStackInstances -> DeleteStackInstances -> Bool
Prelude.Eq, ReadPrec [DeleteStackInstances]
ReadPrec DeleteStackInstances
Int -> ReadS DeleteStackInstances
ReadS [DeleteStackInstances]
(Int -> ReadS DeleteStackInstances)
-> ReadS [DeleteStackInstances]
-> ReadPrec DeleteStackInstances
-> ReadPrec [DeleteStackInstances]
-> Read DeleteStackInstances
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteStackInstances]
$creadListPrec :: ReadPrec [DeleteStackInstances]
readPrec :: ReadPrec DeleteStackInstances
$creadPrec :: ReadPrec DeleteStackInstances
readList :: ReadS [DeleteStackInstances]
$creadList :: ReadS [DeleteStackInstances]
readsPrec :: Int -> ReadS DeleteStackInstances
$creadsPrec :: Int -> ReadS DeleteStackInstances
Prelude.Read, Int -> DeleteStackInstances -> ShowS
[DeleteStackInstances] -> ShowS
DeleteStackInstances -> String
(Int -> DeleteStackInstances -> ShowS)
-> (DeleteStackInstances -> String)
-> ([DeleteStackInstances] -> ShowS)
-> Show DeleteStackInstances
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteStackInstances] -> ShowS
$cshowList :: [DeleteStackInstances] -> ShowS
show :: DeleteStackInstances -> String
$cshow :: DeleteStackInstances -> String
showsPrec :: Int -> DeleteStackInstances -> ShowS
$cshowsPrec :: Int -> DeleteStackInstances -> ShowS
Prelude.Show, (forall x. DeleteStackInstances -> Rep DeleteStackInstances x)
-> (forall x. Rep DeleteStackInstances x -> DeleteStackInstances)
-> Generic DeleteStackInstances
forall x. Rep DeleteStackInstances x -> DeleteStackInstances
forall x. DeleteStackInstances -> Rep DeleteStackInstances x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DeleteStackInstances x -> DeleteStackInstances
$cfrom :: forall x. DeleteStackInstances -> Rep DeleteStackInstances x
Prelude.Generic)
newDeleteStackInstances ::
Prelude.Text ->
Prelude.Bool ->
DeleteStackInstances
newDeleteStackInstances :: Text -> Bool -> DeleteStackInstances
newDeleteStackInstances Text
pStackSetName_ Bool
pRetainStacks_ =
DeleteStackInstances' :: Maybe [Text]
-> Maybe CallAs
-> Maybe StackSetOperationPreferences
-> Maybe Text
-> Maybe DeploymentTargets
-> Text
-> [Text]
-> Bool
-> DeleteStackInstances
DeleteStackInstances'
{ $sel:accounts:DeleteStackInstances' :: Maybe [Text]
accounts = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:callAs:DeleteStackInstances' :: Maybe CallAs
callAs = Maybe CallAs
forall a. Maybe a
Prelude.Nothing,
$sel:operationPreferences:DeleteStackInstances' :: Maybe StackSetOperationPreferences
operationPreferences = Maybe StackSetOperationPreferences
forall a. Maybe a
Prelude.Nothing,
$sel:operationId:DeleteStackInstances' :: Maybe Text
operationId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:deploymentTargets:DeleteStackInstances' :: Maybe DeploymentTargets
deploymentTargets = Maybe DeploymentTargets
forall a. Maybe a
Prelude.Nothing,
$sel:stackSetName:DeleteStackInstances' :: Text
stackSetName = Text
pStackSetName_,
$sel:regions:DeleteStackInstances' :: [Text]
regions = [Text]
forall a. Monoid a => a
Prelude.mempty,
$sel:retainStacks:DeleteStackInstances' :: Bool
retainStacks = Bool
pRetainStacks_
}
deleteStackInstances_accounts :: Lens.Lens' DeleteStackInstances (Prelude.Maybe [Prelude.Text])
deleteStackInstances_accounts :: (Maybe [Text] -> f (Maybe [Text]))
-> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_accounts = (DeleteStackInstances -> Maybe [Text])
-> (DeleteStackInstances -> Maybe [Text] -> DeleteStackInstances)
-> Lens
DeleteStackInstances
DeleteStackInstances
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Maybe [Text]
accounts :: Maybe [Text]
$sel:accounts:DeleteStackInstances' :: DeleteStackInstances -> Maybe [Text]
accounts} -> Maybe [Text]
accounts) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Maybe [Text]
a -> DeleteStackInstances
s {$sel:accounts:DeleteStackInstances' :: Maybe [Text]
accounts = Maybe [Text]
a} :: DeleteStackInstances) ((Maybe [Text] -> f (Maybe [Text]))
-> DeleteStackInstances -> f DeleteStackInstances)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DeleteStackInstances
-> f DeleteStackInstances
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
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 [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteStackInstances_callAs :: Lens.Lens' DeleteStackInstances (Prelude.Maybe CallAs)
deleteStackInstances_callAs :: (Maybe CallAs -> f (Maybe CallAs))
-> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_callAs = (DeleteStackInstances -> Maybe CallAs)
-> (DeleteStackInstances -> Maybe CallAs -> DeleteStackInstances)
-> Lens
DeleteStackInstances
DeleteStackInstances
(Maybe CallAs)
(Maybe CallAs)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Maybe CallAs
callAs :: Maybe CallAs
$sel:callAs:DeleteStackInstances' :: DeleteStackInstances -> Maybe CallAs
callAs} -> Maybe CallAs
callAs) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Maybe CallAs
a -> DeleteStackInstances
s {$sel:callAs:DeleteStackInstances' :: Maybe CallAs
callAs = Maybe CallAs
a} :: DeleteStackInstances)
deleteStackInstances_operationPreferences :: Lens.Lens' DeleteStackInstances (Prelude.Maybe StackSetOperationPreferences)
deleteStackInstances_operationPreferences :: (Maybe StackSetOperationPreferences
-> f (Maybe StackSetOperationPreferences))
-> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_operationPreferences = (DeleteStackInstances -> Maybe StackSetOperationPreferences)
-> (DeleteStackInstances
-> Maybe StackSetOperationPreferences -> DeleteStackInstances)
-> Lens
DeleteStackInstances
DeleteStackInstances
(Maybe StackSetOperationPreferences)
(Maybe StackSetOperationPreferences)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Maybe StackSetOperationPreferences
operationPreferences :: Maybe StackSetOperationPreferences
$sel:operationPreferences:DeleteStackInstances' :: DeleteStackInstances -> Maybe StackSetOperationPreferences
operationPreferences} -> Maybe StackSetOperationPreferences
operationPreferences) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Maybe StackSetOperationPreferences
a -> DeleteStackInstances
s {$sel:operationPreferences:DeleteStackInstances' :: Maybe StackSetOperationPreferences
operationPreferences = Maybe StackSetOperationPreferences
a} :: DeleteStackInstances)
deleteStackInstances_operationId :: Lens.Lens' DeleteStackInstances (Prelude.Maybe Prelude.Text)
deleteStackInstances_operationId :: (Maybe Text -> f (Maybe Text))
-> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_operationId = (DeleteStackInstances -> Maybe Text)
-> (DeleteStackInstances -> Maybe Text -> DeleteStackInstances)
-> Lens
DeleteStackInstances DeleteStackInstances (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Maybe Text
operationId :: Maybe Text
$sel:operationId:DeleteStackInstances' :: DeleteStackInstances -> Maybe Text
operationId} -> Maybe Text
operationId) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Maybe Text
a -> DeleteStackInstances
s {$sel:operationId:DeleteStackInstances' :: Maybe Text
operationId = Maybe Text
a} :: DeleteStackInstances)
deleteStackInstances_deploymentTargets :: Lens.Lens' DeleteStackInstances (Prelude.Maybe DeploymentTargets)
deleteStackInstances_deploymentTargets :: (Maybe DeploymentTargets -> f (Maybe DeploymentTargets))
-> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_deploymentTargets = (DeleteStackInstances -> Maybe DeploymentTargets)
-> (DeleteStackInstances
-> Maybe DeploymentTargets -> DeleteStackInstances)
-> Lens
DeleteStackInstances
DeleteStackInstances
(Maybe DeploymentTargets)
(Maybe DeploymentTargets)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Maybe DeploymentTargets
deploymentTargets :: Maybe DeploymentTargets
$sel:deploymentTargets:DeleteStackInstances' :: DeleteStackInstances -> Maybe DeploymentTargets
deploymentTargets} -> Maybe DeploymentTargets
deploymentTargets) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Maybe DeploymentTargets
a -> DeleteStackInstances
s {$sel:deploymentTargets:DeleteStackInstances' :: Maybe DeploymentTargets
deploymentTargets = Maybe DeploymentTargets
a} :: DeleteStackInstances)
deleteStackInstances_stackSetName :: Lens.Lens' DeleteStackInstances Prelude.Text
deleteStackInstances_stackSetName :: (Text -> f Text) -> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_stackSetName = (DeleteStackInstances -> Text)
-> (DeleteStackInstances -> Text -> DeleteStackInstances)
-> Lens DeleteStackInstances DeleteStackInstances Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Text
stackSetName :: Text
$sel:stackSetName:DeleteStackInstances' :: DeleteStackInstances -> Text
stackSetName} -> Text
stackSetName) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Text
a -> DeleteStackInstances
s {$sel:stackSetName:DeleteStackInstances' :: Text
stackSetName = Text
a} :: DeleteStackInstances)
deleteStackInstances_regions :: Lens.Lens' DeleteStackInstances [Prelude.Text]
deleteStackInstances_regions :: ([Text] -> f [Text])
-> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_regions = (DeleteStackInstances -> [Text])
-> (DeleteStackInstances -> [Text] -> DeleteStackInstances)
-> Lens DeleteStackInstances DeleteStackInstances [Text] [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {[Text]
regions :: [Text]
$sel:regions:DeleteStackInstances' :: DeleteStackInstances -> [Text]
regions} -> [Text]
regions) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} [Text]
a -> DeleteStackInstances
s {$sel:regions:DeleteStackInstances' :: [Text]
regions = [Text]
a} :: DeleteStackInstances) (([Text] -> f [Text])
-> DeleteStackInstances -> f DeleteStackInstances)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> DeleteStackInstances
-> f DeleteStackInstances
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
deleteStackInstances_retainStacks :: Lens.Lens' DeleteStackInstances Prelude.Bool
deleteStackInstances_retainStacks :: (Bool -> f Bool) -> DeleteStackInstances -> f DeleteStackInstances
deleteStackInstances_retainStacks = (DeleteStackInstances -> Bool)
-> (DeleteStackInstances -> Bool -> DeleteStackInstances)
-> Lens DeleteStackInstances DeleteStackInstances Bool Bool
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstances' {Bool
retainStacks :: Bool
$sel:retainStacks:DeleteStackInstances' :: DeleteStackInstances -> Bool
retainStacks} -> Bool
retainStacks) (\s :: DeleteStackInstances
s@DeleteStackInstances' {} Bool
a -> DeleteStackInstances
s {$sel:retainStacks:DeleteStackInstances' :: Bool
retainStacks = Bool
a} :: DeleteStackInstances)
instance Core.AWSRequest DeleteStackInstances where
type
AWSResponse DeleteStackInstances =
DeleteStackInstancesResponse
request :: DeleteStackInstances -> Request DeleteStackInstances
request = Service -> DeleteStackInstances -> Request DeleteStackInstances
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy DeleteStackInstances
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteStackInstances)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse DeleteStackInstances))
-> Logger
-> Service
-> Proxy DeleteStackInstances
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DeleteStackInstances)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"DeleteStackInstancesResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe Text -> Int -> DeleteStackInstancesResponse
DeleteStackInstancesResponse'
(Maybe Text -> Int -> DeleteStackInstancesResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DeleteStackInstancesResponse)
forall (f :: * -> *) a b. Functor 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 (Int -> DeleteStackInstancesResponse)
-> Either String Int -> Either String DeleteStackInstancesResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DeleteStackInstances
instance Prelude.NFData DeleteStackInstances
instance Core.ToHeaders DeleteStackInstances where
toHeaders :: DeleteStackInstances -> ResponseHeaders
toHeaders = ResponseHeaders -> DeleteStackInstances -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath DeleteStackInstances where
toPath :: DeleteStackInstances -> ByteString
toPath = ByteString -> DeleteStackInstances -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery DeleteStackInstances where
toQuery :: DeleteStackInstances -> QueryString
toQuery DeleteStackInstances' {Bool
[Text]
Maybe [Text]
Maybe Text
Maybe CallAs
Maybe DeploymentTargets
Maybe StackSetOperationPreferences
Text
retainStacks :: Bool
regions :: [Text]
stackSetName :: Text
deploymentTargets :: Maybe DeploymentTargets
operationId :: Maybe Text
operationPreferences :: Maybe StackSetOperationPreferences
callAs :: Maybe CallAs
accounts :: Maybe [Text]
$sel:retainStacks:DeleteStackInstances' :: DeleteStackInstances -> Bool
$sel:regions:DeleteStackInstances' :: DeleteStackInstances -> [Text]
$sel:stackSetName:DeleteStackInstances' :: DeleteStackInstances -> Text
$sel:deploymentTargets:DeleteStackInstances' :: DeleteStackInstances -> Maybe DeploymentTargets
$sel:operationId:DeleteStackInstances' :: DeleteStackInstances -> Maybe Text
$sel:operationPreferences:DeleteStackInstances' :: DeleteStackInstances -> Maybe StackSetOperationPreferences
$sel:callAs:DeleteStackInstances' :: DeleteStackInstances -> Maybe CallAs
$sel:accounts:DeleteStackInstances' :: DeleteStackInstances -> Maybe [Text]
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"DeleteStackInstances" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2010-05-15" :: Prelude.ByteString),
ByteString
"Accounts"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe QueryString -> QueryString
forall a. ToQuery a => a -> QueryString
Core.toQuery
(ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member" ([Text] -> QueryString) -> Maybe [Text] -> Maybe QueryString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
accounts),
ByteString
"CallAs" ByteString -> Maybe CallAs -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe CallAs
callAs,
ByteString
"OperationPreferences" ByteString -> Maybe StackSetOperationPreferences -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe StackSetOperationPreferences
operationPreferences,
ByteString
"OperationId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
operationId,
ByteString
"DeploymentTargets" ByteString -> Maybe DeploymentTargets -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe DeploymentTargets
deploymentTargets,
ByteString
"StackSetName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
stackSetName,
ByteString
"Regions" ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member" [Text]
regions,
ByteString
"RetainStacks" ByteString -> Bool -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Bool
retainStacks
]
data DeleteStackInstancesResponse = DeleteStackInstancesResponse'
{
DeleteStackInstancesResponse -> Maybe Text
operationId :: Prelude.Maybe Prelude.Text,
DeleteStackInstancesResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool
(DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool)
-> (DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool)
-> Eq DeleteStackInstancesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool
$c/= :: DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool
== :: DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool
$c== :: DeleteStackInstancesResponse
-> DeleteStackInstancesResponse -> Bool
Prelude.Eq, ReadPrec [DeleteStackInstancesResponse]
ReadPrec DeleteStackInstancesResponse
Int -> ReadS DeleteStackInstancesResponse
ReadS [DeleteStackInstancesResponse]
(Int -> ReadS DeleteStackInstancesResponse)
-> ReadS [DeleteStackInstancesResponse]
-> ReadPrec DeleteStackInstancesResponse
-> ReadPrec [DeleteStackInstancesResponse]
-> Read DeleteStackInstancesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteStackInstancesResponse]
$creadListPrec :: ReadPrec [DeleteStackInstancesResponse]
readPrec :: ReadPrec DeleteStackInstancesResponse
$creadPrec :: ReadPrec DeleteStackInstancesResponse
readList :: ReadS [DeleteStackInstancesResponse]
$creadList :: ReadS [DeleteStackInstancesResponse]
readsPrec :: Int -> ReadS DeleteStackInstancesResponse
$creadsPrec :: Int -> ReadS DeleteStackInstancesResponse
Prelude.Read, Int -> DeleteStackInstancesResponse -> ShowS
[DeleteStackInstancesResponse] -> ShowS
DeleteStackInstancesResponse -> String
(Int -> DeleteStackInstancesResponse -> ShowS)
-> (DeleteStackInstancesResponse -> String)
-> ([DeleteStackInstancesResponse] -> ShowS)
-> Show DeleteStackInstancesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteStackInstancesResponse] -> ShowS
$cshowList :: [DeleteStackInstancesResponse] -> ShowS
show :: DeleteStackInstancesResponse -> String
$cshow :: DeleteStackInstancesResponse -> String
showsPrec :: Int -> DeleteStackInstancesResponse -> ShowS
$cshowsPrec :: Int -> DeleteStackInstancesResponse -> ShowS
Prelude.Show, (forall x.
DeleteStackInstancesResponse -> Rep DeleteStackInstancesResponse x)
-> (forall x.
Rep DeleteStackInstancesResponse x -> DeleteStackInstancesResponse)
-> Generic DeleteStackInstancesResponse
forall x.
Rep DeleteStackInstancesResponse x -> DeleteStackInstancesResponse
forall x.
DeleteStackInstancesResponse -> Rep DeleteStackInstancesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteStackInstancesResponse x -> DeleteStackInstancesResponse
$cfrom :: forall x.
DeleteStackInstancesResponse -> Rep DeleteStackInstancesResponse x
Prelude.Generic)
newDeleteStackInstancesResponse ::
Prelude.Int ->
DeleteStackInstancesResponse
newDeleteStackInstancesResponse :: Int -> DeleteStackInstancesResponse
newDeleteStackInstancesResponse Int
pHttpStatus_ =
DeleteStackInstancesResponse' :: Maybe Text -> Int -> DeleteStackInstancesResponse
DeleteStackInstancesResponse'
{ $sel:operationId:DeleteStackInstancesResponse' :: Maybe Text
operationId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DeleteStackInstancesResponse' :: Int
httpStatus = Int
pHttpStatus_
}
deleteStackInstancesResponse_operationId :: Lens.Lens' DeleteStackInstancesResponse (Prelude.Maybe Prelude.Text)
deleteStackInstancesResponse_operationId :: (Maybe Text -> f (Maybe Text))
-> DeleteStackInstancesResponse -> f DeleteStackInstancesResponse
deleteStackInstancesResponse_operationId = (DeleteStackInstancesResponse -> Maybe Text)
-> (DeleteStackInstancesResponse
-> Maybe Text -> DeleteStackInstancesResponse)
-> Lens
DeleteStackInstancesResponse
DeleteStackInstancesResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstancesResponse' {Maybe Text
operationId :: Maybe Text
$sel:operationId:DeleteStackInstancesResponse' :: DeleteStackInstancesResponse -> Maybe Text
operationId} -> Maybe Text
operationId) (\s :: DeleteStackInstancesResponse
s@DeleteStackInstancesResponse' {} Maybe Text
a -> DeleteStackInstancesResponse
s {$sel:operationId:DeleteStackInstancesResponse' :: Maybe Text
operationId = Maybe Text
a} :: DeleteStackInstancesResponse)
deleteStackInstancesResponse_httpStatus :: Lens.Lens' DeleteStackInstancesResponse Prelude.Int
deleteStackInstancesResponse_httpStatus :: (Int -> f Int)
-> DeleteStackInstancesResponse -> f DeleteStackInstancesResponse
deleteStackInstancesResponse_httpStatus = (DeleteStackInstancesResponse -> Int)
-> (DeleteStackInstancesResponse
-> Int -> DeleteStackInstancesResponse)
-> Lens
DeleteStackInstancesResponse DeleteStackInstancesResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteStackInstancesResponse' {Int
httpStatus :: Int
$sel:httpStatus:DeleteStackInstancesResponse' :: DeleteStackInstancesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DeleteStackInstancesResponse
s@DeleteStackInstancesResponse' {} Int
a -> DeleteStackInstancesResponse
s {$sel:httpStatus:DeleteStackInstancesResponse' :: Int
httpStatus = Int
a} :: DeleteStackInstancesResponse)
instance Prelude.NFData DeleteStackInstancesResponse