Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.
When you execute a change set, 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, CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.
To create a change set for the entire stack hierarchy,
IncludeNestedStacks
must have been set to True
.
Synopsis
- data ExecuteChangeSet = ExecuteChangeSet' {}
- newExecuteChangeSet :: Text -> ExecuteChangeSet
- executeChangeSet_clientRequestToken :: Lens' ExecuteChangeSet (Maybe Text)
- executeChangeSet_disableRollback :: Lens' ExecuteChangeSet (Maybe Bool)
- executeChangeSet_stackName :: Lens' ExecuteChangeSet (Maybe Text)
- executeChangeSet_changeSetName :: Lens' ExecuteChangeSet Text
- data ExecuteChangeSetResponse = ExecuteChangeSetResponse' {
- httpStatus :: Int
- newExecuteChangeSetResponse :: Int -> ExecuteChangeSetResponse
- executeChangeSetResponse_httpStatus :: Lens' ExecuteChangeSetResponse Int
Creating a Request
data ExecuteChangeSet Source #
The input for the ExecuteChangeSet action.
See: newExecuteChangeSet
smart constructor.
ExecuteChangeSet' | |
|
Instances
Create a value of ExecuteChangeSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ExecuteChangeSet
, executeChangeSet_clientRequestToken
- A unique identifier for this ExecuteChangeSet
request. Specify this
token if you plan to retry requests so that 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 CloudFormation successfully received them.
ExecuteChangeSet
, executeChangeSet_disableRollback
- Preserves the state of previously provisioned resources when an
operation fails.
Default: True
ExecuteChangeSet
, executeChangeSet_stackName
- If you specified the name of a change set, specify the stack name or
Amazon Resource Name (ARN) that's associated with the change set you
want to execute.
ExecuteChangeSet
, executeChangeSet_changeSetName
- The name or Amazon Resource Name (ARN) of the change set that you want
use to update the specified stack.
Request Lenses
executeChangeSet_clientRequestToken :: Lens' ExecuteChangeSet (Maybe Text) Source #
A unique identifier for this ExecuteChangeSet
request. Specify this
token if you plan to retry requests so that 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 CloudFormation successfully received them.
executeChangeSet_disableRollback :: Lens' ExecuteChangeSet (Maybe Bool) Source #
Preserves the state of previously provisioned resources when an operation fails.
Default: True
executeChangeSet_stackName :: Lens' ExecuteChangeSet (Maybe Text) Source #
If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.
executeChangeSet_changeSetName :: Lens' ExecuteChangeSet Text Source #
The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.
Destructuring the Response
data ExecuteChangeSetResponse Source #
The output for the ExecuteChangeSet action.
See: newExecuteChangeSetResponse
smart constructor.
ExecuteChangeSetResponse' | |
|
Instances
newExecuteChangeSetResponse Source #
Create a value of ExecuteChangeSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:ExecuteChangeSetResponse'
, executeChangeSetResponse_httpStatus
- The response's http status code.
Response Lenses
executeChangeSetResponse_httpStatus :: Lens' ExecuteChangeSetResponse Int Source #
The response's http status code.