Struct aws_sdk_sesv2::client::fluent_builders::UpdateContact [−][src]
pub struct UpdateContact<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateContact
.
Updates a contact's preferences for a list. It is not necessary to specify all existing topic preferences in the TopicPreferences object, just the ones that need updating.
Implementations
impl<C, M, R> UpdateContact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateContact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateContactOutput, SdkError<UpdateContactError>> where
R::Policy: SmithyRetryPolicy<UpdateContactInputOperationOutputAlias, UpdateContactOutput, UpdateContactError, UpdateContactInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateContactOutput, SdkError<UpdateContactError>> where
R::Policy: SmithyRetryPolicy<UpdateContactInputOperationOutputAlias, UpdateContactOutput, UpdateContactError, UpdateContactInputOperationRetryAlias>,
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.
The name of the contact list.
The contact's email addres.
The contact's email addres.
Appends an item to TopicPreferences
.
To override the contents of this collection use set_topic_preferences
.
The contact's preference for being opted-in to or opted-out of a topic.
The contact's preference for being opted-in to or opted-out of a topic.
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 UpdateContact<C, M, R>
impl<C, M, R> Unpin for UpdateContact<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateContact<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