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 |
Gets the user pool multi-factor authentication (MFA) configuration.
Synopsis
- data GetUserPoolMfaConfig = GetUserPoolMfaConfig' {
- userPoolId :: Text
- newGetUserPoolMfaConfig :: Text -> GetUserPoolMfaConfig
- getUserPoolMfaConfig_userPoolId :: Lens' GetUserPoolMfaConfig Text
- data GetUserPoolMfaConfigResponse = GetUserPoolMfaConfigResponse' {}
- newGetUserPoolMfaConfigResponse :: Int -> GetUserPoolMfaConfigResponse
- getUserPoolMfaConfigResponse_smsMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SmsMfaConfigType)
- getUserPoolMfaConfigResponse_softwareTokenMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SoftwareTokenMfaConfigType)
- getUserPoolMfaConfigResponse_mfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe UserPoolMfaType)
- getUserPoolMfaConfigResponse_httpStatus :: Lens' GetUserPoolMfaConfigResponse Int
Creating a Request
data GetUserPoolMfaConfig Source #
See: newGetUserPoolMfaConfig
smart constructor.
GetUserPoolMfaConfig' | |
|
Instances
newGetUserPoolMfaConfig Source #
Create a value of GetUserPoolMfaConfig
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:userPoolId:GetUserPoolMfaConfig'
, getUserPoolMfaConfig_userPoolId
- The user pool ID.
Request Lenses
getUserPoolMfaConfig_userPoolId :: Lens' GetUserPoolMfaConfig Text Source #
The user pool ID.
Destructuring the Response
data GetUserPoolMfaConfigResponse Source #
See: newGetUserPoolMfaConfigResponse
smart constructor.
GetUserPoolMfaConfigResponse' | |
|
Instances
newGetUserPoolMfaConfigResponse Source #
Create a value of GetUserPoolMfaConfigResponse
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:smsMfaConfiguration:GetUserPoolMfaConfigResponse'
, getUserPoolMfaConfigResponse_smsMfaConfiguration
- The SMS text message multi-factor (MFA) configuration.
$sel:softwareTokenMfaConfiguration:GetUserPoolMfaConfigResponse'
, getUserPoolMfaConfigResponse_softwareTokenMfaConfiguration
- The software token multi-factor (MFA) configuration.
$sel:mfaConfiguration:GetUserPoolMfaConfigResponse'
, getUserPoolMfaConfigResponse_mfaConfiguration
- The multi-factor (MFA) configuration. Valid values include:
OFF
MFA will not be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor enabled.
$sel:httpStatus:GetUserPoolMfaConfigResponse'
, getUserPoolMfaConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getUserPoolMfaConfigResponse_smsMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SmsMfaConfigType) Source #
The SMS text message multi-factor (MFA) configuration.
getUserPoolMfaConfigResponse_softwareTokenMfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe SoftwareTokenMfaConfigType) Source #
The software token multi-factor (MFA) configuration.
getUserPoolMfaConfigResponse_mfaConfiguration :: Lens' GetUserPoolMfaConfigResponse (Maybe UserPoolMfaType) Source #
The multi-factor (MFA) configuration. Valid values include:
OFF
MFA will not be used for any users.ON
MFA is required for all users to sign in.OPTIONAL
MFA will be required only for individual users who have an MFA factor enabled.
getUserPoolMfaConfigResponse_httpStatus :: Lens' GetUserPoolMfaConfigResponse Int Source #
The response's http status code.