amazonka-cloudformation-1.3.5: Amazon CloudFormation SDK.

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

See: AWS API Reference for ListStacks.

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:

Request Lenses

lsNextToken :: Lens' ListStacks (Maybe Text) Source

String that identifies the start of the next list of stacks, if there is one.

Default: There is no default value.

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:

Response Lenses

lsrsNextToken :: Lens' ListStacksResponse (Maybe Text) Source

String that identifies the start of the next list of stacks, if there is one.

lsrsStackSummaries :: Lens' ListStacksResponse [StackSummary] Source

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