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 |
Gets the mobile device access override for the given WorkMail organization, user, and device.
Synopsis
- data GetMobileDeviceAccessOverride = GetMobileDeviceAccessOverride' {}
- newGetMobileDeviceAccessOverride :: Text -> Text -> Text -> GetMobileDeviceAccessOverride
- getMobileDeviceAccessOverride_organizationId :: Lens' GetMobileDeviceAccessOverride Text
- getMobileDeviceAccessOverride_userId :: Lens' GetMobileDeviceAccessOverride Text
- getMobileDeviceAccessOverride_deviceId :: Lens' GetMobileDeviceAccessOverride Text
- data GetMobileDeviceAccessOverrideResponse = GetMobileDeviceAccessOverrideResponse' {}
- newGetMobileDeviceAccessOverrideResponse :: Int -> GetMobileDeviceAccessOverrideResponse
- getMobileDeviceAccessOverrideResponse_effect :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe MobileDeviceAccessRuleEffect)
- getMobileDeviceAccessOverrideResponse_userId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
- getMobileDeviceAccessOverrideResponse_dateCreated :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime)
- getMobileDeviceAccessOverrideResponse_dateModified :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime)
- getMobileDeviceAccessOverrideResponse_deviceId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
- getMobileDeviceAccessOverrideResponse_description :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text)
- getMobileDeviceAccessOverrideResponse_httpStatus :: Lens' GetMobileDeviceAccessOverrideResponse Int
Creating a Request
data GetMobileDeviceAccessOverride Source #
See: newGetMobileDeviceAccessOverride
smart constructor.
GetMobileDeviceAccessOverride' | |
|
Instances
newGetMobileDeviceAccessOverride Source #
:: Text | |
-> Text | |
-> Text | |
-> GetMobileDeviceAccessOverride |
Create a value of GetMobileDeviceAccessOverride
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:GetMobileDeviceAccessOverride'
, getMobileDeviceAccessOverride_organizationId
- The Amazon WorkMail organization to which you want to apply the
override.
$sel:userId:GetMobileDeviceAccessOverride'
, getMobileDeviceAccessOverride_userId
- Identifies the WorkMail user for 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:GetMobileDeviceAccessOverride'
, getMobileDeviceAccessOverride_deviceId
- The mobile device to which the override applies. DeviceId
is case
insensitive.
Request Lenses
getMobileDeviceAccessOverride_organizationId :: Lens' GetMobileDeviceAccessOverride Text Source #
The Amazon WorkMail organization to which you want to apply the override.
getMobileDeviceAccessOverride_userId :: Lens' GetMobileDeviceAccessOverride Text Source #
Identifies the WorkMail user for 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
getMobileDeviceAccessOverride_deviceId :: Lens' GetMobileDeviceAccessOverride Text Source #
The mobile device to which the override applies. DeviceId
is case
insensitive.
Destructuring the Response
data GetMobileDeviceAccessOverrideResponse Source #
See: newGetMobileDeviceAccessOverrideResponse
smart constructor.
GetMobileDeviceAccessOverrideResponse' | |
|
Instances
newGetMobileDeviceAccessOverrideResponse Source #
Create a value of GetMobileDeviceAccessOverrideResponse
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:effect:GetMobileDeviceAccessOverrideResponse'
, getMobileDeviceAccessOverrideResponse_effect
- The effect of the override, ALLOW
or DENY
.
$sel:userId:GetMobileDeviceAccessOverride'
, getMobileDeviceAccessOverrideResponse_userId
- The WorkMail user to which the access override applies.
$sel:dateCreated:GetMobileDeviceAccessOverrideResponse'
, getMobileDeviceAccessOverrideResponse_dateCreated
- The date the override was first created.
$sel:dateModified:GetMobileDeviceAccessOverrideResponse'
, getMobileDeviceAccessOverrideResponse_dateModified
- The date the description was last modified.
$sel:deviceId:GetMobileDeviceAccessOverride'
, getMobileDeviceAccessOverrideResponse_deviceId
- The device to which the access override applies.
$sel:description:GetMobileDeviceAccessOverrideResponse'
, getMobileDeviceAccessOverrideResponse_description
- A description of the override.
$sel:httpStatus:GetMobileDeviceAccessOverrideResponse'
, getMobileDeviceAccessOverrideResponse_httpStatus
- The response's http status code.
Response Lenses
getMobileDeviceAccessOverrideResponse_effect :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe MobileDeviceAccessRuleEffect) Source #
The effect of the override, ALLOW
or DENY
.
getMobileDeviceAccessOverrideResponse_userId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text) Source #
The WorkMail user to which the access override applies.
getMobileDeviceAccessOverrideResponse_dateCreated :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime) Source #
The date the override was first created.
getMobileDeviceAccessOverrideResponse_dateModified :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe UTCTime) Source #
The date the description was last modified.
getMobileDeviceAccessOverrideResponse_deviceId :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text) Source #
The device to which the access override applies.
getMobileDeviceAccessOverrideResponse_description :: Lens' GetMobileDeviceAccessOverrideResponse (Maybe Text) Source #
A description of the override.
getMobileDeviceAccessOverrideResponse_httpStatus :: Lens' GetMobileDeviceAccessOverrideResponse Int Source #
The response's http status code.