Struct aws_sdk_sesv2::operation::put_configuration_set_suppression_options::PutConfigurationSetSuppressionOptionsInput
source · #[non_exhaustive]pub struct PutConfigurationSetSuppressionOptionsInput {
pub configuration_set_name: Option<String>,
pub suppressed_reasons: Option<Vec<SuppressionListReason>>,
}Expand description
A request to change the account suppression list preferences for a specific 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.configuration_set_name: Option<String>The name of the configuration set to change the suppression list preferences for.
suppressed_reasons: Option<Vec<SuppressionListReason>>A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
Implementations§
source§impl PutConfigurationSetSuppressionOptionsInput
impl PutConfigurationSetSuppressionOptionsInput
sourcepub fn configuration_set_name(&self) -> Option<&str>
pub fn configuration_set_name(&self) -> Option<&str>
The name of the configuration set to change the suppression list preferences for.
sourcepub fn suppressed_reasons(&self) -> &[SuppressionListReason]
pub fn suppressed_reasons(&self) -> &[SuppressionListReason]
A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .suppressed_reasons.is_none().
source§impl PutConfigurationSetSuppressionOptionsInput
impl PutConfigurationSetSuppressionOptionsInput
sourcepub fn builder() -> PutConfigurationSetSuppressionOptionsInputBuilder
pub fn builder() -> PutConfigurationSetSuppressionOptionsInputBuilder
Creates a new builder-style object to manufacture PutConfigurationSetSuppressionOptionsInput.
Trait Implementations§
source§impl Clone for PutConfigurationSetSuppressionOptionsInput
impl Clone for PutConfigurationSetSuppressionOptionsInput
source§fn clone(&self) -> PutConfigurationSetSuppressionOptionsInput
fn clone(&self) -> PutConfigurationSetSuppressionOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PutConfigurationSetSuppressionOptionsInput
impl PartialEq for PutConfigurationSetSuppressionOptionsInput
source§fn eq(&self, other: &PutConfigurationSetSuppressionOptionsInput) -> bool
fn eq(&self, other: &PutConfigurationSetSuppressionOptionsInput) -> bool
self and other values to be equal, and is used
by ==.