amazonka-alexa-business-1.6.0: 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.UpdateDevice

Contents

Description

Updates the device name by device ARN.

Synopsis

Creating a Request

updateDevice :: UpdateDevice Source #

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

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

data UpdateDevice Source #

See: updateDevice smart constructor.

Instances

Eq UpdateDevice Source # 
Data UpdateDevice Source # 

Methods

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

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

toConstr :: UpdateDevice -> Constr #

dataTypeOf :: UpdateDevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDevice Source # 
Show UpdateDevice Source # 
Generic UpdateDevice Source # 

Associated Types

type Rep UpdateDevice :: * -> * #

Hashable UpdateDevice Source # 
ToJSON UpdateDevice Source # 
NFData UpdateDevice Source # 

Methods

rnf :: UpdateDevice -> () #

AWSRequest UpdateDevice Source # 
ToHeaders UpdateDevice Source # 
ToPath UpdateDevice Source # 
ToQuery UpdateDevice Source # 
type Rep UpdateDevice Source # 
type Rep UpdateDevice = D1 * (MetaData "UpdateDevice" "Network.AWS.AlexaBusiness.UpdateDevice" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "UpdateDevice'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_udDeviceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_udDeviceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs UpdateDevice Source # 

Request Lenses

udDeviceARN :: Lens' UpdateDevice (Maybe Text) Source #

The ARN of the device to update. Required.

udDeviceName :: Lens' UpdateDevice (Maybe Text) Source #

The updated device name. Required.

Destructuring the Response

updateDeviceResponse Source #

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

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

data UpdateDeviceResponse Source #

See: updateDeviceResponse smart constructor.

Instances

Eq UpdateDeviceResponse Source # 
Data UpdateDeviceResponse Source # 

Methods

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

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

toConstr :: UpdateDeviceResponse -> Constr #

dataTypeOf :: UpdateDeviceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDeviceResponse Source # 
Show UpdateDeviceResponse Source # 
Generic UpdateDeviceResponse Source # 
NFData UpdateDeviceResponse Source # 

Methods

rnf :: UpdateDeviceResponse -> () #

type Rep UpdateDeviceResponse Source # 
type Rep UpdateDeviceResponse = D1 * (MetaData "UpdateDeviceResponse" "Network.AWS.AlexaBusiness.UpdateDevice" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "UpdateDeviceResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_udrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

udrsResponseStatus :: Lens' UpdateDeviceResponse Int Source #

  • - | The response status code.