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

Description

 
Synopsis

Documentation

data CookieMatchPattern Source #

The filter to use to identify the subset of cookies to inspect in a web request.

You must specify exactly one setting: either All, IncludedCookies, or ExcludedCookies.

Example JSON: "MatchPattern": { "IncludedCookies": {"KeyToInclude1", "KeyToInclude2", "KeyToInclude3"} }

See: newCookieMatchPattern smart constructor.

Constructors

CookieMatchPattern' 

Fields

Instances

Instances details
FromJSON CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

ToJSON CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

Generic CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

Associated Types

type Rep CookieMatchPattern :: Type -> Type #

Read CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

Show CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

NFData CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

Methods

rnf :: CookieMatchPattern -> () #

Eq CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

Hashable CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

type Rep CookieMatchPattern Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CookieMatchPattern

type Rep CookieMatchPattern = D1 ('MetaData "CookieMatchPattern" "Amazonka.WAFV2.Types.CookieMatchPattern" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "CookieMatchPattern'" 'PrefixI 'True) (S1 ('MetaSel ('Just "all") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe All)) :*: (S1 ('MetaSel ('Just "excludedCookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "includedCookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))

newCookieMatchPattern :: CookieMatchPattern Source #

Create a value of CookieMatchPattern 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:all:CookieMatchPattern', cookieMatchPattern_all - Inspect all cookies.

$sel:excludedCookies:CookieMatchPattern', cookieMatchPattern_excludedCookies - Inspect only the cookies whose keys don't match any of the strings specified here.

$sel:includedCookies:CookieMatchPattern', cookieMatchPattern_includedCookies - Inspect only the cookies that have a key that matches one of the strings specified here.

cookieMatchPattern_excludedCookies :: Lens' CookieMatchPattern (Maybe (NonEmpty Text)) Source #

Inspect only the cookies whose keys don't match any of the strings specified here.

cookieMatchPattern_includedCookies :: Lens' CookieMatchPattern (Maybe (NonEmpty Text)) Source #

Inspect only the cookies that have a key that matches one of the strings specified here.