Module Awso_cognito_idp.SetRiskConfigurationResponseSource

Configures 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.

Sourcetype nonrec t = {
  1. riskConfiguration : RiskConfigurationType.t option;
    (*

    The API response that contains the risk configuration that you set and the timestamp of the most recent change.

    *)
}
Sourcetype nonrec error = [
  1. | `CodeDeliveryFailureException of CodeDeliveryFailureException.t
  2. | `InternalErrorException of InternalErrorException.t
  3. | `InvalidEmailRoleAccessPolicyException of InvalidEmailRoleAccessPolicyException.t
  4. | `InvalidParameterException of InvalidParameterException.t
  5. | `NotAuthorizedException of NotAuthorizedException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `TooManyRequestsException of TooManyRequestsException.t
  8. | `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?riskConfiguration:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t