Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates an existing room profile by room profile ARN.
Synopsis
- updateProfile :: UpdateProfile
- data UpdateProfile
- upSetupModeDisabled :: Lens' UpdateProfile (Maybe Bool)
- upPSTNEnabled :: Lens' UpdateProfile (Maybe Bool)
- upDistanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit)
- upAddress :: Lens' UpdateProfile (Maybe Text)
- upProfileARN :: Lens' UpdateProfile (Maybe Text)
- upWakeWord :: Lens' UpdateProfile (Maybe WakeWord)
- upProfileName :: Lens' UpdateProfile (Maybe Text)
- upTemperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit)
- upTimezone :: Lens' UpdateProfile (Maybe Text)
- upMaxVolumeLimit :: Lens' UpdateProfile (Maybe Int)
- updateProfileResponse :: Int -> UpdateProfileResponse
- data UpdateProfileResponse
- uprsResponseStatus :: Lens' UpdateProfileResponse Int
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:
upSetupModeDisabled
- Whether the setup mode of the profile is enabled.upPSTNEnabled
- Whether the PSTN setting of the room profile is enabled.upDistanceUnit
- The updated distance unit for the room profile.upAddress
- The updated address for the room profile.upProfileARN
- The ARN of the room profile to update. Required.upWakeWord
- The updated wake word for the room profile.upProfileName
- The updated name for the room profile.upTemperatureUnit
- The updated temperature unit for the room profile.upTimezone
- The updated timezone for the room profile.upMaxVolumeLimit
- The updated maximum volume limit for the room profile.
data UpdateProfile Source #
See: updateProfile
smart constructor.
Instances
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.
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:
uprsResponseStatus
- -- | The response status code.
data UpdateProfileResponse Source #
See: updateProfileResponse
smart constructor.
Instances
Response Lenses
uprsResponseStatus :: Lens' UpdateProfileResponse Int Source #
- - | The response status code.