amazonka-cloudformation-1.4.5: Amazon CloudFormation 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.CloudFormation.DescribeStacks

Contents

Description

Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.

This operation returns paginated results.

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:

  • dNextToken - A string that identifies the next page of stacks that you want to retrieve.
  • dStackName - The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.

data DescribeStacks Source #

The input for DescribeStacks action.

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 # 
NFData DescribeStacks Source # 

Methods

rnf :: DescribeStacks -> () #

AWSPager DescribeStacks Source # 
AWSRequest DescribeStacks Source # 
ToPath DescribeStacks Source # 
ToHeaders DescribeStacks Source # 
ToQuery DescribeStacks Source # 
type Rep DescribeStacks Source # 
type Rep DescribeStacks = D1 (MetaData "DescribeStacks" "Network.AWS.CloudFormation.DescribeStacks" "amazonka-cloudformation-1.4.5-G0stfcEaDzC4JoYZoVvUrE" False) (C1 (MetaCons "DescribeStacks'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dStackName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeStacks Source # 

Request Lenses

dNextToken :: Lens' DescribeStacks (Maybe Text) Source #

A string that identifies the next page of stacks that you want to retrieve.

dStackName :: Lens' DescribeStacks (Maybe Text) Source #

The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value.

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:

  • dsrsNextToken - If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
  • dsrsStacks - A list of stack structures.
  • dsrsResponseStatus - -- | The response status code.

data DescribeStacksResponse Source #

The output for a DescribeStacks action.

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.CloudFormation.DescribeStacks" "amazonka-cloudformation-1.4.5-G0stfcEaDzC4JoYZoVvUrE" False) (C1 (MetaCons "DescribeStacksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsStacks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Stack]))) (S1 (MetaSel (Just Symbol "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dsrsNextToken :: Lens' DescribeStacksResponse (Maybe Text) Source #

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

dsrsStacks :: Lens' DescribeStacksResponse [Stack] Source #

A list of stack structures.

dsrsResponseStatus :: Lens' DescribeStacksResponse Int Source #

  • - | The response status code.