| 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.Types.AccountTakeoverActionType
Description
Synopsis
- data AccountTakeoverActionType = AccountTakeoverActionType' {}
- newAccountTakeoverActionType :: Bool -> AccountTakeoverEventActionType -> AccountTakeoverActionType
- accountTakeoverActionType_notify :: Lens' AccountTakeoverActionType Bool
- accountTakeoverActionType_eventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType
Documentation
data AccountTakeoverActionType Source #
Account takeover action type.
See: newAccountTakeoverActionType smart constructor.
Constructors
| AccountTakeoverActionType' | |
Fields
| |
Instances
newAccountTakeoverActionType Source #
Arguments
| :: Bool | |
| -> AccountTakeoverEventActionType | |
| -> AccountTakeoverActionType |
Create a value of AccountTakeoverActionType 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:notify:AccountTakeoverActionType', accountTakeoverActionType_notify - Flag specifying whether to send a notification.
$sel:eventAction:AccountTakeoverActionType', accountTakeoverActionType_eventAction - The event action.
BLOCKChoosing this action will block the request.MFA_IF_CONFIGUREDThrow MFA challenge if user has configured it, else allow the request.MFA_REQUIREDThrow MFA challenge if user has configured it, else block the request.NO_ACTIONAllow the user sign-in.
accountTakeoverActionType_notify :: Lens' AccountTakeoverActionType Bool Source #
Flag specifying whether to send a notification.
accountTakeoverActionType_eventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType Source #
The event action.
BLOCKChoosing this action will block the request.MFA_IF_CONFIGUREDThrow MFA challenge if user has configured it, else allow the request.MFA_REQUIREDThrow MFA challenge if user has configured it, else block the request.NO_ACTIONAllow the user sign-in.