| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AlexaBusiness.UpdateProfile
Description
Updates an existing room profile by room profile ARN.
Synopsis
- data UpdateProfile = UpdateProfile' {
- address :: Maybe Text
- dataRetentionOptIn :: Maybe Bool
- distanceUnit :: Maybe DistanceUnit
- isDefault :: Maybe Bool
- locale :: Maybe Text
- maxVolumeLimit :: Maybe Int
- meetingRoomConfiguration :: Maybe UpdateMeetingRoomConfiguration
- pSTNEnabled :: Maybe Bool
- profileArn :: Maybe Text
- profileName :: Maybe Text
- setupModeDisabled :: Maybe Bool
- temperatureUnit :: Maybe TemperatureUnit
- timezone :: Maybe Text
- wakeWord :: Maybe WakeWord
- newUpdateProfile :: UpdateProfile
- updateProfile_address :: Lens' UpdateProfile (Maybe Text)
- updateProfile_dataRetentionOptIn :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_distanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit)
- updateProfile_isDefault :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_locale :: Lens' UpdateProfile (Maybe Text)
- updateProfile_maxVolumeLimit :: Lens' UpdateProfile (Maybe Int)
- updateProfile_meetingRoomConfiguration :: Lens' UpdateProfile (Maybe UpdateMeetingRoomConfiguration)
- updateProfile_pSTNEnabled :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_profileArn :: Lens' UpdateProfile (Maybe Text)
- updateProfile_profileName :: Lens' UpdateProfile (Maybe Text)
- updateProfile_setupModeDisabled :: Lens' UpdateProfile (Maybe Bool)
- updateProfile_temperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit)
- updateProfile_timezone :: Lens' UpdateProfile (Maybe Text)
- updateProfile_wakeWord :: Lens' UpdateProfile (Maybe WakeWord)
- data UpdateProfileResponse = UpdateProfileResponse' {
- httpStatus :: Int
- newUpdateProfileResponse :: Int -> UpdateProfileResponse
- updateProfileResponse_httpStatus :: Lens' UpdateProfileResponse Int
Creating a Request
data UpdateProfile Source #
See: newUpdateProfile smart constructor.
Constructors
| UpdateProfile' | |
Fields
| |
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:
UpdateProfile, updateProfile_address - The updated address for the room profile.
UpdateProfile, updateProfile_dataRetentionOptIn - Whether data retention of the profile is enabled.
UpdateProfile, updateProfile_distanceUnit - The updated distance unit for the room profile.
UpdateProfile, updateProfile_isDefault - Sets the profile as default if selected. If this is missing, no update
is done to the default status.
UpdateProfile, updateProfile_locale - The updated locale for the room profile. (This is currently only
available to a limited preview audience.)
UpdateProfile, updateProfile_maxVolumeLimit - The updated maximum volume limit for the room profile.
UpdateProfile, updateProfile_meetingRoomConfiguration - The updated meeting room settings of a room profile.
UpdateProfile, updateProfile_pSTNEnabled - Whether the PSTN setting of the room profile is enabled.
UpdateProfile, updateProfile_profileArn - The ARN of the room profile to update. Required.
UpdateProfile, updateProfile_profileName - The updated name for the room profile.
UpdateProfile, updateProfile_setupModeDisabled - Whether the setup mode of the profile is enabled.
UpdateProfile, updateProfile_temperatureUnit - The updated temperature unit for the room profile.
UpdateProfile, updateProfile_timezone - The updated timezone for the room profile.
UpdateProfile, updateProfile_wakeWord - The updated wake word for the room profile.
Request Lenses
updateProfile_address :: Lens' UpdateProfile (Maybe Text) Source #
The updated address for the room profile.
updateProfile_dataRetentionOptIn :: Lens' UpdateProfile (Maybe Bool) Source #
Whether data retention of the profile is enabled.
updateProfile_distanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit) Source #
The updated distance unit 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.
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_maxVolumeLimit :: Lens' UpdateProfile (Maybe Int) Source #
The updated maximum volume limit for the room profile.
updateProfile_meetingRoomConfiguration :: Lens' UpdateProfile (Maybe UpdateMeetingRoomConfiguration) Source #
The updated meeting room settings of a room profile.
updateProfile_pSTNEnabled :: Lens' UpdateProfile (Maybe Bool) Source #
Whether the PSTN setting of the room profile is enabled.
updateProfile_profileArn :: Lens' UpdateProfile (Maybe Text) Source #
The ARN of the room profile to update. Required.
updateProfile_profileName :: Lens' UpdateProfile (Maybe Text) Source #
The updated name for the room profile.
updateProfile_setupModeDisabled :: Lens' UpdateProfile (Maybe Bool) Source #
Whether the setup mode of the profile is enabled.
updateProfile_temperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit) Source #
The updated temperature unit for the room profile.
updateProfile_timezone :: Lens' UpdateProfile (Maybe Text) Source #
The updated timezone for the room profile.
updateProfile_wakeWord :: Lens' UpdateProfile (Maybe WakeWord) Source #
The updated wake word for the room profile.
Destructuring the Response
data UpdateProfileResponse Source #
See: newUpdateProfileResponse smart constructor.
Constructors
| UpdateProfileResponse' | |
Fields
| |
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.