Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_set_user_mfa_preference: Set the user's multi-factor authentication (MFA) method preference

Description

Set the user's multi-factor authentication (MFA) method preference.

Usage

cognitoidentityprovider_set_user_mfa_preference(SMSMfaSettings,
  SoftwareTokenMfaSettings, AccessToken)

Arguments

SMSMfaSettings

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

SoftwareTokenMfaSettings

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

AccessToken

[required] The access token.

Request syntax

svc$set_user_mfa_preference(
  SMSMfaSettings = list(
    Enabled = TRUE|FALSE,
    PreferredMfa = TRUE|FALSE
  ),
  SoftwareTokenMfaSettings = list(
    Enabled = TRUE|FALSE,
    PreferredMfa = TRUE|FALSE
  ),
  AccessToken = "string"
)