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 the mobile device access override for the given WorkMail organization, user, and device.
Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
Synopsis
- data DeleteMobileDeviceAccessOverride = DeleteMobileDeviceAccessOverride' {}
- newDeleteMobileDeviceAccessOverride :: Text -> Text -> Text -> DeleteMobileDeviceAccessOverride
- deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text
- deleteMobileDeviceAccessOverride_userId :: Lens' DeleteMobileDeviceAccessOverride Text
- deleteMobileDeviceAccessOverride_deviceId :: Lens' DeleteMobileDeviceAccessOverride Text
- data DeleteMobileDeviceAccessOverrideResponse = DeleteMobileDeviceAccessOverrideResponse' {
- httpStatus :: Int
- newDeleteMobileDeviceAccessOverrideResponse :: Int -> DeleteMobileDeviceAccessOverrideResponse
- deleteMobileDeviceAccessOverrideResponse_httpStatus :: Lens' DeleteMobileDeviceAccessOverrideResponse Int
Creating a Request
data DeleteMobileDeviceAccessOverride Source #
See: newDeleteMobileDeviceAccessOverride
smart constructor.
DeleteMobileDeviceAccessOverride' | |
|
Instances
newDeleteMobileDeviceAccessOverride Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteMobileDeviceAccessOverride |
Create a value of DeleteMobileDeviceAccessOverride
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:DeleteMobileDeviceAccessOverride'
, deleteMobileDeviceAccessOverride_organizationId
- The Amazon WorkMail organization for which the access override will be
deleted.
$sel:userId:DeleteMobileDeviceAccessOverride'
, deleteMobileDeviceAccessOverride_userId
- The WorkMail user for which you want to delete the override. Accepts the
following types of user identities:
- User ID:
12345678-1234-1234-1234-123456789012
orS-1-1-12-1234567890-123456789-123456789-1234
- Email address:
user@domain.tld
- User name:
user
$sel:deviceId:DeleteMobileDeviceAccessOverride'
, deleteMobileDeviceAccessOverride_deviceId
- The mobile device for which you delete the override. DeviceId
is case
insensitive.
Request Lenses
deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text Source #
The Amazon WorkMail organization for which the access override will be deleted.
deleteMobileDeviceAccessOverride_userId :: Lens' DeleteMobileDeviceAccessOverride Text Source #
The WorkMail user for which you want to delete the override. Accepts the following types of user identities:
- User ID:
12345678-1234-1234-1234-123456789012
orS-1-1-12-1234567890-123456789-123456789-1234
- Email address:
user@domain.tld
- User name:
user
deleteMobileDeviceAccessOverride_deviceId :: Lens' DeleteMobileDeviceAccessOverride Text Source #
The mobile device for which you delete the override. DeviceId
is case
insensitive.
Destructuring the Response
data DeleteMobileDeviceAccessOverrideResponse Source #
See: newDeleteMobileDeviceAccessOverrideResponse
smart constructor.
DeleteMobileDeviceAccessOverrideResponse' | |
|
Instances
Eq DeleteMobileDeviceAccessOverrideResponse Source # | |
Read DeleteMobileDeviceAccessOverrideResponse Source # | |
Show DeleteMobileDeviceAccessOverrideResponse Source # | |
Generic DeleteMobileDeviceAccessOverrideResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride type Rep DeleteMobileDeviceAccessOverrideResponse :: Type -> Type # | |
NFData DeleteMobileDeviceAccessOverrideResponse Source # | |
type Rep DeleteMobileDeviceAccessOverrideResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride type Rep DeleteMobileDeviceAccessOverrideResponse = D1 ('MetaData "DeleteMobileDeviceAccessOverrideResponse" "Amazonka.WorkMail.DeleteMobileDeviceAccessOverride" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DeleteMobileDeviceAccessOverrideResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteMobileDeviceAccessOverrideResponse Source #
Create a value of DeleteMobileDeviceAccessOverrideResponse
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:DeleteMobileDeviceAccessOverrideResponse'
, deleteMobileDeviceAccessOverrideResponse_httpStatus
- The response's http status code.
Response Lenses
deleteMobileDeviceAccessOverrideResponse_httpStatus :: Lens' DeleteMobileDeviceAccessOverrideResponse Int Source #
The response's http status code.