| Copyright | (c) 2013-2015 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.DescribeApps
Description
Requests a description of a specified set of apps.
You must specify at least one of the parameters.
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.
See: AWS API Reference for DescribeApps.
Creating a Request
describeApps :: DescribeApps Source
Creates a value of DescribeApps with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeApps Source
See: describeApps smart constructor.
Request Lenses
daAppIds :: Lens' DescribeApps [Text] Source
An array of app IDs for the apps to be described. If you use this
parameter, DescribeApps returns a description of the specified apps.
Otherwise, it returns a description of every app.
daStackId :: Lens' DescribeApps (Maybe Text) Source
The app stack ID. If you use this parameter, DescribeApps returns a
description of the apps in the specified stack.
Destructuring the Response
Arguments
| :: Int | |
| -> DescribeAppsResponse |
Creates a value of DescribeAppsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAppsResponse Source
Contains the response to a DescribeApps request.
See: describeAppsResponse smart constructor.
Response Lenses
darsApps :: Lens' DescribeAppsResponse [App] Source
An array of App objects that describe the specified apps.
darsStatus :: Lens' DescribeAppsResponse Int Source
The response status code.