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.
cognitoidentityprovider_set_risk_configuration(
UserPoolId,
ClientId = NULL,
CompromisedCredentialsRiskConfiguration = NULL,
AccountTakeoverRiskConfiguration = NULL,
RiskExceptionConfiguration = NULL
)
[required] The user pool ID.
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.
The compromised credentials risk configuration.
The account takeover risk configuration.
The configuration to override the risk decision.