aws_sdk_costoptimizationhub/client/update_preferences.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdatePreferences`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`savings_estimation_mode(SavingsEstimationMode)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::savings_estimation_mode) / [`set_savings_estimation_mode(Option<SavingsEstimationMode>)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::set_savings_estimation_mode):<br>required: **false**<br><p>Sets the "savings estimation mode" preference.</p><br>
/// - [`member_account_discount_visibility(MemberAccountDiscountVisibility)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::member_account_discount_visibility) / [`set_member_account_discount_visibility(Option<MemberAccountDiscountVisibility>)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::set_member_account_discount_visibility):<br>required: **false**<br><p>Sets the "member account discount visibility" preference.</p><br>
/// - On success, responds with [`UpdatePreferencesOutput`](crate::operation::update_preferences::UpdatePreferencesOutput) with field(s):
/// - [`savings_estimation_mode(Option<SavingsEstimationMode>)`](crate::operation::update_preferences::UpdatePreferencesOutput::savings_estimation_mode): <p>Shows the status of the "savings estimation mode" preference.</p>
/// - [`member_account_discount_visibility(Option<MemberAccountDiscountVisibility>)`](crate::operation::update_preferences::UpdatePreferencesOutput::member_account_discount_visibility): <p>Shows the status of the "member account discount visibility" preference.</p>
/// - On failure, responds with [`SdkError<UpdatePreferencesError>`](crate::operation::update_preferences::UpdatePreferencesError)
pub fn update_preferences(&self) -> crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder {
crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::new(self.handle.clone())
}
}