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 |
Lists a history of user activity and any risks detected as part of Amazon Cognito advanced security.
This operation returns paginated results.
Synopsis
- data AdminListUserAuthEvents = AdminListUserAuthEvents' {}
- newAdminListUserAuthEvents :: Text -> Text -> AdminListUserAuthEvents
- adminListUserAuthEvents_nextToken :: Lens' AdminListUserAuthEvents (Maybe Text)
- adminListUserAuthEvents_maxResults :: Lens' AdminListUserAuthEvents (Maybe Natural)
- adminListUserAuthEvents_userPoolId :: Lens' AdminListUserAuthEvents Text
- adminListUserAuthEvents_username :: Lens' AdminListUserAuthEvents Text
- data AdminListUserAuthEventsResponse = AdminListUserAuthEventsResponse' {
- nextToken :: Maybe Text
- authEvents :: Maybe [AuthEventType]
- httpStatus :: Int
- newAdminListUserAuthEventsResponse :: Int -> AdminListUserAuthEventsResponse
- adminListUserAuthEventsResponse_nextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text)
- adminListUserAuthEventsResponse_authEvents :: Lens' AdminListUserAuthEventsResponse (Maybe [AuthEventType])
- adminListUserAuthEventsResponse_httpStatus :: Lens' AdminListUserAuthEventsResponse Int
Creating a Request
data AdminListUserAuthEvents Source #
See: newAdminListUserAuthEvents
smart constructor.
Instances
newAdminListUserAuthEvents Source #
:: Text | |
-> Text | |
-> AdminListUserAuthEvents |
Create a value of AdminListUserAuthEvents
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:nextToken:AdminListUserAuthEvents'
, adminListUserAuthEvents_nextToken
- A pagination token.
$sel:maxResults:AdminListUserAuthEvents'
, adminListUserAuthEvents_maxResults
- The maximum number of authentication events to return.
$sel:userPoolId:AdminListUserAuthEvents'
, adminListUserAuthEvents_userPoolId
- The user pool ID.
$sel:username:AdminListUserAuthEvents'
, adminListUserAuthEvents_username
- The user pool username or an alias.
Request Lenses
adminListUserAuthEvents_nextToken :: Lens' AdminListUserAuthEvents (Maybe Text) Source #
A pagination token.
adminListUserAuthEvents_maxResults :: Lens' AdminListUserAuthEvents (Maybe Natural) Source #
The maximum number of authentication events to return.
adminListUserAuthEvents_userPoolId :: Lens' AdminListUserAuthEvents Text Source #
The user pool ID.
adminListUserAuthEvents_username :: Lens' AdminListUserAuthEvents Text Source #
The user pool username or an alias.
Destructuring the Response
data AdminListUserAuthEventsResponse Source #
See: newAdminListUserAuthEventsResponse
smart constructor.
AdminListUserAuthEventsResponse' | |
|
Instances
newAdminListUserAuthEventsResponse Source #
Create a value of AdminListUserAuthEventsResponse
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:nextToken:AdminListUserAuthEvents'
, adminListUserAuthEventsResponse_nextToken
- A pagination token.
$sel:authEvents:AdminListUserAuthEventsResponse'
, adminListUserAuthEventsResponse_authEvents
- The response object. It includes the EventID
, EventType
,
CreationDate
, EventRisk
, and EventResponse
.
$sel:httpStatus:AdminListUserAuthEventsResponse'
, adminListUserAuthEventsResponse_httpStatus
- The response's http status code.
Response Lenses
adminListUserAuthEventsResponse_nextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text) Source #
A pagination token.
adminListUserAuthEventsResponse_authEvents :: Lens' AdminListUserAuthEventsResponse (Maybe [AuthEventType]) Source #
The response object. It includes the EventID
, EventType
,
CreationDate
, EventRisk
, and EventResponse
.
adminListUserAuthEventsResponse_httpStatus :: Lens' AdminListUserAuthEventsResponse Int Source #
The response's http status code.