Learn R Programming

paws.security.identity (version 0.7.0)

cognitoidentityprovider_set_risk_configuration: Configures actions on detected risks

Description

Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types.

See https://www.paws-r-sdk.com/docs/cognitoidentityprovider_set_risk_configuration/ for full documentation.

Usage

cognitoidentityprovider_set_risk_configuration(
  UserPoolId,
  ClientId = NULL,
  CompromisedCredentialsRiskConfiguration = NULL,
  AccountTakeoverRiskConfiguration = NULL,
  RiskExceptionConfiguration = NULL
)

Arguments

UserPoolId

[required] The user pool ID.

ClientId

The app client ID. If ClientId is null, then the risk configuration is mapped to userPoolId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.

Otherwise, ClientId is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.

CompromisedCredentialsRiskConfiguration

The compromised credentials risk configuration.

AccountTakeoverRiskConfiguration

The account takeover risk configuration.

RiskExceptionConfiguration

The configuration to override the risk decision.