Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateMailboxQuota' | |
|
Instances
newUpdateMailboxQuota Source #
:: 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:
$sel:organizationId:UpdateMailboxQuota'
, updateMailboxQuota_organizationId
- The identifier for the organization that contains the user for whom to
update the mailbox quota.
$sel:userId: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.
UpdateMailboxQuotaResponse' | |
|
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.