amazonka-opsworks-0.3.5: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DescribeLayers

Contents

Description

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.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_DescribeLayers.html

Synopsis

Request

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

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.