Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.WAFRegional.Types
Contents
- Service Configuration
- Errors
- ChangeAction
- ChangeTokenStatus
- ComparisonOperator
- GeoMatchConstraintType
- GeoMatchConstraintValue
- IPSetDescriptorType
- MatchFieldType
- PositionalConstraint
- PredicateType
- RateKey
- TextTransformation
- WafActionType
- WafOverrideActionType
- WafRuleType
- ActivatedRule
- ByteMatchSet
- ByteMatchSetSummary
- ByteMatchSetUpdate
- ByteMatchTuple
- FieldToMatch
- GeoMatchConstraint
- GeoMatchSet
- GeoMatchSetSummary
- GeoMatchSetUpdate
- HTTPHeader
- HTTPRequest
- IPSet
- IPSetDescriptor
- IPSetSummary
- IPSetUpdate
- Predicate
- RateBasedRule
- RegexMatchSet
- RegexMatchSetSummary
- RegexMatchSetUpdate
- RegexMatchTuple
- RegexPatternSet
- RegexPatternSetSummary
- RegexPatternSetUpdate
- Rule
- RuleGroup
- RuleGroupSummary
- RuleGroupUpdate
- RuleSummary
- RuleUpdate
- SampledHTTPRequest
- SizeConstraint
- SizeConstraintSet
- SizeConstraintSetSummary
- SizeConstraintSetUpdate
- SqlInjectionMatchSet
- SqlInjectionMatchSetSummary
- SqlInjectionMatchSetUpdate
- SqlInjectionMatchTuple
- SubscribedRuleGroupSummary
- TimeWindow
- WafAction
- WafOverrideAction
- WebACL
- WebACLSummary
- WebACLUpdate
- XSSMatchSet
- XSSMatchSetSummary
- XSSMatchSetUpdate
- XSSMatchTuple
Description
Synopsis
- wAFRegional :: Service
- _WAFInvalidAccountException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFSubscriptionNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFReferencedItemException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFInvalidRegexPatternException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFInvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFNonexistentItemException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFInvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFLimitsExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFInvalidPermissionPolicyException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFStaleDataException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFInternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFNonexistentContainerException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFUnavailableEntityException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFDisallowedNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _WAFNonEmptyEntityException :: AsError a => Getting (First ServiceError) a ServiceError
- data ChangeAction
- data ChangeTokenStatus
- = Insync
- | Pending
- | Provisioned
- data ComparisonOperator
- data GeoMatchConstraintType = Country
- data GeoMatchConstraintValue
- = GMCVAD
- | GMCVAE
- | GMCVAF
- | GMCVAG
- | GMCVAI
- | GMCVAL
- | GMCVAM
- | GMCVAO
- | GMCVAQ
- | GMCVAR
- | GMCVAS
- | GMCVAT
- | GMCVAU
- | GMCVAW
- | GMCVAX
- | GMCVAZ
- | GMCVBA
- | GMCVBB
- | GMCVBD
- | GMCVBE
- | GMCVBF
- | GMCVBG
- | GMCVBH
- | GMCVBI
- | GMCVBJ
- | GMCVBL
- | GMCVBM
- | GMCVBN
- | GMCVBO
- | GMCVBQ
- | GMCVBR
- | GMCVBS
- | GMCVBT
- | GMCVBV
- | GMCVBW
- | GMCVBY
- | GMCVBZ
- | GMCVCA
- | GMCVCC
- | GMCVCD
- | GMCVCF
- | GMCVCG
- | GMCVCH
- | GMCVCI
- | GMCVCK
- | GMCVCL
- | GMCVCM
- | GMCVCN
- | GMCVCO
- | GMCVCR
- | GMCVCU
- | GMCVCV
- | GMCVCW
- | GMCVCX
- | GMCVCY
- | GMCVCZ
- | GMCVDE
- | GMCVDJ
- | GMCVDK
- | GMCVDM
- | GMCVDO
- | GMCVDZ
- | GMCVEC
- | GMCVEE
- | GMCVEG
- | GMCVEH
- | GMCVER
- | GMCVES
- | GMCVET
- | GMCVFI
- | GMCVFJ
- | GMCVFK
- | GMCVFM
- | GMCVFO
- | GMCVFR
- | GMCVGA
- | GMCVGB
- | GMCVGD
- | GMCVGE
- | GMCVGF
- | GMCVGG
- | GMCVGH
- | GMCVGI
- | GMCVGL
- | GMCVGM
- | GMCVGN
- | GMCVGP
- | GMCVGQ
- | GMCVGR
- | GMCVGS
- | GMCVGT'
- | GMCVGU
- | GMCVGW
- | GMCVGY
- | GMCVHK
- | GMCVHM
- | GMCVHN
- | GMCVHR
- | GMCVHT
- | GMCVHU
- | GMCVIE
- | GMCVIL
- | GMCVIM
- | GMCVIN
- | GMCVIO
- | GMCVIQ
- | GMCVIR
- | GMCVIS
- | GMCVIT
- | GMCVId
- | GMCVJE
- | GMCVJM
- | GMCVJO
- | GMCVJP
- | GMCVKE
- | GMCVKG
- | GMCVKH
- | GMCVKI
- | GMCVKM
- | GMCVKN
- | GMCVKP
- | GMCVKR
- | GMCVKW
- | GMCVKY
- | GMCVKZ
- | GMCVLA
- | GMCVLB
- | GMCVLC
- | GMCVLI
- | GMCVLK
- | GMCVLR
- | GMCVLS
- | GMCVLT'
- | GMCVLU
- | GMCVLV
- | GMCVLY
- | GMCVMA
- | GMCVMC
- | GMCVMD
- | GMCVME
- | GMCVMF
- | GMCVMG
- | GMCVMH
- | GMCVMK
- | GMCVML
- | GMCVMM
- | GMCVMN
- | GMCVMO
- | GMCVMP
- | GMCVMQ
- | GMCVMR
- | GMCVMS
- | GMCVMT
- | GMCVMU
- | GMCVMV
- | GMCVMW
- | GMCVMX
- | GMCVMY
- | GMCVMZ
- | GMCVNA
- | GMCVNC
- | GMCVNE
- | GMCVNF
- | GMCVNG
- | GMCVNI
- | GMCVNL
- | GMCVNO
- | GMCVNP
- | GMCVNR
- | GMCVNU
- | GMCVNZ
- | GMCVOM
- | GMCVPA
- | GMCVPE
- | GMCVPF
- | GMCVPG
- | GMCVPH
- | GMCVPK
- | GMCVPL
- | GMCVPM
- | GMCVPN
- | GMCVPR
- | GMCVPS
- | GMCVPT
- | GMCVPW
- | GMCVPY
- | GMCVQA
- | GMCVRE
- | GMCVRO
- | GMCVRS
- | GMCVRU
- | GMCVRW
- | GMCVSA
- | GMCVSB
- | GMCVSC
- | GMCVSD
- | GMCVSE
- | GMCVSG
- | GMCVSH
- | GMCVSI
- | GMCVSJ
- | GMCVSK
- | GMCVSL
- | GMCVSM
- | GMCVSN
- | GMCVSO
- | GMCVSR
- | GMCVSS
- | GMCVST
- | GMCVSV
- | GMCVSX
- | GMCVSY
- | GMCVSZ
- | GMCVTC
- | GMCVTD
- | GMCVTF
- | GMCVTG
- | GMCVTH
- | GMCVTJ
- | GMCVTK
- | GMCVTL
- | GMCVTM
- | GMCVTN
- | GMCVTO
- | GMCVTR
- | GMCVTT
- | GMCVTV
- | GMCVTW
- | GMCVTZ
- | GMCVUA
- | GMCVUG
- | GMCVUM
- | GMCVUS
- | GMCVUY
- | GMCVUZ
- | GMCVVA
- | GMCVVC
- | GMCVVE
- | GMCVVG
- | GMCVVI
- | GMCVVN
- | GMCVVU
- | GMCVWF
- | GMCVWS
- | GMCVYE
- | GMCVYT
- | GMCVZA
- | GMCVZM
- | GMCVZW
- data IPSetDescriptorType
- data MatchFieldType
- = Body
- | Header
- | Method
- | QueryString
- | URI
- data PositionalConstraint
- data PredicateType
- data RateKey = IP
- data TextTransformation
- data WafActionType
- data WafOverrideActionType
- data WafRuleType
- data ActivatedRule
- activatedRule :: Int -> Text -> ActivatedRule
- arOverrideAction :: Lens' ActivatedRule (Maybe WafOverrideAction)
- arAction :: Lens' ActivatedRule (Maybe WafAction)
- arType :: Lens' ActivatedRule (Maybe WafRuleType)
- arPriority :: Lens' ActivatedRule Int
- arRuleId :: Lens' ActivatedRule Text
- data ByteMatchSet
- byteMatchSet :: Text -> ByteMatchSet
- bmsName :: Lens' ByteMatchSet (Maybe Text)
- bmsByteMatchSetId :: Lens' ByteMatchSet Text
- bmsByteMatchTuples :: Lens' ByteMatchSet [ByteMatchTuple]
- data ByteMatchSetSummary
- byteMatchSetSummary :: Text -> Text -> ByteMatchSetSummary
- bmssByteMatchSetId :: Lens' ByteMatchSetSummary Text
- bmssName :: Lens' ByteMatchSetSummary Text
- data ByteMatchSetUpdate
- byteMatchSetUpdate :: ChangeAction -> ByteMatchTuple -> ByteMatchSetUpdate
- bmsuAction :: Lens' ByteMatchSetUpdate ChangeAction
- bmsuByteMatchTuple :: Lens' ByteMatchSetUpdate ByteMatchTuple
- data ByteMatchTuple
- byteMatchTuple :: FieldToMatch -> ByteString -> TextTransformation -> PositionalConstraint -> ByteMatchTuple
- bmtFieldToMatch :: Lens' ByteMatchTuple FieldToMatch
- bmtTargetString :: Lens' ByteMatchTuple ByteString
- bmtTextTransformation :: Lens' ByteMatchTuple TextTransformation
- bmtPositionalConstraint :: Lens' ByteMatchTuple PositionalConstraint
- data FieldToMatch
- fieldToMatch :: MatchFieldType -> FieldToMatch
- ftmData :: Lens' FieldToMatch (Maybe Text)
- ftmType :: Lens' FieldToMatch MatchFieldType
- data GeoMatchConstraint
- geoMatchConstraint :: GeoMatchConstraintType -> GeoMatchConstraintValue -> GeoMatchConstraint
- gmcType :: Lens' GeoMatchConstraint GeoMatchConstraintType
- gmcValue :: Lens' GeoMatchConstraint GeoMatchConstraintValue
- data GeoMatchSet
- geoMatchSet :: Text -> GeoMatchSet
- gmsName :: Lens' GeoMatchSet (Maybe Text)
- gmsGeoMatchSetId :: Lens' GeoMatchSet Text
- gmsGeoMatchConstraints :: Lens' GeoMatchSet [GeoMatchConstraint]
- data GeoMatchSetSummary
- geoMatchSetSummary :: Text -> Text -> GeoMatchSetSummary
- gmssGeoMatchSetId :: Lens' GeoMatchSetSummary Text
- gmssName :: Lens' GeoMatchSetSummary Text
- data GeoMatchSetUpdate
- geoMatchSetUpdate :: ChangeAction -> GeoMatchConstraint -> GeoMatchSetUpdate
- gmsuAction :: Lens' GeoMatchSetUpdate ChangeAction
- gmsuGeoMatchConstraint :: Lens' GeoMatchSetUpdate GeoMatchConstraint
- data HTTPHeader
- hTTPHeader :: HTTPHeader
- httphValue :: Lens' HTTPHeader (Maybe Text)
- httphName :: Lens' HTTPHeader (Maybe Text)
- data HTTPRequest
- hTTPRequest :: HTTPRequest
- httprHTTPVersion :: Lens' HTTPRequest (Maybe Text)
- httprCountry :: Lens' HTTPRequest (Maybe Text)
- httprURI :: Lens' HTTPRequest (Maybe Text)
- httprHeaders :: Lens' HTTPRequest [HTTPHeader]
- httprMethod :: Lens' HTTPRequest (Maybe Text)
- httprClientIP :: Lens' HTTPRequest (Maybe Text)
- data IPSet
- ipSet :: Text -> IPSet
- isName :: Lens' IPSet (Maybe Text)
- isIPSetId :: Lens' IPSet Text
- isIPSetDescriptors :: Lens' IPSet [IPSetDescriptor]
- data IPSetDescriptor
- ipSetDescriptor :: IPSetDescriptorType -> Text -> IPSetDescriptor
- isdType :: Lens' IPSetDescriptor IPSetDescriptorType
- isdValue :: Lens' IPSetDescriptor Text
- data IPSetSummary
- ipSetSummary :: Text -> Text -> IPSetSummary
- issIPSetId :: Lens' IPSetSummary Text
- issName :: Lens' IPSetSummary Text
- data IPSetUpdate
- ipSetUpdate :: ChangeAction -> IPSetDescriptor -> IPSetUpdate
- isuAction :: Lens' IPSetUpdate ChangeAction
- isuIPSetDescriptor :: Lens' IPSetUpdate IPSetDescriptor
- data Predicate
- predicate :: Bool -> PredicateType -> Text -> Predicate
- pNegated :: Lens' Predicate Bool
- pType :: Lens' Predicate PredicateType
- pDataId :: Lens' Predicate Text
- data RateBasedRule
- rateBasedRule :: Text -> RateKey -> Natural -> RateBasedRule
- rbrMetricName :: Lens' RateBasedRule (Maybe Text)
- rbrName :: Lens' RateBasedRule (Maybe Text)
- rbrRuleId :: Lens' RateBasedRule Text
- rbrMatchPredicates :: Lens' RateBasedRule [Predicate]
- rbrRateKey :: Lens' RateBasedRule RateKey
- rbrRateLimit :: Lens' RateBasedRule Natural
- data RegexMatchSet
- regexMatchSet :: RegexMatchSet
- rmsName :: Lens' RegexMatchSet (Maybe Text)
- rmsRegexMatchTuples :: Lens' RegexMatchSet [RegexMatchTuple]
- rmsRegexMatchSetId :: Lens' RegexMatchSet (Maybe Text)
- data RegexMatchSetSummary
- regexMatchSetSummary :: Text -> Text -> RegexMatchSetSummary
- rmssRegexMatchSetId :: Lens' RegexMatchSetSummary Text
- rmssName :: Lens' RegexMatchSetSummary Text
- data RegexMatchSetUpdate
- regexMatchSetUpdate :: ChangeAction -> RegexMatchTuple -> RegexMatchSetUpdate
- rmsuAction :: Lens' RegexMatchSetUpdate ChangeAction
- rmsuRegexMatchTuple :: Lens' RegexMatchSetUpdate RegexMatchTuple
- data RegexMatchTuple
- regexMatchTuple :: FieldToMatch -> TextTransformation -> Text -> RegexMatchTuple
- rmtFieldToMatch :: Lens' RegexMatchTuple FieldToMatch
- rmtTextTransformation :: Lens' RegexMatchTuple TextTransformation
- rmtRegexPatternSetId :: Lens' RegexMatchTuple Text
- data RegexPatternSet
- regexPatternSet :: Text -> RegexPatternSet
- rpsName :: Lens' RegexPatternSet (Maybe Text)
- rpsRegexPatternSetId :: Lens' RegexPatternSet Text
- rpsRegexPatternStrings :: Lens' RegexPatternSet [Text]
- data RegexPatternSetSummary
- regexPatternSetSummary :: Text -> Text -> RegexPatternSetSummary
- rpssRegexPatternSetId :: Lens' RegexPatternSetSummary Text
- rpssName :: Lens' RegexPatternSetSummary Text
- data RegexPatternSetUpdate
- regexPatternSetUpdate :: ChangeAction -> Text -> RegexPatternSetUpdate
- rpsuAction :: Lens' RegexPatternSetUpdate ChangeAction
- rpsuRegexPatternString :: Lens' RegexPatternSetUpdate Text
- data Rule
- rule :: Text -> Rule
- rMetricName :: Lens' Rule (Maybe Text)
- rName :: Lens' Rule (Maybe Text)
- rRuleId :: Lens' Rule Text
- rPredicates :: Lens' Rule [Predicate]
- data RuleGroup
- ruleGroup :: Text -> RuleGroup
- rgMetricName :: Lens' RuleGroup (Maybe Text)
- rgName :: Lens' RuleGroup (Maybe Text)
- rgRuleGroupId :: Lens' RuleGroup Text
- data RuleGroupSummary
- ruleGroupSummary :: Text -> Text -> RuleGroupSummary
- rgsRuleGroupId :: Lens' RuleGroupSummary Text
- rgsName :: Lens' RuleGroupSummary Text
- data RuleGroupUpdate
- ruleGroupUpdate :: ChangeAction -> ActivatedRule -> RuleGroupUpdate
- rguAction :: Lens' RuleGroupUpdate ChangeAction
- rguActivatedRule :: Lens' RuleGroupUpdate ActivatedRule
- data RuleSummary
- ruleSummary :: Text -> Text -> RuleSummary
- rsRuleId :: Lens' RuleSummary Text
- rsName :: Lens' RuleSummary Text
- data RuleUpdate
- ruleUpdate :: ChangeAction -> Predicate -> RuleUpdate
- ruAction :: Lens' RuleUpdate ChangeAction
- ruPredicate :: Lens' RuleUpdate Predicate
- data SampledHTTPRequest
- sampledHTTPRequest :: HTTPRequest -> Natural -> SampledHTTPRequest
- shttprRuleWithinRuleGroup :: Lens' SampledHTTPRequest (Maybe Text)
- shttprAction :: Lens' SampledHTTPRequest (Maybe Text)
- shttprTimestamp :: Lens' SampledHTTPRequest (Maybe UTCTime)
- shttprRequest :: Lens' SampledHTTPRequest HTTPRequest
- shttprWeight :: Lens' SampledHTTPRequest Natural
- data SizeConstraint
- sizeConstraint :: FieldToMatch -> TextTransformation -> ComparisonOperator -> Natural -> SizeConstraint
- scFieldToMatch :: Lens' SizeConstraint FieldToMatch
- scTextTransformation :: Lens' SizeConstraint TextTransformation
- scComparisonOperator :: Lens' SizeConstraint ComparisonOperator
- scSize :: Lens' SizeConstraint Natural
- data SizeConstraintSet
- sizeConstraintSet :: Text -> SizeConstraintSet
- scsName :: Lens' SizeConstraintSet (Maybe Text)
- scsSizeConstraintSetId :: Lens' SizeConstraintSet Text
- scsSizeConstraints :: Lens' SizeConstraintSet [SizeConstraint]
- data SizeConstraintSetSummary
- sizeConstraintSetSummary :: Text -> Text -> SizeConstraintSetSummary
- scssSizeConstraintSetId :: Lens' SizeConstraintSetSummary Text
- scssName :: Lens' SizeConstraintSetSummary Text
- data SizeConstraintSetUpdate
- sizeConstraintSetUpdate :: ChangeAction -> SizeConstraint -> SizeConstraintSetUpdate
- scsuAction :: Lens' SizeConstraintSetUpdate ChangeAction
- scsuSizeConstraint :: Lens' SizeConstraintSetUpdate SizeConstraint
- data SqlInjectionMatchSet
- sqlInjectionMatchSet :: Text -> SqlInjectionMatchSet
- simsName :: Lens' SqlInjectionMatchSet (Maybe Text)
- simsSqlInjectionMatchSetId :: Lens' SqlInjectionMatchSet Text
- simsSqlInjectionMatchTuples :: Lens' SqlInjectionMatchSet [SqlInjectionMatchTuple]
- data SqlInjectionMatchSetSummary
- sqlInjectionMatchSetSummary :: Text -> Text -> SqlInjectionMatchSetSummary
- simssSqlInjectionMatchSetId :: Lens' SqlInjectionMatchSetSummary Text
- simssName :: Lens' SqlInjectionMatchSetSummary Text
- data SqlInjectionMatchSetUpdate
- sqlInjectionMatchSetUpdate :: ChangeAction -> SqlInjectionMatchTuple -> SqlInjectionMatchSetUpdate
- simsuAction :: Lens' SqlInjectionMatchSetUpdate ChangeAction
- simsuSqlInjectionMatchTuple :: Lens' SqlInjectionMatchSetUpdate SqlInjectionMatchTuple
- data SqlInjectionMatchTuple
- sqlInjectionMatchTuple :: FieldToMatch -> TextTransformation -> SqlInjectionMatchTuple
- simtFieldToMatch :: Lens' SqlInjectionMatchTuple FieldToMatch
- simtTextTransformation :: Lens' SqlInjectionMatchTuple TextTransformation
- data SubscribedRuleGroupSummary
- subscribedRuleGroupSummary :: Text -> Text -> Text -> SubscribedRuleGroupSummary
- srgsRuleGroupId :: Lens' SubscribedRuleGroupSummary Text
- srgsName :: Lens' SubscribedRuleGroupSummary Text
- srgsMetricName :: Lens' SubscribedRuleGroupSummary Text
- data TimeWindow
- timeWindow :: UTCTime -> UTCTime -> TimeWindow
- twStartTime :: Lens' TimeWindow UTCTime
- twEndTime :: Lens' TimeWindow UTCTime
- data WafAction
- wafAction :: WafActionType -> WafAction
- waType :: Lens' WafAction WafActionType
- data WafOverrideAction
- wafOverrideAction :: WafOverrideActionType -> WafOverrideAction
- woaType :: Lens' WafOverrideAction WafOverrideActionType
- data WebACL
- webACL :: Text -> WafAction -> WebACL
- waMetricName :: Lens' WebACL (Maybe Text)
- waName :: Lens' WebACL (Maybe Text)
- waWebACLId :: Lens' WebACL Text
- waDefaultAction :: Lens' WebACL WafAction
- waRules :: Lens' WebACL [ActivatedRule]
- data WebACLSummary
- webACLSummary :: Text -> Text -> WebACLSummary
- wasWebACLId :: Lens' WebACLSummary Text
- wasName :: Lens' WebACLSummary Text
- data WebACLUpdate
- webACLUpdate :: ChangeAction -> ActivatedRule -> WebACLUpdate
- wauAction :: Lens' WebACLUpdate ChangeAction
- wauActivatedRule :: Lens' WebACLUpdate ActivatedRule
- data XSSMatchSet
- xssMatchSet :: Text -> XSSMatchSet
- xmsName :: Lens' XSSMatchSet (Maybe Text)
- xmsXSSMatchSetId :: Lens' XSSMatchSet Text
- xmsXSSMatchTuples :: Lens' XSSMatchSet [XSSMatchTuple]
- data XSSMatchSetSummary
- xssMatchSetSummary :: Text -> Text -> XSSMatchSetSummary
- xmssXSSMatchSetId :: Lens' XSSMatchSetSummary Text
- xmssName :: Lens' XSSMatchSetSummary Text
- data XSSMatchSetUpdate
- xssMatchSetUpdate :: ChangeAction -> XSSMatchTuple -> XSSMatchSetUpdate
- xmsuAction :: Lens' XSSMatchSetUpdate ChangeAction
- xmsuXSSMatchTuple :: Lens' XSSMatchSetUpdate XSSMatchTuple
- data XSSMatchTuple
- xssMatchTuple :: FieldToMatch -> TextTransformation -> XSSMatchTuple
- xmtFieldToMatch :: Lens' XSSMatchTuple FieldToMatch
- xmtTextTransformation :: Lens' XSSMatchTuple TextTransformation
Service Configuration
wAFRegional :: Service Source #
API version 2016-11-28
of the Amazon WAF Regional SDK configuration.
Errors
_WAFInvalidAccountException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.
_WAFSubscriptionNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified subscription does not exist.
_WAFReferencedItemException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because you tried to delete an object that is still in use. For example:
- You tried to delete a
ByteMatchSet
that is still referenced by aRule
. - You tried to delete a
Rule
that is still referenced by aWebACL
.
_WAFInvalidRegexPatternException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The regular expression (regex) you specified in RegexPatternString
is invalid.
_WAFInvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because there was nothing to do. For example:
- You tried to remove a
Rule
from aWebACL
, but theRule
isn't in the specifiedWebACL
. - You tried to remove an IP address from an
IPSet
, but the IP address isn't in the specifiedIPSet
. - You tried to remove a
ByteMatchTuple
from aByteMatchSet
, but theByteMatchTuple
isn't in the specifiedWebACL
. - You tried to add a
Rule
to aWebACL
, but theRule
already exists in the specifiedWebACL
. - You tried to add an IP address to an
IPSet
, but the IP address already exists in the specifiedIPSet
. - You tried to add a
ByteMatchTuple
to aByteMatchSet
, but theByteMatchTuple
already exists in the specifiedWebACL
.
_WAFNonexistentItemException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because the referenced object doesn't exist.
_WAFInvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because AWS WAF didn't recognize a parameter in the request. For example:
- You specified an invalid parameter name.
- You specified an invalid value.
- You tried to update an object (
ByteMatchSet
,IPSet
,Rule
, orWebACL
) using an action other thanINSERT
orDELETE
. - You tried to create a
WebACL
with aDefaultAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. - You tried to create a
RateBasedRule
with aRateKey
value other thanIP
. - You tried to update a
WebACL
with aWafAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. - You tried to update a
ByteMatchSet
with aFieldToMatch
Type
other than HEADER, METHOD, QUERY_STRING, URI, or BODY. - You tried to update a
ByteMatchSet
with aField
ofHEADER
but no value forData
. - Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.
_WAFLimitsExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation exceeds a resource limit, for example, the maximum number of WebACL
objects that you can create for an AWS account. For more information, see Limits in the AWS WAF Developer Guide .
_WAFInvalidPermissionPolicyException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because the specified policy is not in the proper format.
The policy is subject to the following restrictions:
- You can attach only one policy with each
PutPermissionPolicy
request. - The policy must include an
Effect
,Action
andPrincipal
. Effect
must specifyAllow
.- The
Action
in the policy must bewaf:UpdateWebACL
orwaf-regional:UpdateWebACL
. Any extra or wildcard actions in the policy will be rejected. - The policy cannot include a
Resource
parameter. - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.
- The user making the request must be the owner of the RuleGroup.
- Your policy must be composed using IAM Policy version 2012-10-17.
_WAFStaleDataException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.
_WAFInternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because of a system problem, even though the request was valid. Retry your request.
_WAFNonexistentContainerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:
- You tried to add a
Rule
to or delete aRule
from aWebACL
that doesn't exist. - You tried to add a
ByteMatchSet
to or delete aByteMatchSet
from aRule
that doesn't exist. - You tried to add an IP address to or delete an IP address from an
IPSet
that doesn't exist. - You tried to add a
ByteMatchTuple
to or delete aByteMatchTuple
from aByteMatchSet
that doesn't exist.
_WAFUnavailableEntityException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because the entity referenced is temporarily unavailable. Retry your request.
_WAFDisallowedNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The name specified is invalid.
_WAFNonEmptyEntityException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation failed because you tried to delete an object that isn't empty. For example:
- You tried to delete a
WebACL
that still contains one or moreRule
objects. - You tried to delete a
Rule
that still contains one or moreByteMatchSet
objects or other predicates. - You tried to delete a
ByteMatchSet
that contains one or moreByteMatchTuple
objects. - You tried to delete an
IPSet
that references one or more IP addresses.
ChangeAction
data ChangeAction Source #
Instances
ChangeTokenStatus
data ChangeTokenStatus Source #
Constructors
Insync | |
Pending | |
Provisioned |
Instances
ComparisonOperator
data ComparisonOperator Source #
Instances
GeoMatchConstraintType
data GeoMatchConstraintType Source #
Constructors
Country |
Instances
GeoMatchConstraintValue
data GeoMatchConstraintValue Source #
Constructors
Instances
IPSetDescriptorType
data IPSetDescriptorType Source #
Instances
MatchFieldType
data MatchFieldType Source #
Constructors
Body | |
Header | |
Method | |
QueryString | |
URI |
Instances
PositionalConstraint
data PositionalConstraint Source #
Constructors
Contains | |
ContainsWord | |
EndsWith | |
Exactly | |
StartsWith |
Instances
PredicateType
data PredicateType Source #
Instances
RateKey
Constructors
IP |
Instances
TextTransformation
data TextTransformation Source #
Constructors
CmdLine | |
CompressWhiteSpace | |
HTMLEntityDecode | |
Lowercase | |
None | |
URLDecode |
Instances
WafActionType
data WafActionType Source #
Instances
WafOverrideActionType
data WafOverrideActionType Source #
Instances
WafRuleType
data WafRuleType Source #
Instances
ActivatedRule
data ActivatedRule Source #
The ActivatedRule
object in an UpdateWebACL
request specifies a Rule
that you want to insert or delete, the priority of the Rule
in the WebACL
, and the action that you want AWS WAF to take when a web request matches the Rule
(ALLOW
, BLOCK
, or COUNT
).
To specify whether to insert or delete a Rule
, use the Action
parameter in the WebACLUpdate
data type.
See: activatedRule
smart constructor.
Instances
Arguments
:: Int | |
-> Text | |
-> ActivatedRule |
Creates a value of ActivatedRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arOverrideAction
- Use theOverrideAction
to test yourRuleGroup
. Any rule in aRuleGroup
can potentially block a request. If you set theOverrideAction
toNone
, theRuleGroup
will block a request if any individual rule in theRuleGroup
matches the request and is configured to block that request. However if you first want to test theRuleGroup
, set theOverrideAction
toCount
. TheRuleGroup
will then override any block action specified by individual rules contained within the group. Instead of blocking matching requests, those requests will be counted. You can view a record of counted requests usingGetSampledRequests
.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.arAction
- Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in theRule
. Valid values forAction
include the following: *ALLOW
: CloudFront responds with the requested object. *BLOCK
: CloudFront responds with an HTTP 403 (Forbidden) status code. *COUNT
: AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL.ActivatedRule|OverrideAction
applies only when updating or adding aRuleGroup
to aWebACL
. In this case you do not useActivatedRule|Action
. For all other update requests,ActivatedRule|Action
is used instead ofActivatedRule|OverrideAction
.arType
- The rule type, eitherREGULAR
, as defined byRule
,RATE_BASED
, as defined byRateBasedRule
, orGROUP
, as defined byRuleGroup
. The default is REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type, theUpdateWebACL
request will fail because the request tries to add a REGULAR rule with the specified ID, which does not exist.arPriority
- Specifies the order in which theRules
in aWebACL
are evaluated. Rules with a lower value forPriority
are evaluated beforeRules
with a higher value. The value must be a unique integer. If you add multipleRules
to aWebACL
, the values don't need to be consecutive.arRuleId
- TheRuleId
for aRule
. You useRuleId
to get more information about aRule
(seeGetRule
), update aRule
(seeUpdateRule
), insert aRule
into aWebACL
or delete a one from aWebACL
(seeUpdateWebACL
), or delete aRule
from AWS WAF (seeDeleteRule
).RuleId
is returned byCreateRule
and byListRules
.
arOverrideAction :: Lens' ActivatedRule (Maybe WafOverrideAction) Source #
Use the OverrideAction
to test your RuleGroup
. Any rule in a RuleGroup
can potentially block a request. If you set the OverrideAction
to None
, the RuleGroup
will block a request if any individual rule in the RuleGroup
matches the request and is configured to block that request. However if you first want to test the RuleGroup
, set the OverrideAction
to Count
. The RuleGroup
will then override any block action specified by individual rules contained within the group. Instead of blocking matching requests, those requests will be counted. You can view a record of counted requests using GetSampledRequests
. ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a WebACL
. In this case you do not use ActivatedRule|Action
. For all other update requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
arAction :: Lens' ActivatedRule (Maybe WafAction) Source #
Specifies the action that CloudFront or AWS WAF takes when a web request matches the conditions in the Rule
. Valid values for Action
include the following: * ALLOW
: CloudFront responds with the requested object. * BLOCK
: CloudFront responds with an HTTP 403 (Forbidden) status code. * COUNT
: AWS WAF increments a counter of requests that match the conditions in the rule and then continues to inspect the web request based on the remaining rules in the web ACL. ActivatedRule|OverrideAction
applies only when updating or adding a RuleGroup
to a WebACL
. In this case you do not use ActivatedRule|Action
. For all other update requests, ActivatedRule|Action
is used instead of ActivatedRule|OverrideAction
.
arType :: Lens' ActivatedRule (Maybe WafRuleType) Source #
The rule type, either REGULAR
, as defined by Rule
, RATE_BASED
, as defined by RateBasedRule
, or GROUP
, as defined by RuleGroup
. The default is REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type, the UpdateWebACL
request will fail because the request tries to add a REGULAR rule with the specified ID, which does not exist.
arPriority :: Lens' ActivatedRule Int Source #
Specifies the order in which the Rules
in a WebACL
are evaluated. Rules with a lower value for Priority
are evaluated before Rules
with a higher value. The value must be a unique integer. If you add multiple Rules
to a WebACL
, the values don't need to be consecutive.
arRuleId :: Lens' ActivatedRule Text Source #
The RuleId
for a Rule
. You use RuleId
to get more information about a Rule
(see GetRule
), update a Rule
(see UpdateRule
), insert a Rule
into a WebACL
or delete a one from a WebACL
(see UpdateWebACL
), or delete a Rule
from AWS WAF (see DeleteRule
). RuleId
is returned by CreateRule
and by ListRules
.
ByteMatchSet
data ByteMatchSet Source #
In a GetByteMatchSet
request, ByteMatchSet
is a complex type that contains the ByteMatchSetId
and Name
of a ByteMatchSet
, and the values that you specified when you updated the ByteMatchSet
.
A complex type that contains ByteMatchTuple
objects, which specify the parts of web requests that you want AWS WAF to inspect and the values that you want AWS WAF to search for. If a ByteMatchSet
contains more than one ByteMatchTuple
object, a request needs to match the settings in only one ByteMatchTuple
to be considered a match.
See: byteMatchSet
smart constructor.