libZSservicesZSamazonka-wafZSamazonka-waf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAF.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2015-08-24 of the Amazon WAF 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 a Rule.
  • You tried to delete a Rule that is still referenced by a WebACL.

_WAFEntityMigrationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the MigrationErrorType:

  • ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the IgnoreUnsupportedType is not set to true.
  • ENTITY_NOT_FOUND - The web ACL doesn't exist.
  • S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject action to the specified Amazon S3 bucket.
  • S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to perform the PutObject action in the bucket.
  • S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist.
  • S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as the web ACL.
  • S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 bucket for another reason.

_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 a WebACL, but the Rule isn't in the specified WebACL.
  • You tried to remove an IP address from an IPSet, but the IP address isn't in the specified IPSet.
  • You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple isn't in the specified WebACL.
  • You tried to add a Rule to a WebACL, but the Rule already exists in the specified WebACL.
  • You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple already exists in the specified WebACL.

_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, or WebACL) using an action other than INSERT or DELETE.
  • You tried to create a WebACL with a DefaultAction Type other than ALLOW, BLOCK, or COUNT.
  • You tried to create a RateBasedRule with a RateKey value other than IP.
  • You tried to update a WebACL with a WafAction Type other than ALLOW, BLOCK, or COUNT.
  • You tried to update a ByteMatchSet with a FieldToMatch Type other than HEADER, METHOD, QUERY_STRING, URI, or BODY.
  • You tried to update a ByteMatchSet with a Field of HEADER but no value for Data.
  • Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.

_WAFServiceLinkedRoleErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS WAF is not able to access the service linked role. This can be caused by a previous PutLoggingConfiguration request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous DeleteServiceLinkedRole request, which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.

_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 and Principal.
  • Effect must specify Allow.
  • The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, waf:GetRuleGroup and waf-regional:GetRuleGroup . 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 a Rule from a WebACL that doesn't exist.
  • You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule 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 a ByteMatchTuple from a ByteMatchSet that doesn't exist.

_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 more Rule objects.
  • You tried to delete a Rule that still contains one or more ByteMatchSet objects or other predicates.
  • You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple objects.
  • You tried to delete an IPSet that references one or more IP addresses.

ChangeAction

newtype ChangeAction Source #

Constructors

ChangeAction' 

Bundled Patterns

pattern ChangeAction_DELETE :: ChangeAction 
pattern ChangeAction_INSERT :: ChangeAction 

Instances

Instances details
Eq ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Ord ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Read ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Show ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Generic ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Associated Types

type Rep ChangeAction :: Type -> Type #

NFData ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Methods

rnf :: ChangeAction -> () #

Hashable ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToJSON ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToJSONKey ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

FromJSON ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

FromJSONKey ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToLog ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToHeader ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToQuery ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

FromXML ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToXML ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Methods

toXML :: ChangeAction -> XML #

ToByteString ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

FromText ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

ToText ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

Methods

toText :: ChangeAction -> Text #

type Rep ChangeAction Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeAction

type Rep ChangeAction = D1 ('MetaData "ChangeAction" "Amazonka.WAF.Types.ChangeAction" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "ChangeAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromChangeAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ChangeTokenStatus

newtype ChangeTokenStatus Source #

Instances

Instances details
Eq ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

Ord ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

Read ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

Show ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

Generic ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

Associated Types

type Rep ChangeTokenStatus :: Type -> Type #

NFData ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

Methods

rnf :: ChangeTokenStatus -> () #

Hashable ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToJSON ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToJSONKey ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

FromJSON ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

FromJSONKey ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToLog ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToHeader ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToQuery ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

FromXML ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToXML ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToByteString ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

FromText ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

ToText ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

type Rep ChangeTokenStatus Source # 
Instance details

Defined in Amazonka.WAF.Types.ChangeTokenStatus

type Rep ChangeTokenStatus = D1 ('MetaData "ChangeTokenStatus" "Amazonka.WAF.Types.ChangeTokenStatus" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "ChangeTokenStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromChangeTokenStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ComparisonOperator

newtype ComparisonOperator Source #

Instances

Instances details
Eq ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

Ord ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

Read ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

Show ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

Generic ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

Associated Types

type Rep ComparisonOperator :: Type -> Type #

NFData ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

Methods

rnf :: ComparisonOperator -> () #

Hashable ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

FromJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

FromJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToLog ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToHeader ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToQuery ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

FromXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToByteString ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

FromText ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

ToText ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

type Rep ComparisonOperator Source # 
Instance details

Defined in Amazonka.WAF.Types.ComparisonOperator

type Rep ComparisonOperator = D1 ('MetaData "ComparisonOperator" "Amazonka.WAF.Types.ComparisonOperator" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "ComparisonOperator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromComparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GeoMatchConstraintType

newtype GeoMatchConstraintType Source #

Instances

Instances details
Eq GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

Ord GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

Read GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

Show GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

Generic GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

Associated Types

type Rep GeoMatchConstraintType :: Type -> Type #

NFData GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

Methods

rnf :: GeoMatchConstraintType -> () #

Hashable GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToJSON GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToJSONKey GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

FromJSON GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

FromJSONKey GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToLog GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToHeader GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToQuery GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

FromXML GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToXML GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToByteString GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

FromText GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

ToText GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

type Rep GeoMatchConstraintType Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintType

type Rep GeoMatchConstraintType = D1 ('MetaData "GeoMatchConstraintType" "Amazonka.WAF.Types.GeoMatchConstraintType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "GeoMatchConstraintType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGeoMatchConstraintType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

GeoMatchConstraintValue

newtype GeoMatchConstraintValue Source #

Bundled Patterns

pattern GeoMatchConstraintValue_AD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AQ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AX :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_AZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BB :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BJ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BQ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BV :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_BZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CV :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CX :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_CZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_DE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_DJ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_DK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_DM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_DO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_DZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_EC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_EE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_EG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_EH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ER :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ES :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ET :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_FI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_FJ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_FK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_FM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_FO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_FR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GB :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GP :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GQ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_GY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_HK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_HM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_HN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_HR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_HT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_HU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ID :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IQ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_IT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_JE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_JM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_JO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_JP :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KP :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_KZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LB :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LV :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_LY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ME :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ML :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MP :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MQ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MV :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MX :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_MZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NP :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_NZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_OM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_PY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_QA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_RE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_RO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_RS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_RU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_RW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SB :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SJ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ST :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SV :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SX :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_SZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TD :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TH :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TJ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TK :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TL :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TO :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TR :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TV :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TW :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_TZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_UA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_UG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_UM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_US :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_UY :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_UZ :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VC :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VG :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VI :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VN :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_VU :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_WF :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_WS :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_YE :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_YT :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ZA :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ZM :: GeoMatchConstraintValue 
pattern GeoMatchConstraintValue_ZW :: GeoMatchConstraintValue 

Instances

Instances details
Eq GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

Ord GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

Read GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

Show GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

Generic GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

Associated Types

type Rep GeoMatchConstraintValue :: Type -> Type #

NFData GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

Methods

rnf :: GeoMatchConstraintValue -> () #

Hashable GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToJSON GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToJSONKey GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

FromJSON GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

FromJSONKey GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToLog GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToHeader GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToQuery GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

FromXML GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToXML GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToByteString GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

FromText GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

ToText GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

type Rep GeoMatchConstraintValue Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraintValue

type Rep GeoMatchConstraintValue = D1 ('MetaData "GeoMatchConstraintValue" "Amazonka.WAF.Types.GeoMatchConstraintValue" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "GeoMatchConstraintValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGeoMatchConstraintValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IPSetDescriptorType

newtype IPSetDescriptorType Source #

Instances

Instances details
Eq IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

Ord IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

Read IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

Show IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

Generic IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

Associated Types

type Rep IPSetDescriptorType :: Type -> Type #

NFData IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

Methods

rnf :: IPSetDescriptorType -> () #

Hashable IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToJSON IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToJSONKey IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

FromJSON IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

FromJSONKey IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToLog IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToHeader IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToQuery IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

FromXML IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToXML IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToByteString IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

FromText IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

ToText IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

type Rep IPSetDescriptorType Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptorType

type Rep IPSetDescriptorType = D1 ('MetaData "IPSetDescriptorType" "Amazonka.WAF.Types.IPSetDescriptorType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "IPSetDescriptorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIPSetDescriptorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MatchFieldType

newtype MatchFieldType Source #

Constructors

MatchFieldType' 

Instances

Instances details
Eq MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Ord MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Read MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Show MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Generic MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Associated Types

type Rep MatchFieldType :: Type -> Type #

NFData MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Methods

rnf :: MatchFieldType -> () #

Hashable MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToJSON MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToJSONKey MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

FromJSON MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

FromJSONKey MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToLog MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToHeader MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToQuery MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

FromXML MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToXML MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

Methods

toXML :: MatchFieldType -> XML #

ToByteString MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

FromText MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

ToText MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

type Rep MatchFieldType Source # 
Instance details

Defined in Amazonka.WAF.Types.MatchFieldType

type Rep MatchFieldType = D1 ('MetaData "MatchFieldType" "Amazonka.WAF.Types.MatchFieldType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "MatchFieldType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMatchFieldType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PositionalConstraint

newtype PositionalConstraint Source #

Instances

Instances details
Eq PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

Ord PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

Read PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

Show PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

Generic PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

Associated Types

type Rep PositionalConstraint :: Type -> Type #

NFData PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

Methods

rnf :: PositionalConstraint -> () #

Hashable PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToJSON PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToJSONKey PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

FromJSON PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

FromJSONKey PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToLog PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToHeader PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToQuery PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

FromXML PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToXML PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToByteString PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

FromText PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

ToText PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

type Rep PositionalConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.PositionalConstraint

type Rep PositionalConstraint = D1 ('MetaData "PositionalConstraint" "Amazonka.WAF.Types.PositionalConstraint" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "PositionalConstraint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPositionalConstraint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PredicateType

newtype PredicateType Source #

Constructors

PredicateType' 

Instances

Instances details
Eq PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Ord PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Read PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Show PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Generic PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Associated Types

type Rep PredicateType :: Type -> Type #

NFData PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Methods

rnf :: PredicateType -> () #

Hashable PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToJSON PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToJSONKey PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

FromJSON PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

FromJSONKey PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToLog PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToHeader PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToQuery PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

FromXML PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToXML PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Methods

toXML :: PredicateType -> XML #

ToByteString PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

FromText PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

ToText PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

Methods

toText :: PredicateType -> Text #

type Rep PredicateType Source # 
Instance details

Defined in Amazonka.WAF.Types.PredicateType

type Rep PredicateType = D1 ('MetaData "PredicateType" "Amazonka.WAF.Types.PredicateType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "PredicateType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPredicateType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RateKey

newtype RateKey Source #

Constructors

RateKey' 

Fields

Bundled Patterns

pattern RateKey_IP :: RateKey 

Instances

Instances details
Eq RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

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

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

Ord RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Read RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Show RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Generic RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Associated Types

type Rep RateKey :: Type -> Type #

Methods

from :: RateKey -> Rep RateKey x #

to :: Rep RateKey x -> RateKey #

NFData RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

rnf :: RateKey -> () #

Hashable RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

hashWithSalt :: Int -> RateKey -> Int #

hash :: RateKey -> Int #

ToJSON RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

ToJSONKey RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

FromJSON RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

FromJSONKey RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

ToLog RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

ToHeader RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

toHeader :: HeaderName -> RateKey -> [Header] #

ToQuery RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

FromXML RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

ToXML RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

toXML :: RateKey -> XML #

ToByteString RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

toBS :: RateKey -> ByteString #

FromText RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

ToText RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

Methods

toText :: RateKey -> Text #

type Rep RateKey Source # 
Instance details

Defined in Amazonka.WAF.Types.RateKey

type Rep RateKey = D1 ('MetaData "RateKey" "Amazonka.WAF.Types.RateKey" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "RateKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TextTransformation

newtype TextTransformation Source #

Instances

Instances details
Eq TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

Ord TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

Read TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

Show TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

Generic TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

Associated Types

type Rep TextTransformation :: Type -> Type #

NFData TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

Methods

rnf :: TextTransformation -> () #

Hashable TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToJSON TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToJSONKey TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

FromJSON TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

FromJSONKey TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToLog TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToHeader TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToQuery TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

FromXML TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToXML TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToByteString TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

FromText TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

ToText TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

type Rep TextTransformation Source # 
Instance details

Defined in Amazonka.WAF.Types.TextTransformation

type Rep TextTransformation = D1 ('MetaData "TextTransformation" "Amazonka.WAF.Types.TextTransformation" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "TextTransformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTextTransformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

WafActionType

newtype WafActionType Source #

Constructors

WafActionType' 

Instances

Instances details
Eq WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Ord WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Read WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Show WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Generic WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Associated Types

type Rep WafActionType :: Type -> Type #

NFData WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Methods

rnf :: WafActionType -> () #

Hashable WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToJSON WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToJSONKey WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

FromJSON WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

FromJSONKey WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToLog WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToHeader WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToQuery WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

FromXML WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToXML WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Methods

toXML :: WafActionType -> XML #

ToByteString WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

FromText WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

ToText WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

Methods

toText :: WafActionType -> Text #

type Rep WafActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafActionType

type Rep WafActionType = D1 ('MetaData "WafActionType" "Amazonka.WAF.Types.WafActionType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "WafActionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromWafActionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

WafOverrideActionType

newtype WafOverrideActionType Source #

Instances

Instances details
Eq WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

Ord WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

Read WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

Show WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

Generic WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

Associated Types

type Rep WafOverrideActionType :: Type -> Type #

NFData WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

Methods

rnf :: WafOverrideActionType -> () #

Hashable WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToJSON WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToJSONKey WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

FromJSON WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

FromJSONKey WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToLog WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToHeader WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToQuery WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

FromXML WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToXML WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToByteString WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

FromText WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

ToText WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

type Rep WafOverrideActionType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideActionType

type Rep WafOverrideActionType = D1 ('MetaData "WafOverrideActionType" "Amazonka.WAF.Types.WafOverrideActionType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "WafOverrideActionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromWafOverrideActionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

WafRuleType

newtype WafRuleType Source #

Constructors

WafRuleType' 

Instances

Instances details
Eq WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Ord WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Read WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Show WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Generic WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Associated Types

type Rep WafRuleType :: Type -> Type #

NFData WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Methods

rnf :: WafRuleType -> () #

Hashable WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToJSON WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToJSONKey WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

FromJSON WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

FromJSONKey WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToLog WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToHeader WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToQuery WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

FromXML WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToXML WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Methods

toXML :: WafRuleType -> XML #

ToByteString WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

FromText WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

ToText WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

Methods

toText :: WafRuleType -> Text #

type Rep WafRuleType Source # 
Instance details

Defined in Amazonka.WAF.Types.WafRuleType

type Rep WafRuleType = D1 ('MetaData "WafRuleType" "Amazonka.WAF.Types.WafRuleType" "libZSservicesZSamazonka-wafZSamazonka-waf" 'True) (C1 ('MetaCons "WafRuleType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromWafRuleType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ActivatedRule

data ActivatedRule Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

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: newActivatedRule smart constructor.

Constructors

ActivatedRule' 

Fields

  • overrideAction :: Maybe WafOverrideAction

    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.

  • action :: Maybe WafAction

    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.

  • excludedRules :: Maybe [ExcludedRule]

    An array of rules to exclude from a rule group. This is applicable only when the ActivatedRule refers to a RuleGroup.

    Sometimes it is necessary to troubleshoot rule groups that are blocking traffic unexpectedly (false positives). One troubleshooting technique is to identify the specific rule within the rule group that is blocking the legitimate traffic and then disable (exclude) that particular rule. You can exclude rules from both your own rule groups and AWS Marketplace rule groups that have been associated with a web ACL.

    Specifying ExcludedRules does not remove those rules from the rule group. Rather, it changes the action for the rules to COUNT. Therefore, requests that match an ExcludedRule are counted but not blocked. The RuleGroup owner will receive COUNT metrics for each ExcludedRule.

    If you want to exclude rules from a rule group that is already associated with a web ACL, perform the following steps:

    1. Use the AWS WAF logs to identify the IDs of the rules that you want to exclude. For more information about the logs, see Logging Web ACL Traffic Information.
    2. Submit an UpdateWebACL request that has two actions:

      • The first action deletes the existing rule group from the web ACL. That is, in the UpdateWebACL request, the first Updates:Action should be DELETE and Updates:ActivatedRule:RuleId should be the rule group that contains the rules that you want to exclude.
      • The second action inserts the same rule group back in, but specifying the rules to exclude. That is, the second Updates:Action should be INSERT, Updates:ActivatedRule:RuleId should be the rule group that you just removed, and ExcludedRules should contain the rules that you want to exclude.
  • type' :: Maybe WafRuleType

    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.

  • priority :: Int

    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.

  • ruleId :: Text

    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.

Instances

Instances details
Eq ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

Read ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

Show ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

Generic ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

Associated Types

type Rep ActivatedRule :: Type -> Type #

NFData ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

Methods

rnf :: ActivatedRule -> () #

Hashable ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

ToJSON ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

FromJSON ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

type Rep ActivatedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ActivatedRule

newActivatedRule Source #

Create a value of ActivatedRule 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:overrideAction:ActivatedRule', activatedRule_overrideAction - 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.

$sel:action:ActivatedRule', activatedRule_action - 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.

$sel:excludedRules:ActivatedRule', activatedRule_excludedRules - An array of rules to exclude from a rule group. This is applicable only when the ActivatedRule refers to a RuleGroup.

Sometimes it is necessary to troubleshoot rule groups that are blocking traffic unexpectedly (false positives). One troubleshooting technique is to identify the specific rule within the rule group that is blocking the legitimate traffic and then disable (exclude) that particular rule. You can exclude rules from both your own rule groups and AWS Marketplace rule groups that have been associated with a web ACL.

Specifying ExcludedRules does not remove those rules from the rule group. Rather, it changes the action for the rules to COUNT. Therefore, requests that match an ExcludedRule are counted but not blocked. The RuleGroup owner will receive COUNT metrics for each ExcludedRule.

If you want to exclude rules from a rule group that is already associated with a web ACL, perform the following steps:

  1. Use the AWS WAF logs to identify the IDs of the rules that you want to exclude. For more information about the logs, see Logging Web ACL Traffic Information.
  2. Submit an UpdateWebACL request that has two actions:

    • The first action deletes the existing rule group from the web ACL. That is, in the UpdateWebACL request, the first Updates:Action should be DELETE and Updates:ActivatedRule:RuleId should be the rule group that contains the rules that you want to exclude.
    • The second action inserts the same rule group back in, but specifying the rules to exclude. That is, the second Updates:Action should be INSERT, Updates:ActivatedRule:RuleId should be the rule group that you just removed, and ExcludedRules should contain the rules that you want to exclude.

$sel:type':ActivatedRule', activatedRule_type - 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.

$sel:priority:ActivatedRule', activatedRule_priority - 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.

$sel:ruleId:ActivatedRule', activatedRule_ruleId - 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.

activatedRule_overrideAction :: 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.

activatedRule_action :: 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.

activatedRule_excludedRules :: Lens' ActivatedRule (Maybe [ExcludedRule]) Source #

An array of rules to exclude from a rule group. This is applicable only when the ActivatedRule refers to a RuleGroup.

Sometimes it is necessary to troubleshoot rule groups that are blocking traffic unexpectedly (false positives). One troubleshooting technique is to identify the specific rule within the rule group that is blocking the legitimate traffic and then disable (exclude) that particular rule. You can exclude rules from both your own rule groups and AWS Marketplace rule groups that have been associated with a web ACL.

Specifying ExcludedRules does not remove those rules from the rule group. Rather, it changes the action for the rules to COUNT. Therefore, requests that match an ExcludedRule are counted but not blocked. The RuleGroup owner will receive COUNT metrics for each ExcludedRule.

If you want to exclude rules from a rule group that is already associated with a web ACL, perform the following steps:

  1. Use the AWS WAF logs to identify the IDs of the rules that you want to exclude. For more information about the logs, see Logging Web ACL Traffic Information.
  2. Submit an UpdateWebACL request that has two actions:

    • The first action deletes the existing rule group from the web ACL. That is, in the UpdateWebACL request, the first Updates:Action should be DELETE and Updates:ActivatedRule:RuleId should be the rule group that contains the rules that you want to exclude.
    • The second action inserts the same rule group back in, but specifying the rules to exclude. That is, the second Updates:Action should be INSERT, Updates:ActivatedRule:RuleId should be the rule group that you just removed, and ExcludedRules should contain the rules that you want to exclude.

activatedRule_type :: 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.

activatedRule_priority :: 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.

activatedRule_ruleId :: 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 #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

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: newByteMatchSet smart constructor.

Constructors

ByteMatchSet' 

Fields

  • name :: Maybe Text

    A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

  • byteMatchSetId :: Text

    The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).

    ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

  • byteMatchTuples :: [ByteMatchTuple]

    Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

Instances

Instances details
Eq ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

Read ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

Show ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

Generic ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

Associated Types

type Rep ByteMatchSet :: Type -> Type #

NFData ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

Methods

rnf :: ByteMatchSet -> () #

Hashable ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

FromJSON ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

type Rep ByteMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSet

type Rep ByteMatchSet = D1 ('MetaData "ByteMatchSet" "Amazonka.WAF.Types.ByteMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ByteMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "byteMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "byteMatchTuples") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ByteMatchTuple]))))

newByteMatchSet Source #

Create a value of ByteMatchSet 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:name:ByteMatchSet', byteMatchSet_name - A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

$sel:byteMatchSetId:ByteMatchSet', byteMatchSet_byteMatchSetId - The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).

ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

$sel:byteMatchTuples:ByteMatchSet', byteMatchSet_byteMatchTuples - Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

byteMatchSet_name :: Lens' ByteMatchSet (Maybe Text) Source #

A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

byteMatchSet_byteMatchSetId :: Lens' ByteMatchSet Text Source #

The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet (see GetByteMatchSet), update a ByteMatchSet (see UpdateByteMatchSet), insert a ByteMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a ByteMatchSet from AWS WAF (see DeleteByteMatchSet).

ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

byteMatchSet_byteMatchTuples :: Lens' ByteMatchSet [ByteMatchTuple] Source #

Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

ByteMatchSetSummary

data ByteMatchSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Returned by ListByteMatchSets. Each ByteMatchSetSummary object includes the Name and ByteMatchSetId for one ByteMatchSet.

See: newByteMatchSetSummary smart constructor.

Constructors

ByteMatchSetSummary' 

Fields

  • byteMatchSetId :: Text

    The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

    ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

  • name :: Text

    A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

Instances

Instances details
Eq ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

Read ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

Show ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

Generic ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

Associated Types

type Rep ByteMatchSetSummary :: Type -> Type #

NFData ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

Methods

rnf :: ByteMatchSetSummary -> () #

Hashable ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

FromJSON ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

type Rep ByteMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetSummary

type Rep ByteMatchSetSummary = D1 ('MetaData "ByteMatchSetSummary" "Amazonka.WAF.Types.ByteMatchSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ByteMatchSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "byteMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newByteMatchSetSummary Source #

Create a value of ByteMatchSetSummary 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:byteMatchSetId:ByteMatchSetSummary', byteMatchSetSummary_byteMatchSetId - The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

$sel:name:ByteMatchSetSummary', byteMatchSetSummary_name - A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

byteMatchSetSummary_byteMatchSetId :: Lens' ByteMatchSetSummary Text Source #

The ByteMatchSetId for a ByteMatchSet. You use ByteMatchSetId to get information about a ByteMatchSet, update a ByteMatchSet, remove a ByteMatchSet from a Rule, and delete a ByteMatchSet from AWS WAF.

ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

byteMatchSetSummary_name :: Lens' ByteMatchSetSummary Text Source #

A friendly name or description of the ByteMatchSet. You can't change Name after you create a ByteMatchSet.

ByteMatchSetUpdate

data ByteMatchSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple.

See: newByteMatchSetUpdate smart constructor.

Constructors

ByteMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert or delete a ByteMatchTuple.

  • byteMatchTuple :: ByteMatchTuple

    Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

Instances

Instances details
Eq ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Read ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Show ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Generic ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Associated Types

type Rep ByteMatchSetUpdate :: Type -> Type #

NFData ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

Methods

rnf :: ByteMatchSetUpdate -> () #

Hashable ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

ToJSON ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

type Rep ByteMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchSetUpdate

type Rep ByteMatchSetUpdate = D1 ('MetaData "ByteMatchSetUpdate" "Amazonka.WAF.Types.ByteMatchSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ByteMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "byteMatchTuple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteMatchTuple)))

newByteMatchSetUpdate Source #

Create a value of ByteMatchSetUpdate 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:action:ByteMatchSetUpdate', byteMatchSetUpdate_action - Specifies whether to insert or delete a ByteMatchTuple.

$sel:byteMatchTuple:ByteMatchSetUpdate', byteMatchSetUpdate_byteMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

byteMatchSetUpdate_action :: Lens' ByteMatchSetUpdate ChangeAction Source #

Specifies whether to insert or delete a ByteMatchTuple.

byteMatchSetUpdate_byteMatchTuple :: Lens' ByteMatchSetUpdate ByteMatchTuple Source #

Information about the part of a web request that you want AWS WAF to inspect and the value that you want AWS WAF to search for. If you specify DELETE for the value of Action, the ByteMatchTuple values must exactly match the values in the ByteMatchTuple that you want to delete from the ByteMatchSet.

ByteMatchTuple

data ByteMatchTuple Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.

See: newByteMatchTuple smart constructor.

Constructors

ByteMatchTuple' 

Fields

  • fieldToMatch :: FieldToMatch

    The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see FieldToMatch.

  • targetString :: Base64

    The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes.

    Valid values depend on the values that you specified for FieldToMatch:

    • HEADER: The value that you want AWS WAF to search for in the request header that you specified in FieldToMatch, for example, the value of the User-Agent or Referer header.
    • METHOD: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
    • QUERY_STRING: The value that you want AWS WAF to search for in the query string, which is the part of a URL that appears after a ? character.
    • URI: The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, /images/daily-ad.jpg.
    • BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet.
    • SINGLE_QUERY_ARG: The parameter in the query string that you will inspect, such as UserName or SalesRegion. The maximum length for SINGLE_QUERY_ARG is 30 characters.
    • ALL_QUERY_ARGS: Similar to SINGLE_QUERY_ARG, but instead of inspecting a single parameter, AWS WAF inspects all parameters within the query string for the value or regex pattern that you specify in TargetString.

    If TargetString includes alphabetic characters A-Z and a-z, note that the value is case sensitive.

    If you're using the AWS WAF API

    Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes.

    For example, suppose the value of Type is HEADER and the value of Data is User-Agent. If you want to search the User-Agent header for the value BadBot, you base64-encode BadBot using MIME base64-encoding and include the resulting value, QmFkQm90, in the value of TargetString.

    If you're using the AWS CLI or one of the AWS SDKs

    The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.

  • textTransformation :: TextTransformation

    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

    You can only specify a single type of TextTransformation.

    CMD_LINE

    When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

    • Delete the following characters: \ " ' ^
    • Delete spaces before the following characters: / (
    • Replace the following characters with a space: , ;
    • Replace multiple spaces with one space
    • Convert uppercase letters (A-Z) to lowercase (a-z)

    COMPRESS_WHITE_SPACE

    Use this option to replace the following characters with a space character (decimal 32):

    • \f, formfeed, decimal 12
    • \t, tab, decimal 9
    • \n, newline, decimal 10
    • \r, carriage return, decimal 13
    • \v, vertical tab, decimal 11
    • non-breaking space, decimal 160

    COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

    HTML_ENTITY_DECODE

    Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

    • Replaces (ampersand)quot; with "
    • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
    • Replaces (ampersand)lt; with a "less than" symbol
    • Replaces (ampersand)gt; with >
    • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
    • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

    LOWERCASE

    Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

    URL_DECODE

    Use this option to decode a URL-encoded value.

    NONE

    Specify NONE if you don't want to perform any text transformations.

  • positionalConstraint :: PositionalConstraint

    Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following:

    CONTAINS

    The specified part of the web request must include the value of TargetString, but the location doesn't matter.

    CONTAINS_WORD

    The specified part of the web request must include the value of TargetString, and TargetString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, TargetString must be a word, which means one of the following:

    • TargetString exactly matches the value of the specified part of the web request, such as the value of a header.
    • TargetString is at the beginning of the specified part of the web request and is followed by a character other than an alphanumeric character or underscore (_), for example, BadBot;.
    • TargetString is at the end of the specified part of the web request and is preceded by a character other than an alphanumeric character or underscore (_), for example, ;BadBot.
    • TargetString is in the middle of the specified part of the web request and is preceded and followed by characters other than alphanumeric characters or underscore (_), for example, -BadBot;.

    EXACTLY

    The value of the specified part of the web request must exactly match the value of TargetString.

    STARTS_WITH

    The value of TargetString must appear at the beginning of the specified part of the web request.

    ENDS_WITH

    The value of TargetString must appear at the end of the specified part of the web request.

Instances

Instances details
Eq ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

Read ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

Show ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

Generic ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

Associated Types

type Rep ByteMatchTuple :: Type -> Type #

NFData ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

Methods

rnf :: ByteMatchTuple -> () #

Hashable ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

ToJSON ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

FromJSON ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

type Rep ByteMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.ByteMatchTuple

type Rep ByteMatchTuple = D1 ('MetaData "ByteMatchTuple" "Amazonka.WAF.Types.ByteMatchTuple" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ByteMatchTuple'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fieldToMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldToMatch) :*: S1 ('MetaSel ('Just "targetString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64)) :*: (S1 ('MetaSel ('Just "textTransformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextTransformation) :*: S1 ('MetaSel ('Just "positionalConstraint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PositionalConstraint))))

newByteMatchTuple Source #

Create a value of ByteMatchTuple 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:fieldToMatch:ByteMatchTuple', byteMatchTuple_fieldToMatch - The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see FieldToMatch.

$sel:targetString:ByteMatchTuple', byteMatchTuple_targetString - The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes.

Valid values depend on the values that you specified for FieldToMatch:

  • HEADER: The value that you want AWS WAF to search for in the request header that you specified in FieldToMatch, for example, the value of the User-Agent or Referer header.
  • METHOD: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
  • QUERY_STRING: The value that you want AWS WAF to search for in the query string, which is the part of a URL that appears after a ? character.
  • URI: The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, /images/daily-ad.jpg.
  • BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet.
  • SINGLE_QUERY_ARG: The parameter in the query string that you will inspect, such as UserName or SalesRegion. The maximum length for SINGLE_QUERY_ARG is 30 characters.
  • ALL_QUERY_ARGS: Similar to SINGLE_QUERY_ARG, but instead of inspecting a single parameter, AWS WAF inspects all parameters within the query string for the value or regex pattern that you specify in TargetString.

If TargetString includes alphabetic characters A-Z and a-z, note that the value is case sensitive.

If you're using the AWS WAF API

Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes.

For example, suppose the value of Type is HEADER and the value of Data is User-Agent. If you want to search the User-Agent header for the value BadBot, you base64-encode BadBot using MIME base64-encoding and include the resulting value, QmFkQm90, in the value of TargetString.

If you're using the AWS CLI or one of the AWS SDKs

The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:textTransformation:ByteMatchTuple', byteMatchTuple_textTransformation - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

$sel:positionalConstraint:ByteMatchTuple', byteMatchTuple_positionalConstraint - Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following:

CONTAINS

The specified part of the web request must include the value of TargetString, but the location doesn't matter.

CONTAINS_WORD

The specified part of the web request must include the value of TargetString, and TargetString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, TargetString must be a word, which means one of the following:

  • TargetString exactly matches the value of the specified part of the web request, such as the value of a header.
  • TargetString is at the beginning of the specified part of the web request and is followed by a character other than an alphanumeric character or underscore (_), for example, BadBot;.
  • TargetString is at the end of the specified part of the web request and is preceded by a character other than an alphanumeric character or underscore (_), for example, ;BadBot.
  • TargetString is in the middle of the specified part of the web request and is preceded and followed by characters other than alphanumeric characters or underscore (_), for example, -BadBot;.

EXACTLY

The value of the specified part of the web request must exactly match the value of TargetString.

STARTS_WITH

The value of TargetString must appear at the beginning of the specified part of the web request.

ENDS_WITH

The value of TargetString must appear at the end of the specified part of the web request.

byteMatchTuple_fieldToMatch :: Lens' ByteMatchTuple FieldToMatch Source #

The part of a web request that you want AWS WAF to search, such as a specified header or a query string. For more information, see FieldToMatch.

byteMatchTuple_targetString :: Lens' ByteMatchTuple ByteString Source #

The value that you want AWS WAF to search for. AWS WAF searches for the specified string in the part of web requests that you specified in FieldToMatch. The maximum length of the value is 50 bytes.

Valid values depend on the values that you specified for FieldToMatch:

  • HEADER: The value that you want AWS WAF to search for in the request header that you specified in FieldToMatch, for example, the value of the User-Agent or Referer header.
  • METHOD: The HTTP method, which indicates the type of operation specified in the request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
  • QUERY_STRING: The value that you want AWS WAF to search for in the query string, which is the part of a URL that appears after a ? character.
  • URI: The value that you want AWS WAF to search for in the part of a URL that identifies a resource, for example, /images/daily-ad.jpg.
  • BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet.
  • SINGLE_QUERY_ARG: The parameter in the query string that you will inspect, such as UserName or SalesRegion. The maximum length for SINGLE_QUERY_ARG is 30 characters.
  • ALL_QUERY_ARGS: Similar to SINGLE_QUERY_ARG, but instead of inspecting a single parameter, AWS WAF inspects all parameters within the query string for the value or regex pattern that you specify in TargetString.

If TargetString includes alphabetic characters A-Z and a-z, note that the value is case sensitive.

If you're using the AWS WAF API

Specify a base64-encoded version of the value. The maximum length of the value before you base64-encode it is 50 bytes.

For example, suppose the value of Type is HEADER and the value of Data is User-Agent. If you want to search the User-Agent header for the value BadBot, you base64-encode BadBot using MIME base64-encoding and include the resulting value, QmFkQm90, in the value of TargetString.

If you're using the AWS CLI or one of the AWS SDKs

The value that you want AWS WAF to search for. The SDK automatically base64 encodes the value.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

byteMatchTuple_textTransformation :: Lens' ByteMatchTuple TextTransformation Source #

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

byteMatchTuple_positionalConstraint :: Lens' ByteMatchTuple PositionalConstraint Source #

Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want AWS WAF to search. Valid values include the following:

CONTAINS

The specified part of the web request must include the value of TargetString, but the location doesn't matter.

CONTAINS_WORD

The specified part of the web request must include the value of TargetString, and TargetString must contain only alphanumeric characters or underscore (A-Z, a-z, 0-9, or _). In addition, TargetString must be a word, which means one of the following:

  • TargetString exactly matches the value of the specified part of the web request, such as the value of a header.
  • TargetString is at the beginning of the specified part of the web request and is followed by a character other than an alphanumeric character or underscore (_), for example, BadBot;.
  • TargetString is at the end of the specified part of the web request and is preceded by a character other than an alphanumeric character or underscore (_), for example, ;BadBot.
  • TargetString is in the middle of the specified part of the web request and is preceded and followed by characters other than alphanumeric characters or underscore (_), for example, -BadBot;.

EXACTLY

The value of the specified part of the web request must exactly match the value of TargetString.

STARTS_WITH

The value of TargetString must appear at the beginning of the specified part of the web request.

ENDS_WITH

The value of TargetString must appear at the end of the specified part of the web request.

ExcludedRule

data ExcludedRule Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The rule to exclude from a rule group. This is applicable only when the ActivatedRule refers to a RuleGroup. The rule must belong to the RuleGroup that is specified by the ActivatedRule.

See: newExcludedRule smart constructor.

Constructors

ExcludedRule' 

Fields

  • ruleId :: Text

    The unique identifier for the rule to exclude from the rule group.

Instances

Instances details
Eq ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

Read ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

Show ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

Generic ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

Associated Types

type Rep ExcludedRule :: Type -> Type #

NFData ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

Methods

rnf :: ExcludedRule -> () #

Hashable ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

ToJSON ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

FromJSON ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

type Rep ExcludedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.ExcludedRule

type Rep ExcludedRule = D1 ('MetaData "ExcludedRule" "Amazonka.WAF.Types.ExcludedRule" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ExcludedRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newExcludedRule Source #

Create a value of ExcludedRule 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:ruleId:ExcludedRule', excludedRule_ruleId - The unique identifier for the rule to exclude from the rule group.

excludedRule_ruleId :: Lens' ExcludedRule Text Source #

The unique identifier for the rule to exclude from the rule group.

FieldToMatch

data FieldToMatch Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies where in a web request to look for TargetString.

See: newFieldToMatch smart constructor.

Constructors

FieldToMatch' 

Fields

  • data' :: Maybe Text

    When the value of Type is HEADER, enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer. The name of the header is not case sensitive.

    When the value of Type is SINGLE_QUERY_ARG, enter the name of the parameter that you want AWS WAF to search, for example, UserName or SalesRegion. The parameter name is not case sensitive.

    If the value of Type is any other value, omit Data.

  • type' :: MatchFieldType

    The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following:

    • HEADER: A specified request header, for example, the value of the User-Agent or Referer header. If you choose HEADER for the type, specify the name of the header in Data.
    • METHOD: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
    • QUERY_STRING: A query string, which is the part of a URL that appears after a ? character, if any.
    • URI: The part of a web request that identifies a resource, for example, /images/daily-ad.jpg.
    • BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet.
    • SINGLE_QUERY_ARG: The parameter in the query string that you will inspect, such as UserName or SalesRegion. The maximum length for SINGLE_QUERY_ARG is 30 characters.
    • ALL_QUERY_ARGS: Similar to SINGLE_QUERY_ARG, but rather than inspecting a single parameter, AWS WAF will inspect all parameters within the query for the value or regex pattern that you specify in TargetString.

Instances

Instances details
Eq FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

Read FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

Show FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

Generic FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

Associated Types

type Rep FieldToMatch :: Type -> Type #

NFData FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

Methods

rnf :: FieldToMatch -> () #

Hashable FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

ToJSON FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

FromJSON FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

type Rep FieldToMatch Source # 
Instance details

Defined in Amazonka.WAF.Types.FieldToMatch

type Rep FieldToMatch = D1 ('MetaData "FieldToMatch" "Amazonka.WAF.Types.FieldToMatch" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "FieldToMatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MatchFieldType)))

newFieldToMatch Source #

Create a value of FieldToMatch 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:data':FieldToMatch', fieldToMatch_data - When the value of Type is HEADER, enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer. The name of the header is not case sensitive.

When the value of Type is SINGLE_QUERY_ARG, enter the name of the parameter that you want AWS WAF to search, for example, UserName or SalesRegion. The parameter name is not case sensitive.

If the value of Type is any other value, omit Data.

$sel:type':FieldToMatch', fieldToMatch_type - The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following:

  • HEADER: A specified request header, for example, the value of the User-Agent or Referer header. If you choose HEADER for the type, specify the name of the header in Data.
  • METHOD: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
  • QUERY_STRING: A query string, which is the part of a URL that appears after a ? character, if any.
  • URI: The part of a web request that identifies a resource, for example, /images/daily-ad.jpg.
  • BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet.
  • SINGLE_QUERY_ARG: The parameter in the query string that you will inspect, such as UserName or SalesRegion. The maximum length for SINGLE_QUERY_ARG is 30 characters.
  • ALL_QUERY_ARGS: Similar to SINGLE_QUERY_ARG, but rather than inspecting a single parameter, AWS WAF will inspect all parameters within the query for the value or regex pattern that you specify in TargetString.

fieldToMatch_data :: Lens' FieldToMatch (Maybe Text) Source #

When the value of Type is HEADER, enter the name of the header that you want AWS WAF to search, for example, User-Agent or Referer. The name of the header is not case sensitive.

When the value of Type is SINGLE_QUERY_ARG, enter the name of the parameter that you want AWS WAF to search, for example, UserName or SalesRegion. The parameter name is not case sensitive.

If the value of Type is any other value, omit Data.

fieldToMatch_type :: Lens' FieldToMatch MatchFieldType Source #

The part of the web request that you want AWS WAF to search for a specified string. Parts of a request that you can search include the following:

  • HEADER: A specified request header, for example, the value of the User-Agent or Referer header. If you choose HEADER for the type, specify the name of the header in Data.
  • METHOD: The HTTP method, which indicated the type of operation that the request is asking the origin to perform. Amazon CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
  • QUERY_STRING: A query string, which is the part of a URL that appears after a ? character, if any.
  • URI: The part of a web request that identifies a resource, for example, /images/daily-ad.jpg.
  • BODY: The part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form. The request body immediately follows the request headers. Note that only the first 8192 bytes of the request body are forwarded to AWS WAF for inspection. To allow or block requests based on the length of the body, you can create a size constraint set. For more information, see CreateSizeConstraintSet.
  • SINGLE_QUERY_ARG: The parameter in the query string that you will inspect, such as UserName or SalesRegion. The maximum length for SINGLE_QUERY_ARG is 30 characters.
  • ALL_QUERY_ARGS: Similar to SINGLE_QUERY_ARG, but rather than inspecting a single parameter, AWS WAF will inspect all parameters within the query for the value or regex pattern that you specify in TargetString.

GeoMatchConstraint

data GeoMatchConstraint Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The country from which web requests originate that you want AWS WAF to search for.

See: newGeoMatchConstraint smart constructor.

Constructors

GeoMatchConstraint' 

Fields

Instances

Instances details
Eq GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Read GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Show GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Generic GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Associated Types

type Rep GeoMatchConstraint :: Type -> Type #

NFData GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

Methods

rnf :: GeoMatchConstraint -> () #

Hashable GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

ToJSON GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

FromJSON GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

type Rep GeoMatchConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchConstraint

type Rep GeoMatchConstraint = D1 ('MetaData "GeoMatchConstraint" "Amazonka.WAF.Types.GeoMatchConstraint" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GeoMatchConstraint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoMatchConstraintType) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoMatchConstraintValue)))

newGeoMatchConstraint Source #

Create a value of GeoMatchConstraint 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:type':GeoMatchConstraint', geoMatchConstraint_type - The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value.

$sel:value:GeoMatchConstraint', geoMatchConstraint_value - The country that you want AWS WAF to search for.

geoMatchConstraint_type :: Lens' GeoMatchConstraint GeoMatchConstraintType Source #

The type of geographical area you want AWS WAF to search for. Currently Country is the only valid value.

geoMatchConstraint_value :: Lens' GeoMatchConstraint GeoMatchConstraintValue Source #

The country that you want AWS WAF to search for.

GeoMatchSet

data GeoMatchSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains one or more countries that AWS WAF will search for.

See: newGeoMatchSet smart constructor.

Constructors

GeoMatchSet' 

Fields

  • name :: Maybe Text

    A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

  • geoMatchSetId :: Text

    The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

    GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

  • geoMatchConstraints :: [GeoMatchConstraint]

    An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

Instances

Instances details
Eq GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

Read GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

Show GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

Generic GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

Associated Types

type Rep GeoMatchSet :: Type -> Type #

NFData GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

Methods

rnf :: GeoMatchSet -> () #

Hashable GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

FromJSON GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

type Rep GeoMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSet

type Rep GeoMatchSet = D1 ('MetaData "GeoMatchSet" "Amazonka.WAF.Types.GeoMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GeoMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "geoMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "geoMatchConstraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [GeoMatchConstraint]))))

newGeoMatchSet Source #

Create a value of GeoMatchSet 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:name:GeoMatchSet', geoMatchSet_name - A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

$sel:geoMatchSetId:GeoMatchSet', geoMatchSet_geoMatchSetId - The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

$sel:geoMatchConstraints:GeoMatchSet', geoMatchSet_geoMatchConstraints - An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

geoMatchSet_name :: Lens' GeoMatchSet (Maybe Text) Source #

A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

geoMatchSet_geoMatchSetId :: Lens' GeoMatchSet Text Source #

The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see DeleteGeoMatchSet).

GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

geoMatchSet_geoMatchConstraints :: Lens' GeoMatchSet [GeoMatchConstraint] Source #

An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.

GeoMatchSetSummary

data GeoMatchSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains the identifier and the name of the GeoMatchSet.

See: newGeoMatchSetSummary smart constructor.

Constructors

GeoMatchSetSummary' 

Fields

  • geoMatchSetId :: Text

    The GeoMatchSetId for an GeoMatchSet. You can use GeoMatchSetId in a GetGeoMatchSet request to get detailed information about an GeoMatchSet.

  • name :: Text

    A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

Instances

Instances details
Eq GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

Read GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

Show GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

Generic GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

Associated Types

type Rep GeoMatchSetSummary :: Type -> Type #

NFData GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

Methods

rnf :: GeoMatchSetSummary -> () #

Hashable GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

FromJSON GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

type Rep GeoMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetSummary

type Rep GeoMatchSetSummary = D1 ('MetaData "GeoMatchSetSummary" "Amazonka.WAF.Types.GeoMatchSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GeoMatchSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGeoMatchSetSummary Source #

Create a value of GeoMatchSetSummary 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:geoMatchSetId:GeoMatchSetSummary', geoMatchSetSummary_geoMatchSetId - The GeoMatchSetId for an GeoMatchSet. You can use GeoMatchSetId in a GetGeoMatchSet request to get detailed information about an GeoMatchSet.

$sel:name:GeoMatchSetSummary', geoMatchSetSummary_name - A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

geoMatchSetSummary_geoMatchSetId :: Lens' GeoMatchSetSummary Text Source #

The GeoMatchSetId for an GeoMatchSet. You can use GeoMatchSetId in a GetGeoMatchSet request to get detailed information about an GeoMatchSet.

geoMatchSetSummary_name :: Lens' GeoMatchSetSummary Text Source #

A friendly name or description of the GeoMatchSet. You can't change the name of an GeoMatchSet after you create it.

GeoMatchSetUpdate

data GeoMatchSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the type of update to perform to an GeoMatchSet with UpdateGeoMatchSet.

See: newGeoMatchSetUpdate smart constructor.

Constructors

GeoMatchSetUpdate' 

Fields

Instances

Instances details
Eq GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

Read GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

Show GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

Generic GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

Associated Types

type Rep GeoMatchSetUpdate :: Type -> Type #

NFData GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

Methods

rnf :: GeoMatchSetUpdate -> () #

Hashable GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

ToJSON GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

type Rep GeoMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.GeoMatchSetUpdate

type Rep GeoMatchSetUpdate = D1 ('MetaData "GeoMatchSetUpdate" "Amazonka.WAF.Types.GeoMatchSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GeoMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "geoMatchConstraint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeoMatchConstraint)))

newGeoMatchSetUpdate Source #

Create a value of GeoMatchSetUpdate 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:action:GeoMatchSetUpdate', geoMatchSetUpdate_action - Specifies whether to insert or delete a country with UpdateGeoMatchSet.

$sel:geoMatchConstraint:GeoMatchSetUpdate', geoMatchSetUpdate_geoMatchConstraint - The country from which web requests originate that you want AWS WAF to search for.

geoMatchSetUpdate_action :: Lens' GeoMatchSetUpdate ChangeAction Source #

Specifies whether to insert or delete a country with UpdateGeoMatchSet.

geoMatchSetUpdate_geoMatchConstraint :: Lens' GeoMatchSetUpdate GeoMatchConstraint Source #

The country from which web requests originate that you want AWS WAF to search for.

HTTPHeader

data HTTPHeader Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The response from a GetSampledRequests request includes an HTTPHeader complex type that appears as Headers in the response syntax. HTTPHeader contains the names and values of all of the headers that appear in one of the web requests that were returned by GetSampledRequests.

See: newHTTPHeader smart constructor.

Constructors

HTTPHeader' 

Fields

  • value :: Maybe Text

    The value of one of the headers in the sampled web request.

  • name :: Maybe Text

    The name of one of the headers in the sampled web request.

Instances

Instances details
Eq HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Read HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Show HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Generic HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Associated Types

type Rep HTTPHeader :: Type -> Type #

NFData HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

Methods

rnf :: HTTPHeader -> () #

Hashable HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

FromJSON HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

type Rep HTTPHeader Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPHeader

type Rep HTTPHeader = D1 ('MetaData "HTTPHeader" "Amazonka.WAF.Types.HTTPHeader" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "HTTPHeader'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newHTTPHeader :: HTTPHeader Source #

Create a value of HTTPHeader 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:value:HTTPHeader', hTTPHeader_value - The value of one of the headers in the sampled web request.

$sel:name:HTTPHeader', hTTPHeader_name - The name of one of the headers in the sampled web request.

hTTPHeader_value :: Lens' HTTPHeader (Maybe Text) Source #

The value of one of the headers in the sampled web request.

hTTPHeader_name :: Lens' HTTPHeader (Maybe Text) Source #

The name of one of the headers in the sampled web request.

HTTPRequest

data HTTPRequest Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The response from a GetSampledRequests request includes an HTTPRequest complex type that appears as Request in the response syntax. HTTPRequest contains information about one of the web requests that were returned by GetSampledRequests.

See: newHTTPRequest smart constructor.

Constructors

HTTPRequest' 

Fields

  • hTTPVersion :: Maybe Text

    The HTTP version specified in the sampled web request, for example, HTTP/1.1.

  • country :: Maybe Text

    The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

  • uri :: Maybe Text

    The part of a web request that identifies the resource, for example, /images/daily-ad.jpg.

  • headers :: Maybe [HTTPHeader]

    A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header.

  • method :: Maybe Text

    The HTTP method specified in the sampled web request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.

  • clientIP :: Maybe Text

    The IP address that the request originated from. If the WebACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

    • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request
    • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Instances

Instances details
Eq HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

Read HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

Show HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

Generic HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

Associated Types

type Rep HTTPRequest :: Type -> Type #

NFData HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

Methods

rnf :: HTTPRequest -> () #

Hashable HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

FromJSON HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

type Rep HTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.HTTPRequest

newHTTPRequest :: HTTPRequest Source #

Create a value of HTTPRequest 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:hTTPVersion:HTTPRequest', hTTPRequest_hTTPVersion - The HTTP version specified in the sampled web request, for example, HTTP/1.1.

$sel:country:HTTPRequest', hTTPRequest_country - The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

$sel:uri:HTTPRequest', hTTPRequest_uri - The part of a web request that identifies the resource, for example, /images/daily-ad.jpg.

$sel:headers:HTTPRequest', hTTPRequest_headers - A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header.

$sel:method:HTTPRequest', hTTPRequest_method - The HTTP method specified in the sampled web request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.

$sel:clientIP:HTTPRequest', hTTPRequest_clientIP - The IP address that the request originated from. If the WebACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request
  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

hTTPRequest_hTTPVersion :: Lens' HTTPRequest (Maybe Text) Source #

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

hTTPRequest_country :: Lens' HTTPRequest (Maybe Text) Source #

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

hTTPRequest_uri :: Lens' HTTPRequest (Maybe Text) Source #

The part of a web request that identifies the resource, for example, /images/daily-ad.jpg.

hTTPRequest_headers :: Lens' HTTPRequest (Maybe [HTTPHeader]) Source #

A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header.

hTTPRequest_method :: Lens' HTTPRequest (Maybe Text) Source #

The HTTP method specified in the sampled web request. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.

hTTPRequest_clientIP :: Lens' HTTPRequest (Maybe Text) Source #

The IP address that the request originated from. If the WebACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request
  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

IPSet

data IPSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128.

To specify an individual IP address, you specify the four-part IP address followed by a /32, for example, 192.0.2.0/32. To block a range of IP addresses, you can specify /8 or any range between /16 through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6). For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

See: newIPSet smart constructor.

Constructors

IPSet' 

Fields

  • name :: Maybe Text

    A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

  • iPSetId :: Text

    The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

    IPSetId is returned by CreateIPSet and by ListIPSets.

  • iPSetDescriptors :: [IPSetDescriptor]

    The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

Instances

Instances details
Eq IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

Methods

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

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

Read IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

Show IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

Methods

showsPrec :: Int -> IPSet -> ShowS #

show :: IPSet -> String #

showList :: [IPSet] -> ShowS #

Generic IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

Associated Types

type Rep IPSet :: Type -> Type #

Methods

from :: IPSet -> Rep IPSet x #

to :: Rep IPSet x -> IPSet #

NFData IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

Methods

rnf :: IPSet -> () #

Hashable IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

Methods

hashWithSalt :: Int -> IPSet -> Int #

hash :: IPSet -> Int #

FromJSON IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

type Rep IPSet Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSet

type Rep IPSet = D1 ('MetaData "IPSet" "Amazonka.WAF.Types.IPSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "IPSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iPSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "iPSetDescriptors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [IPSetDescriptor]))))

newIPSet Source #

Create a value of IPSet 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:name:IPSet', iPSet_name - A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

$sel:iPSetId:IPSet', iPSet_iPSetId - The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

$sel:iPSetDescriptors:IPSet', iPSet_iPSetDescriptors - The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

iPSet_name :: Lens' IPSet (Maybe Text) Source #

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

iPSet_iPSetId :: Lens' IPSet Text Source #

The IPSetId for an IPSet. You use IPSetId to get information about an IPSet (see GetIPSet), update an IPSet (see UpdateIPSet), insert an IPSet into a Rule or delete one from a Rule (see UpdateRule), and delete an IPSet from AWS WAF (see DeleteIPSet).

IPSetId is returned by CreateIPSet and by ListIPSets.

iPSet_iPSetDescriptors :: Lens' IPSet [IPSetDescriptor] Source #

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from. If the WebACL is associated with a CloudFront distribution and the viewer did not use an HTTP proxy or a load balancer to send the request, this is the value of the c-ip field in the CloudFront access logs.

IPSetDescriptor

data IPSetDescriptor Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) that web requests originate from.

See: newIPSetDescriptor smart constructor.

Constructors

IPSetDescriptor' 

Fields

  • type' :: IPSetDescriptorType

    Specify IPV4 or IPV6.

  • value :: Text

    Specify an IPv4 address by using CIDR notation. For example:

    • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
    • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

    For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

    Specify an IPv6 address by using CIDR notation. For example:

    • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
    • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

Instances

Instances details
Eq IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

Read IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

Show IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

Generic IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

Associated Types

type Rep IPSetDescriptor :: Type -> Type #

NFData IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

Methods

rnf :: IPSetDescriptor -> () #

Hashable IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

ToJSON IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

FromJSON IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

type Rep IPSetDescriptor Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetDescriptor

type Rep IPSetDescriptor = D1 ('MetaData "IPSetDescriptor" "Amazonka.WAF.Types.IPSetDescriptor" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "IPSetDescriptor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IPSetDescriptorType) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIPSetDescriptor Source #

Create a value of IPSetDescriptor 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:type':IPSetDescriptor', iPSetDescriptor_type - Specify IPV4 or IPV6.

$sel:value:IPSetDescriptor', iPSetDescriptor_value - Specify an IPv4 address by using CIDR notation. For example:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Specify an IPv6 address by using CIDR notation. For example:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

iPSetDescriptor_value :: Lens' IPSetDescriptor Text Source #

Specify an IPv4 address by using CIDR notation. For example:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 192.0.2.44, specify 192.0.2.44/32.
  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Specify an IPv6 address by using CIDR notation. For example:

  • To configure AWS WAF to allow, block, or count requests that originated from the IP address 1111:0000:0000:0000:0000:0000:0000:0111, specify 1111:0000:0000:0000:0000:0000:0000:0111/128.
  • To configure AWS WAF to allow, block, or count requests that originated from IP addresses 1111:0000:0000:0000:0000:0000:0000:0000 to 1111:0000:0000:0000:ffff:ffff:ffff:ffff, specify 1111:0000:0000:0000:0000:0000:0000:0000/64.

IPSetSummary

data IPSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains the identifier and the name of the IPSet.

See: newIPSetSummary smart constructor.

Constructors

IPSetSummary' 

Fields

  • iPSetId :: Text

    The IPSetId for an IPSet. You can use IPSetId in a GetIPSet request to get detailed information about an IPSet.

  • name :: Text

    A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

Instances

Instances details
Eq IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

Read IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

Show IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

Generic IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

Associated Types

type Rep IPSetSummary :: Type -> Type #

NFData IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

Methods

rnf :: IPSetSummary -> () #

Hashable IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

FromJSON IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

type Rep IPSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetSummary

type Rep IPSetSummary = D1 ('MetaData "IPSetSummary" "Amazonka.WAF.Types.IPSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "IPSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iPSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIPSetSummary Source #

Create a value of IPSetSummary 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:iPSetId:IPSetSummary', iPSetSummary_iPSetId - The IPSetId for an IPSet. You can use IPSetId in a GetIPSet request to get detailed information about an IPSet.

$sel:name:IPSetSummary', iPSetSummary_name - A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

iPSetSummary_iPSetId :: Lens' IPSetSummary Text Source #

The IPSetId for an IPSet. You can use IPSetId in a GetIPSet request to get detailed information about an IPSet.

iPSetSummary_name :: Lens' IPSetSummary Text Source #

A friendly name or description of the IPSet. You can't change the name of an IPSet after you create it.

IPSetUpdate

data IPSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the type of update to perform to an IPSet with UpdateIPSet.

See: newIPSetUpdate smart constructor.

Constructors

IPSetUpdate' 

Fields

Instances

Instances details
Eq IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

Read IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

Show IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

Generic IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

Associated Types

type Rep IPSetUpdate :: Type -> Type #

NFData IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

Methods

rnf :: IPSetUpdate -> () #

Hashable IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

ToJSON IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

type Rep IPSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.IPSetUpdate

type Rep IPSetUpdate = D1 ('MetaData "IPSetUpdate" "Amazonka.WAF.Types.IPSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "IPSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "iPSetDescriptor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IPSetDescriptor)))

newIPSetUpdate Source #

Create a value of IPSetUpdate 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:action:IPSetUpdate', iPSetUpdate_action - Specifies whether to insert or delete an IP address with UpdateIPSet.

$sel:iPSetDescriptor:IPSetUpdate', iPSetUpdate_iPSetDescriptor - The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from.

iPSetUpdate_action :: Lens' IPSetUpdate ChangeAction Source #

Specifies whether to insert or delete an IP address with UpdateIPSet.

iPSetUpdate_iPSetDescriptor :: Lens' IPSetUpdate IPSetDescriptor Source #

The IP address type (IPV4 or IPV6) and the IP address range (in CIDR notation) that web requests originate from.

LoggingConfiguration

data LoggingConfiguration Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The Amazon Kinesis Data Firehose, RedactedFields information, and the web ACL Amazon Resource Name (ARN).

See: newLoggingConfiguration smart constructor.

Constructors

LoggingConfiguration' 

Fields

Instances

Instances details
Eq LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

Read LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

Show LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

Generic LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

Associated Types

type Rep LoggingConfiguration :: Type -> Type #

NFData LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

Methods

rnf :: LoggingConfiguration -> () #

Hashable LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

ToJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

FromJSON LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

type Rep LoggingConfiguration Source # 
Instance details

Defined in Amazonka.WAF.Types.LoggingConfiguration

type Rep LoggingConfiguration = D1 ('MetaData "LoggingConfiguration" "Amazonka.WAF.Types.LoggingConfiguration" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "LoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "redactedFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FieldToMatch])) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logDestinationConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))

newLoggingConfiguration Source #

Create a value of LoggingConfiguration 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:redactedFields:LoggingConfiguration', loggingConfiguration_redactedFields - The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.

$sel:resourceArn:LoggingConfiguration', loggingConfiguration_resourceArn - The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.

$sel:logDestinationConfigs:LoggingConfiguration', loggingConfiguration_logDestinationConfigs - An array of Amazon Kinesis Data Firehose ARNs.

loggingConfiguration_redactedFields :: Lens' LoggingConfiguration (Maybe [FieldToMatch]) Source #

The parts of the request that you want redacted from the logs. For example, if you redact the cookie field, the cookie field in the firehose will be xxx.

loggingConfiguration_resourceArn :: Lens' LoggingConfiguration Text Source #

The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs.

Predicate

data Predicate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a Rule and, for each object, indicates whether you want to negate the settings, for example, requests that do NOT originate from the IP address 192.0.2.44.

See: newPredicate smart constructor.

Constructors

Predicate' 

Fields

  • negated :: Bool

    Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address.

    Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44.

  • type' :: PredicateType

    The type of predicate in a Rule, such as ByteMatch or IPSet.

  • dataId :: Text

    A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command.

Instances

Instances details
Eq Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

Read Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

Show Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

Generic Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

Associated Types

type Rep Predicate :: Type -> Type #

NFData Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

Methods

rnf :: Predicate -> () #

Hashable Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

ToJSON Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

FromJSON Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

type Rep Predicate Source # 
Instance details

Defined in Amazonka.WAF.Types.Predicate

type Rep Predicate = D1 ('MetaData "Predicate" "Amazonka.WAF.Types.Predicate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "Predicate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "negated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PredicateType) :*: S1 ('MetaSel ('Just "dataId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPredicate Source #

Create a value of Predicate 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:negated:Predicate', predicate_negated - Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address.

Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44.

$sel:type':Predicate', predicate_type - The type of predicate in a Rule, such as ByteMatch or IPSet.

$sel:dataId:Predicate', predicate_dataId - A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command.

predicate_negated :: Lens' Predicate Bool Source #

Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow or block requests based on that IP address.

Set Negated to True if you want AWS WAF to allow or block a request based on the negation of the settings in the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. For example, if an IPSet includes the IP address 192.0.2.44, AWS WAF will allow, block, or count requests based on all IP addresses except 192.0.2.44.

predicate_type :: Lens' Predicate PredicateType Source #

The type of predicate in a Rule, such as ByteMatch or IPSet.

predicate_dataId :: Lens' Predicate Text Source #

A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command.

RateBasedRule

data RateBasedRule Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A RateBasedRule is identical to a regular Rule, with one addition: a RateBasedRule counts the number of requests that arrive from a specified IP address every five minutes. For example, based on recent requests that you've seen from an attacker, you might create a RateBasedRule that includes the following conditions:

  • The requests come from 192.0.2.44.
  • They contain the value BadBot in the User-Agent header.

In the rule, you also define the rate limit as 1,000.

Requests that meet both of these conditions and exceed 1,000 requests every five minutes trigger the rule's action (block or count), which is defined in the web ACL.

See: newRateBasedRule smart constructor.

Constructors

RateBasedRule' 

Fields

  • metricName :: Maybe Text

    A friendly name or description for the metrics for a RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RateBasedRule.

  • name :: Maybe Text

    A friendly name or description for a RateBasedRule. You can't change the name of a RateBasedRule after you create it.

  • ruleId :: Text

    A unique identifier for a RateBasedRule. You use RuleId to get more information about a RateBasedRule (see GetRateBasedRule), update a RateBasedRule (see UpdateRateBasedRule), insert a RateBasedRule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RateBasedRule from AWS WAF (see DeleteRateBasedRule).

  • matchPredicates :: [Predicate]

    The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a RateBasedRule.

  • rateKey :: RateKey

    The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule.

  • rateLimit :: Natural

    The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

Instances

Instances details
Eq RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

Read RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

Show RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

Generic RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

Associated Types

type Rep RateBasedRule :: Type -> Type #

NFData RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

Methods

rnf :: RateBasedRule -> () #

Hashable RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

FromJSON RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

type Rep RateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.Types.RateBasedRule

newRateBasedRule Source #

Create a value of RateBasedRule 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:metricName:RateBasedRule', rateBasedRule_metricName - A friendly name or description for the metrics for a RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RateBasedRule.

$sel:name:RateBasedRule', rateBasedRule_name - A friendly name or description for a RateBasedRule. You can't change the name of a RateBasedRule after you create it.

$sel:ruleId:RateBasedRule', rateBasedRule_ruleId - A unique identifier for a RateBasedRule. You use RuleId to get more information about a RateBasedRule (see GetRateBasedRule), update a RateBasedRule (see UpdateRateBasedRule), insert a RateBasedRule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RateBasedRule from AWS WAF (see DeleteRateBasedRule).

$sel:matchPredicates:RateBasedRule', rateBasedRule_matchPredicates - The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a RateBasedRule.

$sel:rateKey:RateBasedRule', rateBasedRule_rateKey - The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule.

$sel:rateLimit:RateBasedRule', rateBasedRule_rateLimit - The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

rateBasedRule_metricName :: Lens' RateBasedRule (Maybe Text) Source #

A friendly name or description for the metrics for a RateBasedRule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RateBasedRule.

rateBasedRule_name :: Lens' RateBasedRule (Maybe Text) Source #

A friendly name or description for a RateBasedRule. You can't change the name of a RateBasedRule after you create it.

rateBasedRule_ruleId :: Lens' RateBasedRule Text Source #

A unique identifier for a RateBasedRule. You use RuleId to get more information about a RateBasedRule (see GetRateBasedRule), update a RateBasedRule (see UpdateRateBasedRule), insert a RateBasedRule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RateBasedRule from AWS WAF (see DeleteRateBasedRule).

rateBasedRule_matchPredicates :: Lens' RateBasedRule [Predicate] Source #

The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a RateBasedRule.

rateBasedRule_rateKey :: Lens' RateBasedRule RateKey Source #

The field that AWS WAF uses to determine if requests are likely arriving from single source and thus subject to rate monitoring. The only valid value for RateKey is IP. IP indicates that requests arriving from the same IP address are subject to the RateLimit that is specified in the RateBasedRule.

rateBasedRule_rateLimit :: Lens' RateBasedRule Natural Source #

The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. If the number of requests exceeds the RateLimit and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule.

RegexMatchSet

data RegexMatchSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

In a GetRegexMatchSet request, RegexMatchSet is a complex type that contains the RegexMatchSetId and Name of a RegexMatchSet, and the values that you specified when you updated the RegexMatchSet.

The values are contained in a RegexMatchTuple object, 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 RegexMatchSet contains more than one RegexMatchTuple object, a request needs to match the settings in only one ByteMatchTuple to be considered a match.

See: newRegexMatchSet smart constructor.

Constructors

RegexMatchSet' 

Fields

  • name :: Maybe Text

    A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

  • regexMatchTuples :: Maybe [RegexMatchTuple]

    Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

    • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.
    • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.
    • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.
  • regexMatchSetId :: Maybe Text

    The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet (see GetRegexMatchSet), update a RegexMatchSet (see UpdateRegexMatchSet), insert a RegexMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a RegexMatchSet from AWS WAF (see DeleteRegexMatchSet).

    RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

Instances

Instances details
Eq RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

Read RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

Show RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

Generic RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

Associated Types

type Rep RegexMatchSet :: Type -> Type #

NFData RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

Methods

rnf :: RegexMatchSet -> () #

Hashable RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

FromJSON RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

type Rep RegexMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSet

type Rep RegexMatchSet = D1 ('MetaData "RegexMatchSet" "Amazonka.WAF.Types.RegexMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "regexMatchTuples") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RegexMatchTuple])) :*: S1 ('MetaSel ('Just "regexMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRegexMatchSet :: RegexMatchSet Source #

Create a value of RegexMatchSet 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:name:RegexMatchSet', regexMatchSet_name - A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

$sel:regexMatchTuples:RegexMatchSet', regexMatchSet_regexMatchTuples - Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

  • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.
  • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.
  • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

$sel:regexMatchSetId:RegexMatchSet', regexMatchSet_regexMatchSetId - The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet (see GetRegexMatchSet), update a RegexMatchSet (see UpdateRegexMatchSet), insert a RegexMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a RegexMatchSet from AWS WAF (see DeleteRegexMatchSet).

RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

regexMatchSet_name :: Lens' RegexMatchSet (Maybe Text) Source #

A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

regexMatchSet_regexMatchTuples :: Lens' RegexMatchSet (Maybe [RegexMatchTuple]) Source #

Contains an array of RegexMatchTuple objects. Each RegexMatchTuple object contains:

  • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.
  • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.
  • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

regexMatchSet_regexMatchSetId :: Lens' RegexMatchSet (Maybe Text) Source #

The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet (see GetRegexMatchSet), update a RegexMatchSet (see UpdateRegexMatchSet), insert a RegexMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a RegexMatchSet from AWS WAF (see DeleteRegexMatchSet).

RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

RegexMatchSetSummary

data RegexMatchSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Returned by ListRegexMatchSets. Each RegexMatchSetSummary object includes the Name and RegexMatchSetId for one RegexMatchSet.

See: newRegexMatchSetSummary smart constructor.

Constructors

RegexMatchSetSummary' 

Fields

  • regexMatchSetId :: Text

    The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet, update a RegexMatchSet, remove a RegexMatchSet from a Rule, and delete a RegexMatchSet from AWS WAF.

    RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

  • name :: Text

    A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

Instances

Instances details
Eq RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

Read RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

Show RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

Generic RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

Associated Types

type Rep RegexMatchSetSummary :: Type -> Type #

NFData RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

Methods

rnf :: RegexMatchSetSummary -> () #

Hashable RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

FromJSON RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

type Rep RegexMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetSummary

type Rep RegexMatchSetSummary = D1 ('MetaData "RegexMatchSetSummary" "Amazonka.WAF.Types.RegexMatchSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexMatchSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRegexMatchSetSummary Source #

Create a value of RegexMatchSetSummary 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:regexMatchSetId:RegexMatchSetSummary', regexMatchSetSummary_regexMatchSetId - The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet, update a RegexMatchSet, remove a RegexMatchSet from a Rule, and delete a RegexMatchSet from AWS WAF.

RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

$sel:name:RegexMatchSetSummary', regexMatchSetSummary_name - A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

regexMatchSetSummary_regexMatchSetId :: Lens' RegexMatchSetSummary Text Source #

The RegexMatchSetId for a RegexMatchSet. You use RegexMatchSetId to get information about a RegexMatchSet, update a RegexMatchSet, remove a RegexMatchSet from a Rule, and delete a RegexMatchSet from AWS WAF.

RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

regexMatchSetSummary_name :: Lens' RegexMatchSetSummary Text Source #

A friendly name or description of the RegexMatchSet. You can't change Name after you create a RegexMatchSet.

RegexMatchSetUpdate

data RegexMatchSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

In an UpdateRegexMatchSet request, RegexMatchSetUpdate specifies whether to insert or delete a RegexMatchTuple and includes the settings for the RegexMatchTuple.

See: newRegexMatchSetUpdate smart constructor.

Constructors

RegexMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert or delete a RegexMatchTuple.

  • regexMatchTuple :: RegexMatchTuple

    Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.

Instances

Instances details
Eq RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Read RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Show RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Generic RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Associated Types

type Rep RegexMatchSetUpdate :: Type -> Type #

NFData RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

Methods

rnf :: RegexMatchSetUpdate -> () #

Hashable RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

ToJSON RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

type Rep RegexMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchSetUpdate

type Rep RegexMatchSetUpdate = D1 ('MetaData "RegexMatchSetUpdate" "Amazonka.WAF.Types.RegexMatchSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "regexMatchTuple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegexMatchTuple)))

newRegexMatchSetUpdate Source #

Create a value of RegexMatchSetUpdate 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:action:RegexMatchSetUpdate', regexMatchSetUpdate_action - Specifies whether to insert or delete a RegexMatchTuple.

$sel:regexMatchTuple:RegexMatchSetUpdate', regexMatchSetUpdate_regexMatchTuple - Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.

regexMatchSetUpdate_action :: Lens' RegexMatchSetUpdate ChangeAction Source #

Specifies whether to insert or delete a RegexMatchTuple.

regexMatchSetUpdate_regexMatchTuple :: Lens' RegexMatchSetUpdate RegexMatchTuple Source #

Information about the part of a web request that you want AWS WAF to inspect and the identifier of the regular expression (regex) pattern that you want AWS WAF to search for. If you specify DELETE for the value of Action, the RegexMatchTuple values must exactly match the values in the RegexMatchTuple that you want to delete from the RegexMatchSet.

RegexMatchTuple

data RegexMatchTuple Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. Each RegexMatchTuple object contains:

  • The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the User-Agent header.
  • The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see RegexPatternSet.
  • Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.

See: newRegexMatchTuple smart constructor.

Constructors

RegexMatchTuple' 

Fields

  • fieldToMatch :: FieldToMatch

    Specifies where in a web request to look for the RegexPatternSet.

  • textTransformation :: TextTransformation

    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on RegexPatternSet before inspecting a request for a match.

    You can only specify a single type of TextTransformation.

    CMD_LINE

    When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

    • Delete the following characters: \ " ' ^
    • Delete spaces before the following characters: / (
    • Replace the following characters with a space: , ;
    • Replace multiple spaces with one space
    • Convert uppercase letters (A-Z) to lowercase (a-z)

    COMPRESS_WHITE_SPACE

    Use this option to replace the following characters with a space character (decimal 32):

    • \f, formfeed, decimal 12
    • \t, tab, decimal 9
    • \n, newline, decimal 10
    • \r, carriage return, decimal 13
    • \v, vertical tab, decimal 11
    • non-breaking space, decimal 160

    COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

    HTML_ENTITY_DECODE

    Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

    • Replaces (ampersand)quot; with "
    • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
    • Replaces (ampersand)lt; with a "less than" symbol
    • Replaces (ampersand)gt; with >
    • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
    • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

    LOWERCASE

    Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

    URL_DECODE

    Use this option to decode a URL-encoded value.

    NONE

    Specify NONE if you don't want to perform any text transformations.

  • regexPatternSetId :: Text

    The RegexPatternSetId for a RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet (see GetRegexPatternSet), update a RegexPatternSet (see UpdateRegexPatternSet), insert a RegexPatternSet into a RegexMatchSet or delete one from a RegexMatchSet (see UpdateRegexMatchSet), and delete an RegexPatternSet from AWS WAF (see DeleteRegexPatternSet).

    RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

Instances

Instances details
Eq RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

Read RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

Show RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

Generic RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

Associated Types

type Rep RegexMatchTuple :: Type -> Type #

NFData RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

Methods

rnf :: RegexMatchTuple -> () #

Hashable RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

ToJSON RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

FromJSON RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

type Rep RegexMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexMatchTuple

type Rep RegexMatchTuple = D1 ('MetaData "RegexMatchTuple" "Amazonka.WAF.Types.RegexMatchTuple" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexMatchTuple'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldToMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldToMatch) :*: (S1 ('MetaSel ('Just "textTransformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextTransformation) :*: S1 ('MetaSel ('Just "regexPatternSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRegexMatchTuple Source #

Create a value of RegexMatchTuple 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:fieldToMatch:RegexMatchTuple', regexMatchTuple_fieldToMatch - Specifies where in a web request to look for the RegexPatternSet.

$sel:textTransformation:RegexMatchTuple', regexMatchTuple_textTransformation - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on RegexPatternSet before inspecting a request for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

$sel:regexPatternSetId:RegexMatchTuple', regexMatchTuple_regexPatternSetId - The RegexPatternSetId for a RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet (see GetRegexPatternSet), update a RegexPatternSet (see UpdateRegexPatternSet), insert a RegexPatternSet into a RegexMatchSet or delete one from a RegexMatchSet (see UpdateRegexMatchSet), and delete an RegexPatternSet from AWS WAF (see DeleteRegexPatternSet).

RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

regexMatchTuple_fieldToMatch :: Lens' RegexMatchTuple FieldToMatch Source #

Specifies where in a web request to look for the RegexPatternSet.

regexMatchTuple_textTransformation :: Lens' RegexMatchTuple TextTransformation Source #

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on RegexPatternSet before inspecting a request for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system commandline command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

regexMatchTuple_regexPatternSetId :: Lens' RegexMatchTuple Text Source #

The RegexPatternSetId for a RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet (see GetRegexPatternSet), update a RegexPatternSet (see UpdateRegexPatternSet), insert a RegexPatternSet into a RegexMatchSet or delete one from a RegexMatchSet (see UpdateRegexMatchSet), and delete an RegexPatternSet from AWS WAF (see DeleteRegexPatternSet).

RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

RegexPatternSet

data RegexPatternSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The RegexPatternSet specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t. You can then configure AWS WAF to reject those requests.

See: newRegexPatternSet smart constructor.

Constructors

RegexPatternSet' 

Fields

  • name :: Maybe Text

    A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

  • regexPatternSetId :: Text

    The identifier for the RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

    RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

  • regexPatternStrings :: [Text]

    Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.

Instances

Instances details
Eq RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

Read RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

Show RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

Generic RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

Associated Types

type Rep RegexPatternSet :: Type -> Type #

NFData RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

Methods

rnf :: RegexPatternSet -> () #

Hashable RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

FromJSON RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

type Rep RegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSet

type Rep RegexPatternSet = D1 ('MetaData "RegexPatternSet" "Amazonka.WAF.Types.RegexPatternSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexPatternSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "regexPatternSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "regexPatternStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newRegexPatternSet Source #

Create a value of RegexPatternSet 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:name:RegexPatternSet', regexPatternSet_name - A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

$sel:regexPatternSetId:RegexPatternSet', regexPatternSet_regexPatternSetId - The identifier for the RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

$sel:regexPatternStrings:RegexPatternSet', regexPatternSet_regexPatternStrings - Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.

regexPatternSet_name :: Lens' RegexPatternSet (Maybe Text) Source #

A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

regexPatternSet_regexPatternSetId :: Lens' RegexPatternSet Text Source #

The identifier for the RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

RegexMatchSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

regexPatternSet_regexPatternStrings :: Lens' RegexPatternSet [Text] Source #

Specifies the regular expression (regex) patterns that you want AWS WAF to search for, such as B[a@]dB[o0]t.

RegexPatternSetSummary

data RegexPatternSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Returned by ListRegexPatternSets. Each RegexPatternSetSummary object includes the Name and RegexPatternSetId for one RegexPatternSet.

See: newRegexPatternSetSummary smart constructor.

Constructors

RegexPatternSetSummary' 

Fields

  • regexPatternSetId :: Text

    The RegexPatternSetId for a RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

    RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

  • name :: Text

    A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

Instances

Instances details
Eq RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

Read RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

Show RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

Generic RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

Associated Types

type Rep RegexPatternSetSummary :: Type -> Type #

NFData RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

Methods

rnf :: RegexPatternSetSummary -> () #

Hashable RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

FromJSON RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

type Rep RegexPatternSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetSummary

type Rep RegexPatternSetSummary = D1 ('MetaData "RegexPatternSetSummary" "Amazonka.WAF.Types.RegexPatternSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexPatternSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexPatternSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRegexPatternSetSummary Source #

Create a value of RegexPatternSetSummary 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:regexPatternSetId:RegexPatternSetSummary', regexPatternSetSummary_regexPatternSetId - The RegexPatternSetId for a RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

$sel:name:RegexPatternSetSummary', regexPatternSetSummary_name - A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

regexPatternSetSummary_regexPatternSetId :: Lens' RegexPatternSetSummary Text Source #

The RegexPatternSetId for a RegexPatternSet. You use RegexPatternSetId to get information about a RegexPatternSet, update a RegexPatternSet, remove a RegexPatternSet from a RegexMatchSet, and delete a RegexPatternSet from AWS WAF.

RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

regexPatternSetSummary_name :: Lens' RegexPatternSetSummary Text Source #

A friendly name or description of the RegexPatternSet. You can't change Name after you create a RegexPatternSet.

RegexPatternSetUpdate

data RegexPatternSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

In an UpdateRegexPatternSet request, RegexPatternSetUpdate specifies whether to insert or delete a RegexPatternString and includes the settings for the RegexPatternString.

See: newRegexPatternSetUpdate smart constructor.

Constructors

RegexPatternSetUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert or delete a RegexPatternString.

  • regexPatternString :: Text

    Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.

Instances

Instances details
Eq RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Read RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Show RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Generic RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Associated Types

type Rep RegexPatternSetUpdate :: Type -> Type #

NFData RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

Methods

rnf :: RegexPatternSetUpdate -> () #

Hashable RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

ToJSON RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

type Rep RegexPatternSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RegexPatternSetUpdate

type Rep RegexPatternSetUpdate = D1 ('MetaData "RegexPatternSetUpdate" "Amazonka.WAF.Types.RegexPatternSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RegexPatternSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "regexPatternString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRegexPatternSetUpdate Source #

Create a value of RegexPatternSetUpdate 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:action:RegexPatternSetUpdate', regexPatternSetUpdate_action - Specifies whether to insert or delete a RegexPatternString.

$sel:regexPatternString:RegexPatternSetUpdate', regexPatternSetUpdate_regexPatternString - Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.

regexPatternSetUpdate_action :: Lens' RegexPatternSetUpdate ChangeAction Source #

Specifies whether to insert or delete a RegexPatternString.

regexPatternSetUpdate_regexPatternString :: Lens' RegexPatternSetUpdate Text Source #

Specifies the regular expression (regex) pattern that you want AWS WAF to search for, such as B[a@]dB[o0]t.

Rule

data Rule Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet objects that identify the web requests that you want to allow, block, or count. For example, you might create a Rule that includes the following predicates:

  • An IPSet that causes AWS WAF to search for web requests that originate from the IP address 192.0.2.44
  • A ByteMatchSet that causes AWS WAF to search for web requests for which the value of the User-Agent header is BadBot.

To match the settings in this Rule, a request must originate from 192.0.2.44 AND include a User-Agent header for which the value is BadBot.

See: newRule smart constructor.

Constructors

Rule' 

Fields

  • metricName :: Maybe Text

    A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the Rule.

  • name :: Maybe Text

    The friendly name or description for the Rule. You can't change the name of a Rule after you create it.

  • ruleId :: Text

    A unique identifier 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.

  • predicates :: [Predicate]

    The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a Rule.

Instances

Instances details
Eq Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

Methods

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

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

Read Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

Show Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Generic Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

NFData Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

Methods

rnf :: Rule -> () #

Hashable Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

FromJSON Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

type Rep Rule Source # 
Instance details

Defined in Amazonka.WAF.Types.Rule

type Rep Rule = D1 ('MetaData "Rule" "Amazonka.WAF.Types.Rule" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "Rule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "predicates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Predicate]))))

newRule Source #

Arguments

:: Text

$sel:ruleId:Rule'

-> Rule 

Create a value of Rule 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:metricName:Rule', rule_metricName - A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the Rule.

$sel:name:Rule', rule_name - The friendly name or description for the Rule. You can't change the name of a Rule after you create it.

$sel:ruleId:Rule', rule_ruleId - A unique identifier 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.

$sel:predicates:Rule', rule_predicates - The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a Rule.

rule_metricName :: Lens' Rule (Maybe Text) Source #

A friendly name or description for the metrics for this Rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the Rule.

rule_name :: Lens' Rule (Maybe Text) Source #

The friendly name or description for the Rule. You can't change the name of a Rule after you create it.

rule_ruleId :: Lens' Rule Text Source #

A unique identifier 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.

rule_predicates :: Lens' Rule [Predicate] Source #

The Predicates object contains one Predicate element for each ByteMatchSet, IPSet, or SqlInjectionMatchSet object that you want to include in a Rule.

RuleGroup

data RuleGroup Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A collection of predefined rules that you can add to a web ACL.

Rule groups are subject to the following limits:

  • Three rule groups per account. You can request an increase to this limit by contacting customer support.
  • One rule group per web ACL.
  • Ten rules per rule group.

See: newRuleGroup smart constructor.

Constructors

RuleGroup' 

Fields

  • metricName :: Maybe Text

    A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

  • name :: Maybe Text

    The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.

  • ruleGroupId :: Text

    A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

    RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

Instances

Instances details
Eq RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

Read RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

Show RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

Generic RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

Associated Types

type Rep RuleGroup :: Type -> Type #

NFData RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

Methods

rnf :: RuleGroup -> () #

Hashable RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

FromJSON RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

type Rep RuleGroup Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroup

type Rep RuleGroup = D1 ('MetaData "RuleGroup" "Amazonka.WAF.Types.RuleGroup" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RuleGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRuleGroup Source #

Create a value of RuleGroup 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:metricName:RuleGroup', ruleGroup_metricName - A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

$sel:name:RuleGroup', ruleGroup_name - The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.

$sel:ruleGroupId:RuleGroup', ruleGroup_ruleGroupId - A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

ruleGroup_metricName :: Lens' RuleGroup (Maybe Text) Source #

A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

ruleGroup_name :: Lens' RuleGroup (Maybe Text) Source #

The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.

ruleGroup_ruleGroupId :: Lens' RuleGroup Text Source #

A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

RuleGroupSummary

data RuleGroupSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains the identifier and the friendly name or description of the RuleGroup.

See: newRuleGroupSummary smart constructor.

Constructors

RuleGroupSummary' 

Fields

  • ruleGroupId :: Text

    A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

    RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

  • name :: Text

    A friendly name or description of the RuleGroup. You can't change the name of a RuleGroup after you create it.

Instances

Instances details
Eq RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

Read RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

Show RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

Generic RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

Associated Types

type Rep RuleGroupSummary :: Type -> Type #

NFData RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

Methods

rnf :: RuleGroupSummary -> () #

Hashable RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

FromJSON RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

type Rep RuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupSummary

type Rep RuleGroupSummary = D1 ('MetaData "RuleGroupSummary" "Amazonka.WAF.Types.RuleGroupSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RuleGroupSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRuleGroupSummary Source #

Create a value of RuleGroupSummary 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:ruleGroupId:RuleGroupSummary', ruleGroupSummary_ruleGroupId - A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

$sel:name:RuleGroupSummary', ruleGroupSummary_name - A friendly name or description of the RuleGroup. You can't change the name of a RuleGroup after you create it.

ruleGroupSummary_ruleGroupId :: Lens' RuleGroupSummary Text Source #

A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

ruleGroupSummary_name :: Lens' RuleGroupSummary Text Source #

A friendly name or description of the RuleGroup. You can't change the name of a RuleGroup after you create it.

RuleGroupUpdate

data RuleGroupUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies an ActivatedRule and indicates whether you want to add it to a RuleGroup or delete it from a RuleGroup.

See: newRuleGroupUpdate smart constructor.

Constructors

RuleGroupUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

  • activatedRule :: ActivatedRule

    The ActivatedRule object 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).

Instances

Instances details
Eq RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

Read RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

Show RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

Generic RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

Associated Types

type Rep RuleGroupUpdate :: Type -> Type #

NFData RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

Methods

rnf :: RuleGroupUpdate -> () #

Hashable RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

ToJSON RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

type Rep RuleGroupUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleGroupUpdate

type Rep RuleGroupUpdate = D1 ('MetaData "RuleGroupUpdate" "Amazonka.WAF.Types.RuleGroupUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RuleGroupUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "activatedRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActivatedRule)))

newRuleGroupUpdate Source #

Create a value of RuleGroupUpdate 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:action:RuleGroupUpdate', ruleGroupUpdate_action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

$sel:activatedRule:RuleGroupUpdate', ruleGroupUpdate_activatedRule - The ActivatedRule object 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).

ruleGroupUpdate_action :: Lens' RuleGroupUpdate ChangeAction Source #

Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

ruleGroupUpdate_activatedRule :: Lens' RuleGroupUpdate ActivatedRule Source #

The ActivatedRule object 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).

RuleSummary

data RuleSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains the identifier and the friendly name or description of the Rule.

See: newRuleSummary smart constructor.

Constructors

RuleSummary' 

Fields

  • ruleId :: Text

    A unique identifier 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 one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

    RuleId is returned by CreateRule and by ListRules.

  • name :: Text

    A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

Instances

Instances details
Eq RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

Read RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

Show RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

Generic RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

Associated Types

type Rep RuleSummary :: Type -> Type #

NFData RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

Methods

rnf :: RuleSummary -> () #

Hashable RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

FromJSON RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

type Rep RuleSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleSummary

type Rep RuleSummary = D1 ('MetaData "RuleSummary" "Amazonka.WAF.Types.RuleSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RuleSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRuleSummary Source #

Create a value of RuleSummary 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:ruleId:RuleSummary', ruleSummary_ruleId - A unique identifier 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 one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

RuleId is returned by CreateRule and by ListRules.

$sel:name:RuleSummary', ruleSummary_name - A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

ruleSummary_ruleId :: Lens' RuleSummary Text Source #

A unique identifier 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 one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

RuleId is returned by CreateRule and by ListRules.

ruleSummary_name :: Lens' RuleSummary Text Source #

A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

RuleUpdate

data RuleUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies a Predicate (such as an IPSet) and indicates whether you want to add it to a Rule or delete it from a Rule.

See: newRuleUpdate smart constructor.

Constructors

RuleUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

  • predicate :: Predicate

    The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

Instances

Instances details
Eq RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Read RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Show RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Generic RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Associated Types

type Rep RuleUpdate :: Type -> Type #

NFData RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

Methods

rnf :: RuleUpdate -> () #

Hashable RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

ToJSON RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

type Rep RuleUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.RuleUpdate

type Rep RuleUpdate = D1 ('MetaData "RuleUpdate" "Amazonka.WAF.Types.RuleUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "RuleUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "predicate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Predicate)))

newRuleUpdate Source #

Create a value of RuleUpdate 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:action:RuleUpdate', ruleUpdate_action - Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

$sel:predicate:RuleUpdate', ruleUpdate_predicate - The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

ruleUpdate_action :: Lens' RuleUpdate ChangeAction Source #

Specify INSERT to add a Predicate to a Rule. Use DELETE to remove a Predicate from a Rule.

ruleUpdate_predicate :: Lens' RuleUpdate Predicate Source #

The ID of the Predicate (such as an IPSet) that you want to add to a Rule.

SampledHTTPRequest

data SampledHTTPRequest Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The response from a GetSampledRequests request includes a SampledHTTPRequests complex type that appears as SampledRequests in the response syntax. SampledHTTPRequests contains one SampledHTTPRequest object for each web request that is returned by GetSampledRequests.

See: newSampledHTTPRequest smart constructor.

Constructors

SampledHTTPRequest' 

Fields

  • ruleWithinRuleGroup :: Maybe Text

    This value is returned if the GetSampledRequests request specifies the ID of a RuleGroup rather than the ID of an individual rule. RuleWithinRuleGroup is the rule within the specified RuleGroup that matched the request listed in the response.

  • action :: Maybe Text

    The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.

  • timestamp :: Maybe POSIX

    The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).

  • request :: HTTPRequest

    A complex type that contains detailed information about the request.

  • weight :: Natural

    A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result that has a weight of 1.

Instances

Instances details
Eq SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

Read SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

Show SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

Generic SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

Associated Types

type Rep SampledHTTPRequest :: Type -> Type #

NFData SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

Methods

rnf :: SampledHTTPRequest -> () #

Hashable SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

FromJSON SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

type Rep SampledHTTPRequest Source # 
Instance details

Defined in Amazonka.WAF.Types.SampledHTTPRequest

type Rep SampledHTTPRequest = D1 ('MetaData "SampledHTTPRequest" "Amazonka.WAF.Types.SampledHTTPRequest" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SampledHTTPRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ruleWithinRuleGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "request") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HTTPRequest) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))

newSampledHTTPRequest Source #

Create a value of SampledHTTPRequest 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:ruleWithinRuleGroup:SampledHTTPRequest', sampledHTTPRequest_ruleWithinRuleGroup - This value is returned if the GetSampledRequests request specifies the ID of a RuleGroup rather than the ID of an individual rule. RuleWithinRuleGroup is the rule within the specified RuleGroup that matched the request listed in the response.

$sel:action:SampledHTTPRequest', sampledHTTPRequest_action - The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.

$sel:timestamp:SampledHTTPRequest', sampledHTTPRequest_timestamp - The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).

$sel:request:SampledHTTPRequest', sampledHTTPRequest_request - A complex type that contains detailed information about the request.

$sel:weight:SampledHTTPRequest', sampledHTTPRequest_weight - A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result that has a weight of 1.

sampledHTTPRequest_ruleWithinRuleGroup :: Lens' SampledHTTPRequest (Maybe Text) Source #

This value is returned if the GetSampledRequests request specifies the ID of a RuleGroup rather than the ID of an individual rule. RuleWithinRuleGroup is the rule within the specified RuleGroup that matched the request listed in the response.

sampledHTTPRequest_action :: Lens' SampledHTTPRequest (Maybe Text) Source #

The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.

sampledHTTPRequest_timestamp :: Lens' SampledHTTPRequest (Maybe UTCTime) Source #

The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).

sampledHTTPRequest_request :: Lens' SampledHTTPRequest HTTPRequest Source #

A complex type that contains detailed information about the request.

sampledHTTPRequest_weight :: Lens' SampledHTTPRequest Natural Source #

A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result that has a weight of 1.

SizeConstraint

data SizeConstraint Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

See: newSizeConstraint smart constructor.

Constructors

SizeConstraint' 

Fields

  • fieldToMatch :: FieldToMatch

    Specifies where in a web request to look for the size constraint.

  • textTransformation :: TextTransformation

    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

    You can only specify a single type of TextTransformation.

    Note that if you choose BODY for the value of Type, you must choose NONE for TextTransformation because CloudFront forwards only the first 8192 bytes for inspection.

    NONE

    Specify NONE if you don't want to perform any text transformations.

    CMD_LINE

    When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

    • Delete the following characters: \ " ' ^
    • Delete spaces before the following characters: / (
    • Replace the following characters with a space: , ;
    • Replace multiple spaces with one space
    • Convert uppercase letters (A-Z) to lowercase (a-z)

    COMPRESS_WHITE_SPACE

    Use this option to replace the following characters with a space character (decimal 32):

    • \f, formfeed, decimal 12
    • \t, tab, decimal 9
    • \n, newline, decimal 10
    • \r, carriage return, decimal 13
    • \v, vertical tab, decimal 11
    • non-breaking space, decimal 160

    COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

    HTML_ENTITY_DECODE

    Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

    • Replaces (ampersand)quot; with "
    • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
    • Replaces (ampersand)lt; with a "less than" symbol
    • Replaces (ampersand)gt; with >
    • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
    • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

    LOWERCASE

    Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

    URL_DECODE

    Use this option to decode a URL-encoded value.

  • comparisonOperator :: ComparisonOperator

    The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided Size and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

    EQ: Used to test if the Size is equal to the size of the FieldToMatch

    NE: Used to test if the Size is not equal to the size of the FieldToMatch

    LE: Used to test if the Size is less than or equal to the size of the FieldToMatch

    LT: Used to test if the Size is strictly less than the size of the FieldToMatch

    GE: Used to test if the Size is greater than or equal to the size of the FieldToMatch

    GT: Used to test if the Size is strictly greater than the size of the FieldToMatch

  • size :: Natural

    The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination with ComparisonOperator and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

    Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).

    If you specify URI for the value of Type, the / in the URI counts as one character. For example, the URI /logo.jpg is nine characters long.

Instances

Instances details
Eq SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

Read SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

Show SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

Generic SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

Associated Types

type Rep SizeConstraint :: Type -> Type #

NFData SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

Methods

rnf :: SizeConstraint -> () #

Hashable SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

ToJSON SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

FromJSON SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

type Rep SizeConstraint Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraint

type Rep SizeConstraint = D1 ('MetaData "SizeConstraint" "Amazonka.WAF.Types.SizeConstraint" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SizeConstraint'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fieldToMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldToMatch) :*: S1 ('MetaSel ('Just "textTransformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextTransformation)) :*: (S1 ('MetaSel ('Just "comparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComparisonOperator) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newSizeConstraint Source #

Create a value of SizeConstraint 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:fieldToMatch:SizeConstraint', sizeConstraint_fieldToMatch - Specifies where in a web request to look for the size constraint.

$sel:textTransformation:SizeConstraint', sizeConstraint_textTransformation - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

Note that if you choose BODY for the value of Type, you must choose NONE for TextTransformation because CloudFront forwards only the first 8192 bytes for inspection.

NONE

Specify NONE if you don't want to perform any text transformations.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

$sel:comparisonOperator:SizeConstraint', sizeConstraint_comparisonOperator - The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided Size and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

EQ: Used to test if the Size is equal to the size of the FieldToMatch

NE: Used to test if the Size is not equal to the size of the FieldToMatch

LE: Used to test if the Size is less than or equal to the size of the FieldToMatch

LT: Used to test if the Size is strictly less than the size of the FieldToMatch

GE: Used to test if the Size is greater than or equal to the size of the FieldToMatch

GT: Used to test if the Size is strictly greater than the size of the FieldToMatch

$sel:size:SizeConstraint', sizeConstraint_size - The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination with ComparisonOperator and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).

If you specify URI for the value of Type, the / in the URI counts as one character. For example, the URI /logo.jpg is nine characters long.

sizeConstraint_fieldToMatch :: Lens' SizeConstraint FieldToMatch Source #

Specifies where in a web request to look for the size constraint.

sizeConstraint_textTransformation :: Lens' SizeConstraint TextTransformation Source #

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

Note that if you choose BODY for the value of Type, you must choose NONE for TextTransformation because CloudFront forwards only the first 8192 bytes for inspection.

NONE

Specify NONE if you don't want to perform any text transformations.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

sizeConstraint_comparisonOperator :: Lens' SizeConstraint ComparisonOperator Source #

The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination with the provided Size and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

EQ: Used to test if the Size is equal to the size of the FieldToMatch

NE: Used to test if the Size is not equal to the size of the FieldToMatch

LE: Used to test if the Size is less than or equal to the size of the FieldToMatch

LT: Used to test if the Size is strictly less than the size of the FieldToMatch

GE: Used to test if the Size is greater than or equal to the size of the FieldToMatch

GT: Used to test if the Size is strictly greater than the size of the FieldToMatch

sizeConstraint_size :: Lens' SizeConstraint Natural Source #

The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination with ComparisonOperator and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).

If you specify URI for the value of Type, the / in the URI counts as one character. For example, the URI /logo.jpg is nine characters long.

SizeConstraintSet

data SizeConstraintSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A complex type that contains SizeConstraint objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet contains more than one SizeConstraint object, a request only needs to match one constraint to be considered a match.

See: newSizeConstraintSet smart constructor.

Constructors

SizeConstraintSet' 

Fields

  • name :: Maybe Text

    The name, if any, of the SizeConstraintSet.

  • sizeConstraintSetId :: Text

    A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).

    SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

  • sizeConstraints :: [SizeConstraint]

    Specifies the parts of web requests that you want to inspect the size of.

Instances

Instances details
Eq SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

Read SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

Show SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

Generic SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

Associated Types

type Rep SizeConstraintSet :: Type -> Type #

NFData SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

Methods

rnf :: SizeConstraintSet -> () #

Hashable SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

FromJSON SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

type Rep SizeConstraintSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSet

type Rep SizeConstraintSet = D1 ('MetaData "SizeConstraintSet" "Amazonka.WAF.Types.SizeConstraintSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SizeConstraintSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sizeConstraintSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sizeConstraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SizeConstraint]))))

newSizeConstraintSet Source #

Create a value of SizeConstraintSet 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:name:SizeConstraintSet', sizeConstraintSet_name - The name, if any, of the SizeConstraintSet.

$sel:sizeConstraintSetId:SizeConstraintSet', sizeConstraintSet_sizeConstraintSetId - A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).

SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

$sel:sizeConstraints:SizeConstraintSet', sizeConstraintSet_sizeConstraints - Specifies the parts of web requests that you want to inspect the size of.

sizeConstraintSet_name :: Lens' SizeConstraintSet (Maybe Text) Source #

The name, if any, of the SizeConstraintSet.

sizeConstraintSet_sizeConstraintSetId :: Lens' SizeConstraintSet Text Source #

A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).

SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

sizeConstraintSet_sizeConstraints :: Lens' SizeConstraintSet [SizeConstraint] Source #

Specifies the parts of web requests that you want to inspect the size of.

SizeConstraintSetSummary

data SizeConstraintSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The Id and Name of a SizeConstraintSet.

See: newSizeConstraintSetSummary smart constructor.

Constructors

SizeConstraintSetSummary' 

Fields

  • sizeConstraintSetId :: Text

    A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).

    SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

  • name :: Text

    The name of the SizeConstraintSet, if any.

Instances

Instances details
Eq SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

Read SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

Show SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

Generic SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

Associated Types

type Rep SizeConstraintSetSummary :: Type -> Type #

NFData SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

Hashable SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

FromJSON SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

type Rep SizeConstraintSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetSummary

type Rep SizeConstraintSetSummary = D1 ('MetaData "SizeConstraintSetSummary" "Amazonka.WAF.Types.SizeConstraintSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SizeConstraintSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sizeConstraintSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSizeConstraintSetSummary Source #

Create a value of SizeConstraintSetSummary 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:sizeConstraintSetId:SizeConstraintSetSummary', sizeConstraintSetSummary_sizeConstraintSetId - A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).

SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

$sel:name:SizeConstraintSetSummary', sizeConstraintSetSummary_name - The name of the SizeConstraintSet, if any.

sizeConstraintSetSummary_sizeConstraintSetId :: Lens' SizeConstraintSetSummary Text Source #

A unique identifier for a SizeConstraintSet. You use SizeConstraintSetId to get information about a SizeConstraintSet (see GetSizeConstraintSet), update a SizeConstraintSet (see UpdateSizeConstraintSet), insert a SizeConstraintSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SizeConstraintSet from AWS WAF (see DeleteSizeConstraintSet).

SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

sizeConstraintSetSummary_name :: Lens' SizeConstraintSetSummary Text Source #

The name of the SizeConstraintSet, if any.

SizeConstraintSetUpdate

data SizeConstraintSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the part of a web request that you want to inspect the size of and indicates whether you want to add the specification to a SizeConstraintSet or delete it from a SizeConstraintSet.

See: newSizeConstraintSetUpdate smart constructor.

Constructors

SizeConstraintSetUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.

  • sizeConstraint :: SizeConstraint

    Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

Instances

Instances details
Eq SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

Read SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

Show SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

Generic SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

Associated Types

type Rep SizeConstraintSetUpdate :: Type -> Type #

NFData SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

Methods

rnf :: SizeConstraintSetUpdate -> () #

Hashable SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

ToJSON SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

type Rep SizeConstraintSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SizeConstraintSetUpdate

type Rep SizeConstraintSetUpdate = D1 ('MetaData "SizeConstraintSetUpdate" "Amazonka.WAF.Types.SizeConstraintSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SizeConstraintSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "sizeConstraint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SizeConstraint)))

newSizeConstraintSetUpdate Source #

Create a value of SizeConstraintSetUpdate 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:action:SizeConstraintSetUpdate', sizeConstraintSetUpdate_action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.

$sel:sizeConstraint:SizeConstraintSetUpdate', sizeConstraintSetUpdate_sizeConstraint - Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

sizeConstraintSetUpdate_action :: Lens' SizeConstraintSetUpdate ChangeAction Source #

Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.

sizeConstraintSetUpdate_sizeConstraint :: Lens' SizeConstraintSetUpdate SizeConstraint Source #

Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size, ComparisonOperator, and FieldToMatch to build an expression in the form of "Size ComparisonOperator size in bytes of FieldToMatch". If that expression is true, the SizeConstraint is considered to match.

SqlInjectionMatchSet

data SqlInjectionMatchSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A complex type that contains SqlInjectionMatchTuple objects, which specify the parts of web requests that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a SqlInjectionMatchSet contains more than one SqlInjectionMatchTuple object, a request needs to include snippets of SQL code in only one of the specified parts of the request to be considered a match.

See: newSqlInjectionMatchSet smart constructor.

Constructors

SqlInjectionMatchSet' 

Fields

  • name :: Maybe Text

    The name, if any, of the SqlInjectionMatchSet.

  • sqlInjectionMatchSetId :: Text

    A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

    SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

  • sqlInjectionMatchTuples :: [SqlInjectionMatchTuple]

    Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

Instances

Instances details
Eq SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

Read SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

Show SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

Generic SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

Associated Types

type Rep SqlInjectionMatchSet :: Type -> Type #

NFData SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

Methods

rnf :: SqlInjectionMatchSet -> () #

Hashable SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

FromJSON SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

type Rep SqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSet

type Rep SqlInjectionMatchSet = D1 ('MetaData "SqlInjectionMatchSet" "Amazonka.WAF.Types.SqlInjectionMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SqlInjectionMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sqlInjectionMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sqlInjectionMatchTuples") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SqlInjectionMatchTuple]))))

newSqlInjectionMatchSet Source #

Create a value of SqlInjectionMatchSet 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:name:SqlInjectionMatchSet', sqlInjectionMatchSet_name - The name, if any, of the SqlInjectionMatchSet.

$sel:sqlInjectionMatchSetId:SqlInjectionMatchSet', sqlInjectionMatchSet_sqlInjectionMatchSetId - A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

$sel:sqlInjectionMatchTuples:SqlInjectionMatchSet', sqlInjectionMatchSet_sqlInjectionMatchTuples - Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

sqlInjectionMatchSet_name :: Lens' SqlInjectionMatchSet (Maybe Text) Source #

The name, if any, of the SqlInjectionMatchSet.

sqlInjectionMatchSet_sqlInjectionMatchSetId :: Lens' SqlInjectionMatchSet Text Source #

A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

sqlInjectionMatchSet_sqlInjectionMatchTuples :: Lens' SqlInjectionMatchSet [SqlInjectionMatchTuple] Source #

Specifies the parts of web requests that you want to inspect for snippets of malicious SQL code.

SqlInjectionMatchSetSummary

data SqlInjectionMatchSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The Id and Name of a SqlInjectionMatchSet.

See: newSqlInjectionMatchSetSummary smart constructor.

Constructors

SqlInjectionMatchSetSummary' 

Fields

  • sqlInjectionMatchSetId :: Text

    A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

    SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

  • name :: Text

    The name of the SqlInjectionMatchSet, if any, specified by Id.

Instances

Instances details
Eq SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

Read SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

Show SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

Generic SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

Associated Types

type Rep SqlInjectionMatchSetSummary :: Type -> Type #

NFData SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

Hashable SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

FromJSON SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

type Rep SqlInjectionMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetSummary

type Rep SqlInjectionMatchSetSummary = D1 ('MetaData "SqlInjectionMatchSetSummary" "Amazonka.WAF.Types.SqlInjectionMatchSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SqlInjectionMatchSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sqlInjectionMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSqlInjectionMatchSetSummary Source #

Create a value of SqlInjectionMatchSetSummary 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:sqlInjectionMatchSetId:SqlInjectionMatchSetSummary', sqlInjectionMatchSetSummary_sqlInjectionMatchSetId - A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

$sel:name:SqlInjectionMatchSetSummary', sqlInjectionMatchSetSummary_name - The name of the SqlInjectionMatchSet, if any, specified by Id.

sqlInjectionMatchSetSummary_sqlInjectionMatchSetId :: Lens' SqlInjectionMatchSetSummary Text Source #

A unique identifier for a SqlInjectionMatchSet. You use SqlInjectionMatchSetId to get information about a SqlInjectionMatchSet (see GetSqlInjectionMatchSet), update a SqlInjectionMatchSet (see UpdateSqlInjectionMatchSet), insert a SqlInjectionMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete a SqlInjectionMatchSet from AWS WAF (see DeleteSqlInjectionMatchSet).

SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

sqlInjectionMatchSetSummary_name :: Lens' SqlInjectionMatchSetSummary Text Source #

The name of the SqlInjectionMatchSet, if any, specified by Id.

SqlInjectionMatchSetUpdate

data SqlInjectionMatchSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the part of a web request that you want to inspect for snippets of malicious SQL code and indicates whether you want to add the specification to a SqlInjectionMatchSet or delete it from a SqlInjectionMatchSet.

See: newSqlInjectionMatchSetUpdate smart constructor.

Constructors

SqlInjectionMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.

  • sqlInjectionMatchTuple :: SqlInjectionMatchTuple

    Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.

Instances

Instances details
Eq SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

Read SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

Show SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

Generic SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

Associated Types

type Rep SqlInjectionMatchSetUpdate :: Type -> Type #

NFData SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

Hashable SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

ToJSON SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

type Rep SqlInjectionMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchSetUpdate

type Rep SqlInjectionMatchSetUpdate = D1 ('MetaData "SqlInjectionMatchSetUpdate" "Amazonka.WAF.Types.SqlInjectionMatchSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SqlInjectionMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "sqlInjectionMatchTuple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SqlInjectionMatchTuple)))

newSqlInjectionMatchSetUpdate Source #

Create a value of SqlInjectionMatchSetUpdate 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:action:SqlInjectionMatchSetUpdate', sqlInjectionMatchSetUpdate_action - Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.

$sel:sqlInjectionMatchTuple:SqlInjectionMatchSetUpdate', sqlInjectionMatchSetUpdate_sqlInjectionMatchTuple - Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.

sqlInjectionMatchSetUpdate_action :: Lens' SqlInjectionMatchSetUpdate ChangeAction Source #

Specify INSERT to add a SqlInjectionMatchSetUpdate to a SqlInjectionMatchSet. Use DELETE to remove a SqlInjectionMatchSetUpdate from a SqlInjectionMatchSet.

sqlInjectionMatchSetUpdate_sqlInjectionMatchTuple :: Lens' SqlInjectionMatchSetUpdate SqlInjectionMatchTuple Source #

Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.

SqlInjectionMatchTuple

data SqlInjectionMatchTuple Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.

See: newSqlInjectionMatchTuple smart constructor.

Constructors

SqlInjectionMatchTuple' 

Fields

  • fieldToMatch :: FieldToMatch

    Specifies where in a web request to look for snippets of malicious SQL code.

  • textTransformation :: TextTransformation

    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

    You can only specify a single type of TextTransformation.

    CMD_LINE

    When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

    • Delete the following characters: \ " ' ^
    • Delete spaces before the following characters: / (
    • Replace the following characters with a space: , ;
    • Replace multiple spaces with one space
    • Convert uppercase letters (A-Z) to lowercase (a-z)

    COMPRESS_WHITE_SPACE

    Use this option to replace the following characters with a space character (decimal 32):

    • \f, formfeed, decimal 12
    • \t, tab, decimal 9
    • \n, newline, decimal 10
    • \r, carriage return, decimal 13
    • \v, vertical tab, decimal 11
    • non-breaking space, decimal 160

    COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

    HTML_ENTITY_DECODE

    Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

    • Replaces (ampersand)quot; with "
    • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
    • Replaces (ampersand)lt; with a "less than" symbol
    • Replaces (ampersand)gt; with >
    • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
    • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

    LOWERCASE

    Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

    URL_DECODE

    Use this option to decode a URL-encoded value.

    NONE

    Specify NONE if you don't want to perform any text transformations.

Instances

Instances details
Eq SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

Read SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

Show SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

Generic SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

Associated Types

type Rep SqlInjectionMatchTuple :: Type -> Type #

NFData SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

Methods

rnf :: SqlInjectionMatchTuple -> () #

Hashable SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

ToJSON SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

FromJSON SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

type Rep SqlInjectionMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.SqlInjectionMatchTuple

type Rep SqlInjectionMatchTuple = D1 ('MetaData "SqlInjectionMatchTuple" "Amazonka.WAF.Types.SqlInjectionMatchTuple" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SqlInjectionMatchTuple'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldToMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldToMatch) :*: S1 ('MetaSel ('Just "textTransformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextTransformation)))

newSqlInjectionMatchTuple Source #

Create a value of SqlInjectionMatchTuple 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:fieldToMatch:SqlInjectionMatchTuple', sqlInjectionMatchTuple_fieldToMatch - Specifies where in a web request to look for snippets of malicious SQL code.

$sel:textTransformation:SqlInjectionMatchTuple', sqlInjectionMatchTuple_textTransformation - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

sqlInjectionMatchTuple_fieldToMatch :: Lens' SqlInjectionMatchTuple FieldToMatch Source #

Specifies where in a web request to look for snippets of malicious SQL code.

sqlInjectionMatchTuple_textTransformation :: Lens' SqlInjectionMatchTuple TextTransformation Source #

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

SubscribedRuleGroupSummary

data SubscribedRuleGroupSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A summary of the rule groups you are subscribed to.

See: newSubscribedRuleGroupSummary smart constructor.

Constructors

SubscribedRuleGroupSummary' 

Fields

  • ruleGroupId :: Text

    A unique identifier for a RuleGroup.

  • name :: Text

    A friendly name or description of the RuleGroup. You can't change the name of a RuleGroup after you create it.

  • metricName :: Text

    A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

Instances

Instances details
Eq SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

Read SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

Show SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

Generic SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

Associated Types

type Rep SubscribedRuleGroupSummary :: Type -> Type #

NFData SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

Hashable SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

FromJSON SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

type Rep SubscribedRuleGroupSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.SubscribedRuleGroupSummary

type Rep SubscribedRuleGroupSummary = D1 ('MetaData "SubscribedRuleGroupSummary" "Amazonka.WAF.Types.SubscribedRuleGroupSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "SubscribedRuleGroupSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSubscribedRuleGroupSummary Source #

Create a value of SubscribedRuleGroupSummary 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:ruleGroupId:SubscribedRuleGroupSummary', subscribedRuleGroupSummary_ruleGroupId - A unique identifier for a RuleGroup.

$sel:name:SubscribedRuleGroupSummary', subscribedRuleGroupSummary_name - A friendly name or description of the RuleGroup. You can't change the name of a RuleGroup after you create it.

$sel:metricName:SubscribedRuleGroupSummary', subscribedRuleGroupSummary_metricName - A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

subscribedRuleGroupSummary_name :: Lens' SubscribedRuleGroupSummary Text Source #

A friendly name or description of the RuleGroup. You can't change the name of a RuleGroup after you create it.

subscribedRuleGroupSummary_metricName :: Lens' SubscribedRuleGroupSummary Text Source #

A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

Tag

data Tag Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A tag associated with an AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.

Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules.

See: newTag smart constructor.

Constructors

Tag' 

Fields

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.WAF.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.WAF.Types.Tag" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key -

$sel:value:Tag', tag_value -

TagInfoForResource

data TagInfoForResource Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Information for a tag associated with an AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.

Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules.

See: newTagInfoForResource smart constructor.

Instances

Instances details
Eq TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

Read TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

Show TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

Generic TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

Associated Types

type Rep TagInfoForResource :: Type -> Type #

NFData TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

Methods

rnf :: TagInfoForResource -> () #

Hashable TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

FromJSON TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

type Rep TagInfoForResource Source # 
Instance details

Defined in Amazonka.WAF.Types.TagInfoForResource

type Rep TagInfoForResource = D1 ('MetaData "TagInfoForResource" "Amazonka.WAF.Types.TagInfoForResource" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "TagInfoForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTagInfoForResource :: TagInfoForResource Source #

Create a value of TagInfoForResource 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:tagList:TagInfoForResource', tagInfoForResource_tagList -

$sel:resourceARN:TagInfoForResource', tagInfoForResource_resourceARN -

TimeWindow

data TimeWindow Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

In a GetSampledRequests request, the StartTime and EndTime objects specify the time range for which you want AWS WAF to return a sample of web requests.

You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z".

In a GetSampledRequests response, the StartTime and EndTime objects specify the time range for which AWS WAF actually returned a sample of web requests. AWS WAF gets the specified number of requests from among the first 5,000 requests that your AWS resource receives during the specified time period. If your resource receives more than 5,000 requests during that period, AWS WAF stops sampling after the 5,000th request. In that case, EndTime is the time that AWS WAF received the 5,000th request.

See: newTimeWindow smart constructor.

Constructors

TimeWindow' 

Fields

  • startTime :: POSIX

    The beginning of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z". You can specify any time range in the previous three hours.

  • endTime :: POSIX

    The end of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z". You can specify any time range in the previous three hours.

Instances

Instances details
Eq TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

Read TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

Show TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

Generic TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

Associated Types

type Rep TimeWindow :: Type -> Type #

NFData TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

Methods

rnf :: TimeWindow -> () #

Hashable TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

ToJSON TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

FromJSON TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

type Rep TimeWindow Source # 
Instance details

Defined in Amazonka.WAF.Types.TimeWindow

type Rep TimeWindow = D1 ('MetaData "TimeWindow" "Amazonka.WAF.Types.TimeWindow" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "TimeWindow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newTimeWindow Source #

Create a value of TimeWindow 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:startTime:TimeWindow', timeWindow_startTime - The beginning of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z". You can specify any time range in the previous three hours.

$sel:endTime:TimeWindow', timeWindow_endTime - The end of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z". You can specify any time range in the previous three hours.

timeWindow_startTime :: Lens' TimeWindow UTCTime Source #

The beginning of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z". You can specify any time range in the previous three hours.

timeWindow_endTime :: Lens' TimeWindow UTCTime Source #

The end of the time range from which you want GetSampledRequests to return a sample of the requests that your AWS resource received. You must specify the date and time in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, "2016-09-27T14:50Z". You can specify any time range in the previous three hours.

WafAction

data WafAction Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

For the action that is associated with a rule in a WebACL, specifies the action that you want AWS WAF to perform when a web request matches all of the conditions in a rule. For the default action in a WebACL, specifies the action that you want AWS WAF to take when a web request doesn't match all of the conditions in any of the rules in a WebACL.

See: newWafAction smart constructor.

Constructors

WafAction' 

Fields

  • type' :: WafActionType

    Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

    • ALLOW: AWS WAF allows requests
    • BLOCK: AWS WAF blocks requests
    • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

Instances

Instances details
Eq WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

Read WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

Show WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

Generic WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

Associated Types

type Rep WafAction :: Type -> Type #

NFData WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

Methods

rnf :: WafAction -> () #

Hashable WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

ToJSON WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

FromJSON WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

type Rep WafAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafAction

type Rep WafAction = D1 ('MetaData "WafAction" "Amazonka.WAF.Types.WafAction" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "WafAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WafActionType)))

newWafAction Source #

Create a value of WafAction 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:type':WafAction', wafAction_type - Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests
  • BLOCK: AWS WAF blocks requests
  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

wafAction_type :: Lens' WafAction WafActionType Source #

Specifies how you want AWS WAF to respond to requests that match the settings in a Rule. Valid settings include the following:

  • ALLOW: AWS WAF allows requests
  • BLOCK: AWS WAF blocks requests
  • COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT for the default action for a WebACL.

WafOverrideAction

data WafOverrideAction Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The action to take if any rule within the RuleGroup matches a request.

See: newWafOverrideAction smart constructor.

Constructors

WafOverrideAction' 

Fields

  • type' :: WafOverrideActionType

    COUNT overrides the action specified by the individual rule within a RuleGroup . If set to NONE, the rule's action will take place.

Instances

Instances details
Eq WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

Read WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

Show WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

Generic WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

Associated Types

type Rep WafOverrideAction :: Type -> Type #

NFData WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

Methods

rnf :: WafOverrideAction -> () #

Hashable WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

ToJSON WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

FromJSON WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

type Rep WafOverrideAction Source # 
Instance details

Defined in Amazonka.WAF.Types.WafOverrideAction

type Rep WafOverrideAction = D1 ('MetaData "WafOverrideAction" "Amazonka.WAF.Types.WafOverrideAction" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "WafOverrideAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WafOverrideActionType)))

newWafOverrideAction Source #

Create a value of WafOverrideAction 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:type':WafOverrideAction', wafOverrideAction_type - COUNT overrides the action specified by the individual rule within a RuleGroup . If set to NONE, the rule's action will take place.

wafOverrideAction_type :: Lens' WafOverrideAction WafOverrideActionType Source #

COUNT overrides the action specified by the individual rule within a RuleGroup . If set to NONE, the rule's action will take place.

WebACL

data WebACL Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted. For more information, see UpdateWebACL.

See: newWebACL smart constructor.

Constructors

WebACL' 

Fields

  • metricName :: Maybe Text

    A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.

  • name :: Maybe Text

    A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

  • webACLArn :: Maybe Text

    Tha Amazon Resource Name (ARN) of the web ACL.

  • webACLId :: Text

    A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL).

    WebACLId is returned by CreateWebACL and by ListWebACLs.

  • defaultAction :: WafAction

    The action to perform if none of the Rules contained in the WebACL match. The action is specified by the WafAction object.

  • rules :: [ActivatedRule]

    An array that contains the action for each Rule in a WebACL, the priority of the Rule, and the ID of the Rule.

Instances

Instances details
Eq WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

Methods

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

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

Read WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

Show WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

Generic WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

Associated Types

type Rep WebACL :: Type -> Type #

Methods

from :: WebACL -> Rep WebACL x #

to :: Rep WebACL x -> WebACL #

NFData WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

Methods

rnf :: WebACL -> () #

Hashable WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

Methods

hashWithSalt :: Int -> WebACL -> Int #

hash :: WebACL -> Int #

FromJSON WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

type Rep WebACL Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACL

newWebACL Source #

Create a value of WebACL 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:metricName:WebACL', webACL_metricName - A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.

$sel:name:WebACL', webACL_name - A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

$sel:webACLArn:WebACL', webACL_webACLArn - Tha Amazon Resource Name (ARN) of the web ACL.

$sel:webACLId:WebACL', webACL_webACLId - A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL).

WebACLId is returned by CreateWebACL and by ListWebACLs.

$sel:defaultAction:WebACL', webACL_defaultAction - The action to perform if none of the Rules contained in the WebACL match. The action is specified by the WafAction object.

$sel:rules:WebACL', webACL_rules - An array that contains the action for each Rule in a WebACL, the priority of the Rule, and the ID of the Rule.

webACL_metricName :: Lens' WebACL (Maybe Text) Source #

A friendly name or description for the metrics for this WebACL. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.

webACL_name :: Lens' WebACL (Maybe Text) Source #

A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

webACL_webACLArn :: Lens' WebACL (Maybe Text) Source #

Tha Amazon Resource Name (ARN) of the web ACL.

webACL_webACLId :: Lens' WebACL Text Source #

A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL).

WebACLId is returned by CreateWebACL and by ListWebACLs.

webACL_defaultAction :: Lens' WebACL WafAction Source #

The action to perform if none of the Rules contained in the WebACL match. The action is specified by the WafAction object.

webACL_rules :: Lens' WebACL [ActivatedRule] Source #

An array that contains the action for each Rule in a WebACL, the priority of the Rule, and the ID of the Rule.

WebACLSummary

data WebACLSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Contains the identifier and the name or description of the WebACL.

See: newWebACLSummary smart constructor.

Constructors

WebACLSummary' 

Fields

  • webACLId :: Text

    A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL).

    WebACLId is returned by CreateWebACL and by ListWebACLs.

  • name :: Text

    A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

Instances

Instances details
Eq WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

Read WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

Show WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

Generic WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

Associated Types

type Rep WebACLSummary :: Type -> Type #

NFData WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

Methods

rnf :: WebACLSummary -> () #

Hashable WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

FromJSON WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

type Rep WebACLSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLSummary

type Rep WebACLSummary = D1 ('MetaData "WebACLSummary" "Amazonka.WAF.Types.WebACLSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "WebACLSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newWebACLSummary Source #

Create a value of WebACLSummary 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:webACLId:WebACLSummary', webACLSummary_webACLId - A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL).

WebACLId is returned by CreateWebACL and by ListWebACLs.

$sel:name:WebACLSummary', webACLSummary_name - A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

webACLSummary_webACLId :: Lens' WebACLSummary Text Source #

A unique identifier for a WebACL. You use WebACLId to get information about a WebACL (see GetWebACL), update a WebACL (see UpdateWebACL), and delete a WebACL from AWS WAF (see DeleteWebACL).

WebACLId is returned by CreateWebACL and by ListWebACLs.

webACLSummary_name :: Lens' WebACLSummary Text Source #

A friendly name or description of the WebACL. You can't change the name of a WebACL after you create it.

WebACLUpdate

data WebACLUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies whether to insert a Rule into or delete a Rule from a WebACL.

See: newWebACLUpdate smart constructor.

Constructors

WebACLUpdate' 

Fields

  • action :: ChangeAction

    Specifies whether to insert a Rule into or delete a Rule from a WebACL.

  • activatedRule :: ActivatedRule

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

Instances

Instances details
Eq WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

Read WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

Show WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

Generic WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

Associated Types

type Rep WebACLUpdate :: Type -> Type #

NFData WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

Methods

rnf :: WebACLUpdate -> () #

Hashable WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

ToJSON WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

type Rep WebACLUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.WebACLUpdate

type Rep WebACLUpdate = D1 ('MetaData "WebACLUpdate" "Amazonka.WAF.Types.WebACLUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "WebACLUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "activatedRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActivatedRule)))

newWebACLUpdate Source #

Create a value of WebACLUpdate 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:action:WebACLUpdate', webACLUpdate_action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.

$sel:activatedRule:WebACLUpdate', webACLUpdate_activatedRule - 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).

webACLUpdate_action :: Lens' WebACLUpdate ChangeAction Source #

Specifies whether to insert a Rule into or delete a Rule from a WebACL.

webACLUpdate_activatedRule :: Lens' WebACLUpdate 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).

XssMatchSet

data XssMatchSet Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

A complex type that contains XssMatchTuple objects, which specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header. If a XssMatchSet contains more than one XssMatchTuple object, a request needs to include cross-site scripting attacks in only one of the specified parts of the request to be considered a match.

See: newXssMatchSet smart constructor.

Constructors

XssMatchSet' 

Fields

  • name :: Maybe Text

    The name, if any, of the XssMatchSet.

  • xssMatchSetId :: Text

    A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).

    XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

  • xssMatchTuples :: [XssMatchTuple]

    Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

Instances

Instances details
Eq XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

Read XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

Show XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

Generic XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

Associated Types

type Rep XssMatchSet :: Type -> Type #

NFData XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

Methods

rnf :: XssMatchSet -> () #

Hashable XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

FromJSON XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

type Rep XssMatchSet Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSet

type Rep XssMatchSet = D1 ('MetaData "XssMatchSet" "Amazonka.WAF.Types.XssMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "XssMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "xssMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "xssMatchTuples") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [XssMatchTuple]))))

newXssMatchSet Source #

Create a value of XssMatchSet 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:name:XssMatchSet', xssMatchSet_name - The name, if any, of the XssMatchSet.

$sel:xssMatchSetId:XssMatchSet', xssMatchSet_xssMatchSetId - A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).

XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

$sel:xssMatchTuples:XssMatchSet', xssMatchSet_xssMatchTuples - Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

xssMatchSet_name :: Lens' XssMatchSet (Maybe Text) Source #

The name, if any, of the XssMatchSet.

xssMatchSet_xssMatchSetId :: Lens' XssMatchSet Text Source #

A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about an XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).

XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

xssMatchSet_xssMatchTuples :: Lens' XssMatchSet [XssMatchTuple] Source #

Specifies the parts of web requests that you want to inspect for cross-site scripting attacks.

XssMatchSetSummary

data XssMatchSetSummary Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

The Id and Name of an XssMatchSet.

See: newXssMatchSetSummary smart constructor.

Constructors

XssMatchSetSummary' 

Fields

  • xssMatchSetId :: Text

    A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about a XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).

    XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

  • name :: Text

    The name of the XssMatchSet, if any, specified by Id.

Instances

Instances details
Eq XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

Read XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

Show XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

Generic XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

Associated Types

type Rep XssMatchSetSummary :: Type -> Type #

NFData XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

Methods

rnf :: XssMatchSetSummary -> () #

Hashable XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

FromJSON XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

type Rep XssMatchSetSummary Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetSummary

type Rep XssMatchSetSummary = D1 ('MetaData "XssMatchSetSummary" "Amazonka.WAF.Types.XssMatchSetSummary" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "XssMatchSetSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "xssMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newXssMatchSetSummary Source #

Create a value of XssMatchSetSummary 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:xssMatchSetId:XssMatchSetSummary', xssMatchSetSummary_xssMatchSetId - A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about a XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).

XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

$sel:name:XssMatchSetSummary', xssMatchSetSummary_name - The name of the XssMatchSet, if any, specified by Id.

xssMatchSetSummary_xssMatchSetId :: Lens' XssMatchSetSummary Text Source #

A unique identifier for an XssMatchSet. You use XssMatchSetId to get information about a XssMatchSet (see GetXssMatchSet), update an XssMatchSet (see UpdateXssMatchSet), insert an XssMatchSet into a Rule or delete one from a Rule (see UpdateRule), and delete an XssMatchSet from AWS WAF (see DeleteXssMatchSet).

XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

xssMatchSetSummary_name :: Lens' XssMatchSetSummary Text Source #

The name of the XssMatchSet, if any, specified by Id.

XssMatchSetUpdate

data XssMatchSetUpdate Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether you want to add the specification to an XssMatchSet or delete it from an XssMatchSet.

See: newXssMatchSetUpdate smart constructor.

Constructors

XssMatchSetUpdate' 

Fields

  • action :: ChangeAction

    Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

  • xssMatchTuple :: XssMatchTuple

    Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

Instances

Instances details
Eq XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

Read XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

Show XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

Generic XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

Associated Types

type Rep XssMatchSetUpdate :: Type -> Type #

NFData XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

Methods

rnf :: XssMatchSetUpdate -> () #

Hashable XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

ToJSON XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

type Rep XssMatchSetUpdate Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchSetUpdate

type Rep XssMatchSetUpdate = D1 ('MetaData "XssMatchSetUpdate" "Amazonka.WAF.Types.XssMatchSetUpdate" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "XssMatchSetUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "xssMatchTuple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 XssMatchTuple)))

newXssMatchSetUpdate Source #

Create a value of XssMatchSetUpdate 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:action:XssMatchSetUpdate', xssMatchSetUpdate_action - Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

$sel:xssMatchTuple:XssMatchSetUpdate', xssMatchSetUpdate_xssMatchTuple - Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

xssMatchSetUpdate_action :: Lens' XssMatchSetUpdate ChangeAction Source #

Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

xssMatchSetUpdate_xssMatchTuple :: Lens' XssMatchSetUpdate XssMatchTuple Source #

Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

XssMatchTuple

data XssMatchTuple Source #

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

See: newXssMatchTuple smart constructor.

Constructors

XssMatchTuple' 

Fields

  • fieldToMatch :: FieldToMatch

    Specifies where in a web request to look for cross-site scripting attacks.

  • textTransformation :: TextTransformation

    Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

    You can only specify a single type of TextTransformation.

    CMD_LINE

    When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

    • Delete the following characters: \ " ' ^
    • Delete spaces before the following characters: / (
    • Replace the following characters with a space: , ;
    • Replace multiple spaces with one space
    • Convert uppercase letters (A-Z) to lowercase (a-z)

    COMPRESS_WHITE_SPACE

    Use this option to replace the following characters with a space character (decimal 32):

    • \f, formfeed, decimal 12
    • \t, tab, decimal 9
    • \n, newline, decimal 10
    • \r, carriage return, decimal 13
    • \v, vertical tab, decimal 11
    • non-breaking space, decimal 160

    COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

    HTML_ENTITY_DECODE

    Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

    • Replaces (ampersand)quot; with "
    • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
    • Replaces (ampersand)lt; with a "less than" symbol
    • Replaces (ampersand)gt; with >
    • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
    • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

    LOWERCASE

    Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

    URL_DECODE

    Use this option to decode a URL-encoded value.

    NONE

    Specify NONE if you don't want to perform any text transformations.

Instances

Instances details
Eq XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

Read XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

Show XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

Generic XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

Associated Types

type Rep XssMatchTuple :: Type -> Type #

NFData XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

Methods

rnf :: XssMatchTuple -> () #

Hashable XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

ToJSON XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

FromJSON XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

type Rep XssMatchTuple Source # 
Instance details

Defined in Amazonka.WAF.Types.XssMatchTuple

type Rep XssMatchTuple = D1 ('MetaData "XssMatchTuple" "Amazonka.WAF.Types.XssMatchTuple" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "XssMatchTuple'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldToMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FieldToMatch) :*: S1 ('MetaSel ('Just "textTransformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextTransformation)))

newXssMatchTuple Source #

Create a value of XssMatchTuple 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:fieldToMatch:XssMatchTuple', xssMatchTuple_fieldToMatch - Specifies where in a web request to look for cross-site scripting attacks.

$sel:textTransformation:XssMatchTuple', xssMatchTuple_textTransformation - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.

xssMatchTuple_fieldToMatch :: Lens' XssMatchTuple FieldToMatch Source #

Specifies where in a web request to look for cross-site scripting attacks.

xssMatchTuple_textTransformation :: Lens' XssMatchTuple TextTransformation Source #

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on FieldToMatch before inspecting it for a match.

You can only specify a single type of TextTransformation.

CMD_LINE

When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:

  • Delete the following characters: \ " ' ^
  • Delete spaces before the following characters: / (
  • Replace the following characters with a space: , ;
  • Replace multiple spaces with one space
  • Convert uppercase letters (A-Z) to lowercase (a-z)

COMPRESS_WHITE_SPACE

Use this option to replace the following characters with a space character (decimal 32):

  • \f, formfeed, decimal 12
  • \t, tab, decimal 9
  • \n, newline, decimal 10
  • \r, carriage return, decimal 13
  • \v, vertical tab, decimal 11
  • non-breaking space, decimal 160

COMPRESS_WHITE_SPACE also replaces multiple spaces with one space.

HTML_ENTITY_DECODE

Use this option to replace HTML-encoded characters with unencoded characters. HTML_ENTITY_DECODE performs the following operations:

  • Replaces (ampersand)quot; with "
  • Replaces (ampersand)nbsp; with a non-breaking space, decimal 160
  • Replaces (ampersand)lt; with a "less than" symbol
  • Replaces (ampersand)gt; with >
  • Replaces characters that are represented in hexadecimal format, (ampersand)#xhhhh;, with the corresponding characters
  • Replaces characters that are represented in decimal format, (ampersand)#nnnn;, with the corresponding characters

LOWERCASE

Use this option to convert uppercase letters (A-Z) to lowercase (a-z).

URL_DECODE

Use this option to decode a URL-encoded value.

NONE

Specify NONE if you don't want to perform any text transformations.