amazonka-opsworks-1.4.3: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 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.

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:

data DescribeLayers Source #

See: describeLayers smart constructor.

Instances

Eq DescribeLayers Source # 
Data DescribeLayers Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeLayers -> c DescribeLayers #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeLayers #

toConstr :: DescribeLayers -> Constr #

dataTypeOf :: DescribeLayers -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeLayers) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeLayers) #

gmapT :: (forall b. Data b => b -> b) -> DescribeLayers -> DescribeLayers #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLayers -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLayers -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeLayers -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeLayers -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeLayers -> m DescribeLayers #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLayers -> m DescribeLayers #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLayers -> m DescribeLayers #

Read DescribeLayers Source # 
Show DescribeLayers Source # 
Generic DescribeLayers Source # 

Associated Types

type Rep DescribeLayers :: * -> * #

Hashable DescribeLayers Source # 
ToJSON DescribeLayers Source # 
NFData DescribeLayers Source # 

Methods

rnf :: DescribeLayers -> () #

AWSRequest DescribeLayers Source # 
ToQuery DescribeLayers Source # 
ToPath DescribeLayers Source # 
ToHeaders DescribeLayers Source # 
type Rep DescribeLayers Source # 
type Rep DescribeLayers = D1 (MetaData "DescribeLayers" "Network.AWS.OpsWorks.DescribeLayers" "amazonka-opsworks-1.4.3-BeJH4daCH1TAzAUbiglv2L" False) (C1 (MetaCons "DescribeLayers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dlLayerIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dlStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeLayers Source # 

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:

data DescribeLayersResponse Source #

Contains the response to a DescribeLayers request.

See: describeLayersResponse smart constructor.

Instances

Eq DescribeLayersResponse Source # 
Data DescribeLayersResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeLayersResponse -> c DescribeLayersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeLayersResponse #

toConstr :: DescribeLayersResponse -> Constr #

dataTypeOf :: DescribeLayersResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeLayersResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeLayersResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeLayersResponse -> DescribeLayersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLayersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeLayersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeLayersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeLayersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeLayersResponse -> m DescribeLayersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLayersResponse -> m DescribeLayersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeLayersResponse -> m DescribeLayersResponse #

Read DescribeLayersResponse Source # 
Show DescribeLayersResponse Source # 
Generic DescribeLayersResponse Source # 
NFData DescribeLayersResponse Source # 

Methods

rnf :: DescribeLayersResponse -> () #

type Rep DescribeLayersResponse Source # 
type Rep DescribeLayersResponse = D1 (MetaData "DescribeLayersResponse" "Network.AWS.OpsWorks.DescribeLayers" "amazonka-opsworks-1.4.3-BeJH4daCH1TAzAUbiglv2L" False) (C1 (MetaCons "DescribeLayersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dlrsLayers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Layer]))) (S1 (MetaSel (Just Symbol "_dlrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dlrsLayers :: Lens' DescribeLayersResponse [Layer] Source #

An array of Layer objects that describe the layers.