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

Description

 
Synopsis

Documentation

data SmsMfaConfigType Source #

The SMS text message multi-factor authentication (MFA) configuration type.

See: newSmsMfaConfigType smart constructor.

Constructors

SmsMfaConfigType' 

Fields

  • smsAuthenticationMessage :: Maybe Text

    The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.

  • smsConfiguration :: Maybe SmsConfigurationType

    The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.

Instances

Instances details
FromJSON SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

ToJSON SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

Generic SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

Associated Types

type Rep SmsMfaConfigType :: Type -> Type #

Read SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

Show SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

NFData SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

Methods

rnf :: SmsMfaConfigType -> () #

Eq SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

Hashable SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

type Rep SmsMfaConfigType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.SmsMfaConfigType

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

newSmsMfaConfigType :: SmsMfaConfigType Source #

Create a value of SmsMfaConfigType 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:smsAuthenticationMessage:SmsMfaConfigType', smsMfaConfigType_smsAuthenticationMessage - The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.

$sel:smsConfiguration:SmsMfaConfigType', smsMfaConfigType_smsConfiguration - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.

smsMfaConfigType_smsAuthenticationMessage :: Lens' SmsMfaConfigType (Maybe Text) Source #

The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.

smsMfaConfigType_smsConfiguration :: Lens' SmsMfaConfigType (Maybe SmsConfigurationType) Source #

The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.