Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
A single logging filter, used in LoggingFilter.
See: newFilter
smart constructor.
Filter' | |
|
Instances
FromJSON Filter Source # | |
ToJSON Filter Source # | |
Defined in Amazonka.WAFV2.Types.Filter | |
Generic Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.WAFV2.Types.Filter | |
Eq Filter Source # | |
Hashable Filter Source # | |
Defined in Amazonka.WAFV2.Types.Filter | |
type Rep Filter Source # | |
Defined in Amazonka.WAFV2.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.WAFV2.Types.Filter" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "behavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FilterBehavior) :*: (S1 ('MetaSel ('Just "requirement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FilterRequirement) :*: S1 ('MetaSel ('Just "conditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Condition))))) |
Create a value of Filter
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:behavior:Filter'
, filter_behavior
- How to handle logs that satisfy the filter's conditions and
requirement.
$sel:requirement:Filter'
, filter_requirement
- Logic to apply to the filtering conditions. You can specify that, in
order to satisfy the filter, a log must match all conditions or must
match at least one condition.
$sel:conditions:Filter'
, filter_conditions
- Match conditions for the filter.
filter_behavior :: Lens' Filter FilterBehavior Source #
How to handle logs that satisfy the filter's conditions and requirement.
filter_requirement :: Lens' Filter FilterRequirement Source #
Logic to apply to the filtering conditions. You can specify that, in order to satisfy the filter, a log must match all conditions or must match at least one condition.