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 |
Lists the access control rules for the specified organization.
Synopsis
- data ListAccessControlRules = ListAccessControlRules' {}
- newListAccessControlRules :: Text -> ListAccessControlRules
- listAccessControlRules_organizationId :: Lens' ListAccessControlRules Text
- data ListAccessControlRulesResponse = ListAccessControlRulesResponse' {
- rules :: Maybe [AccessControlRule]
- httpStatus :: Int
- newListAccessControlRulesResponse :: Int -> ListAccessControlRulesResponse
- listAccessControlRulesResponse_rules :: Lens' ListAccessControlRulesResponse (Maybe [AccessControlRule])
- listAccessControlRulesResponse_httpStatus :: Lens' ListAccessControlRulesResponse Int
Creating a Request
data ListAccessControlRules Source #
See: newListAccessControlRules
smart constructor.
ListAccessControlRules' | |
|
Instances
newListAccessControlRules Source #
Create a value of ListAccessControlRules
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:
ListAccessControlRules
, listAccessControlRules_organizationId
- The identifier for the organization.
Request Lenses
listAccessControlRules_organizationId :: Lens' ListAccessControlRules Text Source #
The identifier for the organization.
Destructuring the Response
data ListAccessControlRulesResponse Source #
See: newListAccessControlRulesResponse
smart constructor.
ListAccessControlRulesResponse' | |
|
Instances
Generic ListAccessControlRulesResponse Source # | |
Read ListAccessControlRulesResponse Source # | |
Show ListAccessControlRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListAccessControlRules | |
NFData ListAccessControlRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListAccessControlRules rnf :: ListAccessControlRulesResponse -> () # | |
Eq ListAccessControlRulesResponse Source # | |
type Rep ListAccessControlRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListAccessControlRules type Rep ListAccessControlRulesResponse = D1 ('MetaData "ListAccessControlRulesResponse" "Amazonka.WorkMail.ListAccessControlRules" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "ListAccessControlRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccessControlRule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newListAccessControlRulesResponse Source #
Create a value of ListAccessControlRulesResponse
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:ListAccessControlRulesResponse'
, listAccessControlRulesResponse_rules
- The access control rules.
$sel:httpStatus:ListAccessControlRulesResponse'
, listAccessControlRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listAccessControlRulesResponse_rules :: Lens' ListAccessControlRulesResponse (Maybe [AccessControlRule]) Source #
The access control rules.
listAccessControlRulesResponse_httpStatus :: Lens' ListAccessControlRulesResponse Int Source #
The response's http status code.