#[non_exhaustive]pub struct SmsMfaConfigType {
pub sms_authentication_message: Option<String>,
pub sms_configuration: Option<SmsConfigurationType>,
}Expand description
The SMS text message multi-factor authentication (MFA) configuration type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sms_authentication_message: Option<String>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.
sms_configuration: Option<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.
Implementations§
source§impl SmsMfaConfigType
impl SmsMfaConfigType
sourcepub fn sms_authentication_message(&self) -> Option<&str>
pub fn sms_authentication_message(&self) -> Option<&str>
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.
sourcepub fn sms_configuration(&self) -> Option<&SmsConfigurationType>
pub fn sms_configuration(&self) -> Option<&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.
source§impl SmsMfaConfigType
impl SmsMfaConfigType
sourcepub fn builder() -> SmsMfaConfigTypeBuilder
pub fn builder() -> SmsMfaConfigTypeBuilder
Creates a new builder-style object to manufacture SmsMfaConfigType.
Trait Implementations§
source§impl Clone for SmsMfaConfigType
impl Clone for SmsMfaConfigType
source§fn clone(&self) -> SmsMfaConfigType
fn clone(&self) -> SmsMfaConfigType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SmsMfaConfigType
impl Debug for SmsMfaConfigType
source§impl PartialEq for SmsMfaConfigType
impl PartialEq for SmsMfaConfigType
source§fn eq(&self, other: &SmsMfaConfigType) -> bool
fn eq(&self, other: &SmsMfaConfigType) -> bool
self and other values to be equal, and is used
by ==.