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

Contents

Description

Lists the deployments in a deployment group for an application registered with the applicable IAM user or AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

listDeployments :: ListDeployments Source #

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

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

  • ldCreateTimeRange - A time range (start and end) for returning a subset of the list of deployments.
  • ldNextToken - An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
  • ldIncludeOnlyStatuses - A subset of deployments to list by status: * Created: Include created deployments in the resulting list. * Queued: Include queued deployments in the resulting list. * In Progress: Include in-progress deployments in the resulting list. * Succeeded: Include successful deployments in the resulting list. * Failed: Include failed deployments in the resulting list. * Stopped: Include stopped deployments in the resulting list.
  • ldApplicationName - The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
  • ldDeploymentGroupName - The name of an existing deployment group for the specified application.

data ListDeployments Source #

Represents the input of a ListDeployments operation.

See: listDeployments smart constructor.

Instances
Eq ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Data ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Methods

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

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

toConstr :: ListDeployments -> Constr #

dataTypeOf :: ListDeployments -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Show ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Generic ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Associated Types

type Rep ListDeployments :: Type -> Type #

Hashable ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

ToJSON ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

AWSPager ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

AWSRequest ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Associated Types

type Rs ListDeployments :: Type #

ToHeaders ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

ToPath ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

ToQuery ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

NFData ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Methods

rnf :: ListDeployments -> () #

type Rep ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

type Rep ListDeployments = D1 (MetaData "ListDeployments" "Network.AWS.CodeDeploy.ListDeployments" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "ListDeployments'" PrefixI True) ((S1 (MetaSel (Just "_ldCreateTimeRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimeRange)) :*: S1 (MetaSel (Just "_ldNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ldIncludeOnlyStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeploymentStatus])) :*: (S1 (MetaSel (Just "_ldApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldDeploymentGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs ListDeployments Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Request Lenses

ldCreateTimeRange :: Lens' ListDeployments (Maybe TimeRange) Source #

A time range (start and end) for returning a subset of the list of deployments.

ldNextToken :: Lens' ListDeployments (Maybe Text) Source #

An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.

ldIncludeOnlyStatuses :: Lens' ListDeployments [DeploymentStatus] Source #

A subset of deployments to list by status: * Created: Include created deployments in the resulting list. * Queued: Include queued deployments in the resulting list. * In Progress: Include in-progress deployments in the resulting list. * Succeeded: Include successful deployments in the resulting list. * Failed: Include failed deployments in the resulting list. * Stopped: Include stopped deployments in the resulting list.

ldApplicationName :: Lens' ListDeployments (Maybe Text) Source #

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

ldDeploymentGroupName :: Lens' ListDeployments (Maybe Text) Source #

The name of an existing deployment group for the specified application.

Destructuring the Response

listDeploymentsResponse Source #

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

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

  • ldrsNextToken - If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.
  • ldrsDeployments - A list of deployment IDs.
  • ldrsResponseStatus - -- | The response status code.

data ListDeploymentsResponse Source #

Represents the output of a ListDeployments operation.

See: listDeploymentsResponse smart constructor.

Instances
Eq ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Data ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Methods

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

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

toConstr :: ListDeploymentsResponse -> Constr #

dataTypeOf :: ListDeploymentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Show ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Generic ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Associated Types

type Rep ListDeploymentsResponse :: Type -> Type #

NFData ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

Methods

rnf :: ListDeploymentsResponse -> () #

type Rep ListDeploymentsResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeployments

type Rep ListDeploymentsResponse = D1 (MetaData "ListDeploymentsResponse" "Network.AWS.CodeDeploy.ListDeployments" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" False) (C1 (MetaCons "ListDeploymentsResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldrsDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #

If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments in the list.