| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.OpsWorks.DeleteLayer
Description
Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer.
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.
See: AWS API Reference for DeleteLayer.
Creating a Request
Arguments
| :: Text | |
| -> DeleteLayer |
Creates a value of DeleteLayer with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteLayer Source
See: deleteLayer smart constructor.
Request Lenses
dlLayerId :: Lens' DeleteLayer Text Source
The layer ID.
Destructuring the Response
deleteLayerResponse :: DeleteLayerResponse Source
Creates a value of DeleteLayerResponse with the minimum fields required to make a request.
data DeleteLayerResponse Source
See: deleteLayerResponse smart constructor.