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 |
Requests a description of one or more stacks.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Synopsis
- data DescribeStacks = DescribeStacks' {}
- newDescribeStacks :: DescribeStacks
- describeStacks_stackIds :: Lens' DescribeStacks (Maybe [Text])
- data DescribeStacksResponse = DescribeStacksResponse' {
- stacks :: Maybe [Stack]
- httpStatus :: Int
- newDescribeStacksResponse :: Int -> DescribeStacksResponse
- 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:stackIds:DescribeStacks'
, describeStacks_stackIds
- An array of stack IDs that specify the stacks to be described. If you
omit this parameter, DescribeStacks
returns a description of every
stack.
Request Lenses
describeStacks_stackIds :: Lens' DescribeStacks (Maybe [Text]) Source #
An array of stack IDs that specify the stacks to be described. If you
omit this parameter, DescribeStacks
returns a description of every
stack.
Destructuring the Response
data DescribeStacksResponse Source #
Contains the response to a DescribeStacks
request.
See: newDescribeStacksResponse
smart constructor.
DescribeStacksResponse' | |
|
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:stacks:DescribeStacksResponse'
, describeStacksResponse_stacks
- An array of Stack
objects that describe the stacks.
$sel:httpStatus:DescribeStacksResponse'
, describeStacksResponse_httpStatus
- The response's http status code.
Response Lenses
describeStacksResponse_stacks :: Lens' DescribeStacksResponse (Maybe [Stack]) Source #
An array of Stack
objects that describe the stacks.
describeStacksResponse_httpStatus :: Lens' DescribeStacksResponse Int Source #
The response's http status code.