amazonka-wafv2-2.0: Amazon WAFV2 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.WAFV2.Types.LoggingFilter

Description

 
Synopsis

Documentation

data LoggingFilter Source #

Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration.

You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

See: newLoggingFilter smart constructor.

Constructors

LoggingFilter' 

Fields

Instances

Instances details
FromJSON LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

ToJSON LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

Generic LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

Associated Types

type Rep LoggingFilter :: Type -> Type #

Read LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

Show LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

NFData LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

Methods

rnf :: LoggingFilter -> () #

Eq LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

Hashable LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

type Rep LoggingFilter Source # 
Instance details

Defined in Amazonka.WAFV2.Types.LoggingFilter

type Rep LoggingFilter = D1 ('MetaData "LoggingFilter" "Amazonka.WAFV2.Types.LoggingFilter" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "LoggingFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Filter)) :*: S1 ('MetaSel ('Just "defaultBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FilterBehavior)))

newLoggingFilter Source #

Create a value of LoggingFilter 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:filters:LoggingFilter', loggingFilter_filters - The filters that you want to apply to the logs.

$sel:defaultBehavior:LoggingFilter', loggingFilter_defaultBehavior - Default handling for logs that don't match any of the specified filtering conditions.

loggingFilter_filters :: Lens' LoggingFilter (NonEmpty Filter) Source #

The filters that you want to apply to the logs.

loggingFilter_defaultBehavior :: Lens' LoggingFilter FilterBehavior Source #

Default handling for logs that don't match any of the specified filtering conditions.