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
show all
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

Instance Attribute Details

#access_tokenString

The access token for the user.

Returns:

  • (String)

    The access token for the user.

#sms_mfa_settingsTypes::SMSMfaSettingsType

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

Returns:

#software_token_mfa_settingsTypes::SoftwareTokenMfaSettingsType

The time-based one-time password software token MFA settings.

Returns: