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 |
Documentation
data SmsMfaConfigType Source #
The SMS text message multi-factor authentication (MFA) configuration type.
See: newSmsMfaConfigType
smart constructor.
SmsMfaConfigType' | |
|
Instances
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.