Sets all the user settings for a specified user name. Works on any user.
cognitoidentityprovider_admin_set_user_settings(UserPoolId, Username,
MFAOptions)
[required] The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
[required] The user name of the user for whom you wish to set user settings.
[required] Specifies the options for MFA (e.g., email or phone number).
svc$admin_set_user_settings( UserPoolId = "string", Username = "string", MFAOptions = list( list( DeliveryMedium = "SMS"|"EMAIL", AttributeName = "string" ) ) )
Requires developer credentials.