| 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.GetMailboxDetails
Description
Requests a user's mailbox details for a specified organization and user.
Synopsis
- data GetMailboxDetails = GetMailboxDetails' {
- organizationId :: Text
- userId :: Text
- newGetMailboxDetails :: Text -> Text -> GetMailboxDetails
- getMailboxDetails_organizationId :: Lens' GetMailboxDetails Text
- getMailboxDetails_userId :: Lens' GetMailboxDetails Text
- data GetMailboxDetailsResponse = GetMailboxDetailsResponse' {}
- newGetMailboxDetailsResponse :: Int -> GetMailboxDetailsResponse
- getMailboxDetailsResponse_mailboxQuota :: Lens' GetMailboxDetailsResponse (Maybe Natural)
- getMailboxDetailsResponse_mailboxSize :: Lens' GetMailboxDetailsResponse (Maybe Double)
- getMailboxDetailsResponse_httpStatus :: Lens' GetMailboxDetailsResponse Int
Creating a Request
data GetMailboxDetails Source #
See: newGetMailboxDetails smart constructor.
Constructors
| GetMailboxDetails' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetMailboxDetails |
Create a value of GetMailboxDetails 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:
GetMailboxDetails, getMailboxDetails_organizationId - The identifier for the organization that contains the user whose mailbox
details are being requested.
GetMailboxDetails, getMailboxDetails_userId - The identifier for the user whose mailbox details are being requested.
Request Lenses
getMailboxDetails_organizationId :: Lens' GetMailboxDetails Text Source #
The identifier for the organization that contains the user whose mailbox details are being requested.
getMailboxDetails_userId :: Lens' GetMailboxDetails Text Source #
The identifier for the user whose mailbox details are being requested.
Destructuring the Response
data GetMailboxDetailsResponse Source #
See: newGetMailboxDetailsResponse smart constructor.
Constructors
| GetMailboxDetailsResponse' | |
Fields
| |
Instances
newGetMailboxDetailsResponse Source #
Create a value of GetMailboxDetailsResponse 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:mailboxQuota:GetMailboxDetailsResponse', getMailboxDetailsResponse_mailboxQuota - The maximum allowed mailbox size, in MB, for the specified user.
$sel:mailboxSize:GetMailboxDetailsResponse', getMailboxDetailsResponse_mailboxSize - The current mailbox size, in MB, for the specified user.
$sel:httpStatus:GetMailboxDetailsResponse', getMailboxDetailsResponse_httpStatus - The response's http status code.
Response Lenses
getMailboxDetailsResponse_mailboxQuota :: Lens' GetMailboxDetailsResponse (Maybe Natural) Source #
The maximum allowed mailbox size, in MB, for the specified user.
getMailboxDetailsResponse_mailboxSize :: Lens' GetMailboxDetailsResponse (Maybe Double) Source #
The current mailbox size, in MB, for the specified user.
getMailboxDetailsResponse_httpStatus :: Lens' GetMailboxDetailsResponse Int Source #
The response's http status code.