| 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.SetUserPoolMFAConfig
Description
Set the user pool MFA configuration.
- setUserPoolMFAConfig :: Text -> SetUserPoolMFAConfig
- data SetUserPoolMFAConfig
- supmcSmsMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SmsMFAConfigType)
- supmcSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SoftwareTokenMFAConfigType)
- supmcMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe UserPoolMFAType)
- supmcUserPoolId :: Lens' SetUserPoolMFAConfig Text
- setUserPoolMFAConfigResponse :: Int -> SetUserPoolMFAConfigResponse
- data SetUserPoolMFAConfigResponse
- supmcrsSmsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType)
- supmcrsSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType)
- supmcrsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe UserPoolMFAType)
- supmcrsResponseStatus :: Lens' SetUserPoolMFAConfigResponse Int
Creating a Request
Arguments
| :: Text | |
| -> SetUserPoolMFAConfig |
Creates a value of SetUserPoolMFAConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
supmcSmsMFAConfiguration- The SMS text message MFA configuration.supmcSoftwareTokenMFAConfiguration- The software token MFA configuration.supmcMFAConfiguration- The MFA configuration.supmcUserPoolId- The user pool ID.
data SetUserPoolMFAConfig Source #
See: setUserPoolMFAConfig smart constructor.
Instances
Request Lenses
supmcSmsMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SmsMFAConfigType) Source #
The SMS text message MFA configuration.
supmcSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe SoftwareTokenMFAConfigType) Source #
The software token MFA configuration.
supmcMFAConfiguration :: Lens' SetUserPoolMFAConfig (Maybe UserPoolMFAType) Source #
The MFA configuration.
supmcUserPoolId :: Lens' SetUserPoolMFAConfig Text Source #
The user pool ID.
Destructuring the Response
setUserPoolMFAConfigResponse Source #
Arguments
| :: Int | |
| -> SetUserPoolMFAConfigResponse |
Creates a value of SetUserPoolMFAConfigResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
supmcrsSmsMFAConfiguration- The SMS text message MFA configuration.supmcrsSoftwareTokenMFAConfiguration- The software token MFA configuration.supmcrsMFAConfiguration- The MFA configuration.supmcrsResponseStatus- -- | The response status code.
data SetUserPoolMFAConfigResponse Source #
See: setUserPoolMFAConfigResponse smart constructor.
Instances
Response Lenses
supmcrsSmsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType) Source #
The SMS text message MFA configuration.
supmcrsSoftwareTokenMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType) Source #
The software token MFA configuration.
supmcrsMFAConfiguration :: Lens' SetUserPoolMFAConfigResponse (Maybe UserPoolMFAType) Source #
The MFA configuration.
supmcrsResponseStatus :: Lens' SetUserPoolMFAConfigResponse Int Source #
- - | The response status code.