aws_sdk_bcmpricingcalculator/client/get_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 [`GetPreferences`](crate::operation::get_preferences::builders::GetPreferencesFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_preferences::builders::GetPreferencesFluentBuilder::send) it.
6 /// - On success, responds with [`GetPreferencesOutput`](crate::operation::get_preferences::GetPreferencesOutput) with field(s):
7 /// - [`management_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::get_preferences::GetPreferencesOutput::management_account_rate_type_selections): <p>The preferred rate types for the management account.</p>
8 /// - [`member_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::get_preferences::GetPreferencesOutput::member_account_rate_type_selections): <p>The preferred rate types for member accounts.</p>
9 /// - [`standalone_account_rate_type_selections(Option<Vec::<RateType>>)`](crate::operation::get_preferences::GetPreferencesOutput::standalone_account_rate_type_selections): <p>The preferred rate types for a standalone account.</p>
10 /// - On failure, responds with [`SdkError<GetPreferencesError>`](crate::operation::get_preferences::GetPreferencesError)
11 pub fn get_preferences(&self) -> crate::operation::get_preferences::builders::GetPreferencesFluentBuilder {
12 crate::operation::get_preferences::builders::GetPreferencesFluentBuilder::new(self.handle.clone())
13 }
14}