Struct aws_sdk_ses::client::fluent_builders::SetActiveReceiptRuleSet
source · [−]pub struct SetActiveReceiptRuleSet<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to SetActiveReceiptRuleSet
.
Sets the specified receipt rule set as the active receipt rule set.
To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Implementations
impl<C, M, R> SetActiveReceiptRuleSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetActiveReceiptRuleSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetActiveReceiptRuleSetOutput, SdkError<SetActiveReceiptRuleSetError>> where
R::Policy: SmithyRetryPolicy<SetActiveReceiptRuleSetInputOperationOutputAlias, SetActiveReceiptRuleSetOutput, SetActiveReceiptRuleSetError, SetActiveReceiptRuleSetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetActiveReceiptRuleSetOutput, SdkError<SetActiveReceiptRuleSetError>> where
R::Policy: SmithyRetryPolicy<SetActiveReceiptRuleSetInputOperationOutputAlias, SetActiveReceiptRuleSetOutput, SetActiveReceiptRuleSetError, SetActiveReceiptRuleSetInputOperationRetryAlias>,
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 receipt rule set to make active. Setting this value to null disables all email receiving.
The name of the receipt rule set to make active. Setting this value to null disables all email receiving.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetActiveReceiptRuleSet<C, M, R>
impl<C, M, R> Send for SetActiveReceiptRuleSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SetActiveReceiptRuleSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SetActiveReceiptRuleSet<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetActiveReceiptRuleSet<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