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 |
This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use SetUserMFAPreference instead.
Synopsis
- data SetUserSettings = SetUserSettings' {}
- newSetUserSettings :: Text -> SetUserSettings
- setUserSettings_accessToken :: Lens' SetUserSettings Text
- setUserSettings_mfaOptions :: Lens' SetUserSettings [MFAOptionType]
- data SetUserSettingsResponse = SetUserSettingsResponse' {
- httpStatus :: Int
- newSetUserSettingsResponse :: Int -> SetUserSettingsResponse
- setUserSettingsResponse_httpStatus :: Lens' SetUserSettingsResponse Int
Creating a Request
data SetUserSettings Source #
Represents the request to set user settings.
See: newSetUserSettings
smart constructor.
SetUserSettings' | |
|
Instances
Create a value of SetUserSettings
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:accessToken:SetUserSettings'
, setUserSettings_accessToken
- The access token for the set user settings request.
$sel:mfaOptions:SetUserSettings'
, setUserSettings_mfaOptions
- You can use this parameter only to set an SMS configuration that uses
SMS for delivery.
Request Lenses
setUserSettings_accessToken :: Lens' SetUserSettings Text Source #
The access token for the set user settings request.
setUserSettings_mfaOptions :: Lens' SetUserSettings [MFAOptionType] Source #
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
Destructuring the Response
data SetUserSettingsResponse Source #
The response from the server for a set user settings request.
See: newSetUserSettingsResponse
smart constructor.
SetUserSettingsResponse' | |
|
Instances
newSetUserSettingsResponse Source #
Create a value of SetUserSettingsResponse
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:SetUserSettingsResponse'
, setUserSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
setUserSettingsResponse_httpStatus :: Lens' SetUserSettingsResponse Int Source #
The response's http status code.