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 |
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.
AccountTakeoverActionType' | |
|
Instances
Eq AccountTakeoverActionType Source # | |
Read AccountTakeoverActionType Source # | |
Show AccountTakeoverActionType Source # | |
Generic AccountTakeoverActionType Source # | |
NFData AccountTakeoverActionType Source # | |
Hashable AccountTakeoverActionType Source # | |
ToJSON AccountTakeoverActionType Source # | |
FromJSON AccountTakeoverActionType Source # | |
type Rep AccountTakeoverActionType Source # | |
Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType type Rep AccountTakeoverActionType = D1 ('MetaData "AccountTakeoverActionType" "Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AccountTakeoverActionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notify") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "eventAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccountTakeoverEventActionType))) |
newAccountTakeoverActionType Source #
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.
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Throw MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Throw MFA challenge if user has configured it, else block the request.NO_ACTION
Allow 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.
BLOCK
Choosing this action will block the request.MFA_IF_CONFIGURED
Throw MFA challenge if user has configured it, else allow the request.MFA_REQUIRED
Throw MFA challenge if user has configured it, else block the request.NO_ACTION
Allow the user sign-in.