amazonka-opsworks-0.1.1: Amazon OpsWorks SDK.

Safe HaskellNone




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.



Request constructor

describeLayers :: DescribeLayers Source

DescribeLayers constructor.

The fields accessible through corresponding lenses are:

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.


Response constructor

describeLayersResponse :: DescribeLayersResponse Source

DescribeLayersResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

dlrLayers :: Lens' DescribeLayersResponse [Layer] Source

An array of Layer objects that describe the layers.