1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutAccountSendingAttributes`](crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`PutAccountSendingAttributesOutput`](crate::operation::put_account_sending_attributes::PutAccountSendingAttributesOutput)
    /// - On failure, responds with [`SdkError<PutAccountSendingAttributesError>`](crate::operation::put_account_sending_attributes::PutAccountSendingAttributesError)
    pub fn put_account_sending_attributes(
        &self,
    ) -> crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder {
        crate::operation::put_account_sending_attributes::builders::PutAccountSendingAttributesFluentBuilder::new(self.handle.clone())
    }
}