amazonka-codedeploy-1.6.0: 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.ListDeploymentInstances

Contents

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

listDeploymentInstances #

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:

  • lInstanceStatusFilter - 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.
  • lNextToken - 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.
  • lInstanceTypeFilter - The set of instances in a blue/green deployment, either those in the original environment (BLUE) or those in the replacement environment (GREEN), for which you want to view instance information.
  • lDeploymentId - The unique ID of a deployment.

data ListDeploymentInstances #

Represents the input of a ListDeploymentInstances operation.

See: listDeploymentInstances smart constructor.

Instances
Eq ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Data ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

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

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Show ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Generic ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Associated Types

type Rep ListDeploymentInstances :: * -> * #

Hashable ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

ToJSON ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

AWSPager ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

AWSRequest ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Associated Types

type Rs ListDeploymentInstances :: * #

ToHeaders ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

ToPath ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

ToQuery ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

NFData ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Methods

rnf :: ListDeploymentInstances -> () #

type Rep ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

type Rep ListDeploymentInstances = D1 (MetaData "ListDeploymentInstances" "Network.AWS.CodeDeploy.ListDeploymentInstances" "amazonka-codedeploy-1.6.0-DNTgLFwCGiHpT5vX886Zc" False) (C1 (MetaCons "ListDeploymentInstances'" PrefixI True) ((S1 (MetaSel (Just "_lInstanceStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceStatus])) :*: S1 (MetaSel (Just "_lNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lInstanceTypeFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceType])) :*: S1 (MetaSel (Just "_lDeploymentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListDeploymentInstances # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Request Lenses

lInstanceStatusFilter :: Lens' ListDeploymentInstances [InstanceStatus] #

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.

lNextToken :: Lens' ListDeploymentInstances (Maybe Text) #

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.

lInstanceTypeFilter :: Lens' ListDeploymentInstances [InstanceType] #

The set of instances in a blue/green deployment, either those in the original environment (BLUE) or those in the replacement environment (GREEN), for which you want to view instance information.

lDeploymentId :: Lens' ListDeploymentInstances Text #

The unique ID of a deployment.

Destructuring the Response

listDeploymentInstancesResponse #

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 #

Represents the output of a ListDeploymentInstances operation.

See: listDeploymentInstancesResponse smart constructor.

Instances
Eq ListDeploymentInstancesResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Data ListDeploymentInstancesResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

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

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Show ListDeploymentInstancesResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Generic ListDeploymentInstancesResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Associated Types

type Rep ListDeploymentInstancesResponse :: * -> * #

NFData ListDeploymentInstancesResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

type Rep ListDeploymentInstancesResponse # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

type Rep ListDeploymentInstancesResponse = D1 (MetaData "ListDeploymentInstancesResponse" "Network.AWS.CodeDeploy.ListDeploymentInstances" "amazonka-codedeploy-1.6.0-DNTgLFwCGiHpT5vX886Zc" False) (C1 (MetaCons "ListDeploymentInstancesResponse'" PrefixI True) (S1 (MetaSel (Just "_ldirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ldirsInstancesList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ldirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ldirsNextToken :: Lens' ListDeploymentInstancesResponse (Maybe Text) #

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.