aws_sdk_workmail/client/
update_mailbox_quota.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateMailboxQuota`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`organization_id(impl Into<String>)`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::set_organization_id):<br>required: **true**<br><p>The identifier for the organization that contains the user for whom to update the mailbox quota.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::set_user_id):<br>required: **true**<br><p>The identifer for the user for whom to update the mailbox quota.</p> <p>The identifier can be the <i>UserId</i>, <i>Username</i>, or <i>email</i>. The following identity formats are available:</p> <ul>  <li>   <p>User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234</p></li>  <li>   <p>Email address: user@domain.tld</p></li>  <li>   <p>User name: user</p></li> </ul><br>
    ///   - [`mailbox_quota(i32)`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::mailbox_quota) / [`set_mailbox_quota(Option<i32>)`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::set_mailbox_quota):<br>required: **true**<br><p>The updated mailbox quota, in MB, for the specified user.</p><br>
    /// - On success, responds with [`UpdateMailboxQuotaOutput`](crate::operation::update_mailbox_quota::UpdateMailboxQuotaOutput)
    /// - On failure, responds with [`SdkError<UpdateMailboxQuotaError>`](crate::operation::update_mailbox_quota::UpdateMailboxQuotaError)
    pub fn update_mailbox_quota(&self) -> crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder {
        crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::new(self.handle.clone())
    }
}