aws_sdk_sesv2/client/put_account_suppression_attributes.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`PutAccountSuppressionAttributes`](crate::operation::put_account_suppression_attributes::builders::PutAccountSuppressionAttributesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`suppressed_reasons(SuppressionListReason)`](crate::operation::put_account_suppression_attributes::builders::PutAccountSuppressionAttributesFluentBuilder::suppressed_reasons) / [`set_suppressed_reasons(Option<Vec::<SuppressionListReason>>)`](crate::operation::put_account_suppression_attributes::builders::PutAccountSuppressionAttributesFluentBuilder::set_suppressed_reasons):<br>required: **false**<br><p>A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:</p> <ul> <li> <p><code>COMPLAINT</code> – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.</p></li> <li> <p><code>BOUNCE</code> – 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.</p></li> </ul><br>
7 /// - On success, responds with [`PutAccountSuppressionAttributesOutput`](crate::operation::put_account_suppression_attributes::PutAccountSuppressionAttributesOutput)
8 /// - On failure, responds with [`SdkError<PutAccountSuppressionAttributesError>`](crate::operation::put_account_suppression_attributes::PutAccountSuppressionAttributesError)
9 pub fn put_account_suppression_attributes(
10 &self,
11 ) -> crate::operation::put_account_suppression_attributes::builders::PutAccountSuppressionAttributesFluentBuilder {
12 crate::operation::put_account_suppression_attributes::builders::PutAccountSuppressionAttributesFluentBuilder::new(self.handle.clone())
13 }
14}