amazonka-cloudformation-1.6.1: Amazon CloudFormation SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Data ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

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 # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Show ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Generic ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Associated Types

type Rep ListStacks :: Type -> Type #

Hashable ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

AWSPager ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

AWSRequest ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Associated Types

type Rs ListStacks :: Type #

ToHeaders ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Methods

toHeaders :: ListStacks -> [Header] #

ToPath ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

ToQuery ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

NFData ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Methods

rnf :: ListStacks -> () #

type Rep ListStacks Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

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

Defined in Network.AWS.CloudFormation.ListStacks

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 # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Data ListStacksResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

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 # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Show ListStacksResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Generic ListStacksResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Associated Types

type Rep ListStacksResponse :: Type -> Type #

NFData ListStacksResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

Methods

rnf :: ListStacksResponse -> () #

type Rep ListStacksResponse Source # 
Instance details

Defined in Network.AWS.CloudFormation.ListStacks

type Rep ListStacksResponse = D1 (MetaData "ListStacksResponse" "Network.AWS.CloudFormation.ListStacks" "amazonka-cloudformation-1.6.1-9C1vgCDBA4sIHFUFfPs2gm" False) (C1 (MetaCons "ListStacksResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lsrsStackSummaries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StackSummary])) :*: S1 (MetaSel (Just "_lsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.