aws_sdk_workmail/client/update_mailbox_quota.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 [`UpdateMailboxQuota`](crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`UpdateMailboxQuotaOutput`](crate::operation::update_mailbox_quota::UpdateMailboxQuotaOutput)
10 /// - On failure, responds with [`SdkError<UpdateMailboxQuotaError>`](crate::operation::update_mailbox_quota::UpdateMailboxQuotaError)
11 pub fn update_mailbox_quota(&self) -> crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder {
12 crate::operation::update_mailbox_quota::builders::UpdateMailboxQuotaFluentBuilder::new(self.handle.clone())
13 }
14}