Sets the user's multi-factor authentication (MFA) preference.
cognitoidentityprovider_admin_set_user_mfa_preference(SMSMfaSettings,
SoftwareTokenMfaSettings, Username, UserPoolId)
The SMS text message MFA settings.
The time-based one-time password software token MFA settings.
[required] The user pool username or alias.
[required] The user pool ID.
svc$admin_set_user_mfa_preference( SMSMfaSettings = list( Enabled = TRUE|FALSE, PreferredMfa = TRUE|FALSE ), SoftwareTokenMfaSettings = list( Enabled = TRUE|FALSE, PreferredMfa = TRUE|FALSE ), Username = "string", UserPoolId = "string" )