amazonka-codedeploy-1.3.5: Amazon CodeDeploy 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.CodeDeploy.ListDeployments

Contents

Description

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

See: AWS API Reference for ListDeployments.

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 deployment creation start- and end-time range for returning a subset of the list of deployments.

ldNextToken :: Lens' ListDeployments (Maybe Text) Source

An identifier that was returned from the previous list deployments call, which 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 in the resulting list created deployments.
  • Queued: Include in the resulting list queued deployments.
  • In Progress: Include in the resulting list in-progress deployments.
  • Succeeded: Include in the resulting list succeeded deployments.
  • Failed: Include in the resulting list failed deployments.
  • Aborted: Include in the resulting list aborted deployments.

ldApplicationName :: Lens' ListDeployments (Maybe Text) Source

The name of an existing 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 the amount of information that is returned is significantly large, an identifier will also be returned, which can be used in a subsequent list deployments call to return the next set of deployments in the list.