1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMailboxDetails`](crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl ::std::convert::Into<String>)`](crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder::set_organization_id): <p>The identifier for the organization that contains the user whose mailbox details are being requested.</p>
    ///   - [`user_id(impl ::std::convert::Into<String>)`](crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder::set_user_id): <p>The identifier for the user whose mailbox details are being requested.</p>
    /// - On success, responds with [`GetMailboxDetailsOutput`](crate::operation::get_mailbox_details::GetMailboxDetailsOutput) with field(s):
    ///   - [`mailbox_quota(Option<i32>)`](crate::operation::get_mailbox_details::GetMailboxDetailsOutput::mailbox_quota): <p>The maximum allowed mailbox size, in MB, for the specified user.</p>
    ///   - [`mailbox_size(f64)`](crate::operation::get_mailbox_details::GetMailboxDetailsOutput::mailbox_size): <p>The current mailbox size, in MB, for the specified user.</p>
    /// - On failure, responds with [`SdkError<GetMailboxDetailsError>`](crate::operation::get_mailbox_details::GetMailboxDetailsError)
    pub fn get_mailbox_details(&self) -> crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder {
        crate::operation::get_mailbox_details::builders::GetMailboxDetailsFluentBuilder::new(self.handle.clone())
    }
}