Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- updateAuthEventFeedback :: Text -> Text -> Text -> Text -> FeedbackValueType -> UpdateAuthEventFeedback
- data UpdateAuthEventFeedback
- uaefUserPoolId :: Lens' UpdateAuthEventFeedback Text
- uaefUsername :: Lens' UpdateAuthEventFeedback Text
- uaefEventId :: Lens' UpdateAuthEventFeedback Text
- uaefFeedbackToken :: Lens' UpdateAuthEventFeedback Text
- uaefFeedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType
- updateAuthEventFeedbackResponse :: Int -> UpdateAuthEventFeedbackResponse
- data UpdateAuthEventFeedbackResponse
- uaefrsResponseStatus :: Lens' UpdateAuthEventFeedbackResponse Int
Creating a Request
updateAuthEventFeedback Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> FeedbackValueType | |
-> UpdateAuthEventFeedback |
Creates a value of UpdateAuthEventFeedback
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uaefUserPoolId
- The user pool ID.uaefUsername
- The user pool username.uaefEventId
- The event ID.uaefFeedbackToken
- The feedback token.uaefFeedbackValue
- The authentication event feedback value.
data UpdateAuthEventFeedback Source #
See: updateAuthEventFeedback
smart constructor.
Instances
Request Lenses
uaefUserPoolId :: Lens' UpdateAuthEventFeedback Text Source #
The user pool ID.
uaefUsername :: Lens' UpdateAuthEventFeedback Text Source #
The user pool username.
uaefEventId :: Lens' UpdateAuthEventFeedback Text Source #
The event ID.
uaefFeedbackToken :: Lens' UpdateAuthEventFeedback Text Source #
The feedback token.
uaefFeedbackValue :: Lens' UpdateAuthEventFeedback FeedbackValueType Source #
The authentication event feedback value.
Destructuring the Response
updateAuthEventFeedbackResponse Source #
Creates a value of UpdateAuthEventFeedbackResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uaefrsResponseStatus
- -- | The response status code.
data UpdateAuthEventFeedbackResponse Source #
See: updateAuthEventFeedbackResponse
smart constructor.
Instances
Response Lenses
uaefrsResponseStatus :: Lens' UpdateAuthEventFeedbackResponse Int Source #
- - | The response status code.