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.NotifyConfigurationType

Description

 
Synopsis

Documentation

data NotifyConfigurationType Source #

The notify configuration type.

See: newNotifyConfigurationType smart constructor.

Constructors

NotifyConfigurationType' 

Fields

  • blockEmail :: Maybe NotifyEmailType

    Email template used when a detected risk event is blocked.

  • from :: Maybe Text

    The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.

  • mfaEmail :: Maybe NotifyEmailType

    The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.

  • noActionEmail :: Maybe NotifyEmailType

    The email template used when a detected risk event is allowed.

  • replyTo :: Maybe Text

    The destination to which the receiver of an email should reply to.

  • sourceArn :: Text

    The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.

Instances

Instances details
FromJSON NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

ToJSON NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

Generic NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

Associated Types

type Rep NotifyConfigurationType :: Type -> Type #

Read NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

Show NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

NFData NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

Methods

rnf :: NotifyConfigurationType -> () #

Eq NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

Hashable NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

type Rep NotifyConfigurationType Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType

type Rep NotifyConfigurationType = D1 ('MetaData "NotifyConfigurationType" "Amazonka.CognitoIdentityProvider.Types.NotifyConfigurationType" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "NotifyConfigurationType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blockEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotifyEmailType)) :*: (S1 ('MetaSel ('Just "from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mfaEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotifyEmailType)))) :*: (S1 ('MetaSel ('Just "noActionEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotifyEmailType)) :*: (S1 ('MetaSel ('Just "replyTo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newNotifyConfigurationType Source #

Create a value of NotifyConfigurationType 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:blockEmail:NotifyConfigurationType', notifyConfigurationType_blockEmail - Email template used when a detected risk event is blocked.

$sel:from:NotifyConfigurationType', notifyConfigurationType_from - The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.

$sel:mfaEmail:NotifyConfigurationType', notifyConfigurationType_mfaEmail - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.

$sel:noActionEmail:NotifyConfigurationType', notifyConfigurationType_noActionEmail - The email template used when a detected risk event is allowed.

$sel:replyTo:NotifyConfigurationType', notifyConfigurationType_replyTo - The destination to which the receiver of an email should reply to.

$sel:sourceArn:NotifyConfigurationType', notifyConfigurationType_sourceArn - The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.

notifyConfigurationType_blockEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType) Source #

Email template used when a detected risk event is blocked.

notifyConfigurationType_from :: Lens' NotifyConfigurationType (Maybe Text) Source #

The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.

notifyConfigurationType_mfaEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType) Source #

The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.

notifyConfigurationType_noActionEmail :: Lens' NotifyConfigurationType (Maybe NotifyEmailType) Source #

The email template used when a detected risk event is allowed.

notifyConfigurationType_replyTo :: Lens' NotifyConfigurationType (Maybe Text) Source #

The destination to which the receiver of an email should reply to.

notifyConfigurationType_sourceArn :: Lens' NotifyConfigurationType Text Source #

The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.