Struct aws_sdk_ses::client::fluent_builders::VerifyDomainDkim
source · pub struct VerifyDomainDkim { /* private fields */ }
Expand description
Fluent builder constructing a request to VerifyDomainDkim
.
Returns a set of DKIM tokens for a domain identity.
When you execute the VerifyDomainDkim
operation, the domain that you specify is added to the list of identities that are associated with your account. This is true even if you haven't already associated the domain with your account by using the VerifyDomainIdentity
operation. However, you can't send email from the domain until you either successfully verify it or you successfully set up DKIM for it.
You use the tokens that are generated by this operation to create CNAME records. When Amazon SES detects that you've added these records to the DNS configuration for a domain, you can start sending email from that domain. You can start sending email even if you haven't added the TXT record provided by the VerifyDomainIdentity operation to the DNS configuration for your domain. All email that you send from the domain is authenticated using DKIM.
To create the CNAME records for DKIM authentication, use the following values:
-
Name: token._domainkey.example.com
-
Type: CNAME
-
Value: token.dkim.amazonses.com
In the preceding example, replace token with one of the tokens that are generated when you execute this operation. Replace example.com with your domain. Repeat this process for each token that's generated by this operation.
You can execute this operation no more than once per second.
Implementations§
source§impl VerifyDomainDkim
impl VerifyDomainDkim
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<VerifyDomainDkim, AwsResponseRetryClassifier>, SdkError<VerifyDomainDkimError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<VerifyDomainDkim, AwsResponseRetryClassifier>, SdkError<VerifyDomainDkimError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<VerifyDomainDkimOutput, SdkError<VerifyDomainDkimError>>
pub async fn send(
self
) -> Result<VerifyDomainDkimOutput, SdkError<VerifyDomainDkimError>>
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 domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain to be verified for Easy DKIM signing.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain to be verified for Easy DKIM signing.
Trait Implementations§
source§impl Clone for VerifyDomainDkim
impl Clone for VerifyDomainDkim
source§fn clone(&self) -> VerifyDomainDkim
fn clone(&self) -> VerifyDomainDkim
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more