amazonka-opsworks-0.1.1: Amazon OpsWorks SDK.

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.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_DescribeDeployments.html

Synopsis

Request

Request constructor

describeDeployments :: DescribeDeployments Source

DescribeDeployments constructor.

The fields accessible through corresponding lenses are:

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.

Response

Response constructor

describeDeploymentsResponse :: DescribeDeploymentsResponse Source

DescribeDeploymentsResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

ddrDeployments :: Lens' DescribeDeploymentsResponse [Deployment] Source

An array of Deployment objects that describe the deployments.