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