amazonka-opsworks-1.0.1: Amazon OpsWorks SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DescribeApps

Contents

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.

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:

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

describeAppsResponse Source

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:

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.