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.AccessControlRule

Description

 
Synopsis

Documentation

data AccessControlRule Source #

A rule that controls access to an Amazon WorkMail organization.

See: newAccessControlRule smart constructor.

Constructors

AccessControlRule' 

Fields

Instances

Instances details
Eq AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

Read AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

Show AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

Generic AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

Associated Types

type Rep AccessControlRule :: Type -> Type #

NFData AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

Methods

rnf :: AccessControlRule -> () #

Hashable AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

FromJSON AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

type Rep AccessControlRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.AccessControlRule

type Rep AccessControlRule = D1 ('MetaData "AccessControlRule" "Amazonka.WorkMail.Types.AccessControlRule" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "AccessControlRule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "effect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessControlRuleEffect)) :*: S1 ('MetaSel ('Just "userIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "dateCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "notUserIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "dateModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "ipRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "notIpRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "notActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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_notUserIds :: Lens' AccessControlRule (Maybe [Text]) Source #

User IDs to exclude from the rule.

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.