amazonka-cloudformation-1.4.5: Amazon CloudFormation SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudFormation.ExecuteChangeSet

Contents

Description

Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.

When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack.

If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.

Synopsis

Creating a Request

executeChangeSet #

Creates a value of ExecuteChangeSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ecsStackName - If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute.
  • ecsChangeSetName - The name or ARN of the change set that you want use to update the specified stack.

data ExecuteChangeSet #

The input for the ExecuteChangeSet action.

See: executeChangeSet smart constructor.

Instances

Eq ExecuteChangeSet # 
Data ExecuteChangeSet # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExecuteChangeSet -> c ExecuteChangeSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExecuteChangeSet #

toConstr :: ExecuteChangeSet -> Constr #

dataTypeOf :: ExecuteChangeSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExecuteChangeSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExecuteChangeSet) #

gmapT :: (forall b. Data b => b -> b) -> ExecuteChangeSet -> ExecuteChangeSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExecuteChangeSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExecuteChangeSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExecuteChangeSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExecuteChangeSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExecuteChangeSet -> m ExecuteChangeSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExecuteChangeSet -> m ExecuteChangeSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExecuteChangeSet -> m ExecuteChangeSet #

Read ExecuteChangeSet # 
Show ExecuteChangeSet # 
Generic ExecuteChangeSet # 
Hashable ExecuteChangeSet # 
NFData ExecuteChangeSet # 

Methods

rnf :: ExecuteChangeSet -> () #

AWSRequest ExecuteChangeSet # 
ToQuery ExecuteChangeSet # 
ToPath ExecuteChangeSet # 
ToHeaders ExecuteChangeSet # 
type Rep ExecuteChangeSet # 
type Rep ExecuteChangeSet = D1 (MetaData "ExecuteChangeSet" "Network.AWS.CloudFormation.ExecuteChangeSet" "amazonka-cloudformation-1.4.5-GkPqDOYcHIlLStUFA5eeUs" False) (C1 (MetaCons "ExecuteChangeSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ecsStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ecsChangeSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ExecuteChangeSet # 

Request Lenses

ecsStackName :: Lens' ExecuteChangeSet (Maybe Text) #

If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute.

ecsChangeSetName :: Lens' ExecuteChangeSet Text #

The name or ARN of the change set that you want use to update the specified stack.

Destructuring the Response

executeChangeSetResponse #

Creates a value of ExecuteChangeSetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ExecuteChangeSetResponse #

The output for the ExecuteChangeSet action.

See: executeChangeSetResponse smart constructor.

Instances

Eq ExecuteChangeSetResponse # 
Data ExecuteChangeSetResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExecuteChangeSetResponse -> c ExecuteChangeSetResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExecuteChangeSetResponse #

toConstr :: ExecuteChangeSetResponse -> Constr #

dataTypeOf :: ExecuteChangeSetResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExecuteChangeSetResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExecuteChangeSetResponse) #

gmapT :: (forall b. Data b => b -> b) -> ExecuteChangeSetResponse -> ExecuteChangeSetResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExecuteChangeSetResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExecuteChangeSetResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExecuteChangeSetResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExecuteChangeSetResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExecuteChangeSetResponse -> m ExecuteChangeSetResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExecuteChangeSetResponse -> m ExecuteChangeSetResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExecuteChangeSetResponse -> m ExecuteChangeSetResponse #

Read ExecuteChangeSetResponse # 
Show ExecuteChangeSetResponse # 
Generic ExecuteChangeSetResponse # 
NFData ExecuteChangeSetResponse # 
type Rep ExecuteChangeSetResponse # 
type Rep ExecuteChangeSetResponse = D1 (MetaData "ExecuteChangeSetResponse" "Network.AWS.CloudFormation.ExecuteChangeSet" "amazonka-cloudformation-1.4.5-GkPqDOYcHIlLStUFA5eeUs" True) (C1 (MetaCons "ExecuteChangeSetResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_ecsrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

ecsrsResponseStatus :: Lens' ExecuteChangeSetResponse Int #

  • - | The response status code.