| 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.GetUserPoolMFAConfig
Description
Gets the user pool multi-factor authentication (MFA) configuration.
Synopsis
- getUserPoolMFAConfig :: Text -> GetUserPoolMFAConfig
- data GetUserPoolMFAConfig
- gupmcUserPoolId :: Lens' GetUserPoolMFAConfig Text
- getUserPoolMFAConfigResponse :: Int -> GetUserPoolMFAConfigResponse
- data GetUserPoolMFAConfigResponse
- gupmcrsSmsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType)
- gupmcrsSoftwareTokenMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType)
- gupmcrsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe UserPoolMFAType)
- gupmcrsResponseStatus :: Lens' GetUserPoolMFAConfigResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetUserPoolMFAConfig |
Creates a value of GetUserPoolMFAConfig with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gupmcUserPoolId- The user pool ID.
data GetUserPoolMFAConfig Source #
See: getUserPoolMFAConfig smart constructor.
Instances
Request Lenses
gupmcUserPoolId :: Lens' GetUserPoolMFAConfig Text Source #
The user pool ID.
Destructuring the Response
getUserPoolMFAConfigResponse Source #
Arguments
| :: Int | |
| -> GetUserPoolMFAConfigResponse |
Creates a value of GetUserPoolMFAConfigResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gupmcrsSmsMFAConfiguration- The SMS text message multi-factor (MFA) configuration.gupmcrsSoftwareTokenMFAConfiguration- The software token multi-factor (MFA) configuration.gupmcrsMFAConfiguration- The multi-factor (MFA) configuration.gupmcrsResponseStatus- -- | The response status code.
data GetUserPoolMFAConfigResponse Source #
See: getUserPoolMFAConfigResponse smart constructor.
Instances
Response Lenses
gupmcrsSmsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SmsMFAConfigType) Source #
The SMS text message multi-factor (MFA) configuration.
gupmcrsSoftwareTokenMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe SoftwareTokenMFAConfigType) Source #
The software token multi-factor (MFA) configuration.
gupmcrsMFAConfiguration :: Lens' GetUserPoolMFAConfigResponse (Maybe UserPoolMFAType) Source #
The multi-factor (MFA) configuration.
gupmcrsResponseStatus :: Lens' GetUserPoolMFAConfigResponse Int Source #
- - | The response status code.