amazonka-cloudformation-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Data ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.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 Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Show ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Generic ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Associated Types

type Rep ExecuteChangeSet :: Type -> Type #

Hashable ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

AWSRequest ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Associated Types

type Rs ExecuteChangeSet :: Type #

ToHeaders ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

ToPath ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

ToQuery ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

NFData ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Methods

rnf :: ExecuteChangeSet -> () #

type Rep ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

type Rep ExecuteChangeSet = D1 (MetaData "ExecuteChangeSet" "Network.AWS.CloudFormation.ExecuteChangeSet" "amazonka-cloudformation-1.6.1-9C1vgCDBA4sIHFUFfPs2gm" False) (C1 (MetaCons "ExecuteChangeSet'" PrefixI True) (S1 (MetaSel (Just "_ecsClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ecsStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ecsChangeSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ExecuteChangeSet Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

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 # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Data ExecuteChangeSetResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

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 # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Show ExecuteChangeSetResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Generic ExecuteChangeSetResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

Associated Types

type Rep ExecuteChangeSetResponse :: Type -> Type #

NFData ExecuteChangeSetResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

type Rep ExecuteChangeSetResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ExecuteChangeSet

type Rep ExecuteChangeSetResponse = D1 (MetaData "ExecuteChangeSetResponse" "Network.AWS.CloudFormation.ExecuteChangeSet" "amazonka-cloudformation-1.6.1-9C1vgCDBA4sIHFUFfPs2gm" True) (C1 (MetaCons "ExecuteChangeSetResponse'" PrefixI True) (S1 (MetaSel (Just "_ecsrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses