| 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 |
Amazonka.WAFV2.Types.CookieMatchPattern
Description
Synopsis
- data CookieMatchPattern = CookieMatchPattern' {}
- newCookieMatchPattern :: CookieMatchPattern
- cookieMatchPattern_all :: Lens' CookieMatchPattern (Maybe All)
- cookieMatchPattern_excludedCookies :: Lens' CookieMatchPattern (Maybe (NonEmpty Text))
- cookieMatchPattern_includedCookies :: Lens' CookieMatchPattern (Maybe (NonEmpty Text))
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' | |
Instances
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_all :: Lens' CookieMatchPattern (Maybe All) Source #
Inspect all cookies.
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.