amazonka-opsworks-1.4.1: 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.DescribeStacks

Contents

Description

Requests a description of one or more stacks.

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

describeStacks :: DescribeStacks Source #

Creates a value of DescribeStacks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeStacks Source #

See: describeStacks smart constructor.

Instances

Eq DescribeStacks Source # 
Data DescribeStacks Source # 

Methods

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

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

toConstr :: DescribeStacks -> Constr #

dataTypeOf :: DescribeStacks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeStacks Source # 
Show DescribeStacks Source # 
Generic DescribeStacks Source # 

Associated Types

type Rep DescribeStacks :: * -> * #

Hashable DescribeStacks Source # 
ToJSON DescribeStacks Source # 
NFData DescribeStacks Source # 

Methods

rnf :: DescribeStacks -> () #

AWSRequest DescribeStacks Source # 
ToQuery DescribeStacks Source # 
ToPath DescribeStacks Source # 
ToHeaders DescribeStacks Source # 
type Rep DescribeStacks Source # 
type Rep DescribeStacks = D1 (MetaData "DescribeStacks" "Network.AWS.OpsWorks.DescribeStacks" "amazonka-opsworks-1.4.1-6ic3q3aiZgSC49XaBqQsUD" True) (C1 (MetaCons "DescribeStacks'" PrefixI True) (S1 (MetaSel (Just Symbol "_dsStackIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))
type Rs DescribeStacks Source # 

Request Lenses

dsStackIds :: Lens' DescribeStacks [Text] Source #

An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

Destructuring the Response

describeStacksResponse Source #

Creates a value of DescribeStacksResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeStacksResponse Source #

Contains the response to a DescribeStacks request.

See: describeStacksResponse smart constructor.

Instances

Eq DescribeStacksResponse Source # 
Data DescribeStacksResponse Source # 

Methods

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

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

toConstr :: DescribeStacksResponse -> Constr #

dataTypeOf :: DescribeStacksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeStacksResponse Source # 
Show DescribeStacksResponse Source # 
Generic DescribeStacksResponse Source # 
NFData DescribeStacksResponse Source # 

Methods

rnf :: DescribeStacksResponse -> () #

type Rep DescribeStacksResponse Source # 
type Rep DescribeStacksResponse = D1 (MetaData "DescribeStacksResponse" "Network.AWS.OpsWorks.DescribeStacks" "amazonka-opsworks-1.4.1-6ic3q3aiZgSC49XaBqQsUD" False) (C1 (MetaCons "DescribeStacksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsStacks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Stack]))) (S1 (MetaSel (Just Symbol "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dsrsStacks :: Lens' DescribeStacksResponse [Stack] Source #

An array of Stack objects that describe the stacks.