| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.OpsWorks.DescribeLayers
Description
Requests a description of one or more layers in a specified stack.
Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
- describeLayers :: DescribeLayers
- data DescribeLayers
- dlLayerIds :: Lens' DescribeLayers [Text]
- dlStackId :: Lens' DescribeLayers (Maybe Text)
- describeLayersResponse :: Int -> DescribeLayersResponse
- data DescribeLayersResponse
- dlrsLayers :: Lens' DescribeLayersResponse [Layer]
- dlrsResponseStatus :: Lens' DescribeLayersResponse Int
Creating a Request
describeLayers :: DescribeLayers Source #
Creates a value of DescribeLayers with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlLayerIds- An array of layer IDs that specify the layers to be described. If you omit this parameter,DescribeLayersreturns a description of every layer in the specified stack.dlStackId- The stack ID.
data DescribeLayers Source #
See: describeLayers smart constructor.
Instances
Request Lenses
dlLayerIds :: Lens' DescribeLayers [Text] Source #
An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack.
Destructuring the Response
describeLayersResponse Source #
Arguments
| :: Int | |
| -> DescribeLayersResponse |
Creates a value of DescribeLayersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlrsLayers- An array ofLayerobjects that describe the layers.dlrsResponseStatus- -- | The response status code.
data DescribeLayersResponse Source #
Contains the response to a DescribeLayers request.
See: describeLayersResponse smart constructor.
Response Lenses
dlrsLayers :: Lens' DescribeLayersResponse [Layer] Source #
An array of Layer objects that describe the layers.
dlrsResponseStatus :: Lens' DescribeLayersResponse Int Source #
- - | The response status code.