aws_sdk_sesv2/client/
put_account_sending_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 [`PutAccountSendingAttributes`](crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`sending_enabled(bool)`](crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder::sending_enabled) / [`set_sending_enabled(Option<bool>)`](crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder::set_sending_enabled):<br>required: **false**<br><p>Enables or disables your account's ability to send email. Set to <code>true</code> to enable email sending, or set to <code>false</code> to disable email sending.</p><note>  <p>If Amazon Web Services paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.</p> </note><br>
7    /// - On success, responds with [`PutAccountSendingAttributesOutput`](crate::operation::put_account_sending_attributes::PutAccountSendingAttributesOutput)
8    /// - On failure, responds with [`SdkError<PutAccountSendingAttributesError>`](crate::operation::put_account_sending_attributes::PutAccountSendingAttributesError)
9    pub fn put_account_sending_attributes(
10        &self,
11    ) -> crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder {
12        crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder::new(self.handle.clone())
13    }
14}