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.ListStacks

Contents

Description

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).

This operation returns paginated results.

Synopsis

Creating a Request

listStacks :: ListStacks Source #

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

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

  • lsNextToken - A string that identifies the next page of stacks that you want to retrieve.
  • lsStackStatusFilter - Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

data ListStacks Source #

The input for ListStacks action.

See: listStacks smart constructor.

Instances

Eq ListStacks Source # 
Data ListStacks Source # 

Methods

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

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

toConstr :: ListStacks -> Constr #

dataTypeOf :: ListStacks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStacks Source # 
Show ListStacks Source # 
Generic ListStacks Source # 

Associated Types

type Rep ListStacks :: * -> * #

Hashable ListStacks Source # 
NFData ListStacks Source # 

Methods

rnf :: ListStacks -> () #

AWSPager ListStacks Source # 
AWSRequest ListStacks Source # 
ToPath ListStacks Source # 
ToHeaders ListStacks Source # 

Methods

toHeaders :: ListStacks -> [Header] #

ToQuery ListStacks Source # 
type Rep ListStacks Source # 
type Rep ListStacks = D1 (MetaData "ListStacks" "Network.AWS.CloudFormation.ListStacks" "amazonka-cloudformation-1.4.5-G0stfcEaDzC4JoYZoVvUrE" False) (C1 (MetaCons "ListStacks'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsStackStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StackStatus])))))
type Rs ListStacks Source # 

Request Lenses

lsNextToken :: Lens' ListStacks (Maybe Text) Source #

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

lsStackStatusFilter :: Lens' ListStacks [StackStatus] Source #

Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.

Destructuring the Response

listStacksResponse Source #

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

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

  • lsrsNextToken - 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.
  • lsrsStackSummaries - A list of StackSummary structures containing information about the specified stacks.
  • lsrsResponseStatus - -- | The response status code.

data ListStacksResponse Source #

The output for ListStacks action.

See: listStacksResponse smart constructor.

Instances

Eq ListStacksResponse Source # 
Data ListStacksResponse Source # 

Methods

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

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

toConstr :: ListStacksResponse -> Constr #

dataTypeOf :: ListStacksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListStacksResponse Source # 
Show ListStacksResponse Source # 
Generic ListStacksResponse Source # 
NFData ListStacksResponse Source # 

Methods

rnf :: ListStacksResponse -> () #

type Rep ListStacksResponse Source # 
type Rep ListStacksResponse = D1 (MetaData "ListStacksResponse" "Network.AWS.CloudFormation.ListStacks" "amazonka-cloudformation-1.4.5-G0stfcEaDzC4JoYZoVvUrE" False) (C1 (MetaCons "ListStacksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lsrsStackSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StackSummary]))) (S1 (MetaSel (Just Symbol "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lsrsNextToken :: Lens' ListStacksResponse (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.

lsrsStackSummaries :: Lens' ListStacksResponse [StackSummary] Source #

A list of StackSummary structures containing information about the specified stacks.

lsrsResponseStatus :: Lens' ListStacksResponse Int Source #

  • - | The response status code.