| 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 |
Amazonka.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.
Synopsis
Creating a Request
data DeleteLayer Source #
See: newDeleteLayer smart constructor.
Constructors
| DeleteLayer' | |
Instances
Arguments
| :: Text | |
| -> DeleteLayer |
Create a value of DeleteLayer 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:
DeleteLayer, deleteLayer_layerId - The layer ID.
Request Lenses
deleteLayer_layerId :: Lens' DeleteLayer Text Source #
The layer ID.
Destructuring the Response
data DeleteLayerResponse Source #
See: newDeleteLayerResponse smart constructor.
Constructors
| DeleteLayerResponse' | |
Instances
newDeleteLayerResponse :: DeleteLayerResponse Source #
Create a value of DeleteLayerResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.