Copyright | (c) 2013-2021 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 |
Amazonka.OpsWorks.DeleteStack
Description
Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Synopsis
Creating a Request
data DeleteStack Source #
See: newDeleteStack
smart constructor.
Constructors
DeleteStack' | |
Instances
Arguments
:: Text | |
-> DeleteStack |
Create a value of DeleteStack
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:stackId:DeleteStack'
, deleteStack_stackId
- The stack ID.
Request Lenses
deleteStack_stackId :: Lens' DeleteStack Text Source #
The stack ID.
Destructuring the Response
data DeleteStackResponse Source #
See: newDeleteStackResponse
smart constructor.
Constructors
DeleteStackResponse' | |
Instances
newDeleteStackResponse :: DeleteStackResponse Source #
Create a value of DeleteStackResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.