amazonka-alexa-business-1.6.1: Amazon Alexa For Business 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.AlexaBusiness.GetDevice

Contents

Description

Gets the details of a device by device ARN.

Synopsis

Creating a Request

getDevice :: GetDevice Source #

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:

  • gdDeviceARN - The ARN of the device for which to request details. Required.

data GetDevice Source #

See: getDevice smart constructor.

Instances
Eq GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Data GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.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.AlexaBusiness.GetDevice

Show GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Generic GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Associated Types

type Rep GetDevice :: Type -> Type #

Hashable GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

ToJSON GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

AWSRequest GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Associated Types

type Rs GetDevice :: Type #

ToHeaders GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Methods

toHeaders :: GetDevice -> [Header] #

ToPath GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

ToQuery GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

NFData GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Methods

rnf :: GetDevice -> () #

type Rep GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

type Rep GetDevice = D1 (MetaData "GetDevice" "Network.AWS.AlexaBusiness.GetDevice" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" True) (C1 (MetaCons "GetDevice'" PrefixI True) (S1 (MetaSel (Just "_gdDeviceARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetDevice Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Request Lenses

gdDeviceARN :: Lens' GetDevice (Maybe Text) Source #

The ARN of the device for which to request details. Required.

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 #

See: getDeviceResponse smart constructor.

Instances
Eq GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Data GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.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.AlexaBusiness.GetDevice

Show GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Generic GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Associated Types

type Rep GetDeviceResponse :: Type -> Type #

NFData GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

Methods

rnf :: GetDeviceResponse -> () #

type Rep GetDeviceResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.GetDevice

type Rep GetDeviceResponse = D1 (MetaData "GetDeviceResponse" "Network.AWS.AlexaBusiness.GetDevice" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" 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 #

The details of the device requested. Required.

gdrsResponseStatus :: Lens' GetDeviceResponse Int Source #

  • - | The response status code.