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

  • 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 Source #

Represents the input of a ListDeploymentInstances operation.

See: listDeploymentInstances smart constructor.

Instances
Eq ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Data ListDeploymentInstances Source # 
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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Show ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Generic ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Associated Types

type Rep ListDeploymentInstances :: Type -> Type #

Hashable ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

ToJSON ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

AWSPager ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

AWSRequest ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Associated Types

type Rs ListDeploymentInstances :: Type #

ToHeaders ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

ToPath ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

ToQuery ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

NFData ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Methods

rnf :: ListDeploymentInstances -> () #

type Rep ListDeploymentInstances Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

type Rep ListDeploymentInstances = D1 (MetaData "ListDeploymentInstances" "Network.AWS.CodeDeploy.ListDeploymentInstances" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" 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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Request Lenses

lInstanceStatusFilter :: 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.

lNextToken :: 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.

lInstanceTypeFilter :: Lens' ListDeploymentInstances [InstanceType] Source #

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

See: listDeploymentInstancesResponse smart constructor.

Instances
Eq ListDeploymentInstancesResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Data ListDeploymentInstancesResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Show ListDeploymentInstancesResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Generic ListDeploymentInstancesResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

Associated Types

type Rep ListDeploymentInstancesResponse :: Type -> Type #

NFData ListDeploymentInstancesResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

type Rep ListDeploymentInstancesResponse Source # 
Instance details

Defined in Network.AWS.CodeDeploy.ListDeploymentInstances

type Rep ListDeploymentInstancesResponse = D1 (MetaData "ListDeploymentInstancesResponse" "Network.AWS.CodeDeploy.ListDeploymentInstances" "amazonka-codedeploy-1.6.1-HbNVyGo5kPb18hi5aHMBMV" 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) 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.