1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccountPreferences`](crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder::send) it.
    /// - On success, responds with [`GetAccountPreferencesOutput`](crate::operation::get_account_preferences::GetAccountPreferencesOutput) with field(s):
    ///   - [`account_preferences(Option<AccountPreferences>)`](crate::operation::get_account_preferences::GetAccountPreferencesOutput::account_preferences): Preferences which apply for AWS Chatbot usage in the calling AWS account.
    /// - On failure, responds with [`SdkError<GetAccountPreferencesError>`](crate::operation::get_account_preferences::GetAccountPreferencesError)
    pub fn get_account_preferences(&self) -> crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder {
        crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder::new(self.handle.clone())
    }
}