amazonka-devicefarm-1.6.0: Amazon Device Farm 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.DeviceFarm.GetDeviceInstance

Contents

Description

Returns information about a device instance belonging to a private device fleet.

Synopsis

Creating a Request

getDeviceInstance Source #

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

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

  • gdiArn - The Amazon Resource Name (ARN) of the instance you're requesting information about.

data GetDeviceInstance Source #

See: getDeviceInstance smart constructor.

Instances

Eq GetDeviceInstance Source # 
Data GetDeviceInstance Source # 

Methods

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

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

toConstr :: GetDeviceInstance -> Constr #

dataTypeOf :: GetDeviceInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetDeviceInstance -> () #

AWSRequest GetDeviceInstance Source # 
ToHeaders GetDeviceInstance Source # 
ToPath GetDeviceInstance Source # 
ToQuery GetDeviceInstance Source # 
type Rep GetDeviceInstance Source # 
type Rep GetDeviceInstance = D1 * (MetaData "GetDeviceInstance" "Network.AWS.DeviceFarm.GetDeviceInstance" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" True) (C1 * (MetaCons "GetDeviceInstance'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gdiArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetDeviceInstance Source # 

Request Lenses

gdiArn :: Lens' GetDeviceInstance Text Source #

The Amazon Resource Name (ARN) of the instance you're requesting information about.

Destructuring the Response

getDeviceInstanceResponse Source #

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

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

data GetDeviceInstanceResponse Source #

See: getDeviceInstanceResponse smart constructor.

Instances

Eq GetDeviceInstanceResponse Source # 
Data GetDeviceInstanceResponse Source # 

Methods

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

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

toConstr :: GetDeviceInstanceResponse -> Constr #

dataTypeOf :: GetDeviceInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceInstanceResponse Source # 
Show GetDeviceInstanceResponse Source # 
Generic GetDeviceInstanceResponse Source # 
NFData GetDeviceInstanceResponse Source # 
type Rep GetDeviceInstanceResponse Source # 
type Rep GetDeviceInstanceResponse = D1 * (MetaData "GetDeviceInstanceResponse" "Network.AWS.DeviceFarm.GetDeviceInstance" "amazonka-devicefarm-1.6.0-LqJtWXKo19D7xA5rnFdJ7y" False) (C1 * (MetaCons "GetDeviceInstanceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdirsDeviceInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DeviceInstance))) (S1 * (MetaSel (Just Symbol "_gdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gdirsDeviceInstance :: Lens' GetDeviceInstanceResponse (Maybe DeviceInstance) Source #

An object containing information about your device instance.