aws_sdk_chatbot/client/
get_account_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 [`GetAccountPreferences`](crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder::send) it.
6    /// - On success, responds with [`GetAccountPreferencesOutput`](crate::operation::get_account_preferences::GetAccountPreferencesOutput) with field(s):
7    ///   - [`account_preferences(Option<AccountPreferences>)`](crate::operation::get_account_preferences::GetAccountPreferencesOutput::account_preferences): <p>The preferences related to AWS Chatbot usage in the calling AWS account.</p>
8    /// - On failure, responds with [`SdkError<GetAccountPreferencesError>`](crate::operation::get_account_preferences::GetAccountPreferencesError)
9    pub fn get_account_preferences(&self) -> crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder {
10        crate::operation::get_account_preferences::builders::GetAccountPreferencesFluentBuilder::new(self.handle.clone())
11    }
12}