| 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.AdminListUserAuthEvents
Description
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_maxResults :: Lens' AdminListUserAuthEvents (Maybe Natural)
- adminListUserAuthEvents_nextToken :: Lens' AdminListUserAuthEvents (Maybe Text)
- adminListUserAuthEvents_userPoolId :: Lens' AdminListUserAuthEvents Text
- adminListUserAuthEvents_username :: Lens' AdminListUserAuthEvents Text
- data AdminListUserAuthEventsResponse = AdminListUserAuthEventsResponse' {
- authEvents :: Maybe [AuthEventType]
- nextToken :: Maybe Text
- httpStatus :: Int
- newAdminListUserAuthEventsResponse :: Int -> AdminListUserAuthEventsResponse
- adminListUserAuthEventsResponse_authEvents :: Lens' AdminListUserAuthEventsResponse (Maybe [AuthEventType])
- adminListUserAuthEventsResponse_nextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text)
- adminListUserAuthEventsResponse_httpStatus :: Lens' AdminListUserAuthEventsResponse Int
Creating a Request
data AdminListUserAuthEvents Source #
See: newAdminListUserAuthEvents smart constructor.
Constructors
| AdminListUserAuthEvents' | |
Fields
| |
Instances
newAdminListUserAuthEvents Source #
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:maxResults:AdminListUserAuthEvents', adminListUserAuthEvents_maxResults - The maximum number of authentication events to return. Returns 60 events
if you set MaxResults to 0, or if you don't include a MaxResults
parameter.
AdminListUserAuthEvents, adminListUserAuthEvents_nextToken - A pagination token.
AdminListUserAuthEvents, adminListUserAuthEvents_userPoolId - The user pool ID.
AdminListUserAuthEvents, adminListUserAuthEvents_username - The user pool username or an alias.
Request Lenses
adminListUserAuthEvents_maxResults :: Lens' AdminListUserAuthEvents (Maybe Natural) Source #
The maximum number of authentication events to return. Returns 60 events
if you set MaxResults to 0, or if you don't include a MaxResults
parameter.
adminListUserAuthEvents_nextToken :: Lens' AdminListUserAuthEvents (Maybe Text) Source #
A pagination token.
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.
Constructors
| AdminListUserAuthEventsResponse' | |
Fields
| |
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:authEvents:AdminListUserAuthEventsResponse', adminListUserAuthEventsResponse_authEvents - The response object. It includes the EventID, EventType,
CreationDate, EventRisk, and EventResponse.
AdminListUserAuthEvents, adminListUserAuthEventsResponse_nextToken - A pagination token.
$sel:httpStatus:AdminListUserAuthEventsResponse', adminListUserAuthEventsResponse_httpStatus - The response's http status code.
Response Lenses
adminListUserAuthEventsResponse_authEvents :: Lens' AdminListUserAuthEventsResponse (Maybe [AuthEventType]) Source #
The response object. It includes the EventID, EventType,
CreationDate, EventRisk, and EventResponse.
adminListUserAuthEventsResponse_nextToken :: Lens' AdminListUserAuthEventsResponse (Maybe Text) Source #
A pagination token.
adminListUserAuthEventsResponse_httpStatus :: Lens' AdminListUserAuthEventsResponse Int Source #
The response's http status code.