| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.UpdateMailboxQuota
Description
Updates a user's current mailbox quota for a specified organization and user.
Synopsis
- data UpdateMailboxQuota = UpdateMailboxQuota' {
- organizationId :: Text
- userId :: Text
- mailboxQuota :: Natural
- newUpdateMailboxQuota :: Text -> Text -> Natural -> UpdateMailboxQuota
- updateMailboxQuota_organizationId :: Lens' UpdateMailboxQuota Text
- updateMailboxQuota_userId :: Lens' UpdateMailboxQuota Text
- updateMailboxQuota_mailboxQuota :: Lens' UpdateMailboxQuota Natural
- data UpdateMailboxQuotaResponse = UpdateMailboxQuotaResponse' {
- httpStatus :: Int
- newUpdateMailboxQuotaResponse :: Int -> UpdateMailboxQuotaResponse
- updateMailboxQuotaResponse_httpStatus :: Lens' UpdateMailboxQuotaResponse Int
Creating a Request
data UpdateMailboxQuota Source #
See: newUpdateMailboxQuota smart constructor.
Constructors
| UpdateMailboxQuota' | |
Fields
| |
Instances
newUpdateMailboxQuota Source #
Arguments
| :: Text | |
| -> Text | |
| -> Natural | |
| -> UpdateMailboxQuota |
Create a value of UpdateMailboxQuota with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateMailboxQuota, updateMailboxQuota_organizationId - The identifier for the organization that contains the user for whom to
update the mailbox quota.
UpdateMailboxQuota, updateMailboxQuota_userId - The identifer for the user for whom to update the mailbox quota.
$sel:mailboxQuota:UpdateMailboxQuota', updateMailboxQuota_mailboxQuota - The updated mailbox quota, in MB, for the specified user.
Request Lenses
updateMailboxQuota_organizationId :: Lens' UpdateMailboxQuota Text Source #
The identifier for the organization that contains the user for whom to update the mailbox quota.
updateMailboxQuota_userId :: Lens' UpdateMailboxQuota Text Source #
The identifer for the user for whom to update the mailbox quota.
updateMailboxQuota_mailboxQuota :: Lens' UpdateMailboxQuota Natural Source #
The updated mailbox quota, in MB, for the specified user.
Destructuring the Response
data UpdateMailboxQuotaResponse Source #
See: newUpdateMailboxQuotaResponse smart constructor.
Constructors
| UpdateMailboxQuotaResponse' | |
Fields
| |
Instances
newUpdateMailboxQuotaResponse Source #
Create a value of UpdateMailboxQuotaResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateMailboxQuotaResponse', updateMailboxQuotaResponse_httpStatus - The response's http status code.
Response Lenses
updateMailboxQuotaResponse_httpStatus :: Lens' UpdateMailboxQuotaResponse Int Source #
The response's http status code.