amazonka-devicefarm-1.6.1: 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.GetDevice

Contents

Description

Gets information about a unique device type.

Synopsis

Creating a Request

getDevice Source #

Arguments

:: Text

gdArn

-> GetDevice 

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

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

  • gdArn - The device type's ARN.

data GetDevice Source #

Represents a request to the get device request.

See: getDevice smart constructor.

Instances
Eq GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Data GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Methods

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

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

toConstr :: GetDevice -> Constr #

dataTypeOf :: GetDevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Show GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Generic GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Associated Types

type Rep GetDevice :: Type -> Type #

Hashable GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

ToJSON GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

AWSRequest GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Associated Types

type Rs GetDevice :: Type #

ToHeaders GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Methods

toHeaders :: GetDevice -> [Header] #

ToPath GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

ToQuery GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

NFData GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Methods

rnf :: GetDevice -> () #

type Rep GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

type Rep GetDevice = D1 (MetaData "GetDevice" "Network.AWS.DeviceFarm.GetDevice" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" True) (C1 (MetaCons "GetDevice'" PrefixI True) (S1 (MetaSel (Just "_gdArn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetDevice Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Request Lenses

gdArn :: Lens' GetDevice Text Source #

The device type's ARN.

Destructuring the Response

getDeviceResponse Source #

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

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

data GetDeviceResponse Source #

Represents the result of a get device request.

See: getDeviceResponse smart constructor.

Instances
Eq GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Data GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Methods

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

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

toConstr :: GetDeviceResponse -> Constr #

dataTypeOf :: GetDeviceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Show GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Generic GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Associated Types

type Rep GetDeviceResponse :: Type -> Type #

NFData GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

Methods

rnf :: GetDeviceResponse -> () #

type Rep GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.DeviceFarm.GetDevice

type Rep GetDeviceResponse = D1 (MetaData "GetDeviceResponse" "Network.AWS.DeviceFarm.GetDevice" "amazonka-devicefarm-1.6.1-BUBE26oXCvH3OZbJddASoX" False) (C1 (MetaCons "GetDeviceResponse'" PrefixI True) (S1 (MetaSel (Just "_gdrsDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Device)) :*: S1 (MetaSel (Just "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gdrsDevice :: Lens' GetDeviceResponse (Maybe Device) Source #

An object containing information about the requested device.

gdrsResponseStatus :: Lens' GetDeviceResponse Int Source #

  • - | The response status code.