Copyright | (c) 2013-2021 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 |
Updates an existing room profile by room profile ARN.
Synopsis
- data UpdateProfile = UpdateProfile' {
- setupModeDisabled :: Maybe Bool
- pSTNEnabled :: Maybe Bool
- distanceUnit :: Maybe DistanceUnit
- locale :: Maybe Text
- address :: Maybe Text
- profileArn :: Maybe Text
- wakeWord :: Maybe WakeWord
- meetingRoomConfiguration :: Maybe UpdateMeetingRoomConfiguration
- profileName :: Maybe Text
- temperatureUnit :: Maybe TemperatureUnit
- dataRetentionOptIn :: Maybe Bool
- timezone :: Maybe Text
- maxVolumeLimit :: Maybe Int
- isDefault :: Maybe Bool
- newUpdateProfile :: UpdateProfile
- updateProfile_setupModeDisabled :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_pSTNEnabled :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_distanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit)
- updateProfile_locale :: Lens' UpdateProfile (Maybe Text)
- updateProfile_address :: Lens' UpdateProfile (Maybe Text)
- updateProfile_profileArn :: Lens' UpdateProfile (Maybe Text)
- updateProfile_wakeWord :: Lens' UpdateProfile (Maybe WakeWord)
- updateProfile_meetingRoomConfiguration :: Lens' UpdateProfile (Maybe UpdateMeetingRoomConfiguration)
- updateProfile_profileName :: Lens' UpdateProfile (Maybe Text)
- updateProfile_temperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit)
- updateProfile_dataRetentionOptIn :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_timezone :: Lens' UpdateProfile (Maybe Text)
- updateProfile_maxVolumeLimit :: Lens' UpdateProfile (Maybe Int)
- updateProfile_isDefault :: Lens' UpdateProfile (Maybe Bool)
- data UpdateProfileResponse = UpdateProfileResponse' {
- httpStatus :: Int
- newUpdateProfileResponse :: Int -> UpdateProfileResponse
- updateProfileResponse_httpStatus :: Lens' UpdateProfileResponse Int
Creating a Request
data UpdateProfile Source #
See: newUpdateProfile
smart constructor.
UpdateProfile' | |
|
Instances
newUpdateProfile :: UpdateProfile Source #
Create a value of UpdateProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:setupModeDisabled:UpdateProfile'
, updateProfile_setupModeDisabled
- Whether the setup mode of the profile is enabled.
$sel:pSTNEnabled:UpdateProfile'
, updateProfile_pSTNEnabled
- Whether the PSTN setting of the room profile is enabled.
$sel:distanceUnit:UpdateProfile'
, updateProfile_distanceUnit
- The updated distance unit for the room profile.
$sel:locale:UpdateProfile'
, updateProfile_locale
- The updated locale for the room profile. (This is currently only
available to a limited preview audience.)
$sel:address:UpdateProfile'
, updateProfile_address
- The updated address for the room profile.
$sel:profileArn:UpdateProfile'
, updateProfile_profileArn
- The ARN of the room profile to update. Required.
$sel:wakeWord:UpdateProfile'
, updateProfile_wakeWord
- The updated wake word for the room profile.
$sel:meetingRoomConfiguration:UpdateProfile'
, updateProfile_meetingRoomConfiguration
- The updated meeting room settings of a room profile.
$sel:profileName:UpdateProfile'
, updateProfile_profileName
- The updated name for the room profile.
$sel:temperatureUnit:UpdateProfile'
, updateProfile_temperatureUnit
- The updated temperature unit for the room profile.
$sel:dataRetentionOptIn:UpdateProfile'
, updateProfile_dataRetentionOptIn
- Whether data retention of the profile is enabled.
$sel:timezone:UpdateProfile'
, updateProfile_timezone
- The updated timezone for the room profile.
$sel:maxVolumeLimit:UpdateProfile'
, updateProfile_maxVolumeLimit
- The updated maximum volume limit for the room profile.
$sel:isDefault:UpdateProfile'
, updateProfile_isDefault
- Sets the profile as default if selected. If this is missing, no update
is done to the default status.
Request Lenses
updateProfile_setupModeDisabled :: Lens' UpdateProfile (Maybe Bool) Source #
Whether the setup mode of the profile is enabled.
updateProfile_pSTNEnabled :: Lens' UpdateProfile (Maybe Bool) Source #
Whether the PSTN setting of the room profile is enabled.
updateProfile_distanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit) Source #
The updated distance unit for the room profile.
updateProfile_locale :: Lens' UpdateProfile (Maybe Text) Source #
The updated locale for the room profile. (This is currently only available to a limited preview audience.)
updateProfile_address :: Lens' UpdateProfile (Maybe Text) Source #
The updated address for the room profile.
updateProfile_profileArn :: Lens' UpdateProfile (Maybe Text) Source #
The ARN of the room profile to update. Required.
updateProfile_wakeWord :: Lens' UpdateProfile (Maybe WakeWord) Source #
The updated wake word for the room profile.
updateProfile_meetingRoomConfiguration :: Lens' UpdateProfile (Maybe UpdateMeetingRoomConfiguration) Source #
The updated meeting room settings of a room profile.
updateProfile_profileName :: Lens' UpdateProfile (Maybe Text) Source #
The updated name for the room profile.
updateProfile_temperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit) Source #
The updated temperature unit for the room profile.
updateProfile_dataRetentionOptIn :: Lens' UpdateProfile (Maybe Bool) Source #
Whether data retention of the profile is enabled.
updateProfile_timezone :: Lens' UpdateProfile (Maybe Text) Source #
The updated timezone for the room profile.
updateProfile_maxVolumeLimit :: Lens' UpdateProfile (Maybe Int) Source #
The updated maximum volume limit for the room profile.
updateProfile_isDefault :: Lens' UpdateProfile (Maybe Bool) Source #
Sets the profile as default if selected. If this is missing, no update is done to the default status.
Destructuring the Response
data UpdateProfileResponse Source #
See: newUpdateProfileResponse
smart constructor.
UpdateProfileResponse' | |
|
Instances
newUpdateProfileResponse Source #
Create a value of UpdateProfileResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateProfileResponse'
, updateProfileResponse_httpStatus
- The response's http status code.
Response Lenses
updateProfileResponse_httpStatus :: Lens' UpdateProfileResponse Int Source #
The response's http status code.