Struct aws_sdk_ses::operation::set_identity_dkim_enabled::builders::SetIdentityDkimEnabledFluentBuilder
source · pub struct SetIdentityDkimEnabledFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SetIdentityDkimEnabled
.
Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.
For email addresses (for example, user@example.com
), you can only enable DKIM signing if the corresponding domain (in this case, example.com
) has been set up to use Easy DKIM.
You can enable DKIM signing for an identity at any time after you start the verification process for the identity, even if the verification process isn't complete.
You can execute this operation no more than once per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.
Implementations§
source§impl SetIdentityDkimEnabledFluentBuilder
impl SetIdentityDkimEnabledFluentBuilder
sourcepub fn as_input(&self) -> &SetIdentityDkimEnabledInputBuilder
pub fn as_input(&self) -> &SetIdentityDkimEnabledInputBuilder
Access the SetIdentityDkimEnabled as a reference.
sourcepub async fn send(
self
) -> Result<SetIdentityDkimEnabledOutput, SdkError<SetIdentityDkimEnabledError, HttpResponse>>
pub async fn send( self ) -> Result<SetIdentityDkimEnabledOutput, SdkError<SetIdentityDkimEnabledError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<SetIdentityDkimEnabledOutput, SetIdentityDkimEnabledError, Self>
pub fn customize( self ) -> CustomizableOperation<SetIdentityDkimEnabledOutput, SetIdentityDkimEnabledError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
The identity for which DKIM signing should be enabled or disabled.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
The identity for which DKIM signing should be enabled or disabled.
sourcepub fn get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
The identity for which DKIM signing should be enabled or disabled.
sourcepub fn dkim_enabled(self, input: bool) -> Self
pub fn dkim_enabled(self, input: bool) -> Self
Sets whether DKIM signing is enabled for an identity. Set to true
to enable DKIM signing for this identity; false
to disable it.
sourcepub fn set_dkim_enabled(self, input: Option<bool>) -> Self
pub fn set_dkim_enabled(self, input: Option<bool>) -> Self
Sets whether DKIM signing is enabled for an identity. Set to true
to enable DKIM signing for this identity; false
to disable it.
sourcepub fn get_dkim_enabled(&self) -> &Option<bool>
pub fn get_dkim_enabled(&self) -> &Option<bool>
Sets whether DKIM signing is enabled for an identity. Set to true
to enable DKIM signing for this identity; false
to disable it.
Trait Implementations§
source§impl Clone for SetIdentityDkimEnabledFluentBuilder
impl Clone for SetIdentityDkimEnabledFluentBuilder
source§fn clone(&self) -> SetIdentityDkimEnabledFluentBuilder
fn clone(&self) -> SetIdentityDkimEnabledFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for SetIdentityDkimEnabledFluentBuilder
impl !RefUnwindSafe for SetIdentityDkimEnabledFluentBuilder
impl Send for SetIdentityDkimEnabledFluentBuilder
impl Sync for SetIdentityDkimEnabledFluentBuilder
impl Unpin for SetIdentityDkimEnabledFluentBuilder
impl !UnwindSafe for SetIdentityDkimEnabledFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more