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 |
Deletes permissions granted to a user or group.
Synopsis
- deleteMailboxPermissions :: Text -> Text -> Text -> DeleteMailboxPermissions
- data DeleteMailboxPermissions
- dmpOrganizationId :: Lens' DeleteMailboxPermissions Text
- dmpEntityId :: Lens' DeleteMailboxPermissions Text
- dmpGranteeId :: Lens' DeleteMailboxPermissions Text
- deleteMailboxPermissionsResponse :: Int -> DeleteMailboxPermissionsResponse
- data DeleteMailboxPermissionsResponse
- dmprsResponseStatus :: Lens' DeleteMailboxPermissionsResponse Int
Creating a Request
deleteMailboxPermissions Source #
Creates a value of DeleteMailboxPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmpOrganizationId
- The identifier of the organization under which the entity (user or group) exists.dmpEntityId
- The identifier of the entity (user or group) for which to delete mailbox permissions.dmpGranteeId
- The identifier of the entity (user or group) for which to delete granted permissions.
data DeleteMailboxPermissions Source #
See: deleteMailboxPermissions
smart constructor.
Instances
Request Lenses
dmpOrganizationId :: Lens' DeleteMailboxPermissions Text Source #
The identifier of the organization under which the entity (user or group) exists.
dmpEntityId :: Lens' DeleteMailboxPermissions Text Source #
The identifier of the entity (user or group) for which to delete mailbox permissions.
dmpGranteeId :: Lens' DeleteMailboxPermissions Text Source #
The identifier of the entity (user or group) for which to delete granted permissions.
Destructuring the Response
deleteMailboxPermissionsResponse Source #
Creates a value of DeleteMailboxPermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmprsResponseStatus
- -- | The response status code.
data DeleteMailboxPermissionsResponse Source #
See: deleteMailboxPermissionsResponse
smart constructor.
Instances
Response Lenses
dmprsResponseStatus :: Lens' DeleteMailboxPermissionsResponse Int Source #
- - | The response status code.