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 description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.
See: AWS API Reference for DescribeStacks.
This operation returns paginated results.
- describeStacks :: DescribeStacks
- data DescribeStacks
- dNextToken :: Lens' DescribeStacks (Maybe Text)
- dStackName :: Lens' DescribeStacks (Maybe Text)
- describeStacksResponse :: Int -> DescribeStacksResponse
- data DescribeStacksResponse
- dsrsNextToken :: Lens' DescribeStacksResponse (Maybe Text)
- dsrsStacks :: Lens' DescribeStacksResponse [Stack]
- dsrsStatus :: Lens' DescribeStacksResponse Int
Creating a Request
describeStacks :: DescribeStacks Source
Creates a value of DescribeStacks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeStacks Source
The input for DescribeStacks action.
See: describeStacks
smart constructor.
Request Lenses
dNextToken :: Lens' DescribeStacks (Maybe Text) Source
String that identifies the start of the next list of stacks, if there is one.
dStackName :: Lens' DescribeStacks (Maybe Text) Source
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
- Running stacks: You can specify either the stack's name or its unique stack ID.
- Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Destructuring the Response
Creates a value of DescribeStacksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeStacksResponse Source
The output for a DescribeStacks action.
See: describeStacksResponse
smart constructor.
Response Lenses
dsrsNextToken :: Lens' DescribeStacksResponse (Maybe Text) Source
String that identifies the start of the next list of stacks, if there is one.
dsrsStacks :: Lens' DescribeStacksResponse [Stack] Source
A list of stack structures.
dsrsStatus :: Lens' DescribeStacksResponse Int Source
The response status code.