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.AssociateDeviceWithRoom

Contents

Description

Associates a device with a given room. This applies all the settings from the room profile to the device, and all the skills in any skill groups added to that room. This operation requires the device to be online, or else a manual sync is required.

Synopsis

Creating a Request

associateDeviceWithRoom :: AssociateDeviceWithRoom Source #

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

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

  • adwrDeviceARN - The ARN of the device to associate to a room. Required.
  • adwrRoomARN - The ARN of the room with which to associate the device. Required.

data AssociateDeviceWithRoom Source #

See: associateDeviceWithRoom smart constructor.

Instances

Eq AssociateDeviceWithRoom Source # 
Data AssociateDeviceWithRoom Source # 

Methods

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

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

toConstr :: AssociateDeviceWithRoom -> Constr #

dataTypeOf :: AssociateDeviceWithRoom -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AssociateDeviceWithRoom -> () #

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

Request Lenses

adwrDeviceARN :: Lens' AssociateDeviceWithRoom (Maybe Text) Source #

The ARN of the device to associate to a room. Required.

adwrRoomARN :: Lens' AssociateDeviceWithRoom (Maybe Text) Source #

The ARN of the room with which to associate the device. Required.

Destructuring the Response

associateDeviceWithRoomResponse Source #

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

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

data AssociateDeviceWithRoomResponse Source #

See: associateDeviceWithRoomResponse smart constructor.

Instances

Eq AssociateDeviceWithRoomResponse Source # 
Data AssociateDeviceWithRoomResponse Source # 

Methods

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

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

toConstr :: AssociateDeviceWithRoomResponse -> Constr #

dataTypeOf :: AssociateDeviceWithRoomResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateDeviceWithRoomResponse Source # 
Show AssociateDeviceWithRoomResponse Source # 
Generic AssociateDeviceWithRoomResponse Source # 
NFData AssociateDeviceWithRoomResponse Source # 
type Rep AssociateDeviceWithRoomResponse Source # 
type Rep AssociateDeviceWithRoomResponse = D1 * (MetaData "AssociateDeviceWithRoomResponse" "Network.AWS.AlexaBusiness.AssociateDeviceWithRoom" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" True) (C1 * (MetaCons "AssociateDeviceWithRoomResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_adwrrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses