amazonka-opsworks-1.3.3.1: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for DescribeLayers.

Synopsis

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:

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

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:

Response Lenses

dlrsLayers :: Lens' DescribeLayersResponse [Layer] Source

An array of Layer objects that describe the layers.