pub struct CreateEmailIdentity<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateEmailIdentity
.
Verifies an email identity for use with Amazon Pinpoint. In Amazon Pinpoint, an identity is an email address or domain that you use when you send email. Before you can use an identity to send email with Amazon Pinpoint, you first have to verify it. By verifying an address, you demonstrate that you're the owner of the address, and that you've given Amazon Pinpoint permission to send email from the address.
When you verify an email address, Amazon Pinpoint sends an email to the address. Your email address is verified as soon as you follow the link in the verification email.
When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon Pinpoint detects these records in the DNS configuration for your domain. It usually takes around 72 hours to complete the domain verification process.
Implementations
impl<C, M, R> CreateEmailIdentity<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateEmailIdentity<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateEmailIdentityOutput, SdkError<CreateEmailIdentityError>> where
R::Policy: SmithyRetryPolicy<CreateEmailIdentityInputOperationOutputAlias, CreateEmailIdentityOutput, CreateEmailIdentityError, CreateEmailIdentityInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateEmailIdentityOutput, SdkError<CreateEmailIdentityError>> where
R::Policy: SmithyRetryPolicy<CreateEmailIdentityInputOperationOutputAlias, CreateEmailIdentityOutput, CreateEmailIdentityError, CreateEmailIdentityInputOperationRetryAlias>,
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 email address or domain that you want to verify.
The email address or domain that you want to verify.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
An array of objects that define the tags (keys and values) that you want to associate with the email identity.
An array of objects that define the tags (keys and values) that you want to associate with the email identity.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateEmailIdentity<C, M, R>
impl<C, M, R> Send for CreateEmailIdentity<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateEmailIdentity<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateEmailIdentity<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateEmailIdentity<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