Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.CognitoIdentityProvider.AdminUpdateAuthEventFeedback
Description
Provides feedback for an authentication event as to whether it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
Synopsis
- data AdminUpdateAuthEventFeedback = AdminUpdateAuthEventFeedback' {}
- newAdminUpdateAuthEventFeedback :: Text -> Text -> Text -> FeedbackValueType -> AdminUpdateAuthEventFeedback
- adminUpdateAuthEventFeedback_userPoolId :: Lens' AdminUpdateAuthEventFeedback Text
- adminUpdateAuthEventFeedback_username :: Lens' AdminUpdateAuthEventFeedback Text
- adminUpdateAuthEventFeedback_eventId :: Lens' AdminUpdateAuthEventFeedback Text
- adminUpdateAuthEventFeedback_feedbackValue :: Lens' AdminUpdateAuthEventFeedback FeedbackValueType
- data AdminUpdateAuthEventFeedbackResponse = AdminUpdateAuthEventFeedbackResponse' {
- httpStatus :: Int
- newAdminUpdateAuthEventFeedbackResponse :: Int -> AdminUpdateAuthEventFeedbackResponse
- adminUpdateAuthEventFeedbackResponse_httpStatus :: Lens' AdminUpdateAuthEventFeedbackResponse Int
Creating a Request
data AdminUpdateAuthEventFeedback Source #
See: newAdminUpdateAuthEventFeedback
smart constructor.
Constructors
AdminUpdateAuthEventFeedback' | |
Fields
|
Instances
newAdminUpdateAuthEventFeedback Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> FeedbackValueType | |
-> AdminUpdateAuthEventFeedback |
Create a value of AdminUpdateAuthEventFeedback
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:userPoolId:AdminUpdateAuthEventFeedback'
, adminUpdateAuthEventFeedback_userPoolId
- The user pool ID.
$sel:username:AdminUpdateAuthEventFeedback'
, adminUpdateAuthEventFeedback_username
- The user pool username.
$sel:eventId:AdminUpdateAuthEventFeedback'
, adminUpdateAuthEventFeedback_eventId
- The authentication event ID.
$sel:feedbackValue:AdminUpdateAuthEventFeedback'
, adminUpdateAuthEventFeedback_feedbackValue
- The authentication event feedback value.
Request Lenses
adminUpdateAuthEventFeedback_userPoolId :: Lens' AdminUpdateAuthEventFeedback Text Source #
The user pool ID.
adminUpdateAuthEventFeedback_username :: Lens' AdminUpdateAuthEventFeedback Text Source #
The user pool username.
adminUpdateAuthEventFeedback_eventId :: Lens' AdminUpdateAuthEventFeedback Text Source #
The authentication event ID.
adminUpdateAuthEventFeedback_feedbackValue :: Lens' AdminUpdateAuthEventFeedback FeedbackValueType Source #
The authentication event feedback value.
Destructuring the Response
data AdminUpdateAuthEventFeedbackResponse Source #
See: newAdminUpdateAuthEventFeedbackResponse
smart constructor.
Constructors
AdminUpdateAuthEventFeedbackResponse' | |
Fields
|
Instances
newAdminUpdateAuthEventFeedbackResponse Source #
Arguments
:: Int | |
-> AdminUpdateAuthEventFeedbackResponse |
Create a value of AdminUpdateAuthEventFeedbackResponse
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:AdminUpdateAuthEventFeedbackResponse'
, adminUpdateAuthEventFeedbackResponse_httpStatus
- The response's http status code.
Response Lenses
adminUpdateAuthEventFeedbackResponse_httpStatus :: Lens' AdminUpdateAuthEventFeedbackResponse Int Source #
The response's http status code.