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

Contents

Description

Lists the instance for a deployment associated with the applicable IAM user or AWS account.

Synopsis

Creating a Request

listDeploymentInstances Source #

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

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

  • ldiInstanceStatusFilter - A subset of instances to list by status: * Pending: Include those instance with pending deployments. * InProgress: Include those instance where deployments are still in progress. * Succeeded: Include those instances with successful deployments. * Failed: Include those instance with failed deployments. * Skipped: Include those instance with skipped deployments. * Unknown: Include those instance with deployments in an unknown state.
  • ldiNextToken - An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
  • ldiDeploymentId - The unique ID of a deployment.

data ListDeploymentInstances Source #

Represents the input of a list deployment instances operation.

See: listDeploymentInstances smart constructor.

Instances

Eq ListDeploymentInstances Source # 
Data ListDeploymentInstances Source # 

Methods

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

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

toConstr :: ListDeploymentInstances -> Constr #

dataTypeOf :: ListDeploymentInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeploymentInstances Source # 
Show ListDeploymentInstances Source # 
Generic ListDeploymentInstances Source # 
Hashable ListDeploymentInstances Source # 
ToJSON ListDeploymentInstances Source # 
NFData ListDeploymentInstances Source # 

Methods

rnf :: ListDeploymentInstances -> () #

AWSRequest ListDeploymentInstances Source # 
ToPath ListDeploymentInstances Source # 
ToHeaders ListDeploymentInstances Source # 
ToQuery ListDeploymentInstances Source # 
type Rep ListDeploymentInstances Source # 
type Rep ListDeploymentInstances = D1 (MetaData "ListDeploymentInstances" "Network.AWS.CodeDeploy.ListDeploymentInstances" "amazonka-codedeploy-1.4.5-DMGK5UWBbb6A8Bo92xdbdR" False) (C1 (MetaCons "ListDeploymentInstances'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldiInstanceStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceStatus]))) ((:*:) (S1 (MetaSel (Just Symbol "_ldiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ldiDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListDeploymentInstances Source # 

Request Lenses

ldiInstanceStatusFilter :: Lens' ListDeploymentInstances [InstanceStatus] Source #

A subset of instances to list by status: * Pending: Include those instance with pending deployments. * InProgress: Include those instance where deployments are still in progress. * Succeeded: Include those instances with successful deployments. * Failed: Include those instance with failed deployments. * Skipped: Include those instance with skipped deployments. * Unknown: Include those instance with deployments in an unknown state.

ldiNextToken :: Lens' ListDeploymentInstances (Maybe Text) Source #

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

ldiDeploymentId :: Lens' ListDeploymentInstances Text Source #

The unique ID of a deployment.

Destructuring the Response

listDeploymentInstancesResponse Source #

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

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

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

data ListDeploymentInstancesResponse Source #

Represents the output of a list deployment instances operation.

See: listDeploymentInstancesResponse smart constructor.

Instances

Eq ListDeploymentInstancesResponse Source # 
Data ListDeploymentInstancesResponse Source # 

Methods

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

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

toConstr :: ListDeploymentInstancesResponse -> Constr #

dataTypeOf :: ListDeploymentInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeploymentInstancesResponse Source # 
Show ListDeploymentInstancesResponse Source # 
Generic ListDeploymentInstancesResponse Source # 
NFData ListDeploymentInstancesResponse Source # 
type Rep ListDeploymentInstancesResponse Source # 
type Rep ListDeploymentInstancesResponse = D1 (MetaData "ListDeploymentInstancesResponse" "Network.AWS.CodeDeploy.ListDeploymentInstances" "amazonka-codedeploy-1.4.5-DMGK5UWBbb6A8Bo92xdbdR" False) (C1 (MetaCons "ListDeploymentInstancesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ldirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ldirsInstancesList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_ldirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ldirsNextToken :: Lens' ListDeploymentInstancesResponse (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 instances call to return the next set of deployment instances in the list.