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 the settings for the specified user, such as phone number settings.
Synopsis
- data UpdateUserSettings = UpdateUserSettings' {
- accountId :: Text
- userId :: Text
- userSettings :: UserSettings
- newUpdateUserSettings :: Text -> Text -> UserSettings -> UpdateUserSettings
- updateUserSettings_accountId :: Lens' UpdateUserSettings Text
- updateUserSettings_userId :: Lens' UpdateUserSettings Text
- updateUserSettings_userSettings :: Lens' UpdateUserSettings UserSettings
- data UpdateUserSettingsResponse = UpdateUserSettingsResponse' {
- newUpdateUserSettingsResponse :: UpdateUserSettingsResponse
Creating a Request
data UpdateUserSettings Source #
See: newUpdateUserSettings
smart constructor.
UpdateUserSettings' | |
|
Instances
newUpdateUserSettings Source #
:: Text | |
-> Text | |
-> UserSettings | |
-> UpdateUserSettings |
Create a value of UpdateUserSettings
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:accountId:UpdateUserSettings'
, updateUserSettings_accountId
- The Amazon Chime account ID.
$sel:userId:UpdateUserSettings'
, updateUserSettings_userId
- The user ID.
$sel:userSettings:UpdateUserSettings'
, updateUserSettings_userSettings
- The user settings to update.
Request Lenses
updateUserSettings_accountId :: Lens' UpdateUserSettings Text Source #
The Amazon Chime account ID.
updateUserSettings_userId :: Lens' UpdateUserSettings Text Source #
The user ID.
updateUserSettings_userSettings :: Lens' UpdateUserSettings UserSettings Source #
The user settings to update.
Destructuring the Response
data UpdateUserSettingsResponse Source #
See: newUpdateUserSettingsResponse
smart constructor.
Instances
Eq UpdateUserSettingsResponse Source # | |
Read UpdateUserSettingsResponse Source # | |
Show UpdateUserSettingsResponse Source # | |
Defined in Amazonka.Chime.UpdateUserSettings showsPrec :: Int -> UpdateUserSettingsResponse -> ShowS # show :: UpdateUserSettingsResponse -> String # showList :: [UpdateUserSettingsResponse] -> ShowS # | |
Generic UpdateUserSettingsResponse Source # | |
Defined in Amazonka.Chime.UpdateUserSettings type Rep UpdateUserSettingsResponse :: Type -> Type # | |
NFData UpdateUserSettingsResponse Source # | |
Defined in Amazonka.Chime.UpdateUserSettings rnf :: UpdateUserSettingsResponse -> () # | |
type Rep UpdateUserSettingsResponse Source # | |
Defined in Amazonka.Chime.UpdateUserSettings |
newUpdateUserSettingsResponse :: UpdateUserSettingsResponse Source #
Create a value of UpdateUserSettingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.