| Copyright | (c) 2013-2018 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 |
Network.AWS.OpsWorks.DescribeApps
Description
Requests a description of a specified set of apps.
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 .
Synopsis
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:
daAppIds- An array of app IDs for the apps to be described. If you use this parameter,DescribeAppsreturns a description of the specified apps. Otherwise, it returns a description of every app.daStackId- The app stack ID. If you use this parameter,DescribeAppsreturns a description of the apps in the specified stack.
data DescribeApps Source #
See: describeApps smart constructor.
Instances
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:
darsApps- An array ofAppobjects that describe the specified apps.darsResponseStatus- -- | The response status code.
data DescribeAppsResponse Source #
Contains the response to a DescribeApps request.
See: describeAppsResponse smart constructor.
Instances
Response Lenses
darsApps :: Lens' DescribeAppsResponse [App] Source #
An array of App objects that describe the specified apps.
darsResponseStatus :: Lens' DescribeAppsResponse Int Source #
- - | The response status code.