cognitoidentityprovider_admin_set_user_settings: _This action is no longer supported

Description Usage Arguments Request syntax

View source: R/cognitoidentityprovider_operations.R

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

1
2
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
svc$admin_set_user_settings(
  UserPoolId = "string",
  Username = "string",
  MFAOptions = list(
    list(
      DeliveryMedium = "SMS"|"EMAIL",
      AttributeName = "string"
    )
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.