Struct aws_sdk_ses::types::ReputationOptions
source · #[non_exhaustive]pub struct ReputationOptions {
pub sending_enabled: bool,
pub reputation_metrics_enabled: bool,
pub last_fresh_start: Option<DateTime>,
}
Expand description
Contains information about the reputation settings for a configuration set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.sending_enabled: bool
Describes whether email sending is enabled or disabled for the configuration set. If the value is true
, then Amazon SES sends emails that use the configuration set. If the value is false
, Amazon SES does not send emails that use the configuration set. The default value is true
. You can change this setting using UpdateConfigurationSetSendingEnabled
.
reputation_metrics_enabled: bool
Describes whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
If the value is true
, reputation metrics are published. If the value is false
, reputation metrics are not published. The default value is false
.
last_fresh_start: Option<DateTime>
The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
and later re-enable it, the reputation metrics for the configuration set (but not for the entire Amazon SES account) are reset.
If email sending for the configuration set has never been disabled and later re-enabled, the value of this attribute is null
.
Implementations§
source§impl ReputationOptions
impl ReputationOptions
sourcepub fn sending_enabled(&self) -> bool
pub fn sending_enabled(&self) -> bool
Describes whether email sending is enabled or disabled for the configuration set. If the value is true
, then Amazon SES sends emails that use the configuration set. If the value is false
, Amazon SES does not send emails that use the configuration set. The default value is true
. You can change this setting using UpdateConfigurationSetSendingEnabled
.
sourcepub fn reputation_metrics_enabled(&self) -> bool
pub fn reputation_metrics_enabled(&self) -> bool
Describes whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
If the value is true
, reputation metrics are published. If the value is false
, reputation metrics are not published. The default value is false
.
sourcepub fn last_fresh_start(&self) -> Option<&DateTime>
pub fn last_fresh_start(&self) -> Option<&DateTime>
The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled
and later re-enable it, the reputation metrics for the configuration set (but not for the entire Amazon SES account) are reset.
If email sending for the configuration set has never been disabled and later re-enabled, the value of this attribute is null
.
source§impl ReputationOptions
impl ReputationOptions
sourcepub fn builder() -> ReputationOptionsBuilder
pub fn builder() -> ReputationOptionsBuilder
Creates a new builder-style object to manufacture ReputationOptions
.
Trait Implementations§
source§impl Clone for ReputationOptions
impl Clone for ReputationOptions
source§fn clone(&self) -> ReputationOptions
fn clone(&self) -> ReputationOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReputationOptions
impl Debug for ReputationOptions
source§impl PartialEq for ReputationOptions
impl PartialEq for ReputationOptions
source§fn eq(&self, other: &ReputationOptions) -> bool
fn eq(&self, other: &ReputationOptions) -> bool
self
and other
values to be equal, and is used
by ==
.