Copyright | (c) 2013-2017 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 |
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 on user permissions, see Managing User Permissions .
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:
dsStackIds
- An array of stack IDs that specify the stacks to be described. If you omit this parameter,DescribeStacks
returns a description of every stack.
data DescribeStacks Source #
See: describeStacks
smart constructor.
Request Lenses
dsStackIds :: Lens' DescribeStacks [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
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:
dsrsStacks
- An array ofStack
objects that describe the stacks.dsrsResponseStatus
- -- | The response status code.
data DescribeStacksResponse Source #
Contains the response to a DescribeStacks
request.
See: describeStacksResponse
smart constructor.
Response Lenses
dsrsStacks :: Lens' DescribeStacksResponse [Stack] Source #
An array of Stack
objects that describe the stacks.
dsrsResponseStatus :: Lens' DescribeStacksResponse Int Source #
- - | The response status code.