amazonka-codedeploy-1.6.0: Amazon CodeDeploy SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

This operation returns paginated results.

Synopsis

Creating a Request

listDeploymentGroups #

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:

  • ldgNextToken - 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 - The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.

data ListDeploymentGroups #

Represents the input of a ListDeploymentGroups operation.

See: listDeploymentGroups smart constructor.

Instances

Eq ListDeploymentGroups # 
Data ListDeploymentGroups # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListDeploymentGroups -> c ListDeploymentGroups #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListDeploymentGroups #

toConstr :: ListDeploymentGroups -> Constr #

dataTypeOf :: ListDeploymentGroups -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListDeploymentGroups) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListDeploymentGroups) #

gmapT :: (forall b. Data b => b -> b) -> ListDeploymentGroups -> ListDeploymentGroups #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListDeploymentGroups -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListDeploymentGroups -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListDeploymentGroups -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListDeploymentGroups -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListDeploymentGroups -> m ListDeploymentGroups #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDeploymentGroups -> m ListDeploymentGroups #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDeploymentGroups -> m ListDeploymentGroups #

Read ListDeploymentGroups # 
Show ListDeploymentGroups # 
Generic ListDeploymentGroups # 
Hashable ListDeploymentGroups # 
ToJSON ListDeploymentGroups # 
NFData ListDeploymentGroups # 

Methods

rnf :: ListDeploymentGroups -> () #

AWSPager ListDeploymentGroups # 
AWSRequest ListDeploymentGroups # 
ToHeaders ListDeploymentGroups # 
ToPath ListDeploymentGroups # 
ToQuery ListDeploymentGroups # 
type Rep ListDeploymentGroups # 
type Rep ListDeploymentGroups = D1 * (MetaData "ListDeploymentGroups" "Network.AWS.CodeDeploy.ListDeploymentGroups" "amazonka-codedeploy-1.6.0-CVWt8A18BUaA4vTP8zhKgA" False) (C1 * (MetaCons "ListDeploymentGroups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldgApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs ListDeploymentGroups # 

Request Lenses

ldgNextToken :: Lens' ListDeploymentGroups (Maybe Text) #

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 #

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

Destructuring the Response

listDeploymentGroupsResponse #

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:

  • ldgrsNextToken - 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.
  • ldgrsApplicationName - The application name.
  • ldgrsDeploymentGroups - A list of corresponding deployment group names.
  • ldgrsResponseStatus - -- | The response status code.

data ListDeploymentGroupsResponse #

Represents the output of a ListDeploymentGroups operation.

See: listDeploymentGroupsResponse smart constructor.

Instances

Eq ListDeploymentGroupsResponse # 
Data ListDeploymentGroupsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListDeploymentGroupsResponse -> c ListDeploymentGroupsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListDeploymentGroupsResponse #

toConstr :: ListDeploymentGroupsResponse -> Constr #

dataTypeOf :: ListDeploymentGroupsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListDeploymentGroupsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListDeploymentGroupsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListDeploymentGroupsResponse -> ListDeploymentGroupsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListDeploymentGroupsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListDeploymentGroupsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListDeploymentGroupsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListDeploymentGroupsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListDeploymentGroupsResponse -> m ListDeploymentGroupsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDeploymentGroupsResponse -> m ListDeploymentGroupsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDeploymentGroupsResponse -> m ListDeploymentGroupsResponse #

Read ListDeploymentGroupsResponse # 
Show ListDeploymentGroupsResponse # 
Generic ListDeploymentGroupsResponse # 
NFData ListDeploymentGroupsResponse # 
type Rep ListDeploymentGroupsResponse # 
type Rep ListDeploymentGroupsResponse = D1 * (MetaData "ListDeploymentGroupsResponse" "Network.AWS.CodeDeploy.ListDeploymentGroups" "amazonka-codedeploy-1.6.0-CVWt8A18BUaA4vTP8zhKgA" False) (C1 * (MetaCons "ListDeploymentGroupsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ldgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ldgrsApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ldgrsDeploymentGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_ldgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ldgrsNextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text) #

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] #

A list of corresponding deployment group names.