| 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.OpsWorks.DescribeStacks
Description
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:
data DescribeStacks Source #
See: describeStacks smart constructor.
Instances
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 #
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:
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.