Struct aws_sdk_ses::client::fluent_builders::SetIdentityDkimEnabled
source · [−]pub struct SetIdentityDkimEnabled<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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
impl<C, M, R> SetIdentityDkimEnabled<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetIdentityDkimEnabled<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetIdentityDkimEnabledOutput, SdkError<SetIdentityDkimEnabledError>> where
R::Policy: SmithyRetryPolicy<SetIdentityDkimEnabledInputOperationOutputAlias, SetIdentityDkimEnabledOutput, SetIdentityDkimEnabledError, SetIdentityDkimEnabledInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetIdentityDkimEnabledOutput, SdkError<SetIdentityDkimEnabledError>> where
R::Policy: SmithyRetryPolicy<SetIdentityDkimEnabledInputOperationOutputAlias, SetIdentityDkimEnabledOutput, SetIdentityDkimEnabledError, SetIdentityDkimEnabledInputOperationRetryAlias>,
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.
The identity for which DKIM signing should be enabled or disabled.
The identity for which DKIM signing should be enabled or disabled.
Sets whether DKIM signing is enabled for an identity. Set to true
to enable DKIM signing for this identity; false
to disable it.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetIdentityDkimEnabled<C, M, R>
impl<C, M, R> Send for SetIdentityDkimEnabled<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SetIdentityDkimEnabled<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SetIdentityDkimEnabled<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetIdentityDkimEnabled<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more