Struct aws_sdk_sesv2::client::fluent_builders::CreateContact [−][src]
pub struct CreateContact<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateContact
.
Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.
Implementations
impl<C, M, R> CreateContact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateContact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateContactOutput, SdkError<CreateContactError>> where
R::Policy: SmithyRetryPolicy<CreateContactInputOperationOutputAlias, CreateContactOutput, CreateContactError, CreateContactInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateContactOutput, SdkError<CreateContactError>> where
R::Policy: SmithyRetryPolicy<CreateContactInputOperationOutputAlias, CreateContactOutput, CreateContactError, CreateContactInputOperationRetryAlias>,
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 name of the contact list to which the contact should be added.
The name of the contact list to which the contact should be added.
The contact's email address.
The contact's email address.
Appends an item to TopicPreferences
.
To override the contents of this collection use set_topic_preferences
.
The contact's preferences for being opted-in to or opted-out of topics.
The contact's preferences for being opted-in to or opted-out of topics.
A boolean value status noting if the contact is unsubscribed from all contact list topics.
A boolean value status noting if the contact is unsubscribed from all contact list topics.
The attribute data attached to a contact.
The attribute data attached to a contact.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateContact<C, M, R>
impl<C, M, R> Unpin for CreateContact<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateContact<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