amazonka-opsworks-1.3.1: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DeleteLayer

Contents

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.

Synopsis

Creating a Request

deleteLayer Source

Arguments

:: Text

dlLayerId

-> 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:

Request Lenses

Destructuring the Response

deleteLayerResponse :: DeleteLayerResponse Source

Creates a value of DeleteLayerResponse with the minimum fields required to make a request.