// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutAccountDataRetention`](crate::operation::put_account_data_retention::builders::PutAccountDataRetentionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`mode(DataRetentionMode)`](crate::operation::put_account_data_retention::builders::PutAccountDataRetentionFluentBuilder::mode) / [`set_mode(Option<DataRetentionMode>)`](crate::operation::put_account_data_retention::builders::PutAccountDataRetentionFluentBuilder::set_mode):<br>required: **true**<br><p>The data retention mode to set for the account.</p><br>
/// - On success, responds with [`PutAccountDataRetentionOutput`](crate::operation::put_account_data_retention::PutAccountDataRetentionOutput) with field(s):
/// - [`mode(DataRetentionMode)`](crate::operation::put_account_data_retention::PutAccountDataRetentionOutput::mode): <p>The data retention mode set for the account.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::put_account_data_retention::PutAccountDataRetentionOutput::updated_at): <p>The time at which the data retention mode was last updated.</p>
/// - On failure, responds with [`SdkError<PutAccountDataRetentionError>`](crate::operation::put_account_data_retention::PutAccountDataRetentionError)
pub fn put_account_data_retention(&self) -> crate::operation::put_account_data_retention::builders::PutAccountDataRetentionFluentBuilder {
crate::operation::put_account_data_retention::builders::PutAccountDataRetentionFluentBuilder::new(self.handle.clone())
}
}