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 |
Synopsis
- data AccessControlRule = AccessControlRule' {
- effect :: Maybe AccessControlRuleEffect
- userIds :: Maybe [Text]
- actions :: Maybe [Text]
- dateCreated :: Maybe POSIX
- name :: Maybe Text
- notUserIds :: Maybe [Text]
- dateModified :: Maybe POSIX
- ipRanges :: Maybe [Text]
- notIpRanges :: Maybe [Text]
- notActions :: Maybe [Text]
- description :: Maybe Text
- newAccessControlRule :: AccessControlRule
- accessControlRule_effect :: Lens' AccessControlRule (Maybe AccessControlRuleEffect)
- accessControlRule_userIds :: Lens' AccessControlRule (Maybe [Text])
- accessControlRule_actions :: Lens' AccessControlRule (Maybe [Text])
- accessControlRule_dateCreated :: Lens' AccessControlRule (Maybe UTCTime)
- accessControlRule_name :: Lens' AccessControlRule (Maybe Text)
- accessControlRule_notUserIds :: Lens' AccessControlRule (Maybe [Text])
- accessControlRule_dateModified :: Lens' AccessControlRule (Maybe UTCTime)
- accessControlRule_ipRanges :: Lens' AccessControlRule (Maybe [Text])
- accessControlRule_notIpRanges :: Lens' AccessControlRule (Maybe [Text])
- accessControlRule_notActions :: Lens' AccessControlRule (Maybe [Text])
- accessControlRule_description :: Lens' AccessControlRule (Maybe Text)
Documentation
data AccessControlRule Source #
A rule that controls access to an Amazon WorkMail organization.
See: newAccessControlRule
smart constructor.
AccessControlRule' | |
|
Instances
newAccessControlRule :: AccessControlRule Source #
Create a value of AccessControlRule
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:effect:AccessControlRule'
, accessControlRule_effect
- The rule effect.
$sel:userIds:AccessControlRule'
, accessControlRule_userIds
- User IDs to include in the rule.
$sel:actions:AccessControlRule'
, accessControlRule_actions
- Access protocol actions to include in the rule. Valid values include
ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
,
and WebMail
.
$sel:dateCreated:AccessControlRule'
, accessControlRule_dateCreated
- The date that the rule was created.
$sel:name:AccessControlRule'
, accessControlRule_name
- The rule name.
$sel:notUserIds:AccessControlRule'
, accessControlRule_notUserIds
- User IDs to exclude from the rule.
$sel:dateModified:AccessControlRule'
, accessControlRule_dateModified
- The date that the rule was modified.
$sel:ipRanges:AccessControlRule'
, accessControlRule_ipRanges
- IPv4 CIDR ranges to include in the rule.
$sel:notIpRanges:AccessControlRule'
, accessControlRule_notIpRanges
- IPv4 CIDR ranges to exclude from the rule.
$sel:notActions:AccessControlRule'
, accessControlRule_notActions
- Access protocol actions to exclude from the rule. Valid values include
ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
,
and WebMail
.
$sel:description:AccessControlRule'
, accessControlRule_description
- The rule description.
accessControlRule_effect :: Lens' AccessControlRule (Maybe AccessControlRuleEffect) Source #
The rule effect.
accessControlRule_userIds :: Lens' AccessControlRule (Maybe [Text]) Source #
User IDs to include in the rule.
accessControlRule_actions :: Lens' AccessControlRule (Maybe [Text]) Source #
Access protocol actions to include in the rule. Valid values include
ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
,
and WebMail
.
accessControlRule_dateCreated :: Lens' AccessControlRule (Maybe UTCTime) Source #
The date that the rule was created.
accessControlRule_name :: Lens' AccessControlRule (Maybe Text) Source #
The rule name.
accessControlRule_notUserIds :: Lens' AccessControlRule (Maybe [Text]) Source #
User IDs to exclude from the rule.
accessControlRule_dateModified :: Lens' AccessControlRule (Maybe UTCTime) Source #
The date that the rule was modified.
accessControlRule_ipRanges :: Lens' AccessControlRule (Maybe [Text]) Source #
IPv4 CIDR ranges to include in the rule.
accessControlRule_notIpRanges :: Lens' AccessControlRule (Maybe [Text]) Source #
IPv4 CIDR ranges to exclude from the rule.
accessControlRule_notActions :: Lens' AccessControlRule (Maybe [Text]) Source #
Access protocol actions to exclude from the rule. Valid values include
ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
,
and WebMail
.
accessControlRule_description :: Lens' AccessControlRule (Maybe Text) Source #
The rule description.