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 |
Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.
You can cancel only stacks that are in the UPDATE_IN_PROGRESS
state.
Synopsis
- data CancelUpdateStack = CancelUpdateStack' {}
- newCancelUpdateStack :: Text -> CancelUpdateStack
- cancelUpdateStack_clientRequestToken :: Lens' CancelUpdateStack (Maybe Text)
- cancelUpdateStack_stackName :: Lens' CancelUpdateStack Text
- data CancelUpdateStackResponse = CancelUpdateStackResponse' {
- newCancelUpdateStackResponse :: CancelUpdateStackResponse
Creating a Request
data CancelUpdateStack Source #
The input for the CancelUpdateStack action.
See: newCancelUpdateStack
smart constructor.
CancelUpdateStack' | |
|
Instances
Create a value of CancelUpdateStack
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:
CancelUpdateStack
, cancelUpdateStack_clientRequestToken
- A unique identifier for this CancelUpdateStack
request. Specify this
token if you plan to retry requests so that CloudFormation knows that
you're not attempting to cancel an update on a stack with the same
name. You might retry CancelUpdateStack
requests to ensure that
CloudFormation successfully received them.
CancelUpdateStack
, cancelUpdateStack_stackName
- The name or the unique stack ID that's associated with the stack.
Request Lenses
cancelUpdateStack_clientRequestToken :: Lens' CancelUpdateStack (Maybe Text) Source #
A unique identifier for this CancelUpdateStack
request. Specify this
token if you plan to retry requests so that CloudFormation knows that
you're not attempting to cancel an update on a stack with the same
name. You might retry CancelUpdateStack
requests to ensure that
CloudFormation successfully received them.
cancelUpdateStack_stackName :: Lens' CancelUpdateStack Text Source #
The name or the unique stack ID that's associated with the stack.
Destructuring the Response
data CancelUpdateStackResponse Source #
See: newCancelUpdateStackResponse
smart constructor.
Instances
newCancelUpdateStackResponse :: CancelUpdateStackResponse Source #
Create a value of CancelUpdateStackResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.