Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
This operation returns paginated results.
Synopsis
- 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]
- dsrsResponseStatus :: 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:
dNextToken
- A string that identifies the next page of stacks that you want to retrieve.dStackName
- 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.
data DescribeStacks Source #
The input for DescribeStacks
action.
See: describeStacks
smart constructor.
Instances
Request Lenses
dNextToken :: Lens' DescribeStacks (Maybe Text) Source #
A string that identifies the next page of stacks that you want to retrieve.
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
describeStacksResponse Source #
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:
dsrsNextToken
- 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.dsrsStacks
- A list of stack structures.dsrsResponseStatus
- -- | The response status code.
data DescribeStacksResponse Source #
The output for a DescribeStacks
action.
See: describeStacksResponse
smart constructor.
Instances
Response Lenses
dsrsNextToken :: Lens' DescribeStacksResponse (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.
dsrsStacks :: Lens' DescribeStacksResponse [Stack] Source #
A list of stack structures.
dsrsResponseStatus :: Lens' DescribeStacksResponse Int Source #
- - | The response status code.