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

Contents

Description

Updates an existing room profile by room profile ARN.

Synopsis

Creating a Request

updateProfile :: UpdateProfile Source #

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

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

data UpdateProfile Source #

See: updateProfile smart constructor.

Instances

Eq UpdateProfile Source # 
Data UpdateProfile Source # 

Methods

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

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

toConstr :: UpdateProfile -> Constr #

dataTypeOf :: UpdateProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateProfile Source # 
Show UpdateProfile Source # 
Generic UpdateProfile Source # 

Associated Types

type Rep UpdateProfile :: * -> * #

Hashable UpdateProfile Source # 
ToJSON UpdateProfile Source # 
NFData UpdateProfile Source # 

Methods

rnf :: UpdateProfile -> () #

AWSRequest UpdateProfile Source # 
ToHeaders UpdateProfile Source # 
ToPath UpdateProfile Source # 
ToQuery UpdateProfile Source # 
type Rep UpdateProfile Source # 
type Rep UpdateProfile = D1 * (MetaData "UpdateProfile" "Network.AWS.AlexaBusiness.UpdateProfile" "amazonka-alexa-business-1.6.0-DI5T43QkJWfD1hlGpmjsnd" False) (C1 * (MetaCons "UpdateProfile'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_upSetupModeDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_upPSTNEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upDistanceUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DistanceUnit))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_upProfileARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_upWakeWord") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe WakeWord))) (S1 * (MetaSel (Just Symbol "_upProfileName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upTemperatureUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TemperatureUnit))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_upMaxVolumeLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))))))))
type Rs UpdateProfile Source # 

Request Lenses

upSetupModeDisabled :: Lens' UpdateProfile (Maybe Bool) Source #

Whether the setup mode of the profile is enabled.

upPSTNEnabled :: Lens' UpdateProfile (Maybe Bool) Source #

Whether the PSTN setting of the room profile is enabled.

upDistanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit) Source #

The updated distance unit for the room profile.

upAddress :: Lens' UpdateProfile (Maybe Text) Source #

The updated address for the room profile.

upProfileARN :: Lens' UpdateProfile (Maybe Text) Source #

The ARN of the room profile to update. Required.

upWakeWord :: Lens' UpdateProfile (Maybe WakeWord) Source #

The updated wake word for the room profile.

upProfileName :: Lens' UpdateProfile (Maybe Text) Source #

The updated name for the room profile.

upTemperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit) Source #

The updated temperature unit for the room profile.

upTimezone :: Lens' UpdateProfile (Maybe Text) Source #

The updated timezone for the room profile.

upMaxVolumeLimit :: Lens' UpdateProfile (Maybe Int) Source #

The updated maximum volume limit for the room profile.

Destructuring the Response

updateProfileResponse Source #

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

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

data UpdateProfileResponse Source #

See: updateProfileResponse smart constructor.

Instances

Eq UpdateProfileResponse Source # 
Data UpdateProfileResponse Source # 

Methods

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

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

toConstr :: UpdateProfileResponse -> Constr #

dataTypeOf :: UpdateProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateProfileResponse Source # 
Show UpdateProfileResponse Source # 
Generic UpdateProfileResponse Source # 
NFData UpdateProfileResponse Source # 

Methods

rnf :: UpdateProfileResponse -> () #

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

Response Lenses

uprsResponseStatus :: Lens' UpdateProfileResponse Int Source #

  • - | The response status code.