| 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 |
Network.AWS.AppStream.DescribeStacks
Description
If stack names are not provided, this operation describes the specified stacks; otherwise, all stacks in the account are described. Pass the nextToken value in a subsequent call to this operation to retrieve the next set of items.
- describeStacks :: DescribeStacks
- data DescribeStacks
- dNextToken :: Lens' DescribeStacks (Maybe Text)
- dNames :: Lens' DescribeStacks [Text]
- describeStacksResponse :: Int -> DescribeStacksResponse
- data DescribeStacksResponse
- desrsNextToken :: Lens' DescribeStacksResponse (Maybe Text)
- desrsStacks :: Lens' DescribeStacksResponse [Stack]
- desrsResponseStatus :: 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- The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.dNames- The stack names to describe. Use null to describe all the stacks for the AWS account.
data DescribeStacks Source #
See: describeStacks smart constructor.
Instances
Request Lenses
dNextToken :: Lens' DescribeStacks (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
dNames :: Lens' DescribeStacks [Text] Source #
The stack names to describe. Use null to describe all the stacks for the AWS account.
Destructuring the Response
describeStacksResponse Source #
Arguments
| :: Int | |
| -> DescribeStacksResponse |
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:
desrsNextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.desrsStacks- The list of stack details.desrsResponseStatus- -- | The response status code.
data DescribeStacksResponse Source #
See: describeStacksResponse smart constructor.
Response Lenses
desrsNextToken :: Lens' DescribeStacksResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
desrsStacks :: Lens' DescribeStacksResponse [Stack] Source #
The list of stack details.
desrsResponseStatus :: Lens' DescribeStacksResponse Int Source #
- - | The response status code.