amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.Criterion

Description

 
Synopsis

Documentation

data Criterion Source #

The criteria to use in the filter that defines the archive rule. For more information on available filter keys, see IAM Access Analyzer filter keys.

See: newCriterion smart constructor.

Constructors

Criterion' 

Fields

Instances

Instances details
FromJSON Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

ToJSON 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 #

Read Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Show Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

NFData Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Methods

rnf :: Criterion -> () #

Eq Criterion Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.Criterion

Hashable 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" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "Criterion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: 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))))))

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:contains:Criterion', criterion_contains - A "contains" operator to match for the filter used to create the rule.

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

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

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.