You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::SetUserMFAPreferenceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::SetUserMFAPreferenceRequest
- Defined in:
- (unknown)
Overview
Note:
When passing SetUserMFAPreferenceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
sms_mfa_settings: {
enabled: false,
preferred_mfa: false,
},
software_token_mfa_settings: {
enabled: false,
preferred_mfa: false,
},
access_token: "TokenModelType", # required
}
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token for the user.
-
#sms_mfa_settings ⇒ Types::SMSMfaSettingsType
The SMS text message multi-factor authentication (MFA) settings.
-
#software_token_mfa_settings ⇒ Types::SoftwareTokenMfaSettingsType
The time-based one-time password software token MFA settings.
Instance Attribute Details
#access_token ⇒ String
The access token for the user.
#sms_mfa_settings ⇒ Types::SMSMfaSettingsType
The SMS text message multi-factor authentication (MFA) settings.
#software_token_mfa_settings ⇒ Types::SoftwareTokenMfaSettingsType
The time-based one-time password software token MFA settings.