libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Description

 
Synopsis

Documentation

data MFAOptionType Source #

This data type is no longer supported. You can use it only for SMS MFA configurations. You can't use it for TOTP software token MFA configurations.

See: newMFAOptionType smart constructor.

Constructors

MFAOptionType' 

Fields

Instances

Instances details
Eq MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Read MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Show 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 #

NFData MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

Methods

rnf :: MFAOptionType -> () #

Hashable MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

ToJSON MFAOptionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.MFAOptionType

FromJSON 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" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "MFAOptionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deliveryMedium") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeliveryMediumType)) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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: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.

$sel:attributeName:MFAOptionType', mfaOptionType_attributeName - 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.

mfaOptionType_attributeName :: Lens' MFAOptionType (Maybe Text) Source #

The attribute name of the MFA option type. The only valid value is phone_number.