pub struct UpdateAccountSendingEnabled { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAccountSendingEnabled
.
Enables or disables email sending across your entire Amazon SES account in the current AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given AWS Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.
You can execute this operation no more than once per second.
Implementations§
source§impl UpdateAccountSendingEnabled
impl UpdateAccountSendingEnabled
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateAccountSendingEnabled, AwsResponseRetryClassifier>, SdkError<UpdateAccountSendingEnabledError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateAccountSendingEnabled, AwsResponseRetryClassifier>, SdkError<UpdateAccountSendingEnabledError>>
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<UpdateAccountSendingEnabledOutput, SdkError<UpdateAccountSendingEnabledError>>
pub async fn send(
self
) -> Result<UpdateAccountSendingEnabledOutput, SdkError<UpdateAccountSendingEnabledError>>
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 enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
Trait Implementations§
source§impl Clone for UpdateAccountSendingEnabled
impl Clone for UpdateAccountSendingEnabled
source§fn clone(&self) -> UpdateAccountSendingEnabled
fn clone(&self) -> UpdateAccountSendingEnabled
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more