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 |
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.
UpdateAuthEventFeedback' | |
|
Instances
newUpdateAuthEventFeedback Source #
:: 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:
$sel:userPoolId:UpdateAuthEventFeedback'
, updateAuthEventFeedback_userPoolId
- The user pool ID.
$sel:username:UpdateAuthEventFeedback'
, updateAuthEventFeedback_username
- The user pool username.
$sel:eventId:UpdateAuthEventFeedback'
, updateAuthEventFeedback_eventId
- The event ID.
$sel:feedbackToken:UpdateAuthEventFeedback'
, updateAuthEventFeedback_feedbackToken
- The feedback token.
$sel:feedbackValue: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.
UpdateAuthEventFeedbackResponse' | |
|
Instances
Eq UpdateAuthEventFeedbackResponse Source # | |
Read UpdateAuthEventFeedbackResponse Source # | |
Show UpdateAuthEventFeedbackResponse Source # | |
Generic UpdateAuthEventFeedbackResponse Source # | |
NFData UpdateAuthEventFeedbackResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.UpdateAuthEventFeedback rnf :: UpdateAuthEventFeedbackResponse -> () # | |
type Rep UpdateAuthEventFeedbackResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.UpdateAuthEventFeedback type Rep UpdateAuthEventFeedbackResponse = D1 ('MetaData "UpdateAuthEventFeedbackResponse" "Amazonka.CognitoIdentityProvider.UpdateAuthEventFeedback" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "UpdateAuthEventFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.