WorkMail / Client / update_mailbox_quota
update_mailbox_quota#
- WorkMail.Client.update_mailbox_quota(**kwargs)#
Updates a user’s current mailbox quota for a specified organization and user.
See also: AWS API Documentation
Request Syntax
response = client.update_mailbox_quota( OrganizationId='string', UserId='string', MailboxQuota=123 )
- Parameters:
OrganizationId (string) –
[REQUIRED]
The identifier for the organization that contains the user for whom to update the mailbox quota.
UserId (string) –
[REQUIRED]
The identifer for the user for whom to update the mailbox quota.
The identifier can be the UserId, Username, or email. The following identity formats are available:
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
MailboxQuota (integer) –
[REQUIRED]
The updated mailbox quota, in MB, for the specified user.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.EntityStateException