amazonka-codedeploy-1.5.0: Amazon CodeDeploy SDK.

Copyright(c) 2013-2017 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.GetOnPremisesInstance

Contents

Description

Gets information about an on-premises instance.

Synopsis

Creating a Request

getOnPremisesInstance Source #

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

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

  • gopiInstanceName - The name of the on-premises instance about which to get information.

data GetOnPremisesInstance Source #

Represents the input of a GetOnPremisesInstance operation.

See: getOnPremisesInstance smart constructor.

Instances

Eq GetOnPremisesInstance Source # 
Data GetOnPremisesInstance Source # 

Methods

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

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

toConstr :: GetOnPremisesInstance -> Constr #

dataTypeOf :: GetOnPremisesInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetOnPremisesInstance -> () #

AWSRequest GetOnPremisesInstance Source # 
ToQuery GetOnPremisesInstance Source # 
ToPath GetOnPremisesInstance Source # 
ToHeaders GetOnPremisesInstance Source # 
type Rep GetOnPremisesInstance Source # 
type Rep GetOnPremisesInstance = D1 (MetaData "GetOnPremisesInstance" "Network.AWS.CodeDeploy.GetOnPremisesInstance" "amazonka-codedeploy-1.5.0-GY4Gv7xKPLMvU1a9tUwnt" True) (C1 (MetaCons "GetOnPremisesInstance'" PrefixI True) (S1 (MetaSel (Just Symbol "_gopiInstanceName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetOnPremisesInstance Source # 

Request Lenses

gopiInstanceName :: Lens' GetOnPremisesInstance Text Source #

The name of the on-premises instance about which to get information.

Destructuring the Response

getOnPremisesInstanceResponse Source #

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

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

data GetOnPremisesInstanceResponse Source #

Represents the output of a GetOnPremisesInstance operation.

See: getOnPremisesInstanceResponse smart constructor.

Instances

Eq GetOnPremisesInstanceResponse Source # 
Data GetOnPremisesInstanceResponse Source # 

Methods

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

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

toConstr :: GetOnPremisesInstanceResponse -> Constr #

dataTypeOf :: GetOnPremisesInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetOnPremisesInstanceResponse Source # 
Show GetOnPremisesInstanceResponse Source # 
Generic GetOnPremisesInstanceResponse Source # 
NFData GetOnPremisesInstanceResponse Source # 
type Rep GetOnPremisesInstanceResponse Source # 
type Rep GetOnPremisesInstanceResponse = D1 (MetaData "GetOnPremisesInstanceResponse" "Network.AWS.CodeDeploy.GetOnPremisesInstance" "amazonka-codedeploy-1.5.0-GY4Gv7xKPLMvU1a9tUwnt" False) (C1 (MetaCons "GetOnPremisesInstanceResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gopirsInstanceInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceInfo))) (S1 (MetaSel (Just Symbol "_gopirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gopirsInstanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo) Source #

Information about the on-premises instance.