Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_set_user_pool_mfa_config: Set the user pool MFA configuration

Description

Set the user pool MFA configuration.

Usage

cognitoidentityprovider_set_user_pool_mfa_config(UserPoolId,
  SmsMfaConfiguration, SoftwareTokenMfaConfiguration, MfaConfiguration)

Arguments

UserPoolId

[required] The user pool ID.

SmsMfaConfiguration

The SMS text message MFA configuration.

SoftwareTokenMfaConfiguration

The software token MFA configuration.

MfaConfiguration

The MFA configuration.

Request syntax

svc$set_user_pool_mfa_config(
  UserPoolId = "string",
  SmsMfaConfiguration = list(
    SmsAuthenticationMessage = "string",
    SmsConfiguration = list(
      SnsCallerArn = "string",
      ExternalId = "string"
    )
  ),
  SoftwareTokenMfaConfiguration = list(
    Enabled = TRUE|FALSE
  ),
  MfaConfiguration = "OFF"|"ON"|"OPTIONAL"
)