Values.SetRiskConfigurationResponseSourceConfigures threat protection for a user pool or app client. Sets configuration for the following. Responses to risks with adaptive authentication Responses to vulnerable passwords with compromised-credentials detection Notifications to users who have had risky activity detected IP-address denylist and allowlist To set the risk configuration for the user pool to defaults, send this request with only the UserPoolId parameter. To reset the threat protection settings of an app client to be inherited from the user pool, send UserPoolId and ClientId parameters only. To change threat protection to audit-only or off, update the value of UserPoolAddOns in an UpdateUserPool request. To activate this setting, your user pool must be on the Plus tier.
type nonrec t = {riskConfiguration : RiskConfigurationType.t option;The API response that contains the risk configuration that you set and the timestamp of the most recent change.
*)}type nonrec error = [ | `CodeDeliveryFailureException of CodeDeliveryFailureException.t| `InternalErrorException of InternalErrorException.t| `InvalidEmailRoleAccessPolicyException of
InvalidEmailRoleAccessPolicyException.t| `InvalidParameterException of InvalidParameterException.t| `NotAuthorizedException of NotAuthorizedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `TooManyRequestsException of TooManyRequestsException.t| `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `CodeDeliveryFailureException of CodeDeliveryFailureException.t
| `InternalErrorException of InternalErrorException.t
| `InvalidEmailRoleAccessPolicyException of
InvalidEmailRoleAccessPolicyException.t
| `InvalidParameterException of InvalidParameterException.t
| `NotAuthorizedException of NotAuthorizedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CodeDeliveryFailureException of CodeDeliveryFailureException.t
| `InternalErrorException of InternalErrorException.t
| `InvalidEmailRoleAccessPolicyException of
InvalidEmailRoleAccessPolicyException.t
| `InvalidParameterException of InvalidParameterException.t
| `NotAuthorizedException of NotAuthorizedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of UserPoolIdType.t
| `Structure of
(string
* [> `List of
[> `Enum of string | `String of StringType.t ] list
| `Structure of
(string
* [> `Enum of string
| `String of StringType.t
| `Structure of
(string
* [> `Boolean of
AccountTakeoverActionNotifyType.t
| `Enum of string
| `String of EmailNotificationSubjectType.t ])
list ])
list ])
list
| `Timestamp of DateType.t ])
list ])
list ]