pub struct PutEmailIdentityMailFromAttributesRequest {
pub behavior_on_mx_failure: Option<String>,
pub email_identity: String,
pub mail_from_domain: Option<String>,
}
Expand description
A request to configure the custom MAIL FROM domain for a verified identity.
Fields
behavior_on_mx_failure: Option<String>
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email. When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint returns a MailFromDomainNotVerified
error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending
, Failed
, and TemporaryFailure
states.
email_identity: String
The verified email identity that you want to set up the custom MAIL FROM domain for.
mail_from_domain: Option<String>
The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:
-
It has to be a subdomain of the verified identity.
-
It can't be used to receive email.
-
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
Trait Implementations
sourceimpl Clone for PutEmailIdentityMailFromAttributesRequest
impl Clone for PutEmailIdentityMailFromAttributesRequest
sourcefn clone(&self) -> PutEmailIdentityMailFromAttributesRequest
fn clone(&self) -> PutEmailIdentityMailFromAttributesRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for PutEmailIdentityMailFromAttributesRequest
impl Default for PutEmailIdentityMailFromAttributesRequest
sourcefn default() -> PutEmailIdentityMailFromAttributesRequest
fn default() -> PutEmailIdentityMailFromAttributesRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PutEmailIdentityMailFromAttributesRequest> for PutEmailIdentityMailFromAttributesRequest
impl PartialEq<PutEmailIdentityMailFromAttributesRequest> for PutEmailIdentityMailFromAttributesRequest
sourcefn eq(&self, other: &PutEmailIdentityMailFromAttributesRequest) -> bool
fn eq(&self, other: &PutEmailIdentityMailFromAttributesRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutEmailIdentityMailFromAttributesRequest) -> bool
fn ne(&self, other: &PutEmailIdentityMailFromAttributesRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutEmailIdentityMailFromAttributesRequest
Auto Trait Implementations
impl RefUnwindSafe for PutEmailIdentityMailFromAttributesRequest
impl Send for PutEmailIdentityMailFromAttributesRequest
impl Sync for PutEmailIdentityMailFromAttributesRequest
impl Unpin for PutEmailIdentityMailFromAttributesRequest
impl UnwindSafe for PutEmailIdentityMailFromAttributesRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more