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

Contents

Description

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

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 returned from the previous list deployment groups call. It can be used to return the next set of deployment groups in the list.

ldgApplicationName :: Lens' ListDeploymentGroups Text Source

The name of an 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 a large amount of information is returned, an identifier is also returned. It 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.