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 [`GetAccountSettings`](crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder::send) it.
    /// - On success, responds with [`GetAccountSettingsOutput`](crate::operation::get_account_settings::GetAccountSettingsOutput) with field(s):
    ///   - [`account_settings_detail(Option<AccountSettingsDetail>)`](crate::operation::get_account_settings::GetAccountSettingsOutput::account_settings_detail): <p>OpenSearch Serverless-related details for the current account.</p>
    /// - On failure, responds with [`SdkError<GetAccountSettingsError>`](crate::operation::get_account_settings::GetAccountSettingsError)
    pub fn get_account_settings(&self) -> crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder {
        crate::operation::get_account_settings::builders::GetAccountSettingsFluentBuilder::new(self.handle.clone())
    }
}