| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.ListMobileDeviceAccessRules
Description
Lists the mobile device access rules for the specified 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 #
Arguments
| :: Text | |
| -> ListMobileDeviceAccessRules |
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:
ListMobileDeviceAccessRules, listMobileDeviceAccessRules_organizationId - The WorkMail organization for which to list the rules.
Request Lenses
listMobileDeviceAccessRules_organizationId :: Lens' ListMobileDeviceAccessRules Text Source #
The 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
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 WorkMail organization.
listMobileDeviceAccessRulesResponse_httpStatus :: Lens' ListMobileDeviceAccessRulesResponse Int Source #
The response's http status code.