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 |
Amazonka.WorkMail.ListMobileDeviceAccessRules
Description
Lists the mobile device access rules for the specified Amazon WorkMail organization.
Synopsis
- data ListMobileDeviceAccessRules = ListMobileDeviceAccessRules' {}
- newListMobileDeviceAccessRules :: Text -> ListMobileDeviceAccessRules
- listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text
- data ListMobileDeviceAccessRulesResponse = ListMobileDeviceAccessRulesResponse' {}
- newListMobileDeviceAccessRulesResponse :: Int -> ListMobileDeviceAccessRulesResponse
- listMobileDeviceAccessRulesResponse_rules :: Lens' ListMobileDeviceAccessRulesResponse (Maybe [MobileDeviceAccessRule])
- listMobileDeviceAccessRulesResponse_httpStatus :: Lens' ListMobileDeviceAccessRulesResponse Int
Creating a Request
data ListMobileDeviceAccessRules Source #
See: newListMobileDeviceAccessRules
smart constructor.
Constructors
ListMobileDeviceAccessRules' | |
Fields
|
Instances
newListMobileDeviceAccessRules Source #
Create a value of ListMobileDeviceAccessRules
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:ListMobileDeviceAccessRules'
, listMobileDeviceAccessRules_organizationId
- The Amazon WorkMail organization for which to list the rules.
Request Lenses
listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text Source #
The Amazon WorkMail organization for which to list the rules.
Destructuring the Response
data ListMobileDeviceAccessRulesResponse Source #
See: newListMobileDeviceAccessRulesResponse
smart constructor.
Constructors
ListMobileDeviceAccessRulesResponse' | |
Fields
|
Instances
newListMobileDeviceAccessRulesResponse Source #
Arguments
:: Int | |
-> ListMobileDeviceAccessRulesResponse |
Create a value of ListMobileDeviceAccessRulesResponse
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:rules:ListMobileDeviceAccessRulesResponse'
, listMobileDeviceAccessRulesResponse_rules
- The list of mobile device access rules that exist under the specified
Amazon WorkMail organization.
$sel:httpStatus:ListMobileDeviceAccessRulesResponse'
, listMobileDeviceAccessRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listMobileDeviceAccessRulesResponse_rules :: Lens' ListMobileDeviceAccessRulesResponse (Maybe [MobileDeviceAccessRule]) Source #
The list of mobile device access rules that exist under the specified Amazon WorkMail organization.
listMobileDeviceAccessRulesResponse_httpStatus :: Lens' ListMobileDeviceAccessRulesResponse Int Source #
The response's http status code.