aws_sdk_bcmpricingcalculator/client/
update_preferences.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 [`UpdatePreferences`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`management_account_rate_type_selections(RateType)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::management_account_rate_type_selections) / [`set_management_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::set_management_account_rate_type_selections):<br>required: **false**<br><p>The updated preferred rate types for the management account.</p><br>
7    ///   - [`member_account_rate_type_selections(RateType)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::member_account_rate_type_selections) / [`set_member_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::set_member_account_rate_type_selections):<br>required: **false**<br><p>The updated preferred rate types for member accounts.</p><br>
8    ///   - [`standalone_account_rate_type_selections(RateType)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::standalone_account_rate_type_selections) / [`set_standalone_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::set_standalone_account_rate_type_selections):<br>required: **false**<br><p>The updated preferred rate types for a standalone account.</p><br>
9    /// - On success, responds with [`UpdatePreferencesOutput`](crate::operation::update_preferences::UpdatePreferencesOutput) with field(s):
10    ///   - [`management_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::update_preferences::UpdatePreferencesOutput::management_account_rate_type_selections): <p>The updated preferred rate types for the management account.</p>
11    ///   - [`member_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::update_preferences::UpdatePreferencesOutput::member_account_rate_type_selections): <p>The updated preferred rate types for member accounts.</p>
12    ///   - [`standalone_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::update_preferences::UpdatePreferencesOutput::standalone_account_rate_type_selections): <p>The updated preferred rate types for a standalone account.</p>
13    /// - On failure, responds with [`SdkError<UpdatePreferencesError>`](crate::operation::update_preferences::UpdatePreferencesError)
14    pub fn update_preferences(&self) -> crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder {
15        crate::operation::update_preferences::builders::UpdatePreferencesFluentBuilder::new(self.handle.clone())
16    }
17}