Struct aws_sdk_cognitoidentityprovider::operation::get_user_pool_mfa_config::GetUserPoolMfaConfigOutput
source · #[non_exhaustive]pub struct GetUserPoolMfaConfigOutput {
pub sms_mfa_configuration: Option<SmsMfaConfigType>,
pub software_token_mfa_configuration: Option<SoftwareTokenMfaConfigType>,
pub mfa_configuration: Option<UserPoolMfaType>,
/* private fields */
}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_mfa_configuration: Option<SmsMfaConfigType>The SMS text message multi-factor authentication (MFA) configuration.
software_token_mfa_configuration: Option<SoftwareTokenMfaConfigType>The software token multi-factor authentication (MFA) configuration.
mfa_configuration: Option<UserPoolMfaType>The multi-factor authentication (MFA) configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA will be required only for individual users who have an MFA factor activated.
Implementations§
source§impl GetUserPoolMfaConfigOutput
impl GetUserPoolMfaConfigOutput
sourcepub fn sms_mfa_configuration(&self) -> Option<&SmsMfaConfigType>
pub fn sms_mfa_configuration(&self) -> Option<&SmsMfaConfigType>
The SMS text message multi-factor authentication (MFA) configuration.
sourcepub fn software_token_mfa_configuration(
&self
) -> Option<&SoftwareTokenMfaConfigType>
pub fn software_token_mfa_configuration( &self ) -> Option<&SoftwareTokenMfaConfigType>
The software token multi-factor authentication (MFA) configuration.
sourcepub fn mfa_configuration(&self) -> Option<&UserPoolMfaType>
pub fn mfa_configuration(&self) -> Option<&UserPoolMfaType>
The multi-factor authentication (MFA) configuration. Valid values include:
-
OFFMFA won't be used for any users. -
ONMFA is required for all users to sign in. -
OPTIONALMFA will be required only for individual users who have an MFA factor activated.
source§impl GetUserPoolMfaConfigOutput
impl GetUserPoolMfaConfigOutput
sourcepub fn builder() -> GetUserPoolMfaConfigOutputBuilder
pub fn builder() -> GetUserPoolMfaConfigOutputBuilder
Creates a new builder-style object to manufacture GetUserPoolMfaConfigOutput.
Trait Implementations§
source§impl Clone for GetUserPoolMfaConfigOutput
impl Clone for GetUserPoolMfaConfigOutput
source§fn clone(&self) -> GetUserPoolMfaConfigOutput
fn clone(&self) -> GetUserPoolMfaConfigOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetUserPoolMfaConfigOutput
impl Debug for GetUserPoolMfaConfigOutput
source§impl PartialEq for GetUserPoolMfaConfigOutput
impl PartialEq for GetUserPoolMfaConfigOutput
source§fn eq(&self, other: &GetUserPoolMfaConfigOutput) -> bool
fn eq(&self, other: &GetUserPoolMfaConfigOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetUserPoolMfaConfigOutput
impl RequestId for GetUserPoolMfaConfigOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.