amazonka-cloudformation-1.6.0: Amazon CloudFormation SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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:

  • ecsClientRequestToken - A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that AWS CloudFormation successfully received them.
  • 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 Source #

The input for the ExecuteChangeSet action.

See: executeChangeSet smart constructor.

Instances

Eq ExecuteChangeSet Source # 
Data ExecuteChangeSet Source # 

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 Source # 
Show ExecuteChangeSet Source # 
Generic ExecuteChangeSet Source # 
Hashable ExecuteChangeSet Source # 
NFData ExecuteChangeSet Source # 

Methods

rnf :: ExecuteChangeSet -> () #

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

Request Lenses

ecsClientRequestToken :: Lens' ExecuteChangeSet (Maybe Text) Source #

A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that AWS CloudFormation successfully received them.

ecsStackName :: Lens' ExecuteChangeSet (Maybe Text) Source #

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 Source #

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

Destructuring the Response

executeChangeSetResponse Source #

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 Source #

The output for the ExecuteChangeSet action.

See: executeChangeSetResponse smart constructor.

Instances

Eq ExecuteChangeSetResponse Source # 
Data ExecuteChangeSetResponse Source # 

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 Source # 
Show ExecuteChangeSetResponse Source # 
Generic ExecuteChangeSetResponse Source # 
NFData ExecuteChangeSetResponse Source # 
type Rep ExecuteChangeSetResponse Source # 
type Rep ExecuteChangeSetResponse = D1 * (MetaData "ExecuteChangeSetResponse" "Network.AWS.CloudFormation.ExecuteChangeSet" "amazonka-cloudformation-1.6.0-E2GV66prdF5G8DMBRBifWM" True) (C1 * (MetaCons "ExecuteChangeSetResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ecsrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses