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

Contents

Description

Gets a list of names for one or more on-premises instances.

Unless otherwise specified, both registered and deregistered on-premises instance names will be listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.

Synopsis

Creating a Request

listOnPremisesInstances :: ListOnPremisesInstances Source #

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

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

  • lopiTagFilters - The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.
  • lopiNextToken - An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
  • lopiRegistrationStatus - The registration status of the on-premises instances: * Deregistered: Include deregistered on-premises instances in the resulting list. * Registered: Include registered on-premises instances in the resulting list.

data ListOnPremisesInstances Source #

Represents the input of a ListOnPremisesInstances operation.

See: listOnPremisesInstances smart constructor.

Instances

Eq ListOnPremisesInstances Source # 
Data ListOnPremisesInstances Source # 

Methods

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

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

toConstr :: ListOnPremisesInstances -> Constr #

dataTypeOf :: ListOnPremisesInstances -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListOnPremisesInstances -> () #

AWSRequest ListOnPremisesInstances Source # 
ToHeaders ListOnPremisesInstances Source # 
ToPath ListOnPremisesInstances Source # 
ToQuery ListOnPremisesInstances Source # 
type Rep ListOnPremisesInstances Source # 
type Rep ListOnPremisesInstances = D1 * (MetaData "ListOnPremisesInstances" "Network.AWS.CodeDeploy.ListOnPremisesInstances" "amazonka-codedeploy-1.6.0-FbexHQXokzbCl7hnYMiCm8" False) (C1 * (MetaCons "ListOnPremisesInstances'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lopiTagFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [TagFilter]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lopiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lopiRegistrationStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RegistrationStatus))))))
type Rs ListOnPremisesInstances Source # 

Request Lenses

lopiTagFilters :: Lens' ListOnPremisesInstances [TagFilter] Source #

The on-premises instance tags that will be used to restrict the corresponding on-premises instance names returned.

lopiNextToken :: Lens' ListOnPremisesInstances (Maybe Text) Source #

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

lopiRegistrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus) Source #

The registration status of the on-premises instances: * Deregistered: Include deregistered on-premises instances in the resulting list. * Registered: Include registered on-premises instances in the resulting list.

Destructuring the Response

listOnPremisesInstancesResponse Source #

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

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

  • lopirsNextToken - If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list on-premises instances call to return the next set of on-premises instances in the list.
  • lopirsInstanceNames - The list of matching on-premises instance names.
  • lopirsResponseStatus - -- | The response status code.

data ListOnPremisesInstancesResponse Source #

Represents the output of list on-premises instances operation.

See: listOnPremisesInstancesResponse smart constructor.

Instances

Eq ListOnPremisesInstancesResponse Source # 
Data ListOnPremisesInstancesResponse Source # 

Methods

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

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

toConstr :: ListOnPremisesInstancesResponse -> Constr #

dataTypeOf :: ListOnPremisesInstancesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListOnPremisesInstancesResponse Source # 
Show ListOnPremisesInstancesResponse Source # 
Generic ListOnPremisesInstancesResponse Source # 
NFData ListOnPremisesInstancesResponse Source # 
type Rep ListOnPremisesInstancesResponse Source # 
type Rep ListOnPremisesInstancesResponse = D1 * (MetaData "ListOnPremisesInstancesResponse" "Network.AWS.CodeDeploy.ListOnPremisesInstances" "amazonka-codedeploy-1.6.0-FbexHQXokzbCl7hnYMiCm8" False) (C1 * (MetaCons "ListOnPremisesInstancesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lopirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lopirsInstanceNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_lopirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lopirsNextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text) Source #

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

lopirsInstanceNames :: Lens' ListOnPremisesInstancesResponse [Text] Source #

The list of matching on-premises instance names.