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

Contents

Description

Resets a device and its account to the known default settings, by clearing all information and settings set by previous users.

Synopsis

Creating a Request

startDeviceSync :: StartDeviceSync Source #

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

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

  • sdsDeviceARN - The ARN of the device to sync. Required.
  • sdsRoomARN - The ARN of the room with which the device to sync is associated. Required.
  • sdsFeatures - Request structure to start the device sync. Required.

data StartDeviceSync Source #

See: startDeviceSync smart constructor.

Instances

Eq StartDeviceSync Source # 
Data StartDeviceSync Source # 

Methods

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

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

toConstr :: StartDeviceSync -> Constr #

dataTypeOf :: StartDeviceSync -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: StartDeviceSync -> () #

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

Request Lenses

sdsDeviceARN :: Lens' StartDeviceSync (Maybe Text) Source #

The ARN of the device to sync. Required.

sdsRoomARN :: Lens' StartDeviceSync (Maybe Text) Source #

The ARN of the room with which the device to sync is associated. Required.

sdsFeatures :: Lens' StartDeviceSync [Feature] Source #

Request structure to start the device sync. Required.

Destructuring the Response

startDeviceSyncResponse Source #

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

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

data StartDeviceSyncResponse Source #

See: startDeviceSyncResponse smart constructor.

Instances

Eq StartDeviceSyncResponse Source # 
Data StartDeviceSyncResponse Source # 

Methods

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

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

toConstr :: StartDeviceSyncResponse -> Constr #

dataTypeOf :: StartDeviceSyncResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartDeviceSyncResponse Source # 
Show StartDeviceSyncResponse Source # 
Generic StartDeviceSyncResponse Source # 
NFData StartDeviceSyncResponse Source # 

Methods

rnf :: StartDeviceSyncResponse -> () #

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

Response Lenses