Copyright | (c) 2013-2021 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 |
Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
This operation returns paginated results.
Synopsis
- data DescribeStacks = DescribeStacks' {}
- newDescribeStacks :: DescribeStacks
- describeStacks_nextToken :: Lens' DescribeStacks (Maybe Text)
- describeStacks_names :: Lens' DescribeStacks (Maybe [Text])
- data DescribeStacksResponse = DescribeStacksResponse' {}
- newDescribeStacksResponse :: Int -> DescribeStacksResponse
- describeStacksResponse_nextToken :: Lens' DescribeStacksResponse (Maybe Text)
- describeStacksResponse_stacks :: Lens' DescribeStacksResponse (Maybe [Stack])
- describeStacksResponse_httpStatus :: Lens' DescribeStacksResponse Int
Creating a Request
data DescribeStacks Source #
See: newDescribeStacks
smart constructor.
Instances
newDescribeStacks :: DescribeStacks Source #
Create a value of DescribeStacks
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeStacks'
, describeStacks_nextToken
- 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.
$sel:names:DescribeStacks'
, describeStacks_names
- The names of the stacks to describe.
Request Lenses
describeStacks_nextToken :: 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.
describeStacks_names :: Lens' DescribeStacks (Maybe [Text]) Source #
The names of the stacks to describe.
Destructuring the Response
data DescribeStacksResponse Source #
See: newDescribeStacksResponse
smart constructor.
Instances
newDescribeStacksResponse Source #
Create a value of DescribeStacksResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeStacks'
, describeStacksResponse_nextToken
- 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.
$sel:stacks:DescribeStacksResponse'
, describeStacksResponse_stacks
- Information about the stacks.
$sel:httpStatus:DescribeStacksResponse'
, describeStacksResponse_httpStatus
- The response's http status code.
Response Lenses
describeStacksResponse_nextToken :: 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.
describeStacksResponse_stacks :: Lens' DescribeStacksResponse (Maybe [Stack]) Source #
Information about the stacks.
describeStacksResponse_httpStatus :: Lens' DescribeStacksResponse Int Source #
The response's http status code.