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