Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_set_user_settings: Sets the user settings like multi-factor authentication (MFA)

Description

Sets the user settings like multi-factor authentication (MFA). If MFA is to be removed for a particular attribute pass the attribute with code delivery as null. If null list is passed, all MFA options are removed.

Usage

cognitoidentityprovider_set_user_settings(AccessToken, MFAOptions)

Arguments

AccessToken

[required] The access token for the set user settings request.

MFAOptions

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

Request syntax

svc$set_user_settings(
  AccessToken = "string",
  MFAOptions = list(
    list(
      DeliveryMedium = "SMS"|"EMAIL",
      AttributeName = "string"
    )
  )
)