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 |
Requests a description of one or more layers in a specified stack.
You must specify at least one of the parameters.
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.
See: AWS API Reference for DescribeLayers.
- 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:
data DescribeLayers Source
See: describeLayers
smart constructor.
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
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:
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.