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 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:
$sel:organizationId: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
Eq ListAccessControlRulesResponse Source # | |
Read ListAccessControlRulesResponse Source # | |
Show ListAccessControlRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListAccessControlRules | |
Generic ListAccessControlRulesResponse Source # | |
NFData ListAccessControlRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListAccessControlRules rnf :: ListAccessControlRulesResponse -> () # | |
type Rep ListAccessControlRulesResponse Source # | |
Defined in Amazonka.WorkMail.ListAccessControlRules type Rep ListAccessControlRulesResponse = D1 ('MetaData "ListAccessControlRulesResponse" "Amazonka.WorkMail.ListAccessControlRules" "libZSservicesZSamazonka-workmailZSamazonka-workmail" '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.