libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Description

 
Synopsis

Documentation

data AccountTakeoverActionType Source #

Account takeover action type.

See: newAccountTakeoverActionType smart constructor.

Constructors

AccountTakeoverActionType' 

Fields

  • notify :: Bool

    Flag specifying whether to send a notification.

  • eventAction :: AccountTakeoverEventActionType

    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.

Instances

Instances details
Eq AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Read AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Show AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Generic AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Associated Types

type Rep AccountTakeoverActionType :: Type -> Type #

NFData AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Hashable AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

ToJSON AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

FromJSON AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

type Rep AccountTakeoverActionType Source # 
Instance details

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.