amazonka-codedeploy-1.5.0: Amazon CodeDeploy SDK.

Copyright(c) 2013-2017 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 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:

  • 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 Source #

Represents the input of a ListDeploymentGroups operation.

See: listDeploymentGroups smart constructor.

Instances

Eq ListDeploymentGroups Source # 
Data ListDeploymentGroups Source # 

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 Source # 
Show ListDeploymentGroups Source # 
Generic ListDeploymentGroups Source # 
Hashable ListDeploymentGroups Source # 
ToJSON ListDeploymentGroups Source # 
NFData ListDeploymentGroups Source # 

Methods

rnf :: ListDeploymentGroups -> () #

AWSPager ListDeploymentGroups Source # 
AWSRequest ListDeploymentGroups Source # 
ToQuery ListDeploymentGroups Source # 
ToPath ListDeploymentGroups Source # 
ToHeaders ListDeploymentGroups Source # 
type Rep ListDeploymentGroups Source # 
type Rep ListDeploymentGroups = D1 (MetaData "ListDeploymentGroups" "Network.AWS.CodeDeploy.ListDeploymentGroups" "amazonka-codedeploy-1.5.0-GY4Gv7xKPLMvU1a9tUwnt" 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 Source # 

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:

  • 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 Source #

Represents the output of a ListDeploymentGroups operation.

See: listDeploymentGroupsResponse smart constructor.

Instances

Eq ListDeploymentGroupsResponse Source # 
Data ListDeploymentGroupsResponse Source # 

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 Source # 
Show ListDeploymentGroupsResponse Source # 
Generic ListDeploymentGroupsResponse Source # 
NFData ListDeploymentGroupsResponse Source # 
type Rep ListDeploymentGroupsResponse Source # 
type Rep ListDeploymentGroupsResponse = D1 (MetaData "ListDeploymentGroupsResponse" "Network.AWS.CodeDeploy.ListDeploymentGroups" "amazonka-codedeploy-1.5.0-GY4Gv7xKPLMvU1a9tUwnt" 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) 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.