| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.Types.MFAOptionType
Description
Documentation
data MFAOptionType Source #
This data type is no longer supported. Applies only to SMS multi-factor authentication (MFA) configurations. Does not apply to time-based one-time password (TOTP) software token MFA configurations.
See: newMFAOptionType smart constructor.
Constructors
| MFAOptionType' | |
Fields
| |
Instances
newMFAOptionType :: MFAOptionType Source #
Create a value of MFAOptionType 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:attributeName:MFAOptionType', mfaOptionType_attributeName - The attribute name of the MFA option type. The only valid value is
phone_number.
$sel:deliveryMedium:MFAOptionType', mfaOptionType_deliveryMedium - The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.
mfaOptionType_attributeName :: Lens' MFAOptionType (Maybe Text) Source #
The attribute name of the MFA option type. The only valid value is
phone_number.
mfaOptionType_deliveryMedium :: Lens' MFAOptionType (Maybe DeliveryMediumType) Source #
The delivery medium to send the MFA code. You can use this parameter to
set only the SMS delivery medium value.