Learn R Programming

paws.security.identity (version 0.1.7)

cognitoidentityprovider_admin_set_user_settings: _This action is no longer supported

Description

This action is no longer supported. You can use it to configure only SMS MFA. You can\'t use it to configure TOTP software token MFA. To configure either type of MFA, use the AdminSetUserMFAPreference action instead.

Usage

cognitoidentityprovider_admin_set_user_settings(UserPoolId, Username,
  MFAOptions)

Arguments

UserPoolId

[required] The ID of the user pool that contains the user that you are setting options for.

Username

[required] The user name of the user that you are setting options for.

MFAOptions

[required] You can use this parameter only to set an SMS configuration that uses SMS for delivery.

Request syntax

svc$admin_set_user_settings(
  UserPoolId = "string",
  Username = "string",
  MFAOptions = list(
    list(
      DeliveryMedium = "SMS"|"EMAIL",
      AttributeName = "string"
    )
  )
)