libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkMail.Types.MobileDeviceAccessRule

Description

 
Synopsis

Documentation

data MobileDeviceAccessRule Source #

A rule that controls access to mobile devices for an Amazon WorkMail group.

See: newMobileDeviceAccessRule smart constructor.

Constructors

MobileDeviceAccessRule' 

Fields

Instances

Instances details
Eq MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

Read MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

Show MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

Generic MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

Associated Types

type Rep MobileDeviceAccessRule :: Type -> Type #

NFData MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

Methods

rnf :: MobileDeviceAccessRule -> () #

Hashable MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

FromJSON MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

type Rep MobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.MobileDeviceAccessRule

type Rep MobileDeviceAccessRule = D1 ('MetaData "MobileDeviceAccessRule" "Amazonka.WorkMail.Types.MobileDeviceAccessRule" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "MobileDeviceAccessRule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "effect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MobileDeviceAccessRuleEffect)) :*: (S1 ('MetaSel ('Just "deviceUserAgents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "deviceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: ((S1 ('MetaSel ('Just "notDeviceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notDeviceOperatingSystems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "dateCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "deviceModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))) :*: ((S1 ('MetaSel ('Just "mobileDeviceAccessRuleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dateModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "deviceOperatingSystems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "notDeviceUserAgents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notDeviceModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))))

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_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_dateModified :: Lens' MobileDeviceAccessRule (Maybe UTCTime) Source #

The date and time at which an access rule was modified.

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.