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 |
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.
Instances
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.
Instances
Eq DeleteStackResponse Source # | |
Defined in Amazonka.OpsWorks.DeleteStack (==) :: DeleteStackResponse -> DeleteStackResponse -> Bool # (/=) :: DeleteStackResponse -> DeleteStackResponse -> Bool # | |
Read DeleteStackResponse Source # | |
Defined in Amazonka.OpsWorks.DeleteStack | |
Show DeleteStackResponse Source # | |
Defined in Amazonka.OpsWorks.DeleteStack showsPrec :: Int -> DeleteStackResponse -> ShowS # show :: DeleteStackResponse -> String # showList :: [DeleteStackResponse] -> ShowS # | |
Generic DeleteStackResponse Source # | |
Defined in Amazonka.OpsWorks.DeleteStack type Rep DeleteStackResponse :: Type -> Type # from :: DeleteStackResponse -> Rep DeleteStackResponse x # to :: Rep DeleteStackResponse x -> DeleteStackResponse # | |
NFData DeleteStackResponse Source # | |
Defined in Amazonka.OpsWorks.DeleteStack rnf :: DeleteStackResponse -> () # | |
type Rep DeleteStackResponse Source # | |
newDeleteStackResponse :: DeleteStackResponse Source #
Create a value of DeleteStackResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.