Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- listStacks :: ListStacks
- data ListStacks
- lsNextToken :: Lens' ListStacks (Maybe Text)
- lsStackStatusFilter :: Lens' ListStacks [StackStatus]
- listStacksResponse :: Int -> ListStacksResponse
- data ListStacksResponse
- lsrsNextToken :: Lens' ListStacksResponse (Maybe Text)
- lsrsStackSummaries :: Lens' ListStacksResponse [StackSummary]
- lsrsResponseStatus :: Lens' ListStacksResponse Int
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:
data ListStacks Source
The input for ListStacks action.
See: listStacks
smart constructor.
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
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:
data ListStacksResponse Source
The output for ListStacks action.
See: listStacksResponse
smart constructor.
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.
lsrsResponseStatus :: Lens' ListStacksResponse Int Source
The response status code.