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 |
Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
Synopsis
- data ListMobileDeviceAccessOverrides = ListMobileDeviceAccessOverrides' {}
- newListMobileDeviceAccessOverrides :: Text -> ListMobileDeviceAccessOverrides
- listMobileDeviceAccessOverrides_userId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
- listMobileDeviceAccessOverrides_nextToken :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
- listMobileDeviceAccessOverrides_deviceId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text)
- listMobileDeviceAccessOverrides_maxResults :: Lens' ListMobileDeviceAccessOverrides (Maybe Natural)
- listMobileDeviceAccessOverrides_organizationId :: Lens' ListMobileDeviceAccessOverrides Text
- data ListMobileDeviceAccessOverridesResponse = ListMobileDeviceAccessOverridesResponse' {}
- newListMobileDeviceAccessOverridesResponse :: Int -> ListMobileDeviceAccessOverridesResponse
- listMobileDeviceAccessOverridesResponse_overrides :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe [MobileDeviceAccessOverride])
- listMobileDeviceAccessOverridesResponse_nextToken :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe Text)
- listMobileDeviceAccessOverridesResponse_httpStatus :: Lens' ListMobileDeviceAccessOverridesResponse Int
Creating a Request
data ListMobileDeviceAccessOverrides Source #
See: newListMobileDeviceAccessOverrides
smart constructor.
ListMobileDeviceAccessOverrides' | |
|
Instances
newListMobileDeviceAccessOverrides Source #
Create a value of ListMobileDeviceAccessOverrides
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:userId:ListMobileDeviceAccessOverrides'
, listMobileDeviceAccessOverrides_userId
- The WorkMail user under which you list the mobile device access
overrides. 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:nextToken:ListMobileDeviceAccessOverrides'
, listMobileDeviceAccessOverrides_nextToken
- The token to use to retrieve the next page of results. The first call
does not require a token.
$sel:deviceId:ListMobileDeviceAccessOverrides'
, listMobileDeviceAccessOverrides_deviceId
- The mobile device to which the access override applies.
$sel:maxResults:ListMobileDeviceAccessOverrides'
, listMobileDeviceAccessOverrides_maxResults
- The maximum number of results to return in a single call.
$sel:organizationId:ListMobileDeviceAccessOverrides'
, listMobileDeviceAccessOverrides_organizationId
- The Amazon WorkMail organization under which to list mobile device
access overrides.
Request Lenses
listMobileDeviceAccessOverrides_userId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text) Source #
The WorkMail user under which you list the mobile device access overrides. 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
listMobileDeviceAccessOverrides_nextToken :: Lens' ListMobileDeviceAccessOverrides (Maybe Text) Source #
The token to use to retrieve the next page of results. The first call does not require a token.
listMobileDeviceAccessOverrides_deviceId :: Lens' ListMobileDeviceAccessOverrides (Maybe Text) Source #
The mobile device to which the access override applies.
listMobileDeviceAccessOverrides_maxResults :: Lens' ListMobileDeviceAccessOverrides (Maybe Natural) Source #
The maximum number of results to return in a single call.
listMobileDeviceAccessOverrides_organizationId :: Lens' ListMobileDeviceAccessOverrides Text Source #
The Amazon WorkMail organization under which to list mobile device access overrides.
Destructuring the Response
data ListMobileDeviceAccessOverridesResponse Source #
See: newListMobileDeviceAccessOverridesResponse
smart constructor.
ListMobileDeviceAccessOverridesResponse' | |
|
Instances
newListMobileDeviceAccessOverridesResponse Source #
Create a value of ListMobileDeviceAccessOverridesResponse
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:overrides:ListMobileDeviceAccessOverridesResponse'
, listMobileDeviceAccessOverridesResponse_overrides
- The list of mobile device access overrides that exist for the specified
Amazon WorkMail organization and user.
$sel:nextToken:ListMobileDeviceAccessOverrides'
, listMobileDeviceAccessOverridesResponse_nextToken
- The token to use to retrieve the next page of results. The value is
“null” when there are no more results to return.
$sel:httpStatus:ListMobileDeviceAccessOverridesResponse'
, listMobileDeviceAccessOverridesResponse_httpStatus
- The response's http status code.
Response Lenses
listMobileDeviceAccessOverridesResponse_overrides :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe [MobileDeviceAccessOverride]) Source #
The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.
listMobileDeviceAccessOverridesResponse_nextToken :: Lens' ListMobileDeviceAccessOverridesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.
listMobileDeviceAccessOverridesResponse_httpStatus :: Lens' ListMobileDeviceAccessOverridesResponse Int Source #
The response's http status code.