amazonka-codedeploy-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Data ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Show ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Generic ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Associated Types

type Rep ListDeploymentGroups :: Type -> Type #

Hashable ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

ToJSON ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

AWSPager ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

AWSRequest ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Associated Types

type Rs ListDeploymentGroups :: Type #

ToHeaders ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

ToPath ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

ToQuery ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

NFData ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Methods

rnf :: ListDeploymentGroups -> () #

type Rep ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroups = D1 (MetaData "ListDeploymentGroups" "Network.AWS.CodeDeploy.ListDeploymentGroups" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "ListDeploymentGroups'" PrefixI True) (S1 (MetaSel (Just "_ldgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldgApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs ListDeploymentGroups Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

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 # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Data ListDeploymentGroupsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

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 # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Show ListDeploymentGroupsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Generic ListDeploymentGroupsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

Associated Types

type Rep ListDeploymentGroupsResponse :: Type -> Type #

NFData ListDeploymentGroupsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroupsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentGroups

type Rep ListDeploymentGroupsResponse = D1 (MetaData "ListDeploymentGroupsResponse" "Network.AWS.CodeDeploy.ListDeploymentGroups" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "ListDeploymentGroupsResponse'" PrefixI True) ((S1 (MetaSel (Just "_ldgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldgrsApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ldgrsDeploymentGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.