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

Description

 
Synopsis

Documentation

data Regex Source #

A single regular expression. This is used in a RegexPatternSet.

See: newRegex smart constructor.

Constructors

Regex' 

Fields

Instances

Instances details
FromJSON Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

ToJSON Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Generic Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Associated Types

type Rep Regex :: Type -> Type #

Methods

from :: Regex -> Rep Regex x #

to :: Rep Regex x -> Regex #

Read Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Show Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Methods

showsPrec :: Int -> Regex -> ShowS #

show :: Regex -> String #

showList :: [Regex] -> ShowS #

NFData Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Methods

rnf :: Regex -> () #

Eq Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Methods

(==) :: Regex -> Regex -> Bool #

(/=) :: Regex -> Regex -> Bool #

Hashable Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

Methods

hashWithSalt :: Int -> Regex -> Int #

hash :: Regex -> Int #

type Rep Regex Source # 
Instance details

Defined in Amazonka.WAFV2.Types.Regex

type Rep Regex = D1 ('MetaData "Regex" "Amazonka.WAFV2.Types.Regex" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "Regex'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRegex :: Regex Source #

Create a value of Regex 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:regexString:Regex', regex_regexString - The string representing the regular expression.

regex_regexString :: Lens' Regex (Maybe Text) Source #

The string representing the regular expression.