amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 action to take in response to the account takeover action. Valid values are as follows:

    • BLOCK Choosing this action will block the request.
    • MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request.
    • MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
    • NO_ACTION Allow the user to sign in.

Instances

Instances details
FromJSON AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

ToJSON 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 #

Read AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Show AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

NFData AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Eq AccountTakeoverActionType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.AccountTakeoverActionType

Hashable 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" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" '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 action to take in response to the account takeover action. Valid values are as follows:

  • BLOCK Choosing this action will block the request.
  • MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request.
  • MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
  • NO_ACTION Allow 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:

  • BLOCK Choosing this action will block the request.
  • MFA_IF_CONFIGURED Present an MFA challenge if user has configured it, else allow the request.
  • MFA_REQUIRED Present an MFA challenge if user has configured it, else block the request.
  • NO_ACTION Allow the user to sign in.