Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data IdentityMailFromDomainAttributes = IdentityMailFromDomainAttributes' {}
- newIdentityMailFromDomainAttributes :: Text -> CustomMailFromStatus -> BehaviorOnMXFailure -> IdentityMailFromDomainAttributes
- identityMailFromDomainAttributes_mailFromDomain :: Lens' IdentityMailFromDomainAttributes Text
- identityMailFromDomainAttributes_mailFromDomainStatus :: Lens' IdentityMailFromDomainAttributes CustomMailFromStatus
- identityMailFromDomainAttributes_behaviorOnMXFailure :: Lens' IdentityMailFromDomainAttributes BehaviorOnMXFailure
Documentation
data IdentityMailFromDomainAttributes Source #
Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).
See: newIdentityMailFromDomainAttributes
smart constructor.
IdentityMailFromDomainAttributes' | |
|
Instances
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
.