libZSservicesZSamazonka-sesZSamazonka-ses
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.SES.Types.IdentityMailFromDomainAttributes

Description

 
Synopsis

Documentation

data IdentityMailFromDomainAttributes Source #

Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).

See: newIdentityMailFromDomainAttributes smart constructor.

Constructors

IdentityMailFromDomainAttributes' 

Fields

  • mailFromDomain :: Text

    The custom MAIL FROM domain that the identity is configured to use.

  • mailFromDomainStatus :: CustomMailFromStatus

    The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure.

  • behaviorOnMXFailure :: BehaviorOnMXFailure

    The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of UseDefaultValue indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of RejectMessage indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a MailFromDomainNotVerified error and does not send the email.

    The custom MAIL FROM setup states that result in this behavior are Pending, Failed, and TemporaryFailure.

Instances

Instances details
Eq IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

Read IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

Show IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

Generic IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

Associated Types

type Rep IdentityMailFromDomainAttributes :: Type -> Type #

NFData IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

Hashable IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

FromXML IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

type Rep IdentityMailFromDomainAttributes Source # 
Instance details

Defined in Amazonka.SES.Types.IdentityMailFromDomainAttributes

type Rep IdentityMailFromDomainAttributes = D1 ('MetaData "IdentityMailFromDomainAttributes" "Amazonka.SES.Types.IdentityMailFromDomainAttributes" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "IdentityMailFromDomainAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mailFromDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "mailFromDomainStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CustomMailFromStatus) :*: S1 ('MetaSel ('Just "behaviorOnMXFailure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BehaviorOnMXFailure))))

newIdentityMailFromDomainAttributes Source #

Create a value of IdentityMailFromDomainAttributes 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:mailFromDomain:IdentityMailFromDomainAttributes', identityMailFromDomainAttributes_mailFromDomain - The custom MAIL FROM domain that the identity is configured to use.

$sel:mailFromDomainStatus:IdentityMailFromDomainAttributes', identityMailFromDomainAttributes_mailFromDomainStatus - The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure.

$sel:behaviorOnMXFailure:IdentityMailFromDomainAttributes', identityMailFromDomainAttributes_behaviorOnMXFailure - The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of UseDefaultValue indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of RejectMessage indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a MailFromDomainNotVerified error and does not send the email.

The custom MAIL FROM setup states that result in this behavior are Pending, Failed, and TemporaryFailure.

identityMailFromDomainAttributes_mailFromDomain :: Lens' IdentityMailFromDomainAttributes Text Source #

The custom MAIL FROM domain that the identity is configured to use.

identityMailFromDomainAttributes_mailFromDomainStatus :: Lens' IdentityMailFromDomainAttributes CustomMailFromStatus Source #

The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure.

identityMailFromDomainAttributes_behaviorOnMXFailure :: Lens' IdentityMailFromDomainAttributes BehaviorOnMXFailure Source #

The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of UseDefaultValue indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of RejectMessage indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a MailFromDomainNotVerified error and does not send the email.

The custom MAIL FROM setup states that result in this behavior are Pending, Failed, and TemporaryFailure.