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 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.
ListMobileDeviceAccessRules' | |
|
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.
ListMobileDeviceAccessRulesResponse' | |
|
Instances
Eq ListMobileDeviceAccessRulesResponse Source # | |
Read ListMobileDeviceAccessRulesResponse Source # | |
Show ListMobileDeviceAccessRulesResponse Source # | |
Generic ListMobileDeviceAccessRulesResponse Source # | |
NFData ListMobileDeviceAccessRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListMobileDeviceAccessRules rnf :: ListMobileDeviceAccessRulesResponse -> () # | |
type Rep ListMobileDeviceAccessRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListMobileDeviceAccessRules type Rep ListMobileDeviceAccessRulesResponse = D1 ('MetaData "ListMobileDeviceAccessRulesResponse" "Amazonka.WorkMail.ListMobileDeviceAccessRules" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListMobileDeviceAccessRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MobileDeviceAccessRule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newListMobileDeviceAccessRulesResponse Source #
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.