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 Criterion = Criterion' {}
- newCriterion :: Criterion
- criterion_eq :: Lens' Criterion (Maybe (NonEmpty Text))
- criterion_exists :: Lens' Criterion (Maybe Bool)
- criterion_neq :: Lens' Criterion (Maybe (NonEmpty Text))
- criterion_contains :: Lens' Criterion (Maybe (NonEmpty Text))
Documentation
The criteria to use in the filter that defines the archive rule.
See: newCriterion
smart constructor.
Criterion' | |
|
Instances
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.