Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the mailbox permissions associated with a mailbox.
- listMailboxPermissions :: Text -> Text -> ListMailboxPermissions
- data ListMailboxPermissions
- lmpNextToken :: Lens' ListMailboxPermissions (Maybe Text)
- lmpMaxResults :: Lens' ListMailboxPermissions (Maybe Natural)
- lmpOrganizationId :: Lens' ListMailboxPermissions Text
- lmpEntityId :: Lens' ListMailboxPermissions Text
- listMailboxPermissionsResponse :: Int -> ListMailboxPermissionsResponse
- data ListMailboxPermissionsResponse
- lmprsNextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text)
- lmprsPermissions :: Lens' ListMailboxPermissionsResponse [Permission]
- lmprsResponseStatus :: Lens' ListMailboxPermissionsResponse Int
Creating a Request
listMailboxPermissions Source #
Creates a value of ListMailboxPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmpNextToken
- The token to use to retrieve the next page of results. The first call does not contain any tokens.lmpMaxResults
- The maximum number of results to return in a single call.lmpOrganizationId
- The identifier of the organization under which the entity (user or group) exists.lmpEntityId
- The identifier of the entity (user or group) for which to list mailbox permissions.
data ListMailboxPermissions Source #
See: listMailboxPermissions
smart constructor.
Request Lenses
lmpNextToken :: Lens' ListMailboxPermissions (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not contain any tokens.
lmpMaxResults :: Lens' ListMailboxPermissions (Maybe Natural) Source #
The maximum number of results to return in a single call.
lmpOrganizationId :: Lens' ListMailboxPermissions Text Source #
The identifier of the organization under which the entity (user or group) exists.
lmpEntityId :: Lens' ListMailboxPermissions Text Source #
The identifier of the entity (user or group) for which to list mailbox permissions.
Destructuring the Response
listMailboxPermissionsResponse Source #
Creates a value of ListMailboxPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmprsNextToken
- The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.lmprsPermissions
- One page of the entity's mailbox permissions.lmprsResponseStatus
- -- | The response status code.
data ListMailboxPermissionsResponse Source #
See: listMailboxPermissionsResponse
smart constructor.
Response Lenses
lmprsNextToken :: Lens' ListMailboxPermissionsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The value is "null" when there are no more results to return.
lmprsPermissions :: Lens' ListMailboxPermissionsResponse [Permission] Source #
One page of the entity's mailbox permissions.
lmprsResponseStatus :: Lens' ListMailboxPermissionsResponse Int Source #
- - | The response status code.