| 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.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 action to take in response to the account takeover action. Valid
values are as follows:
BLOCKChoosing this action will block the request.MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request.MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request.NO_ACTIONAllow the user to sign in.
accountTakeoverActionType_notify :: Lens' AccountTakeoverActionType Bool Source #
Flag specifying whether to send a notification.
accountTakeoverActionType_eventAction :: Lens' AccountTakeoverActionType AccountTakeoverEventActionType Source #
The action to take in response to the account takeover action. Valid values are as follows:
BLOCKChoosing this action will block the request.MFA_IF_CONFIGUREDPresent an MFA challenge if user has configured it, else allow the request.MFA_REQUIREDPresent an MFA challenge if user has configured it, else block the request.NO_ACTIONAllow the user to sign in.