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.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 # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Data AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

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 # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Show AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Generic AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Associated Types

type Rep AssociateDeviceWithRoom :: Type -> Type #

Hashable AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

ToJSON AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

AWSRequest AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Associated Types

type Rs AssociateDeviceWithRoom :: Type #

ToHeaders AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

ToPath AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

ToQuery AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

NFData AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Methods

rnf :: AssociateDeviceWithRoom -> () #

type Rep AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoom = D1 (MetaData "AssociateDeviceWithRoom" "Network.AWS.AlexaBusiness.AssociateDeviceWithRoom" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" False) (C1 (MetaCons "AssociateDeviceWithRoom'" PrefixI True) (S1 (MetaSel (Just "_adwrDeviceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_adwrRoomARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs AssociateDeviceWithRoom Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

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 # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Data AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

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 # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Show AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Generic AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

Associated Types

type Rep AssociateDeviceWithRoomResponse :: Type -> Type #

NFData AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoomResponse Source # 
Instance details

Defined in Network.AWS.AlexaBusiness.AssociateDeviceWithRoom

type Rep AssociateDeviceWithRoomResponse = D1 (MetaData "AssociateDeviceWithRoomResponse" "Network.AWS.AlexaBusiness.AssociateDeviceWithRoom" "amazonka-alexa-business-1.6.1-FQuG4RoJ6vRJhvV2Vb1OnQ" True) (C1 (MetaCons "AssociateDeviceWithRoomResponse'" PrefixI True) (S1 (MetaSel (Just "_adwrrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses