Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- executeChangeSet :: Text -> ExecuteChangeSet
- data ExecuteChangeSet
- ecsClientRequestToken :: Lens' ExecuteChangeSet (Maybe Text)
- ecsStackName :: Lens' ExecuteChangeSet (Maybe Text)
- ecsChangeSetName :: Lens' ExecuteChangeSet Text
- executeChangeSetResponse :: Int -> ExecuteChangeSetResponse
- data ExecuteChangeSetResponse
- ecsrsResponseStatus :: Lens' ExecuteChangeSetResponse Int
Creating a Request
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 thisExecuteChangeSet
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 retryExecuteChangeSet
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
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:
ecsrsResponseStatus
- -- | The response status code.
data ExecuteChangeSetResponse Source #
The output for the ExecuteChangeSet
action.
See: executeChangeSetResponse
smart constructor.
Instances
Response Lenses
ecsrsResponseStatus :: Lens' ExecuteChangeSetResponse Int Source #
- - | The response status code.