Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_admin_set_user_settings: Sets all the user settings for a specified user name

Description

Sets all the user settings for a specified user name. Works on any user.

Usage

cognitoidentityprovider_admin_set_user_settings(UserPoolId, Username,
  MFAOptions)

Arguments

UserPoolId

[required] The user pool ID for the user pool where you want to set the user's settings, such as MFA options.

Username

[required] The user name of the user for whom you wish to set user settings.

MFAOptions

[required] Specifies the options for MFA (e.g., email or phone number).

Request syntax

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

Details

Requires developer credentials.