amazonka-opsworks-1.3.3: 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.DescribeDeployments

Contents

Description

Requests a description of a specified set of deployments.

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 DescribeDeployments.

Synopsis

Creating a Request

describeDeployments :: DescribeDeployments Source

Creates a value of DescribeDeployments with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ddAppId :: Lens' DescribeDeployments (Maybe Text) Source

The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app.

ddDeploymentIds :: Lens' DescribeDeployments [Text] Source

An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

ddStackId :: Lens' DescribeDeployments (Maybe Text) Source

The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack.

Destructuring the Response

describeDeploymentsResponse Source

Creates a value of DescribeDeploymentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ddrsDeployments :: Lens' DescribeDeploymentsResponse [Deployment] Source

An array of Deployment objects that describe the deployments.