libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.Criterion

Description

 
Synopsis

Documentation

data Criterion Source #

The criteria to use in the filter that defines the archive rule.

See: newCriterion smart constructor.

Constructors

Criterion' 

Fields

Instances

Instances details
Eq Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Read Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Show Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Generic Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Associated Types

type Rep Criterion :: Type -> Type #

NFData Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Methods

rnf :: Criterion -> () #

Hashable Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

ToJSON Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

FromJSON Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

type Rep Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

type Rep Criterion = D1 ('MetaData "Criterion" "Amazonka.AccessAnalyzer.Types.Criterion" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "Criterion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eq") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "exists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "neq") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "contains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))

newCriterion :: Criterion Source #

Create a value of Criterion 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:eq:Criterion', criterion_eq - An "equals" operator to match for the filter used to create the rule.

$sel:exists:Criterion', criterion_exists - An "exists" operator to match for the filter used to create the rule.

$sel:neq:Criterion', criterion_neq - A "not equals" operator to match for the filter used to create the rule.

$sel:contains:Criterion', criterion_contains - A "contains" operator to match for the filter used to create the rule.

criterion_eq :: Lens' Criterion (Maybe (NonEmpty Text)) Source #

An "equals" operator to match for the filter used to create the rule.

criterion_exists :: Lens' Criterion (Maybe Bool) Source #

An "exists" operator to match for the filter used to create the rule.

criterion_neq :: Lens' Criterion (Maybe (NonEmpty Text)) Source #

A "not equals" operator to match for the filter used to create the rule.

criterion_contains :: Lens' Criterion (Maybe (NonEmpty Text)) Source #

A "contains" operator to match for the filter used to create the rule.