{-# 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.ServerlessApplicationRepository.CreateCloudFormationChangeSet
(
CreateCloudFormationChangeSet (..),
newCreateCloudFormationChangeSet,
createCloudFormationChangeSet_clientToken,
createCloudFormationChangeSet_templateId,
createCloudFormationChangeSet_semanticVersion,
createCloudFormationChangeSet_notificationArns,
createCloudFormationChangeSet_changeSetName,
createCloudFormationChangeSet_description,
createCloudFormationChangeSet_capabilities,
createCloudFormationChangeSet_parameterOverrides,
createCloudFormationChangeSet_rollbackConfiguration,
createCloudFormationChangeSet_resourceTypes,
createCloudFormationChangeSet_tags,
createCloudFormationChangeSet_applicationId,
createCloudFormationChangeSet_stackName,
CreateCloudFormationChangeSetResponse (..),
newCreateCloudFormationChangeSetResponse,
createCloudFormationChangeSetResponse_semanticVersion,
createCloudFormationChangeSetResponse_changeSetId,
createCloudFormationChangeSetResponse_applicationId,
createCloudFormationChangeSetResponse_stackId,
createCloudFormationChangeSetResponse_httpStatus,
)
where
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
import Amazonka.ServerlessApplicationRepository.Types
data CreateCloudFormationChangeSet = CreateCloudFormationChangeSet'
{
CreateCloudFormationChangeSet -> Maybe Text
clientToken :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSet -> Maybe Text
templateId :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSet -> Maybe Text
semanticVersion :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSet -> Maybe [Text]
notificationArns :: Prelude.Maybe [Prelude.Text],
CreateCloudFormationChangeSet -> Maybe Text
changeSetName :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSet -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSet -> Maybe [Text]
capabilities :: Prelude.Maybe [Prelude.Text],
CreateCloudFormationChangeSet -> Maybe [ParameterValue]
parameterOverrides :: Prelude.Maybe [ParameterValue],
CreateCloudFormationChangeSet -> Maybe RollbackConfiguration
rollbackConfiguration :: Prelude.Maybe RollbackConfiguration,
CreateCloudFormationChangeSet -> Maybe [Text]
resourceTypes :: Prelude.Maybe [Prelude.Text],
CreateCloudFormationChangeSet -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
CreateCloudFormationChangeSet -> Text
applicationId :: Prelude.Text,
CreateCloudFormationChangeSet -> Text
stackName :: Prelude.Text
}
deriving (CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool
(CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool)
-> (CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool)
-> Eq CreateCloudFormationChangeSet
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool
$c/= :: CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool
== :: CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool
$c== :: CreateCloudFormationChangeSet
-> CreateCloudFormationChangeSet -> Bool
Prelude.Eq, ReadPrec [CreateCloudFormationChangeSet]
ReadPrec CreateCloudFormationChangeSet
Int -> ReadS CreateCloudFormationChangeSet
ReadS [CreateCloudFormationChangeSet]
(Int -> ReadS CreateCloudFormationChangeSet)
-> ReadS [CreateCloudFormationChangeSet]
-> ReadPrec CreateCloudFormationChangeSet
-> ReadPrec [CreateCloudFormationChangeSet]
-> Read CreateCloudFormationChangeSet
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateCloudFormationChangeSet]
$creadListPrec :: ReadPrec [CreateCloudFormationChangeSet]
readPrec :: ReadPrec CreateCloudFormationChangeSet
$creadPrec :: ReadPrec CreateCloudFormationChangeSet
readList :: ReadS [CreateCloudFormationChangeSet]
$creadList :: ReadS [CreateCloudFormationChangeSet]
readsPrec :: Int -> ReadS CreateCloudFormationChangeSet
$creadsPrec :: Int -> ReadS CreateCloudFormationChangeSet
Prelude.Read, Int -> CreateCloudFormationChangeSet -> ShowS
[CreateCloudFormationChangeSet] -> ShowS
CreateCloudFormationChangeSet -> String
(Int -> CreateCloudFormationChangeSet -> ShowS)
-> (CreateCloudFormationChangeSet -> String)
-> ([CreateCloudFormationChangeSet] -> ShowS)
-> Show CreateCloudFormationChangeSet
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateCloudFormationChangeSet] -> ShowS
$cshowList :: [CreateCloudFormationChangeSet] -> ShowS
show :: CreateCloudFormationChangeSet -> String
$cshow :: CreateCloudFormationChangeSet -> String
showsPrec :: Int -> CreateCloudFormationChangeSet -> ShowS
$cshowsPrec :: Int -> CreateCloudFormationChangeSet -> ShowS
Prelude.Show, (forall x.
CreateCloudFormationChangeSet
-> Rep CreateCloudFormationChangeSet x)
-> (forall x.
Rep CreateCloudFormationChangeSet x
-> CreateCloudFormationChangeSet)
-> Generic CreateCloudFormationChangeSet
forall x.
Rep CreateCloudFormationChangeSet x
-> CreateCloudFormationChangeSet
forall x.
CreateCloudFormationChangeSet
-> Rep CreateCloudFormationChangeSet x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateCloudFormationChangeSet x
-> CreateCloudFormationChangeSet
$cfrom :: forall x.
CreateCloudFormationChangeSet
-> Rep CreateCloudFormationChangeSet x
Prelude.Generic)
newCreateCloudFormationChangeSet ::
Prelude.Text ->
Prelude.Text ->
CreateCloudFormationChangeSet
newCreateCloudFormationChangeSet :: Text -> Text -> CreateCloudFormationChangeSet
newCreateCloudFormationChangeSet
Text
pApplicationId_
Text
pStackName_ =
CreateCloudFormationChangeSet' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [ParameterValue]
-> Maybe RollbackConfiguration
-> Maybe [Text]
-> Maybe [Tag]
-> Text
-> Text
-> CreateCloudFormationChangeSet
CreateCloudFormationChangeSet'
{ $sel:clientToken:CreateCloudFormationChangeSet' :: Maybe Text
clientToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:templateId:CreateCloudFormationChangeSet' :: Maybe Text
templateId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:semanticVersion:CreateCloudFormationChangeSet' :: Maybe Text
semanticVersion = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:notificationArns:CreateCloudFormationChangeSet' :: Maybe [Text]
notificationArns = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:changeSetName:CreateCloudFormationChangeSet' :: Maybe Text
changeSetName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:description:CreateCloudFormationChangeSet' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:capabilities:CreateCloudFormationChangeSet' :: Maybe [Text]
capabilities = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:parameterOverrides:CreateCloudFormationChangeSet' :: Maybe [ParameterValue]
parameterOverrides = Maybe [ParameterValue]
forall a. Maybe a
Prelude.Nothing,
$sel:rollbackConfiguration:CreateCloudFormationChangeSet' :: Maybe RollbackConfiguration
rollbackConfiguration = Maybe RollbackConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:resourceTypes:CreateCloudFormationChangeSet' :: Maybe [Text]
resourceTypes = Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:tags:CreateCloudFormationChangeSet' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
$sel:applicationId:CreateCloudFormationChangeSet' :: Text
applicationId = Text
pApplicationId_,
$sel:stackName:CreateCloudFormationChangeSet' :: Text
stackName = Text
pStackName_
}
createCloudFormationChangeSet_clientToken :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSet_clientToken :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_clientToken = (CreateCloudFormationChangeSet -> Maybe Text)
-> (CreateCloudFormationChangeSet
-> Maybe Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe Text
clientToken :: Maybe Text
$sel:clientToken:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
clientToken} -> Maybe Text
clientToken) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe Text
a -> CreateCloudFormationChangeSet
s {$sel:clientToken:CreateCloudFormationChangeSet' :: Maybe Text
clientToken = Maybe Text
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_templateId :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSet_templateId :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_templateId = (CreateCloudFormationChangeSet -> Maybe Text)
-> (CreateCloudFormationChangeSet
-> Maybe Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe Text
templateId :: Maybe Text
$sel:templateId:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
templateId} -> Maybe Text
templateId) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe Text
a -> CreateCloudFormationChangeSet
s {$sel:templateId:CreateCloudFormationChangeSet' :: Maybe Text
templateId = Maybe Text
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_semanticVersion :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSet_semanticVersion :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_semanticVersion = (CreateCloudFormationChangeSet -> Maybe Text)
-> (CreateCloudFormationChangeSet
-> Maybe Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe Text
semanticVersion :: Maybe Text
$sel:semanticVersion:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
semanticVersion} -> Maybe Text
semanticVersion) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe Text
a -> CreateCloudFormationChangeSet
s {$sel:semanticVersion:CreateCloudFormationChangeSet' :: Maybe Text
semanticVersion = Maybe Text
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_notificationArns :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe [Prelude.Text])
createCloudFormationChangeSet_notificationArns :: (Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_notificationArns = (CreateCloudFormationChangeSet -> Maybe [Text])
-> (CreateCloudFormationChangeSet
-> Maybe [Text] -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe [Text]
notificationArns :: Maybe [Text]
$sel:notificationArns:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
notificationArns} -> Maybe [Text]
notificationArns) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe [Text]
a -> CreateCloudFormationChangeSet
s {$sel:notificationArns:CreateCloudFormationChangeSet' :: Maybe [Text]
notificationArns = Maybe [Text]
a} :: CreateCloudFormationChangeSet) ((Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet
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
createCloudFormationChangeSet_changeSetName :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSet_changeSetName :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_changeSetName = (CreateCloudFormationChangeSet -> Maybe Text)
-> (CreateCloudFormationChangeSet
-> Maybe Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe Text
changeSetName :: Maybe Text
$sel:changeSetName:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
changeSetName} -> Maybe Text
changeSetName) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe Text
a -> CreateCloudFormationChangeSet
s {$sel:changeSetName:CreateCloudFormationChangeSet' :: Maybe Text
changeSetName = Maybe Text
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_description :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSet_description :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_description = (CreateCloudFormationChangeSet -> Maybe Text)
-> (CreateCloudFormationChangeSet
-> Maybe Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe Text
description :: Maybe Text
$sel:description:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
description} -> Maybe Text
description) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe Text
a -> CreateCloudFormationChangeSet
s {$sel:description:CreateCloudFormationChangeSet' :: Maybe Text
description = Maybe Text
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_capabilities :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe [Prelude.Text])
createCloudFormationChangeSet_capabilities :: (Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_capabilities = (CreateCloudFormationChangeSet -> Maybe [Text])
-> (CreateCloudFormationChangeSet
-> Maybe [Text] -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe [Text]
capabilities :: Maybe [Text]
$sel:capabilities:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
capabilities} -> Maybe [Text]
capabilities) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe [Text]
a -> CreateCloudFormationChangeSet
s {$sel:capabilities:CreateCloudFormationChangeSet' :: Maybe [Text]
capabilities = Maybe [Text]
a} :: CreateCloudFormationChangeSet) ((Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet
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
createCloudFormationChangeSet_parameterOverrides :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe [ParameterValue])
createCloudFormationChangeSet_parameterOverrides :: (Maybe [ParameterValue] -> f (Maybe [ParameterValue]))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_parameterOverrides = (CreateCloudFormationChangeSet -> Maybe [ParameterValue])
-> (CreateCloudFormationChangeSet
-> Maybe [ParameterValue] -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe [ParameterValue])
(Maybe [ParameterValue])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe [ParameterValue]
parameterOverrides :: Maybe [ParameterValue]
$sel:parameterOverrides:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [ParameterValue]
parameterOverrides} -> Maybe [ParameterValue]
parameterOverrides) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe [ParameterValue]
a -> CreateCloudFormationChangeSet
s {$sel:parameterOverrides:CreateCloudFormationChangeSet' :: Maybe [ParameterValue]
parameterOverrides = Maybe [ParameterValue]
a} :: CreateCloudFormationChangeSet) ((Maybe [ParameterValue] -> f (Maybe [ParameterValue]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet)
-> ((Maybe [ParameterValue] -> f (Maybe [ParameterValue]))
-> Maybe [ParameterValue] -> f (Maybe [ParameterValue]))
-> (Maybe [ParameterValue] -> f (Maybe [ParameterValue]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ParameterValue] [ParameterValue] [ParameterValue] [ParameterValue]
-> Iso
(Maybe [ParameterValue])
(Maybe [ParameterValue])
(Maybe [ParameterValue])
(Maybe [ParameterValue])
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
[ParameterValue] [ParameterValue] [ParameterValue] [ParameterValue]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createCloudFormationChangeSet_rollbackConfiguration :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe RollbackConfiguration)
createCloudFormationChangeSet_rollbackConfiguration :: (Maybe RollbackConfiguration -> f (Maybe RollbackConfiguration))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_rollbackConfiguration = (CreateCloudFormationChangeSet -> Maybe RollbackConfiguration)
-> (CreateCloudFormationChangeSet
-> Maybe RollbackConfiguration -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe RollbackConfiguration)
(Maybe RollbackConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe RollbackConfiguration
rollbackConfiguration :: Maybe RollbackConfiguration
$sel:rollbackConfiguration:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe RollbackConfiguration
rollbackConfiguration} -> Maybe RollbackConfiguration
rollbackConfiguration) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe RollbackConfiguration
a -> CreateCloudFormationChangeSet
s {$sel:rollbackConfiguration:CreateCloudFormationChangeSet' :: Maybe RollbackConfiguration
rollbackConfiguration = Maybe RollbackConfiguration
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_resourceTypes :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe [Prelude.Text])
createCloudFormationChangeSet_resourceTypes :: (Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_resourceTypes = (CreateCloudFormationChangeSet -> Maybe [Text])
-> (CreateCloudFormationChangeSet
-> Maybe [Text] -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe [Text]
resourceTypes :: Maybe [Text]
$sel:resourceTypes:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
resourceTypes} -> Maybe [Text]
resourceTypes) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe [Text]
a -> CreateCloudFormationChangeSet
s {$sel:resourceTypes:CreateCloudFormationChangeSet' :: Maybe [Text]
resourceTypes = Maybe [Text]
a} :: CreateCloudFormationChangeSet) ((Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet
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
createCloudFormationChangeSet_tags :: Lens.Lens' CreateCloudFormationChangeSet (Prelude.Maybe [Tag])
createCloudFormationChangeSet_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_tags = (CreateCloudFormationChangeSet -> Maybe [Tag])
-> (CreateCloudFormationChangeSet
-> Maybe [Tag] -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
(Maybe [Tag])
(Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Maybe [Tag]
a -> CreateCloudFormationChangeSet
s {$sel:tags:CreateCloudFormationChangeSet' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: CreateCloudFormationChangeSet) ((Maybe [Tag] -> f (Maybe [Tag]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateCloudFormationChangeSet
-> f CreateCloudFormationChangeSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createCloudFormationChangeSet_applicationId :: Lens.Lens' CreateCloudFormationChangeSet Prelude.Text
createCloudFormationChangeSet_applicationId :: (Text -> f Text)
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_applicationId = (CreateCloudFormationChangeSet -> Text)
-> (CreateCloudFormationChangeSet
-> Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Text
applicationId :: Text
$sel:applicationId:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Text
applicationId} -> Text
applicationId) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Text
a -> CreateCloudFormationChangeSet
s {$sel:applicationId:CreateCloudFormationChangeSet' :: Text
applicationId = Text
a} :: CreateCloudFormationChangeSet)
createCloudFormationChangeSet_stackName :: Lens.Lens' CreateCloudFormationChangeSet Prelude.Text
createCloudFormationChangeSet_stackName :: (Text -> f Text)
-> CreateCloudFormationChangeSet -> f CreateCloudFormationChangeSet
createCloudFormationChangeSet_stackName = (CreateCloudFormationChangeSet -> Text)
-> (CreateCloudFormationChangeSet
-> Text -> CreateCloudFormationChangeSet)
-> Lens
CreateCloudFormationChangeSet
CreateCloudFormationChangeSet
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSet' {Text
stackName :: Text
$sel:stackName:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Text
stackName} -> Text
stackName) (\s :: CreateCloudFormationChangeSet
s@CreateCloudFormationChangeSet' {} Text
a -> CreateCloudFormationChangeSet
s {$sel:stackName:CreateCloudFormationChangeSet' :: Text
stackName = Text
a} :: CreateCloudFormationChangeSet)
instance
Core.AWSRequest
CreateCloudFormationChangeSet
where
type
AWSResponse CreateCloudFormationChangeSet =
CreateCloudFormationChangeSetResponse
request :: CreateCloudFormationChangeSet
-> Request CreateCloudFormationChangeSet
request = Service
-> CreateCloudFormationChangeSet
-> Request CreateCloudFormationChangeSet
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateCloudFormationChangeSet
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateCloudFormationChangeSet)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateCloudFormationChangeSet))
-> Logger
-> Service
-> Proxy CreateCloudFormationChangeSet
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateCloudFormationChangeSet)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> CreateCloudFormationChangeSetResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> CreateCloudFormationChangeSetResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"semanticVersion")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> CreateCloudFormationChangeSetResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text -> Int -> CreateCloudFormationChangeSetResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"changeSetId")
Either
String
(Maybe Text
-> Maybe Text -> Int -> CreateCloudFormationChangeSetResponse)
-> Either String (Maybe Text)
-> Either
String (Maybe Text -> Int -> CreateCloudFormationChangeSetResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"applicationId")
Either
String (Maybe Text -> Int -> CreateCloudFormationChangeSetResponse)
-> Either String (Maybe Text)
-> Either String (Int -> CreateCloudFormationChangeSetResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"stackId")
Either String (Int -> CreateCloudFormationChangeSetResponse)
-> Either String Int
-> Either String CreateCloudFormationChangeSetResponse
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
CreateCloudFormationChangeSet
instance Prelude.NFData CreateCloudFormationChangeSet
instance Core.ToHeaders CreateCloudFormationChangeSet where
toHeaders :: CreateCloudFormationChangeSet -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateCloudFormationChangeSet -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON CreateCloudFormationChangeSet where
toJSON :: CreateCloudFormationChangeSet -> Value
toJSON CreateCloudFormationChangeSet' {Maybe [Text]
Maybe [ParameterValue]
Maybe [Tag]
Maybe Text
Maybe RollbackConfiguration
Text
stackName :: Text
applicationId :: Text
tags :: Maybe [Tag]
resourceTypes :: Maybe [Text]
rollbackConfiguration :: Maybe RollbackConfiguration
parameterOverrides :: Maybe [ParameterValue]
capabilities :: Maybe [Text]
description :: Maybe Text
changeSetName :: Maybe Text
notificationArns :: Maybe [Text]
semanticVersion :: Maybe Text
templateId :: Maybe Text
clientToken :: Maybe Text
$sel:stackName:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Text
$sel:applicationId:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Text
$sel:tags:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Tag]
$sel:resourceTypes:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
$sel:rollbackConfiguration:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe RollbackConfiguration
$sel:parameterOverrides:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [ParameterValue]
$sel:capabilities:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
$sel:description:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:changeSetName:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:notificationArns:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
$sel:semanticVersion:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:templateId:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:clientToken:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"clientToken" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
clientToken,
(Text
"templateId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
templateId,
(Text
"semanticVersion" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
semanticVersion,
(Text
"notificationArns" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
notificationArns,
(Text
"changeSetName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
changeSetName,
(Text
"description" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
description,
(Text
"capabilities" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
capabilities,
(Text
"parameterOverrides" Text -> [ParameterValue] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
([ParameterValue] -> Pair) -> Maybe [ParameterValue] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ParameterValue]
parameterOverrides,
(Text
"rollbackConfiguration" Text -> RollbackConfiguration -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(RollbackConfiguration -> Pair)
-> Maybe RollbackConfiguration -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RollbackConfiguration
rollbackConfiguration,
(Text
"resourceTypes" Text -> [Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Text] -> Pair) -> Maybe [Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
resourceTypes,
(Text
"tags" Text -> [Tag] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Tag] -> Pair) -> Maybe [Tag] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"stackName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
stackName)
]
)
instance Core.ToPath CreateCloudFormationChangeSet where
toPath :: CreateCloudFormationChangeSet -> ByteString
toPath CreateCloudFormationChangeSet' {Maybe [Text]
Maybe [ParameterValue]
Maybe [Tag]
Maybe Text
Maybe RollbackConfiguration
Text
stackName :: Text
applicationId :: Text
tags :: Maybe [Tag]
resourceTypes :: Maybe [Text]
rollbackConfiguration :: Maybe RollbackConfiguration
parameterOverrides :: Maybe [ParameterValue]
capabilities :: Maybe [Text]
description :: Maybe Text
changeSetName :: Maybe Text
notificationArns :: Maybe [Text]
semanticVersion :: Maybe Text
templateId :: Maybe Text
clientToken :: Maybe Text
$sel:stackName:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Text
$sel:applicationId:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Text
$sel:tags:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Tag]
$sel:resourceTypes:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
$sel:rollbackConfiguration:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe RollbackConfiguration
$sel:parameterOverrides:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [ParameterValue]
$sel:capabilities:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
$sel:description:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:changeSetName:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:notificationArns:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe [Text]
$sel:semanticVersion:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:templateId:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
$sel:clientToken:CreateCloudFormationChangeSet' :: CreateCloudFormationChangeSet -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/applications/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
applicationId,
ByteString
"/changesets"
]
instance Core.ToQuery CreateCloudFormationChangeSet where
toQuery :: CreateCloudFormationChangeSet -> QueryString
toQuery = QueryString -> CreateCloudFormationChangeSet -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateCloudFormationChangeSetResponse = CreateCloudFormationChangeSetResponse'
{
CreateCloudFormationChangeSetResponse -> Maybe Text
semanticVersion :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSetResponse -> Maybe Text
changeSetId :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSetResponse -> Maybe Text
applicationId :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSetResponse -> Maybe Text
stackId :: Prelude.Maybe Prelude.Text,
CreateCloudFormationChangeSetResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool
(CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool)
-> (CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool)
-> Eq CreateCloudFormationChangeSetResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool
$c/= :: CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool
== :: CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool
$c== :: CreateCloudFormationChangeSetResponse
-> CreateCloudFormationChangeSetResponse -> Bool
Prelude.Eq, ReadPrec [CreateCloudFormationChangeSetResponse]
ReadPrec CreateCloudFormationChangeSetResponse
Int -> ReadS CreateCloudFormationChangeSetResponse
ReadS [CreateCloudFormationChangeSetResponse]
(Int -> ReadS CreateCloudFormationChangeSetResponse)
-> ReadS [CreateCloudFormationChangeSetResponse]
-> ReadPrec CreateCloudFormationChangeSetResponse
-> ReadPrec [CreateCloudFormationChangeSetResponse]
-> Read CreateCloudFormationChangeSetResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateCloudFormationChangeSetResponse]
$creadListPrec :: ReadPrec [CreateCloudFormationChangeSetResponse]
readPrec :: ReadPrec CreateCloudFormationChangeSetResponse
$creadPrec :: ReadPrec CreateCloudFormationChangeSetResponse
readList :: ReadS [CreateCloudFormationChangeSetResponse]
$creadList :: ReadS [CreateCloudFormationChangeSetResponse]
readsPrec :: Int -> ReadS CreateCloudFormationChangeSetResponse
$creadsPrec :: Int -> ReadS CreateCloudFormationChangeSetResponse
Prelude.Read, Int -> CreateCloudFormationChangeSetResponse -> ShowS
[CreateCloudFormationChangeSetResponse] -> ShowS
CreateCloudFormationChangeSetResponse -> String
(Int -> CreateCloudFormationChangeSetResponse -> ShowS)
-> (CreateCloudFormationChangeSetResponse -> String)
-> ([CreateCloudFormationChangeSetResponse] -> ShowS)
-> Show CreateCloudFormationChangeSetResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateCloudFormationChangeSetResponse] -> ShowS
$cshowList :: [CreateCloudFormationChangeSetResponse] -> ShowS
show :: CreateCloudFormationChangeSetResponse -> String
$cshow :: CreateCloudFormationChangeSetResponse -> String
showsPrec :: Int -> CreateCloudFormationChangeSetResponse -> ShowS
$cshowsPrec :: Int -> CreateCloudFormationChangeSetResponse -> ShowS
Prelude.Show, (forall x.
CreateCloudFormationChangeSetResponse
-> Rep CreateCloudFormationChangeSetResponse x)
-> (forall x.
Rep CreateCloudFormationChangeSetResponse x
-> CreateCloudFormationChangeSetResponse)
-> Generic CreateCloudFormationChangeSetResponse
forall x.
Rep CreateCloudFormationChangeSetResponse x
-> CreateCloudFormationChangeSetResponse
forall x.
CreateCloudFormationChangeSetResponse
-> Rep CreateCloudFormationChangeSetResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateCloudFormationChangeSetResponse x
-> CreateCloudFormationChangeSetResponse
$cfrom :: forall x.
CreateCloudFormationChangeSetResponse
-> Rep CreateCloudFormationChangeSetResponse x
Prelude.Generic)
newCreateCloudFormationChangeSetResponse ::
Prelude.Int ->
CreateCloudFormationChangeSetResponse
newCreateCloudFormationChangeSetResponse :: Int -> CreateCloudFormationChangeSetResponse
newCreateCloudFormationChangeSetResponse Int
pHttpStatus_ =
CreateCloudFormationChangeSetResponse' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Int
-> CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse'
{ $sel:semanticVersion:CreateCloudFormationChangeSetResponse' :: Maybe Text
semanticVersion =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:changeSetId:CreateCloudFormationChangeSetResponse' :: Maybe Text
changeSetId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:applicationId:CreateCloudFormationChangeSetResponse' :: Maybe Text
applicationId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:stackId:CreateCloudFormationChangeSetResponse' :: Maybe Text
stackId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateCloudFormationChangeSetResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createCloudFormationChangeSetResponse_semanticVersion :: Lens.Lens' CreateCloudFormationChangeSetResponse (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSetResponse_semanticVersion :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSetResponse
-> f CreateCloudFormationChangeSetResponse
createCloudFormationChangeSetResponse_semanticVersion = (CreateCloudFormationChangeSetResponse -> Maybe Text)
-> (CreateCloudFormationChangeSetResponse
-> Maybe Text -> CreateCloudFormationChangeSetResponse)
-> Lens
CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSetResponse' {Maybe Text
semanticVersion :: Maybe Text
$sel:semanticVersion:CreateCloudFormationChangeSetResponse' :: CreateCloudFormationChangeSetResponse -> Maybe Text
semanticVersion} -> Maybe Text
semanticVersion) (\s :: CreateCloudFormationChangeSetResponse
s@CreateCloudFormationChangeSetResponse' {} Maybe Text
a -> CreateCloudFormationChangeSetResponse
s {$sel:semanticVersion:CreateCloudFormationChangeSetResponse' :: Maybe Text
semanticVersion = Maybe Text
a} :: CreateCloudFormationChangeSetResponse)
createCloudFormationChangeSetResponse_changeSetId :: Lens.Lens' CreateCloudFormationChangeSetResponse (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSetResponse_changeSetId :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSetResponse
-> f CreateCloudFormationChangeSetResponse
createCloudFormationChangeSetResponse_changeSetId = (CreateCloudFormationChangeSetResponse -> Maybe Text)
-> (CreateCloudFormationChangeSetResponse
-> Maybe Text -> CreateCloudFormationChangeSetResponse)
-> Lens
CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSetResponse' {Maybe Text
changeSetId :: Maybe Text
$sel:changeSetId:CreateCloudFormationChangeSetResponse' :: CreateCloudFormationChangeSetResponse -> Maybe Text
changeSetId} -> Maybe Text
changeSetId) (\s :: CreateCloudFormationChangeSetResponse
s@CreateCloudFormationChangeSetResponse' {} Maybe Text
a -> CreateCloudFormationChangeSetResponse
s {$sel:changeSetId:CreateCloudFormationChangeSetResponse' :: Maybe Text
changeSetId = Maybe Text
a} :: CreateCloudFormationChangeSetResponse)
createCloudFormationChangeSetResponse_applicationId :: Lens.Lens' CreateCloudFormationChangeSetResponse (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSetResponse_applicationId :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSetResponse
-> f CreateCloudFormationChangeSetResponse
createCloudFormationChangeSetResponse_applicationId = (CreateCloudFormationChangeSetResponse -> Maybe Text)
-> (CreateCloudFormationChangeSetResponse
-> Maybe Text -> CreateCloudFormationChangeSetResponse)
-> Lens
CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSetResponse' {Maybe Text
applicationId :: Maybe Text
$sel:applicationId:CreateCloudFormationChangeSetResponse' :: CreateCloudFormationChangeSetResponse -> Maybe Text
applicationId} -> Maybe Text
applicationId) (\s :: CreateCloudFormationChangeSetResponse
s@CreateCloudFormationChangeSetResponse' {} Maybe Text
a -> CreateCloudFormationChangeSetResponse
s {$sel:applicationId:CreateCloudFormationChangeSetResponse' :: Maybe Text
applicationId = Maybe Text
a} :: CreateCloudFormationChangeSetResponse)
createCloudFormationChangeSetResponse_stackId :: Lens.Lens' CreateCloudFormationChangeSetResponse (Prelude.Maybe Prelude.Text)
createCloudFormationChangeSetResponse_stackId :: (Maybe Text -> f (Maybe Text))
-> CreateCloudFormationChangeSetResponse
-> f CreateCloudFormationChangeSetResponse
createCloudFormationChangeSetResponse_stackId = (CreateCloudFormationChangeSetResponse -> Maybe Text)
-> (CreateCloudFormationChangeSetResponse
-> Maybe Text -> CreateCloudFormationChangeSetResponse)
-> Lens
CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSetResponse' {Maybe Text
stackId :: Maybe Text
$sel:stackId:CreateCloudFormationChangeSetResponse' :: CreateCloudFormationChangeSetResponse -> Maybe Text
stackId} -> Maybe Text
stackId) (\s :: CreateCloudFormationChangeSetResponse
s@CreateCloudFormationChangeSetResponse' {} Maybe Text
a -> CreateCloudFormationChangeSetResponse
s {$sel:stackId:CreateCloudFormationChangeSetResponse' :: Maybe Text
stackId = Maybe Text
a} :: CreateCloudFormationChangeSetResponse)
createCloudFormationChangeSetResponse_httpStatus :: Lens.Lens' CreateCloudFormationChangeSetResponse Prelude.Int
createCloudFormationChangeSetResponse_httpStatus :: (Int -> f Int)
-> CreateCloudFormationChangeSetResponse
-> f CreateCloudFormationChangeSetResponse
createCloudFormationChangeSetResponse_httpStatus = (CreateCloudFormationChangeSetResponse -> Int)
-> (CreateCloudFormationChangeSetResponse
-> Int -> CreateCloudFormationChangeSetResponse)
-> Lens
CreateCloudFormationChangeSetResponse
CreateCloudFormationChangeSetResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateCloudFormationChangeSetResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateCloudFormationChangeSetResponse' :: CreateCloudFormationChangeSetResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateCloudFormationChangeSetResponse
s@CreateCloudFormationChangeSetResponse' {} Int
a -> CreateCloudFormationChangeSetResponse
s {$sel:httpStatus:CreateCloudFormationChangeSetResponse' :: Int
httpStatus = Int
a} :: CreateCloudFormationChangeSetResponse)
instance
Prelude.NFData
CreateCloudFormationChangeSetResponse