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

Contents

Description

Lists the deployment groups for an application registered with the applicable IAM user or AWS account.

See: AWS API Reference for ListDeploymentGroups.

Synopsis

Creating a Request

listDeploymentGroups Source

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

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

Request Lenses

ldgNextToken :: Lens' ListDeploymentGroups (Maybe Text) Source

An identifier that was returned from the previous list deployment groups call, which can be used to return the next set of deployment groups in the list.

ldgApplicationName :: Lens' ListDeploymentGroups Text Source

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

Destructuring the Response

listDeploymentGroupsResponse Source

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

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

Response Lenses

ldgrsNextToken :: Lens' ListDeploymentGroupsResponse (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 deployment groups call to return the next set of deployment groups in the list.

ldgrsDeploymentGroups :: Lens' ListDeploymentGroupsResponse [Text] Source

A list of corresponding deployment group names.