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 |
Requests a description of one or more layers in a specified stack.
This call accepts only one resource-identifying parameter.
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 about user permissions, see Managing User Permissions.
Synopsis
- data DescribeLayers = DescribeLayers' {}
- newDescribeLayers :: DescribeLayers
- describeLayers_layerIds :: Lens' DescribeLayers (Maybe [Text])
- describeLayers_stackId :: Lens' DescribeLayers (Maybe Text)
- data DescribeLayersResponse = DescribeLayersResponse' {
- layers :: Maybe [Layer]
- httpStatus :: Int
- newDescribeLayersResponse :: Int -> DescribeLayersResponse
- describeLayersResponse_layers :: Lens' DescribeLayersResponse (Maybe [Layer])
- describeLayersResponse_httpStatus :: Lens' DescribeLayersResponse Int
Creating a Request
data DescribeLayers Source #
See: newDescribeLayers
smart constructor.
Instances
newDescribeLayers :: DescribeLayers Source #
Create a value of DescribeLayers
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:layerIds:DescribeLayers'
, describeLayers_layerIds
- 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.
$sel:stackId:DescribeLayers'
, describeLayers_stackId
- The stack ID.
Request Lenses
describeLayers_layerIds :: Lens' DescribeLayers (Maybe [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.
describeLayers_stackId :: Lens' DescribeLayers (Maybe Text) Source #
The stack ID.
Destructuring the Response
data DescribeLayersResponse Source #
Contains the response to a DescribeLayers
request.
See: newDescribeLayersResponse
smart constructor.
DescribeLayersResponse' | |
|
Instances
newDescribeLayersResponse Source #
Create a value of DescribeLayersResponse
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:layers:DescribeLayersResponse'
, describeLayersResponse_layers
- An array of Layer
objects that describe the layers.
$sel:httpStatus:DescribeLayersResponse'
, describeLayersResponse_httpStatus
- The response's http status code.
Response Lenses
describeLayersResponse_layers :: Lens' DescribeLayersResponse (Maybe [Layer]) Source #
An array of Layer
objects that describe the layers.
describeLayersResponse_httpStatus :: Lens' DescribeLayersResponse Int Source #
The response's http status code.