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

Contents

Description

Updates room details by room ARN.

Synopsis

Creating a Request

updateRoom :: UpdateRoom Source #

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

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

data UpdateRoom Source #

See: updateRoom smart constructor.

Instances

Eq UpdateRoom Source # 
Data UpdateRoom Source # 

Methods

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

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

toConstr :: UpdateRoom -> Constr #

dataTypeOf :: UpdateRoom -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRoom Source # 
Show UpdateRoom Source # 
Generic UpdateRoom Source # 

Associated Types

type Rep UpdateRoom :: * -> * #

Hashable UpdateRoom Source # 
ToJSON UpdateRoom Source # 
NFData UpdateRoom Source # 

Methods

rnf :: UpdateRoom -> () #

AWSRequest UpdateRoom Source # 
ToHeaders UpdateRoom Source # 

Methods

toHeaders :: UpdateRoom -> [Header] #

ToPath UpdateRoom Source # 
ToQuery UpdateRoom Source # 
type Rep UpdateRoom Source # 
type Rep UpdateRoom = D1 * (MetaData "UpdateRoom" "Network.AWS.AlexaBusiness.UpdateRoom" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "UpdateRoom'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_urProfileARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_urProviderCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_urRoomARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_urRoomName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_urDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))
type Rs UpdateRoom Source # 

Request Lenses

urProfileARN :: Lens' UpdateRoom (Maybe Text) Source #

The updated profile ARN for the room.

urProviderCalendarId :: Lens' UpdateRoom (Maybe Text) Source #

The updated provider calendar ARN for the room.

urRoomARN :: Lens' UpdateRoom (Maybe Text) Source #

The ARN of the room to update.

urRoomName :: Lens' UpdateRoom (Maybe Text) Source #

The updated name for the room.

urDescription :: Lens' UpdateRoom (Maybe Text) Source #

The updated description for the room.

Destructuring the Response

updateRoomResponse Source #

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

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

data UpdateRoomResponse Source #

See: updateRoomResponse smart constructor.

Instances

Eq UpdateRoomResponse Source # 
Data UpdateRoomResponse Source # 

Methods

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

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

toConstr :: UpdateRoomResponse -> Constr #

dataTypeOf :: UpdateRoomResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRoomResponse Source # 
Show UpdateRoomResponse Source # 
Generic UpdateRoomResponse Source # 
NFData UpdateRoomResponse Source # 

Methods

rnf :: UpdateRoomResponse -> () #

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

Response Lenses

urrsResponseStatus :: Lens' UpdateRoomResponse Int Source #

  • - | The response status code.