| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoIdentityProvider.UpdateAuthEventFeedback
Description
Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
Synopsis
- data UpdateAuthEventFeedback = UpdateAuthEventFeedback' {}
- newUpdateAuthEventFeedback :: Text -> Text -> Text -> Text -> FeedbackValueType -> UpdateAuthEventFeedback
- updateAuthEventFeedback_userPoolId :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_username :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_eventId :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_feedbackToken :: Lens' UpdateAuthEventFeedback Text
- updateAuthEventFeedback_feedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType
- data UpdateAuthEventFeedbackResponse = UpdateAuthEventFeedbackResponse' {
- httpStatus :: Int
- newUpdateAuthEventFeedbackResponse :: Int -> UpdateAuthEventFeedbackResponse
- updateAuthEventFeedbackResponse_httpStatus :: Lens' UpdateAuthEventFeedbackResponse Int
Creating a Request
data UpdateAuthEventFeedback Source #
See: newUpdateAuthEventFeedback smart constructor.
Constructors
| UpdateAuthEventFeedback' | |
Fields
| |
Instances
newUpdateAuthEventFeedback Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> FeedbackValueType | |
| -> UpdateAuthEventFeedback |
Create a value of UpdateAuthEventFeedback with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateAuthEventFeedback, updateAuthEventFeedback_userPoolId - The user pool ID.
UpdateAuthEventFeedback, updateAuthEventFeedback_username - The user pool username.
UpdateAuthEventFeedback, updateAuthEventFeedback_eventId - The event ID.
$sel:feedbackToken:UpdateAuthEventFeedback', updateAuthEventFeedback_feedbackToken - The feedback token.
UpdateAuthEventFeedback, updateAuthEventFeedback_feedbackValue - The authentication event feedback value.
Request Lenses
updateAuthEventFeedback_userPoolId :: Lens' UpdateAuthEventFeedback Text Source #
The user pool ID.
updateAuthEventFeedback_username :: Lens' UpdateAuthEventFeedback Text Source #
The user pool username.
updateAuthEventFeedback_eventId :: Lens' UpdateAuthEventFeedback Text Source #
The event ID.
updateAuthEventFeedback_feedbackToken :: Lens' UpdateAuthEventFeedback Text Source #
The feedback token.
updateAuthEventFeedback_feedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType Source #
The authentication event feedback value.
Destructuring the Response
data UpdateAuthEventFeedbackResponse Source #
See: newUpdateAuthEventFeedbackResponse smart constructor.
Constructors
| UpdateAuthEventFeedbackResponse' | |
Fields
| |
Instances
newUpdateAuthEventFeedbackResponse Source #
Create a value of UpdateAuthEventFeedbackResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateAuthEventFeedbackResponse', updateAuthEventFeedbackResponse_httpStatus - The response's http status code.
Response Lenses
updateAuthEventFeedbackResponse_httpStatus :: Lens' UpdateAuthEventFeedbackResponse Int Source #
The response's http status code.