| 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.Types.MobileDeviceAccessRule
Description
Synopsis
- data MobileDeviceAccessRule = MobileDeviceAccessRule' {
- dateCreated :: Maybe POSIX
- dateModified :: Maybe POSIX
- description :: Maybe Text
- deviceModels :: Maybe (NonEmpty Text)
- deviceOperatingSystems :: Maybe (NonEmpty Text)
- deviceTypes :: Maybe (NonEmpty Text)
- deviceUserAgents :: Maybe (NonEmpty Text)
- effect :: Maybe MobileDeviceAccessRuleEffect
- mobileDeviceAccessRuleId :: Maybe Text
- name :: Maybe Text
- notDeviceModels :: Maybe (NonEmpty Text)
- notDeviceOperatingSystems :: Maybe (NonEmpty Text)
- notDeviceTypes :: Maybe (NonEmpty Text)
- notDeviceUserAgents :: Maybe (NonEmpty Text)
- newMobileDeviceAccessRule :: MobileDeviceAccessRule
- mobileDeviceAccessRule_dateCreated :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
- mobileDeviceAccessRule_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime)
- mobileDeviceAccessRule_description :: Lens' MobileDeviceAccessRule (Maybe Text)
- mobileDeviceAccessRule_deviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_deviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_deviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_deviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect)
- mobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessRule (Maybe Text)
- mobileDeviceAccessRule_name :: Lens' MobileDeviceAccessRule (Maybe Text)
- mobileDeviceAccessRule_notDeviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
- mobileDeviceAccessRule_notDeviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text))
Documentation
data MobileDeviceAccessRule Source #
A rule that controls access to mobile devices for an WorkMail group.
See: newMobileDeviceAccessRule smart constructor.
Constructors
| MobileDeviceAccessRule' | |
Fields
| |
Instances
newMobileDeviceAccessRule :: MobileDeviceAccessRule Source #
Create a value of MobileDeviceAccessRule 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:dateCreated:MobileDeviceAccessRule', mobileDeviceAccessRule_dateCreated - The date and time at which an access rule was created.
$sel:dateModified:MobileDeviceAccessRule', mobileDeviceAccessRule_dateModified - The date and time at which an access rule was modified.
$sel:description:MobileDeviceAccessRule', mobileDeviceAccessRule_description - The description of a mobile access rule.
$sel:deviceModels:MobileDeviceAccessRule', mobileDeviceAccessRule_deviceModels - Device models that a rule will match.
$sel:deviceOperatingSystems:MobileDeviceAccessRule', mobileDeviceAccessRule_deviceOperatingSystems - Device operating systems that a rule will match.
$sel:deviceTypes:MobileDeviceAccessRule', mobileDeviceAccessRule_deviceTypes - Device types that a rule will match.
$sel:deviceUserAgents:MobileDeviceAccessRule', mobileDeviceAccessRule_deviceUserAgents - Device user agents that a rule will match.
$sel:effect:MobileDeviceAccessRule', mobileDeviceAccessRule_effect - The effect of the rule when it matches. Allowed values are ALLOW or
DENY.
$sel:mobileDeviceAccessRuleId:MobileDeviceAccessRule', mobileDeviceAccessRule_mobileDeviceAccessRuleId - The ID assigned to a mobile access rule.
$sel:name:MobileDeviceAccessRule', mobileDeviceAccessRule_name - The name of a mobile access rule.
$sel:notDeviceModels:MobileDeviceAccessRule', mobileDeviceAccessRule_notDeviceModels - Device models that a rule will not match. All other device models
will match.
$sel:notDeviceOperatingSystems:MobileDeviceAccessRule', mobileDeviceAccessRule_notDeviceOperatingSystems - Device operating systems that a rule will not match. All other
device types will match.
$sel:notDeviceTypes:MobileDeviceAccessRule', mobileDeviceAccessRule_notDeviceTypes - Device types that a rule will not match. All other device types will
match.
$sel:notDeviceUserAgents:MobileDeviceAccessRule', mobileDeviceAccessRule_notDeviceUserAgents - Device user agents that a rule will not match. All other device user
agents will match.
mobileDeviceAccessRule_dateCreated :: Lens' MobileDeviceAccessRule (Maybe UTCTime) Source #
The date and time at which an access rule was created.
mobileDeviceAccessRule_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime) Source #
The date and time at which an access rule was modified.
mobileDeviceAccessRule_description :: Lens' MobileDeviceAccessRule (Maybe Text) Source #
The description of a mobile access rule.
mobileDeviceAccessRule_deviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device models that a rule will match.
mobileDeviceAccessRule_deviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device operating systems that a rule will match.
mobileDeviceAccessRule_deviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device types that a rule will match.
mobileDeviceAccessRule_deviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device user agents that a rule will match.
mobileDeviceAccessRule_effect :: Lens' MobileDeviceAccessRule (Maybe MobileDeviceAccessRuleEffect) Source #
The effect of the rule when it matches. Allowed values are ALLOW or
DENY.
mobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' MobileDeviceAccessRule (Maybe Text) Source #
The ID assigned to a mobile access rule.
mobileDeviceAccessRule_name :: Lens' MobileDeviceAccessRule (Maybe Text) Source #
The name of a mobile access rule.
mobileDeviceAccessRule_notDeviceModels :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device models that a rule will not match. All other device models will match.
mobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device operating systems that a rule will not match. All other device types will match.
mobileDeviceAccessRule_notDeviceTypes :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device types that a rule will not match. All other device types will match.
mobileDeviceAccessRule_notDeviceUserAgents :: Lens' MobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #
Device user agents that a rule will not match. All other device user agents will match.