amazonka-codedeploy-1.4.5: 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.ListDeployments

Contents

Description

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

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 list deployments operation.

See: listDeployments smart constructor.

Instances

Eq ListDeployments Source # 
Data ListDeployments Source # 

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

Methods

rnf :: ListDeployments -> () #

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

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 list deployments operation.

See: listDeploymentsResponse smart constructor.

Instances

Eq ListDeploymentsResponse Source # 
Data ListDeploymentsResponse Source # 

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 # 
Show ListDeploymentsResponse Source # 
Generic ListDeploymentsResponse Source # 
NFData ListDeploymentsResponse Source # 

Methods

rnf :: ListDeploymentsResponse -> () #

type Rep ListDeploymentsResponse Source # 
type Rep ListDeploymentsResponse = D1 (MetaData "ListDeploymentsResponse" "Network.AWS.CodeDeploy.ListDeployments" "amazonka-codedeploy-1.4.5-DMGK5UWBbb6A8Bo92xdbdR" False) (C1 (MetaCons "ListDeploymentsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ldrsDeployments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ldrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (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.