| 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 |
Network.AWS.CognitoIdentityProvider.SetUserMFAPreference
Description
Set the user's multi-factor authentication (MFA) method preference.
- setUserMFAPreference :: Text -> SetUserMFAPreference
- data SetUserMFAPreference
- sumpSMSMFASettings :: Lens' SetUserMFAPreference (Maybe SMSMFASettingsType)
- sumpSoftwareTokenMFASettings :: Lens' SetUserMFAPreference (Maybe SoftwareTokenMFASettingsType)
- sumpAccessToken :: Lens' SetUserMFAPreference Text
- setUserMFAPreferenceResponse :: Int -> SetUserMFAPreferenceResponse
- data SetUserMFAPreferenceResponse
- sumprsResponseStatus :: Lens' SetUserMFAPreferenceResponse Int
Creating a Request
Arguments
| :: Text | |
| -> SetUserMFAPreference |
Creates a value of SetUserMFAPreference with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sumpSMSMFASettings- The SMS text message multi-factor authentication (MFA) settings.sumpSoftwareTokenMFASettings- The time-based one-time password software token MFA settings.sumpAccessToken- The access token.
data SetUserMFAPreference Source #
See: setUserMFAPreference smart constructor.
Instances
Request Lenses
sumpSMSMFASettings :: Lens' SetUserMFAPreference (Maybe SMSMFASettingsType) Source #
The SMS text message multi-factor authentication (MFA) settings.
sumpSoftwareTokenMFASettings :: Lens' SetUserMFAPreference (Maybe SoftwareTokenMFASettingsType) Source #
The time-based one-time password software token MFA settings.
sumpAccessToken :: Lens' SetUserMFAPreference Text Source #
The access token.
Destructuring the Response
setUserMFAPreferenceResponse Source #
Arguments
| :: Int | |
| -> SetUserMFAPreferenceResponse |
Creates a value of SetUserMFAPreferenceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sumprsResponseStatus- -- | The response status code.
data SetUserMFAPreferenceResponse Source #
See: setUserMFAPreferenceResponse smart constructor.
Instances
Response Lenses
sumprsResponseStatus :: Lens' SetUserMFAPreferenceResponse Int Source #
- - | The response status code.