amazonka-codedeploy-1.4.0: Amazon CodeDeploy SDK.

Copyright(c) 2013-2016 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.CodeDeploy.ListDeployments

Contents

Description

Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.

Synopsis

Creating a Request

listDeployments :: ListDeployments Source

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

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

Request Lenses

ldCreateTimeRange :: Lens' ListDeployments (Maybe TimeRange) Source

A time range (start and end) for returning a subset of the list of deployments.

ldNextToken :: Lens' ListDeployments (Maybe Text) Source

An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.

ldIncludeOnlyStatuses :: Lens' ListDeployments [DeploymentStatus] Source

A subset of deployments to list by status:

  • Created: Include created deployments in the resulting list.
  • Queued: Include queued deployments in the resulting list.
  • In Progress: Include in-progress deployments in the resulting list.
  • Succeeded: Include successful deployments in the resulting list.
  • Failed: Include failed deployments in the resulting list.
  • Aborted: Include aborted deployments in the resulting list.

ldApplicationName :: Lens' ListDeployments (Maybe Text) Source

The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

ldDeploymentGroupName :: Lens' ListDeployments (Maybe Text) Source

The name of an existing deployment group for the specified application.

Destructuring the Response

listDeploymentsResponse Source

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

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

Response Lenses

ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source

If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.