Values.UpdateAuthEventFeedbackResponseSourceProvides the feedback for an authentication event generated by threat protection features. The user's response indicates that you think that the event either was from a valid user or was an unwanted authentication attempt. This feedback improves the risk evaluation decision for the user pool as part of Amazon Cognito threat protection. To activate this setting, your user pool must be on the Plus tier. This operation requires a FeedbackToken that Amazon Cognito generates and adds to notification emails when users have potentially suspicious authentication events. Users invoke this operation when they select the link that corresponds to {one-click-link-valid} or {one-click-link-invalid} in your notification template. Because FeedbackToken is a required parameter, you can't make requests to UpdateAuthEventFeedback without the contents of the notification email message. Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
type nonrec error = [ | `InternalErrorException of InternalErrorException.t| `InvalidParameterException of InvalidParameterException.t| `NotAuthorizedException of NotAuthorizedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `TooManyRequestsException of TooManyRequestsException.t| `UserNotFoundException of UserNotFoundException.t| `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalErrorException of InternalErrorException.t
| `InvalidParameterException of InvalidParameterException.t
| `NotAuthorizedException of NotAuthorizedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UserNotFoundException of UserNotFoundException.t
| `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalErrorException of InternalErrorException.t
| `InvalidParameterException of InvalidParameterException.t
| `NotAuthorizedException of NotAuthorizedException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option
| `UserNotFoundException of UserNotFoundException.t
| `UserPoolAddOnNotEnabledException of UserPoolAddOnNotEnabledException.t ]