amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Description

 
Synopsis

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

Instances details
FromJSON MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

ToJSON MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Generic MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Associated Types

type Rep MFAOptionType :: Type -> Type #

Read MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Show MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

NFData MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Methods

rnf :: MFAOptionType -> () #

Eq MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Hashable MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

type Rep MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

type Rep MFAOptionType = D1 ('MetaData "MFAOptionType" "Amazonka.CognitoIdentityProvider.Types.MFAOptionType" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "MFAOptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deliveryMedium") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeliveryMediumType))))

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.