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