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 |
Deletes permissions granted to a member (user or group).
Synopsis
- data DeleteMailboxPermissions = DeleteMailboxPermissions' {}
- newDeleteMailboxPermissions :: Text -> Text -> Text -> DeleteMailboxPermissions
- deleteMailboxPermissions_organizationId :: Lens' DeleteMailboxPermissions Text
- deleteMailboxPermissions_entityId :: Lens' DeleteMailboxPermissions Text
- deleteMailboxPermissions_granteeId :: Lens' DeleteMailboxPermissions Text
- data DeleteMailboxPermissionsResponse = DeleteMailboxPermissionsResponse' {
- httpStatus :: Int
- newDeleteMailboxPermissionsResponse :: Int -> DeleteMailboxPermissionsResponse
- deleteMailboxPermissionsResponse_httpStatus :: Lens' DeleteMailboxPermissionsResponse Int
Creating a Request
data DeleteMailboxPermissions Source #
See: newDeleteMailboxPermissions
smart constructor.
Instances
newDeleteMailboxPermissions Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteMailboxPermissions |
Create a value of DeleteMailboxPermissions
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:
DeleteMailboxPermissions
, deleteMailboxPermissions_organizationId
- The identifier of the organization under which the member (user or
group) exists.
DeleteMailboxPermissions
, deleteMailboxPermissions_entityId
- The identifier of the member (user or group) that owns the mailbox.
DeleteMailboxPermissions
, deleteMailboxPermissions_granteeId
- The identifier of the member (user or group) for which to delete granted
permissions.
Request Lenses
deleteMailboxPermissions_organizationId :: Lens' DeleteMailboxPermissions Text Source #
The identifier of the organization under which the member (user or group) exists.
deleteMailboxPermissions_entityId :: Lens' DeleteMailboxPermissions Text Source #
The identifier of the member (user or group) that owns the mailbox.
deleteMailboxPermissions_granteeId :: Lens' DeleteMailboxPermissions Text Source #
The identifier of the member (user or group) for which to delete granted permissions.
Destructuring the Response
data DeleteMailboxPermissionsResponse Source #
See: newDeleteMailboxPermissionsResponse
smart constructor.
DeleteMailboxPermissionsResponse' | |
|
Instances
Generic DeleteMailboxPermissionsResponse Source # | |
Read DeleteMailboxPermissionsResponse Source # | |
Show DeleteMailboxPermissionsResponse Source # | |
NFData DeleteMailboxPermissionsResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMailboxPermissions rnf :: DeleteMailboxPermissionsResponse -> () # | |
Eq DeleteMailboxPermissionsResponse Source # | |
type Rep DeleteMailboxPermissionsResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMailboxPermissions type Rep DeleteMailboxPermissionsResponse = D1 ('MetaData "DeleteMailboxPermissionsResponse" "Amazonka.WorkMail.DeleteMailboxPermissions" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "DeleteMailboxPermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteMailboxPermissionsResponse Source #
Create a value of DeleteMailboxPermissionsResponse
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:DeleteMailboxPermissionsResponse'
, deleteMailboxPermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteMailboxPermissionsResponse_httpStatus :: Lens' DeleteMailboxPermissionsResponse Int Source #
The response's http status code.