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 |
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:
$sel:organizationId:DeleteMailboxPermissions'
, deleteMailboxPermissions_organizationId
- The identifier of the organization under which the member (user or
group) exists.
$sel:entityId:DeleteMailboxPermissions'
, deleteMailboxPermissions_entityId
- The identifier of the member (user or group) that owns the mailbox.
$sel:granteeId: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
Eq DeleteMailboxPermissionsResponse Source # | |
Read DeleteMailboxPermissionsResponse Source # | |
Show DeleteMailboxPermissionsResponse Source # | |
Generic DeleteMailboxPermissionsResponse Source # | |
NFData DeleteMailboxPermissionsResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMailboxPermissions rnf :: DeleteMailboxPermissionsResponse -> () # | |
type Rep DeleteMailboxPermissionsResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMailboxPermissions type Rep DeleteMailboxPermissionsResponse = D1 ('MetaData "DeleteMailboxPermissionsResponse" "Amazonka.WorkMail.DeleteMailboxPermissions" "libZSservicesZSamazonka-workmailZSamazonka-workmail" '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.